* NEWS: Mention all the Apropos face options that have been removed.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
d6d5fdf8
LI
12014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2
790aceec
LI
3 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
4
a54a7552 5 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 6 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 7
dd163123
LI
8 * font-lock.el (font-lock-value-in-major-mode): Clarify the
9 meaning of the parameter (bug#12282).
10
9e108fe6
LI
11 * files.el (find-file-noselect): Clarify prompt when changing
12 readedness (bug#13261).
5a836f58
LI
13 (locate-file): Suffixes aren't returned, so don't say that they
14 are (bug#12674).
2356b316 15 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 16
20dda930
LI
17 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
18 before we actually start to delete things (bug#16331).
19
d6d5fdf8
LI
20 * subr.el (event-start): Doc fix (bug#14228).
21 (event-end): Ditto.
22
2abd71e5
GM
232014-02-09 Glenn Morris <rgm@gnu.org>
24
25 * emacs-lisp/warnings.el (lwarn):
26 Empower help-enable-auto-load. (Bug#15940)
27
c1b5900b
AS
282014-02-08 Andreas Schwab <schwab@linux-m68k.org>
29
30 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
31 (Bug#16690)
32
429b93bd
MA
332014-02-08 Michael Albinus <michael.albinus@gmx.de>
34
35 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
36 Insert output at end of buffer. (Bug#16120)
37
b772a699
LI
382014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
39
18c6aa8c
LI
40 * simple.el (choose-completion-string-functions): Document new
41 calling convention (bug#14153).
54dd147a 42 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 43
dce8463b
LI
44 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
45
b772a699 46 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 47 (find-grep-dired): Doc fix (bug#14288).
b772a699 48
2423c8d5
JL
492014-02-08 Juri Linkov <juri@jurta.org>
50
51 * isearch.el (isearch-quote-char): Check character validity
52 like in `quoted-insert' (bug#16677).
53
518f26c2
LI
542014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
55
893cc908
LI
56 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
57
9165ffc0
LI
58 * isearch.el (isearch-hide-immediately): Doc clarification
59 (bug#14723).
60
6ef4f3ce
LI
61 * simple.el (line-move): Document utility function used many
62 places in the Emacs sources (bug#14843).
63
be58a238 64 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 65 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 66 (dired-up-directory): Doc fix (bug#14848).
be58a238 67
dd7aafbb
LI
68 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
69
15cb9968
LI
70 * files.el (file-relative-name): Doc fix (bug#15159).
71
9788effd
LI
72 * fringe.el (fringe-styles): Doc fix (bug#15239).
73
c96411bd
LI
74 * isearch.el (isearch-filter-predicate): Documentation typo fix
75 (bug#15474).
76
ea838c36
LI
77 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
78
0d8a4ae7
LI
79 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
80
f7a17bb3
LI
81 * replace.el (replace-match-maybe-edit): Doc clarification
82 (bug#15632).
83
1bde5c3b
LI
84 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
85
518f26c2
LI
86 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
87
dd8e49fd
GM
882014-02-08 Glenn Morris <rgm@gnu.org>
89
90 * help-fns.el (describe-variable):
91 Check {file,dir}-local-variables-alist, and buffer-file-name,
92 in the correct buffer.
93
7e088b29
IL
942014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
95
96 * help-fns.el (describe-variable): Fix the case where
97 a value is directory-local with no dir-locals file. (Bug#16635)
98
41a4a82f
GM
992014-02-08 Glenn Morris <rgm@gnu.org>
100
101 * abbrev.el (edit-abbrevs-mode):
102 Derive from fundamental-mode. (Bug#16682)
103
e255a703
JB
1042014-02-07 Juanma Barranquero <lekktu@gmail.com>
105
106 * simple.el (quoted-insert): Check character validity (bug#16677).
107
c99cf5ee
JL
1082014-02-07 Juri Linkov <juri@jurta.org>
109
110 * desktop.el (desktop-read): Claim the lock when the owner is not
111 the current process. (Bug#16157)
112
7d7a68d8
JL
1132014-02-07 Juri Linkov <juri@jurta.org>
114
115 * desktop.el (desktop-buffers-not-to-save): Change default from nil
116 to "\\` ". (Bug#16651)
117
2b777cd9
JL
1182014-02-07 Juri Linkov <juri@jurta.org>
119
120 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
121 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
122 (desktop-auto-save-cancel-timer): New function with some code from
123 `desktop-auto-save-set-timer'.
124 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
125 Instead of setting `desktop-save-mode' to nil, call
126 `desktop-save-mode' with arg 0. (Bug#16630)
127
60eabbb9
GM
1282014-02-07 Glenn Morris <rgm@gnu.org>
129
99cf3859
GM
130 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
131 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
132 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
133
2b568bc9
GM
134 * obsolete/iswitchb.el: Move to obsolete/.
135 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
136 since obsolete/ is not scanned for autoloads.
137 * emacs-lisp/authors.el (authors-valid-file-names):
138 Add iswitchb.el.
139
60eabbb9
GM
140 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
141 Disable now non-functional find-file-hook.
142
629de968
MA
1432014-02-06 Michael Albinus <michael.albinus@gmx.de>
144
145 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
146 instead of ";" in order to avoid additional prompts. Let heredoc
147 scripts read from tty. (Bug#16582)
148 (tramp-send-command): No special handling of heredocs, it isn't
149 necessary anymore.
150
29127376
SM
1512014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
152
153 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
154 with a space (bug#16664). Limit the symbols considered to the ones
155 that are bound or fbound (bug#16646).
156
79b6e0a9
GM
1572014-02-06 Glenn Morris <rgm@gnu.org>
158
159 * epa.el (epa-mail-aliases): Doc fix.
160
a333e4d2
DG
1612014-02-06 Dmitry Gutov <dgutov@yandex.ru>
162
29127376
SM
163 * emacs-lisp/lisp.el (lisp-completion-at-point):
164 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
165 (bug#16604).
166
167 * minibuffer.el (completion-table-merge): New function.
168
9a83b32b
MA
1692014-02-05 Michael Albinus <michael.albinus@gmx.de>
170
171 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
172 (tramp-sh-handle-set-file-acl)
173 (tramp-sh-handle-start-file-process)
174 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
175 (tramp-find-executable, tramp-send-command): Use it.
176
451ea3e6
GM
1772014-02-05 Glenn Morris <rgm@gnu.org>
178
9a83b32b 179 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 180
dd27d13b
FEG
1812014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
182
183 * progmodes/python.el (python-shell-send-string):
184 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
185
08e41897
AL
1862014-02-04 Anders Lindgren <andlind@gmail.com>
187
188 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
189 the names (bug#16620).
190
764ec9e5
MR
1912014-02-03 Martin Rudalics <rudalics@gmx.at>
192
08e41897
AL
193 * faces.el (window-divider): New default value. Rewrite doc-string.
194 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 195
6da8227c
DG
1962014-02-03 Dmitry Gutov <dgutov@yandex.ru>
197
198 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
199 `protected' and `public' can also be called without arguments.
200
6a6b8e40
GM
2012014-02-03 Glenn Morris <rgm@gnu.org>
202
7bcbca40
GM
203 * register.el (window-configuration-to-register)
204 (frame-configuration-to-register): Unadvertise unused argument.
205 * frameset.el (frameset-to-register): Remove unused argument.
206
719d965d 207 * frameset.el (frameset-to-register):
6a6b8e40
GM
208 * kmacro.el (kmacro-to-register):
209 * register.el (increment-register):
210 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
211 (calc-append-to-register, calc-prepend-to-register):
212 * play/gametree.el (gametree-layout-to-register)
213 (gametree-apply-register-layout):
214 * textmodes/picture.el (picture-clear-rectangle-to-register)
215 (picture-yank-rectangle-from-register):
216 * vc/emerge.el (emerge-combine-versions-register):
217 Use register-read-with-preview to read registers.
218
5dca7759
JT
2192014-02-03 João Távora <joaotavora@gmail.com>
220
221 * elec-pair.el (electric-pair-backward-delete-char): Don't error
222 when at beginning of (possibly narrowed) buffer.
223
709085b9
DC
2242014-02-02 Daniel Colascione <dancol@dancol.org>
225
08e41897
AL
226 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
227 Also try to display local help from just before point.
709085b9 228
99f7b0a6
AM
2292014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
230
231 c-parse-state. Don't "append-lower-brace-pair" in certain
232 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
233 recognised as a comment.
234
235 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
236 as well as normal comment starter.
237 (c-parse-state-get-strategy): Extra return possibility
238 'back-and-forward.
239 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
240 return value list to indicate replacement of a brace-pair cons
241 with its car.
242 (c-parse-state-1): With 'back-and-forward, only call
243 c-append-lower-brace-pair-to state-cache when cons-separated.
244
f0a10576
JD
2452014-02-02 Jan Djärv <jan.h.d@swipnet.se>
246
247 * term/ns-win.el (ns-suspend-error): New function.
248 (ns-initialize-window-system): Add ns-suspend-error to
249 suspend-hook (Bug#16612).
250
b8d552c2
DC
2512014-02-02 Daniel Colascione <dancol@dancol.org>
252
253 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
254
f2b7d123
DC
2552014-02-02 Daniel Colascione <dancol@dancol.org>
256
257 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
258
4472a196
GM
2592014-02-02 Glenn Morris <rgm@gnu.org>
260
261 * register.el (register-read-with-preview, point-to-register)
262 (window-configuration-to-register, frame-configuration-to-register)
263 (jump-to-register, number-to-register, view-register, insert-register)
264 (copy-to-register, append-to-register, prepend-to-register)
265 (copy-rectangle-to-register): Doc fixes.
266
70e5a261
SM
2672014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
268
269 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
270 * emacs-lisp/find-func.el (find-function-C-source): Idem.
271 * emacs-lisp/nadvice.el (advice--cd*r): New function.
272 * help-fns.el (describe-function-1): Use it.
273
7c324762
GM
2742014-02-02 Glenn Morris <rgm@gnu.org>
275
276 * register.el (register-preview-default): New function,
277 split from register-preview.
278 (register-preview-function): Rename from register-preview-functions,
279 make it not a hook.
280 (register-preview): Use register-preview-function.
281 (register-read-with-preview): Error on non-character event. (Bug#16595)
282
a09beb3d
DG
2832014-02-01 Dmitry Gutov <dgutov@yandex.ru>
284
285 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
286 `:' before binary operators (bug#16609). Don't check for `:'
287 before `[' and `(', or their syntax status. A percent literal
288 can't end with either.
68e004e0
DG
289 (ruby-font-lock-keywords): For built-ins that require arguments,
290 check that they're followed by something that looks like argument
291 (bug#16610).
a09beb3d 292
ed4d2875
LI
2932014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
294
295 * subr.el (butlast): Document what an omitted N means (bug#13437).
296 (nbutlast): Ditto.
297
dba6e3ec
LI
2982014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
299
300 * net/shr.el (shr-generic): Make into a defsubst to make the stack
301 depth shallower (bug#16587).
cc477daa
LI
302 (shr-tag-svg): Respect `shr-inhibit-images'.
303 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 304
e2a67bd0
DG
3052014-01-31 Dmitry Gutov <dgutov@yandex.ru>
306
307 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
308 (ruby-smie-grammar): Make "." right-associative. Make its priority
309 lower than the ternary and all binary operators.
310 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
311 parent, or the first "." parent at indentation.
312 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
313 (Bug#16593)
314
bd21bf41
JL
3152014-01-31 Juri Linkov <juri@jurta.org>
316
317 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
318 from `make-hash-table'.
319
320 * textmodes/ispell.el (ispell-init-process): Change message format
321 to be consistent with other messages.
322
b7e615b9
GM
3232014-01-31 Glenn Morris <rgm@gnu.org>
324
a69ecd19
GM
325 * delsel.el (delete-selection-mode): Doc fix.
326
9997d7e3
GM
327 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
328 (trace-function-background): Doc fixes.
329
fbb764b8
GM
330 * ido.el (ido-use-virtual-buffers): Doc fix.
331 Reset :version, since the default value has not changed.
332
da942af1
GM
333 * register.el (register-preview-delay, register-read-with-preview):
334 Doc fixes.
335
b7e615b9
GM
336 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
337 do not mess with mail-buffer position (fixes 2009-11-03 change).
338 * progmodes/cc-mode.el (c-submit-bug-report):
339 Check auto-fill-mode is bound. (Bug#16592)
340
0a25002d
DH
3412014-01-31 Darren Hoo <darren.hoo@gmail.com>
342
343 * startup.el (fancy-splash-image-file): New function,
344 split from fancy-splash-head.
345 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
346 so that we are both using the same image. (Bug#16574)
347
ad78f432
GM
3482014-01-30 Glenn Morris <rgm@gnu.org>
349
6bbc0c84
GM
350 * simple.el (eval-expression): Doc fix.
351
ad78f432
GM
352 * hexl.el (hexl-mode-hook):
353 * ielm.el (ielm-mode-hook):
354 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
355 (lisp-interaction-mode-hook):
356 * progmodes/cfengine.e (cfengine3-documentation-function):
357 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
358
7b2f049c
SM
3592014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
360
361 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
362 is a symbol (bug#16584).
363
0c633f13
GM
3642014-01-30 Glenn Morris <rgm@gnu.org>
365
366 * help.el (help-for-help-internal): Add "P" to text.
367
5e61c1ef
GM
3682014-01-29 Glenn Morris <rgm@gnu.org>
369
370 * simple.el (just-one-space, cycle-spacing): Doc fixes.
371
1dcb169c
MR
3722014-01-28 Martin Rudalics <rudalics@gmx.at>
373
374 * window.el (fit-frame-to-buffer): Fix calculations for margins and
375 height constraints.
376
a9128931
LL
3772014-01-28 Luke Lee <luke.yx.lee@gmail.com>
378
379 * progmodes/hideif.el: Extend to full CPP expression syntax.
380 (hif-token-alist): Add missing tokens.
381 (hif-token-regexp): Add support for float/octal/hex immediates.
382 (hif-string-literal-regexp): New const.
383 (hif-tokenize): Recognize strings and float/octal/hex immediates.
384 (hif-exprlist): New function.
385 (hif-parse-if-exp): Use it.
386 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
387 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
388 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
389 (hif-logxor, hif-comma): New functions.
390
a22359a7
GM
3912014-01-28 Glenn Morris <rgm@gnu.org>
392
793ffe81
GM
393 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
394
e3bd7eed
GM
395 * indent.el (tab-stop-list): Doc fix. Add :version.
396
a22359a7
GM
397 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
398 (cvs-append-to-ignore): Add compatibility alias.
399
52695556 4002014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 401
bac524e0
GM
402 * dired.el (dired-hide-details-mode): Don't autoload it,
403 since it cannot be used outside Dired buffers anyway.
404
52695556 405 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 406
52695556
GM
407 * dired.el (dired-hide-details-hide-symlink-targets)
408 (dired-hide-details-hide-information-lines)
409 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
410
411 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
412 * strokes.el (strokes-file): Doc fix. Bump :version.
413 (strokes-help): Doc fix.
414 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
415 * emulation/viper.el (viper): Doc fix for custom group.
416 (top-level): Remove oh-so-no-longer-relevant text about vip.
417 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
418
419 * ido.el (ido-save-directory-list-file):
420 * saveplace.el (save-place-file):
421 * calendar/timeclock.el (timeclock-file):
422 * net/quickurl.el (quickurl-url-file):
423 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
424 * progmodes/idlwave.el (idlwave-config-directory):
425 * textmodes/remember.el (remember-data-file):
426 Bump :version.
427
169d6004
GM
4282014-01-26 Glenn Morris <rgm@gnu.org>
429
de6a923b
GM
430 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
431 Doc fix. Make obsolete.
432 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
433
169d6004
GM
434 * sort.el (delete-duplicate-lines): Doc fix.
435
ed85dee6
RS
4362014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
437
438 * progmodes/ada-mode.el (ada):
439 * woman.el (woman): Link to info manual and Commentary section.
440
441 * progmodes/flymake.el (flymake):
442 * nxml/nxml-mode.el (nxml):
443 * net/eww.el (eww):
444 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
445 * htmlfontify.el (htmlfontify):
446 * ses.el (ses):
447 * epa.el (epa):
448 * ido.el (ido): Link to info manual.
449
e0c67e1d
LL
4502014-01-25 Leo Liu <sdl.web@gmail.com>
451
452 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
453
35408b1a
AS
4542014-01-25 Adam Sjøgren <asjo@koldfront.dk>
455
456 * net/shr.el (shr-tag-img): Prefer the title over the alt text
457 (bug#16537).
458
76c3fa95
JB
4592014-01-24 Juanma Barranquero <lekktu@gmail.com>
460
f77c7a99
JB
461 * net/eww.el (eww-download-callback):
462 Fix reference to eww-download-directory.
463
76c3fa95
JB
464 * emacs-lisp/bytecomp.el (byte-compile-file):
465 Remove unused local variable `file-name'.
466
1e548e40
GM
4672014-01-24 Glenn Morris <rgm@gnu.org>
468
03f3b318
GM
469 * woman.el (woman-default-faces, woman-monochrome-faces):
470 Fix obsolescence specification.
471
1e548e40
GM
472 * subr.el (with-demoted-errors): Doc fix.
473
d4f0427b
SM
4742014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
475
476 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
477 (cl--macroexp-fboundp): New function.
478 (cl--make-type-test): Use it.
479
1670e27f
GM
4802014-01-23 Glenn Morris <rgm@gnu.org>
481
482 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
483 * simple.el (eval-expression): Doc fixes.
484
80efa207
GM
4852014-01-22 Glenn Morris <rgm@gnu.org>
486
487 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
488
29afcbab
SM
4892014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
490
491 * emacs-lisp/package.el: Write files silently.
492 (package-autoload-ensure-default-file, package--write-file-no-coding)
493 (package-generate-description-file, package--download-one-archive)
494 (package-install-from-archive): Tell `write-region' to stay quiet.
495 (package-menu-mode, package-menu--print-info): Omit the Archive column
496 if there's only one archive.
497 (package-all-keywords, package--has-keyword-p): Remove dead code.
498
2a5bce4f
GM
4992014-01-22 Glenn Morris <rgm@gnu.org>
500
edace89f
GM
501 * version.el (emacs-bzr-version-bzr): Fix typo.
502
2a5bce4f
GM
503 * version.el (emacs-repository-get-version):
504 Check either .bzr or .git, but not both.
505 Make the git case actually use the DIR argument, and return nil
506 rather than the empty string.
983664c0 507 Avoid error if .git exists but the git executable is not found.
2a5bce4f 508
6cb4da45
MR
5092014-01-22 Martin Rudalics <rudalics@gmx.at>
510
511 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
512 * window.el (window-total-size, window-size): New argument ROUND.
513 (window--min-delta-1, window-min-delta, window--max-delta-1):
514 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
515 columns a window can shrink (Bug#16430).
516 (fit-window-to-buffer): Simplify code.
517 * term.el (term-window-width): Call window-body-width again.
518
cc0f2ece
GM
5192014-01-22 Glenn Morris <rgm@gnu.org>
520
7b997b14
GM
521 * image.el (image-format-suffixes): Doc fix.
522
44e76f9d
GM
523 * international/quail.el (quail-define-package): Doc fix.
524
73c1c6d7
GM
525 * emacs-lisp/authors.el (authors-valid-file-names):
526 (authors-renamed-files-alist): Additions.
7bfc1caa 527
85a5f61f
GM
528 * vc/vc-git.el (vc-git-print-log): Remove --follow;
529 reverts 2014-01-09 change. (Bug#16422)
530
cc0f2ece
GM
531 * calc/calc-embed.el (thing-at-point-looking-at):
532 * emacs-lisp/map-ynp.el (x-popup-dialog):
533 * obsolete/lmenu.el (x-popup-dialog):
534 * emacs-lisp/package.el (url-recreate-url):
535 * mail/mailclient.el (clipboard-kill-ring-save):
536 * subr.el (x-popup-dialog): Update declaration.
537 * mail/rmail.el (rmail-mime-message-p):
538 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
539
00d2a6bb
DC
5402014-01-21 Daniel Colascione <dancol@dancol.org>
541
542 * progmodes/sh-script.el (sh--inside-noncommand-expression):
543 Correctly detect when we're inside an arithmetic expansion form
544 containing nested parenthesis.
545 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
546 to detect cases where we shouldn't expand "<<" to a heredoc
547 skeleton.
548
dd9d2e9d
SM
5492014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
550
551 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
552 (eldoc--message-command-p): New function.
553 (eldoc-display-message-p): Use it.
554 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
555 message is not automatically erased for us.
556 (eldoc-print-current-symbol-info): Erase previous message, if any.
557
e7d807ca
TH
5582014-01-21 Tassilo Horn <tsdh@gnu.org>
559
4ff0a0e5
TH
560 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
561 specify it's an interactive function.
562
dd9d2e9d
SM
563 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
564 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
565 citations with optional arguments.
566
87503791
LL
5672014-01-21 Leo Liu <sdl.web@gmail.com>
568
569 * simple.el (read--expression): Don't enable eldoc-mode.
570
6cc750ee
SM
5712014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
572
573 * simple.el (move-beginning-of-line): Make sure we don't move forward
574 (bug#16497).
575
71f16bda
JL
5762014-01-20 Juri Linkov <juri@jurta.org>
577
578 * saveplace.el (toggle-save-place, save-place-to-alist)
579 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
580 'dired-mode) before checking for dired-directory. (Bug#16477)
581
3c5a4839
JL
5822014-01-20 Juri Linkov <juri@jurta.org>
583
584 * indent.el (indent-line-to): Use backward-to-indentation
585 instead of back-to-indentation. (Bug#16461)
586
f952002e
PE
5872014-01-20 Paul Eggert <eggert@cs.ucla.edu>
588
589 Revert some of the CANNOT_DUMP fix (Bug#16494).
590 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
591 but fixing this can wait until after the next release.
592 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
593
93675500
MA
5942014-01-19 Michael Albinus <michael.albinus@gmx.de>
595
596 * eshell/esh-mode.el (eshell-password-prompt-regexp):
597 Use `password-word-equivalents'.
598 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
599 to t. (Bug#5664, Bug#13124)
600
e3af763f
AM
6012014-01-19 Alan Mackenzie <acm@muc.de>
602
603 Bind open-paren-in-column-0-is-defun-start to nil at some entry
604 points.
605 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 606 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
607 * progmodes/cc-mode.el (c-before-change, c-after-change)
608 (c-font-lock-fontify-region): Bind it here.
609
4ff6d92d
MR
6102014-01-19 Martin Rudalics <rudalics@gmx.at>
611
612 * term.el (term-window-width): Call window-text-width instead of
613 window-width (Bug#16470).
614
9a685cf6
PE
6152014-01-18 Paul Eggert <eggert@cs.ucla.edu>
616
617 * simple.el (password-word-equivalents): Remove duplicates.
618 Sort, to make this easier next time.
619 Downcase. Omit ": " after "jelszó".
620
5aa78c2d
JD
6212014-01-18 Jan Djärv <jan.h.d@swipnet.se>
622
623 * term/common-win.el (saved-region-selection): Defvar it.
624 (x-select-text): Set saved-region-selection (Bug#16382).
625
cabb250c
GM
6262014-01-18 Glenn Morris <rgm@gnu.org>
627
628 * emacs-lisp/authors.el (authors-aliases)
629 (authors-renamed-files-alist): Add some entries.
630
a1340440
MA
6312014-01-17 Michael Albinus <michael.albinus@gmx.de>
632
93675500
MA
633 * net/tramp.el (tramp-password-prompt-regexp):
634 Use `password-word-equivalents' if available.
a1340440
MA
635 (tramp-action-password, tramp-process-one-action)
636 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
637
681ce5d2
CY
6382014-01-17 Chong Yidong <cyd@gnu.org>
639
640 * simple.el (password-word-equivalents): New defcustom.
641 * comint.el (comint-password-prompt-regexp): Use it. Bump version
642 to 24.4.
643 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
644 to t. (Bug#13124)
645
fb3d479c
DG
6462014-01-17 Dmitry Gutov <dgutov@yandex.ru>
647
648 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
649 (ruby-align-to-stmt-keywords): Change the default value.
650 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
651 choices.
652 (ruby-smie-rules): Instead of using a hardcoded list of alignable
653 keywords, check against the value of `ruby-alignable-keywords'
654 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
655
0d613483
GM
6562014-01-17 Glenn Morris <rgm@gnu.org>
657
fc23fe2d
GM
658 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
659
0d613483
GM
660 Make M-x authors return zero *Authors Errors* from current logs.
661 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
662 (authors-ignored-files): Add some entries, remove others.
663 (authors-ambiguous-files, authors-valid-file-names):
664 Add some entries.
665 (authors-renamed-files-alist): Add, remove, and adjust entries.
666 (authors-renamed-files-regexps): Add some entries.
667 Remove some very broad ones. Make some entries `lax'.
668 (authors-lax-changelogs): New constant.
669 (authors-disambiguate-file-name): Treat top-level specially.
670 (authors-lax-changelog-p): New function.
671 (authors-canonical-file-name): Check file as written against
672 authors-valid-file-names. Do not special-case etc/.
673 Handle `lax' logs and authors-renamed-files-regexps elements.
674
2dbf4ffd
DG
6752014-01-16 Dmitry Gutov <dgutov@yandex.ru>
676
677 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
678 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
679 callers.
2dbf4ffd 680
87b2a7f2
SM
6812014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
682
683 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
684 Assume we're already in the proper buffer.
685 Inspired by Anders Lindgren <andlind@gmail.com>.
686 (follow-post-command-hook): Call it from the right buffer.
687 (follow-comint-scroll-to-bottom): Adjust call.
688 (follow-all-followers): Use get-buffer-window-list.
689
93acfb0e
DC
6902014-01-15 Daniel Colascione <dancol@dancol.org>
691
692 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
693 `buffer-file-name' in interactive-form so that we don't leave
694 pathless file names in `file-name-history'.
695
ccc6b208
JL
6962014-01-15 Juri Linkov <juri@jurta.org>
697
698 * indent.el (indent-rigidly): Set deactivate-mark to nil
699 in transient indentation mode. (Bug#16438)
700
5c92e00d
DG
7012014-01-15 Dmitry Gutov <dgutov@yandex.ru>
702
703 * emacs-lisp/package.el (package-desc-keywords): New function
704 (Bug#16222).
705 (describe-package-1, package-all-keywords)
706 (package--has-keyword-p): Use it.
707
dac69660
NR
7082014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
709
710 * simple.el (define-alternatives): When creating the
711 COMMAND-alternatives variable, assign COMMAND as its definition
712 name so that `describe-variable' can relocate it.
713
8b63edf8
ML
7142014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
715
716 * font-lock.el (font-lock-keywords): Fix typo in docstring
717 (bug#16307).
718
c6a0b8eb
AM
7192014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
720
721 * ispell.el (ispell-region): Reset `in-comment' for new line
722 instead of wrongly reset `add-coment' (bug#13577).
723
02bf443d
DU
7242014-01-14 Daiki Ueno <ueno@gnu.org>
725
726 * epa-file.el (epa-file-write-region): Encode the region according
727 to `buffer-file-format'. Problem reported at:
728 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
729
fd7fde15
SM
7302014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
731
732 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
733 so it applies in the right buffer (bug#16410).
734
c176054f
DC
7352014-01-13 Daniel Colascione <dancol@dancol.org>
736
737 * textmodes/rst.el (rst-define-key): Provide deprecated
738 keybindings through named functions instead of anonymous ones so
739 that "??" doesn't appear in describe-mode output.
740
e3f33e5d
BG
7412014-01-13 Bastien Guerry <bzg@gnu.org>
742
743 * simple.el (define-alternatives): Call the selected command
744 interactively. When setting `COMMAND--implementation' for the
745 first time, tell the user how to chose another implementation.
746 Enhance the docstring.
747
c055d654
SM
7482014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
749
750 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
751 (log-edit--match-first-line): New function.
752 (log-edit-font-lock-keywords): Use it.
753 (log-edit-mode): Make jit-lock-defer-multiline work.
754
d791cc3b
BG
7552014-01-13 Bastien Guerry <bzg@gnu.org>
756
757 * rect.el (rectangle-mark-mode): When the region is not active,
758 display a message saying that the mark as been set and that
759 rectangle mode is in use.
760 (rectangle--highlight-for-redisplay): Only put an overlay with a
761 visible vertical bar when (display-graphic-p) is non-nil.
762 This partially fixes Bug#16403.
763
3c0c4562
JL
7642014-01-13 Juri Linkov <juri@jurta.org>
765
766 * info.el (Info-find-file): Go to DIR before displaying the error
767 about a nonexistent file if no previous Info file is visited.
768 Use `user-error' instead of `error' for "Info file %s does not exist".
769 (Info-find-node-2): In case of a nonexistent node in unwind forms
770 go to the Top node if there is no previous node to revert to.
771 (Bug#16405)
772
25a700d0
MR
7732014-01-13 Martin Rudalics <rudalics@gmx.at>
774
775 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
776 * window.el (fit-frame-to-buffer): Fix doc-string.
777 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
778 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
779 when avoiding that frame goes partially off-screen.
780 (fit-window-to-buffer): Respect window-min-height/-width
781 (Bug#14096).
782
6ae948d8
SM
7832014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
784
785 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
786 after an empty line.
787
6137cb82
SM
7882014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
789
790 * net/shr.el (shr-render-region): Autoload.
791
e6344e17
XF
7922014-01-12 Xue Fuqiao <xfq.free@gmail.com>
793
794 * net/eww.el (eww-download-directory): Rename from
795 `eww-download-path' (Bug#16419).
796
3b922c70
LL
7972014-01-12 Leo Liu <sdl.web@gmail.com>
798
799 * dired-x.el (dired-mode-map): Fix last change.
800
801 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
802
4fa51741
PE
8032014-01-12 Paul Eggert <eggert@cs.ucla.edu>
804
805 Spelling fixes.
806 * emacs-lisp/generic.el (generic--normalize-comments):
807 Rename from generic--normalise-comments. All uses changed.
808 * play/bubbles.el (bubbles--neighborhood-score):
809 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
810 (bubbles--neighborhood-available)
811 (bubbles--update-neighborhood-score):
812 Rename from names with 'neighbourhood'. All uses changed.
813
9b335362
LL
8142014-01-12 Leo Liu <sdl.web@gmail.com>
815
816 Re-implement the feature of showing eldoc info after editing.
817 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
818 (eldoc-edit-message-commands): New function.
819 (eldoc-print-after-edit): New variable.
820 (eldoc-pre-command-refresh-echo-area): Emit message only by
821 eldoc-message-commands.
822 (eldoc-mode): Restrict eldoc-message-commands to editing commands
823 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 824 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 825 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 826
e2a095b1
GM
8272014-01-11 Dani Moncayo <dmoncayo@gmail.com>
828 Eric S. Raymond <esr@thyrsus.com>
9685190b 829
841a6d0c 830 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 831 function works correctly in either a Bazaar or Git repo.
0abf4134 832
e2a095b1
GM
8332014-01-11 Eric S. Raymond <esr@thyrsus.com>
834
6137cb82
SM
835 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
836 Goes with removal of the joke manpages from /etc.
9685190b 837
3923e7bd
KH
8382014-01-10 K. Handa <handa@gnu.org>
839
6137cb82
SM
840 * mail/rmail.el (rmail-get-coding-system):
841 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 842
d2f16e93
GM
8432014-01-10 Glenn Morris <rgm@gnu.org>
844
845 * emacs-lisp/authors.el (authors-fixed-entries):
846 Update for files that no longer exist.
847
7e03bb32
ER
8482014-01-10 Eric S. Raymond <esr@thyrsus.com>
849
850 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 851 24.3 (Tested).
7e03bb32 852
dd806710
BB
8532014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
854
855 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
856 and Podfile.
857
ed6ec139
EZ
8582014-01-10 Eli Zaretskii <eliz@gnu.org>
859
860 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
861
cc33cac9
CY
8622014-01-10 Chong Yidong <cyd@gnu.org>
863
6137cb82 864 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 865
d9d836b5
AL
8662014-01-10 Anders Lindgren <andlind@gmail.com>
867
868 * follow.el (follow-cache-command-list): Include right-char and
869 left-char.
870
06827ec8
PE
8712014-01-10 Paul Eggert <eggert@cs.ucla.edu>
872
873 Spelling fixes.
874 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
875 * woman.el (woman-mark-horizontal-position):
876 Rename from woman-mark-horizonal-position. Use changed.
877
458dbf5e
GM
8782014-01-10 Glenn Morris <rgm@gnu.org>
879
dad6fae7
GM
880 * info.el (info-initialize): If running uninstalled, ensure our
881 own info files are always found first, even if INFOPATH is set.
882
458dbf5e
GM
883 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
884
05e0afce
DE
8852014-01-09 David Engster <deng@randomsample.de>
886
887 * emacs-lisp/eieio-custom.el:
888 * emacs-lisp/eieio-opt.el: Set generated autoload file to
889 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
890 * emacs-lisp/eieio.el: Regenerate autoloads.
891
f29778b3
ER
8922014-01-09 Eric S. Raymond <esr@thyrsus.com>
893
894 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 895 following renames. (Bug#8756)
f29778b3 896
684d44ef
SM
8972014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
898
899 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
900 (bug#16382).
901 (activate-mark): Add `no-tmm' argument.
902 (set-mark, push-mark-command): Use it instead of running
903 activate-mark-hook by hand.
904
9475054f
ER
9052014-01-08 Eric S. Raymond <esr@thyrsus.com>
906
907 In preparation for the move to git, sanitize out some
908 Bazaar-specific names.
909
38942b9c
GM
910 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
911
9475054f 912 * version.el (emacs-bzr-version): Name changed to
689c9ca5 913 emacs-repository-version. Obsolete-variable alias made.
9475054f 914 * loadup.el: Follow through on this name change.
a12bf61e 915 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
916 assumption about the version control system in use.
917
0f918d96 9182014-01-08 David Engster <deng@randomsample.de>
abb82152 919
684d44ef
SM
920 * help-fns.el (help-fns-describe-function-functions):
921 New variable to call functions for augmenting help buffers.
abb82152
DE
922 (describe-function-1): Remove explicit calls to
923 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
924 `help-fns--obsolete'. Put them in above new variable instead, and
925 call them through `run-hook-with-args'.
926 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
927 `eieio-describe-class'. Not meant for interactive use anymore,
928 but to augment existing help buffers. Remove optional second
684d44ef
SM
929 argument. Create proper button for file location.
930 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
931 possible.
932 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
933 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
934 (describe-method, describe-generic, eieio-describe-method):
935 Remove aliases.
0f918d96
DE
936 (eieio-help-constructor, eieio-help-generic): Rename from
937 `eieio-describe-constructor' and `eieio-describe-generic', resp.
938 Rewrite to use `insert' in the current buffer and use proper help
939 buttons.
940 (eieio-help-find-method-definition)
941 (eieio-help-find-class-definition): Also accept symbols as
942 arguments.
943 (eieio-help-mode-augmentation-maybee): Remove.
944 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
945 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
946 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 947
136b74c5
PE
9482014-01-08 Paul Eggert <eggert@cs.ucla.edu>
949
950 Spelling fixes.
951 * language/china-util.el (hz-ascii-designation):
952 Rename from hz-ascii-designnation.
953 (hz-ascii-designation): Rename from hz-ascii-designnation.
954 All uses changed.
955
ec6c7de2
SM
9562014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
957
958 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
959 package-alist.
960
d6262c7c
BG
9612014-01-08 Bastien Guerry <bzg@gnu.org>
962
4b9e6087
GM
963 * emacs-lisp/package.el (package-delete):
964 Correctly delete the package from package-alist.
d6262c7c 965
0a3eec32
DU
9662014-01-08 Daiki Ueno <ueno@gnu.org>
967
968 * emacs-lisp/package.el (url-recreate-url): Declare.
969 (url-http-target-url): Declare.
4b9e6087 970 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
971 (package--check-signature): Don't re-signal errors from
972 package--with-work-buffer. Suggested by Stefan Monnier.
973
68f0bb97
BG
9742014-01-07 Bastien Guerry <bzg@gnu.org>
975
976 * minibuffer.el (completion--try-word-completion): When both a
977 hyphen and a space are possible candidates for the character
978 following a word, display both candidates. (Bug#15980)
979
7e1899d7
MR
9802014-01-07 Martin Rudalics <rudalics@gmx.at>
981
982 * window.el (balance-windows-2): While rounding don't give a
983 window more than the remainder. Bug#16351, Bug#16383.
984
0030ec15
GM
9852014-01-07 Glenn Morris <rgm@gnu.org>
986
987 * menu-bar.el (menu-bar-help-extra-packages): Remove.
988 (menu-bar-help-menu): Use view-external-packages instead.
989
2b6b4f20
BG
9902014-01-07 Bastien Guerry <bzg@gnu.org>
991
992 * emacs-lisp/package.el (package-delete): Also delete the package
993 name from `package-alist', not its description only.
994
e9be0a13
GM
9952014-01-07 Glenn Morris <rgm@gnu.org>
996
997 * help.el (view-external-packages):
998 * menu-bar.el (menu-bar-help-extra-packages):
999 Visit efaq.info rather than etc/MORE.STUFF.
1000
e4f74da9
JL
10012014-01-07 Juri Linkov <juri@jurta.org>
1002
1003 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1004 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1005
1006 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1007 that shadows RET. (Bug#16342)
1008
de7ce2d1
CY
10092014-01-07 Chong Yidong <cyd@gnu.org>
1010
1011 * isearch.el (isearch-yank-char, isearch-yank-word)
1012 (isearch-yank-line): Doc fix.
1013
6bdd9204
SM
10142014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1015
1016 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1017 * emacs-lisp/elint.el (elint-find-builtins):
1018 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1019 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1020 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1021 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1022 * apropos.el (apropos-safe-documentation):
1023 * subr.el (symbol-file): Remove redundant fboundp.
1024 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1025
daccca97
BG
10262014-01-06 Bastien Guerry <bzg@gnu.org>
1027
1028 * hl-line.el (global-hl-line-overlay): Make a local variable.
1029 (global-hl-line-overlays): New variable to store all overlays.
1030 (global-hl-line-mode): Don't delete overlays from the current
1031 buffer when `global-hl-line-sticky-flag' is non-nil.
1032 (global-hl-line-highlight): Add new overlays to
1033 `global-hl-line-overlays'.
1034 (global-hl-line-unhighlight-all): New function to delete all
1035 overlays when turning off `global-hl-line-mode'.
1036 This fixes Bug#16183.
1037
ec00f20f
SM
10382014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1039
1040 * subr.el (set-transient-map): Fix nested case and docstring.
1041
a0031f97
TH
10422014-01-06 Tassilo Horn <tsdh@gnu.org>
1043
1044 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1045 `Texinfo' entry.
1046
bf6a77f3
DC
10472014-01-06 Daniel Colascione <dancol@dancol.org>
1048
1049 Fix defun navigation in vc log view.
1050
1051 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1052 like `beginning-of-defun'.
1053 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
ec00f20f
SM
1054 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1055 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 1056 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 1057 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 1058
d5081c1e
PE
10592014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1060
1061 Spelling fixes.
1062 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1063 * emacs-lisp/debug.el (cancel-debug-on-entry):
1064 * epg.el (epg-error-to-string):
1065 * files.el (recover-file):
1066 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1067 * mail/emacsbug.el (report-emacs-bug-hook):
1068 * mail/sendmail.el (mail-recover):
1069 * ses.el (ses-yank-resize):
1070 * term/ns-win.el (ns-print-buffer):
1071 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1072 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1073 All uses changed.
1074 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1075
53f6b148
LL
10762014-01-06 Leo Liu <sdl.web@gmail.com>
1077
1078 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 1079 to avoid shadowing global key. (Bug#16354)
53f6b148 1080
b82ace2f
DC
10812014-01-06 Daniel Colascione <dancol@dancol.org>
1082
1083 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1084 rst-mode.
1085
3669b636
MR
10862014-01-05 Martin Rudalics <rudalics@gmx.at>
1087
1088 * window.el (balance-windows): Add mising t to fix Bug#16351.
1089
1a29adc2
LMI
10902014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1091
1092 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1093 (bug#16285).
3d95a0f4
LMI
1094 (shr-insert): If we have a word that's longer than `shr-width',
1095 break after it anyway. Otherwise we'll do no breaking once we get
1096 such a long word.
1a29adc2 1097
f4018140
KN
10982014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1099
3fcfc4ee 1100 * net/eww.el (eww): Support single/double quote for search.
189340f5
KN
1101 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
1102 (eww-history-quit): Delete and use quit-window.
1103 (eww-history-kill): Delete, because it doesn't work well and
1104 not necessary.
1105 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 1106
4e619754
PE
11072014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1108
73dbf960
PE
1109 Fix misspelling of 'chinese' in rx (Bug#16237).
1110 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1111 chinese-two-byte.
1112
4e619754
PE
1113 Change subword regexps back to vars (Bug#16296).
1114 * progmodes/subword.el (subword-forward-regexp)
1115 (subword-backward-regexp): Change these back to variables.
1116
e18b70fc
SM
11172014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1118
1119 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1120 syntax-begin-function (bug#16247).
1121
0d53f628
CY
11222014-01-03 Chong Yidong <cyd@gnu.org>
1123
1124 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1125 (advice--docstring): Delete variable.
1126 (advice--make-1): Leave the docstring empty.
1127 (advice-add): Use function-documentation for advised docstring.
1128
1129 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1130 Ignore function-documentation property when getting documentation.
1131 (ad-activate-advised-definition): Use function-documentation
1132 generate the docstring.
1133 (ad-make-advised-definition): Don't call
1134 ad-make-advised-definition-docstring.
1135 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1136 Delete functions.
1137
1138 * progmodes/sql.el (sql-help): Use function-documentation instead
1139 of dynamic-docstring-function property. No need to autoload now.
1140 (sql--help-docstring): New variable.
1141 (sql--make-help-docstring): Use it.
1142
6f547583
SM
11432014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1144
6ef9aed8
SM
1145 * ielm.el (ielm-tab): Retarget.
1146 (ielm-map): Use ielm-tab for tab.
1147 (ielm-complete-filename): Use comint-filename-completion.
1148 (ielm-complete-symbol): Remove.
1149 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1150 remove ielm-tab from completion-at-point-functions (bug#16224).
1151
6f547583
SM
1152 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1153 Beware signals raised by predicates (bug#16201).
1154
a574edbe
RS
11552014-01-02 Richard Stallman <rms@gnu.org>
1156
e831604d
RS
1157 * dired-aux.el (dired-do-print): Handle printer-name.
1158
6f547583
SM
1159 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1160 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
1161 (rmail-epa-decrypt): Turn off mime processing.
1162
3fcfc4ee 1163 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
1164 Add parens in message-id.
1165
1166 * mail/rmail.el (rmail-get-coding-function): Variable.
1167 (rmail-get-coding-system): Use it.
1168
04311a16
KH
11692013-12-31 Eli Zaretskii <eliz@gnu.org>
1170
1171 * international/mule-conf.el: Unify the charset indian-is13194.
1172 (indian-is13194): Specify unify-map.
1173
c8d89778
LL
11742013-12-31 Leo Liu <sdl.web@gmail.com>
1175
1176 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1177
e63ace37
DC
11782013-12-30 Daniel Colascione <dancol@dancol.org>
1179
9e0bf19a
DC
1180 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1181 of printing a useless when we resume from sleep.
1182
e63ace37
DC
1183 * progmodes/sh-script.el
1184 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1185 in indentation code. (Bug#16233)
1186
e9d6c46a
JT
11872013-12-28 João Távora <joaotavora@gmail.com>
1188
6f547583
SM
1189 * elec-pair.el (electric-pair-post-self-insert-function):
1190 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 1191
bf7bea5d
EZ
11922013-12-28 Eli Zaretskii <eliz@gnu.org>
1193
1194 * frame.el (window-system-for-display): Don't allow to create a
1195 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1196
8449dd1f
GM
11972013-12-28 Glenn Morris <rgm@gnu.org>
1198
9c5a5c77
GM
1199 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1200 Update callers.
1201
1202 * apropos.el (apropos-match-face):
1203 * calculator.el (calculator-displayer):
1204 * dabbrev.el (dabbrev-search-these-buffers-only):
1205 * face-remap.el (buffer-face-mode-face):
1206 * simple.el (yank-handled-properties):
1207 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1208 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1209 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1210 (hashcash-double-spend-database):
1211 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1212 (ruby-deep-indent-paren-style):
1213 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1214 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1215 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1216 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1217 Specify custom types.
1218
bb098075
GM
1219 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1220 * bookmark.el (bookmark-bmenu-use-header-line):
1221 * doc-view.el (doc-view-scale-internally):
1222 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1223 * register.el (register-preview-delay):
1224 * net/shr.el (shr-bullet):
1225 * progmodes/cfengine.el (cfengine-cf-promises)
1226 (cfengine-parameters-indent):
1227 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1228 * textmodes/reftex-vars.el (reftex-label-regexps):
1229 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1230
9c61f806
GM
1231 * net/tls.el (tls-certtool-program): Fix default value.
1232
1233 * desktop.el (desktop-restore-in-current-display):
1234 * newcomment.el (comment-empty-lines):
1235 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1236 (idlwave-pad-keyword):
1237 * progmodes/tcl.el (tcl-tab-always-indent):
1238 * textmodes/reftex-vars.el (reftex-index-default-tag):
1239 * elec-pair.el (electric-pair-skip-whitespace):
1240 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1241
8449dd1f
GM
1242 * emacs-lisp/authors.el (authors-ignored-files)
1243 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1244
fdadeb49
JC
12452013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1246
72140a0f
GM
1247 * shell.el (shell-dynamic-complete-command): Doc fix.
1248 (shell--command-completion-data): Shell completion now matches
1249 executable filenames from the current buffer's directory, on
da5ecfa9 1250 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 1251
e572a7d8
LI
12522013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1253
1254 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1255
7514d3f8
SM
12562013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1257
a4151f3b
SM
1258 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1259 (bug#16251).
1260
7514d3f8
SM
1261 * electric.el: Move all electric-pair-* to elec-pair.el.
1262 * elec-pair.el: New file, split from electric.el.
1263
ac5758d1
LI
12642013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1265
1266 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1267 indentation level is larger than the width, because that will
1268 infloop.
1269 (shr-insert): Fill repeatedly long texts, so that Japanese is
1270 formatted correctly (bug#16263).
24a6b65e
LI
1271 (shr-find-fill-point): Off by one error in comparison with the
1272 indentation.
ac5758d1 1273
7514d3f8 12742013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
1275
1276 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 1277 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
1278 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1279 if that keeps or improves their balance in buffers.
1280 (electric-pair-delete-adjacent-pairs): Delete the pair when
1281 backspacing over adjacent matched delimiters.
1282 (electric-pair-open-extra-newline): Open extra newline when
1283 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
1284 (electric--sort-post-self-insertion-hook):
1285 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
1286 minor-modes are activated.
1287 * simple.el (newline-and-indent): Call newline with interactive
1288 set to t.
1289 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
1290 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1291 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1292 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
1293 electric-pair-open-newline-between-pairs to nil.
1294
fbcc63a3
FEG
12952013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1296
1297 * progmodes/python.el: Use lexical-binding.
1298 (python-nav-beginning-of-defun): Stop searching ASAP.
1299
ed78d16c
XF
13002013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1301
1302 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1303 Fix interactive spec. Doc fix. (Bug#15754)
1304
38b2c142
KY
13052013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1306
1307 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 1308 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
1309 Fix edebug spec (bug#16184).
1310
3c856c14
LI
13112013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1312
83fa295c 1313 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
1314 (shr-insert): Don't infloop if we can't find a good place to break
1315 the line (bug#16256).
3c856c14 1316
01379221
FEG
13172013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1318
1319 * progmodes/python.el:
1320 (python-nav--lisp-forward-sexp): New function.
1321 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1322 python-nav-lisp-forward-sexp-safe.
1323 (python-nav--forward-sexp): New argument SAFE allows switching
1324 forward sexp movement behavior for parens.
1325 (python-nav-forward-sexp): Throw errors on unterminated parens
1326 (Bug#16191).
1327 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1328 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
1329 (python-shell-buffer-substring):
1330 Use `python-nav-forward-sexp-safe'.
01379221 1331
99e4926f
LI
13322013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1333
1334 * net/shr.el (shr-find-fill-point): Don't break lines before a
1335 quotation mark.
c6c20584
LI
1336 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1337 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 1338 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 1339
fec0e828
KN
13402013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1341
1342 * net/eww.el (eww-form-textarea): Use a different face for
1343 textareas than text input since they have different keymaps
1344 (bug#16142).
1345
89c868ad
FEG
13462013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1347
7514d3f8
SM
1348 * progmodes/python.el (python-nav-beginning-of-statement):
1349 Speed up (Bug#15295).
89c868ad 1350
eeef121a
LI
13512013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1352
1353 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1354 the window configuration.
1355
121ea65f
EZ
13562013-12-24 Eli Zaretskii <eliz@gnu.org>
1357
1358 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1359 we run on MS-Windows or MS-DOS.
1360
18cee9ec
MR
13612013-12-24 Martin Rudalics <rudalics@gmx.at>
1362
1363 * window.el (balance-windows-area): Call window-size instead of
1364 window-height and window-width. Bug#16241.
1365
58f2b9a5
LI
13662013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1367
1368 * net/eww.el (eww-bookmark-quit): Remove.
1369 (eww-bookmark-browse): Restore the window configuration when you
1370 choose a bookmark (bug#16144).
1371
d64b6308
DC
13722013-12-24 Daniel Colascione <dancol@dancol.org>
1373
1374 * icomplete.el: Remove redundant :group arguments to `defcustom'
1375 throughout.
1376 (icomplete-show-matches-on-no-input): New customizable variable.
1377 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1378 we have something to show.
7514d3f8 1379 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 1380
0da54898
DC
13812013-12-23 Daniel Colascione <dancol@dancol.org>
1382
1383 * icomplete.el: Move `provide' to end of file.
1384
b90aa4f4
TZ
13852013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1386
1387 * net/gnutls.el (gnutls-verify-error): Add version tag.
1388
8cd22a08
CY
13892013-12-23 Chong Yidong <cyd@gnu.org>
1390
1391 * subr.el (set-transient-map): Rename from
1392 set-temporary-overlay-map. Doc fix.
1393
1394 * face-remap.el (text-scale-adjust):
1395 * indent.el (indent-rigidly):
1396 * kmacro.el (kmacro-call-macro):
1397 * minibuffer.el (minibuffer-force-complete):
1398 * repeat.el (repeat):
1399 * simple.el (universal-argument--mode):
1400 * calendar/todo-mode.el (todo-insert-item--next-param):
1401 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1402
7510b021
CY
1403 * indent.el (indent-rigidly): Use substitute-command-keys.
1404
72140a0f 14052013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
1406
1407 * net/eww.el (eww-tag-select): Add text-property to jump to next
1408 select field.
e9dc713d 1409 (eww): Add non-supported ftp error.
56890ecd 1410
1f87a56c
DG
14112013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1412
1413 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1414 comments. Handle electric indent after typing `?' and `!'.
1415
dca38cf9
CY
14162013-12-22 Chong Yidong <cyd@gnu.org>
1417
1418 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
1419 applicable to a frame, fall back on the defface spec.
1420 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 1421
f2351498
DG
14222013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1423
1424 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1425 after `{'. We need it after block openers, and it doesn't seem
1426 to hurt after hash openers.
1427
6cddebc1
DG
14282013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1429
1430 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1431 extracted from `ruby-smie-rules'.
1432 (ruby--electric-indent-chars): New variable.
1433 (ruby--electric-indent-p): New function.
1434 (ruby-mode): Use `electric-indent-functions' instead of
1435 `electric-indent-chars'.
1436
65a1da00
DG
14372013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1438
1439 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1440 docstring.
1441 (ruby-smie-rules): Indent plus one level after `=>'.
1442
b51ad4cf
RS
14432013-12-21 Richard Stallman <rms@gnu.org>
1444
1445 * simple.el (newline): Doc fix.
1446
72140a0f 14472013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 1448
e9dc713d 1449 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
1450 (eww-history-browse, eww-history-quit, eww-history-kill)
1451 (eww-history-mode-map, eww-history-mode): New command and
1452 functions to list browser histories.
e9dc713d
JB
1453 (eww-form-text): Support text form with disabled
1454 and readonly attributes.
1455 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 1456
5e1901c1
RS
14572013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1458
1459 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1460 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1461 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1462 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1463 Use `user-error'.
1464 (eww-bookmark-mode-map): Add menu.
1465 (eww-render, eww-mode): Use `setq-local'.
1466 (eww-tool-bar-map): New variable.
1467 (eww-mode): Set `tool-bar-map'.
1468 (eww-view-source): Check for `html-mode' with `fboundp'.
1469
073d5cfd
LMI
14702013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1471
1472 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1473 elements with text inside. Also remove debugging.
1474
41cf3d11
JD
14752013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1476
1477 * cus-start.el (all): Add ns-use-srgb-colorspace.
1478
aac2b673
CY
14792013-12-21 Chong Yidong <cyd@gnu.org>
1480
1481 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1482 undefined. Thus, theme settings for undefined faces do not take
1483 effect until the faces are defined with defface, the same as with
1484 theme variables.
1485
1486 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1487 (face-spec-reset-face): Don't assign extra properties in temacs.
1488 (face-spec-recalc): Apply X resources too.
1489
bacb0e77
CY
14902013-12-21 Chong Yidong <cyd@gnu.org>
1491
1492 * faces.el (face-spec-set):
1493 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1494 * custom.el (defface): Doc fixes (Bug#16203).
1495
77221051
CY
1496 * indent.el (indent-rigidly-map): Add docstring, and move commands
1497 into named functions.
1498 (indent-rigidly-left, indent-rigidly-right)
1499 (indent-rigidly-left-to-tab-stop)
1500 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1501 indentation direction based on bidi direction, and accumulate
1502 sequential commands in a single undo boundary.
1503 (indent-rigidly--pop-undo): New utility function.
1504
e0eb0550
JB
15052013-12-20 Juanma Barranquero <lekktu@gmail.com>
1506
1507 * faces.el (read-face-name): Require crm.el when using crm-separator.
1508
3282bd2e
DC
15092013-12-20 Daniel Colascione <dancol@dancol.org>
1510
1511 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1512 so that we don't reflow comments into the shebang line.
1513
1d42e5b6
JL
15142013-12-20 Juri Linkov <juri@jurta.org>
1515
1516 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1517 a position when `dired-directory' is non-nil. Check integer
1518 positions with `integerp'.
1519 (toggle-save-place, save-places-to-alist): Add check for
1520 `dired-directory'.
1521 (save-place-find-file-hook): Check integer positions with
1522 `integerp'.
1523 (save-place-dired-hook): Use `dired-goto-file' when
1524 `dired-filename' is found in the assoc list. Check integer
1525 positions with `integerp'.
1526 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1527
1528 * dired.el (dired-initial-position-hook): Rename back from
1529 `dired-initial-point-hook'.
1530 (dired-initial-position): Rename `dired-initial-point-hook' to
1531 `dired-initial-position-hook'.
1532 (dired-file-name-at-point): Doc fix. (Bug#15329)
1533
24da7273
JL
15342013-12-20 Juri Linkov <juri@jurta.org>
1535
1536 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1537 (read-regexp-suggestions): New function.
1538 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1539 Use `read-regexp-suggestions'. Add non-empty default to history
1540 for empty input.
1541 (occur-read-regexp-defaults-function): Remove function.
1542 (occur-read-primary-args): Use `regexp-history-last' instead of
1543 `occur-read-regexp-defaults-function'.
1544
1545 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1546 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1547 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1548 `hi-lock-read-regexp-defaults-function'. Doc fix.
1549 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1550 with `find-tag-default-as-symbol-regexp'. Doc fix.
1551 (hi-lock-read-regexp-defaults): Remove function.
1552 (hi-lock-regexp-okay): Add check for null.
1553
1554 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1555 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1556
1557 * subr.el (find-tag-default-as-symbol-regexp): New function.
1558 (find-tag-default-as-regexp): Move symbol regexp formatting to
1559 `find-tag-default-as-symbol-regexp'.
1560
137f57c8
S
15612013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1562
1563 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1564 (Bug#14179)
1565
f3a66082
SB
15662013-12-20 Stephen Berman <stephen.berman@gmx.net>
1567
1568 * calendar/todo-mode.el: New implementation of item insertion
1569 commands and key bindings.
1570 (todo-key-prompt): New face.
1571 (todo-insert-item): New command.
1572 (todo-insert-item--parameters): New defconst, replacing defvar
1573 todo-insertion-commands-args-genlist.
1574 (todo-insert-item--param-key-alist): New defconst, replacing
1575 defvar todo-insertion-commands-arg-key-list.
1576 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1577 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1578 (todo-insert-item--next-param): New functions.
1579 (todo-insert-item--args, todo-insert-item--argleft)
1580 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1581 New variables.
1582 (todo-key-bindings-t): Change binding of "i" from
1583 todo-insertion-map to todo-insert-item.
1584 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1585 (todo-insertion-command-name, todo-insertion-commands-names)
1586 (todo-define-insertion-command, todo-insertion-commands)
1587 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1588
2f99433b
SB
15892013-12-20 Stephen Berman <stephen.berman@gmx.net>
1590
1591 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1592 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1593 eval-when-compile.
1594 (todo-move-category): Allow choosing a non-existing todo file to
1595 move the category to, and create that file.
1596 (todo-default-priority): New user option.
1597 (todo-set-item-priority): Use it.
1598 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1599 (desktop-restore-file-buffer): Declare.
1600 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1601 (todo-modes-set-2): Locally set desktop-save-buffer to
1602 todo-desktop-save-buffer.
1603 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1604 (auto-mode-alist): Add autoload cookie.
1605
131e4695
BB
16062013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1607
1608 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1609 helpers.el was a poor choice of name.
3cbfb935
BB
1610 (string-remove-prefix): New function.
1611 (string-remove-suffix): New function.
131e4695 1612
c44de18d
MR
16132013-12-20 Martin Rudalics <rudalics@gmx.at>
1614
1615 Fix assignment for new window total sizes.
1616 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
1617 (window--pixel-to-total-1, window--pixel-to-total):
1618 Fix calculation of new total sizes.
c44de18d 1619
ca65efcc
VS
16202013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1621
1622 * comint.el (comint-output-filter): Fix rear-nonsticky property
1623 placement (Bug#16010).
1624
a9574eb7
CY
16252013-12-20 Chong Yidong <cyd@gnu.org>
1626
1627 * faces.el (read-color): Minor fix for completion function.
1628
b520f210
DG
16292013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1630
e0eb0550
JB
1631 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1632 New option. (Bug#16182)
b520f210
DG
1633 (ruby-smie--indent-to-stmt-p): Use it.
1634 (ruby-smie-rules): Revert the logic in the handling of `when'.
1635 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1636 (ruby-deep-arglist, ruby-deep-indent-paren)
1637 (ruby-deep-indent-paren-style): Update docstrings to note that the
1638 vars don't have any effect with SMIE.
1639
26b75b45
JB
16402013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1641
1642 * calc/calc.el (calc-enter, calc-pop): Use the variable
1643 `calc-context-sensitive-enter'.
1644
cf91cee7
LMI
16452013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1646
1647 * net/shr.el (shr-insert): Protect against infloops in degenerate
1648 tables.
1649
51d971b4
RS
16502013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1651
1652 * progmodes/octave.el (octave): Add link to manual and octave
1653 homepage.
1654 (octave-mode-menu): Link to octave-mode manual.
1655
8c2e462a
LL
16562013-12-20 Leo Liu <sdl.web@gmail.com>
1657
1658 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1659 insertion using skeleton-end-newline. (Bug#16138)
1660
501158bc
JL
16612013-12-20 Juri Linkov <juri@jurta.org>
1662
1663 * replace.el (occur-engine): Use `add-face-text-property'
1664 to add the face property to matches and titles. (Bug#14645)
1665
1666 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1667 the palette of other hi-lock colors.
1668 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1669
50ab1da6
JL
16702013-12-19 Juri Linkov <juri@jurta.org>
1671
1672 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1673 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1674 (minibuffer-history-symbol): Move variable declaration closer to
1675 its usage.
1676
1677 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1678 (Bug#14785)
1679
3d6e95e7
JL
16802013-12-19 Juri Linkov <juri@jurta.org>
1681
1682 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1683 New function.
1684 (log-edit-hook): Add it to :options. (Bug#16170)
1685
b41594fd
JL
16862013-12-19 Juri Linkov <juri@jurta.org>
1687
1688 * simple.el (eval-expression-print-format): Don't check for
1689 command names and the last command. Always display additional
1690 formats of the integer result in the echo area, and insert them
1691 to the current buffer only with a zero prefix arg.
1692 Display character when char-displayable-p is non-nil.
1693 (eval-expression): With a zero prefix arg, set `print-length' and
1694 `print-level' to nil, and insert the integer values from
1695 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1696
1697 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1698 `eval-last-sexp-arg-internal'. Doc fix.
1699 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1700 `eval-last-sexp-print-value'. Doc fix.
1701 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1702 Set `print-length' and `print-level' to nil when arg is zero.
1703 (eval-last-sexp): Doc fix.
1704 (eval-defun-2): Print the integer values from
1705 `eval-expression-print-format' at the end.
1706
1707 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1708 values from `eval-expression-print-format' at the end.
1709
1710 * ielm.el (ielm-eval-input): Print the integer
1711 values from `eval-expression-print-format' at the end.
1712
8f2be364
TZ
17132013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1714
1715 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1716 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1717
2230a6e3
SM
17182013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1719
1720 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1721 (hl-line-highlight, global-hl-line-highlight): Use it.
1722 (hl-line-overlay): Use defvar-local.
1723
1269a680
JD
17242013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1725
1726 * term/ns-win.el: Require dnd.
1727 (global-map): Remove drag items.
1728 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
1729 (ns-set-background-at-mouse):
1730 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1731 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1732 New functions.
1269a680 1733
049638ad
GM
17342013-12-19 Glenn Morris <rgm@gnu.org>
1735
1736 * emacs-lisp/ert.el (ert-select-tests):
1737 Fix string/symbol mixup. (Bug#16121)
1738
ce41edb4
DG
17392013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1740
1741 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1742 keywords to their parent.
1743
7e1549c9
DG
17442013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1745
1746 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1747 first arg to be a string (fixed dead code), or an operator symbol.
1748 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1749 operator symbols.
1750 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1751 did nothing. Don't respond to `(:after ".")', it will be called
1752 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1753 change anything. Only return indentation for binary operators
1754 when they are hanging. De-dent opening paren when its parent is
1755 `.', otherwise it looks bad when the dot is not at bol or eol
1756 (bug#16182).
1757
3ee4cd64
JL
17582013-12-19 Juri Linkov <juri@jurta.org>
1759
1760 * replace.el (query-replace-read-args): Split a non-negative arg
1761 and a negative arg into separate elements.
1762 (query-replace, query-replace-regexp, replace-string)
1763 (replace-regexp): Add arg `backward'. Doc fix.
1764 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1765 move point to the beginning of the match.
1766 (replace-search, replace-highlight): Use new arg `backward'
1767 to set the value of `isearch-forward'.
1768 (perform-replace): Add arg `backward' and use it to perform
1769 replacement backward. (Bug#14979)
1770
1771 * isearch.el (isearch-query-replace): Use a negative prefix arg
1772 to call `perform-replace' with a non-nil arg `backward'.
1773
0cda6b7b
JL
17742013-12-18 Juri Linkov <juri@jurta.org>
1775
1776 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1777 to the default list. Move `log-edit-show-files' to the end.
1778 Add more available functions to options.
1779 (log-edit): Move default specific settings to
1780 `log-edit-insert-message-template'. Don't move point.
1781 (log-edit-insert-message-template): New function.
1782 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1783 (Bug#16170)
1784
b216f0a6
JL
17852013-12-18 Juri Linkov <juri@jurta.org>
1786
1787 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1788 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1789
1d1c55dc
LL
17902013-12-18 Leo Liu <sdl.web@gmail.com>
1791
e9dc713d
JB
1792 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1793 (Bug#16186)
1d1c55dc 1794
64e4c76e
EZ
17952013-12-18 Eli Zaretskii <eliz@gnu.org>
1796
1797 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1798 formats for displaying file sizes when the -s switch is given.
1799 Instead, compute a separate format for displaying the size in
1800 blocks, which is displayed in addition to the "regular" size.
1801 When -h is given in addition to -s, produce size in blocks in
1802 human-readable form as well. (Bug#16179)
1803
b2984e39
TH
18042013-12-18 Tassilo Horn <tsdh@gnu.org>
1805
2230a6e3
SM
1806 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1807 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 1808
50ff2e06
CY
18092013-12-18 Chong Yidong <cyd@gnu.org>
1810
0081bc84
CY
1811 * cus-edit.el (custom-magic-alist): Fix "themed" description
1812 (Bug#14348).
1813
a7ee9424
CY
1814 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1815 is non-nil, do not create a new entry in the symbol's theme-value
1816 or theme-face property; update theme-settings only (Bug#14664).
18874304 1817 (custom-available-themes): Doc fix.
a7ee9424 1818
8f942537
CY
1819 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1820 (Bug#15674).
1821
50ff2e06
CY
1822 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1823
83c60f60
KI
18242013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1825
1826 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1827 (Bug#13914).
1828
e0eb0550 18292013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
1830
1831 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1832
1f41ee56
GM
18332013-12-18 Glenn Morris <rgm@gnu.org>
1834
1835 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 1836 * cus-start.el (load-prefer-newer): New option.
1f41ee56 1837
e82134b1
LW
18382013-12-18 Le Wang <l26wang@gmail.com>
1839
2230a6e3
SM
1840 * comint.el (comint-previous-matching-input-from-input):
1841 Retain point (Bug#13404).
e82134b1 1842
33f5d4c1
CY
18432013-12-18 Chong Yidong <cyd@gnu.org>
1844
1845 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1846
ccc9f6dc
GM
18472013-12-18 Glenn Morris <rgm@gnu.org>
1848
1849 * mail/emacsbug.el (report-emacs-bug):
1850 Only mention enable-multibyte-characters if non-standard.
1851
33dd8e95
JL
18522013-12-17 Juri Linkov <juri@jurta.org>
1853
1854 * arc-mode.el (archive-extract-by-file): Check if directory exists
1855 before deletion to not show irrelevant errors if it doesn't exist.
1856
7a409b30
JL
18572013-12-17 Juri Linkov <juri@jurta.org>
1858
1859 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1860 (Bug#14751)
1861
1862 * net/eww.el (browse-web): Add alias to `eww'.
1863 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1864 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1865
1866 * net/browse-url.el (browse-url-browser-function): Move `eww'
1867 closer to similar functions.
1868
1869 * startup.el (fancy-startup-screen, fancy-about-screen):
1870 Set browse-url-browser-function to eww-browse-url locally.
1871 (Bug#14751)
1872
2d6b6005
SM
18732013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1874
1875 * window.el (window--pixel-to-total): Remove unused `mini' var.
1876 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1877 (split-window): Remove unused `new' var.
1878 (window--display-buffer): Remove unused `frame' and `delta' vars.
1879 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1880 and display-width'.
1881
cf2b7efc
MR
18822013-12-17 Martin Rudalics <rudalics@gmx.at>
1883
1884 * dired.el (dired-mark-pop-up):
1885 * register.el (register-preview): Don't bind
1886 split-height-threshold here since it's now done in
1887 display-buffer-below-selected.
1888
ed3af8a7 18892013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1890
1891 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1892 xterm-rgb-convert-to-16bit.
1893 (rxvt-register-default-colors): Standardize with
1894 xterm-register-default-colors (Bug#14078).
1895
76da3455
DK
18962013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1897
1898 * simple.el (kill-region): Pass mark first, then point, so that
1899 kill-append works right (Bug#12819).
1900 (copy-region-as-kill, kill-ring-save): Likewise.
1901
2b84d763
LL
19022013-12-17 Leo Liu <sdl.web@gmail.com>
1903
1904 * net/rcirc.el (rcirc-add-face):
1905 * eshell/em-prompt.el (eshell-emit-prompt):
1906 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1907 (Bug#16167)
1908
e2f6a0bc
CY
19092013-12-17 Chong Yidong <cyd@gnu.org>
1910
1911 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1912 Suggested by Xue Fuqiao.
1913
35b249a6
DG
19142013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1915
1916 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1917
e9145444
SM
19182013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1919
1920 * net/shr.el (shr-insert-document): Remove unused var
1921 `shr-preliminary-table-render'.
1922 (shr-rescale-image): Remove unused arg `force'.
1923 (shr-put-image): Update calls accordingly.
1924 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1925
5556c0ce
DG
19262013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1927
1928 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1929 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1930 :close-all, to see which indentation method to use (Bug#16116).
1931 (smie-rules-function): Document the method :close-all.
1932
11bade0a
LMI
19332013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1934
1c4b1e61
LMI
1935 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1936
11bade0a
LMI
1937 * net/eww.el (eww-display-html): If we can't find the anchor we're
1938 looking for, then go to point-min.
1939
8fb8c4f3
PE
19402013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1941
1942 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1943 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1944 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1945 Expand dir too, in case it's relative.
1946
6c8e0ae6
JL
19472013-12-16 Juri Linkov <juri@jurta.org>
1948
1949 * desktop.el (desktop-auto-save-timeout): Change default to
1950 `auto-save-timeout'. Doc fix.
1951 (desktop-save): Skip the timestamp in desktop-saved-frameset
1952 when checking for auto-save changes.
1953 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1954 `desktop-auto-save' is called repeatedly by the idle timer.
1955 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1956 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1957 (Bug#15331)
1958
2178e858
JL
19592013-12-16 Juri Linkov <juri@jurta.org>
1960
1961 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1962 (Bug#16035)
1963 (isearch-pre-command-hook): Check `this-command' for symbolp.
1964
39cb42c6
SM
19652013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1966
1967 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1968
5b9b750a
TZ
19692013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1970
1971 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1972 (cfengine3--current-function): Bring in the current-function
1973 functionality from `cfengine3--current-word'.
1974 (cfengine3-completion-function): Bring in the
1975 bounds-of-current-word functionality from
1976 `cfengine3--current-word'.
1977
d144ef06
MR
19782013-12-16 Martin Rudalics <rudalics@gmx.at>
1979
39cb42c6
SM
1980 * window.el (display-buffer-below-selected):
1981 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 1982
a8bbe298
LL
19832013-12-16 Leo Liu <sdl.web@gmail.com>
1984
1985 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1986 Remove NOMSG arg and all uses changed.
1987
2013a2f9
SM
19882013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1989
1990 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1991 (cua--deactivate-rectangle): Don't deactivate the mark.
1992 (cua-set-rectangle-mark): Don't set mark-active since
1993 cua--activate-rectangle already does it for us.
1994 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1995 non-rectangular region.
1996
1997 * emulation/cua-base.el (cua-repeat-replace-region):
1998 Use with-current-buffer.
1999
2000 * net/gnutls.el: Use cl-lib.
2001 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2002
5ae811dd
TZ
20032013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2004
2005 * emacs-lisp/package.el (package-built-in-p): Support both
2006 built-in and the package.el converted package descriptions.
2007 (package-show-package-list): Allow keywords.
2008 (package-keyword-button-action): Use it instead of
2009 `finder-list-matches'.
2010 (package-menu-filter-interactive): Interactive filtering (by
2011 keyword) function.
2012 (package-menu--generate): Support keywords and change keymappings
2013 and headers when they are given.
2014 (package--has-keyword-p): Helper function.
2015 (package-menu--refresh): Use it.
2016 (package--mapc): Helper function.
2017 (package-all-keywords): Use it.
2018 (package-menu-mode-map): Set up menu items and keybindings to
2019 provide a filtering UI.
2020
31b4827e
TZ
20212013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2022
2023 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2024 the behavior when a certificate fails validation. Defaults to
2025 old behavior: never abort, just warn.
2026 (gnutls-negotiate): Use it.
2027
f93cc74f
MR
20282013-12-14 Martin Rudalics <rudalics@gmx.at>
2029
2030 * window.el (display-buffer-below-selected): Never split window
2031 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2032
f77d7d17
TW
20332013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2034
2035 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2036 (package-buffer-info): Use it (bug#15108).
aa2bddd7 2037
7514d3f8
SM
20382013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2039
aa2bddd7 2040 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 2041 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 2042
276bc333
DG
20432013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2044
2045 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2046 open-paren tokens when preceded by a open-paren, too.
2047 (ruby-smie-rules): Handle virtual indentation after open-paren
2048 tokens specially. If there is code between it and eol, return the
2049 column where is starts (Bug#16118).
2050
d43957f3
TZ
20512013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2052
a5c1ac0c 2053 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 2054 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
2055 (cfengine3--current-word): Fix parameters.
2056 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
2057 (cfengine3-completion-function, cfengine3--current-function):
2058 Use `assq' for symbols.
d43957f3
TZ
2059 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2060
06a4f110
GM
20612013-12-13 Glenn Morris <rgm@gnu.org>
2062
2063 * loadup.el (load-path): Warn if site-load or site-init changes it.
2064 No more need to reset it when bootstrapping.
2065
978a5fda
TZ
20662013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2067
2068 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2069 locations for cf-promises.
2070 (cfengine-mode-syntax-functions-regex): New caching variable.
2071 (cfengine3-fallback-syntax): Fallback syntax for cases where
2072 cf-promises doesn't run.
2073 (cfengine3--current-word): Reimplement using
2074 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
2075 (cfengine3-completion-function, cfengine3--current-function):
2076 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
2077 (cfengine3-clear-syntax-cache): New function.
2078 (cfengine3-make-syntax-cache): Simplify and create
2079 `cfengine-mode-syntax-functions-regex' on demand.
2080 (cfengine3-format-function-docstring): Don't call
2081 `cfengine3-make-syntax-cache' explicitly.
2082
71e6691e
MR
20832013-12-13 Martin Rudalics <rudalics@gmx.at>
2084
2085 Fix windmove-find-other-window broken after pixelwise resizing
2086 (Bug#16017).
2087 * windmove.el (windmove-other-window-loc): Revert change from
2088 2013-12-04.
2089 (windmove-find-other-window): Call window-in-direction.
2090 * window.el (window-in-direction): New arguments SIGN, WRAP and
2091 MINI to emulate original windmove-find-other-window behavior.
2092
84c73ba0
DG
20932013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2094
2095 * simple.el (blink-matching--overlay): New variable.
2096 (blink-matching-open): Instead of moving point, highlight the
2097 matching paren with an overlay
2098 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2099
2100 * faces.el (paren-showing-faces, show-paren-match)
2101 (show-paren-mismatch): Move from paren.el.
2102
b9e20952
LL
21032013-12-13 Leo Liu <sdl.web@gmail.com>
2104
2105 * indent.el (indent-region): Disable progress reporter in
2106 minibuffer. (Bug#16108)
2107
2108 * bindings.el (visual-order-cursor-movement): Fix version.
2109
ce030451
FEG
21102013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2111
2112 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2113 Also match after beginning of line.
2114 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 2115 files. Thanks to Russell Sim. (Bug#15378)
ce030451 2116
4a9c6865
JL
21172013-12-13 Juri Linkov <juri@jurta.org>
2118
2119 * simple.el <Keypad support>: Remove key bindings duplicated
2120 with bindings.el. (Bug#14397)
2121
2bc170c3
JL
21222013-12-13 Juri Linkov <juri@jurta.org>
2123
2124 * comint.el (comint-mode-map): Replace `delete-char' with
2125 `delete-forward-char'. (Bug#16109)
2126
bc9222c9
FEG
21272013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2128
aa2bddd7 2129 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 2130 Fix de-denters cornercase. (Bug#15731)
bc9222c9 2131
cb3a1380
SM
21322013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2133
2134 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2135 (advice--make): Pay attention to `depth'.
2136 (advice--make-1): Don't autoload commands eagerly.
2137 * emacs-lisp/elp.el (elp-instrument-function):
2138 * emacs-lisp/trace.el (trace-function-internal):
2139 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2140
2141 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2142
01633a17
EZ
21432013-12-12 Eli Zaretskii <eliz@gnu.org>
2144
2145 * term/w32-win.el (w32-handle-dropped-file):
2146 * startup.el (normal-top-level):
2147 * net/browse-url.el (browse-url-file-url):
2148 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2149 decode file names using 'utf-8' rather than
2150 file-name-coding-system.
2151
09faee72
FEG
21522013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2153
2154 * progmodes/python.el (python-indent-context)
2155 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 2156 behavior for comment blocks. (Bug#15916)
09faee72 2157
f4f84024 21582013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 2159
cb3a1380
SM
2160 * progmodes/python.el (python-indent-calculate-indentation):
2161 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
2162 operators when they are just string constituents. (Bug#15812)
2163
d5ccb7be
JL
21642013-12-12 Juri Linkov <juri@jurta.org>
2165
2166 * uniquify.el (uniquify-buffer-name-style): Change default to
2167 `post-forward-angle-brackets'.
2168
2169 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2170 `uniquify'. Change default to `post-forward-angle-brackets'.
2171
7b3f5679
GM
21722013-12-11 Glenn Morris <rgm@gnu.org>
2173
2174 * emacs-lisp/package.el (finder-list-matches):
2175 Autoload rather than falsely declaring.
2176
f4fe8fdd
TZ
21772013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2178
2179 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2180 (eww-mode-map): Use them.
2181
3c29190f
MR
21822013-12-11 Martin Rudalics <rudalics@gmx.at>
2183
2184 * window.el (display-buffer-in-side-window): Fix doc-string
2185 (Bug#16115).
2186
0cd616a2
JB
21872013-12-11 Juanma Barranquero <lekktu@gmail.com>
2188
2189 * vc/vc-git.el: Silence byte-compiler warnings.
2190 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2191 (log-edit-set-header): Declare.
2192
3ef8e0d1
EZ
21932013-12-11 Eli Zaretskii <eliz@gnu.org>
2194
2195 * Makefile.in (custom-deps, finder-data): Run output file names
2196 through unmsys--file-name. (Bug#16099)
2197
afdadaf7
SM
21982013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2199
7ae3ae39 2200 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 2201 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 2202
5b4f37ab
SM
2203 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2204 instead of deleting the selection "by hand" (bug#16098).
2205 Rely on insert-for-yank to yank rectangles.
2206 (cua-highlight-region-shift-only): Mark obsolete.
2207 (cua-mode): Don't enable/disable transient-mark-mode,
2208 shift-select-mode (cua-mode works both with and without them), and
2209 pc-selection-mode (obsolete).
2210 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2211 (cua--deactivate-rectangle): Deactivate it.
2212
4b72c12b
SM
2213 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2214 (delete-selection-helper): Make sure yank starts at the top of the
2215 deleted region.
2216 (minibuffer-keyboard-quit): Use region-active-p.
2217
e82af72d
SM
2218 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2219
afdadaf7
SM
2220 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2221 to `delete' (bug#16109).
2222
ed4bc201
RS
22232013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2224
2225 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2226 info manual and show keybindings and set `:group' keyword.
2227
bb8097b9
JL
22282013-12-11 Juri Linkov <juri@jurta.org>
2229
2230 * delsel.el (delete-active-region): Let-bind `this-command'
2231 to prevent `kill-region' from changing its original value.
2232 (delete-selection-helper): Handle `overwrite-mode' for the type
2233 `kill' exactly the same way as for the type `t'.
2234 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2235 Support more commands. (Bug#13312)
2236
c1916ff5
JL
22372013-12-11 Juri Linkov <juri@jurta.org>
2238
2239 * bindings.el: Map kp keys to non-kp keys systematically
2240 with basic modifiers control, meta and shift. (Bug#14397)
2241
7514d3f8 22422013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
2243
2244 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2245 "Close browser" menu items. Fix wrong function of "List
2246 bookmarks".
2247
4cc51eaf
JL
22482013-12-11 Juri Linkov <juri@jurta.org>
2249
2250 * misearch.el (multi-isearch-buffers): Set the value of
2251 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2252 arg of isearch-forward to t.
2253 (multi-isearch-buffers-regexp): Set the value of
2254 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2255 arg of isearch-forward-regexp to t.
2256 (multi-isearch-files): Set the value of
2257 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2258 arg of isearch-forward to t.
2259 (multi-isearch-files-regexp): Set the value of
2260 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2261 arg of isearch-forward-regexp to t. (Bug#16035)
2262
2263 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2264 arg of isearch-forward to t.
2265 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2266 arg of isearch-forward-regexp to t.
2267 (dired-isearch-filter-filenames): Remove unnecessary check for
2268 `dired-isearch-filenames'.
2269
2270 * comint.el (comint-history-isearch-backward):
2271 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2272 (comint-history-isearch-backward-regexp):
2273 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2274
ceac12b7
EZ
22752013-12-10 Eli Zaretskii <eliz@gnu.org>
2276
2277 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2278 unmsys--file-name. (Bug#16099)
2279
5a565782
TZ
22802013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2281
cb3a1380
SM
2282 * emacs-lisp/package.el (package-keyword-button-action):
2283 Remove finder.el require dependency.
5a565782 2284
a81fc7ba
TZ
22852013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2286
2287 * emacs-lisp/package.el: Require finder.el.
2288 (describe-package-1): Add keyword buttons.
2289 (package-make-button): New convenience function.
2290 (package-keyword-button-action): Keyword button action using
e0eb0550 2291 `finder-list-matches'.
a81fc7ba 2292
6aaca951
EZ
22932013-12-09 Eli Zaretskii <eliz@gnu.org>
2294
2295 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2296 last commit.
2297
a1099a91
MA
22982013-12-09 Michael Albinus <michael.albinus@gmx.de>
2299
2300 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2301 symlinked files.
2302
8212d9c0
DG
23032013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2304
2305 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2306 after the end of a percent literal.
2307
8f48d131
CD
23082013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2309
cb3a1380
SM
2310 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2311 Handle caret-delimited strings (Bug#16079).
8f48d131 2312
ff8c9764
DG
23132013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2314
cb3a1380
SM
2315 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2316 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
2317 `ruby-parse-partial' (Bug#16078).
2318
d64643b4
LL
23192013-12-09 Leo Liu <sdl.web@gmail.com>
2320
2321 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2322
47e59c66
DG
23232013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2324
2325 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2326 (js-switch-indent-offset): New option.
2327 (js--proper-indentation): Use it. And handle the case when
2328 "default" is actually a key in an object literal.
2329 (js--same-line): New function.
2330 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
2331 (js--indent-in-array-comp, js--array-comp-indentation):
2332 New functions.
47e59c66
DG
2333 (js--proper-indentation): Use them, to handle array comprehension
2334 continuations.
2335
974ebc9c
LL
23362013-12-08 Leo Liu <sdl.web@gmail.com>
2337
2338 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2339 (flymake-make-overlay): Remove arg MOUSE-FACE.
2340 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2341
27262e39
SM
23422013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2343
2344 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2345 New function.
2346 (redisplay-highlight-region-function): Use it.
2347
2348 * emulation/cua-base.el (cua--explicit-region-start)
2349 (cua--last-region-shifted): Remove.
2350 (cua--deactivate): Use deactivate-mark.
2351 (cua--pre-command-handler-1): Don't handle shift-selection.
2352 (cua--post-command-handler-1): Don't change transient-mark-mode.
2353 (cua--select-keymaps): Use region-active-p rather than
2354 cua--explicit-region-start or cua--last-region-shifted.
2355 (cua-mode): Enable shift-select-mode.
2356
6407822c
LL
23572013-12-08 Leo Liu <sdl.web@gmail.com>
2358
27262e39
SM
2359 * progmodes/flymake.el (flymake-popup-current-error-menu):
2360 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
2361 (flymake-posn-at-point-as-event, flymake-popup-menu)
2362 (flymake-make-emacs-menu): Remove. (Bug#16077)
2363
00a2b823
SM
23642013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2365
02033d49
SM
2366 * rect.el (rectangle-mark-mode): Activate mark even if
2367 transient-mark-mode is off (bug#16066).
2368 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2369 is > mark and at bolp.
2370
6f8dfccf
SM
2371 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2372 (region-extract-function): Use it.
2373 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2374 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2375 Delete functions.
2376 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2377 kill-ring-save, kill-region, delete-char, delete-forward-char.
2378 Ignore self-insert-iso.
2379
2380 * emulation/cua-gmrk.el (cua--init-global-mark):
2381 Ignore `self-insert-iso'.
2382
2383 * emulation/cua-base.el (cua--prefix-copy-handler)
2384 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2385 checking cua--rectangle.
2386 (cua-delete-region): Use region-extract-function.
2387 (cua-replace-region): Delete function.
2388 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2389 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2390 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2391 (cua--init-keymaps): Don't remap delete-selection commands.
2392 (cua-mode): Use delete-selection-mode instead of rolling our own
2393 (bug#16085).
2394
2395 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2396 Obey region-extract-function.
2397
00a2b823
SM
2398 Make registers and delete-selection-mode work on rectangles.
2399 * register.el (describe-register-1): Don't modify the register's value.
2400 (copy-to-register): Obey region-extract-function.
2401 * delsel.el (delete-active-region): Obey region-extract-function.
2402
a92fa5f1
LL
24032013-12-08 Leo Liu <sdl.web@gmail.com>
2404
2405 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2406 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2407 (flymake-compilation-prevents-syntax-check)
2408 (flymake-start-syntax-check-on-newline)
2409 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2410 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2411 (flymake-xml-program, flymake-master-file-dirs)
2412 (flymake-master-file-count-limit)
2413 (flymake-allowed-file-name-masks): Relocate.
2414 (flymake-makehash, flymake-float-time)
2415 (flymake-replace-regexp-in-string, flymake-split-string)
2416 (flymake-get-temp-dir): Remove.
2417 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2418 (flymake-current-row, flymake-selected-frame)
2419 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2420 related functions. (Bug#16077)
2421
73c8ceea
BB
24222013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2423
2424 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2425
faec28d9
TH
24262013-12-07 Tassilo Horn <tsdh@gnu.org>
2427
2428 * help-fns.el (describe-function-1): Use new advice-* functions
2429 rather than old ad-* functions. Fix function type description and
2430 source links for advised functions and subrs.
2431
e330b646
LMI
24322013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2433
00a2b823 2434 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 2435
4803595d
MA
24362013-12-06 Michael Albinus <michael.albinus@gmx.de>
2437
2438 * progmodes/compile.el (compilation-start):
2439 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2440
2441 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2442 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2443
fa834a93
DG
24442013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2445
00a2b823
SM
2446 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2447 Touch up the last change.
fa834a93 2448
b2856a6f
LL
24492013-12-06 Leo Liu <sdl.web@gmail.com>
2450
2451 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2452 (inferior-octave-startup): Always use "octave> " for prompt.
2453 (octave-goto-function-definition)
2454 (octave-sync-function-file-names)
2455 (octave-find-definition-default-filename): Remove redundant backquotes.
2456
af67e79a
DG
24572013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2458
2459 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2460 syntax for `?'.
2461 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2462 where appropriate already.
2463 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2464 end of method names (Bug#15874).
2465
bf093209
JL
24662013-12-06 Juri Linkov <juri@jurta.org>
2467
2468 * isearch.el (isearch--saved-overriding-local-map):
2469 New internal variable.
2470 (isearch-mode): Set it to the initial value of
2471 `overriding-terminal-local-map'.
2472 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2473 with `isearch--saved-overriding-local-map'. (Bug#16035)
2474
16588fad
DG
24752013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2476
00a2b823
SM
2477 * progmodes/octave.el (inferior-octave-completion-table):
2478 Turn back into function, use `completion-table-with-cache'
16588fad
DG
2479 (Bug#11906). Update all references.
2480
2481 * minibuffer.el (completion-table-with-cache): New function.
2482
bf4906d7
CD
24832013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2484
2485 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2486
ff69c18f
TZ
24872013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2488
2489 * net/eww.el (eww-current-source): New variable to store page
2490 source.
2491 (eww-display-html, eww-mode, eww-save-history)
2492 (eww-restore-history): Use it.
2493 (eww-view-source): New command to view page source.
2494 Opportunistically uses `html-mode' to highlight the buffer.
2495 (eww-mode-map): Install it.
2496
b85eff45
MA
24972013-12-05 Michael Albinus <michael.albinus@gmx.de>
2498
2499 * net/dbus.el (dbus-unregister-service)
2500 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2501 Fix docstring.
2502 (dbus-unregister-service): Skip :serial entries in
2503 `dbus-registered-objects-table'.
2504 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2505
39eb0899
TZ
25062013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2507
2508 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2509 around keywords with extra `split-string' argument.
2510
456760a5
MR
25112013-12-04 Martin Rudalics <rudalics@gmx.at>
2512
2513 * windmove.el (windmove-other-window-loc): Handle navigation
2514 between windows (excluding the minibuffer window - Bug#16017).
2515
81961e4c
MA
25162013-12-04 Michael Albinus <michael.albinus@gmx.de>
2517
2518 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2519 in D-Bus type syntax.
2520 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2521 preserve unibyte strings. (Bug#16048)
2522
8497f938
SM
25232013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2524
2525 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2526 Call force-mode-line-update is the proper buffer (bug#16042).
2527
dda61916
DG
25282013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2529
2530 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2531 `log-edit-remember-comment', make argument optional. Adjust all
2532 callers.
2533 (log-edit-mode): Add `log-edit-remember-comment' to
2534 `kill-buffer-hook' locally.
2535 (log-edit-kill-buffer): Don't remember comment explicitly since
2536 the buffer is killed anyway.
2537
c085e5b9
JL
25382013-12-04 Juri Linkov <juri@jurta.org>
2539
2540 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2541 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2542
e0eb0550 25432013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
2544
2545 * notifications.el (notifications-close-notification): Call the
81961e4c 2546 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 2547
39fa32d6
KY
25482013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2549
2550 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2551
9139632a
JL
25522013-12-03 Juri Linkov <juri@jurta.org>
2553
2554 * progmodes/compile.el (compilation-start): Rename window alist
2555 entry `no-display-ok' to `allow-no-window'.
2556
2557 * simple.el (shell-command): Add window alist entry
2558 `allow-no-window' to `display-buffer'.
2559 (async-shell-command): Doc fix.
2560
2561 * window.el (display-buffer-no-window): New action function.
2562 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2563
0f457a37
DG
25642013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2565
2566 * vc/log-edit.el (log-edit-set-header): Extract from
2567 `log-edit-toggle-header'.
2568 (log-edit-extract-headers): Separate the summary, when extracted
2569 from header, from the rest of the message with an empty line.
2570
2571 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2572 line, if present, to the Summary header.
2573
0962f376
SM
25742013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2575
2576 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2577 in current-buffer (bug#16029).
2578
f345395c
HE
25792013-12-02 Helmut Eller <eller.helmut@gmail.com>
2580
2581 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2582 (debugger-mode-map): Bind it.
2583 (debugger--backtrace-base): New function.
2584 (debugger-eval-expression): Use it.
2585 (debugger-frame-number): Skip local vars when present.
2586 (debugger--locals-visible-p, debugger--insert-locals)
2587 (debugger--show-locals, debugger--hide-locals): New functions.
2588
a8a15d9d
MA
25892013-12-02 Michael Albinus <michael.albinus@gmx.de>
2590
2591 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2592 "LC_ALL".
2593 (tramp-get-remote-locale): New defun.
2594 (tramp-open-connection-setup-interactive-shell): Use it.
2595
0518b057
LL
25962013-12-02 Leo Liu <sdl.web@gmail.com>
2597
2598 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2599
2600 * progmodes/sh-script.el (sh-shell-process):
2601 * progmodes/octave.el (inferior-octave-process-live-p):
2602 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2603 (gdb-inferior-io-sentinel):
2604 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2605
3adc9c6d
DG
26062013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2607
2608 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2609 `save-selected-window' to `log-edit-hide-buf'. This makes
2610 `log-edit-show-files' idempotent.
2611 (log-edit-show-files): Mark the new window as dedicated.
2612
47e8b74e
DG
26132013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2614
2615 * vc/log-edit.el (log-edit-mode-map): Add binding for
2616 `log-edit-kill-biffer'.
2617 (log-edit-hide-buf): Add a FIXME comment.
2618 (log-edit-add-new-comment): New function, extracted from
2619 `log-edit-done'.
2620 (log-edit-done, log-edit-add-to-changelog): Use it.
2621 (log-edit-kill-buffer): New command.
2622
1f6e1bb0
LMI
26232013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2624
2625 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2626 instead of killing the buffer.
2627
fb651d15
SM
26282013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2629
2630 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2631
8feacce0
RS
26322013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2633
fb651d15 2634 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 2635 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
2636 (eww-form-checkbox, eww-toggle-checkbox):
2637 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2638
e0eb0550 2639 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 2640 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 2641 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
2642 no :src tag was specified.
2643
fb651d15 2644 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
2645 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2646 Use \\` to match beginning of string instead of ^.
2647 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 2648 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 2649
177948a5
RS
2650 * net/shr.el (shr-tag-video): Display content for video if no
2651 poster is available.
eb2dd24d 2652 (shr-tag-audio): Add support for <audio> tag.
177948a5 2653
e0eb0550 2654 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
2655 (eww-process-text-input): Treat input types in
2656 `eww-text-input-types' as text.
2657
8feacce0
RS
2658 * net/shr.el (shr-tag-table): Fix comment typo.
2659
513562a1
LMI
26602013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2661
2662 * net/eww.el (eww-follow-link): New command to avoid reloading
2663 pages when we follow #target links (bug#15243).
de8a5633 2664 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 2665
9dd99753
KN
26662013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2667
2668 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2669 forms.
2670
3e9876de
LMI
26712013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2672
2673 * net/eww.el (eww-restore-history): Update the window title after
2674 moving in the history.
ab6dea82 2675 (eww-current-dom): New variable used to save the current DOM.
3e9876de 2676
52789f7f
DG
26772013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2678
2679 * vc/log-edit.el (log-edit-mode-map): Add binding for
2680 `log-edit-beginning-of-line'.
2681 (log-edit-setup-add-author): New user option.
2682 (log-edit-beginning-of-line): New command.
2683 (log-edit): Move major mode call above the contents setup so that
2684 the local variable values are already applied.
2685 (log-edit): Only insert "Author: " when
2686 `log-edit-setup-add-author' is non-nil.
2687 (log-edit): When SETUP is non-nil, position point after ": "
2688 instead of point-min.
2689
2e6710c3
GM
26902013-12-01 Glenn Morris <rgm@gnu.org>
2691
2692 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2693
fadec31f
EZ
26942013-11-30 Eli Zaretskii <eliz@gnu.org>
2695
2696 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 2697 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
2698 visible. (Bug#16014)
2699
10634b40 27002013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
2701
2702 Support resizing frames and windows pixelwise.
2703 * cus-start.el (frame-resize-pixelwise)
2704 (window-resize-pixelwise): New entries.
2705 * emacs-lisp/debug.el (debug): Use window-total-height instead
2706 of window-total-size.
2707 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2708 * help.el (describe-bindings-internal): Call help-buffer
2709 (temp-buffer-max-width): New option.
2710 (resize-temp-buffer-window, help-window-setup)
2711 (with-help-window): Rewrite.
2712 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2713 dragging dividers.
2714 * window.el (frame-char-size, window-min-pixel-height)
2715 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2716 (window-min-pixel-width, window-safe-min-pixel-size)
2717 (window-combination-p, window-safe-min-size)
2718 (window-resizable-p, window--size-to-pixel)
2719 (window--pixel-to-size, window--resize-apply-p): New functions.
2720 (window-safe-min-height): Fix doc-string.
2721 (window-size, window-min-size, window--min-size-1)
2722 (window-sizable, window-sizable-p, window--min-delta-1)
2723 (window-min-delta, window--max-delta-1, window-max-delta)
2724 (window--resizable, window--resizable-p, window-resizable)
2725 (window-full-height-p, window-full-width-p, window-at-side-p)
2726 (window--in-direction-2, window-in-direction)
2727 (window--resize-reset-1, window--resize-mini-window)
2728 (window-resize, window-resize-no-error)
2729 (window--resize-child-windows-normal)
2730 (window--resize-child-windows, window--resize-siblings)
2731 (window--resize-this-window, window--resize-root-window)
2732 (window--resize-root-window-vertically)
2733 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2734 (maximize-window, minimize-window, delete-window)
2735 (quit-restore-window, window-split-min-size, split-window)
2736 (balance-windows-2, balance-windows)
2737 (balance-windows-area-adjust, balance-windows-area)
2738 (window--state-get-1, window-state-get, window--state-put-1)
2739 (window--state-put-2, window-state-put)
fb651d15
SM
2740 (display-buffer-record-window, window--display-buffer):
2741 Make functions handle pixelwise sizing of windows.
880e6158 2742 (display-buffer--action-function-custom-type)
fb651d15
SM
2743 (display-buffer-fallback-action):
2744 Add display-buffer-in-previous-window.
880e6158
MR
2745 (display-buffer-use-some-window): Resize window to height it had
2746 before.
2747 (fit-window-to-buffer-horizontally): New option.
2748 (fit-frame-to-buffer): Describe new values.
2749 (fit-frame-to-buffer-bottom-margin): Replace with
2750 fit-frame-to-buffer-margins.
2751 (window--sanitize-margin): New function.
2752 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2753 using window-text-pixel-size.
2754
f9b697dd
GM
27552013-11-30 Glenn Morris <rgm@gnu.org>
2756
3e2fb4db
GM
2757 * emacs-lisp/bytecomp.el (byte-compile-form):
2758 Make the `interactive-only' warning like the `obsolete' one.
2759 * comint.el (comint-run):
2760 * files.el (insert-file-literally, insert-file):
2761 * replace.el (replace-string, replace-regexp):
2762 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2763 (goto-line, insert-buffer, next-line, previous-line):
2764 Tweak `interactive-only' spec.
2765
f9b697dd
GM
2766 Stop keeping (most) generated cedet grammar files in the repository.
2767 * Makefile.in (semantic): New.
2768 (compile-main): Depend on semantic.
2769
da048127
SM
27702013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2771
7784b779
SM
2772 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2773 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2774
4e36a6a6
SM
2775 * uniquify.el (uniquify-buffer-name-style): Change default.
2776
2777 * loadup.el: Preload "uniquify".
2778
e0ba1308
SM
2779 * time.el (display-time-update): Update all mode lines (bug#15999).
2780
da048127
SM
2781 * electric.el (electric-indent-mode): Enable by default.
2782 * loadup.el: Preload "electric".
2783
015b3b3e
BB
27842013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2785
2786 * emacs-lisp/helpers.el (string-empty-p): New function.
2787 (string-blank-p): New function.
2788
7efb806d
AP
27892013-11-29 Andreas Politz <politza@hochschule-trier.de>
2790
2791 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2792 (Bug#14029).
2793
c8f0efc2
AP
27942013-11-29 Andreas Politz <politza@fh-trier.de>
2795 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2796 allow non-lambda lists as functions.
2797 (imenu--in-alist): Don't recurse into non-subalists.
2798 (imenu): Don't pass function itself as an argument (Bug#14029).
2799
bd15d9d1
SM
28002013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2801
2802 * progmodes/python.el (python-mode-map): Remove binding for ":".
2803 (python-indent-electric-colon): Remove command.
2804 (python-indent-post-self-insert-function): Integrate the previous code
2805 of python-indent-electric-colon. Make it conditional on
2806 electric-indent-mode.
2807 (python-mode): Add ?: to electric-indent-chars.
2808 Move python-indent-post-self-insert-function to the end of
2809 post-self-insert-hook.
2810
1b10adb6
SM
28112013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2812
655ab9a3
SM
2813 * doc-view.el (doc-view-goto-page): Update mode-line.
2814
1b10adb6
SM
2815 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2816
7e3bf78c
GM
28172013-11-27 Glenn Morris <rgm@gnu.org>
2818
2819 * international/charprop.el, international/uni-bidi.el:
2820 * international/uni-category.el, international/uni-combining.el:
2821 * international/uni-comment.el, international/uni-decimal.el:
2822 * international/uni-decomposition.el, international/uni-digit.el:
2823 * international/uni-lowercase.el, international/uni-mirrored.el:
2824 * international/uni-name.el, international/uni-numeric.el:
2825 * international/uni-old-name.el, international/uni-titlecase.el:
2826 * international/uni-uppercase.el:
2827 Remove generated files from VCS repository.
2828
fb6a5d68
EZ
28292013-11-27 Eli Zaretskii <eliz@gnu.org>
2830
2831 * filenotify.el (file-notify-add-watch): Don't special-case
2832 w32notify when computing the directory to watch.
2833
cb6c95a3
GM
28342013-11-27 Glenn Morris <rgm@gnu.org>
2835
20372d0c
GM
2836 Make bootstrap without generated uni-*.el files possible again.
2837 * loadup.el: Update command-line-args checking for unidata-gen.
2838 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2839 * composite.el, international/characters.el:
2840 Handle unicode tables being undefined.
2841
52d6635f 2842 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
2843 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2844 (compile-main): Depend on leim rule.
2845 (leim): New rule.
2846 * loadup.el: Move leim-list.el to leim/ subdirectory.
2847 * startup.el (normal-top-level): No more leim directory.
2848 * international/ja-dic-cnv.el (skkdic-convert):
2849 Disable version-control and autoloads in output files.
2850 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2851 Disable version-control and autoloads in output files.
2852 * leim/quail: Move here from ../leim.
2853 * leim/quail/hangul.el (hangul-input-method-activate):
2854 Add autoload cookie.
2855 (generated-autoload-load-name): Set file-local value.
2856 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2857 (generated-autoload-load-name): Set file-local value.
2858
7514d3f8 28592013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 2860
e0eb0550 2861 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 2862 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 2863 (eww-quit): Ask confirmation before quitting eww.
e47112ee 2864
0e2c793f
EZ
28652013-11-26 Eli Zaretskii <eliz@gnu.org>
2866
2867 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2868 reading output from Diff on MS-Windows and MS-DOS.
2869
447bdcb8
BB
28702013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2871
2872 * emacs-lisp/helpers.el (string-reverse): New function.
2873
5fbf6856
MA
28742013-11-26 Michael Albinus <michael.albinus@gmx.de>
2875
2876 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2877 names on MS Windows, like "/[::1]:".
2878
2879 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2880 SWITCHES.
2881
624780f0
GM
28822013-11-26 Glenn Morris <rgm@gnu.org>
2883
0bf3f0fa
GM
2884 * progmodes/python.el (python-indent-guess-indent-offset):
2885 Avoid corner-case error. (Bug#15975)
2886
624780f0
GM
2887 Preload leim-list.el. (Bug#4789)
2888 * loadup.el: Load leim-list.el when found.
2889 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2890
4301875e 28912013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
2892
2893 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2894
4301875e
BB
2895 * emacs-lisp/helpers.el (string-join): New function.
2896
1633a815 28972013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
2898
2899 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2900 Mark as obsolete and replace it with a symbol property.
2901 (byte-compile-form): Use new 'interactive-only property.
2902 * comint.el, files.el, replace.el, simple.el:
2903 Apply new 'interactive-only properly.
2904
00139435
MR
29052013-11-25 Martin Rudalics <rudalics@gmx.at>
2906
2907 * window.el (display-buffer-at-bottom): Make sure that
2908 split-window-sensibly creates the new window on bottom
2909 (Bug#15961).
2910
5f5b128d
DK
29112013-11-23 David Kastrup <dak@gnu.org>
2912
2913 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2914 on the conflict markers when available.
2915 (smerge--get-marker): New function.
2916 (smerge-end-re, smerge-base-re): Add subgroup.
2917
623891e5
SM
29182013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2919
2920 * frame.el (handle-focus-in, handle-focus-out): Add missing
2921 interactive spec.
2922
05ca27d8
MA
29232013-11-25 Michael Albinus <michael.albinus@gmx.de>
2924
2925 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2926 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2927
511fa0d3
SM
29282013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2929
e82ad66c
SM
2930 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2931 (gomoku--last-pos): New var.
2932 (gomoku--intangible-chars): New const.
2933 (gomoku--intangible): New function.
2934 (gomoku-mode): Use it. Derive from special-mode.
2935 (gomoku-move-up): Adjust line count.
2936 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2937 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2938 Simplify accordingly.
2939
511fa0d3
SM
2940 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2941 Remove blink-cursor code.
2942 (blink-cursor-timer-function, blink-cursor-suspend):
2943 Don't special-case GUIs.
2944 (blink-cursor-mode): Use focus-in/out-hook.
2945
6f20dd03
DG
29462013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2947
2948 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2949 work when annotation is invisible (Bug#13886).
2950
431dec31 29512013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
2952
2953 * json.el (json-alist-p): Only return non-nil if the alist has
2954 simple keys (Bug#13518).
2955
431dec31 29562013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
2957
2958 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2959 when control-statement is the first statement in a buffer (Bug#15956).
2960
ee4f0261
DG
29612013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2962
2963 * imenu.el (imenu-generic-skip-comments-and-strings):
2964 New option (Bug#15560).
2965 (imenu--generic-function): Use it.
2966
c484f866
JS
29672013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2968
e9dc713d
JB
2969 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2970 (Bug#13898)
c484f866 2971
41ce6f70
BB
29722013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2973
b55aea38
BB
2974 * emacs-lisp/helpers.el: Add some string helpers.
2975 (string-trim-left): Removes leading whitespace.
2976 (string-trim-right): Removes trailing whitespace.
2977 (string-trim): Removes leading and trailing whitespace.
2978
41ce6f70
BB
2979 * subr.el (string-suffix-p): New function.
2980
3cfb6af3
GM
29812013-11-23 Glenn Morris <rgm@gnu.org>
2982
2983 * progmodes/python.el (python-shell-send-file):
2984 Add option to delete file when done. (Bug#15647)
2985 (python-shell-send-string, python-shell-send-region): Use it.
2986
c27924b7
IS
29872013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2988
e1b01c7f
IS
2989 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2990 to set buffer-read-only to t, never to nil. (Bug#15938)
2991
c27924b7
IS
2992 * textmodes/tex-mode.el (latex-noindent-environments):
2993 Add safe-local-variable property. (Bug#15936)
2994
17e0445b
GM
29952013-11-23 Glenn Morris <rgm@gnu.org>
2996
92f78ea3
GM
2997 * textmodes/enriched.el (enriched-mode): Doc fix.
2998 * emacs-lisp/authors.el (authors-renamed-files-alist):
2999 Add enriched.doc -> enriched.txt.
3000
17e0445b
GM
3001 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3002
965bb23a
LL
30032013-11-22 Leo Liu <sdl.web@gmail.com>
3004
3005 * progmodes/octave.el (inferior-octave-startup): Spit out error
3006 message.
3007
d19ffd64
BB
30082013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3009
3010 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3011 Improve docstring.
15ba2182
BB
3012 Add :version.
3013 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 3014
7a7567d2
LL
30152013-11-22 Leo Liu <sdl.web@gmail.com>
3016
3017 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3018 (Bug#15076)
8c09f64b
LL
3019 (octave-help-mode): Adapt to change to help-mode-finish to use
3020 derived-mode-p on 2013-09-17.
3021 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 3022 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 3023
724bc265
LL
30242013-11-22 Leo Liu <sdl.web@gmail.com>
3025
3026 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3027 (inferior-octave-startup, inferior-octave-check-process)
3028 (inferior-octave-track-window-width-change)
3029 (octave-completion-at-point, octave-eldoc-function): Use it.
3030 (octave-kill-process): Provide confirmation. (Bug#10564)
3031
38637cca
LL
30322013-11-21 Leo Liu <sdl.web@gmail.com>
3033
511fa0d3
SM
3034 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3035 Fix obsolete variable comment-use-global-state.
38637cca 3036
06e752b4
RS
30372013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3038
511fa0d3
SM
3039 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3040 Add `octave-source-file'.
06e752b4
RS
3041 (octave-source-file): New function. (Bug#15935)
3042
7514d3f8 30432013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
3044
3045 * net/eww.el (eww-local-regex): New variable.
3046 (eww): Use it to detect localhost and similar.
3047
b6ffa04a
LL
30482013-11-21 Leo Liu <sdl.web@gmail.com>
3049
3050 Add completion for command `ag'.
2021a200
LL
3051 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3052 (pcomplete/ag): New function.
e9dc713d 3053 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 3054
d1a6bccc
SM
30552013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3056
3057 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3058 (bug#14646).
3059 (make-obsolete): Remove interactive spec.
3060
2df10228
GM
30612013-11-21 Glenn Morris <rgm@gnu.org>
3062
3063 * startup.el (command-line-1): Use path-separator with -L.
3064
86fd16b6
TZ
30652013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3066
3067 * emacs-lisp/package.el (describe-package-1): Add package archive
3068 to shown fields.
3069
0449d6cd 30702013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
3071
3072 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3073 Change default to "# encoding: %s" to differentiate it from the
3074 default Ruby encoding comment template.
3075
dc7e8c17 30762013-11-20 era eriksson <era+emacsbugs@iki.fi>
3077
3078 * ses.el (ses-mode): Doc fix. (Bug#14748)
3079
f0cfa5fe
LL
30802013-11-20 Leo Liu <sdl.web@gmail.com>
3081
3082 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3083
826dc7b6
DN
30842013-11-19 Dan Nicolaescu <dann@gnu.org>
3085
3086 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3087 when rebase or bisect are in progress.
3088
a6e3a5d5
XF
30892013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3090
3091 * filenotify.el (file-notify-add-watch): Doc fix.
3092
f130cb76
LL
30932013-11-19 Leo Liu <sdl.web@gmail.com>
3094
e0855d7d
LL
3095 * obsolete/rcompile.el: Mark obsolete.
3096
f130cb76 3097 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
3098 (compilation-goto-locus, compilation-find-file):
3099 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
3100 (Bug#13594)
3101
3102 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
3103 new parameter no-display-ok. Return either a window or nil
3104 but never a non-window value.
f130cb76 3105
1f35d401
SM
31062013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3107
25158c76
SM
3108 * electric.el (electric-indent-mode-map): Remove.
3109 (electric-indent-mode): Change the global-map instead (bug#15915).
3110
3111 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3112 Use add-function.
1f35d401 3113
9bc67baa
SM
31142013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3115
986545b5
SM
3116 * emacs-lisp/nadvice.el (remove-function): Align with
3117 add-function's behavior.
3118
9bc67baa
SM
3119 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3120 (gdb--string-regexp): New constant.
3121 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3122 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3123 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3124 submatch 1.
3125 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3126 Adjust use accordingly.
3127 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3128
56cd894e
AS
31292013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3130
3131 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3132 interpolation curlies (Bug#15914).
3133
014690de
JB
31342013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3135
3136 * calc/calc.el (calc-context-sensitive-enter): New variable.
3137 (calc-enter): Use `calc-context-sensitive-enter'.
3138
7e26a6c3
TZ
31392013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3140
3141 * progmodes/cfengine.el: Version bump.
3142 (cfengine-cf-promises): New defcustom to locate cf-promises.
3143 (cfengine3-vartypes): Add new "data" type.
3144 (cfengine3--current-word): New function to get current name-like
3145 word or its bounds.
3146 (cfengine3--current-function): New function to look up a CFEngine
3147 function's definition.
3148 (cfengine3-format-function-docstring): New function.
3149 (cfengine3-make-syntax-cache): New function.
3150 (cfengine3-documentation-function): New function: ElDoc glue.
3151 (cfengine3-completion-function): New function: completion glue.
3152 (cfengine3-mode): Set `compile-command',
3153 `eldoc-documentation-function', and add to
3154 `completion-at-point-functions'.
3155
355204dd
MA
31562013-11-16 Michael Albinus <michael.albinus@gmx.de>
3157
3158 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3159 `tramp-current-connection'.
3160
43cebc23
DG
31612013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3162
3163 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3164 nil/self/true/false with "end of symbol".
3165
a3fed6ff
BB
31662013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3167
3168 * subr.el (version-regexp-alist): Fix a typo.
3169
e675b3e4
MA
31702013-11-15 Michael Albinus <michael.albinus@gmx.de>
3171
3172 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3173 "en_US.utf8" and "LC_CTYPE" to "".
3174 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3175 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3176
a1f03e89
LL
31772013-11-15 Leo Liu <sdl.web@gmail.com>
3178
3179 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3180
5d9d9451
SM
31812013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3182
58362662
CS
3183 * progmodes/gud.el (ctl-x-map):
3184 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
3185 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3186
6c1bf086
BB
31872013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3188
0d5363c4
BB
3189 * subr.el (version-regexp-alist):
3190 Recognize hg, svn and darcs versions as snapshot versions.
3191
4e9fc48c
BB
3192 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3193 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3194 (ruby--encoding-comment-required-p): Extract from
3195 `ruby-mode-set-encoding'.
3196 (ruby-mode-set-encoding): Add the ability to always insert an
3197 utf-8 encoding comment. Fix and simplify coding comment update
3198 logic.
6c1bf086 3199
2f7e72f8
MA
32002013-11-14 Michael Albinus <michael.albinus@gmx.de>
3201
3202 * net/tramp-gvfs.el (top): Run init code only when
3203 `tramp-gvfs-enabled' is not nil.
3204 (tramp-gvfs-enabled): Check also :system bus.
3205
0f137a73
SM
32062013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3207
3208 Sync with upstream verilog-mode revision 78e66ba.
3209 * progmodes/verilog-mode.el (verilog-end-of-defun)
3210 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3211 (verilog-get-end-of-defun): Remove unused argument.
3212 (verilog-comment-depth): Remove unused local `e'.
3213 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3214 Don't pass arg to verilog-get-end-of-defun.
3215
1c276bdd
GM
32162013-11-14 Glenn Morris <rgm@gnu.org>
3217
3218 * obsolete/assoc.el (aget): Prefix dynamic variable.
3219
3220 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3221
ff6ec81d
SM
32222013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3223
3224 * widget.el, hfy-cmap.el: Remove bogus package version number.
3225
75f777b6
GM
32262013-11-13 Glenn Morris <rgm@gnu.org>
3227
1d43dba1
GM
3228 * replace.el (replace-eval-replacement):
3229 Try to give more helpful error message. (Bug#15836)
3230
ff4b7bd5
GM
3231 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3232 (archive-7z-update): Avoid custom type mismatches.
3233
75f777b6
GM
3234 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3235
11151a06
MA
32362013-11-13 Michael Albinus <michael.albinus@gmx.de>
3237
e675b3e4 3238 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
3239 address can be empty.
3240
3241 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3242 Accept nil SWITCHES.
3243 (tramp-gvfs-handle-write-region): Implement APPEND.
3244
7b08f97e
DG
32452013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3246
3247 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
3248 binary "|" operator and closing block args delimiter.
3249 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
3250 (ruby-smie--implicit-semi-p): Not after "|" operator.
3251 (ruby-smie--closing-pipe-p): New function.
3252 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3253 (ruby-smie-rules): Indent after "|".
3254
f201cf3a
GM
32552013-11-12 Glenn Morris <rgm@gnu.org>
3256
3257 * ps-print.el (ps-face-attribute-list):
3258 Handle anonymous faces. (Bug#15827)
3259
e6f759f9
MR
32602013-11-12 Martin Rudalics <rudalics@gmx.at>
3261
3262 * window.el (display-buffer-other-frame): Fix doc-string.
3263 (Bug#15868)
3264
ecda65d4
SM
32652013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3266
3267 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3268
7ce8fcc3
MA
32692013-11-11 Michael Albinus <michael.albinus@gmx.de>
3270
3271 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3272 (tramp-sh-handle-file-local-copy): Don't write a message when
3273 saving temporary files.
3274
3275 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3276 both directories are remote.
3277 (tramp-smb-handle-directory-files): Do not return double entries.
3278 Do not expand full file names.
3279 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3280 (tramp-smb-handle-write-region): Implement APPEND.
3281 (tramp-smb-get-stat-capability): Fix a stupid bug.
3282
7818df11
SM
32832013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3284
3285 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3286
608c2085
NT
32872013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3288
3289 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3290 throwing error over malformed let/let* (bug#15814).
3291
122a7e46
SM
32922013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3293
3294 * iswitchb.el (iswitchb-mode): Mark obsolete.
3295
766284d9
GM
32962013-11-11 Glenn Morris <rgm@gnu.org>
3297
3298 * international/uni-bidi.el, international/uni-category.el:
3299 * international/uni-name.el, international/uni-numeric.el:
3300 Regenerate for Unicode 6.3.0.
3301
7072a4e9
MA
33022013-11-10 Michael Albinus <michael.albinus@gmx.de>
3303
3304 * net/tramp.el (tramp-methods):
3305 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3306 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3307
c9df215b
AS
33082013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3309
608c2085
NT
3310 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3311 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 3312
fa47d796
DG
33132013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3314
3315 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 3316 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
3317 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3318 (ispell-complete-word): Call `ispell-lookup-words' with the value
3319 independent of `ispell-look-p'.
3320
1629a329
DG
33212013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3322
3323 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3324 Not after "||".
3325 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3326 their parent.
3327
ad16897c
SM
33282013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3329
3330 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3331 (ruby-font-lock-keywords): Use backquote.
3332
ffa2df72
DG
33332013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3334
3335 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3336 (ruby-smie--backward-token): Only consider full-string matches.
3337
5b97b4c0
JD
33382013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3339
3340 * faces.el (describe-face): Add distant-foreground.
3341
71731c03
BB
33422013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3343
4e9fc48c
BB
3344 * progmodes/ruby-mode.el: Improve encoding comment handling.
3345 (ruby-encoding-magic-comment-style): New option.
3346 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
3347 (ruby--insert-coding-comment, ruby--detect-encoding):
3348 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
3349 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3350 to control the style of the auto-inserted encoding comment.
71731c03 3351
da3b328d
DG
33522013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3353
ad16897c
SM
3354 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3355 Use `smie-backward-sexp' with token argument.
da3b328d 3356
1606c2d3
MA
33572013-11-08 Michael Albinus <michael.albinus@gmx.de>
3358
3359 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3360 Remove instrumentation code.
3361
b0f4c320
GM
33622013-11-08 Glenn Morris <rgm@gnu.org>
3363
3364 * progmodes/autoconf.el (autoconf-mode):
3365 Tweak comment-start-skip. (Bug#15822)
3366
43668fb1
SM
33672013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3368
3369 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3370 at bobp (bug#15826).
3371 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3372
daddb3fd
DH
33732013-11-08 Darren Hoo <darren.hoo@gmail.com>
3374
3375 * man.el (Man-start-calling): New macro, extracted from
3376 Man-getpage-in-background.
3377 (Man-getpage-in-background): Use it.
3378 (Man-update-manpage): New command.
3379 (Man-mode-map): Bind it.
3380
1f923923
DG
33812013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3382
3383 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3384 of "and", "or", "&&" and "||".
3385 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3386 argument. Prohibit opening curly brace because it could only be a
3387 block opener in that position.
daddb3fd
DH
3388 (ruby-smie--forward-token, ruby-smie--backward-token):
3389 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
3390 arguments.
3391 (ruby-smie--indent-to-stmt): New function, seeks the end of
3392 previous statement or beginning of buffer.
3393 (ruby-smie-rules): Use it.
3394 (ruby-smie-rules): Check if there's a ":" before a curly block
3395 opener candidate; if there is, it's a hash.
3396
3220d527
SM
33972013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3398
3399 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3400 (cl--block-wrapper): Fix last accidental change.
3401
1eb1f9e0
MA
34022013-11-07 Michael Albinus <michael.albinus@gmx.de>
3403
3404 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3405 Instrument, in order to hunt failure on hydra.
3406
e6e4db3c
NT
34072013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3408
3409 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3410 malformed bindings form (bug#15814).
3411
b420ccfc
DG
34122013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3413
3414 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
3415 "." compared to " @ ". This incidentally fixes some indentation
3416 examples with "do".
e6e4db3c 3417 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
3418 (ruby-smie-grammar): New tokens: "and" and "or".
3419 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3420 Exclude "and" and "or". Remove "do" in order to work around token
3421 priorities.
3422 (ruby-smie-rules): Add all infix tokens. Handle the case of
3423 beginning-of-buffer.
b420ccfc 3424
6b4ac03e
GM
34252013-11-06 Glenn Morris <rgm@gnu.org>
3426
3427 * Makefile.in (setwins_almost, setwins_for_subdirs):
3428 Avoid accidental matches.
3429
5ca114d1
SM
34302013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3431
3432 * menu-bar.el (popup-menu): Use key-binding.
3433
f72552bd
EZ
34342013-11-06 Eli Zaretskii <eliz@gnu.org>
3435
3436 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3437 menus, support also the menus produced by minor modes.
3438 (Bug#15817)
3439
5d5c701e
LL
34402013-11-06 Leo Liu <sdl.web@gmail.com>
3441
3442 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 3443 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 3444
0a8b75e2
GM
34452013-11-06 Glenn Morris <rgm@gnu.org>
3446
3447 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
3448 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3449 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 3450
a35287ea
SM
34512013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3452
feca4e2d
SM
3453 * electric.el (electric-indent-just-newline): New command.
3454 (electric-indent-mode-map): New keymap.
3455 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3456 Re-add :group which weren't redundant.
3457
a35287ea
SM
3458 * electric.el (electric-indent-local-mode): New minor mode.
3459 (electric-indent-functions-without-reindent): New var.
3460 (electric-indent-post-self-insert-function): Use it.
3461 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3462
375761b2
EZ
34632013-11-05 Eli Zaretskii <eliz@gnu.org>
3464
9a6ad735
EZ
3465 * international/quail.el (quail-help): Be more explicit about the
3466 meaning of the labels shown on the keys. (Bug#15800)
3467
375761b2
EZ
3468 * startup.el (normal-top-level): Load the subdirs.el files before
3469 setting the locale environment. (Bug#15805)
3470
520a6e4a
SM
34712013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3472
0acfafef
SM
3473 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3474 via arguments so as to get the right ones (bug#15418).
3475
520a6e4a
SM
3476 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3477
15826261
MA
34782013-11-05 Michael Albinus <michael.albinus@gmx.de>
3479
3480 Fix problems found while writing a test suite.
3481
3482 * net/tramp-compat.el (tramp-compat-load): New defun.
3483 * net/tramp.el (tramp-handle-load): Use it.
3484
3485 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3486 "(numberp ok-if-already-exists)" correctly.
3487
d35f31a4
XF
34882013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3489
3490 * international/characters.el (glyphless-char-display-control):
3491 Add usage note.
3492
ae93bc74
BB
34932013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3494
520a6e4a
SM
3495 * progmodes/python.el (python-mode):
3496 * progmodes/scheme.el (scheme-mode):
3497 * progmodes/prolog.el (prolog-mode):
3498 * progmodes/ruby-mode.el (ruby-mode):
3499 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3500 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 3501
0ade65b5
SM
35022013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3503
a0d5f7a4
SM
3504 * rect.el (rectangle--highlight-for-redisplay):
3505 * emacs-lisp/smie.el (smie--next-indent-change):
3506 Use buffer-chars-modified-tick.
3507
c93f3f5c
SM
3508 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3509
0ade65b5
SM
3510 * electric.el (electric-indent-post-self-insert-function):
3511 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3512
ef9dd188
HE
35132013-11-04 Helmut Eller <eller.helmut@gmail.com>
3514
3515 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3516
306e7308
NT
35172013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3518
3519 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3520 (bug#15786).
3521
e5afbcac
SM
35222013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3523
1d01ad41
SM
3524 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3525
e5afbcac
SM
3526 * progmodes/python.el: Fix up last change.
3527 (python-shell--save-temp-file): New function.
3528 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3529 `string' comes from the current buffer.
3530 (python-shell-send-string-no-output): Remove `msg' arg.
3531 (python--use-fake-loc): New var.
3532 (python-shell-buffer-substring): Obey it. Try to compensate for the
3533 extra coding line added by python-shell--save-temp-file.
3534 (python-shell-send-region): Use python-shell--save-temp-file and
3535 python-shell-send-file directly. Add `nomain' argument.
3536 (python-shell-send-buffer): Use python-shell-send-region.
3537 (python-electric-pair-string-delimiter): New function.
3538 (python-mode): Use it.
3539
d0065ff1
EZ
35402013-11-04 Eli Zaretskii <eliz@gnu.org>
3541
3542 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3543 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3544 environment and decoding all of the default-directory's to here
3545 from command-line.
3546 (command-line): Decode also argv[0].
3547
3548 * loadup.el: Error out if default-directory is a multibyte string
3549 when we are dumping.
3550
3551 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3552
7397c587
TZ
35532013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3554
3555 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
3556 (package-menu--print-info, package-menu--archive-predicate):
3557 Add Archive column to package list.
7397c587 3558
b27cc9fc
MA
35592013-11-04 Michael Albinus <michael.albinus@gmx.de>
3560
3561 Fix problems found while writing a test suite.
3562
3563 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3564 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3565 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3566 to nil when running original file name handler. Otherwise,
3567 there are problems with constructs like "$$FOO".
3568
3569 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3570 for `localname'.
3571
d8c4f18a
BB
35722013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3573
7b530552
BB
3574 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3575
3576 * subr.el (version<, version<=, version=):
3577 Update docstrings with information for snapshot versions.
3578
d8c4f18a
BB
3579 * helpers.el: New library for misc helper functions.
3580 (hash-table-keys): New function returning a list of hash keys.
3581 (hash-table-values): New function returning a list of hash values.
3582
dca01b09
DG
35832013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3584
3585 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3586 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3587
0a749fa0
MN
35882013-11-04 Michal Nazarewicz <mina86@mina86.com>
3589
3590 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3591 checking whether point is after a 1-letter word.
3592
35932013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
3594
3595 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3596 Don't infloop when expanding region over `multiline' syntax-type that
3597 begins a line (bug#15778).
3598
4aca7145
SM
35992013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3600
3601 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3602 Make it into a proper minor mode.
3603 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3604 (rectangle-mark-mode-map): New keymap.
3605 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3606
a0833f62
GM
36072013-11-04 Glenn Morris <rgm@gnu.org>
3608
3609 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3610
e61845c1
SM
36112013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3612
3613 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3614 (ruby-smie-rules): Use smie-rule-parent instead.
3615
3616 * emacs-lisp/smie.el (smie-rule-parent): Always call
3617 smie-indent-virtual rather than only for hanging tokens.
3618 (smie--next-indent-change): New helper command.
3619
62942f89
GM
36202013-11-03 Glenn Morris <rgm@gnu.org>
3621
3622 * Makefile.in (abs_srcdir): Remove.
3623 (emacs): Unset EMACSLOADPATH.
3624
b0b9e592
GM
36252013-11-02 Glenn Morris <rgm@gnu.org>
3626
18ba6a33 3627 * Makefile.in (EMACS): Use a relative filename.
8061810d 3628 (abs_top_builddir): Remove.
18ba6a33
GM
3629 (custom-deps, finder-data, autoloads): Use --chdir.
3630
6a8b929e
GM
3631 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3632
c617f3d0
GM
3633 Use relative filenames in TAGS files.
3634 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3635 (lisptagsfiles4, TAGS): Use relative file names.
3636 (TAGS-LISP): Remove.
3637 (maintainer-clean): No more TAGS-LISP file.
3638
b0b9e592
GM
3639 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3640 (lisptagsfiles4): Use absolute filenames again.
3641 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3642 Remove all *loaddefs files, not just the first. Remove esh-groups.
3643 (maintainer-clean): Delete TAGS, TAGS-LISP.
3644
d1c0ea6a
BB
36452013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3646
e61845c1
SM
3647 * emacs-lisp/package.el (package-version-join):
3648 Recognize snapshot versions.
d1c0ea6a 3649
684d71c6
BB
36502013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3651
3652 * subr.el (version-regexp-alist): Add support for snapshot versions.
3653
3d42b968
DG
36542013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3655
e61845c1
SM
3656 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3657 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
3658 skip over our direct parent if it's an assignment token..
3659 (ruby-smie-rules): Use it.
3660
7ffd3721
DG
36612013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3662
8449dd1f 3663 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
3664 unconditionally. Remove now unnecessary forward declarations.
3665 Remove XEmacs-specific setup.
3666 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3667 (ruby-font-lock-syntactic-keywords)
3668 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3669 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3670 (ruby-here-doc-end-syntax): Remove.
3671 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3672 defined as function.
3673
a3996a2e
BB
36742013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3675
3676 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3677
6f9260e8
BB
36782013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3679
3680 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3681 table and abbrev table, `define-derived-mode' does that for us
3682 anyway.
3683
6014de84
GM
36842013-11-01 Glenn Morris <rgm@gnu.org>
3685
3686 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3687 files is atomic for some time, so no parallel compilation issues).
3688
3c334c14
JD
36892013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3690
3691 * faces.el (face-x-resources): Add :distant-foreground.
3692 (region): Use :distant-foreground for gtk and ns.
3693
9bc236c8
TH
36942013-11-01 Tassilo Horn <tsdh@gnu.org>
3695
5246583b 3696 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
3697 BibTeX.
3698 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3699 (reftex-locate-bibliography-files): Us it.
3700
d14c81ee
CB
37012013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3702
0e7690de
CB
3703 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3704 allow comments in pbm files.
3705
d14c81ee
CB
3706 * term/w32-win.el (dynamic-library-alist): Support newer versions
3707 of libjpeg starting with v7: look only for the DLL from the
3708 version against which Emacs was built.
ac1bf374 3709 Support versions of libpng beyond 1.4.x.
019c8218 3710 Support libtiff v4.x.
d14c81ee 3711
983d0df5
BB
37122013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3713
3714 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3715 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3716 Add property :safe.
3717 (ruby-deep-arglist): Add property :type.
3718
47f58d85
GM
37192013-10-31 Glenn Morris <rgm@gnu.org>
3720
3721 * Makefile.in (custom-deps, finder-data): No need to setq the target
3722 variables, we are in the right directory and the defaults work fine.
3723
4f85b479
GM
37242013-10-30 Glenn Morris <rgm@gnu.org>
3725
ca7dd4cd
GM
3726 * Makefile.in (autoloads): Do not use abs_lisp.
3727
4f85b479
GM
3728 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3729 `newline' does not respect `standard-output', so use `princ'.
3730
cf59e41c
AA
37312013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3732
3733 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3734 * buff-menu.el (Buffer-menu--unmark): New function.
3735 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3736
74cf04fb
GM
37372013-10-30 Glenn Morris <rgm@gnu.org>
3738
b040b60e
GM
3739 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3740
f53d3815
GM
3741 * emacs-lisp/package.el (lm-homepage): Declare.
3742
5413d873
GM
3743 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3744 Fix doc typos.
3745
cecedb36
GM
3746 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3747
74cf04fb
GM
3748 * Makefile.in (finder-data, autoloads, update-subdirs)
3749 (compile-main, compile-clean, compile-always, bootstrap-clean):
3750 Check return value of cd.
3751 (compile-calc): Remove.
3752
195ee2f0
SM
37532013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3754
ae4002ce
SM
3755 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3756
3757 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3758 (byte-compile-and-folded): New function.
3759 (=, <, >, <=, >=): Use it.
3760
3761 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3762 (path-separator, null-device, buffer-file-coding-system)
3763 (lpr-headers-switches): Check system-type before modifying them.
3764 (find-buffer-file-type-coding-system): Mark obsolete.
3765 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3766 find-file-not-found-set-buffer-file-coding-system.
3767 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3768 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3769 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3770 (w32-direct-print-region-helper, w32-direct-print-region-function)
3771 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3772 * startup.el (normal-top-level-add-subdirs-to-load-path):
3773 * ps-print.el (ps-print-region-function):
3774 * lpr.el (print-region-function): Use new name.
3775
53b39e89
SM
3776 * subr.el (custom-declare-variable-early): Remove function.
3777 (custom-declare-variable-list): Remove var.
3778 (error, user-error): Remove `while' loop.
3779 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3780 (user-emacs-directory-warning, locate-user-emacs-file):
3781 Move to files.el.
3782 * simple.el (read-quoted-char-radix, read-quoted-char):
3783 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3784 Move from subr.el.
3785 * custom.el (custom-declare-variable-list): Don't process
3786 custom-declare-variable-list.
3787
195ee2f0
SM
3788 * progmodes/python.el (python-shell-get-buffer): New function.
3789 (python-shell-get-process): Use it.
3790 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3791 Python which encoding was used. Don't split-string since we only care
3792 about the first line. Return the temp-file, if applicable.
3793 (python-shell-send-region): Tell compile.el how to turn locations in
3794 the temp-file into locations in the source buffer.
3795
7e3561ee
SM
37962013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3797
4c9797cb
SM
3798 * subr.el (undefined): Add missing behavior from the C code for
3799 unbound keys.
3800
3472b6c6
SM
3801 * rect.el: Use lexical-binding. Add new rectangular region support.
3802 (rectangle-mark): New command.
3803 (rectangle--region): New var.
3804 (deactivate-mark-hook): Reset rectangle--region.
3805 (rectangle--extract-region, rectangle--insert-for-yank)
3806 (rectangle--highlight-for-redisplay)
3807 (rectangle--unhighlight-for-redisplay): New functions.
3808 (region-extract-function, redisplay-unhighlight-region-function)
3809 (redisplay-highlight-region-function): Use them to handle
3810 rectangular region.
3811 * simple.el (region-extract-function): New var.
3812 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3813 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3814 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3815 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3816 (redisplay-unhighlight-region-function)
3817 (redisplay-highlight-region-function): New vars.
3818 (redisplay--update-region-highlight): New function.
3819 (pre-redisplay-function): Use it.
3820 (exchange-point-and-mark): Don't deactivate the mark before
3821 reactivate-it anyway.
3822 * comint.el (comint-kill-region): Remove yank-handler argument.
3823 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3824 (delete-char): Remove property, since it's now part of their
3825 default behavior.
3826 (self-insert-iso): Remove property since this command doesn't exist.
3827
7e3561ee
SM
3828 * emacs-lisp/package.el (package--download-one-archive)
3829 (describe-package-1): Don't query the user about final newline.
3830
b9bef71f
DC
38312013-10-29 Daniel Colascione <dancol@dancol.org>
3832
3833 * net/tramp.el (tramp-methods): Document new functionality.
3834 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3835 tramp-hostname-checker if method provides one instead of scanning
3836 argument list for "%h" to decide hostname acceptability.
3837
4efc33f0
MA
38382013-10-28 Michael Albinus <michael.albinus@gmx.de>
3839
3840 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3841 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3842 Handle COPY-CONTENTS. (Bug#15737)
3843
ed42a877
DU
38442013-10-28 Daiki Ueno <ueno@gnu.org>
3845
3846 * epa-file.el
7e3561ee
SM
3847 (epa-file-cache-passphrase-for-symmetric-encryption):
3848 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 3849
18c9f8a2
XF
38502013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3851
7a4bc7be
XF
3852 * image.el (defimage):
3853 (image-load-path): Doc fixes.
18c9f8a2 3854
b1e8e010
AM
38552013-10-27 Alan Mackenzie <acm@muc.de>
3856
3857 Indent statements in macros following "##" correctly.
7e3561ee
SM
3858 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3859 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 3860
73d40d1e 38612013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
3862
3863 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3864
c8c605ac
DG
38652013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3866
3867 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3868 after `=' is probably a new expression.
3869
ca7e59d4
RS
38702013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3871
3872 * man.el (man-imenu-title): New option.
3873 (Man-mode-map): Add menu. (Bug#15722)
3874 (Man-mode): Add imenu to menu.
3875
bae91342
DG
38762013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3877
3878 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3879 specific in what the first arg can be: a non-keyword word,
3880 string/regexp/percent literal opener, opening paren, or unary
3881 operator followed directly by word.
3882
eb89dc14
SM
38832013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3884
3885 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3886 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3887 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3888 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3889 Remove vars, they do not apply any more.
3890 (prolog-mode-abbrev-table): Remove redundant declaration.
3891 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3892 (prolog-use-smie): Remove.
3893 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3894 supported by prolog-electric-if-then-else-flag.
3895 (prolog-mode-variables, prolog-menu): Use setq-local.
3896 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3897 Remove binding to `Backspace' since this key doesn't exist anyway.
3898 Remove bindings for electric self-inserting keys.
3899 (prog-mode): Assume it's defined.
3900 (prolog-post-self-insert): New function.
3901 (prolog-mode): Use it.
3902 (prolog-indent-line, prolog-indent-level)
3903 (prolog-find-indent-of-matching-paren)
3904 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3905 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3906 (prolog-goto-next-paren, prolog-in-string-or-comment)
3907 (prolog-tokenize, prolog-inside-mline-comment)
3908 (prolog-find-start-of-mline-comment): Remove functions.
3909 (prolog-find-unmatched-paren, prolog-clause-end)
3910 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3911 (prolog-electric--if-then-else): Rename from
3912 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3913 (prolog-tokenize-searchkey): Remove const.
3914 (prolog-clause-info): Use forward-sexp.
3915 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3916 (prolog-electric-if-then-else): Remove commands.
3917 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3918 for use in post-self-insert-hook.
3919 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3920 for use in post-self-insert-hook.
3921 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3922 for use in post-self-insert-hook.
3923 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3924 adapt it for use in post-self-insert-hook.
3925
3dab0a83
MA
39262013-10-25 Michael Albinus <michael.albinus@gmx.de>
3927
3928 * emacs-lisp/ert.el (ert-run-tests-interactively):
3929 Use `completing-read'. (Bug#9756)
3930
fbfd0e1d
EZ
39312013-10-25 Eli Zaretskii <eliz@gnu.org>
3932
3933 * simple.el (line-move): Call line-move-1 instead of
3934 line-move-visual when the current window hscroll is zero, but
3935 temporary-goal-column indicates we will need to hscroll as result
3936 of the movement. (Bug#15712)
3937
963ce636
DG
39382013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3939
3940 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
3941 capitalization. Use :visible instead of :active.
3942 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
3943 commands that are used with SMIE.
3944 (ruby-do-end-to-brace): Insert space after `{'.
3945
a0be396a
JA
39462013-10-25 John Anthony <john@jo.hnanthony.com>
3947
f73754c9
JA
3948 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3949
3950 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 3951
f5bf77df
GM
39522013-10-25 Glenn Morris <rgm@gnu.org>
3953
3954 * vc/vc.el (vc-print-log): Don't use a working revision unless
3955 one was explicitly specified. (Bug#15322)
3956
37241f62
SM
39572013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3958
3959 * subr.el (add-to-list): Preserve return value in compiler-macro
3960 (bug#15692).
3961
6408a65d
RS
39622013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3963
3964 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3965 result. Ask user to retry using '-all' flag. (Bug#15701)
3966
71e3276b
SM
39672013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3968
3969 * emacs-lisp/smie.el: New smie-config system.
3970 (smie-config): New defcustom.
3971 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3972 (smie-config-guess, smie-config-save): New commands.
3973 (smie-config--mode-local, smie-config--buffer-local)
3974 (smie-config--trace, smie-config--modefuns): New vars.
3975 (smie-config--advice, smie-config--mode-hook)
3976 (smie-config--setter, smie-config-local, smie-config--get-trace)
3977 (smie-config--guess-value, smie-config--guess): New functions.
3978 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3979 text properties. Treat "string fence" syntax like string syntax.
3980
3981 * progmodes/sh-script.el (sh-use-smie): Change default.
3982 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3983 (sh-var-value): Simplify by CSE.
3984 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3985 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3986 is used.
3987 (sh-guess-basic-offset): Use cl-incf.
3988 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3989
60db713e
HE
39902013-10-24 Helmut Eller <eller.helmut@gmail.com>
3991
3992 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3993 (bug#15699).
3994
8b251df6
GM
39952013-10-24 Glenn Morris <rgm@gnu.org>
3996
3997 * Makefile.in (abs_top_srcdir): Remove.
3998 (update-subdirs): Use relative path to update-subdirs.
3999
6be0e22b
EZ
40002013-10-24 Eli Zaretskii <eliz@gnu.org>
4001
4002 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4003 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
4004 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4005 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 4006
50b5b857
MA
40072013-10-24 Michael Albinus <michael.albinus@gmx.de>
4008
4009 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4010 (ert-test-skipped): New error.
4011 (ert-skip, ert-stats-skipped): New defuns.
4012 (ert--skip-unless): New macro.
4013 (ert-test-skipped): New struct.
4014 (ert--run-test-debugger, ert-test-result-type-p)
4015 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4016 (ert--stats-set-test-and-result, ert-char-for-test-result)
4017 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 4018 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 4019 Handle skipped tests. (Bug#9803)
50b5b857 4020
6f317c2f
GM
40212013-10-24 Glenn Morris <rgm@gnu.org>
4022
e43817c1
GM
4023 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4024
6f317c2f
GM
4025 * Makefile.in (abs_top_srcdir): New, set by configure.
4026 (update-subdirs): Correct build-aux location.
4027
369bbf71
DG
40282013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4029
8297b2cf
DG
4030 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4031 value, whether we could auto-deduce `backend', or not.
4032
369bbf71
DG
4033 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4034 with parameters" example. Simplify the "is it block or is it
4035 hash" check, but also make it more thorough.
4036
d5f1282f
MF
40372013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4038
4039 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4040
bc4aaa31
SM
40412013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4042
03d44565
SM
4043 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4044 { if it is hanging.
4045
bc4aaa31
SM
4046 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4047 :before ";".
4048
f493ff19
JB
40492013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4050
4051 * progmodes/compile.el (compilation-directory-matcher)
4052 (compilation-page-delimiter):
4053 Support GNU Make-4.0 directory quoting. (Bug#15678)
4054
c744a3b9
LL
40552013-10-23 Leo Liu <sdl.web@gmail.com>
4056
4057 * ido.el (ido-tidy): Handle read-only text.
4058
b8e3b0a9
GM
40592013-10-23 Glenn Morris <rgm@gnu.org>
4060
4061 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4062 (emacs, compile, compile-always):
4063 Quote entities that might contain whitespace.
4064 (custom-deps, finder-data, autoloads): Use abs_lisp.
4065 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4066 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4067 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4068
ee4282cd
DG
40692013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4070
bc4aaa31
SM
4071 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4072 Use `following-char'.
7790a270 4073
ee4282cd 40742013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
4075
4076 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4077 * progmodes/ruby-mode.el (ruby-smie-rules):
4078 Remove corresponding workaround. Fix indentation rule of ";" so it
4079 also applies when ";" is the parent.
4080
d40a46d7
XF
40812013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4082
4083 * frame.el (display-screens, display-pixel-height)
4084 (display-pixel-width, display-mm-width, display-backing-store)
4085 (display-save-under, display-planes, display-color-cells)
7790a270
SM
4086 (display-visual-class, display-monitor-attributes-list):
4087 Mention the optional ‘display’ argument in doc strings.
d40a46d7 4088
a0f143c9
MG
40892013-10-22 Michael Gauland <mikelygee@amuri.net>
4090
4091 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4092 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4093
18cacc39
DG
40942013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4095
4096 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4097 TODO. Add "." after " @ ".
4098 (ruby-smie--at-dot-call): New function. Checks if point at method
4099 call with explicit target.
4100 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4101 to the method name tokens when it precedes them.
4102 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4103 (ruby-smie-rules): Add rule for indentation before and after "."
4104 token.
4105
df74c4be
SM
41062013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4107
c6dab55f
SM
4108 * textmodes/remember.el (remember-diary-extract-entries):
4109 Avoid add-to-list.
4110
df74c4be
SM
4111 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4112 an instruction.
4113
8c1ae481
DG
41142013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4115
e9dc713d
JB
4116 * progmodes/ruby-mode.el (ruby-smie-grammar):
4117 Add (almost) all infix operators.
cfef16c0
DG
4118 (ruby-smie--implicit-semi-p): Add new operator chars.
4119
8c1ae481
DG
4120 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4121 `smie-down-list'.
4122 (ruby-smie--args-separator-p): Check that there's no newline
4123 between method call and its arguments.
4124
87756ca9
AM
41252013-10-20 Alan Mackenzie <acm@muc.de>
4126
4127 Allow comma separated lists after Java "implements".
4128
df74c4be
SM
4129 * progmodes/cc-engine.el (c-backward-over-enum-header):
4130 Parse commas.
87756ca9
AM
4131 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4132 from a "disallowed" list in enum fontification.
4133
c25f8957
JB
41342013-10-20 Johan Bockgård <bojohan@gnu.org>
4135
df74c4be 4136 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 4137
c25f8957
JB
4138 * progmodes/verilog-mode.el (verilog-mode): Don't set
4139 comment-indent-function globally.
4140
aca5fcdc
JD
41412013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4142
5f161884
JD
4143 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4144 Move Info menu item creation to ns-win.el.
4145
4146 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4147 in menu bar.
4148
a6c4680a 4149 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
4150
4151 * term/ns-win.el (ns-initialize-window-system): ... to here.
4152
914b7f98
SM
41532013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4154
4155 * simple.el (newline): Only run post-self-insert-hook when
4156 called interactively.
4157
846ffe77
JB
41582013-10-19 Johan Bockgård <bojohan@gnu.org>
4159
4160 * icomplete.el (icomplete-with-completion-tables): Add :version.
4161
033f22dd
AM
41622013-10-19 Alan Mackenzie <acm@muc.de>
4163
4164 Fix fontification bugs with constructors and const.
4165
4166 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4167 CASE 2) Remove the check for the absence of a suffix construct
4168 after a function declaration with only types (no identifiers) in
4169 the parentheses. Also, accept a function declaration with just a
4170 type inside the parentheses, if this type can be positively
4171 recognised as such, or if a prefix keyword like "explicit" nails
4172 down the construct as a declaration.
4173
58ce0cfc
EZ
41742013-10-19 Eli Zaretskii <eliz@gnu.org>
4175
4176 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4177 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4178 the problem whereby selecting a menu item that leads to a
4179 minibuffer prompt moves the cursor out of the minibuffer window,
4180 making it hard to type at the prompt. Suggested by Stefan Monnier
4181 <monnier@iro.umontreal.ca>.
4182
50e28e7d
JD
41832013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4184
4185 * menu-bar.el: Don't make Services menu.
4186
7deed4bf
RS
41872013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4188
4189 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4190 (ffap-alist): Use ffap-c++-mode for c++-mode.
4191 (ffap-c++-path): New variable.
4192 (ffap-c++-mode): New function.
4193
7bcb455b
JVJ
41942013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4195
4196 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4197
f0ff1cd5
MA
41982013-10-18 Michael Albinus <michael.albinus@gmx.de>
4199
4200 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4201 introduced on 2013-09-08, which results in an infinite loop
4202 requesting a password.
4203
d64da4b7
GM
42042013-10-18 Glenn Morris <rgm@gnu.org>
4205
4206 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4207
ea89ff08
WS
42082013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4209
4210 Sync with upstream verilog-mode revision 1a6ecec7.
4211 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4212 (verilog-mode-release-date): Remove.
4213 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4214 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4215 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4216 (verilog-auto-tieoff-ignore-regexp)
4217 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4218 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4219 (verilog-signals-with, verilog-dir-cache-preserving)
4220 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4221 Doc fixes.
4222 (verilog-case-fold): New option, to control case folding in
4223 regexp searches, bug597.
4224 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4225 (verilog-string-match-fold, verilog-in-paren-count)
4226 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4227 (verilog-at-close-struct-p): New functions.
4228 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4229 (verilog-forward-sexp, verilog-set-auto-endcomments):
4230 (verilog-leap-to-case-head): Handle "unique0" case.
4231 (verilog-in-constraint-re): New constant.
4232 (verilog-keywords, verilog-type-font-keywords):
4233 Add some SystemVerilog 1800-2012 keywords.
4234 (verilog-label-be): Remove unimplemented argument, bug669.
4235 (verilog-batch-execute-func): When batch expanding clear
4236 create-lockfiles to prevent spurious user locks when a file ends
4237 up not changing.
4238 (verilog-calculate-indent, verilog-calc-1)
4239 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4240 (verilog-do-indent): Fix indentation of nested constraints
4241 and structures.
4242 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4243 (verilog-auto-inst-param): Use verilog-string-match-fold.
4244 (verilog-read-inst-module-matcher):
4245 Fix AUTOINST on gate primitives with #1.
4246 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4247 Reads all user-defined typed variables.
4248 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4249 (verilog-signals-matching-regexp)
4250 (verilog-signals-not-matching-regexp, verilog-auto):
4251 Respect verilog-case-fold.
4252 (verilog-diff-report): Fix line count.
4253 (verilog-auto-assign-modport): Remove unused local `modi'.
4254 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4255 better handle multidimensional arrays.
4256 Fix packed array ports misadding bit index in AUTOINST, bug637.
4257 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4258 to not double-declare existing outputs and inputs, respectively.
4259 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4260 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4261 (verilog-sk-uvm-component): New skeleton.
4262 (verilog-submit-bug-report): Add verilog-case-fold,
4263 remove verilog-mode-release-date.
4264
ef566920
BR
42652013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4266
a12bf61e 4267 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
4268 as before.
4269
29df8a0b
RT
42702013-10-18 Reuben Thomas <rrt@sc3d.org>
4271
e0eb0550 4272 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
4273 remember buffers (bug#13566).
4274
04a19a79
DC
42752013-10-18 Daniel Colascione <dancol@dancol.org>
4276
4277 When evaluating forms in ielm, direct standard output to ielm
4278 buffer. Add new ielm-return-for-effect command. Remove trailing
4279 whitespace throughout.
4280
4281 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4282 (ielm-return-for-effect): New command.
4283 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
4284 (ielm-eval-input): Accept optional `for-effect' parameter.
4285 Bind `standard-output' to stream we create using
04a19a79
DC
4286 `ielm-standard-output-impl'. Suppress printing result when
4287 `for-effect'.
4288 (ielm-standard-output-impl): New function.
4289 (inferior-emacs-lisp-mode): Explain new features in documentation.
4290
4c1f03ef
MA
42912013-10-17 Michael Albinus <michael.albinus@gmx.de>
4292
4293 Code cleanup.
4294
4295 * net/tramp.el (tramp-debug-message): Do not check for connection
4296 buffer.
4297 (tramp-message): Use "vector" connection property.
4298
4299 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4300 (tramp-equal-remote, tramp-eshell-directory-change)
4301 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4302 (tramp-adb-handle-rename-file)
4303 * net/tramp-cmds.el (tramp-list-remote-buffers)
4304 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4305 * net/tramp-compat.el (tramp-compat-process-running-p)
4306 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4307 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4308 (tramp-gvfs-handle-rename-file)
4309 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4310 (tramp-set-file-uid-gid)
4311 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4312 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4313 of `file-remote-p'.
4314
4315 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4316 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4317 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4318 (tramp-gw-open-network-stream): Suppress unrelated traces.
4319
4320 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4321 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4322 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4323 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4324 connection property.
4325
4326 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 4327 persistency file.
4c1f03ef
MA
4328
4329 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4330 Refactor common code. Improve debug message.
4331 (tramp-maybe-open-connection)
4332 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4333 connection buffer too early.
4334
4335 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4336 from `tramp-smb-actions-with-acl'.
4337 (tramp-smb-actions-set-acl): New defconst.
4338 (tramp-smb-handle-copy-directory)
4339 (tramp-smb-action-get-acl): New defun, renamed from
4340 `tramp-smb-action-with-acl'.
4341 (tramp-smb-action-set-acl): New defun.
4342 (tramp-smb-handle-set-file-acl): Rewrite.
4343
642eb8b6
GM
43442013-10-17 Glenn Morris <rgm@gnu.org>
4345
4346 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4347
85527ff3
SM
43482013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4349
921c1d62
SM
4350 * skeleton.el (skeleton-newline): Remove.
4351 (skeleton-internal-1): Use (insert "\n") instead.
4352
e333fb10
SM
4353 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4354 let-bindings.
4355
85527ff3
SM
4356 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4357 forward-sexp-function while we redo its job (bug#15613).
4358
c8722a97
JB
43592013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4360
4361 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4362 represented by lists.
4363
7a550bbb
GM
43642013-10-16 Glenn Morris <rgm@gnu.org>
4365
4366 * tmm.el (tmm--history): New dynamic variable.
4367 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4368
f19da8ad
MA
43692013-10-16 Michael Albinus <michael.albinus@gmx.de>
4370
4371 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4372 (tramp-smb-errors): Add error messages.
4373 (tramp-smb-actions-with-acl): New defconst.
4374 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4375 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4376 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4377 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4378 (tramp-smb-get-stat-capability): Fix tests.
4379
a24b9961
DK
43802013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4381
4382 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4383 (bug#15580).
4384
62ad85e6
GM
43852013-10-16 Glenn Morris <rgm@gnu.org>
4386
0283d6b0
GM
4387 * ansi-color.el (ansi-color-drop-regexp):
4388 Add 1J, 1K, 2K. (Bug#15617)
4389
012e2f9f
GM
4390 * files.el (hack-local-variables--warned-lexical): New.
4391 (hack-local-variables):
4392 Warn about misplaced lexical-binding. (Bug#15616)
4393
62ad85e6
GM
4394 * net/eww.el (eww-render): Always set eww-current-url,
4395 and update header line. (Bug#15622)
4396 (eww-display-html): ... Rather than just doing it here.
4397
6456c0ea
EZ
43982013-10-15 Eli Zaretskii <eliz@gnu.org>
4399
4400 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4401 menu navigations commands.
4402
c2de5588
DK
44032013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4404
4405 * progmodes/subword.el (subword-capitalize): Be careful when
4406 the search for [[:alpha:]] fails (bug#15580).
4407
ccd4a783
EZ
44082013-10-14 Eli Zaretskii <eliz@gnu.org>
4409
4410 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4411 to commands that scroll the menu.
4412
1eda1d8d
DG
44132013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4414
c2de5588
DK
4415 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4416 Handle methods ending with `?' and `!'.
1eda1d8d 4417
e70181b8
AM
44182013-10-14 Akinori MUSHA <knu@iDaemons.org>
4419
4420 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4421 `japanese-cp932' to `cp932' to fix the problem where saving a
4422 source file written in Shift_JIS twice would end up having
4423 `coding: japanese-cp932' which Ruby could not recognize.
4424 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4425 in `ruby-encoding-map'.
4426 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4427 doesn't need to be explicitly declared in magic comment.
4428 (ruby-encoding-map): Add type declaration for better customize UI.
4429
9148ee92
GM
44302013-10-13 Glenn Morris <rgm@gnu.org>
4431
a5d38e34
GM
4432 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4433 Occur buffers are read-only. http://bugs.debian.org/720775
4434
9148ee92
GM
4435 * emacs-lisp/authors.el (authors-fixed-entries):
4436 Comment out old alpha stuff.
4437
a9ba094b
DG
44382013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4439
4440 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4441 to `after-save-hook' instead of `before-save-hook'.
4442 (ruby-mode-set-encoding): Use the value of coding system used to
4443 write the file. Call `basic-save-buffer-1' after modifying the
4444 buffer.
4445
7a068717
AM
44462013-10-13 Alan Mackenzie <acm@muc.de>
4447
4448 Fix indentation/fontification of Java enum with
4449 "implements"/generic.
4450
c2de5588
DK
4451 * progmodes/cc-engine.el (c-backward-over-enum-header):
4452 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
4453 (c-inside-bracelist-p): Uses new function above.
4454 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4455 function above.
4456 (c-font-lock-enum-tail): Uses new function above.
4457
85b64f02
KH
44582013-10-13 Kenichi Handa <handa@gnu.org>
4459
4460 * international/mule-cmds.el (select-safe-coding-system): Remove a
4461 superfluous condition in chekcing whether a coding system is safe
4462 or not.
4463
fc7f501b
OK
44642013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4465
4466 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4467
fdcb2049
AP
44682013-10-13 Andreas Politz <politza@hochschule-trier.de>
4469
4470 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4471
8c106d17
GM
44722013-10-13 Glenn Morris <rgm@gnu.org>
4473
feab892d
GM
4474 * menu-bar.el (menu-bar-update-buffers):
4475 Unify Buffers menu prompt string. (Bug#15576)
4476
b22d0686
GM
4477 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4478
8c106d17
GM
4479 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4480 Add some entries.
4481 (authors-fixed-entries): Use accented form of name.
4482
1b12c797
SM
44832013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4484
650fa7bf 4485 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 4486 method calls (bug#15594).
650fa7bf
SM
4487 (ruby-smie--args-separator-p): New function.
4488 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4489 recognize paren-free method calls.
4490
1b12c797
SM
4491 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4492 internals of universal-argument.
4493
029619c8
EZ
44942013-10-11 Eli Zaretskii <eliz@gnu.org>
4495
4496 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
4497 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4498 dropped menu on second mouse click on the menu bar.
029619c8 4499
dd070019
SM
45002013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4501
4502 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4503 (explicit-shell-file-name): Declare.
4504 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4505 (sh-completion-at-point-function): New function.
4506 (sh-mode): Use it.
4507 (sh-smie--keyword-p): Remove unused argument.
4508 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4509 vars.
4510 (sh-set-shell): Always setup SMIE, even if we use the
4511 old indentation code.
4512
0922b826
DG
45132013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4514
b68e2926
DG
4515 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4516 cases of ? and =.
4517 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4518 predicate would return nil are almost non-existent.
4519 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4520
0922b826
DG
4521 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4522 cache also after commands that modify the buffer but don't move
4523 point.
4524
ee041f2d
SM
45252013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4526
4527 * env.el (substitute-env-in-file-name): New function.
4528 (substitute-env-vars): Extend the meaning of the optional arg.
4529
a5dab159
EZ
45302013-10-10 Eli Zaretskii <eliz@gnu.org>
4531
4532 * term/w32-win.el (dynamic-library-alist): Define separate lists
4533 of GIF DLLs for versions before and after 5.0.0 of giflib.
4534 (Bug#15531)
4535
0449d6cd 45362013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
4537
4538 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4539 not locked, use last revision and current source as
4540 defaults. (Bug#15569)
4541
2f6e161e
MY
45422013-10-10 Masatake YAMATO <yamato@redhat.com>
4543
4544 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4545 menu-bar is hidden.
4546
6c8413fc
MR
45472013-10-10 Martin Rudalics <rudalics@gmx.at>
4548
4549 * window.el (pop-to-buffer-same-window): Fix doc-string.
4550 (Bug#15492)
4551
20832de0
SM
45522013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4553
4554 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4555
c6e8ae77
AC
45562013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4557
4558 * calendar/icalendar.el (icalendar-import-file):
4559 Fix interactive spec. (Bug#15482)
4560
9db13baf
GM
45612013-10-10 Glenn Morris <rgm@gnu.org>
4562
9271e90e
GM
4563 * desktop.el (desktop-save): Default to saving in .emacs.d,
4564 since PWD is no longer in desktop-path by default. (Bug#15319)
4565
9db13baf
GM
4566 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4567 now that text mode has a menu with the same entry.
4568 (menu-bar-text-mode-auto-fill): Remove now unused func.
4569 * textmodes/text-mode.el (text-mode-map):
4570 Use auto-fill help text from menu-bar.el.
4571
a0be396a 45722013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
4573
4574 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4575
2edcd3c7
JL
45762013-10-09 Juri Linkov <juri@jurta.org>
4577
4578 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4579 instead of this-command-keys. Add universal-argument-more and
4580 universal-argument-minus to the list of prefix commands. (Bug#15568)
4581
574411d0
GM
45822013-10-09 Glenn Morris <rgm@gnu.org>
4583
14afa541
GM
4584 * vc/vc-svn.el (vc-svn-create-repo):
4585 Expand paths in file://... url. (Bug#15446)
4586
574411d0
GM
4587 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4588 Add some entries.
4589 (authors): Remove unused local variables.
4590
79804536
SM
45912013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4592
4593 * profiler.el: Create a more coherent calltree from partial backtraces.
4594 (profiler-format): Hide the tail with `invisible' so that C-s can still
4595 find the hidden elements.
4596 (profiler-calltree-depth): Don't recurse so enthusiastically.
4597 (profiler-function-equal): New hash-table-test.
4598 (profiler-calltree-build-unified): New function.
4599 (profiler-calltree-build): Use it.
4600 (profiler-report-make-name-part): Indent the calltree less.
4601 (profiler-report-mode): Add visibility specs for profiler-format.
4602 (profiler-report-expand-entry, profiler-report-toggle-entry):
4603 Expand the whole subtree when provided with a prefix arg.
4604
238150c8
DG
46052013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4606
4607 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4608 iuwu-mod token.
4609 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4610 hanging iuwu-mod token.
4611 (ruby-smie--forward-token): Do not include a dot after a token in
4612 that token.
4613 (ruby-smie--backward-token): Likewise.
4614
b0949cc4
JL
46152013-10-08 Juri Linkov <juri@jurta.org>
4616
4617 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4618 to isearch-other-control-char.
4619 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4620 and isearch-post-command-hook to post-command-hook.
4621 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4622 and isearch-post-command-hook from post-command-hook.
4623 (isearch-unread-key-sequence)
4624 (isearch-reread-key-sequence-naturally)
4625 (isearch-lookup-scroll-key, isearch-other-control-char)
4626 (isearch-other-meta-char): Remove functions.
4627 (isearch-pre-command-hook, isearch-post-command-hook):
4628 New functions based on isearch-other-meta-char rewritten
4629 relying on the new behavior of overriding-terminal-local-map
4630 that does not replace the local keymaps any more. (Bug#15200)
4631
4ed77415
EZ
46322013-10-08 Eli Zaretskii <eliz@gnu.org>
4633
4634 Support menus on text-mode terminals.
4635 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4636 functionality.
4637
4638 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4639
c2de5588
DK
4640 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4641 Move here from mouse.el.
4ed77415
EZ
4642 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4643 and arrow keys.
4644 (tty-menu-navigation-map): New map for TTY menu navigation.
4645
4646 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4647
4648 * frame.el (display-mouse-p): Report text-mode mouse as available
4649 on w32.
4650 (display-popup-menus-p): Report availability if mouse is
4651 available; don't condition on window-system.
4652
4653 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4654 (tty-menu-selected-face): New faces.
4655
b7d5bd82
TL
46562013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4657
06286513
SM
4658 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4659 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4660 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4661 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4662 New constants.
4663 (lisp-mode-variables): New `elisp' argument.
4664 (emacs-lisp-mode): Use it.
4665 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4666 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4667
b7d5bd82
TL
4668 * indent.el: Use lexical-binding.
4669 (indent-region): Add progress reporter.
4670 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4671 last step.
4672 (indent--next-tab-stop): New function to implement this behavior.
4673 (tab-to-tab-stop, move-to-tab-stop): Use it.
4674
46752013-10-08 Teemu Likonen <tlikonen@iki.fi>
4676
4677 * indent.el (indent-rigidly--current-indentation): New function.
4678 (indent-rigidly-map): New var.
4679 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4680
5ea75d23
BG
46812013-10-08 Bastien Guerry <bzg@gnu.org>
4682
f2726fa2 4683 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 4684
cc5da1ec
SM
46852013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4686
8ffa1a0b
SM
4687 * progmodes/perl-mode.el: Use lexical-binding.
4688 Remove redundant :group args.
4689 (perl-nochange): Change default to be closer to other major modes's
4690 standard behavior.
4691 (perl-indent-line): Don't consider text on current line as a
4692 valid beginning of function from which to indent.
4693
f2223371
SM
4694 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4695 with more than one argument (bug#15538).
4696
44256060
SM
4697 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4698
cc5da1ec
SM
4699 * vc/pcvs.el: Use lexical-binding.
4700 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4701 environment of `eval'.
4702 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4703 than a list of expressions. Adjust callers.
4704 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4705
0ea1599d
DG
47062013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4707
4708 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 4709 case of the dot in a chained method call being on the following line.
0ea1599d 4710
da3e5ebb
SM
47112013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4712
2abb4e65
SM
4713 * electric.el (electric-indent-inhibit): New var.
4714 (electric-indent-post-self-insert-function): Use it.
4715 * progmodes/python.el (python-mode): Set it.
4716
d2e0e795
SM
4717 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4718 open braces.
4719
4720 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4721
bdc6b4c8
SM
4722 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4723 (css-mode): Use electric-indent-chars.
4724
da3e5ebb
SM
4725 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4726 (font-lock-beg, font-lock-end): Move before first use.
4727 (nxml-mode): Use syntax-propertize-function.
4728 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4729 (nxml-extend-after-change-region): Remove.
4730 * nxml/xmltok.el: Use lexical-binding.
4731 (xmltok-save): Use `declare'.
4732 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4733 * nxml/nxml-util.el: Use lexical-binding.
4734 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4735 Use `declare'.
4736 * nxml/nxml-ns.el: Use lexical-binding.
4737 (nxml-ns-save): Use `declare'.
4738 (nxml-ns-prefixes-for): Avoid add-to-list.
4739 * nxml/rng-match.el: Use lexical-binding.
4740 (rng--ipattern): Use cl-defstruct.
4741 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4742 (rng-cons-group-after, rng-subst-group-after)
4743 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4744 Use closures instead of `(lambda...).
4745
f8f91d5d
MA
47462013-10-07 Michael Albinus <michael.albinus@gmx.de>
4747
4748 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4749 of BEG and END.
4750
da3e5ebb
SM
4751 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4752 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
4753 (tramp-gvfs-handle-insert-file-contents): Remove function.
4754
da3e5ebb
SM
4755 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4756 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
4757
4758 * net/trampver.el: Update release number.
4759
7ccae3b1
SM
47602013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4761
55ca2c0d
SM
4762 * progmodes/compile.el (compilation-parse-errors):
4763 Use compilation--put-prop.
4764 (compilation--ensure-parse): Check compilation-multiline.
4765
731fc3ae
SM
4766 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4767
da3e5ebb
SM
4768 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4769 lexical-binding.
a5833280 4770
2e7ba2c2
SM
4771 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4772
7ccae3b1
SM
4773 * progmodes/ruby-mode.el: Fix recently added tests.
4774 (ruby-smie-grammar): Add - and +.
4775 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4776 (ruby-smie--backward-id): New functions.
4777 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4778 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4779 any more.
4780
85698d63
LL
47812013-10-07 Leo Liu <sdl.web@gmail.com>
4782
4783 * register.el (register-preview-delay)
4784 (register-preview-functions): New variables.
4785 (register-read-with-preview, register-preview)
4786 (register-describe-oneline): New functions.
4787 (point-to-register, window-configuration-to-register)
4788 (frame-configuration-to-register, jump-to-register)
4789 (number-to-register, view-register, insert-register)
4790 (copy-to-register, append-to-register, prepend-to-register)
4791 (copy-rectangle-to-register): Use register-read-with-preview to
4792 read register. (Bug#15525)
4793
3986af6c
DS
47942013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4795
4796 * net/network-stream.el (network-stream-open-starttls): Don't add
4797 --insecure if it's already present, because that gnutls-cli
4798 rejects getting that parameter twice.
4799
5cd9cda9
DG
48002013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4801
4802 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4803 keyword, too.
4804
da9ea6d9
DG
48052013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4806
4807 * newcomment.el (comment-use-global-state): Change default value
4808 to t, mark obsolete (Bug#15251).
4809 (comment-beginning): In addition to `comment-to-syntax', check the
4810 value of `comment-use-global-state'.
4811
34d1a133
SM
48122013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4813
4814 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4815 (ruby-comment-column): Follow the global default, by default.
4816 (ruby-smie-grammar): Add assignment syntax.
4817 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4818 open-paren, a comma, or a \.
4819 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4820 and line continuations.
4821 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4822 followed by implicit semi-colons. Add rule for string concatenation
4823 and for indentation at BOB.
4824 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4825
4826 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4827 calling next-sexp, since next-token may have skipped chars which
4828 next-sexp doesn't know should be skipped!
4829
6f6ab820
LL
48302013-10-05 Leo Liu <sdl.web@gmail.com>
4831
34d1a133
SM
4832 * progmodes/octave.el (octave-send-region):
4833 Call compilation-forget-errors.
6f6ab820 4834
34ca0f4c
XF
48352013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4836
4837 * vc/vc-svn.el (vc-svn-find-admin-dir):
4838 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4839 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4840 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4841 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4842
a27c1b72
SM
48432013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4844
4845 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4846
258ab3bc
SM
48472013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4848
4849 * subr.el (read-passwd): Hide chars even when called within a context
4850 where after-change-functions is disabled (bug#15501).
4851 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4852 until we removed ourself from overriding-terminal-local-map.
4853
939fb29c
LL
48542013-10-04 Leo Liu <sdl.web@gmail.com>
4855
258ab3bc
SM
4856 * progmodes/octave.el (inferior-octave-mode):
4857 Call compilation-forget-errors.
939fb29c 4858
63bd7f35
XF
48592013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4860
4861 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4862
9e6229fa
MA
48632013-10-04 Michael Albinus <michael.albinus@gmx.de>
4864
4865 * net/secrets.el (secrets-create-collection): Add optional
4866 argument ALIAS. Use proper Label keyword. Append ALIAS as
4867 dbus-call-method argument. (Bug#15516)
4868
1dab32a3
LL
48692013-10-04 Leo Liu <sdl.web@gmail.com>
4870
4871 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4872 (inferior-octave-compilation-font-lock-keywords): New variables.
4873 (compilation-error-regexp-alist)
4874 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4875 (inferior-octave-mode): Use compilation-shell-minor-mode.
4876
6cad7ba3
JS
48772013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4878
4879 * minibuffer.el (completion--replace): Be careful that `end' might be
4880 a marker.
4881
acbadd00
DU
48822013-10-03 Daiki Ueno <ueno@gnu.org>
4883
4884 Add support for package signature checking.
4885 * emacs-lisp/package.el (url-http-file-exists-p)
4886 (epg-make-context, epg-context-set-home-directory)
4887 (epg-verify-string, epg-context-result-for)
4888 (epg-signature-status, epg-signature-to-string)
4889 (epg-check-configuration, epg-configuration)
4890 (epg-import-keys-from-file): Declare.
4891 (package-check-signature): New user option.
4892 (package-unsigned-archives): New user option.
4893 (package-desc): Add `signed' field.
4894 (package-load-descriptor): Set `signed' field if .signed file exists.
4895 (package--archive-file-exists-p): New function.
4896 (package--check-signature): New function.
4897 (package-install-from-archive): Check package signature.
4898 (package--download-one-archive): Check archive signature.
4899 (package-delete): Remove .signed file.
4900 (package-import-keyring): New command.
4901 (package-refresh-contents): Import default keyring.
4902 (package-desc-status): Add "unsigned" status.
4903 (describe-package-1, package-menu--print-info)
4904 (package-menu-mark-delete, package-menu--find-upgrades)
4905 (package-menu--status-predicate): Support "unsigned" status.
4906
adf2aa61
SM
49072013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4908
4909 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4910 the new compilation scheme using the new byte-codes.
4911
4912 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4913 (byte-pophandler): New byte codes.
4914 (byte-goto-ops): Adjust accordingly.
4915 (byte-compile--use-old-handlers): New var.
4916 (byte-compile-catch): Use new byte codes depending on
4917 byte-compile--use-old-handlers.
4918 (byte-compile-condition-case--old): Rename from
4919 byte-compile-condition-case.
4920 (byte-compile-condition-case--new): New function.
4921 (byte-compile-condition-case): New function that dispatches depending
4922 on byte-compile--use-old-handlers.
4923 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4924 when we can.
4925
4926 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4927 Optimize under `condition-case' and `catch' if
4928 byte-compile--use-old-handlers is nil.
4929 (disassemble-offset): Handle new bytecodes.
4930
328a8179
SM
49312013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4932
4933 * subr.el (error): Use `declare'.
4934 (decode-char, encode-char): Use advertised-calling-convention instead
4935 of the docstring to discourage use of the `restriction' arg.
4936
15a1e936
DU
49372013-10-03 Daiki Ueno <ueno@gnu.org>
4938
4939 * epg.el (epg-verify-file): Add a comment saying that it does not
4940 notify verification error as a return value nor a signal.
4941 (epg-verify-string): Ditto.
4942
376f862a
KR
49432013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4944
4945 * progmodes/compile.el (compilation-start): Try globbing the arg to
4946 `cd' (bug#15417).
4947
a2f93a5f
MA
49482013-10-02 Michael Albinus <michael.albinus@gmx.de>
4949
4950 Sync with Tramp 2.2.8.
4951
4952 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4953 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4954 * net/trampver.el: Update release number.
4955
0daa0804
JD
49562013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4957
4958 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4959 and default-process-coding-system for darwin only.
4960
abd1ae34
SM
49612013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4962
4963 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4964
be4e325d
MH
49652013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4966
4967 * vc/vc-git.el (vc-git-grep): Disable pager.
4968
e9155c4a
DG
49692013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4970
494e898b
DG
4971 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4972 Use :url instead of :homepage, as per
4973 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4974
e9155c4a
DG
4975 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4976 non-nil, use `syntax-ppss' (Bug#15251).
4977
481a8e0f
RS
49782013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4979
be4e325d
MH
4980 * progmodes/octave.el (inferior-octave-startup-file):
4981 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 4982
056453c6
DG
49832013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4984
be4e325d
MH
4985 * emacs-lisp/package.el (package-desc-from-define):
4986 Accept additional arguments as plist, convert them to an alist and store
4987 them in the `extras' slot.
056453c6
DG
4988 (package-generate-description-file): Convert extras alist back to
4989 plist and append to the `define-package' form arguments.
4990 (package--alist-to-plist): New function.
4991 (package--ac-desc): Add `extras' slot.
4992 (package--add-to-archive-contents): Check if the archive-contents
4993 vector is long enough, and if it is, pass its `extras' slot value
4994 to `package-desc-create'.
4995 (package-buffer-info): Call `lm-homepage', pass the returned value
4996 to `package-desc-from-define'.
4997 (describe-package-1): Render the homepage button (Bug#13291).
4998
be4e325d
MH
4999 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5000 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 5001
832966e5
JD
50022013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5003
5004 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5005 and default-process-coding-system to utf-8-unix (Bug#15402).
5006
6cfe977d
XF
50072013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5008
5009 * subr.el (looking-back): Do not recommend using looking-back.
5010
38de11bd
AM
50112013-09-28 Alan Mackenzie <acm@muc.de>
5012
5013 Fix indentation/fontification of Java enum with "implements".
5014
5015 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5016 regexp which matches "implements", etc., in Java.
5017 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5018 specifier clauses coming after "enum".
5019 * progmodes/cc-fonts.el (c-font-lock-declarations)
5020 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5021 after "enum".
5022
1610938f
JD
50232013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5024
5025 * faces.el (region): Change ns_selection_color to
5026 ns_selection_fg_color, add ns_selection_bg_color.
5027
e090f499
LL
50282013-09-28 Leo Liu <sdl.web@gmail.com>
5029
4d2e94d1
LL
5030 * progmodes/octave.el (inferior-octave-completion-table)
5031 (inferior-octave-completion-at-point): Minor tweaks.
5032
e090f499
LL
5033 * textmodes/ispell.el (ispell-lookup-words): Rename from
5034 lookup-words. (Bug#15460)
5035 (lookup-words): Obsolete.
5036 (ispell-complete-word, ispell-command-loop): All uses changed.
5037
7e138a62
RS
50382013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5039
a12bf61e 5040 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
5041 (octave-mode-menu): Add octave-send-buffer.
5042 (octave-send-buffer): New function.
5043
5af5ed08
RS
50442013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5045
a12bf61e 5046 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
5047 octave-lookfor.
5048 (octave-mode-menu): Add octave-lookfor.
5049 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5050 octave-lookfor.
5051 (octave-lookfor): New function.
5052
3b7b2692
SM
50532013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5054
5055 * emacs-lisp/cl-macs.el:
5056 (cl--loop-destr-temps): Remove.
5057 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5058 its convention.
5059 (cl--loop-set-iterator-function): New function.
5060 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5061 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5062 Bind `it' with `let' instead of substituting it with `cl-subst'.
5063 (cl--unused-var-p): New function.
5064 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5065 Eliminate some unused variable warnings (bug#15326).
5066
529fb53f
TH
50672013-09-27 Tassilo Horn <tsdh@gnu.org>
5068
5069 * doc-view.el (doc-view-scale-reset): Rename from
5070 `doc-view-reset-zoom-level'.
5071 (doc-view-scale-adjust): New command.
5072 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5073 `doc-view-scale-adjust'.
5074
0550c95a
TH
50752013-09-26 Tassilo Horn <tsdh@gnu.org>
5076
5077 * doc-view.el (doc-view-reset-zoom-level): New command.
5078 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5079 zoom commands (bug#15466).
5080
6950f152
KH
50812013-09-26 Kenichi Handa <handa@gnu.org>
5082
5083 * international/quail.el (quail-help): Make it not a command.
5084
39587580
LL
50852013-09-26 Leo Liu <sdl.web@gmail.com>
5086
5087 * minibuffer.el (completion-all-sorted-completions): Make args
5088 optional as they are.
5089
00578659
DC
50902013-09-25 Daniel Colascione <dancol@dancol.org>
5091
5092 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5093 specs are and that they're not evaluated.
5094
0c173878
SS
50952013-09-24 Sam Steingold <sds@gnu.org>
5096
5097 * midnight.el (clean-buffer-list-kill-regexps)
5098 (clean-buffer-list-kill-buffer-names): Update for the new Man
5099 buffer naming which includes the object name.
5100
84998447
SM
51012013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5102
5103 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5104 (eshell-parse-command, eshell-parse-pipeline): Use it since
5105 eshell-separate-commands requires a dynamic scoped var.
5106 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5107
33215353
LL
51082013-09-23 Leo Liu <sdl.web@gmail.com>
5109
5110 * autoinsert.el (auto-insert-alist): Make the value of
5111 lexical-binding match its file setting.
5112
57b16162
JB
51132013-09-23 Juanma Barranquero <lekktu@gmail.com>
5114
c8af4e67
JB
5115 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5116
57b16162
JB
5117 * autoarg.el (autoarg-kp-digit-argument):
5118 * electric.el (Electric-command-loop):
5119 * kmacro.el (kmacro-step-edit-insert):
5120 Do not set universal-argument-num-events.
5121
7186ba60
LL
51222013-09-22 Leo Liu <sdl.web@gmail.com>
5123
5124 * files.el (interpreter-mode-alist): Add octave.
5125
ece15004
AM
51262013-09-21 Alan Mackenzie <acm@muc.de>
5127
5128 C++: fontify identifier in declaration following "public:" correctly.
5129 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5130 to match "public", etc.
5131 (c-decl-prefix-re): Add ":" into the C++ value.
5132 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5133 bit. Add a check for a ":" preceded by "public", etc.
5134
75d83e22
EZ
51352013-09-21 Eli Zaretskii <eliz@gnu.org>
5136
5137 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5138 recognized by GDB 7.5 and later.
5139
d052d3bd
XF
51402013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5141
5142 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5143
31dca772
R
51442013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5145
5146 * subr.el (internal--call-interactively): New const.
5147 (called-interactively-p): Use it (bug#3984).
5148
98ccf24e
XF
51492013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5150
5151 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
5152 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5153 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 5154
c39cc7d1
SM
51552013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5156
5157 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5158 (eshell-ls-orig-insert-directory): Remove.
5159 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5160 (eshell-ls-use-in-dired): Use advice-add/remove.
5161 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5162 Add `orig-fun' arg for use in :around advice.
5163 Make it check (redundantly) eshell-ls-use-in-dired.
5164
9a0289a2
GM
51652013-09-19 Glenn Morris <rgm@gnu.org>
5166
a2c501b8
GM
5167 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5168
c440407a
GM
5169 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5170
9a0289a2
GM
5171 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5172
85e05915
MA
51732013-09-19 Michael Albinus <michael.albinus@gmx.de>
5174
5175 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5176 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5177 (tramp-get-remote-python): New defuns.
5178 (tramp-get-remote-uid-with-perl)
5179 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5180 contributed by yary <not.com@gmail.com> (tiny change).
5181 (tramp-get-remote-uid-with-python)
5182 (tramp-get-remote-gid-with-python): New defuns. Python code
5183 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5184 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5185
ce503312
GM
51862013-09-19 Glenn Morris <rgm@gnu.org>
5187
f7544773
GM
5188 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5189
72fd2877
GM
5190 * eshell/em-unix.el (eshell-remove-entries):
5191 Rename argument to avoid name-clash with global `top-level'.
5192
336b5a56
GM
5193 * eshell/esh-proc.el (eshell-kill-process-function):
5194 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5195 (eshell-reset-after-proc): Remove unused arg `proc'.
5196
57a3a53d
GM
5197 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5198 (directory-files-and-attributes): Mark unused arg.
5199
3261d4af
GM
5200 * eshell/em-unix.el (eshell-remove-entries):
5201 Remove unused arg `path'. Update callers.
5202
8e51b5d0
GM
5203 * eshell/em-hist.el (eshell-hist-parse-arguments):
5204 Remove unused arg `silent'. Update callers.
5205
ce503312
GM
5206 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5207 Fix (f)boundp mix-up.
5208
5209 * eshell/em-smart.el (eshell-smart-scroll-window)
5210 (eshell-disable-after-change):
336b5a56 5211 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 5212
ee3ce8a7
AM
52132013-09-18 Alan Mackenzie <acm@muc.de>
5214
5215 Fix fontification of type when followed by "const".
5216 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5217 "known" types from fontification.
5218
ec9177ba
GM
52192013-09-18 Glenn Morris <rgm@gnu.org>
5220
7bb3e768
GM
5221 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5222 (chart-face-list): Drop Emacsen without display-color-p.
5223
5148da15
GM
5224 * net/eww.el (libxml-parse-html-region): Declare.
5225 (eww-display-html): Explicit error if no libxml2 support.
5226
2f68e157
GM
5227 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5228
9019d095
GM
5229 * image.el (image-type-from-buffer, image-multi-frame-p):
5230 Remove --without-x warning/error.
67645389 5231
5f30349b 5232 * mouse.el (mouse-yank-primary):
45069b2e 5233 * term.el (term-mouse-paste):
5f30349b
GM
5234 Reorder to silence --without-x compilation.
5235
cd8edbbe
GM
5236 * mpc.el (doc-view-mode): Silence --without-x compilation.
5237
8a78544e
GM
5238 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5239 Silence --without-x compilation.
5240
12679bfd
GM
5241 * progmodes/gud.el (gud-find-file, gud-mode):
5242 Silence --without-x compilation.
5243 (tooltip-mode): Declare.
30810a05 5244
f0047cb9
GM
5245 * wdired.el (dired-backup-overwrite): Remove declaration.
5246 (wdired-mode-map): Add doc string.
5247
e740f9d2
GM
5248 * custom.el (x-get-resource): Declare.
5249
92d77c89
GM
5250 * eshell/em-glob.el (ange-cache):
5251 * eshell/em-unix.el (ange-cache): Declare.
5252
76e69577
GM
5253 * faces.el (x-display-list, x-open-connection, x-get-resource):
5254 Declare.
7e58af4b
GM
5255
5256 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5257 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5258 Declare.
76e69577 5259
4bd4c0af 5260 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 5261
ffb82dbd
GM
5262 * net/gnutls.el (gnutls-log-level): Declare.
5263
986ed135
GM
5264 * net/shr.el (image-size, image-animate): Declare.
5265
e740f9d2
GM
5266 * simple.el (font-info): Declare.
5267
d2f3e9f8
GM
5268 * subr.el (x-popup-dialog): Declare.
5269
047a1a4c
GM
5270 * term/common-win.el (x-select-enable-primary)
5271 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5272 Declare.
5273
f4a1d572
GM
5274 * term/ns-win.el (x-handle-args): Declare.
5275
e843de77
GM
5276 * term/x-win.el (x-select-enable-clipboard): Declare.
5277
5fa89513
GM
5278 * term/w32-win.el (create-default-fontset): Declare.
5279
38702b5b
GM
5280 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5281 Declare.
5282
e740f9d2
GM
5283 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5284 (fit-frame-to-buffer): Explicit error if --without-x.
5285 (mouse-autoselect-window-select): Silence compiler.
5286
49a053fc
GM
5287 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5288
5289 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5290 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5291 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 5292 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
5293 Remove unused local variables.
5294
5295 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5296
ec9177ba
GM
5297 * textmodes/two-column.el: Make 2C-split work for --without-x.
5298 (scroll-bar-columns): Autoload.
5299 (top-level): Require fringe when compiling.
5300
9f25cb77
LL
53012013-09-18 Leo Liu <sdl.web@gmail.com>
5302
5303 * subr.el (add-hook): Robustify to handle closure as well.
5304
2b42da98
GM
53052013-09-17 Glenn Morris <rgm@gnu.org>
5306
5307 * simple.el (messages-buffer-mode-map): Unbind "g".
5308
e8b66a6a
SM
53092013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5310
9c0ad4f7
SM
5311 * help-mode.el (help-mode-finish): Use derived-mode-p.
5312 Remove obsolete highlighting.
5313
7a806dfb
SM
5314 * play/life.el (life-mode): Use define-derived-mode. Derive from
5315 special-mode.
5316 (life): Let-bind inhibit-read-only.
5317 (life-setup): Avoid `setq'. Use `life-mode'.
5318
96dbf5a8
SM
5319 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5320 which should not be needed any more.
5321 (package-menu-refresh, package-menu-describe-package): Use user-error.
5322
e8b66a6a
SM
5323 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5324 (eshell-post-rewrite-command-hook): Make obsolete.
5325 (eshell-parse-command): Simplify.
5326 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5327 (eshell--cmd): Declare.
5328 (eshell-parse-pipeline): Remove unused var `final-p'.
5329 Pass a dynvar to eshell-post-rewrite-command-hook.
5330 Implement the new eshell-post-rewrite-command-function.
5331 (eshell-invoke-directly): Remove unused arg `input'.
5332 * eshell/esh-io.el (eshell-io-initialize):
5333 Use eshell-post-rewrite-command-function (bug#15399).
5334 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5335 adjust to new calling convention.
5336 (eshell-create-handles): Rename args to avoid clashing with dynvar
5337 `standard-output'.
5338
90582f05
GM
53392013-09-17 Glenn Morris <rgm@gnu.org>
5340
5341 * simple.el (messages-buffer-mode): New major mode.
5342 (messages-buffer): New function.
5343 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5344 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 5345 (ert-run-test): Use `messages-buffer' function.
90582f05 5346 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
5347 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5348 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 5349
39eb0cb5 53502013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
5351
5352 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5353
1d42e5b6 5354 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 5355
70568a90
SM
53562013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5357
504a0381
SM
5358 * icomplete.el (icomplete-in-buffer): New var.
5359 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5360 vars and replace them with functions.
5361 (icomplete-minibuffer-setup): Adjust accordingly.
5362 (icomplete--completion-table, icomplete--completion-predicate)
5363 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5364 New functions.
5365 (icomplete-forward-completions, icomplete-backward-completions)
5366 (icomplete-simple-completing-p, icomplete-exhibit)
5367 (icomplete-completions): Use them.
5368 (icomplete--in-region-buffer): New var.
5369 (icomplete--in-region-setup): New function.
5370 (icomplete-mode): Use it.
5371
70568a90
SM
5372 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5373 (bug#15379).
5374 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5375 return args and options.
5376 (eshell-eval-using-options): Use the new return value of
5377 eshell--do-opts to set the options's vars in their scope.
5378 (eshell--set-option): Rename from eshell-set-option.
5379 Add arg `opt-vals'.
5380 (eshell--process-option): Rename from eshell-process-option.
5381 Add arg `opt-vals'.
5382 (eshell--process-args): Use an `opt-vals' alist to store the options's
5383 values during their processing and return them additionally to the
5384 remaining args.
5385
578c21bc
DG
53862013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5387
5388 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5389 continuation character an operator, as far as indentation is
5390 concerned (Bug#15369).
5391
c089653d
MR
53922013-09-15 Martin Rudalics <rudalics@gmx.at>
5393
5394 * window.el (window--state-put-2): Don't process buffer state
5395 when buffer doesn't exist any more (Bug#15382).
5396
1e53bb4b
GM
53972013-09-15 Glenn Morris <rgm@gnu.org>
5398
30753242
GM
5399 * eshell/em-unix.el (eshell/rm):
5400 Make -f ignore missing files. (Bug#15373)
5401
1e53bb4b
GM
5402 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5403 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5404 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5405
0d8863b3
GM
54062013-09-14 Glenn Morris <rgm@gnu.org>
5407
5408 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5409
d3fc6549
GM
54102013-09-13 Glenn Morris <rgm@gnu.org>
5411
5412 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5413 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5414
fcd42c11
DA
54152013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5416
5417 * frame.el (x-focus-frame): Mark as declared in frame.c.
5418
7830899f
SM
54192013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5420
5421 * ls-lisp.el: Use advice-add.
5422 (original-insert-directory): Remove.
5423 (ls-lisp--insert-directory): Rename from insert-directory; add
5424 `orig-fun' argument.
5425 (insert-directory): Advise.
5426
84387cd2
EZ
54272013-09-13 Eli Zaretskii <eliz@gnu.org>
5428
5429 * term.el (term-emulate-terminal): Decode the command string
5430 before passing it to term-command-hook. (Bug#15337)
5431
35ffc6ba
GM
54322013-09-13 Glenn Morris <rgm@gnu.org>
5433
5c3f9bcc
GM
5434 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5435
2ada368a
GM
5436 * eshell/esh-ext.el (eshell-search-path): Declare.
5437
fcef2e13
GM
5438 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5439 Otherwise an error occurs if eshell-dirs module not loaded.
5440
35ffc6ba
GM
5441 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5442
35c3d36e
MA
54432013-09-13 Michael Albinus <michael.albinus@gmx.de>
5444
5445 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5446 `tramp-check-proper-host'. Check for a valid method name.
5447
5448 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5449 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5450 * net/tramp-sh.el (tramp-maybe-open-connection):
5451 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5452
5453 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5454 also for hash values.
5455
ae5e4c48
SM
54562013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5457
379add74
SM
5458 * term/ns-win.el (parameters): Don't declare as dynamic.
5459 (before-make-frame-hook): Don't add ineffective function.
5460
ae5e4c48
SM
5461 * eshell/*.el: Use lexical-binding (bug#15231).
5462
b5623270
KH
54632013-09-12 Kenichi Handa <handa@gnu.org>
5464
ae5e4c48 5465 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 5466
30213927
GM
54672013-09-12 Glenn Morris <rgm@gnu.org>
5468
be94d713 5469 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 5470 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 5471
44915370
GM
5472 * subr.el (do-after-load-evaluation): Also give compiler warnings
5473 when obsolete files are used (except by obsolete files).
5474
a6ae021f
GM
5475 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5476 in the status output, assume `filename' is the first. (Bug#15322)
5477
40e64f0c
GM
5478 * vc/vc.el (vc-deduce-fileset): Doc fix.
5479
16d9f896
GM
5480 * calc/calc-help.el (Info-goto-node):
5481 * progmodes/cperl-mode.el (Info-find-node):
5482 * vc/ediff.el (Info-goto-node): Update declarations.
5483
dea01c6e
GM
5484 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5485
759880bf 5486 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
5487 (vc-bzr-pull): Require vc-dispatcher.
5488 * vc/vc-git.el (vc-compilation-mode): Declare.
5489 (vc-git-pull): Require vc-dispatcher.
5490
08d66420
GM
5491 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5492
30b626e9
GM
5493 * progmodes/octave.el (help-button-action): Declare.
5494
8c05cb10
GM
5495 * shell.el (shell-directory-tracker): Output error as a message
5496 rather than just returning it as a string.
5497 (shell-process-pushd): Remove useless use of message.
5498
30213927
GM
5499 * dframe.el (dframe-timer-fn):
5500 * files.el (dir-locals-read-from-file):
5501 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5502 (mpc-format):
5503 * reveal.el (reveal-post-command):
5504 * saveplace.el (load-save-place-alist-from-file):
5505 * shell.el (shell-resync-dirs):
5506 * w32-common-fns.el (x-get-selection-value):
5507 * emacs-lisp/copyright.el (copyright-find-copyright):
5508 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5509 * emulation/tpu-edt.el (tpu-copy-keyfile):
5510 * play/bubbles.el (bubbles--mark-neighbourhood):
5511 * progmodes/executable.el
5512 (executable-make-buffer-file-executable-if-script-p):
5513 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5514
d3b049e6
SM
55152013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5516
170266d0
SM
5517 Cleanup Eshell to rely less on dynamic scoping.
5518 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5519 last-value, and ext-command here. Bind `args' closer to `body'.
5520 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5521 (eshell--args): Declare new dynamic var.
5522 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5523 last-value, and ext-command. Pass `args' to `body'.
5524 (eshell-process-args): Bind eshell--args.
5525 (eshell-set-option): Use eshell--args.
5526 * eshell/eshell.el (eshell): Use derived-mode-p.
5527 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5528 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5529 (eshell-glob-function): Declare.
5530 * eshell/esh-util.el: Require cl-lib.
5531 (eshell-read-hosts-file): Avoid add-to-list.
5532 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5533 `err'.
5534 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5535 Declare.
5536 (eshell/diff): Remove unused var `err'.
5537 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5538 `killflag'.
5539 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5540 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5541 first use.
5542 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5543 Move declaration before first use.
5544 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
5545 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5546 rely on cl-return.
5547
56834f3b
GM
55482013-09-12 Glenn Morris <rgm@gnu.org>
5549
5550 * term/ns-win.el (global-map): Remove binding for ispell-next,
5551 deleted 1999-05-29. (Bug#15357)
5552
5c91a2b8
GM
55532013-09-11 Glenn Morris <rgm@gnu.org>
5554
da712f22
GM
5555 * echistory.el (electric-command-history): Remove call to deleted func.
5556
512e4cdc
GM
5557 * play/landmark.el (landmark-mode): Fix typos.
5558
d3506ca5
GM
5559 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5560 Check cvs-sort-ignore-file is bound.
5561
5c91a2b8
GM
5562 * savehist.el: No need for cl when compiling on Emacs.
5563
feeff482
SM
55642013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5565
656bd483
SM
5566 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5567 (bug#15338).
d3b049e6
SM
5568 (eshell-self-insert-command, eshell-send-invisible):
5569 Remove unused argument.
656bd483
SM
5570 (eshell-handle-control-codes): Remove unused var `orig'.
5571 Avoid delete-backward-char.
5572
feeff482
SM
5573 * files.el (set-auto-mode): Simplify a bit further.
5574
2a08047a
GM
55752013-09-11 Glenn Morris <rgm@gnu.org>
5576
5577 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5578 (set-auto-mode): Don't regexp-quote elements.
5579 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5580 * progmodes/cc-mode.el (interpreter-mode-alist):
5581 * progmodes/ruby-mode.el (interpreter-mode-alist):
5582 Revert previous change.
5583
34675540
SM
55842013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5585
1b3b87df
SM
5586 * play/snake.el (snake-mode):
5587 * play/mpuz.el (mpuz-mode):
5588 * play/landmark.el (lm-mode):
5589 * play/blackbox.el (blackbox-mode):
5590 * play/5x5.el (5x5-mode):
5591 * obsolete/options.el (Edit-options-mode):
5592 * net/quickurl.el (quickurl-list-mode):
5593 * net/newst-treeview.el (newsticker-treeview-mode):
5594 * mail/rmailsum.el (rmail-summary-mode):
5595 * mail/mspools.el (mspools-mode):
5596 * locate.el (locate-mode):
5597 * ibuffer.el (ibuffer-mode):
5598 * emulation/ws-mode.el (wordstar-mode):
5599 * emacs-lisp/debug.el (debugger-mode):
5600 * array.el (array-mode):
5601 * net/eudc.el (eudc-mode): Use define-derived-mode.
5602 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5603 Move initialization into declaration.
5604 (mairix-searches-mode): Use define-derived-mode.
5605 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5606 (eudc-edit-hotlist): Use dolist.
5607 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5608 (Man-mode): Use define-derived-mode.
5609 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5610 (Info-edit-mode): Use define-derived-mode.
5611 (Info-cease-edit): Use Info-mode.
5612 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5613 into declaration.
5614 (eshell-mode): Use define-derived-mode.
5615 * chistory.el (command-history-mode-map): Rename from
5616 command-history-map.
5617 (command-history-mode): Use define-derived-mode.
da712f22 5618 (Command-history-setup): Remove function.
1b3b87df
SM
5619 * calc/calc.el (calc-trail-mode-map): New var.
5620 (calc-trail-mode): Use define-derived-mode.
5621 (calc-trail-buffer): Set calc-main-buffer manually.
5622 * bookmark.el (bookmark-insert-annotation): New function.
5623 (bookmark-edit-annotation): Use it.
5624 (bookmark-edit-annotation-mode): Make it a proper major mode.
5625 (bookmark-send-edited-annotation): Use derived-mode-p.
5626 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5627 closer to its ideal place. Use \' to match EOS.
5628
34675540
SM
5629 * profiler.el (profiler-calltree-find): Use function-equal.
5630
6a5c15d9
GM
56312013-09-10 Glenn Morris <rgm@gnu.org>
5632
1af4c220
GM
5633 * files.el (interpreter-mode-alist): Convert to regexps.
5634 (set-auto-mode): Adapt for this. (Bug#15306)
5635 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5636 Comment out unused variable.
5637 * progmodes/cc-mode.el (interpreter-mode-alist):
5638 * progmodes/python.el (interpreter-mode-alist):
5639 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5640 * progmodes/sh-script.el (sh-set-shell):
5641 No longer use interpreter-mode-alist to get list of shells.
5642
6a5c15d9
GM
5643 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5644
8c27f5ff
SM
56452013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5646
02ef6c1a 5647 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 5648 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
5649 Bind switch-frame explicitly. Replace universal-argument-minus with
5650 a conditional binding.
5651 (universal-argument-num-events, saved-overriding-map): Remove.
5652 (restore-overriding-map): Remove.
5653 (universal-argument--mode): Rename from save&set-overriding-map,
5654 and rewrite.
5655 (universal-argument, universal-argument-more, negative-argument)
5656 (digit-argument): Adjust accordingly.
5657 (universal-argument-minus): Remove.
5658 (universal-argument-other-key): Remove.
5659
8c27f5ff
SM
5660 * subr.el (with-demoted-errors): Add `format' argument.
5661
6480194c
MA
56622013-09-10 Michael Albinus <michael.albinus@gmx.de>
5663
5664 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5665 `tramp-cleanup-connection'.
5666
5667 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5668 parameters KEEP-DEBUG and KEEP-PASSWORD.
5669
5670 * net/tramp.el (tramp-file-name-handler):
5671 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5672 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5673 (tramp-maybe-open-connection):
8c27f5ff
SM
5674 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5675 Use `tramp-cleanup-connection'.
6480194c 5676
8c27f5ff
SM
5677 * net/tramp-sh.el (tramp-maybe-open-connection):
5678 Catch 'uname-changed inside the progress reporter.
6480194c 5679
e5e916d8
GM
56802013-09-10 Glenn Morris <rgm@gnu.org>
5681
9a2c9b47
GM
5682 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5683
e5e916d8
GM
5684 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5685 returns "alternate access method" in mode (eg "-rw-r--r--.").
5686
144e38fe
GM
56872013-09-08 Glenn Morris <rgm@gnu.org>
5688
5689 * saveplace.el (load-save-place-alist-from-file):
5690 Demote errors. (Bug#15305)
5691
af9ff9e8
MA
56922013-09-08 Michael Albinus <michael.albinus@gmx.de>
5693
5694 Improve compatibility with older Emacsen, and XEmacs.
5695
5696 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5697 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
5698 (with-tramp-progress-reporter): Do not let-bind `result'.
5699 This yields to scoping errors in XEmacs.
af9ff9e8
MA
5700 (tramp-handle-make-auto-save-file-name): New function, moved from
5701 tramp-sh.el.
5702
5703 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5704 for `make-auto-save-file-name'.
8c27f5ff
SM
5705 (tramp-adb--gnu-switches-to-ash):
5706 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5707
5708 * net/tramp-cache.el (tramp-cache-print): Call
5709 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5710
5711 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5712 bound. It isn't for XEmacs.
5713
8c27f5ff
SM
5714 * net/tramp-compat.el (tramp-compat-copy-file):
5715 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
5716 (tramp-compat-replace-regexp-in-string): New defun.
5717
5718 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5719 for `make-auto-save-file-name'.
5720 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5721 `copy-file'.
5722 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5723 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5724 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5725
8c27f5ff
SM
5726 * net/tramp-gw.el (tramp-gw-open-network-stream):
5727 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 5728
8c27f5ff
SM
5729 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5730 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
5731 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5732 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
5733 (tramp-sh-file-inotifywait-process-filter):
5734 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5735 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5736
5737 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5738 for `make-auto-save-file-name'.
8c27f5ff
SM
5739 (tramp-smb-handle-copy-directory):
5740 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5741 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5742 (tramp-smb-handle-copy-file): Improve error message.
5743 (tramp-smb-handle-rename-file): Rename directly only in case
5744 `newname' does not exist yet. This is a restriction of smbclient.
5745 (tramp-smb-maybe-open-connection): Rerun the function only when
5746 `auth-sources' is non-nil.
5747
0ca754d0
KH
57482013-09-08 Kenichi Handa <handa@gnu.org>
5749
e0eb0550 5750 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
5751 more characters.
5752
e8dd0787
AM
57532013-09-07 Alan Mackenzie <acm@muc.de>
5754
5755 Correctly fontify Java class constructors.
5756 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5757 in Java Mode.
5758 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
5759 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5760 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
5761 "typeless" declaration there.
5762
f2f248e7
RW
57632013-09-07 Roland Winkler <winkler@gnu.org>
5764
5765 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5766 field subtitle for entry type book.
5767
67982e2b
SM
57682013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5769
5770 * minibuffer.el: Make minibuffer-complete call completion-in-region
5771 rather than other way around.
5772 (completion--some, completion-pcm--find-all-completions):
5773 Don't delay signals when debugging.
5774 (minibuffer-completion-contents): Beware fields within the
5775 minibuffer contents.
5776 (completion-all-sorted-completions): Use defvar-local.
5777 (completion--do-completion, completion--cache-all-sorted-completions)
5778 (completion-all-sorted-completions, minibuffer-force-complete):
5779 Add args `beg' and `end'.
5780 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5781 (minibuffer-complete): Use completion-in-region.
5782 (completion-complete-and-exit): New fun, extracted from
5783 minibuffer-complete-and-exit.
5784 (minibuffer-complete-and-exit): Use it.
5785 (completion--complete-and-exit): Rename from
5786 minibuffer--complete-and-exit.
5787 (completion-in-region--single-word): New function, extracted from
5788 minibuffer-complete-word.
5789 (minibuffer-complete-word): Use it.
5790 (display-completion-list): Make `common-substring' argument obsolete.
5791 (completion--in-region): Call completion--in-region-1 instead of
5792 minibuffer-complete.
5793 (completion-help-at-point): Pass boundaries to
5794 minibuffer-completion-help as args rather than via an overlay.
5795 (completion-pcm--string->pattern): Use `any-delim'.
5796 (completion-pcm--optimize-pattern): New function.
5797 (completion-pcm--pattern->regex): Handle `any-delim'.
5798 * icomplete.el (icomplete-forward-completions)
5799 (icomplete-backward-completions, icomplete-completions):
5800 Adjust calls to completion-all-sorted-completions and
5801 completion--cache-all-sorted-completions.
5802 (icomplete-with-completion-tables): Default to t.
5803 * emacs-lisp/crm.el (crm--current-element): Rename from
5804 crm--select-current-element. Don't put an overlay but return the
5805 boundaries instead.
5806 (crm--completion-command): Take two new args to bind to the boundaries.
5807 (crm-completion-help): Adjust accordingly.
5808 (crm-complete): Use completion-in-region.
5809 (crm-complete-word): Use completion-in-region--single-word.
5810 (crm-complete-and-exit): Use completion-complete-and-exit.
5811
e17d94a5
SM
58122013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5813
5814 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5815 than dynamically.
5816
96727100
JL
58172013-09-06 Juri Linkov <juri@jurta.org>
5818
5819 * info.el (Info-display-images-node): When image file doesn't exist
5820 display text version of the image if it's provided in the Info file.
5821 Otherwise, display the location of missing image from SRC attribute.
5822 Add help-echo text property from ALT attribute. (Bug#15279)
5823
86cf7329
SM
58242013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5825
5826 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5827 (edit-abbrevs-mode): Use define-derived-mode.
5828
5829 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5830 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5831 that it's defined.
5832 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5833 Use define-derived-mode.
5834
5835 * epg.el (epg-start-encrypt): Minor CSE simplification.
5836
816244a2
WX
58372013-09-06 William Xu <william.xwl@gmail.com>
5838
5839 * arc-mode.el: Add support for 7za (bug#15264).
5840 (archive-7z-program): New var.
5841 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5842 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5843 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5844
1486fa31
MA
58452013-09-06 Michael Albinus <michael.albinus@gmx.de>
5846
5847 Remove URL syntax.
5848
5849 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5850 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5851 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5852 (tramp-postfix-host-format, tramp-file-name-regexp)
5853 (tramp-completion-file-name-regexp)
5854 (tramp-completion-dissect-file-name)
5855 (tramp-handle-substitute-in-file-name): Remove 'url case.
5856 (tramp-file-name-regexp-url)
5857 (tramp-completion-file-name-regexp-url): Remove constants.
5858
39785324
GM
58592013-09-06 Glenn Morris <rgm@gnu.org>
5860
5861 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5862
1f896cb7
DG
58632013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5864
5865 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5866 keywords" below "here-doc beginnings" (Bug#15270).
5867
c0458e0b
SM
58682013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5869
5870 * subr.el (pop): Use `car-safe'.
5871 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5872 to detect unused `pop' return value.
5873
5874 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5875 var `block-regexp'.
5876 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5877 (python-fill-string): Remove unused var `marker'.
5878 (python-skeleton-add-menu-items): Remove unused var `items'.
5879
5880 * international/mule-cmds.el: Require CL.
5881 (find-coding-systems-for-charsets): Avoid add-to-list.
5882 (sanitize-coding-system-list): New function, extracted from
5883 select-safe-coding-system-interactively.
5884 (select-safe-coding-system-interactively): Use it.
5885 (read-input-method-name): Accept symbols for `default'.
5886
5887 * emacs-lisp/advice.el (defadvice): Add indent rule.
5888
6c42fc3e
DH
58892013-09-05 Daniel Hackney <dan@haxney.org>
5890
5891 * dired-x.el:
5892 * net/ange-ftp.el:
5893 * net/browse-url.el:
5894 * net/dbus.el:
5895 * net/eudc.el:
5896 * net/eudcb-ldap.el:
5897 * net/eww.el:
5898 * net/imap.el:
5899 * printing.el:
5900 * vc/ediff-diff.el:
5901 * vc/ediff-init.el:
5902 * vc/ediff-merg.el:
5903 * vc/ediff-mult.el:
5904 * vc/ediff-util.el:
5905 * vc/ediff-wind.el:
5906 * vc/ediff.el:
5907 * vc/emerge.el:
5908 * vc/pcvs.el:
5909 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5910 byte compiler. Remove some unused let-bound variables.
5911
4c528aab
SM
59122013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5913
5914 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5915 a "ref-cell", since it gets better optimized (bug#14883).
5916
bd15c390
GM
59172013-09-05 Glenn Morris <rgm@gnu.org>
5918
5919 * progmodes/cc-awk.el (c-forward-sws): Declare.
5920
1c3ac2e5
GM
59212013-09-04 Glenn Morris <rgm@gnu.org>
5922
5923 * generic-x.el [rul-generic-mode]: Require cc-mode.
5924 (c++-mode-syntax-table): Declare.
5925 (rul-generic-mode-syntax-table): Init in the defvar.
5926
52b1cc79
SM
59272013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5928
c828af56
SM
5929 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5930 (vc-do-command, vc-set-async-update):
5931 * vc/vc-mtn.el (vc-mtn-dir-status):
5932 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5933 (vc-hg-pull, vc-hg-merge-branch):
5934 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5935 (vc-git-merge-branch):
5936 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5937 (vc-cvs-dir-status-files):
5938 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5939 (vc-bzr-dir-status-files):
5940 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5941 * vc/vc-annotate.el: Use lexical-binding.
5942 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5943 (vc-sentinel-movepoint): Declare.
5944 (vc-annotate): Don't use `goto-line'.
5945 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5946 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5947 (vc-sentinel-movepoint): Declare.
5948 * vc/vc-svn.el: Use lexical-binding.
5949 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5950 * vc/vc-sccs.el:
5951 * vc/vc-rcs.el: Use lexical-binding.
5952
abae272c
SM
5953 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5954 `deleted'. Don't drop errors silently.
5955
52b1cc79
SM
5956 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5957
63191d9f
XF
59582013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5959
5960 * vc/vc.el (vc-ignore): Rewrite.
5961 (vc-default-ignore): New function.
5962 (vc-default-ignore-completion-table): Use find-ignore-file.
5963
5964 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5965 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5966 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5967 Remove. Most code moved to vc.el.
5968
9d3f707c
SM
59692013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5970
abae272c 5971 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
5972 * net/tramp-smb.el (tramp-smb-get-file-entries):
5973 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5974 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5975
fde38d49
SM
5976 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5977 Update call to it.
5978 (eww-change-select): Remove unused var `properties'.
5979 (eww-make-unique-file-name): Remove unused var `base'.
5980
5981 * finder.el (finder-compile-keywords): Don't mess with windows.
5982
84032db7
SM
5983 * calculator.el (calculator-funcall): Fix typo in last change.
5984
724f5e41
SM
5985 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5986
14b511d4
SM
5987 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5988 <pkg>-autoloads.el file stop us.
5989
9d3f707c 5990 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 5991 warnings, and factor out common code.
9d3f707c 5992
88527bc0
DG
59932013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5994
5995 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5996 two-character operators and whether the character preceding them
5997 changes their meaning (Bug#15208).
5998
96edb677
FEG
59992013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6000
6001 Format code sent to Python shell for robustness.
9d3f707c
SM
6002 * progmodes/python.el (python-shell-buffer-substring):
6003 New function.
96edb677
FEG
6004 (python-shell-send-region, python-shell-send-buffer): Use it.
6005
95beaef3
MA
60062013-09-02 Michael Albinus <michael.albinus@gmx.de>
6007
6008 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6009 * net/tramp.el (tramp-user-error): ... here.
6010 (tramp-find-method, tramp-check-proper-host)
6011 (tramp-dissect-file-name, tramp-debug-message)
6012 (tramp-handle-shell-command):
6013 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6014 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6015
6016 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6017
f167c27b
MR
60182013-09-02 Martin Rudalics <rudalics@gmx.at>
6019
6020 * avoid.el (mouse-avoidance-point-position)
6021 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6022 returns nil.
6023
cd16c5f1
FEG
60242013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6025
6026 * progmodes/python.el (python-shell-completion-get-completions):
6027 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 6028 (python-nav-if-name-main): New command.
cd16c5f1 6029
e73c3a0d
GM
60302013-09-01 Glenn Morris <rgm@gnu.org>
6031
f8ccce03
GM
6032 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6033 Avoid leading space in $wins. Otherwise the sed command used by
6034 eg compile-main ends up containing "/*.el". (Bug#15170)
6035
e73c3a0d
GM
6036 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6037
415f808e
GM
60382013-08-30 Glenn Morris <rgm@gnu.org>
6039
6040 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6041 Fix is-this-a-directory logic. (Bug#15220)
6042
f069bba8
SM
60432013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6044
112798c1
SM
6045 * textmodes/css-mode.el: Use SMIE.
6046 (css-smie-grammar): New var.
6047 (css-smie--forward-token, css-smie--backward-token)
6048 (css-smie-rules): New functions.
6049 (css-mode): Use them.
6050 (css-navigation-syntax-table): Remove var.
6051 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6052 (css-indent-calculate, css-indent-line): Remove functions.
6053
6054 Misc changes to reduce use of `(lambda...); and other cleanups.
6055 * cus-edit.el: Use lexical-binding.
6056 (customize-push-and-save, customize-apropos)
6057 (custom-buffer-create-internal): Use closures.
6058 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6059 * progmodes/ada-xref.el: Use setq.
6060 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6061 * dframe.el: Use lexical-binding.
6062 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6063 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6064 * descr-text.el: Use lexical-binding.
6065 (describe-text-widget, describe-text-sexp, describe-property-list):
6066 Use closures.
6067 * comint.el (comint-history-isearch-push-state): Use a closure.
6068 * calculator.el: Use lexical-binding.
6069 (calculator-number-to-string): Make it work with lexical-binding.
6070 (calculator-funcall): Same and use cl-letf.
6071
2da4c3ab
SM
6072 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6073 (lisp--company-doc-string, lisp--company-location): New functions.
6074 (lisp-completion-at-point): Use them to improve Company support.
6075
f069bba8
SM
6076 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6077 params of lambda expressions.
6078 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6079 (ruby-smie--opening-pipe-p): New function.
6080 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6081 symbols and matched |...| for formal params.
6082 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6083 from being treated as hanging. Handle "rescue".
6084
6758b6a8
GM
60852013-08-29 Glenn Morris <rgm@gnu.org>
6086
6087 * progmodes/cc-engine.el (c-pull-open-brace):
6088 Move definition before use.
6089
e8dfd197
SM
60902013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6091
6092 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6093 are immutable. Don't use `unsafe' any more.
6094 (cl--defsubst-expand): Don't substitute at the same time as keeping
6095 a residual unused let-binding. Don't use `unsafe' any more.
6096
cc585c96
GM
60972013-08-29 Glenn Morris <rgm@gnu.org>
6098
ba579ea6
GM
6099 * calendar/cal-china.el (calendar-chinese-year-cache):
6100 Recenter on 2015.
6101
8201a87e
GM
6102 * nxml/nxml-util.el (nxml-debug-clear-inside):
6103 Use cl-loop rather than loop.
6104
6ee877c7
GM
6105 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6106
cc585c96
GM
6107 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6108
27be8d39
GM
61092013-08-28 Glenn Morris <rgm@gnu.org>
6110
397440a1
GM
6111 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6112
2bb762d4
GM
6113 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6114
27be8d39
GM
6115 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6116
2d69b99e
SM
61172013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6118
f663baa7
SM
6119 * simple.el (repeat-complex-command--called-interactively-skip):
6120 New function.
6121 (repeat-complex-command): Use it (bug#14136).
6122
dd4f8b74
SM
6123 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6124 (c-define-abbrev-table): Add `doc' argument.
6125 (c-mode-abbrev-table, c++-mode-abbrev-table)
6126 (objc-mode-abbrev-table, java-mode-abbrev-table)
6127 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6128 (awk-mode-abbrev-table): Use it.
6129 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6130 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6131 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6132 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6133 Move initialization into the declaration; and remove any
6134 autoload cookie.
6135
b58969f7
SM
6136 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6137 and dynamic let binding.
6138
4021d6a6
SM
6139 * vc/smerge-mode.el: Remove redundant :group args.
6140
2d69b99e
SM
6141 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6142 to load-path.
6143
274919fd
JL
61442013-08-28 Juri Linkov <juri@jurta.org>
6145
6146 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6147 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6148 (isearch-other-meta-char): Handle an undefined shifted printing
6149 character by downshifting it. (Bug#15200)
6150
121f8c95
JL
61512013-08-28 Juri Linkov <juri@jurta.org>
6152
6153 * isearch.el (isearch-search): Change regexp error message for
6154 non-regexp searches. (Bug#15166)
6155
50b13cde
PE
61562013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6157
6158 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6159 for portability to hosts where /bin/sh has problems.
6160
95888bca
SM
61612013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6162
6163 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6164
bbe558f1
JL
61652013-08-27 Juri Linkov <juri@jurta.org>
6166
6167 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6168 in the keyboard macro. (Bug#15126)
6169
26f98a7d
JL
61702013-08-27 Juri Linkov <juri@jurta.org>
6171
6172 * isearch.el (isearch-quote-char): Comment out converting unibyte
6173 to multibyte, thus syncing with its `quoted-insert' counterpart.
6174 (Bug#15166)
6175
7c97d35e
MR
61762013-08-27 Martin Rudalics <rudalics@gmx.at>
6177
6178 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
6179 argument in call of get-largest-window (Bug#15185).
6180 Reported by Stephen Leake.
7c97d35e 6181
a0b5606e 61822013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
6183
6184 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6185
9e89d835
SM
61862013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6187
6188 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6189 from a matcher-function unless there's no more matches (bug#15161).
6190
78fc2530
MA
61912013-08-26 Michael Albinus <michael.albinus@gmx.de>
6192
6193 * minibuffer.el: Revert change from 2013-08-20.
6194
6195 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6196 with text property `tramp-default', if appropriate.
6197 (tramp-check-proper-host): New defun.
6198 (tramp-dissect-file-name): Do not check hostname. Revert change
6199 of 2013-03-18.
6200 (tramp-backtrace): Make VEC-OR-PROC optional.
6201
6202 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6203 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6204 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
6205 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6206 Apply `tramp-check-proper-host'.
78fc2530 6207
edca97cd
TH
62082013-08-26 Tassilo Horn <tsdh@gnu.org>
6209
6210 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6211 lambda expression in order to have `describe-variable' display it.
6212
df54bcbd
MA
62132013-08-26 Michael Albinus <michael.albinus@gmx.de>
6214
6215 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6216 BUF can be optional. (Bug#15186)
6217
eed99101
XF
62182013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6219
6220 * progmodes/flymake.el (flymake-get-real-file-name-function):
6221 Fix broken customization. (Bug#15184)
6222
b5eb9035
AM
62232013-08-25 Alan Mackenzie <acm@muc.de>
6224
8a51e842
AM
6225 Improve indentation of bracelists defined by macros (without "=").
6226
6227 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6228 expansion begins with "{", regard it as bracelist when it doesn't
6229 contain a ";".
6230
869455d4
AM
6231 Parse C++ inher-intro when there's a template split over 2 lines.
6232
6233 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6234 rigorously the search for "class" etc. followed by ":".
6235
6236 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6237 random languages a regexp which never matches rather than nil.
6238
b5eb9035
AM
6239 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6240
6241 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6242 (c-awk-regexp-one-line-possibly-open-char-list-re)
6243 (c-awk-one-line-possibly-open-regexp-re)
6244 (c-awk-one-line-non-syn-ws*-re): Remove.
6245 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6246 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6247 (c-awk-space*-unclosed-regexp-/-re): New constants.
6248 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6249 aren't regexp delimiters.
6250
6251 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6252 handling for a rare situation in AWK Mode involving unterminated
6253 strings/regexps.
6254
61611d54
GM
62552013-08-23 Glenn Morris <rgm@gnu.org>
6256
2d85dc34
GM
6257 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6258
cb8d2612
GM
6259 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6260
bb35f42f
GM
6261 * files.el (create-file-buffer): If the result would begin with
6262 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 6263
b9808e77
SM
62642013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6265
e3a66363
SM
6266 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6267 text-properties (bug#15155).
6268
b9808e77
SM
6269 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6270 exist any more.
6271 (calc-keypad-redraw): Remove unused var `pad'.
6272 (calc-keypad-press): Remove unused var `menu'.
6273
7fd5f65e
MR
62742013-08-23 Martin Rudalics <rudalics@gmx.at>
6275
b9808e77
SM
6276 * window.el (display-buffer-pop-up-frame):
6277 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
6278 use it as the new frame's buffer (Bug#15133).
6279
8352b530
SM
62802013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6281
6282 * calendar/timeclock.el: Minor cleanups.
6283 (timeclock-ask-before-exiting, timeclock-use-display-time):
6284 Use `symbol'.
6285 (timeclock-modeline-display): Define as alias before the
6286 actual definition.
6287 (timeclock-mode-line-display): Use define-minor-mode.
6288 (timeclock-day-list-template): Make it a function, add an argument.
6289 (timeclock-day-list-required, timeclock-day-list-length)
6290 (timeclock-day-list-debt, timeclock-day-list-span)
6291 (timeclock-day-list-break): Adjust calls accordingly.
6292
9f7b1925
SM
62932013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6294
6295 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6296 Use read--expression so that completion works again.
6297
6e50e983
SS
62982013-08-21 Sam Steingold <sds@gnu.org>
6299
6300 Add rudimentary inferior shell interaction
6301 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6302 (sh-set-shell): Reset it.
9f7b1925
SM
6303 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6304 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 6305
dbb0d350
SM
63062013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6307
6308 * align.el: Use lexical-binding.
6309 (align-region): Simplify accordingly.
6310
c88586a9
MA
63112013-08-20 Michael Albinus <michael.albinus@gmx.de>
6312
6313 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6314
6315 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6316 `non-essential' up.
6317
f95527c8
MA
63182013-08-17 Michael Albinus <michael.albinus@gmx.de>
6319
6320 * net/tramp.el:
6321 * net/tramp-adb.el:
6322 * net/tramp-cmds.el:
6323 * net/tramp-ftp.el:
6324 * net/tramp-gvfs.el:
6325 * net/tramp-gw.el:
6326 * net/tramp-sh.el: Don't wrap external variable declarations by
6327 `eval-when-compile'.
6328
4b5fe4ee
LMI
63292013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6330
6331 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6332 now that Emacs supports ImageMagick animations.
6333
13c366c9
MA
63342013-08-16 Michael Albinus <michael.albinus@gmx.de>
6335
6336 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6337 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6338
3dfc5cd6
MR
63392013-08-16 Martin Rudalics <rudalics@gmx.at>
6340
6341 * window.el (mouse-autoselect-window-select): Do autoselect when
6342 mouse pointer is on margin.
6343
4bbb4381
WP
63442013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6345
6346 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6347
3a2ddc2d
GM
63482013-08-16 Glenn Morris <rgm@gnu.org>
6349
e8bedf5a
GM
6350 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6351 Handle "Remote Directory" response of some clients. (Bug#15058)
6352
58c4682f
GM
6353 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6354 Tweak warning. (Bug#14926)
6355
57953f49
GM
6356 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6357 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6358
3a2ddc2d
GM
6359 * image-mode.el (image-mode-map): Add menu items to reverse,
6360 increase, decrease, reset animation speed.
6361 (image--set-speed, image-increase-speed, image-decrease-speed)
6362 (image-reverse-speed, image-reset-speed): New functions.
6363 (image-mode-map): Add bindings for speed commands.
6364
6365 * image.el (image-animate-get-speed, image-animate-set-speed):
6366 New functions.
6367 (image-animate-timeout): Respect image :speed property.
6368
10fa0ed3
SM
63692013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6370
6371 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6372 previous line (bug#15101).
6373 (debugger-eval-expression, debugger-record-expression):
6374 Use read--expression (bug#15102).
6375
5d89d9d2
MA
63762013-08-15 Michael Albinus <michael.albinus@gmx.de>
6377
6378 Remove byte compiler warnings, visible when compiling with
6379 `byte-compile-force-lexical-warnings' set to t.
6380
6381 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6382 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6383 (tramp-handle-unhandled-file-name-directory)
6384 (tramp-handle-file-notify-add-watch, tramp-action-login)
6385 (tramp-action-succeed, tramp-action-permission-denied)
6386 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6387 arguments with "_".
6388
6389 * net/tramp-adb.el (tramp-adb-parse-device-names)
6390 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6391 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6392 (tramp-adb-handle-file-truename): Remove unused arguments.
6393
6394 * net/tramp-cache.el (tramp-flush-directory-property)
6395 (tramp-flush-connection-property, tramp-list-connections)
6396 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6397
10fa0ed3
SM
6398 * net/tramp-compat.el (tramp-compat-make-temp-file):
6399 Rename FILENAME to F.
5d89d9d2
MA
6400
6401 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6402 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6403 (tramp-zeroconf-parse-workstation-device-names)
6404 (tramp-zeroconf-parse-webdav-device-names)
6405 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6406
6407 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6408 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6409
6410 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6411 arguments.
6412 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6413 (tramp-sh-handle-insert-file-contents-literally)
6414 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6415 with "_".
6416 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6417 Remove unused variables.
6418
6419 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6420 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6421 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6422
6423 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6424 Make them a defconst.
6425 (tramp-uuencode-region): Remove unused variable.
6426
62f33bae
JB
64272013-08-14 Juanma Barranquero <lekktu@gmail.com>
6428
6429 * frameset.el (frameset--prop-setter): New function.
6430 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
6431 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6432 parameter was already set in FILTERED. Doc fix.
6433 (frameset--record-minibuffer-relationships): Allow saving a
6434 minibufferless frame without its corresponding minibuffer frame.
6435 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6436 frame, if the frame id matches.
6437 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6438 frames before orphaned ones.
6439 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 6440
c660a885
MR
64412013-08-14 Martin Rudalics <rudalics@gmx.at>
6442
6443 * window.el (window-make-atom): Don't overwrite parameter
6444 already present.
6445 (display-buffer-in-atom-window): Handle special case where we
6446 split an already atomic window.
6447 (window--major-non-side-window, display-buffer-in-side-window)
6448 (window--side-check): Ignore minibuffer window when walking
6449 window tree.
6450 (window-deletable-p): Return 'frame only if no other frame uses
6451 our minibuffer window.
6452 (record-window-buffer): Run buffer-list-update-hook.
6453 (split-window): Make sure window--check-frame won't destroy an
6454 existing atomic window in case the new window gets nested
6455 inside.
6456 (display-buffer-at-bottom): Ignore minibuffer window when
6457 walking window tree. Don't split a side window.
6458 (pop-to-buffer): Don't set-buffer here, the select-window call
6459 should do that.
6460 (mouse-autoselect-window-select): Autoselect only if we are in the
6461 text portion of the window.
6462
8259030d
LMI
64632013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6464
21c58ae2
LMI
6465 * net/shr.el (shr-parse-image-data): New function to grab both the
6466 data itself and the Content-Type.
6467 (shr-put-image): Use it.
6468
6469 * net/eww.el (eww-display-image): Ditto.
6470
8259030d
LMI
6471 * image.el (image-content-type-suffixes): New variable.
6472
ad756449
FEG
64732013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6474
6475 * progmodes/python.el (python-imenu--build-tree)
6476 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6477
f73f4ce6
XF
64782013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6479
6480 * simple.el (backward-word): Mention the optional argument.
6481
1f585e65
SM
64822013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6483
6484 * frameset.el (frameset--make): Rename constructor from make-frameset.
6485 (frameset-p, frameset-valid-p): Don't autoload.
6486 (frameset-valid-p): Use normal accessors.
6487
af1c6c84
GM
64882013-08-13 Glenn Morris <rgm@gnu.org>
6489
55e47f95
GM
6490 * progmodes/compile.el (compile-command): Tweak example in doc.
6491 * obsolete/scribe.el (scribe-mode):
6492 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6493
f0024d8c
GM
6494 * mail/feedmail.el (feedmail-confirm-outgoing)
6495 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6496
6497 * cus-start.el (truncate-partial-width-windows): Fix type.
6498
6499 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6500
af1c6c84
GM
6501 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6502
5514cc4c
SM
65032013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6504
6505 * emacs-lisp/timer.el (timer--time-setter): New function.
6506 (timer--time): Use it as gv-setter.
6507
6508 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6509 setter is not a symbol.
6510
7997a2f1
GJ
65112013-08-12 Grégoire Jadi <daimrod@gmail.com>
6512
6513 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6514 if sending fails. This makes debugging easier.
6515
01f1a9ab
JB
65162013-08-12 Juanma Barranquero <lekktu@gmail.com>
6517
6518 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6519 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6520 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6521
594a4307
EZ
65222013-08-12 Eli Zaretskii <eliz@gnu.org>
6523
6524 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6525
7a22490f 65262013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
6527
6528 * format.el (format-annotate-function):
6529 Handle read-only text properties in the source. (Bug#14887)
6530
3e41a054
LMI
65312013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6532
5514cc4c
SM
6533 * net/eww.el (eww-display-html): Ignore coding system errors.
6534 One web site uses "utf-8lias" as the coding system.
3e41a054 6535
7ec326db
JB
65362013-08-11 Juanma Barranquero <lekktu@gmail.com>
6537
6538 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6539
5660113b
JB
65402013-08-10 Juanma Barranquero <lekktu@gmail.com>
6541
9a4ebc74
JB
6542 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6543 (tutorial--detailed-help): Remove unused local variables.
6544 (tutorial--save-tutorial-to): Use ignore-errors.
6545 (help-with-tutorial): Use looking-at-p.
6546
6547 * view.el (view-buffer-other-window, view-buffer-other-frame):
6548 Mark unused arguments.
6549
6550 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6551 (woman-select-symbol-fonts, woman, woman-find-file)
6552 (woman-insert-file-contents, woman-non-underline-faces):
6553 Use string-match-p.
6554 (woman1-unquote): Move declaration.
6555
6556 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6557 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6558 argument. Remove unused local variable.
6559 (xml-parse-elem-type): Use string-match-p.
6560 (xml-substitute-numeric-entities): Use ignore-errors.
6561
45fdb482
JB
6562 * calculator.el (calculator): Mark unused argument.
6563 (calculator-paste, calculator-quit, calculator-integer-p):
6564 Use ignore-errors.
6565 (calculator-string-to-number, calculator-decimal, calculator-exp)
6566 (calculator-op-or-exp): Use string-match-p.
6567
6568 * dired.el (dired-buffer-more-recently-used-p): Declare.
6569 (dired-insert-set-properties, dired-insert-old-subdirs):
6570 Use ignore-errors.
6571
6572 * dired-aux.el (dired-compress): Use ignore-errors.
6573 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6574 (dired-do-async-shell-command, dired-do-shell-command)
6575 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6576 (dired-insert-subdir-validate): Use string-match-p.
6577 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6578 (dired-add-entry): Use string-match-p, looking-at-p.
6579 (dired-insert-subdir-newpos): Remove unused local variable.
6580
6581 * filenotify.el (file-notify-callback): Remove unused local variable.
6582
6583 * filesets.el (filesets-error): Mark unused argument.
6584 (filesets-which-command-p, filesets-filter-dir-names)
6585 (filesets-directory-files, filesets-get-external-viewer)
6586 (filesets-ingroup-get-data): Use string-match-p.
6587
6588 * find-file.el (ff-other-file-name, ff-other-file-name)
6589 (ff-find-the-other-file, ff-cc-hh-converter):
6590 Remove unused local variables.
6591 (ff-get-file-name): Use string-match-p.
6592 (ff-all-dirs-under): Use ignore-errors.
6593
6594 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6595 (follow-select-if-visible): Remove unused local variable.
6596
6597 * forms.el (read-file-filter): Move declaration.
6598 (forms--make-format, forms--make-parser, forms-insert-record):
6599 Quote function with #'.
6600 (forms--update): Use string-match-p. Quote function with #'.
6601
6602 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6603 (help-make-xrefs): Use looking-at-p.
6604 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6605
6606 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6607 (ibuffer-confirm-operation-on): Use string-match-p.
6608
6609 * msb.el (msb-item-handler, msb-dired-item-handler):
6610 Mark unused arguments.
6611
6612 * ses.el (ses-decode-cell-symbol)
6613 (ses-kill-override): Remove unused local variable.
6614 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6615 (ses-load): Use ignore-errors, looking-at-p.
6616 (ses-jump-safe): Use ignore-errors.
6617 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6618
6619 * tabify.el (untabify, tabify): Mark unused arguments.
6620
6621 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6622 Mark unused argument.
6623 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6624 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6625
c880af52
JB
6626 * emacs-lisp/timer.el (timer--time): Define setter with
6627 gv-define-setter to avoid deprecation warning.
6628
5660113b 6629 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 6630 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
6631 (cmpl-statistics-block): Remove (body was commented out).
6632 All callers changed.
6633 (add-completions-from-buffer, load-completions-from-file):
6634 Remove unused variables.
6635
156aab80
JB
66362013-08-09 Juanma Barranquero <lekktu@gmail.com>
6637
5c5dee78
JB
6638 * filecache.el (file-cache-delete-file-list):
6639 Print message only when told so.
6640 (file-cache-files-matching): Use #' in mapconcat argument.
6641
156aab80
JB
6642 * ffap.el (ffap-url-at-point): Fix reference to variable
6643 thing-at-point-default-mail-uri-scheme.
6644
ad9dcd70
SM
66452013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6646
54bd972f
SM
6647 * subr.el (define-error): New function.
6648 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6649 error-file-not-found and define with define-error.
6650 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6651 and define with define-error.
6652 * userlock.el (file-locked, file-supersession):
6653 * simple.el (mark-inactive):
6654 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6655 * progmodes/ada-mode.el (ada-mode-errors):
6656 * play/life.el (life-extinct):
6657 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6658 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6659 * nxml/rng-util.el (rng-error):
6660 * nxml/rng-uri.el (rng-uri-error):
6661 * nxml/rng-match.el (rng-compile-error):
6662 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6663 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6664 * nxml/nxml-rap.el (nxml-scan-error):
6665 * nxml/nxml-outln.el (nxml-outline-error):
6666 * net/soap-client.el (soap-error):
6667 * net/gnutls.el (gnutls-error):
6668 * net/ange-ftp.el (ftp-error):
6669 * mpc.el (mpc-proc-error):
6670 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6671 (json-number-format, json-string-escape, json-string-format)
6672 (json-key-format, json-object-format):
6673 * jka-compr.el (compression-error):
6674 * international/quail.el (quail-error):
6675 * international/kkc.el (kkc-error):
6676 * emacs-lisp/ert.el (ert-test-failed):
6677 * calc/calc.el (calc-error, inexact-result, math-overflow)
6678 (math-underflow):
6679 * bookmark.el (bookmark-error-no-filename):
6680 * epg.el (epg-error): Define with define-error.
6681
0ea9e53a
SM
6682 * time.el (display-time-event-handler)
6683 (display-time-next-load-average): Don't call sit-for since it seems
6684 unnecessary (bug#15045).
6685
b0429158
SM
6686 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6687 Use #' instead of ' to quote functions.
6688 (checkdoc-output-mode): Use setq-local.
6689 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6690 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6691 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6692 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6693 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6694 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6695 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6696 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6697
ad9dcd70
SM
6698 * ido.el (ido-completion-help): Fix up compiler warning.
6699
77187e6f
JB
67002013-08-09 Juanma Barranquero <lekktu@gmail.com>
6701
6702 * frameset.el (frameset-p): Add autoload cookie.
6703 (frameset--jump-to-register): New function, based on code moved from
6704 register.el.
6705 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6706
6707 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6708 (frameset-restore, frameset-save, frameset-session-filter-alist):
6709 Remove declarations.
6710 (register-alist): Doc fix.
6711 (frameset-to-register): Move to frameset.el.
6712 (jump-to-register, describe-register-1): Remove frameset-specific code.
6713
9d3aa82c
JB
67142013-08-08 Juanma Barranquero <lekktu@gmail.com>
6715
6716 * allout-widgets.el (allout-widgets-pre-command-business)
6717 (allout-widgets-post-command-business)
6718 (allout-widgets-after-change-handler)
6719 (allout-decorate-item-and-context, allout-set-boundary-marker)
6720 (allout-body-modification-handler)
6721 (allout-graphics-modification-handler): Mark ignored arguments.
6722 (allout-widgets-post-command-business)
6723 (allout-widgets-exposure-change-processor)
6724 (allout-widgets-exposure-undo-processor)
6725 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6726 (allout-parse-item-at-point, allout-decorate-item-guides)
6727 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6728 * allout.el (epa-passphrase-callback-function): Declare.
6729 (allout-overlay-insert-in-front-handler)
6730 (allout-overlay-interior-modification-handler)
6731 (allout-isearch-end-handler, allout-chart-siblings)
6732 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6733 (allout-yank-processing, allout-process-exposed)
6734 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 6735 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
6736 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6737 (lisp-indent-defform): Mark ignored arguments.
6738 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6739 (calculate-lisp-indent): Remove unused variables.
6740 * international/characters.el (indian-2-column, arabic-2-column)
6741 (tibetan): Mark ignored arguments.
6742 (use-cjk-char-width-table): Mark ignored arguments.
6743 Remove unused variables.
6744 * international/fontset.el (build-default-fontset-data)
6745 (x-compose-font-name, create-fontset-from-fontset-spec):
6746 Mark ignored arguments.
6747 (fontset-plain-name): Remove unused variables.
6748 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6749 (keyboard-coding-system): Mark ignored arguments.
6750 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6751 * help.el (resize-temp-buffer-window):
6752 * window.el (display-buffer-in-major-side-window)
6753 (display-buffer-in-side-window, display-buffer-in-previous-window):
6754 Remove unused variables.
6755 * isearch.el (isearch-forward-symbol):
6756 * version.el (emacs-bzr-version-bzr):
6757 * international/mule-cmds.el (current-language-environment):
6758 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6759 (x-handle-display):
6760 * term/pc-win.el (x-list-fonts, x-display-planes)
6761 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6762 (x-server-version, x-display-screens, x-display-mm-height)
6763 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6764 (x-selection-owner-p, x-own-selection-internal)
6765 (x-disown-selection-internal, x-get-selection-internal)
6766 (msdos-initialize-window-system):
6767 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6768 * term/x-win.el (x-handle-no-bitmap-icon):
6769 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6770 (vc-default-find-file-hook, vc-default-extra-menu):
6771 Mark ignored arguments.
6772
0ca3f70e
SM
67732013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6774
6775 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6776 break-condition in the context of the debugged code (bug#12685).
6777
74c5d24c
CS
67782013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6779
6780 * comint.el:
6781 Do not use an overlay to highlight the last prompt. (Bug#14744)
6782 (comint-mode): Make comint-last-prompt buffer local.
6783 (comint-last-prompt): New variable.
6784 (comint-last-prompt-overlay): Remove. Superseded by
6785 comint-last-prompt.
0ca3f70e
SM
6786 (comint-snapshot-last-prompt, comint-output-filter):
6787 Use comint-last-prompt.
74c5d24c 6788
c03c02ee
JB
67892013-08-08 Juanma Barranquero <lekktu@gmail.com>
6790
a3738d20 6791 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
6792 (frameset-save): Check validity of the resulting frameset.
6793
04263d23
XF
67942013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6795
6796 * ido.el (ido-record-command): Add doc string.
6797
76c5e5ab
JB
67982013-08-08 Juanma Barranquero <lekktu@gmail.com>
6799
6800 * frameset.el (frameset): Do not disable creation of the default
6801 frameset-p predicate. Doc fix.
6802 (frameset-valid-p): New function, copied from the old predicate-p.
6803 Add additional checks.
6804 (frameset-restore): Check with frameset-valid-p.
6805 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6806 (frameset-name, frameset-description, frameset-properties)
6807 (frameset-states): Add docstring.
f9dbf1cb
JB
6808 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6809 (frameset-filter-alist): Doc fixes.
76c5e5ab 6810
bd0c3c0b
JB
68112013-08-08 Juanma Barranquero <lekktu@gmail.com>
6812
6813 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6814
c735544c
SM
68152013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6816
6817 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6818 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6819 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6820 (byte-compile-normal-call): Remove obsolescence check.
6821
2805a651
JB
68222013-08-08 Juanma Barranquero <lekktu@gmail.com>
6823
3677ffeb
JB
6824 * frameset.el (frameset-restore): Doc fix.
6825
2805a651
JB
6826 * register.el (frameset-frame-id, frameset-frame-with-id)
6827 (frameset-p, frameset-restore, frameset-save): Declare.
6828 (register-alist): Document framesets.
6829 (frameset-session-filter-alist): Declare.
6830 (frameset-to-register): New function.
6831 (jump-to-register): Implement jumping to framesets. Doc fix.
6832 (describe-register-1): Describe framesets.
6833
6834 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6835
a912c016
JB
68362013-08-07 Juanma Barranquero <lekktu@gmail.com>
6837
6838 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6839 Use lexical-binding.
6840
6841 * frameset.el (frameset): Use type vector, not list (incompatible
6842 change). Do not declare a new constructor, use the default one.
6843 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6844 `name' and `description', respectively, and add read-only slot
6845 `timestamp'. Doc fixes.
6846 (frameset-copy, frameset-persistent-filter-alist)
6847 (frameset-filter-alist, frameset-switch-to-gui-p)
6848 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6849 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6850 (frameset-filter-iconified, frameset-keep-original-display-p):
6851 Doc fixes.
6852 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6853 Rename from frameset-filter-(save|restore)-param. All callers changed.
6854 Doc fix.
6855 (frameset-p): Adapt to change to vector and be more thorough.
6856 Change arg name to OBJECT. Doc fix.
6857 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6858 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6859 All callers changed.
6860 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6861 All callers changed.
6862 (frameset--record-minibuffer-relationships): Rename from
6863 frameset--process-minibuffer-frames. All callers changed.
6864 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6865 Use new default constructor (again). Doc fix.
6866 (frameset--find-frame-if): Rename from `frameset--find-frame.
6867 All callers changed.
6868 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6869 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6870 Doc fix.
6871 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6872 PARAMETERS and WINDOW-STATE, respectively.
6873 (frameset-restore): Add new keyword argument PREDICATE.
6874 Reset frameset--target-display to nil. Doc fix.
6875
bb41480a
SM
68762013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6877
f001e98e
SM
6878 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6879 (bat-mode): Use it.
6880 (bat-mode-syntax-table): Mark \n as end-of-comment.
6881 (bat-font-lock-keywords): Remove comment rule.
6882
7679edb1
SM
6883 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6884 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6885
bb41480a
SM
6886 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6887 (byte-compile-callargs-warn): Use `push'.
6888 (byte-compile-arglist-warn): Ignore higher-order "calls".
6889 (byte-compile-file-form-autoload): Use `pcase'.
6890 (byte-compile-function-form): If quoting a symbol, check that it exists.
6891
cdc1ebb9
EZ
68922013-08-07 Eli Zaretskii <eliz@gnu.org>
6893
6894 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6895 and add a few popular commands found in batch files.
6896 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6897 (dos-mode): Doc fixes.
6898
312b1740
SM
68992013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6900
6901 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6902 (dos-mode): Use setq-local. Add space after "rem".
6903 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6904 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6905
400a3178
AM
69062013-08-07 Arni Magnusson <arnima@hafro.is>
6907
6908 * progmodes/dos.el: New file.
6909 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6910 dos-mode.
6911
3b5c03d3
GM
69122013-08-06 Glenn Morris <rgm@gnu.org>
6913
6914 * calendar/calendar.el: Add new faces, and day-header-array.
6915 (calendar-weekday-header, calendar-weekend-header)
6916 (calendar-month-header): New faces.
6917 (calendar-day-header-construct): New function.
6918 (calendar-day-header-width): Also :set calendar-day-header-array.
6919 (calendar-american-month-header, calendar-european-month-header)
6920 (calendar-iso-month-header): Use calendar- faces.
6921 (calendar-generate-month):
6922 Use calendar-day-header-array for day headers; apply faces to them.
6923 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6924 (calendar-abbrev-construct): Add optional maxlen argument.
6925 (calendar-day-name-array): Doc fix.
6926 (calendar-day-name-array, calendar-abbrev-length)
6927 (calendar-day-abbrev-array):
6928 Also :set calendar-day-header-array, and maybe redraw.
6929 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 6930 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
6931 (calendar-day-name): Add option to use header array.
6932
ec6a2d7a
LMI
69332013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6934
6935 * net/shr.el (shr-render-td): Remove debugging.
6936 (shr-render-td): Make width computation consistent by defaulting
6937 all zero-width columns to 10 characters. This may not be optimal,
6938 but it's at least consistent.
2122cb6d
LMI
6939 (shr-make-table-1): Redo last change to fix the real problem in
6940 colspan handling.
ec6a2d7a 6941
ed4fd9c5
DA
69422013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6943
0ca3f70e
SM
6944 * files.el (cache-long-line-scans):
6945 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 6946
64e22afe
JB
69472013-08-06 Juanma Barranquero <lekktu@gmail.com>
6948
024b38fc
JB
6949 * frameset.el (frameset, frameset-filter-alist)
6950 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6951 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6952 (frameset-compute-pos): Rename from frameset--compute-pos,
6953 and add docstring.
6954 (frameset-move-onscreen): Use frameset-compute-pos.
6955 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6956
64e22afe
JB
6957 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6958 Fix typos in docstrings.
6959
c8c2aca8
DA
69602013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6961
6962 * frame.el (get-other-frame): Tiny cleanup.
6963
1d237bba
JB
69642013-08-06 Juanma Barranquero <lekktu@gmail.com>
6965
8951efef
JB
6966 * vc/vc.el (vc-default-ignore-completion-table):
6967 Silence byte-compiler warning.
6968
307764cc 6969 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 6970 slot, which can indeed be nil.
307764cc
JB
6971 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6972 Move entry for `left' from persistent to live filter alist.
6973 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6974 Doc fixes.
6975 (frameset-filter-params): When restoring a frame, copy items added to
6976 `filtered', to avoid unwittingly modifying the original parameters.
6977 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6978 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6979
1d237bba
JB
6980 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6981 to use looking-at-p instead of looking-at. (Bug#15028)
6982
dc6c0eda
SM
69832013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6984
6985 Revert introduction of isearch-filter-predicates (bug#14714).
6986 Rely on add-function instead.
6987 * isearch.el (isearch-filter-predicates): Rename it back to
6988 isearch-filter-predicate.
6989 (isearch-message-prefix): Use advice-function-mapc and advice
6990 properties to get the isearch-message-prefix.
6991 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6992 instead of run-hook-with-args-until-failure.
6993 (isearch-filter-visible): Not obsolete any more.
6994 * loadup.el: Preload nadvice.
6995 * replace.el (perform-replace): Revert to funcall
6996 instead of run-hook-with-args-until-failure.
6997 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6998 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6999 dired-isearch-filenames-toggle; make it into a proper minor mode.
7000 Use add/remove-function.
7001 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7002 Call the minor-mode rather than add/remove-hook.
7003 (dired-isearch-filter-filenames):
7004 Remove isearch-message-prefix property.
7005 * info.el (Info--search-loop): New function, extracted from Info-search.
7006 Funcall isearch-filter-predicate instead of
7007 run-hook-with-args-until-failure isearch-filter-predicates.
7008 (Info-search): Use it.
7009 (Info-mode): Use isearch-filter-predicate instead of
7010 isearch-filter-predicates.
7011
290d5b58
DA
70122013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7013
7014 Do not call to `selected-window' where it is assumed by default.
7015 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7016 `window-hscroll', `window-width', `window-height', `window-buffer',
7017 `window-frame', `window-start', `window-point', `next-window'
7018 and `window-display-table'.
7019 * abbrev.el (abbrev--default-expand):
7020 * bs.el (bs--show-with-configuration):
7021 * buff-menu.el (Buffer-menu-mouse-select):
7022 * calc/calc.el (calc):
7023 * calendar/calendar.el (calendar-generate-window):
7024 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7025 (diary-make-entry):
7026 * comint.el (send-invisible, comint-dynamic-complete-filename)
7027 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7028 * completion.el (complete):
7029 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7030 * disp-table.el (describe-current-display-table):
7031 * doc-view.el (doc-view-insert-image):
7032 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7033 * ehelp.el (with-electric-help):
7034 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7035 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7036 * emacs-lisp/helper.el (Helper-help-scroller):
7037 * emulation/cua-base.el (cua--post-command-handler-1):
7038 * eshell/esh-mode.el (eshell-output-filter):
7039 * ffap.el (ffap-gnus-wrapper):
7040 * help-macro.el (make-help-screen):
7041 * hilit-chg.el (highlight-compare-buffers):
7042 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7043 * hl-line.el (global-hl-line-highlight):
7044 * icomplete.el (icomplete-simple-completing-p):
7045 * isearch.el (isearch-done):
7046 * jit-lock.el (jit-lock-stealth-fontify):
7047 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 7048 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
7049 * mpc.el (mpc-tagbrowser, mpc):
7050 * net/rcirc.el (rcirc-any-buffer):
7051 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7052 * play/landmark.el (landmark-max-width, landmark-max-height):
7053 * play/zone.el (zone):
7054 * progmodes/compile.el (compilation-goto-locus):
7055 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7056 * progmodes/etags.el (find-tag-other-window):
7057 * progmodes/fortran.el (fortran-column-ruler):
7058 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7059 * progmodes/verilog-mode.el (verilog-point-text):
7060 * reposition.el (reposition-window):
7061 * rot13.el (toggle-rot13-mode):
7062 * server.el (server-switch-buffer):
7063 * shell.el (shell-dynamic-complete-command)
7064 (shell-dynamic-complete-environment-variable):
7065 * simple.el (insert-buffer, set-selective-display)
7066 (delete-completion-window):
7067 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7068 (speedbar-recenter):
7069 * startup.el (fancy-splash-head):
7070 * textmodes/ispell.el (ispell-command-loop):
7071 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7072 * tutorial.el (help-with-tutorial):
7073 * vc/add-log.el (add-change-log-entry):
7074 * vc/compare-w.el (compare-windows):
7075 * vc/ediff-help.el (ediff-indent-help-message):
7076 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7077 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7078 (ediff-setup-control-frame):
7079 * vc/emerge.el (emerge-position-region):
7080 * vc/pcvs-util.el (cvs-bury-buffer):
7081 * window.el (walk-windows, mouse-autoselect-window-select):
7082 * winner.el (winner-set-conf, winner-undo): Related users changed.
7083
38276e01
JB
70842013-08-05 Juanma Barranquero <lekktu@gmail.com>
7085
7086 * frameset.el (frameset--set-id): Doc fix.
7087 (frameset-frame-id, frameset-frame-id-equal-p)
7088 (frameset-locate-frame-id): New functions.
7089 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7090 (frameset-restore): Use them.
7091
12b4c0ea
DA
70922013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7093
7094 Do not call to `selected-frame' where it is assumed by default.
7095 Affected functions are `raise-frame', `redraw-frame',
7096 `frame-first-window', `frame-terminal' and `delete-frame'.
7097 * calendar/appt.el (appt-disp-window):
7098 * epg.el (epg-wait-for-completion):
7099 * follow.el (follow-delete-other-windows-and-split)
7100 (follow-avoid-tail-recenter):
7101 * international/mule.el (set-terminal-coding-system):
7102 * mail/rmail.el (rmail-mail-return):
7103 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7104 * progmodes/f90.el (f90-add-imenu-menu):
7105 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7106 * server.el (server-switch-buffer):
7107 * simple.el (delete-completion-window):
7108 * talk.el (talk):
7109 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7110 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7111 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7112 * vc/ediff.el (ediff-documentation): Related users changed.
7113 * frame.el (selected-terminal): Remove the leftover.
7114
17f25e76
GM
71152013-08-05 Glenn Morris <rgm@gnu.org>
7116
7117 * calendar/calendar.el (calendar-generate-month):
7118 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
7119 (calendar-generate-month, calendar-font-lock-keywords):
7120 Fix for calendar-day-header-width > length of any day name.
17f25e76 7121
063233c3
JB
71222013-08-05 Juanma Barranquero <lekktu@gmail.com>
7123
7124 * desktop.el (desktop-clear): Use new name of sort predicate.
7125
7126 * frameset.el (frameset): Add docstring. Move :version property to its
7127 own `version' slot.
7128 (frameset-copy): Rename from copy-frameset.
7129 (frameset-p): Check more thoroughly.
7130 (frameset-prop): Do not check for :version, which is no longer a prop.
7131 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7132 Use new :never value instead of t.
7133 (frameset-filter-alist): Expand and clarify docstring.
7134 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7135 (frameset-filter-minibuffer, frameset-filter-save-param)
7136 (frameset-filter-restore-param, frameset-filter-iconified):
7137 Add pointer to docstring of frameset-filter-alist.
7138 (frameset-filter-params): Rename filter values to be more meaningful:
7139 :never instead of t, and reverse the meanings of :save and :restore.
7140 (frameset--process-minibuffer-frames): Clarify error message.
7141 (frameset-save): Avoid unnecessary and confusing call to framep.
7142 Use new BOA constructor for framesets.
7143 (frameset--reuse-list): Doc fix.
7144 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7145 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7146 (frameset-minibufferless-first-p): Doc fix.
7147 Rename from frameset-sort-frames-for-deletion.
7148 (frameset-restore): Doc fixes. Use new function names.
7149 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7150
d5671a82
JB
71512013-08-04 Juanma Barranquero <lekktu@gmail.com>
7152
7153 * desktop.el (desktop-restore-forces-onscreen)
7154 (desktop-restore-reuses-frames): Document :keyword constant values.
7155 (desktop-filter-parameters-alist): Remove, now identical to
7156 frameset-filter-alist.
7157 (desktop--filter-tty*): Remove, moved to frameset.el.
7158 (desktop-save-frameset, desktop-restore-frameset):
7159 Do not pass :filters argument.
7160
7161 * frameset.el (frameset-live-filter-alist)
7162 (frameset-persistent-filter-alist): New variables.
7163 (frameset-filter-alist): Use them. Add autoload cookie.
7164 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7165 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7166 `frameset--id' (it's supposed to be internal to frameset.el).
7167 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7168 (frameset--initial-params): New function.
7169 (frameset--get-frame): Use it. Doc fix.
7170 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7171 Accept :all, not 'all.
7172 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7173 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7174 with fbound symbols. Fix frame id matching, and remove matching ids if
7175 the frame being restored is deleted. Obey :delete.
7176
671d5c16
SM
71772013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7178
7179 * subr.el (macrop): New function.
7180 (text-clone--maintaining): New var.
7181 (text-clone--maintain): Rename from text-clone-maintain. Use it
7182 instead of inhibit-modification-hooks.
7183
7184 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7185 a proxy, so as handle autoloads and redefinitions of the target.
7186 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7187
7188 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7189 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7190 (pcase--mutually-exclusive-p): New function.
7191 (pcase--split-consp): Use it.
7192 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7193 mutually exclusive with the current predicate.
7194
7195 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7196 (edebug-macrop): Remove. Use `macrop' instead.
7197 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7198 (ad-macro-p):
7199 * eshell/esh-cmd.el (eshell-macrop):
7200 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7201
1d44e9dc
SM
72022013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7203
7204 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7205 (advice-mapc): New function, using it.
7206 (advice-function-member-p): New function.
7207 (advice--normalize): Store the cdr in advice--saved-rewrite since
7208 that's the part that will be changed.
7209 (advice--symbol-function): New function.
7210 (advice-remove): Handle removal before the function is defined.
7211 Adjust to new advice--saved-rewrite.
7212 (advice-member-p): Use advice-function-member-p and
7213 advice--symbol-function.
7214
5414a283
JB
72152013-08-04 Juanma Barranquero <lekktu@gmail.com>
7216
51d30f2c
JB
7217 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7218 (frameset-filter-minibuffer): Doc fix.
7219 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
7220 (frameset--set-id, frameset--process-minibuffer-frames)
7221 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7222 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 7223
5414a283
JB
7224 * desktop.el (desktop-clear): Only delete frames when called
7225 interactively and desktop-restore-frames is non-nil. Doc fix.
7226 (desktop-read): Set desktop-saved-frameset to nil.
7227
ab419665
XF
72282013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7229
7230 * vc/vc.el (vc-ignore): Rewrite.
7231 (vc-default-ignore-completion-table):
7232 (vc--read-lines):
7233 (vc--add-line, vc--remove-regexp): New functions.
7234
7235 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7236 (vc-svn-ignore-completion-table): New function.
7237
7238 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7239 (vc-hg-ignore-completion-table):
7240 (vc-hg-find-ignore-file): New functions.
7241
7242 * vc/vc-git.el (vc-git-ignore): Rewrite.
7243 (vc-git-ignore-completion-table):
7244 (vc-git-find-ignore-file): New functions.
7245
7246 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7247
7248 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7249 (vc-bzr-ignore-completion-table):
7250 (vc-bzr-find-ignore-file): New functions.
7251
2613dea2
JB
72522013-08-03 Juanma Barranquero <lekktu@gmail.com>
7253
7254 * frameset.el (frameset-prop): New function and setter.
7255 (frameset-save): Do not modify frame list passed by the caller.
7256
9c959872
SM
72572013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7258
7259 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7260
a104f656
SM
72612013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7262
70122acf
SM
7263 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7264 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7265
a104f656
SM
7266 * custom.el (custom-initialize-default, custom-initialize-set)
7267 (custom-initialize-reset, custom-initialize-changed): Affect the
7268 toplevel-default-value (bug#6275, bug#14586).
7269 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7270 for bug#6275.
7271
f078d570
JB
72722013-08-02 Juanma Barranquero <lekktu@gmail.com>
7273
185e3b5a
JB
7274 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7275 Add cl-def* expressions.
7276
f078d570
JB
7277 * frameset.el (frameset-filter-params): Fix order of arguments.
7278
9421876d
JB
72792013-08-02 Juanma Barranquero <lekktu@gmail.com>
7280
7281 Move code related to saving frames to frameset.el.
7282 * desktop.el: Require frameset.
7283 (desktop-restore-frames): Doc fix.
7284 (desktop-restore-reuses-frames): Rename from
7285 desktop-restoring-reuses-frames.
7286 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7287 (desktop-clear): Clear frames too.
7288 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7289 (desktop--filter-tty*, desktop-save, desktop-read):
7290 Use frameset functions.
7291 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7292 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7293 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7294 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7295 (desktop--process-minibuffer-frames, desktop-save-frames)
7296 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7297 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7298 (desktop--sort-states, desktop-restoring-frames-p)
7299 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7300 (desktop-restoring-frameset-p, desktop-restore-frameset)
7301 (desktop--check-dont-save, desktop-save-frameset): New functions.
7302 (desktop--app-id): New constant.
7303 (desktop-first-buffer, desktop-buffer-ok-count)
7304 (desktop-buffer-fail-count): Move before first use.
7305 * frameset.el: New file.
7306
76dc5996
SM
73072013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7308
7309 * files.el: Use lexical-binding.
7310 (dir-locals-read-from-file): Remove unused `err' variable.
7311 (hack-dir-local-variables--warned-coding): New var.
7312 (hack-dir-local-variables): Use it to avoid repeated warnings.
7313 (make-backup-file-name--default-function): New function.
7314 (make-backup-file-name-function): Use it as default.
7315 (buffer-stale--default-function): New function.
7316 (buffer-stale-function): Use it as default.
7317 (revert-buffer-insert-file-contents--default-function): New function.
7318 (revert-buffer-insert-file-contents-function): Use it as default.
7319 (insert-directory): Avoid add-to-list.
7320
7321 * autorevert.el (auto-revert-handler): Simplify.
7322 Use buffer-stale--default-function.
7323
06d36e2b
TH
73242013-08-01 Tassilo Horn <tsdh@gnu.org>
7325
5f648ab4
TH
7326 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7327
06d36e2b
TH
7328 * whitespace.el (whitespace-ensure-local-variables): New function.
7329 (whitespace-cleanup-region): Call it.
7330 (whitespace-turn-on): Call it.
7331
a43dc424
MA
73322013-08-01 Michael Albinus <michael.albinus@gmx.de>
7333
7334 Complete file name handlers.
7335
7336 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7337 (tramp-handle-verify-visited-file-modtime)
7338 (tramp-handle-file-notify-rm-watch): New functions.
7339 (tramp-call-process): Do not bind `default-directory'.
7340
44e18199
JB
7341 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7342 Order alphabetically.
a43dc424
MA
7343 [access-file, add-name-to-file, dired-call-process]:
7344 [dired-compress-file, file-acl, file-notify-rm-watch]:
7345 [file-ownership-preserved-p, file-selinux-context]:
7346 [make-directory-internal, make-symbolic-link, set-file-acl]:
7347 [set-file-selinux-context, set-visited-file-modtime]:
7348 [verify-visited-file-modtime]: Add handler.
7349 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7350
7351 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7352 [file-notify-add-watch, file-notify-rm-watch]:
7353 [set-file-times, set-visited-file-modtime]:
7354 [verify-visited-file-modtime]: Add handler.
7355 (with-tramp-gvfs-error-message)
7356 (tramp-gvfs-handle-set-visited-file-modtime)
7357 (tramp-gvfs-fuse-file-name): Remove.
7358 (tramp-gvfs-handle-file-notify-add-watch)
7359 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7360 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7361
44e18199
JB
7362 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7363 Order alphabetically.
a43dc424
MA
7364 [file-notify-rm-watch ]: Use default Tramp handler.
7365 [executable-find]: Remove private handler.
7366 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7367 `default-directory'.
7368 (tramp-sh-handle-executable-find)
7369 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7370 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7371 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7372 Do not use `format' in `tramp-message'.
7373
7374 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7375 [file-notify-rm-watch, set-visited-file-modtime]:
7376 [verify-visited-file-modtime]: Add handler.
7377 (tramp-smb-call-winexe): Do not bind `default-directory'.
7378
7188b515
XF
73792013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7380
7381 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7382
2412ee1a
DG
73832013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7384
7385 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7386 use it.
7387 (log-view-diff-changeset): Same.
7388 (log-view-diff-common): Call backend command `previous-revision'
7389 to find out the previous revision, in both cases. Swap the
7390 variables `to' and `fr', so that `fr' usually refers to the
7391 earlier revision (Bug#14989).
7392
5002a754
KRC
73932013-07-31 Kan-Ru Chen <kanru@kanru.info>
7394
7395 * ibuf-ext.el (ibuffer-filter-by-filename):
7396 Make it work with dired buffers too.
7397
44e18199 73982013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
7399
7400 * emacs-lisp/re-builder.el (reb-color-display-p):
7401 * files.el (save-buffers-kill-terminal):
7402 * net/browse-url.el (browse-url):
7403 * server.el (server-save-buffers-kill-terminal):
7404 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7405 Prefer nil to selected-frame for the first arg of frame-parameter.
7406
aeca3fbb
XF
74072013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7408
7409 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7410
158bc55c
SB
74112013-07-30 Stephen Berman <stephen.berman@gmx.net>
7412
7413 * minibuffer.el (completion--twq-all): Try and preserve each
7414 completion's case choice (bug#14907).
7415
d50fceab
LMI
74162013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7417
ac38e731
LMI
7418 * net/network-stream.el (open-network-stream): Mention the new
7419 :nogreeting parameter.
7420 (network-stream-open-starttls): Use the :nogreeting parameter
7421 (bug#14938).
7422
1211de50
LMI
7423 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7424
997798bf
LMI
7425 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7426 more natural than popping.
7427
d50fceab 7428 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 7429 (shr-urlify): Highlight under mouse.
d50fceab 7430
5c09de04
XF
74312013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7432
207d1d04
XF
7433 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7434
7435 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7436
5c09de04
XF
7437 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7438 buffer for output.
7439
3cd51eaa
XF
7440 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7441 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 7442
44e18199 7443 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 7444 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
7445
7446 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7447
7448 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7449 buffer for output.
7450
35a89bdd
EZ
74512013-07-29 Eli Zaretskii <eliz@gnu.org>
7452
7453 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7454 initial frame is minibuffer-less. (Bug#14841)
7455
78822e94
MA
74562013-07-29 Michael Albinus <michael.albinus@gmx.de>
7457
7458 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7459 option.
7460
7461 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7462 (tramp-maybe-open-connection): Use it.
7463
9503c190
JB
74642013-07-28 Juanma Barranquero <lekktu@gmail.com>
7465
7466 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7467 minimal set of parameters passed when creating a frame, because
7468 the minibuffer status of a frame cannot be changed later.
7469
d5a845b4
SB
74702013-07-28 Stephen Berman <stephen.berman@gmx.net>
7471
7472 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7473 replace-regexp-in-string and inadvertent omissions in previous change.
7474 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 7475 name of filtered items buffer.
d5a845b4 7476
ddeffb17
JB
74772013-07-28 Juanma Barranquero <lekktu@gmail.com>
7478
7479 * desktop.el: Optionally force offscreen frames back onscreen.
7480 (desktop-restoring-reuses-frames): New option.
7481 (desktop--compute-pos, desktop--move-onscreen): New functions.
7482 (desktop--make-frame): Use desktop--move-onscreen.
7483
f5950f7a
AM
74842013-07-27 Alan Mackenzie <acm@muc.de>
7485
7486 Fontify a Java generic method as a function.
7487 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7488 value to t.
7489
ae43b66a
SB
74902013-07-27 Stephen Berman <stephen.berman@gmx.net>
7491
7492 * calendar/todo-mode.el: Add command to rename todo files.
7493 (todo-rename-file): New command.
7494 (todo-key-bindings-t): Add key binding for it. Change the
7495 bindings of todo-filter-regexp-items(-multifile) to use `x'
7496 instead of `r', since the latter is better suited to the new
7497 renaming command.
7498
5ab78d3d
AM
74992013-07-27 Alan Mackenzie <acm@muc.de>
7500
7501 Make Java try-with-resources statement parse properly.
7502 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7503 (c-block-stmt-1-2-key): New language constants/variables.
7504 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7505 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7506 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 7507 with c-block-stmt-1-2-key.
5ab78d3d 7508
d85c4d50
JB
75092013-07-27 Juanma Barranquero <lekktu@gmail.com>
7510
7511 * desktop.el (desktop--make-frame): Apply most frame parameters after
7512 creating the frame to force (partially or totally) offscreen frames to
7513 be restored as such.
7514
e4c467f9
XF
75152013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7516
7517 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 7518 (Bug#14948)
e4c467f9 7519
7ced0d04
SM
75202013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7521
7522 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7523 `base' arg of backtrace-frame.
7524
fec92060
EZ
75252013-07-26 Eli Zaretskii <eliz@gnu.org>
7526
7527 * simple.el (list-processes): Doc fix.
7528
d58d31fb
JB
75292013-07-26 Juanma Barranquero <lekktu@gmail.com>
7530
7531 * desktop.el (desktop--select-frame):
d85c4d50 7532 Try harder to reuse existing frames.
d58d31fb 7533
53ff3e77
SM
75342013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7535
7536 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7537 (edebug-eval): Use backtrace-eval.
7538 (edebug--display, edebug--recursive-edit): Don't let-bind the
7539 edebug-outer-* vars that keep track of variables we locally let-bind.
7540 (edebug-outside-excursion): Don't restore outside values of locally
7541 let-bound vars.
7542 (edebug--display): Use user-error.
7543 (cl-lexical-debug, cl-debug-env): Remove.
7544
045f7a53
JB
75452013-07-26 Juanma Barranquero <lekktu@gmail.com>
7546
7547 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7548 are restored to be sure that they are visible before deleting any
7549 remaining ones.
7550
59070b32
MM
75512013-07-26 Matthias Meulien <orontee@gmail.com>
7552
742a3501
XF
7553 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7554 vc-print-root-log. (Bug#14948)
59070b32 7555
b1fb3596
RS
75562013-07-26 Richard Stallman <rms@gnu.org>
7557
7558 Add aliases for encrypting mail.
7559 * epa.el (epa-mail-aliases): New option.
7560 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7561 Bind inhibit-read-only so read-only text doesn't ruin everything.
7562 (epa-mail-default-recipients): New subroutine broken out.
7563 Handle epa-mail-aliases.
7564
56ea7291
SM
75652013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7566
7567 Add support for lexical variables to the debugger's `e' command.
7568 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7569 vars, except for debugger-outer-match-data.
7570 (debugger-frame-number): Move check for "on a function call" from
7571 callers into it. Add `skip-base' argument.
7572 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7573 (debugger-env-macro): Only reset the state stored in non-variables,
7574 i.e. current-buffer and match-data.
7575 (debugger-eval-expression): Rewrite using backtrace-eval.
7576 * subr.el (internal--called-interactively-p--get-frame): Remove.
7577 (called-interactively-p):
7578 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7579 `base' arg of backtrace-frame instead.
7580
15ac32d5
GM
75812013-07-26 Glenn Morris <rgm@gnu.org>
7582
8358a09d
GM
7583 * align.el (align-regexp): Doc fix. (Bug#14857)
7584 (align-region): Explicit error if subexpression missing/does not match.
7585
15ac32d5
GM
7586 * simple.el (global-visual-line-mode):
7587 Do not duplicate the mode lighter. (Bug#14858)
7588
f47ad11b
MR
75892013-07-25 Martin Rudalics <rudalics@gmx.at>
7590
7591 * window.el (display-buffer): In display-buffer bind
7592 split-window-keep-point to t, bug#14829.
7593
02530987
JB
75942013-07-25 Juanma Barranquero <lekktu@gmail.com>
7595
7596 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7597 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7598 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7599 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7600 Change accordingly.
f63ebeb5
JB
7601 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7602 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 7603
6ccb9cab 76042013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 7605
6ccb9cab 7606 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 7607
cb3a56d2
JB
76082013-07-25 Juanma Barranquero <lekktu@gmail.com>
7609
7610 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7611 parameter to modify-frame-parameters if the value has not changed;
7612 this is a workaround for bug#14949.
7613 (desktop--make-frame): On cl-delete-if call, check parameter name,
7614 not full parameter.
7615
7aa7fff0
XF
76162013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7617
7618 * vc/vc.el (vc-ignore): New function.
7619
7620 * vc/vc-svn.el (vc-svn-ignore): New function.
7621
7622 * vc/vc-hg.el (vc-hg-ignore): New function.
7623
7624 * vc/vc-git.el (vc-git-ignore): New function.
7625
7626 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7627 (vc-dir-ignore): New function.
7628
7629 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 7630 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
7631
7632 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7633
7634 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7635
889acc5c
JB
76362013-07-24 Juanma Barranquero <lekktu@gmail.com>
7637
7638 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7639 (desktop-restore-frames): Warn when deleting an existing frame failed.
7640
86c40970
GM
76412013-07-24 Glenn Morris <rgm@gnu.org>
7642
7643 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7644
d5d3c58a
MA
76452013-07-24 Michael Albinus <michael.albinus@gmx.de>
7646
7647 * filenotify.el (file-notify-supported-p):
7648 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7649 Remove functions.
7650
7651 * autorevert.el (auto-revert-use-notify):
7652 (auto-revert-notify-add-watch):
7653 * net/tramp.el (tramp-file-name-for-operation):
7654 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7655 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7656 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7657 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7658 Remove `file-notify-supported-p' entry.
7659
d100084b
GM
76602013-07-24 Glenn Morris <rgm@gnu.org>
7661
7662 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 7663 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 7664
ac93e56b
SM
76652013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7666
249eea30
SM
7667 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7668 checked with memq (bug#14935).
7669
ac93e56b
SM
7670 * files.el (revert-buffer-function): Use a non-nil default.
7671 (revert-buffer-preserve-modes): Declare var to
7672 provide access to the `preserve-modes' argument.
7673 (revert-buffer): Let-bind it.
7674 (revert-buffer--default): New function, extracted from revert-buffer.
7675
2cdeb903
SM
76762013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7677
7678 * lpr.el: Signal print errors more prominently.
7679 (print-region-function): Don't default to nil.
7680 (lpr-print-region): New function, extracted from print-region-1.
7681 Check lpr's return value and signal an error in case of problem.
7682 (print-region-1): Use it.
7683 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7684 versions instead.
7685 (ps-printer-name): Default to nil.
7686 (ps-printer-name-option): Default to lpr-printer-switch.
7687 (ps-print-region-function): Don't default to nil.
7688 (ps-postscript-code-directory): Simplify default.
7689 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7690 (ps-string-list, ps-eval-switch, ps-flatten-list)
7691 (ps-flatten-list-1): Remove.
7692 (ps-multibyte-buffer): Avoid setq.
7693 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7694 (print-region-function, ps-print-region-function): Don't set them here.
7695
73600831
XF
76962013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7697
0e55c076
XF
7698 * ido.el (ido-fractionp):
7699 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7700 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7701 (ido-max-directory-size, ido-max-dir-file-cache)
7702 (ido-decorations): Doc fix.
7703
73600831
XF
7704 * ansi-color.el: Fix old URL.
7705
3d012865
MM
77062013-07-23 Michael R. Mauger <michael@mauger.com>
7707
e903c210 7708 * progmodes/sql.el: Version 3.3
3d012865
MM
7709 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7710 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7711 (sql-interactive-remove-continuation-prompt): Rewrite, use
7712 functions above. Fix continuation prompt and complete output line
7713 handling.
7714 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7715 redirected output buffer.
7716 (sql-mode): Restore deleted code (Bug#13591).
7717
da77a2e2
JB
77182013-07-23 Juanma Barranquero <lekktu@gmail.com>
7719
7720 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7721
80ff0c71
MA
77222013-07-23 Michael Albinus <michael.albinus@gmx.de>
7723
7724 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7725
7726 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7727 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7728 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7729
b61d71e4
JB
77302013-07-23 Juanma Barranquero <lekktu@gmail.com>
7731
7732 * desktop.el (desktop-clear): Simplify; remove useless checks
7733 against invalid buffer names.
7734 (desktop-list*): Use cl-list*.
7735 (desktop-buffer-info, desktop-create-buffer): Simplify.
7736
c3512092
LL
77372013-07-23 Leo Liu <sdl.web@gmail.com>
7738
7739 * bookmark.el (bookmark-make-record): Restore NAME as a default
7740 value. (Bug#14933)
7741
0ac26976
SM
77422013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7743
7d22ce18
SM
7744 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7745 extracted from autoload--insert-text.
7746 (autoload--insert-text): Remove.
7747 (autoload--print-cookie-text): New function, extracted from
7748 autoload--insert-cookie-text.
7749 (autoload--insert-cookie-text): Remove.
7750 (autoload-generate-file-autoloads): Adjust calls accordingly.
7751
9b2607e8
SM
7752 * winner.el (winner-hook-installed-p): Remove.
7753 (winner-mode): Simplify accordingly.
7754
c43a8618
SM
7755 * subr.el (add-to-list): Fix compiler-macro when `append' is
7756 not constant. Don't use `cl-member' for the base case.
7757
0ac26976
SM
7758 * progmodes/subword.el: Fix boundary case (bug#13758).
7759 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7760 own group.
7761 (subword-backward-regexp): Make it a constant.
7762 (subword-forward-internal): Don't treat a trailing capital as the
7763 beginning of a word.
7764
6874724a
AR
77652013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7766
7767 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7768 global value of tabulated-list-revert-hook (bug#14930).
7769
70f1b5e8
JB
77702013-07-22 Juanma Barranquero <lekktu@gmail.com>
7771
a1c80d9d
JB
7772 * desktop.el: Require 'cl-lib.
7773 (desktop-before-saving-frames-functions): New hook.
7774 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7775 for frames being saved. Rename from desktop--save-minibuffer-frames.
7776 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
7777 Do not save frames with non-nil `desktop-dont-save' parameter.
7778 Filter out deleted frames.
a1c80d9d
JB
7779 (desktop--find-frame): Use cl-find-if.
7780 (desktop--select-frame): Use cl-(first|second|third) to access values
7781 of desktop-mini.
7782 (desktop--make-frame): Use cl-delete-if.
7783 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7784 (desktop-restore-frames): Use cl-(first|second|third) to access values
7785 of desktop-mini. Look for visible frame at the end, not while
7786 restoring frames.
7787
70f1b5e8
JB
7788 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7789 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7790 Use string-match-p, looking-at-p (bug#14927).
7791
728dc3cc
JB
77922013-07-21 Juanma Barranquero <lekktu@gmail.com>
7793
56bc453c
JB
7794 * desktop.el (desktop-saved-frame-states):
7795 Rename from desktop--saved-states; all users changed.
7796 (desktop-save-frames): Rename from desktop--save-frames.
7797 Do not save state to desktop file.
7798 (desktop-save): Save desktop-saved-frame-states to desktop file
7799 and reset to nil.
7800 (desktop-restoring-frames-p): New function.
7801 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7802 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7803 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7804
728dc3cc
JB
7805 * desktop.el: Correctly restore iconified frames.
7806 (desktop--filter-iconified-position): New function.
7807 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7808
862f1c9c
GM
78092013-07-20 Glenn Morris <rgm@gnu.org>
7810
c4074c9f
GM
7811 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7812 Let `message' do the formatting.
7813 (def-gdb-preempt-display-buffer): Add explicit format.
7814
d828e5f9
GM
7815 * image-dired.el (image-dired-track-original-file):
7816 Use with-current-buffer.
7817 (image-dired-track-thumbnail): Use with-current-buffer.
7818 Avoid changing point of wrong window.
7819
862f1c9c
GM
7820 * image-dired.el (image-dired-track-original-file):
7821 Avoid changing point of wrong window. (Bug#14909)
7822
f0398ec1 78232013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
7824
7825 * progmodes/gdb-mi.el (gdb-done-or-error):
7826 Guard against "%" in gdb output. (Bug#14127)
7827
1451928f
AS
78282013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7829
763a086d
JB
7830 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7831 (Bug#14826)
f7a03897 7832
1451928f
AS
7833 * international/mule.el (coding-system-iso-2022-flags): Fix last
7834 change.
7835
99107004
KH
78362013-07-20 Kenichi Handa <handa@gnu.org>
7837
763a086d
JB
7838 * international/mule.el (coding-system-iso-2022-flags):
7839 Add `8-bit-level-4'. (Bug#8522)
99107004 7840
48494e06
LMI
78412013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7842
8ba8eec5
LMI
7843 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7844 (bug#14815).
7845
dfbc66e3
LMI
7846 * net/eww.el (eww-process-text-input): Allow inputting when the
7847 point is at the start of the line, as the properties aren't
7848 front-sticky.
7849
48494e06
LMI
7850 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7851 degenerate widths.
7852
77c92cb9
RS
78532013-07-19 Richard Stallman <rms@gnu.org>
7854
aec7da77
RS
7855 * epa.el (epa-popup-info-window): Doc fix.
7856
77c92cb9
RS
7857 * subr.el (split-string): New arg TRIM.
7858
945c5bb1
JB
78592013-07-18 Juanma Barranquero <lekktu@gmail.com>
7860
7861 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7862 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7863
e06ec67f
MA
78642013-07-18 Michael Albinus <michael.albinus@gmx.de>
7865
c7064f05 7866 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
7867 `file-notify-support'. Do not autoload. Adapt all uses.
7868 (file-notify-supported-p): New defun.
7869
c7064f05
JB
7870 * autorevert.el (auto-revert-use-notify):
7871 Use `file-notify-supported-p' instead of `file-notify-support'.
7872 Adapt docstring.
e06ec67f
MA
7873 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7874
7875 * net/tramp.el (tramp-file-name-for-operation):
7876 Add `file-notify-supported-p'.
7877
7878 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7879 New defun.
7880 (tramp-sh-file-name-handler-alist): Add it as handler for
7881 `file-notify-supported-p '.
7882
7883 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7884 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7885 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7886 Add `ignore' as handler for `file-notify-*' functions.
7887
5dc8a629
EZ
78882013-07-17 Eli Zaretskii <eliz@gnu.org>
7889
7890 * simple.el (line-move-partial, line-move): Don't start vscroll or
7891 scroll-up if the current line is not taller than the window.
7892 (Bug#14881)
7893
77aea2fb
DG
78942013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7895
7896 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7897 highlight question marks in the method names as strings.
ac72c08d
DG
7898 (ruby-block-beg-keywords): Inline.
7899 (ruby-font-lock-keyword-beg-re): Extract from
7900 `ruby-font-lock-keywords'.
77aea2fb 7901
18c26d81
JD
79022013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7903
7904 * frame.el (blink-cursor-blinks): New defcustom.
7905 (blink-cursor-blinks-done): New defvar.
7906 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7907 (blink-cursor-timer-function): Check if number of blinks has been
7908 done on X and NS.
7909 (blink-cursor-suspend, blink-cursor-check): New defuns.
7910
da48522e
GM
79112013-07-15 Glenn Morris <rgm@gnu.org>
7912
7913 * edmacro.el (edmacro-format-keys): Fix previous change.
7914
0463c1ef
PE
79152013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7916
7917 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7918 The hack didn't work outside English locales anyway.
7919
b43f6451
JB
79202013-07-15 Juanma Barranquero <lekktu@gmail.com>
7921
7922 * simple.el (define-alternatives): Rename from alternatives-define,
7923 per RMS' suggestion.
7924
b958c0ad
JB
79252013-07-14 Juanma Barranquero <lekktu@gmail.com>
7926
7927 * desktop.el (desktop-restore-frames): Change default to t.
7928 (desktop-restore-in-current-display): Now offer more options.
7929 (desktop-restoring-reuses-frames): New customization option.
7930 (desktop--saved-states): Doc fix.
7931 (desktop-filter-parameters-alist): New variable, renamed and expanded
7932 from desktop--excluded-frame-parameters.
7933 (desktop--target-display): New variable.
7934 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7935 (desktop--filter-tty*, desktop--filter-*-color)
7936 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7937 (desktop--filter-save-desktop-parm)
7938 (desktop-restore-in-original-display-p): New functions.
7939 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7940 (desktop--save-minibuffer-frames): New function, inspired by a similar
7941 function from Martin Rudalics.
7942 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7943 (desktop--restore-in-this-display-p): Remove.
7944 (desktop--find-frame): Rename from desktop--find-frame-in-display
7945 and add predicate argument.
7946 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7947 (desktop--reuse-list): New variable.
7948 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7949 New functions.
7950 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7951
f6dd8b36
MA
79522013-07-14 Michael Albinus <michael.albinus@gmx.de>
7953
7954 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7955
2ce3c565
DG
79562013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7957
763a086d
JB
7958 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7959 Highlight conversion methods on Kernel.
2ce3c565 7960
2cdb7698
AM
79612013-07-13 Alan Mackenzie <acm@muc.de>
7962
7963 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7964 and comment it out. This out-commenting enables certain C++
7965 declarations to be parsed correctly.
7966
1a67b811
EZ
79672013-07-13 Eli Zaretskii <eliz@gnu.org>
7968
1b796d6b
EZ
7969 * international/mule.el (define-coding-system): Doc fix.
7970
1a67b811
EZ
7971 * simple.el (default-font-height): Don't call font-info if the
7972 frame's default font didn't change since the frame was created.
7973 (Bug#14838)
7974
58fbe886
LL
79752013-07-13 Leo Liu <sdl.web@gmail.com>
7976
7977 * ido.el (ido-read-file-name): Guard against non-symbol value.
7978
1f0480d4
FEG
79792013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7980
7981 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7982 in nested defuns.
7983
97ead0e5
LL
79842013-07-13 Leo Liu <sdl.web@gmail.com>
7985
7986 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7987 ido-set-matches call. (Bug#6852)
7988
0880a952
DG
79892013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7990
7991 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7992 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7993 Ruby 2.0.
7994 (ruby-font-lock-keywords): Distinguish calls to functions with
7995 module-like names from module references. Highlight character
7996 literals.
7997
a7d8babb
SDJ
79982013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7999
8000 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 8001 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 8002
acfcc8c5
JB
80032013-07-12 Juanma Barranquero <lekktu@gmail.com>
8004
8005 * desktop.el (desktop--v2s): Remove unused local variable.
8006 (desktop-save-buffer): Make defvar-local; adjust docstring.
8007 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8008 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8009
051f2775
AS
80102013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8011
8012 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8013
f24e7572
GM
80142013-07-12 Eli Zaretskii <eliz@gnu.org>
8015
8016 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8017 (Bug#14842)
8018
539a920c
GM
80192013-07-12 Glenn Morris <rgm@gnu.org>
8020
8021 * doc-view.el: Require cl-lib at runtime too.
8022 (doc-view-remove-if): Remove.
8023 (doc-view-search-next-match, doc-view-search-previous-match):
8024 Use cl-remove-if.
8025
8026 * edmacro.el: Require cl-lib at runtime too.
8027 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8028 (edmacro-mismatch, edmacro-subseq): Remove.
8029
8030 * shadowfile.el: Require cl-lib.
8031 (shadow-remove-if): Remove.
8032 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8033 Use cl-remove-if.
8034
8035 * wid-edit.el: Require cl-lib.
8036 (widget-choose): Use cl-remove-if.
8037 (widget-remove-if): Remove.
8038
8039 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8040 (ebrowse-delete-if-not): Remove.
8041 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8042 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8043 Use cl-delete-if-not.
8044
1048af7c
JB
80452013-07-12 Juanma Barranquero <lekktu@gmail.com>
8046
8047 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8048 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8049
6c0674ee
LL
80502013-07-12 Leo Liu <sdl.web@gmail.com>
8051
8052 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8053
a19b3c2d
GM
80542013-07-11 Glenn Morris <rgm@gnu.org>
8055
4582a01c
GM
8056 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8057 (edebug-gensym-index, edebug-gensym):
8058 Remove reimplementation of cl-gensym.
8059 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8060
8061 * thumbs.el: Require cl-lib at run-time too.
8062 (thumbs-gensym-counter, thumbs-gensym):
8063 Remove reimplementation of cl-gensym.
8064 (thumbs-temp-file): Use cl-gensym.
8065
a19b3c2d
GM
8066 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8067 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8068 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8069 (ert--union, ert--gensym-counter, ert--gensym-counter)
8070 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8071 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8072 (ert-make-test-unbound, ert--expand-should-1)
8073 (ert--expand-should, ert--should-error-handle-error)
8074 (should-error, ert--explain-equal-rec)
8075 (ert--plist-difference-explanation, ert-select-tests)
8076 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8077 Use cl-lib functions rather than reimplementations.
8078
88f6a933
MA
80792013-07-11 Michael Albinus <michael.albinus@gmx.de>
8080
8081 * net/tramp.el (tramp-methods): Extend docstring.
8082 (tramp-connection-timeout): New defcustom.
8083 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8084 (with-tramp-progress-reporter): Simplify.
8085 (tramp-process-actions): Improve messages.
8086
8087 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8088 * net/tramp-sh.el (tramp-maybe-open-connection):
8089 Use `tramp-connection-timeout'.
8090 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8091 (Bug#14808)
8092
a43d577e
LL
80932013-07-11 Leo Liu <sdl.web@gmail.com>
8094
8095 * ido.el (ido-read-file-name): Conform to the requirements of
8096 read-file-name. (Bug#11861)
8097 (ido-read-directory-name): Conform to the requirements of
8098 read-directory-name.
8099
d77974bf
JB
81002013-07-11 Juanma Barranquero <lekktu@gmail.com>
8101
8102 * subr.el (delay-warning): New function.
8103
35cb8a3e
EZ
81042013-07-10 Eli Zaretskii <eliz@gnu.org>
8105
8106 * simple.el (default-line-height): New function.
8107 (line-move-partial, line-move): Use it instead of computing the
8108 line height inline.
8109 (line-move-partial): Always compute ROWH. If the last line is
8110 partially-visible, but its text is completely visible, allow
8111 cursor to enter such a partially-visible line.
8112
525c5c77
MA
81132013-07-10 Michael Albinus <michael.albinus@gmx.de>
8114
8115 Improve error messages. (Bug#14808)
8116
8117 * net/tramp.el (tramp-current-connection): New defvar, moved from
8118 tramp-sh.el.
0ac26976 8119 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 8120 needed anymore.
0ac26976
SM
8121 (tramp-error-with-buffer): Show message in minibuffer.
8122 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
8123 (with-tramp-progress-reporter): Improve messages.
8124 (tramp-process-actions): Use progress reporter. Delete process in
8125 case of error. Improve messages.
8126
763a086d
JB
8127 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8128 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 8129 (tramp-current-connection): Remove.
525c5c77
MA
8130 (tramp-maybe-open-connection): The car of
8131 `tramp-current-connection' are the first 3 slots of the vector.
8132
c7a4d368
TZ
81332013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8134
8135 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8136 inside continued strings.
8137
954b166e
PE
81382013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8139
8140 Timestamp fixes for undo (Bug#14824).
8141 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8142
56973319
LL
81432013-07-10 Leo Liu <sdl.web@gmail.com>
8144
8145 * files.el (require-final-newline): Allow safe local value.
8146 (Bug#14834)
8147
5550a72c
LL
81482013-07-09 Leo Liu <sdl.web@gmail.com>
8149
8150 * ido.el (ido-read-directory-name): Handle fallback.
8151 (ido-read-file-name): Update DIR to ido-current-directory.
8152 (Bug#1516)
c28b9050 8153 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 8154
70c46b28
DG
81552013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8156
8157 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8158 "autoload". Remove "warn lower camel case" section, previously
8159 commented out. Highlight negation char. Do not highlight the
8160 target in singleton method definitions.
8161
0b64b838
SM
81622013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8163
7fd72e2c
SM
8164 * faces.el (tty-setup-hook): Declare the hook.
8165
0b64b838
SM
8166 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8167 and detect when a guard/pred depends on local vars (bug#14773).
8168 (pcase--u1): Adjust caller.
8169
ab49d60b
EZ
81702013-07-08 Eli Zaretskii <eliz@gnu.org>
8171
8172 * simple.el (line-move-partial, line-move): Account for
8173 line-spacing.
701d79aa
EZ
8174 (line-move-partial): Avoid setting vscroll when the last
8175 partially-visible line in window is of default height.
ab49d60b 8176
2d756ae0
LMI
81772013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8178
8179 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8180 been used a while.
8181
ed095bd7
JB
81822013-07-07 Juanma Barranquero <lekktu@gmail.com>
8183
8184 * subr.el (read-quoted-char): Remove unused local variable `char'.
8185
f1e6674b
MK
81862013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8187
584ee3fc
GM
8188 * ediff.el (ediff-version): Version update.
8189 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8190 (ediff-merge-with-ancestor-command, ediff-directories-command)
8191 (ediff-directories3-command, ediff-merge-directories-command)
8192 (ediff-merge-directories-with-ancestor-command): New functions.
8193 All are command-line interfaces to ediff: to facilitate calling
8194 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
8195
8196 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8197 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 8198
584ee3fc
GM
8199 * viper.el (viper-version): Version update.
8200 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 8201
584ee3fc
GM
82022013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8203
8204 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8205 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8206 (viper-intercept-ESC-key): Simplify.
8207 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8208 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8209 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8210 (viper-setup-ESC-to-escape): New functions.
8211 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8212 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 8213
9aff9b38
EZ
82142013-07-07 Eli Zaretskii <eliz@gnu.org>
8215
5165d44a
JB
8216 * simple.el (default-font-height, window-screen-lines):
8217 New functions.
9aff9b38
EZ
8218 (line-move, line-move-partial): Use them instead of
8219 frame-char-height and window-text-height. This makes scrolling
8220 text smoother when the buffer's default face uses a font that is
8221 different from the frame's default font.
8222
1afb1d07
JD
82232013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8224
8225 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 8226 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 8227
23de972a
EZ
82282013-07-06 Eli Zaretskii <eliz@gnu.org>
8229
8230 * simple.el (line-move-partial): Adjust the row returned by
8231 posn-at-point for the current window-vscroll. (Bug#14567)
8232
54a42486
MA
82332013-07-06 Michael Albinus <michael.albinus@gmx.de>
8234
8235 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8236 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8237 spaces.
8238
34ada5f4
MR
82392013-07-06 Martin Rudalics <rudalics@gmx.at>
8240
8241 * window.el (window-state-put-stale-windows): New variable.
8242 (window--state-put-2): Save list of windows without matching buffer.
8243 (window-state-put): Remove "bufferless" windows if possible.
8244
11e03d89
JB
82452013-07-06 Juanma Barranquero <lekktu@gmail.com>
8246
8247 * simple.el (alternatives-define): Remove leftover :group keyword.
8248 Tweak docstring.
8249
3504a4be
LL
82502013-07-06 Leo Liu <sdl.web@gmail.com>
8251
8252 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8253 (ido-enable-virtual-buffers): New variable.
8254 (ido-buffer-internal, ido-toggle-virtual-buffers)
8255 (ido-make-buffer-list): Use it.
8256 (ido-exhibit): Support turning on and off virtual buffers
8257 automatically.
8258
61e56e2c
JB
82592013-07-06 Juanma Barranquero <lekktu@gmail.com>
8260
8261 * simple.el (alternatives-define): New macro.
8262
321e1a9c
SM
82632013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8264
8265 * subr.el (read-quoted-char): Use read-key.
8266 (sit-for): Let read-event decode tty input (bug#14782).
8267
d610f6dd
SB
82682013-07-05 Stephen Berman <stephen.berman@gmx.net>
8269
8270 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
8271 mode command and externally. Fix various related bugs.
8272 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
8273 (todo-delete-file): New command.
8274 (todo-check-file): New function.
8275 (todo-show): Handle external deletion of the file we're trying to
8276 show (bug#14688). Replace called-interactively-p by an optional
8277 prefix argument to avoid problematic interaction with catch form
8278 when byte compiled (bug#14702).
8279 (todo-quit): Handle external deletion of the archive's todo file.
8280 Make sure the buffer that was visiting the archive file is still
8281 live before trying to bury it.
8282 (todo-category-completions): Handle external deletion of any
8283 category completion files.
8284 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8285 of todo files, in case of external deletion.
8286 (todo-add-file): Replace unnecessary setq by let-binding.
8287 (todo-find-archive): Check whether there are any archives.
8288 Replace unnecessary setq by let-binding.
8289 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
8290 archive buffer whether or not the archive already exists.
8291 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
8292 check if the archive is new; if it is, update list of archives.
8293 (todo-default-todo-file): Allow nil to be a valid value for when
8294 there are no todo files.
8295 (todo-reevaluate-default-file-defcustom): Use corrected definition
8296 of todo-default-todo-file.
8297 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8298 (todo-delete-category, todo-show-categories-table)
8299 (todo-category-number): Clarify comment.
8300 (todo-filter-items): Clarify documentation string.
8301 (todo-show-current-file, todo-display-as-todo-file)
8302 (todo-reset-and-enable-done-separator): Tweak documentation string.
8303 (todo-done-separator): Make separator length window-width, since
8304 bug#2749 is now fixed.
8305
ddbdfd6f
MA
83062013-07-05 Michael Albinus <michael.albinus@gmx.de>
8307
321e1a9c
SM
8308 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8309 Support both "gvfs-monitor-dir" and "inotifywait".
8310 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
8311 `tramp-sh-file-notify-process-filter'.
8312 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8313 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8314
96eb829a
LL
83152013-07-05 Leo Liu <sdl.web@gmail.com>
8316
8317 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8318
cf13177e
YM
83192013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8320
8321 * frame.el (display-pixel-height, display-pixel-width)
8322 (display-mm-height, display-mm-width): Mention behavior on
8323 multi-monitor setups in docstrings.
8324 (w32-display-monitor-attributes-list): Declare function.
8325 (display-monitor-attributes-list): Use it.
8326
864c58ca
MA
83272013-07-04 Michael Albinus <michael.albinus@gmx.de>
8328
8329 * filenotify.el: New package.
8330
8331 * autorevert.el (top): Require filenotify.el.
8332 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8333 instead.
8334 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8335 (auto-revert-notify-handler): Use `file-notify-*' functions.
8336
8337 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8338
321e1a9c
SM
8339 * net/tramp.el (tramp-file-name-for-operation):
8340 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
8341
8342 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8343 for `file-notify-add-watch' and `file-notify-rm-watch'.
8344 (tramp-process-sentinel): Improve trace.
8345 (tramp-sh-handle-file-notify-add-watch)
8346 (tramp-sh-file-notify-process-filter)
8347 (tramp-sh-handle-file-notify-rm-watch)
8348 (tramp-get-remote-inotifywait): New defuns.
8349
96673afe
JL
83502013-07-03 Juri Linkov <juri@jurta.org>
8351
8352 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8353 call of `occur-read-primary-args' to interactive spec.
8354
8355 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8356 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8357
924494f4
MM
83582013-07-03 Matthias Meulien <orontee@gmail.com>
8359
8360 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8361 `Buffer-menu-multi-occur'. Add it to the menu.
8362 (Buffer-menu-mode): Document it in docstring.
8363 (Buffer-menu-multi-occur): New command. (Bug#14673)
8364
56f75efc
DG
83652013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8366
8367 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8368 keywords and built-ins.
8369
9b057d61
GM
83702013-07-03 Glenn Morris <rgm@gnu.org>
8371
208dee4d
GM
8372 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8373
9b057d61
GM
8374 Make info-xref checks case-sensitive by default
8375 * info.el (Info-find-node, Info-find-in-tag-table)
8376 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8377 Add option for exact case matching of nodes.
8378 * info-xref.el (info-xref): New custom group.
8379 (info-xref-case-fold): New option.
8380 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8381
e01aa29c
LL
83822013-07-03 Leo Liu <sdl.web@gmail.com>
8383
8384 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8385
3086ca2e
DG
83862013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8387
8388 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8389 middle of block statement initially, lower the depth. Remove
8390 FIXME comment, not longer valid. Remove middle of block statement
8391 detection, no need to do that anymore since we've been using
8392 `ruby-parse-region' here.
8393
a3b49114
JD
83942013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8395
8396 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8397
08e5c823 83982013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
8399
8400 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8401
2addf922
JB
84022013-07-01 Juanma Barranquero <lekktu@gmail.com>
8403
8404 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8405 (desktop-restore-in-current-display): New customization option.
8406 (desktop--excluded-frame-parameters): Add `font'.
8407 (desktop--save-frames): Rename from desktop--save-windows.
8408 (desktop--restore-in-this-display-p): New function.
8409 (desktop--make-full-frame): Remove unwanted width/height from
8410 full(width|height) frames.
8411 (desktop--restore-frames): Rename from desktop--restore-windows.
8412 Obey desktop-restore-current-display. Do not delete old frames or
8413 select a new frame unless we were able to restore at least one frame.
8414
ef099a94
MN
84152013-06-30 Michal Nazarewicz <mina86@mina86.com>
8416
8417 * files.el (find-file-noselect): Simplify conditional expression.
8418
a12bf61e 8419 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
8420 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8421
8422 Add `remember-notes' function to store random notes across Emacs
8423 restarts.
3fcfc4ee
JB
8424 * textmodes/remember.el (remember-data-file): Add :set callback to
8425 affect notes buffer (if any).
ef099a94
MN
8426 (remember-notes): New command.
8427 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8428 New defcustoms for the `remember-notes' function.
8429 (remember-notes-save-and-bury-buffer): New command.
8430 (remember-notes-mode-map): New variable.
8431 (remember-mode): New minor mode.
8432 (remember-notes--kill-buffer-query): New function.
8433 * startup.el (initial-buffer-choice): Add notes to custom type.
8434
0865d506
EZ
84352013-06-30 Eli Zaretskii <eliz@gnu.org>
8436
0ba54312
EZ
8437 * bindings.el (right-char, left-char): Don't call sit-for, this is
8438 no longer needed. Use arithmetic comparison only for numerical
8439 arguments.
8440
ef099a94
MN
8441 * international/mule-cmds.el (select-safe-coding-system):
8442 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 8443
2fae38e5
LMI
84442013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8445
8446 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8447 progression on degenerate tables.
ef099a94 8448 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 8449
a47cbd64
JB
84502013-06-30 Juanma Barranquero <lekktu@gmail.com>
8451
8452 Some fixes and improvements for desktop frame restoration.
8453 It is still experimental and disabled by default.
8454 * desktop.el (desktop--save-windows): Put the selected frame at
8455 the head of the list.
8456 (desktop--make-full-frame): New function.
8457 (desktop--restore-windows): Try to re-select the frame that was
8458 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
8459 just show an error message and continue. Set up maximized frames
8460 so they have default non-maximized dimensions.
a47cbd64 8461
6dbafa30
DG
84622013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8463
ef099a94
MN
8464 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8465 Don't start heredoc inside a string or comment.
6dbafa30 8466
4c672a0f
EZ
84672013-06-29 Eli Zaretskii <eliz@gnu.org>
8468
8469 * bindings.el (visual-order-cursor-movement): New defcustom.
8470 (right-char, left-char): Provide visual-order cursor motion by
8471 calling move-point-visually. Update the doc strings.
8472
50960f36
KH
84732013-06-28 Kenichi Handa <handa@gnu.org>
8474
8475 * international/mule.el (define-coding-system): New coding system
8476 properties :inhibit-null-byte-detection,
8477 :inhibit-iso-escape-detection, and :prefer-utf-8.
8478 (set-buffer-file-coding-system): If :charset-list property of
8479 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8480 appropriate for setting.
8481
c1ea3abf
JB
8482 * international/mule-cmds.el (select-safe-coding-system):
8483 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8484 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
8485
8486 * international/mule-conf.el (prefer-utf-8): New coding system.
8487 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8488 files.
8489
75dbaf9d
IK
84902013-06-28 Ivan Kanis <ivan@kanis.fr>
8491
eadb6068
IK
8492 * net/shr.el (shr-render-region): New function.
8493
75dbaf9d
IK
8494 * net/eww.el: Autoload `eww-browse-url'.
8495
9ea5cf9f
DG
84962013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8497
c1ea3abf
JB
8498 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8499 Adapt to `package-desc-version' being a list.
8500 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
8501 archive element.
8502
39c0e36f
JB
85032013-06-27 Juanma Barranquero <lekktu@gmail.com>
8504
8505 New experimental feature to save&restore window and frame setup.
8506 * desktop.el (desktop-save-windows): New defcustom.
8507 (desktop--saved-states): New var.
8508 (desktop--excluded-frame-parameters): New defconst.
8509 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8510 (desktop--restore-windows, desktop--save-windows): New functions.
8511 (desktop-save): Call `desktop--save-windows'.
8512 (desktop-read): Call `desktop--restore-windows'.
8513
7f13406b
LMI
85142013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8515
ef099a94 8516 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 8517
1e072639
SB
85182013-06-27 Stephen Berman <stephen.berman@gmx.net>
8519
8520 * info.el (Info-try-follow-nearest-node): Move search for footnote
8521 above search for node name to prevent missing a footnote (bug#14717).
8522
f3e2cbde
SB
85232013-06-27 Stephen Berman <stephen.berman@gmx.net>
8524
8525 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8526
99906aa0
LL
85272013-06-27 Leo Liu <sdl.web@gmail.com>
8528
8529 * net/eww.el (eww-read-bookmarks): Check file size.
8530
539f75f4
SM
85312013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8532
8533 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8534 advice--pending if newdef is nil or an autoload (bug#13820).
8535 (advice-mapc): New function.
8536
843571cb
LMI
85372013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8538
8539 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8540 probably.
23a75d7f 8541 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
8542 (eww-add-bookmark): New command.
8543 (eww-bookmark-mode): New mode and commands.
a285ce99 8544 (eww-add-bookmark): Remove newlines from the title.
47fd571b 8545 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 8546
f2136e1e
GM
85472013-06-26 Glenn Morris <rgm@gnu.org>
8548
eab35f39
GM
8549 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8550 (hfy-size): Handle ttys. (Bug#14668)
8551
f2136e1e
GM
8552 * info-xref.el: Update for Texinfo 5 change in *note format.
8553 (info-xref-node-re, info-xref-note-re): New constants.
8554 (info-xref-check-buffer): Use info-xref-note-re.
8555
a49ff80c
SM
85562013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8557
a343d218
SM
8558 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8559
a49ff80c
SM
8560 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8561 nil terminate the loop (bug#14718).
8562
8308f184
LMI
85632013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8564
8565 * net/eww.el: Rework history traversal. When going forward/back,
8566 put these actions into the history, too, so that they can be
8567 replayed.
26bf2b82 8568 (eww-render): Move the history reset to the correct buffer.
8308f184 8569
ec64c273
JL
85702013-06-25 Juri Linkov <juri@jurta.org>
8571
8572 * files-x.el (modify-dir-local-variable): Change the header comment
8573 in the file with directory local variables. (Bug#14692)
8574
e080a9d7
JL
8575 * files-x.el (read-file-local-variable-value): Add `default'.
8576 (Bug#14710)
8577
bfbc93a1
IK
85782013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8579
8580 * net/eww.el (eww-make-unique-file-name): Create a unique file
8581 name before saving to entering `y' accidentally asynchronously.
8582
85832013-06-25 Ivan Kanis <ivan@kanis.fr>
8584
8585 * net/eww.el (eww-download): New command and keystroke.
8586
16f74f10
LMI
85872013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8588
a49ff80c 8589 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
8590
8591 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8592 be more consistent with Info and dired.
8593
8594 * net/eww.el (eww-mode-map): Ditto.
8595
12059709
SM
85962013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8597
8598 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8599 packages from archives.
8600 (package-archive-contents): Change format; include obsolete packages.
8601 (package-desc): Use `dir' to mark builtin packages.
8602 (package--from-builtin): Set the `dir' field to `builtin'.
8603 (generated-autoload-file, version-control): Declare.
8604 (package-compute-transaction): Change first arg and return value to be
8605 lists of package-descs. Adjust to new package-archive-contents format.
8606 (package--add-to-archive-contents): Adjust to new
8607 package-archive-contents format.
8608 (package-download-transaction): Arg is now a list of package-descs.
8609 (package-install): If `pkg' is a package name, pass it as
8610 a requirement, so it is subject to the usual (e.g. disabled) checks.
8611 (describe-package): Accept package-desc as well.
8612 (describe-package-1): Describe a specific package-desc. Add links to
8613 other package-descs for the same package name.
8614 (package-menu-describe-package): Pass the actual package-desc.
8615 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8616 works correctly.
8617 (package-desc-status): New function.
8618 (package-menu--refresh): New function, extracted
8619 from package-menu--generate.
8620 (package-menu--generate): Use it.
8621 (package-delete): Update package-alist.
8622 (package-menu-execute): Don't call package-initialize.
8623
8624 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8625 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8626 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8627 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8628 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8629 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8630
8bbdea0f
MR
86312013-06-25 Martin Rudalics <rudalics@gmx.at>
8632
8633 * window.el (window--state-get-1): Workaround for bug#14527.
8634 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8635
e82b0991
LMI
86362013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8637
8638 * net/eww.el (eww-back-url): Implement the history by stashing all
8639 the data into a list.
d3f0f918 8640 (eww-forward-url): Allow going forward in the history, too.
e82b0991 8641
c763842b
SM
86422013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8643
8644 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8645 for values and use read--expression for expressions (bug#14710).
8646 (read-file-local-variable): Avoid setq.
8647 (read-file-local-variable-mode): Use minor-mode-list.
8648
bceff189
RW
86492013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8650
864c58ca 8651 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
8652 for DOI URLs.
8653
45f431c6
RW
86542013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8655
864c58ca 8656 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
8657 Update imenu-support when dialect changes.
8658
f42d8237
LL
86592013-06-25 Leo Liu <sdl.web@gmail.com>
8660
8661 * ido.el (ido-read-internal): Allow forward slash on windows.
8662
be549ce6
LMI
86632013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8664
8665 * net/eww.el (eww): Start of strings is \\`, not ^.
8666
71d4c19d
IK
86672013-06-24 Ivan Kanis <ivan@kanis.fr>
8668
5196f88a
IK
8669 * net/shr.el (shr-browse-url): Fix interactive spec.
8670
71d4c19d
IK
8671 * net/eww.el (eww): Add a trailing slash to domain names.
8672
ae36ca55
JB
86732013-06-24 Juanma Barranquero <lekktu@gmail.com>
8674
8675 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8676
0ebd92a3
LMI
86772013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8678
bdaa086b
LMI
8679 * net/shr.el (shr-browse-url): Use an external browser if given a
8680 prefix.
8681
c763842b 8682 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 8683
b89fc156
IK
86842013-06-24 Ivan Kanis <ivan@kanis.fr>
8685
8686 * net/eww.el (eww): Work more correctly for file: URLs.
8687 (eww-detect-charset): Allow quoted charsets.
8688 (eww-yank-page-url): New command and keystroke.
8689
18eb4bca
DU
86902013-06-24 Daiki Ueno <ueno@gnu.org>
8691
8692 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8693 file name of gpg executable.
8694 (epg-context-program): New function.
8695 (epg-context-home-directory): New function.
8696 (epg-context-set-program): New function.
8697 (epg-context-set-home-directory): New function.
8698 (epg--start): Use `epg-context-program' instead of
8699 'epg-gpg-program'.
8700 (epg--list-keys-1): Likewise.
8701
6c6268c8
LL
87022013-06-24 Leo Liu <sdl.web@gmail.com>
8703
8704 * ido.el (ido-read-internal): Fix bug#14620.
8705
5e400cb3
JB
87062013-06-23 Juanma Barranquero <lekktu@gmail.com>
8707
8708 * faces.el (face-documentation): Simplify.
8709 (read-face-attribute, tty-find-type, x-resolve-font-name):
8710 Use `string-match-p'.
8711 (list-faces-display): Use `string-match-p'. Simplify.
8712 (face-spec-recalc): Check face to avoid face alias loops.
8713 (read-color): Use `string-match-p' and non-capturing parenthesis.
8714
f3f9606c
LMI
87152013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8716
8717 * net/shr.el (shr-rescale-image): Use the new
8718 :max-width/:max-height functionality.
8719
a3ca09b9
IK
87202013-06-23 Ivan Kanis <ivan@kanis.fr>
8721
8722 * net/eww.el (eww-search-prefix): New variable.
8723 (eww): Use it.
f865b474
IK
8724 (eww-external-browser): New variable.
8725 (eww-mode-map): New keystroke.
8726 (eww-browse-with-external-browser): New command.
a3ca09b9 8727
e854cfc7
IK
8728 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8729
18bb9e21
JB
87302013-06-23 Juanma Barranquero <lekktu@gmail.com>
8731
8732 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8733 Don't skip aligning the next header field when padding is 0;
8734 otherwise, field width is not respected unless the title is as
8735 wide as the field.
8736
5b165ade
SM
87372013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8738
8739 * emacs-lisp/package.el (package-el-version): Remove.
8740 (package-process-define-package): Fix inf-loop.
8741 (package-install): Allow symbols as arguments again.
8742
12adebe9
DG
87432013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8744
8745 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8746 add some more keyword-like methods.
8747 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8748
388573ee
JB
87492013-06-22 Juanma Barranquero <lekktu@gmail.com>
8750
8751 * bs.el (bs-buffer-show-mark): Make defvar-local.
8752 (bs-mode): Use setq-local.
8753
8754 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8755 (emacs-lock--try-unlocking): Make defvar-local.
8756
4582a01c 87572013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 8758
2663dd23
GM
8759 * play/cookie1.el (cookie-apropos): Minor simplification.
8760
3d94f3ad
GM
8761 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8762
f72e2fdb
DG
87632013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8764
8765 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8766 `regexp-opt', it breaks the build during dumping.
8767
73eab938
DG
87682013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8769
c763842b
SM
8770 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8771 Highlight keyword-like methods on Kernel and Module with
73eab938 8772 font-lock-builtin-face.
5cf8176d
DG
8773 (auto-mode-alist): Consolidate different entries into one regexp
8774 and add more *file-s.
73eab938 8775
d26255f6
SB
87762013-06-21 Stephen Berman <stephen.berman@gmx.net>
8777
8778 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8779
8780 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8781 (diary-entry): Use it in the action of this button type instead of
8782 diary-goto-entry.
8783
8784 * calendar/todo-mode.el: New version.
8785 (todo-add-category): Append new category to end of file and give
8786 it the highest number, instead of putting it at the beginning and
8787 giving it 0. Incorporate noninteractive functionality.
8788 (todo-forward-category): Adapt to 1-based category numbering.
8789 Allow skipping over archived categories.
8790 (todo-backward-category): Derive from todo-forward-category.
8791 (todo-backward-item, todo-forward-item): Make noninteractive and
8792 delegate interactive part to new commands. Make sensitive to done items.
8793 (todo-categories): Make value an alist of category names and
8794 vectors of item counts.
8795 (todo-category-beg): Make a defconst.
8796 (todo-category-number): Use 1 instead of 0 as initial value.
8797 (todo-category-select): Make sensitive to overlays, optional item
8798 highlighting and done items.
8799 (todo-delete-item): Make sensitive to overlays and marked and done items.
8800 (todo-edit-item): Make sensitive to overlays and editing of
8801 date/time header optional. Add format checks.
8802 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8803 no-op if point is not on an item. Advertise using todo-edit-quit.
8804 (todo-edit-mode): Make sensitive to new format, font-locking, and
8805 multiple todo files.
8806 (todo-insert-item, todo-insert-item-here): Derive from
8807 todo-basic-insert-item and extend functionality.
8808 (todo-item-end, todo-item-start): Make sensitive to done items.
8809 (todo-item-string): Don't return text properties. Restore point.
8810 (todo-jump-to-category): Make sensitive to multiple todo files and
8811 todo archives. Use extended category completion.
8812 (todo-lower-item, todo-raise-item): Rename to *-priority and
8813 derive from todo-set-item-priority.
8814 (todo-mode): Derive from special-mode. Make sensitive to new
8815 format, font-locking and multiple todo files. Make read-only.
8816 (todo-mode-map): Don't suppress digit keys, so they can supply
8817 prefix arguments. Add many new key bindings.
8818 (todo-prefix): Insert as an overlay instead of file text.
8819 Change semantics from diary date expression to purely visual mark.
8820 (todo-print): Rename to todo-print-buffer. Make buffer display
8821 features printable. Remove option to restrict number of items
8822 printed. Add option to print to file.
8823 (todo-print-function): Rename to todo-print-buffer-function.
8824 (todo-quit): Extend to handle exiting new todo modes.
8825 (todo-remove-item): Make sensitive to overlays.
8826 (todo-save): Extend to buffers of filtered items.
8827 (todo-show): Make sensitive to done items, multiple todo files and
8828 new todo modes. Offer to convert legacy todo file before creating
8829 first new todo file.
8830 (todo-show-priorities): Rename to todo-top-priorities.
8831 Change semantics of value 0.
8832 (todo-top-priorities): Rename to todo-filter-top-priorities,
8833 derive from todo-filter-items and extend functionality.
8834 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8835 and extend functionality to other types of filtered items.
8836 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8837 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8838 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8839 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8840 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8841 (todo-edit-mode-hook, todo-entry-prefix-function)
8842 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8843 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8844 (todo-initials, todo-insert-threshold, todo-item-string-start)
8845 (todo-line-string, todo-menu, todo-mode-hook)
8846 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8847 (todo-print-priorities, todo-remove-separator)
8848 (todo-save-top-priorities-too, todo-string-count-lines)
8849 (todo-string-multiline-p, todo-time-string-format)
8850 (todo-tmp-buffer-name): Remove.
8851 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8852 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8853 (todo-edit-category-diary-inclusion)
8854 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8855 (todo-edit-file, todo-edit-item-date-day)
8856 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8857 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8858 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8859 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8860 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8861 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8862 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8863 (todo-filter-top-priorities-multifile, todo-find-archive)
8864 (todo-find-filtered-items-file, todo-go-to-source-item)
8865 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8866 (todo-jump-to-archive-category, todo-lower-category)
8867 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8868 (todo-move-category, todo-move-item, todo-next-button)
8869 (todo-next-item, todo-padded-string, todo-powerset)
8870 (todo-previous-button, todo-previous-item)
8871 (todo-print-buffer-to-file, todo-raise-category)
8872 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8873 (todo-set-category-number, todo-set-item-priority)
8874 (todo-set-top-priorities-in-category)
8875 (todo-set-top-priorities-in-file, todo-show-categories-table)
8876 (todo-sort-categories-alphabetically-or-numerically)
8877 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8878 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8879 (todo-toggle-item-header, todo-toggle-item-highlighting)
8880 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8881 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8882 (todo-unarchive-items, todo-unmark-category): New commands.
8883 (todo-absolute-file-name, todo-add-to-buffer-list)
8884 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8885 (todo-basic-insert-item, todo-category-completions)
8886 (todo-category-number, todo-category-string-matcher-1)
8887 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8888 (todo-check-format, todo-clear-matches)
8889 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8890 (todo-current-category, todo-date-string-matcher)
8891 (todo-define-insertion-command, todo-diary-expired-matcher)
8892 (todo-diary-goto-entry, todo-diary-item-p)
8893 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8894 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8895 (todo-done-item-section-p, todo-done-separator)
8896 (todo-done-string-matcher, todo-files, todo-filter-items)
8897 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8898 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8899 (todo-insert-category-line, todo-insert-item-from-calendar)
8900 (todo-insert-sort-button, todo-insert-with-overlays)
8901 (todo-insertion-command-name, todo-insertion-key-bindings)
8902 (todo-label-to-key, todo-longest-category-name-length)
8903 (todo-make-categories-list, todo-mode-external-set)
8904 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8905 (todo-modes-set-3, todo-multiple-filter-files)
8906 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8907 (todo-read-category, todo-read-date, todo-read-dayname)
8908 (todo-read-file-name, todo-read-time)
8909 (todo-reevaluate-category-completions-files-defcustom)
8910 (todo-reevaluate-default-file-defcustom)
8911 (todo-reevaluate-filelist-defcustoms)
8912 (todo-reevaluate-filter-files-defcustom)
8913 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8914 (todo-reset-done-separator, todo-reset-done-separator-string)
8915 (todo-reset-done-string, todo-reset-global-current-todo-file)
8916 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8917 (todo-reset-prefix, todo-set-categories)
8918 (todo-set-date-from-calendar, todo-set-show-current-file)
8919 (todo-set-top-priorities, todo-short-file-name)
8920 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8921 (todo-total-item-counts, todo-update-buffer-list)
8922 (todo-update-categories-display, todo-update-categories-sexp)
8923 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8924 New functions.
8925 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8926 New major modes.
8927 (todo-categories, todo-display, todo-edit, todo-faces)
8928 (todo-filtered): New defgroups.
8929 (todo-archived-only, todo-button, todo-category-string, todo-date)
8930 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8931 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8932 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8933 (todo-add-item-if-new-category, todo-always-add-time-string)
8934 (todo-categories-align, todo-categories-archived-label)
8935 (todo-categories-category-label, todo-categories-diary-label)
8936 (todo-categories-done-label, todo-categories-number-separator)
8937 (todo-categories-todo-label, todo-categories-totals-label)
8938 (todo-category-completions-files, todo-completion-ignore-case)
8939 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8940 (todo-done-separator-string, todo-done-string)
8941 (todo-files-function, todo-filter-done-items, todo-filter-files)
8942 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8943 (todo-initial-category, todo-initial-file, todo-item-mark)
8944 (todo-legacy-date-time-regexp, todo-mode-line-function)
8945 (todo-nondiary-marker, todo-number-prefix)
8946 (todo-print-buffer-function, todo-show-current-file)
8947 (todo-show-done-only, todo-show-first, todo-show-with-done)
8948 (todo-skip-archived-categories, todo-top-priorities-overrides)
8949 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8950 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8951 New defcustoms.
8952 (todo-category-done, todo-date-pattern, todo-date-string-start)
8953 (todo-diary-items-buffer, todo-done-string-start)
8954 (todo-filtered-items-buffer, todo-item-start)
8955 (todo-month-abbrev-array, todo-month-name-array)
8956 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8957 (todo-top-priorities-buffer): New defconsts.
8958 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8959 (todo-categories-with-marks, todo-category-string-face)
8960 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8961 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8962 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8963 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8964 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8965 (todo-font-lock-keywords, todo-global-current-todo-file)
8966 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8967 (todo-insertion-commands-args)
8968 (todo-insertion-commands-args-genlist)
8969 (todo-insertion-commands-names, todo-insertion-map)
8970 (todo-key-bindings-t, todo-key-bindings-t+a)
8971 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8972 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8973 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8974 (todo-visited): New variables.
8975
cad5d1cb
GM
89762013-06-21 Glenn Morris <rgm@gnu.org>
8977
8978 * play/cookie1.el (cookie-apropos): Add optional display argument.
8979 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8980 (psychoanalyze-pinhead): Use cookie-doctor.
8981
9e277302
JB
89822013-06-21 Juanma Barranquero <lekktu@gmail.com>
8983
8984 * emacs-lisp/package.el (tar-get-file-descriptor)
8985 (tar--extract): Declare.
8986
c5b0993e
EW
89872013-06-21 Eduard Wiebe <usenet@pusto.de>
8988
8989 Extend flymake's warning predicate to be a function (bug#14217).
8990 * progmodes/flymake.el (flymake-warning-predicate): New.
8991 (flymake-parse-line): Use it.
8992 (flymake-warning-re): Make obsolete alias to
8993 `flymake-warning-predicate'.
8994
a7d2d465
SM
89952013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8996
8997 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8998 (package-obsolete-list): Remove.
8999 (package-activate): Remove min-version argument. Add `force' argument.
9000 Adjust to new package-alist format.
9001 (package-mark-obsolete): Remove.
9002 (package-unpack): Force reload of the package's autoloads.
9003 (package-installed-p): Check builtins if the installed package is not
9004 recent enough.
9005 (package-initialize): Don't reset package-obsolete-list.
9006 Don't specify which package version to activate.
9007 (package-process-define-package, describe-package-1)
9008 (package-menu--generate): Adjust to new package-alist format.
9009
cedf5c9d
JB
90102013-06-21 Juanma Barranquero <lekktu@gmail.com>
9011
9012 * allout-widgets.el (allout-widgets-mode-off)
9013 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9014 (allout-widgets-post-command-business)
9015 (allout-widgets-after-copy-or-kill-function)
9016 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9017 (allout-decorate-item-and-context)
9018 (allout-graphics-modification-handler): Fix typos in docstrings.
9019 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9020
9021 * cmuscheme.el (scheme-start-file): Doc fix.
9022 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9023 (scheme-input-filter): Use `string-match-p'.
9024
9025 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9026
9027 * dired-x.el: Use Dired consistently in docstrings.
9028
9029 * dired.el: Use Dired consistently in docstrings.
9030 (dired-readin, dired-mode): Use `setq-local'.
9031 (dired-switches-alist): Make defvar-local.
9032 (dired-buffers-for-dir): Use `zerop'.
9033 (dired-safe-switches-p, dired-switches-escape-p)
9034 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9035 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9036 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9037 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9038 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9039 (dired-toggle-marks, dired-mark-files-containing-regexp)
9040 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9041 (dired-flag-auto-save-files, dired-flag-backup-files):
9042 Use `looking-at-p'.
9043 (dired-mark-files-regexp, dired-build-subdir-alist):
9044 Use `string-match-p', `looking-at-p'.
9045
9046 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9047 (direct-print-region-helper): Use `string-match-p'.
9048
aed838b5
LL
90492013-06-21 Leo Liu <sdl.web@gmail.com>
9050
cedf5c9d
JB
9051 * comint.el (comint-redirect-results-list-from-process):
9052 Fix infinite loop.
aed838b5 9053
d80a808f
LMI
90542013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9055
9056 * net/eww.el (eww-update-header-line-format): Quote % characters.
9057
e7a526e3
GM
90582013-06-21 Glenn Morris <rgm@gnu.org>
9059
9060 * play/cookie1.el (cookie): New custom group.
9061 (cookie-file): New option.
9062 (cookie-check-file): New function.
9063 (cookie): Make it interactive. Make start and end messages optional.
9064 Interactively, display the result. Default to cookie-file.
9065 (cookie-insert): Default to cookie-file.
9066 (cookie-snarf): Make start and end messages optional.
9067 Default to cookie-file. Use with-temp-buffer.
9068 (cookie-read): Rename from read-cookie.
9069 Make start and end messages optional. Default to cookie-file.
9070 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 9071 Do not autoload it.
e7a526e3
GM
9072 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9073 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9074
62efb35e
LL
90752013-06-21 Leo Liu <sdl.web@gmail.com>
9076
9077 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9078
21e3f963
GM
90792013-06-21 Glenn Morris <rgm@gnu.org>
9080
9081 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9082
fd846ab4
SM
90832013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9084 Daniel Hackney <dan@haxney.org>
9085
9086 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9087 Consolidate the single-file vs tarball code.
9088 (package-desc-suffix): New function.
9089 (package-desc-full-name): Don't bother inlining it.
9090 (package-load-descriptor): Return the new package-desc.
9091 (package-mark-obsolete): Remove unused arg `package'.
9092 (package-unpack): Make it work for single files as well.
9093 Make it update package-alist.
9094 (package--make-autoloads-and-stuff): Rename from
9095 package--make-autoloads-and-compile. Don't compile any more.
9096 (package--compile): New function.
9097 (package-generate-description-file): New function, extracted from
9098 package-unpack-single.
9099 (package-unpack-single): Remove.
9100 (package--with-work-buffer): Add indentation and debugging info.
9101 (package-download-single): Remove.
9102 (package-install-from-archive): Rename from package-download-tar, make
9103 it take a pkg-desc, and make it work for single files as well.
9104 (package-download-transaction): Simplify.
9105 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9106 external tar program.
9107 (package-install-from-buffer): Remove `pkg-desc' argument.
9108 Use package-tar-file-info for tar-mode buffers.
9109 (package-install-file): Simplify accordingly.
9110 (package-archive-base): Change to take a pkg-desc.
9111 * tar-mode.el (tar--check-descriptor): New function, extracted from
9112 tar-get-descriptor.
9113 (tar-get-descriptor): Use it.
9114 (tar-get-file-descriptor): New function.
9115 (tar--extract): New function, extracted from tar-extract.
9116 (tar--extract): Use it.
9117 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9118 case the summary uses non-ascii. Adjust to new calling convention of
9119 package-tar-file-info.
9120
b7deae5e
LL
91212013-06-21 Leo Liu <sdl.web@gmail.com>
9122
fd846ab4
SM
9123 * comint.el (comint-redirect-results-list-from-process):
9124 Fix random delay. (Bug#14681)
b7deae5e 9125
7a65a0b2
JB
91262013-06-21 Juanma Barranquero <lekktu@gmail.com>
9127
9128 * profiler.el (profiler-format-number): Use log, not log10.
9129
1493c2af
JB
91302013-06-20 Juanma Barranquero <lekktu@gmail.com>
9131
9132 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9133
aff6371e
SM
91342013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9135
9136 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9137 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9138 yet available.
9139 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9140 (AUTOGENEL): ... here.
9141 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9142 (cl--defsubst-expand): Use it.
9143
89561f72
PE
91442013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9145
9146 * subr.el (log10): Move here from C code, and declare as obsolete.
9147 All uses of (log10 X) replaced with (log X 10).
9148
47199123
JB
91492013-06-20 Juanma Barranquero <lekktu@gmail.com>
9150
9151 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9152 Declare with `defvar-local'.
9153 (tabulated-list-use-header-line, tabulated-list-entries)
9154 (tabulated-list-padding, tabulated-list-printer)
9155 (tabulated-list-sort-key): Declare with `defvar-local'.
9156 (tabulated-list-init-header, tabulated-list-print-fake-header):
9157 Use `setq-local'.
9158
4a172eab
MA
91592013-06-20 Michael Albinus <michael.albinus@gmx.de>
9160
47199123
JB
9161 * arc-mode.el (archive-mode): Add `archive-write-file' to
9162 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 9163
5fc0acc0
JB
91642013-06-20 Juanma Barranquero <lekktu@gmail.com>
9165
d5b27848
JB
9166 * cus-edit.el (custom-commands): Fix typos.
9167 (custom-display): Fix tooltip text.
9168 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9169 Fix typos in docstrings.
9170 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9171 (custom-unlispify-menu-entry, custom-magic-value-create)
9172 (custom-add-see-also, custom-group-value-create): Use ?\s.
9173 (custom-guess-type, customize-apropos, editable-field)
9174 (custom-face-value-create): Use `string-match-p'.
9175 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9176
9177 * custom.el (custom-load-symbol): Use `string-match-p'.
9178
a5c581d8
JB
9179 * ansi-color.el: Convert to lexical binding.
9180 (ansi-colors): Fix URL.
9181 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9182 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9183 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9184
970ad972
G
91852013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9186
9187 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9188
9189 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9190
91912013-06-19 Tom Tromey <tromey@redhat.com>
9192
9193 * net/eww.el (eww-top-url): Remove.
9194 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9195 (eww-render): Set new variables. Don't set eww-top-url.
9196 (eww-handle-link): Handle "prev", "home", and "contents".
9197 Downcase the rel text.
9198 (eww-top-url): Choose best top URL.
9199
92002013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9201
9202 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9203 relying in widget.el. Using widget.el leads to too many
9204 user interface inconsistencies.
9205 (eww-self-insert): Implement entering commands in text fields.
9206 (eww-process-text-input): New function to make text input field editing
9207 work.
9208 (eww-submit): Rewrite to use the new-style form methods.
9209 (eww-select-display): Display the correct selected item.
9210 (eww-change-select): Implement changing the select value.
9211 (eww-toggle-checkbox): Implement radio/checkboxes.
9212 (eww-update-field): Fix compilation error.
9213 (eww-tag-textarea): Implement <textarea>.
9214
9215 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9216 we don't shadow mode-specific bindings.
9217
9218 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9219 nothing to push.
9220
9221 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9222
4582a01c 92232013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
9224
9225 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9226
15b263dc
MA
92272013-06-19 Michael Albinus <michael.albinus@gmx.de>
9228
9229 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9230 not needed.
9231
9232 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9233
8f5297f7
LMI
92342013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9235
9236 * net/browse-url.el (browse-url-browser-function):
9237 `eww-browse-url' has the right calling signature, `eww' does not.
9238
011c4552
GM
92392013-06-19 Glenn Morris <rgm@gnu.org>
9240
2285bd27
GM
9241 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9242 Only eval autoloaded macros.
9243 (byte-compile-autoload): Only give the macro warning for macros.
9244
1d653303
GM
9245 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9246 (ps-underlined-faces): Declare.
9247
bdd779ec
GM
9248 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9249 (speedbar-add-supported-extension): Declare.
9250
011c4552
GM
9251 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9252 Don't include a date stamp in the header of the generated file;
9253 it leads to needless differences between output files.
9254
e59dfb0e
MA
92552013-06-19 Michael Albinus <michael.albinus@gmx.de>
9256
c763842b
SM
9257 * net/secrets.el (secrets-struct-secret-content-type):
9258 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 9259 Some servers do not offer introspection.
e59dfb0e 9260
102626e2
SM
92612013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9262
9263 * electric.el (electric-pair-mode): Improve interaction with
9264 electric-layout-mode.
9265 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9266 (electric-pair-syntax): Use text-mode-syntax-table in comments
9267 and strings.
9268 (electric-pair--insert): New function.
9269 (electric-pair-post-self-insert-function): Use it and
9270 electric--after-char-pos.
9271
ad528125
LL
92722013-06-19 Leo Liu <sdl.web@gmail.com>
9273
9274 * progmodes/octave.el (octave-help): Fix regexp.
9275
924d6997
G
92762013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9277
9278 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9279 (shr-table-horizontal-line): Allow nil as a value, and change the
9280 default.
9281 (shr-insert-table-ruler): Respect the nil value.
9282
92832013-06-18 Tom Tromey <tromey@barimba>
9284
9285 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9286 New defvars.
9287 (eww-open-file): New defun.
9288 (eww-render): Initialize new variables.
9289 (eww-display-html): Handle "link" and "a".
9290 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9291 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9292 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
9293 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9294 New defuns.
924d6997 9295
d1bbba4f
DG
92962013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9297
9298 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9299 Distinguish ternary operator tokens from slash symbol and slash
9300 char literal.
9301
14dd22d2
JB
93022013-06-18 Juanma Barranquero <lekktu@gmail.com>
9303
9304 Convert symbol prettification into minor mode and global minor mode.
9305
9306 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9307 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9308 (prettify-symbols--keywords): Rename from
9309 `prog-prettify-symbols-alist' and make a local defvar.
9310 (prettify-symbols--compose-symbol): Rename from
9311 `prog--prettify-font-lock-compose-symbol'.
9312 (prettify-symbols--make-keywords): Rename from
9313 `prog-prettify-font-lock-symbols-keywords' and simplify.
9314 (prog-prettify-install): Remove.
9315 (prettify-symbols-mode): New minor mode, based on
9316 `prog-prettify-install'.
9317 (turn-on-prettify-symbols-mode): New function.
9318 (global-prettify-symbols-mode): New globalized minor mode.
9319
9320 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9321 * progmodes/cfengine.el (cfengine3-mode):
9322 * progmodes/perl-mode.el (perl-mode): Don't call
9323 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9324
292c880c
JL
93252013-06-18 Juri Linkov <juri@jurta.org>
9326
9327 * files-x.el (modify-file-local-variable-message): New function.
9328 (modify-file-local-variable)
9329 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9330 and call `modify-file-local-variable-message' when it's non-nil.
9331 (add-file-local-variable, delete-file-local-variable)
9332 (add-file-local-variable-prop-line)
9333 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9334 and use it. (Bug#9820)
9335
0950aa27
JL
93362013-06-18 Juri Linkov <juri@jurta.org>
9337
9338 * emulation/vi.el (vi-shell-op):
9339 * emulation/vip.el (vip-execute-com, ex-command):
9340 * emulation/viper-cmd.el (viper-exec-bang):
9341 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9342 the call of `shell-command-on-region'. (Bug#14637)
9343
9344 * simple.el (shell-command-on-region): Doc fix.
9345
8fbcca16
SM
93462013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9347
9348 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9349 (bug#14633).
9350
dd7426ea
GM
93512013-06-18 Glenn Morris <rgm@gnu.org>
9352
4ba54f7d
GM
9353 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9354
dd7426ea
GM
9355 * newcomment.el (comment-search-forward, comment-search-backward):
9356 Doc fix. (Bug#14376)
9357
58aa805b
JB
93582013-06-18 Juanma Barranquero <lekktu@gmail.com>
9359
9360 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9361 (buffer-face-mode-invoke): Doc fix.
9362
9a08a617
MM
93632013-06-18 Matthias Meulien <orontee@gmail.com>
9364
9365 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 9366 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 9367
f2f426ca
GM
93682013-06-18 Glenn Morris <rgm@gnu.org>
9369
9445f99b
GM
9370 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9371 Replace obsolete function generic-make-keywords with its expansion.
9372
e0df2d14
GM
9373 * progmodes/python.el (ffap-alist): Declare.
9374
f2f426ca
GM
9375 * textmodes/reftex.el (bibtex-mode-map): Declare.
9376
f7f9a720
SM
93772013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9378
9379 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9380 (package-unpack, package-unpack-single): Return the pkg-dir.
9381 (package-download-transaction): Use it to update package-alist.
9382
57ff04e0
LMI
93832013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9384
9385 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9386 possible choice.
9387
c048c022
JL
93882013-06-17 Juri Linkov <juri@jurta.org>
9389
9390 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9391
b5bcaee5
DG
93922013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9393
a020afb9
JB
9394 * emacs-lisp/package.el (package-load-descriptor):
9395 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
9396 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9397
551e07e5
JB
93982013-06-17 Juanma Barranquero <lekktu@gmail.com>
9399
9400 * startup.el (command-line): Expand package name returned by
9401 `package--description-file' (bug#14639).
9402
d363bffb
DG
94032013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9404
9405 * emacs-lisp/package.el (package-load-descriptor): Do not call
9406 `emacs-lisp-mode', just use its syntax table.
9407
f612933b
JB
94082013-06-17 Juanma Barranquero <lekktu@gmail.com>
9409
9410 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9411 `font-lock-extra-managed-props' if any prettifying keyword is added.
9412 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9413 (prog-mode): Use `setq-local'.
9414
db3b7db5
SM
94152013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9416
9417 * international/characters.el (standard-case-table): Set syntax of ?»
9418 and ?« to punctuation.
9419
f3d674df
JB
94202013-06-16 Juanma Barranquero <lekktu@gmail.com>
9421
9422 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9423 Save relevant match data before calling `syntax-ppss' (bug#14595).
9424
31489a32
JL
94252013-06-15 Juri Linkov <juri@jurta.org>
9426
9427 * files-x.el (modify-file-local-variable-prop-line): Add local
9428 variables to the end of the existing comment on the first line.
9429 Use `file-auto-mode-skip' to skip interpreter magic line,
9430 and also skip XML declaration.
9431
66bd25ab
SM
94322013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9433
9434 * startup.el (package--builtin-versions): New var.
9435 (package-subdirectory-regexp): Remove.
9436 (package--description-file): Hard code its value instead.
9437
9438 * emacs-lisp/package.el: Don't activate packages older than builtin.
9439 (package-obsolete-list): Rename from package-obsolete-alist, and make
9440 it into a simple list of package-desc.
9441 (package-strip-version): Remove.
9442 (package-built-in-p): Use package--builtin-versions.
9443 (package-mark-obsolete): Simplify.
9444 (package-process-define-package): Mark it obsolete if older than the
9445 builtin version.
9446 (package-handle-response): Use line-end-position.
9447 (package-read-archive-contents, package--download-one-archive):
9448 Simplify.
9449 (package--add-to-archive-contents): Skip if older than the builtin or
9450 installed version.
9451 (package-menu-describe-package): Fix last change.
9452 (package-list-unversioned): New var.
9453 (package-menu--generate): Use it.
9454
9455 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9456 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9457 (autoload-builtin-package-versions): New variable.
9458 (autoload-generate-file-autoloads): Use them.
9459 Remove the list of autoloaded functions/macros from the
9460 (autoload...) comments.
9461
9462 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9463
9583ec36
EZ
94642013-06-15 Eli Zaretskii <eliz@gnu.org>
9465
9466 * simple.el (line-move-partial): Don't jump to the next screen
9467 line as soon as it becomes visible. Instead, continue enlarging
9468 the vscroll until the portion of a tall screen line that's left on
9469 display is about the height of the frame's default font.
9470 (Bug#14567)
9471
f0100d8a
GM
94722013-06-15 Glenn Morris <rgm@gnu.org>
9473
b86a85ca
GM
9474 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9475 compilation-error-regexp-alist void, or local while let-bound.
9476
f0100d8a
GM
9477 * progmodes/make-mode.el (makefile-mode-syntax-table):
9478 Treat "=" as punctuation. (Bug#14614)
9479
05e7ce90
JB
94802013-06-15 Juanma Barranquero <lekktu@gmail.com>
9481
9482 * help-fns.el (describe-variable):
9483 Add extra line for permanent-local variables.
9484
12e5e86e
SH
94852013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9486
9487 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9488 Add export, import, library. (Bug#9164)
9489 (library): Set indent function.
9490
230dcbaf
GM
94912013-06-14 Glenn Morris <rgm@gnu.org>
9492
9493 * term/xterm.el (xterm--query):
9494 Stop after first matching handler. (Bug#14615)
9495
e36b2d20 94962013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
9497
9498 Add support for dired in saveplace.
9499 * dired.el (dired-initial-position-hook): New variable.
9500 (dired-initial-position): Call hook to place cursor position.
9501 * saveplace.el (save-place-to-alist): Add dired position.
9502 (save-place-dired-hook): New function.
9503
0b31660d
SM
95042013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9505
bf1e6ae8
SM
9506 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9507 through a symbol rather than letrec.
9508
1b8dff23
SM
9509 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9510 (package-desc): Add `dir' field.
9511 (package-desc-full-name): New function.
9512 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9513 (package-maybe-load-descriptor): Remove.
9514 (package-load-all-descriptors): Just call package-load-descriptor.
9515 (package--disabled-p): New function.
9516 (package-desc-vers, package-desc-doc): Remove aliases.
9517 (package--dir): Remove function.
9518 (package-activate): Check if a package is disabled.
9519 (package-process-define-package): New function, extracted from
9520 define-package.
9521 (define-package): Turn into a place holder.
9522 (package-unpack-single, package-tar-file-info):
9523 Use package--description-file.
9524 (package-compute-transaction): Use package--disabled-p.
9525 (package-download-transaction): Don't call
9526 package-maybe-load-descriptor since they're all loaded anyway.
9527 (package-install): Change argument to be a pkg-desc.
9528 (package-delete): Use a single pkg-desc argument.
9529 (describe-package-1): Use package-desc-dir instead of package--dir.
9530 Use package-desc property instead of package-symbol.
9531 (package-install-button-action): Adjust accordingly.
9532 (package--push): Rewrite.
9533 (package-menu--print-info): Adjust accordingly. Change the ID format
9534 to be a pkg-desc.
9535 (package-menu-describe-package, package-menu-get-status)
9536 (package-menu--find-upgrades, package-menu-mark-upgrades)
9537 (package-menu-execute, package-menu--name-predicate):
9538 Adjust accordingly.
9539 * startup.el (package--description-file): New function.
9540 (command-line): Use it.
9541 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9542 Use package-desc-version.
9543
0b31660d
SM
9544 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9545 (byte-compile-preprocess): Use it.
9546 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9547 can't quite recognize.
9548 (byte-compile-add-to-list): Remove.
9549 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9550 (cconv-closure-convert): Add assertion.
9551
9552 * emacs-lisp/map-ynp.el: Use lexical-binding.
9553 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9554 Factor out some repeated code.
9555
de0503df
SM
95562013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9557
9558 * subr.el (with-eval-after-load): New macro.
9559 (eval-after-load): Allow form to be a function.
9560 take advantage of lexical-binding.
9561 (do-after-load-evaluation): Use dolist and adjust to new format.
9562 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9563
bc5c8c5a
JL
95642013-06-13 Juri Linkov <juri@jurta.org>
9565
9566 * replace.el (perform-replace): Display "symbol " and other search
9567 modes from `isearch-message-prefix' in the *Help* buffer.
9568
9569 * isearch.el (isearch-query-replace): Add " symbol" and other
9570 possible search modes from `isearch-message-prefix' to the prompt.
9571 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9572 when reading a regexp to collect.
9573
a22289f7
JL
95742013-06-13 Juri Linkov <juri@jurta.org>
9575
9576 * isearch.el (word-search-regexp): Match whitespace if the search
9577 string begins or ends in whitespace. The LAX arg is applied to
9578 both ends of the search string. Use `regexp-quote' and explicit
9579 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9580 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9581 boundaries are replaced with symbol boundaries, and characters
9582 between symbols match non-word non-symbol syntax. (Bug#14602)
9583
cb89acab
JL
95842013-06-13 Juri Linkov <juri@jurta.org>
9585
9586 * isearch.el (isearch-del-char): Don't exceed the length of
9587 `isearch-string' by the prefix arg. (Bug#14563)
9588
6e8cfc81
JL
95892013-06-13 Juri Linkov <juri@jurta.org>
9590
9591 * isearch.el (isearch-yank-word, isearch-yank-line)
9592 (isearch-char-by-name, isearch-quote-char)
9593 (isearch-printing-char, isearch-process-search-char):
9594 Add optional count prefix arg. (Bug#14563)
9595
9596 * international/isearch-x.el
9597 (isearch-process-search-multibyte-characters):
9598 Add optional count prefix arg.
9599
c23d55f4
VS
96002013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9601
9602 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9603 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9604 lexical-binding.
9605
96062013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9607
9608 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9609
ba947bc4
GM
96102013-06-13 Glenn Morris <rgm@gnu.org>
9611
8baeb37a
GM
9612 * startup.el (tty-handle-args):
9613 Don't just discard "--" and anything after. (Bug#14608)
9614
ba947bc4
GM
9615 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9616
9abefce4
MA
96172013-06-13 Michael Albinus <michael.albinus@gmx.de>
9618
9619 Implement changes in Secret Service API. Make it backward compatible.
9620 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9621 (secrets-create-item): Use it. Prefix properties with interface.
9622
5755011f
MH
96232013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9624
9625 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9626 (term-emulate-terminal): Respect term-suppress-hard-newline.
9627
1261d2da
S
96282013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9629
9630 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9631 Only remove a `thumb-file' overlay. (Bug#14548)
9632
868490bb
GJ
96332013-06-12 Grégoire Jadi <daimrod@gmail.com>
9634
9635 * mail/reporter.el (reporter-submit-bug-report):
9636 Handle missing package-name. (Bug#14600)
9637
79d7167f
TH
96382013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9639
9640 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9641 (reftex-citation-prompt, reftex-default-bibliography)
9642 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9643 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9644 (reftex-bib-sort-author, reftex-bib-sort-year)
9645 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9646 (reftex-extract-bib-entries-from-thebibliography)
9647 (reftex-get-bibkey-default, reftex-get-bib-names)
9648 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9649 (reftex-format-bib-entry, reftex-parse-bibitem)
9650 (reftex-format-bibitem, reftex-do-citation)
9651 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9652 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9653 (reftex-insert-bib-matches, reftex-format-citation)
9654 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9655 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9656 existing comments into docstrings.
9657
5f9dbd7a
XF
96582013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9659
9660 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9661
94df41ab
AS
96622013-06-12 Andreas Schwab <schwab@suse.de>
9663
9664 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9665 for auto-save files.
9666
a7f3fecc
GM
96672013-06-12 Glenn Morris <rgm@gnu.org>
9668
001809f6
GM
9669 * ido.el (ido-delete-ignored-files): Remove.
9670 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9671 Go back to calling ido-ignore-item-p directly.
a7f3fecc 9672
834b5ded
EL
96732013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9674
08c73ed2
EL
9675 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9676
834b5ded
EL
9677 * ido.el (ido-delete-ignored-files): New function,
9678 split from ido-make-file-list-1.
9679 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9680 (ido-make-file-list-1): Use ido-delete-ignored-files.
9681
daabf15a
LL
96822013-06-12 Leo Liu <sdl.web@gmail.com>
9683
9684 * progmodes/octave.el (inferior-octave-startup)
9685 (inferior-octave-completion-table)
9686 (inferior-octave-track-window-width-change)
9687 (octave-eldoc-function-signatures, octave-help)
9688 (octave-find-definition): Use single quoted strings.
9689 (inferior-octave-startup-args): Change default value.
9690 (inferior-octave-startup): Do not hard code "-i" and
9691 "--no-line-editing".
9692 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9693 (inferior-octave-directory-tracker): Use it.
9694 (octave-goto-function-definition): Robustify.
9695 (octave-help): Support highlighting operators in 'See also'.
9696 (octave-find-definition): Find subfunctions only in Octave mode.
9697
cf4e5178
SM
96982013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9699
9700 * help-fns.el (help-fns--compiler-macro): If the handler function is
9701 named, then put a link to it.
9702 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9703 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9704 (cl-typep): Use it.
9705 (cl-eval-when): Simplify debug spec.
9706 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9707 compiler-macro function instead of setting `compiler-macro-file'.
9708
99c81280 97092013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
9710
9711 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9712 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9713
f56be016
SM
97142013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9715 Daniel Hackney <dan@haxney.org>
9716
9717 First part of Daniel Hackney's patch to package.el.
9718 * emacs-lisp/package.el: Use defstruct.
9719 (package-desc): New, main struct.
9720 (package--bi-desc, package--ac-desc): New structs, used to describe the
9721 format in external files.
9722 (package-desc-vers): Replace with package-desc-version accessor.
9723 (package-desc-doc): Replace with package-desc-summary accessor.
9724 (package-activate-1): Remove `package' arg since the pkg-vec now
9725 includes the name.
9726 (define-package): Use package-desc-from-define.
9727 (package-unpack-single): Change file-name arg to be a symbol.
9728 (package--add-to-archive-contents): Use package-desc-create and new
9729 accessor functions to package--ac-desc.
9730 (package-buffer-info, package-tar-file-info): Return a package-desc.
9731 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9732 arg to be a package-desc.
9733 (package-install-file): Adjust accordingly. Use \' to match EOS.
9734 (package--from-builtin): New function.
9735 (describe-package-1, package-menu--generate): Use it.
9736 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9737 (package-generate-autoloads): Idem and return the name of the file.
9738 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9739 Change pkg-info arg to be a package-desc.
9740 Use package-make-ac-desc.
9741 (package-upload-file): Use \' to match EOS.
9742 * finder.el (finder-compile-keywords): Use package-make-builtin.
9743
31119d63
SM
97442013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9745
931a2762
SM
9746 * vc/vc.el (vc-deduce-fileset): Change error message.
9747 (vc-read-backend): New function.
9748 (vc-next-action): Use it.
9749
5a3eb0c6
SM
9750 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9751
e3eb1bb7
SM
9752 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9753 (prolog-font-lock-keywords): Use regexp-opt instead.
9754 Don't manually highlight strings.
9755 (prolog-mode-variables): Simplify comment-start-skip.
9756 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9757
31119d63
SM
9758 * emacs-lisp/generic.el (generic--normalise-comments)
9759 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9760 (generic-mode-set-comments): Use them.
9761 (generic-bracket-support): Use setq-local.
9762 (generic-make-keywords-list): Declare obsolete.
9763
7de135d0
GM
97642013-06-11 Glenn Morris <rgm@gnu.org>
9765
9766 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9767 Prettify after setting font-lock-defaults. (Bug#14574)
9768
fa6bc6fd
JB
97692013-06-11 Juanma Barranquero <lekktu@gmail.com>
9770
9771 * replace.el (query-replace, occur-read-regexp-defaults-function)
9772 (replace-search):
9773 * subr.el (declare-function, number-sequence, local-set-key)
9774 (substitute-key-definition, locate-user-emacs-file)
9775 (with-silent-modifications, split-string, eval-after-load):
9776 Fix typos, remove unneeded backslashes and reflow some docstrings.
9777
cf1f9b9a
SM
97782013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9779
9780 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9781 default for Elisp files.
9782
56602a4b
GM
97832013-06-11 Glenn Morris <rgm@gnu.org>
9784
9785 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9786 although define-derived-mode was doing this anyway. (Bug#14583)
9787
30ae0b2c
JB
97882013-06-10 Juanma Barranquero <lekktu@gmail.com>
9789
9790 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9791 Fix make-variable-buffer-local call to refer to the correct variable.
9792
fa472906
AG
97932013-06-10 Aidan Gauland <aidalgol@amuri.net>
9794
9795 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
9796 (eshell-visual-subcommands, eshell-visual-options):
9797 Add summary line to docstrings. Add cross-references.
fa472906 9798
ff4871b9
GM
97992013-06-10 Glenn Morris <rgm@gnu.org>
9800
9801 * epa.el (epa-read-file-name): New function. (Bug#14510)
9802 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9803
04fcf1b0
AG
98042013-06-09 Aidan Gauland <aidalgol@amuri.net>
9805
9806 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9807 output redirection to be ignored with visual commands.
9808
88b00caa
AG
98092013-06-09 Aidan Gauland <aidalgol@amuri.net>
9810
9811 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
9812 (eshell-term-initialize): Move long lambda to separate function
9813 eshell-visual-command-p.
e7b41c4c
JB
9814 * eshell/em-dirs.el (eshell-dirs-initialise):
9815 * eshell/em-script.el (eshell-script-initialize):
9816 Add missing #' to lambda.
88b00caa 9817
fda74125
LL
98182013-06-08 Leo Liu <sdl.web@gmail.com>
9819
9820 * progmodes/octave.el (octave-add-log-current-defun): New function.
9821 (octave-mode): Set add-log-current-defun-function.
9822 (octave-goto-function-definition): Do not move point if not found.
9823 (octave-find-definition): Enhance to try subfunctions first.
9824
467f3b33
GM
98252013-06-08 Glenn Morris <rgm@gnu.org>
9826
9827 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9828 (byte-compile-backward-char, byte-compile-backward-word):
9829 Improve previous change, to handle non-explicit nil.
9830
544badc3
SM
98312013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9832
9833 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9834 (smie--opener/closer-at-point): New function.
9835 (smie--matching-block-data): Use it. Don't match from right after an
9836 opener or right before a closer. Obey smie-blink-matching-inners.
9837 Don't signal a mismatch for repeated inners like "switch..case..case".
9838
a175bf33
LL
98392013-06-07 Leo Liu <sdl.web@gmail.com>
9840
9841 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9842 to t. (Bug#14303)
ce8209d4
LL
9843 (octave-function-header-regexp): Fix. (Bug#14570)
9844 (octave-help-mode-finish-hook, octave-help-mode-finish):
9845 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
9846
9847 * newcomment.el (comment-search-backward): Revert last change.
9848 (Bug#14434)
9849
9850 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9851
a822acff
EZ
98522013-06-07 Eli Zaretskii <eliz@gnu.org>
9853
9854 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9855 through xargs, to avoid failure due to MS-Windows limitations on
9856 command-line length.
9857
961166f5
GM
98582013-06-06 Glenn Morris <rgm@gnu.org>
9859
d0341459
GM
9860 * font-lock.el (lisp-font-lock-keywords-2):
9861 Treat user-error like error.
9862
961166f5
GM
9863 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9864 (byte-compile-backward-char, byte-compile-backward-word):
9865 Handle explicit nil arguments. (Bug#14565)
9866
80fa505f
AM
98672013-06-05 Alan Mackenzie <acm@muc.de>
9868
9869 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 9870 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 9871 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 9872 (Bug#9706)
80fa505f 9873
fccdc796
SM
98742013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9875
9876 * autorevert.el (auto-revert-notify-handler): Use memq.
9877 Hide assertion failure.
9878
9879 * skeleton.el: Use cl-lib.
9880 (skeleton-further-elements): Use defvar-local.
9881 (skeleton-insert): Use cl-progv.
9882
9bfff84b
TZ
98832013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9884
9885 * progmodes/prog-mode.el (prog-prettify-symbols)
9886 (prog-prettify-install): Update docstrings.
9887
55577e7c
SM
98882013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9889
9890 * simple.el: Move all the prog-mode code to prog-mode.el.
9891 * progmodes/prog-mode.el: New file.
9892 * loadup.el: Add prog-mode.el.
9893
8fc57765
TZ
98942013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9895
9896 * simple.el (prog-prettify-symbols): Add version.
9897 (prog-prettify-install): Add convenience function to prettify symbols.
9898
9899 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9900 (perl--augmented-font-lock-keywords-1)
9901 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9902 variables and use it.
9903
9904 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9905 (cfengine3-mode): Remove unneeded variable and use it.
9906
9907 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9908 (lisp--augmented-font-lock-keywords-1)
9909 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9910 Remove unneeded variables and use it.
9911
650645d5 99122013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
9913
9914 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 9915 to point when opening the connection. (Bug#14380)
28f5da6d 9916
781b4af6
SM
99172013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9918
9919 * subr.el (load-history-regexp, load-history-filename-element)
9920 (eval-after-load, after-load-functions, do-after-load-evaluation)
9921 (eval-next-after-load, display-delayed-warnings)
9922 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9923 definition of save-match-data.
9924 (overriding-local-map): Remove accidental obsolescence declaration.
9925
9926 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9927
3ca0d0b4
TZ
99282013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9929
9930 Generalize symbol prettify support to prog-mode and implement it
9931 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9932 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9933 (prog--prettify-font-lock-compose-symbol)
9934 (prog-prettify-font-lock-symbols-keywords): New variables and
9935 functions to support symbol prettification.
9936 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9937 (lisp--augmented-font-lock-keywords-1)
9938 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9939 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9940 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
9941 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9942 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
9943 * progmodes/perl-mode.el (perl-prettify-symbols)
9944 (perl--font-lock-compose-symbol)
9945 (perl--font-lock-symbols-keywords): Move to prog-mode.
9946 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9947 (perl-font-lock-keywords-1)
9948 (perl-font-lock-keywords-2): Remove explicit prettify support.
9949 (perl--augmented-font-lock-keywords)
9950 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
9951 (perl--augmented-font-lock-keywords-2, perl-mode):
9952 Implement prettify support.
3ca0d0b4 9953
976cb066
LL
99542013-06-05 Leo Liu <sdl.web@gmail.com>
9955
9956 Re-implement smie matching block highlight using
9957 show-paren-data-function. (Bug#14395)
9958 * emacs-lisp/smie.el (smie-matching-block-highlight)
9959 (smie--highlight-matching-block-overlay)
9960 (smie--highlight-matching-block-lastpos)
9961 (smie-highlight-matching-block)
9962 (smie-highlight-matching-block-mode): Remove.
9963 (smie--matching-block-data-cache): New variable.
9964 (smie--matching-block-data): New function.
9965 (smie-setup): Use smie--matching-block-data for
9966 show-paren-data-function.
9967
9968 * progmodes/octave.el (octave-mode-menu): Fix.
9969 (octave-find-definition): Skip garbage lines.
9970
208d0342
SM
99712013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9972
9973 Fix compilation error with simultaneous dynamic+lexical scoping.
9974 Add warning when a defvar appears after the first let-binding.
9975 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9976 (byte-compile-close-variables): Initialize it.
9977 (byte-compile--declare-var): New function.
9978 (byte-compile-file-form-defvar)
9979 (byte-compile-file-form-define-abbrev-table)
9980 (byte-compile-file-form-custom-declare-variable): Use it.
9981 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9982 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9983 (byte-compile-bind): Handle dynamic bindings that shadow
9984 lexical bindings.
9985 (byte-compile-unbind): Make arg non-optional.
9986 (byte-compile-let): Simplify.
9987 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9988 (cconv--analyse-function, cconv-analyse-form): Populate it.
9989 Protect byte-compile-bound-variables to limit the scope of defvars.
9990 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9991 Remove unneeded rule for `declare'.
9992
9993 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9994 so as to avoid depending on cl-adjoin at run-time.
9995 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9996
9997 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9998 (macroexp--warn-and-return): Use it.
9999
1ac2891e
GM
100002013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10001
a12bf61e 10002 * subr.el: Convert to lexical binding.
1ac2891e
GM
10003 (overriding-local-map): Make obsolete.
10004 (add-to-list): Doc fix. Add compiler macro.
10005 (read-key): Swap values of local maps.
10006
2587b005
LL
100072013-06-05 Leo Liu <sdl.web@gmail.com>
10008
10009 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10010
f1da3c88
LL
100112013-06-04 Leo Liu <sdl.web@gmail.com>
10012
10013 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10014 (compilation-auto-jump): Suppress the "Mark set" message to give
10015 way to exit message.
10016
3caa391f
AM
100172013-06-04 Alan Mackenzie <acm@muc.de>
10018
10019 Remove faulty optimisation from indentation calculation.
10020 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10021 search limit based on 2000 characters back from indent-point.
10022
068922a2
TH
100232013-06-03 Tassilo Horn <tsdh@gnu.org>
10024
10025 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10026
1f8fdd53
SM
100272013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10028
bbcc4d97
SM
10029 * emacs-lisp/lisp.el: Use lexical-binding.
10030 (lisp--local-variables-1, lisp--local-variables): New functions.
10031 (lisp--local-variables-completion-table): New var.
208d0342 10032 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 10033
1f8fdd53
SM
10034 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10035 eagerly (bug#14422).
10036
c9628c79
MA
100372013-06-03 Michael Albinus <michael.albinus@gmx.de>
10038
10039 * autorevert.el (auto-revert-notify-enabled)
10040 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10041 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10042 (auto-revert-notify-handler): Handle also gfilenotify.
10043
e7b41c4c 10044 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 10045 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 10046 Remove.
c9628c79 10047
e5e4a942
JL
100482013-06-03 Juri Linkov <juri@jurta.org>
10049
10050 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10051 `M-s h .'. (Bug#14427)
10052
10053 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10054 command `hi-lock-face-symbol-at-point'.
10055 (hi-lock-face-symbol-at-point): New command.
10056 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10057 (hi-lock-menu): Add `highlight-symbol-at-point'.
10058 (hi-lock-mode): Doc fix.
10059
10060 * isearch.el (isearch-forward-symbol-at-point): New command.
10061 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10062 (isearch-highlight-regexp): Add a regexp which matches
10063 words/symbols for word/symbol mode.
10064
10065 * subr.el (find-tag-default-bounds): New function with the body
10066 mostly moved from `find-tag-default'.
10067 (find-tag-default): Move most code to `find-tag-default-bounds',
10068 call it and apply `buffer-substring-no-properties' afterwards.
10069
26b3353a
TH
100702013-06-03 Tassilo Horn <tsdh@gnu.org>
10071
781b4af6
SM
10072 * eshell/em-term.el (eshell-term-initialize):
10073 Use `cl-intersection' rather than `intersection'.
26b3353a 10074
51b60f53
XF
100752013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10076
fe054b63 10077 * vc/log-view.el: Doc fix.
d3ffe17c 10078 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 10079
a0eb10b3 100802013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
10081
10082 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10083 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10084 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10085 (eieio-unbound, eieio-default-superclass)
10086 (eieio--define-field-accessors, method-static, method-before)
10087 (method-primary, method-after, method-num-lists)
10088 (method-generic-before, method-generic-primary)
10089 (method-generic-after, method-num-slots)
10090 (eieio-specialized-key-to-generic-key)
10091 (eieio--check-type, class-v, class-p)
10092 (eieio-class-name, define-obsolete-function-alias)
10093 (eieio-class-parents-fast, eieio-class-children-fast)
10094 (same-class-fast-p, class-constructor, generic-p)
10095 (generic-primary-only-p, generic-primary-only-one-p)
10096 (class-option-assoc, class-option, eieio-object-p)
10097 (class-abstract-p, class-method-invocation-order)
10098 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10099 (eieio-class-un-autoload, eieio-defclass)
10100 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10101 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10102 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10103 (eieio-defgeneric-reset-generic-form)
10104 (eieio-defgeneric-form-primary-only)
10105 (eieio-defgeneric-reset-generic-form-primary-only)
10106 (eieio-defgeneric-form-primary-only-one)
10107 (eieio-defgeneric-reset-generic-form-primary-only-one)
10108 (eieio-unbind-method-implementations)
10109 (eieio--defmethod, eieio--typep)
10110 (eieio-perform-slot-validation, eieio-validate-slot-value)
10111 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10112 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10113 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10114 (eieio-slot-name-index, eieio-class-slot-name-index)
10115 (eieio-set-defaults, eieio-initarg-to-attribute)
10116 (eieio-attribute-to-initarg, eieio-c3-candidate)
10117 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10118 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10119 (eieio-class-precedence-list, eieio-generic-call-methodname)
10120 (eieio-generic-call-arglst, eieio-generic-call-key)
10121 (eieio-generic-call-next-method-list)
10122 (eieio-pre-method-execution-functions, eieio-generic-call)
10123 (eieio-generic-call-primary-only, eieiomt-method-list)
10124 (eieiomt-optimizing-obarray, eieiomt-install)
10125 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10126 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 10127 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
10128 (defclass): Remove `eval-and-compile' from macro.
10129 (call-next-method, shared-initialize): Instead of using
10130 `scoped-class' variable, use new eieio--scoped-class, and
10131 eieio--with-scoped-class.
10132 (initialize-instance): Rename local variable 'scoped-class' to
10133 'this-class' to remove ambiguitity from old global.
10134
10135 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10136 eieio.el.
4f405069
JB
10137 (eieio--scoped-class-stack): New variable.
10138 (eieio--scoped-class): New fcn.
890f7890
DE
10139 (eieio--with-scoped-class): New scoping macro.
10140 (eieio-defclass): Use pushnew instead of add-to-list.
10141 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10142 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10143 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10144 `scoped-class' variable, use new eieio--scoped-class, and
10145 eieio--with-scoped-class.
10146
10147 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10148
d105b0e2
TH
101492013-06-02 Tassilo Horn <tsdh@gnu.org>
10150
10151 * eshell/esh-ext.el (eshell-external-command): Pass args to
10152 `eshell-find-interpreter'.
10153 (eshell-find-interpreter): Add new second parameter ARGS.
10154
10155 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 10156 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10157
10158 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 10159 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10160
10161 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10162 (eshell-visual-options): New defcustom.
10163 (eshell-escape-control-x): Adapt docstring.
10164 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10165 `eshell-visual-options' in addition to `eshell-visual-commands'.
10166 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10167
f46305c8 101682013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
10169
10170 * progmodes/python.el (python-indent-block-enders): Add break,
10171 continue and raise keywords.
10172
d870df21
GM
101732013-06-01 Glenn Morris <rgm@gnu.org>
10174
9133b82e
GM
10175 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10176
02c992ec 10177 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
10178 * progmodes/cc-cmds.el (delete-forward-p):
10179 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10180 * progmodes/cc-engine.el (buffer-syntactic-context):
10181 * progmodes/cc-fonts.el (face-property-instance):
10182 * progmodes/cc-mode.el (set-keymap-parents):
10183 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10184 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10185 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
10186 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10187 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 10188
31e7b090
GM
10189 * progmodes/cc-vars.el (other): Emacs has this widget since
10190 at least 21.1, so don't (re)define it.
10191
d870df21
GM
10192 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10193 Replace the obsolete alias pcomplete-arg-quote-list.
10194
c75c93c7
LL
101952013-06-01 Leo Liu <sdl.web@gmail.com>
10196
10197 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10198 punctuation syntax.
10199 (inferior-octave-minimal-columns)
10200 (inferior-octave-last-column-width): New variables.
10201 (inferior-octave-track-window-width-change): New function.
10202 (inferior-octave-mode): Adjust column width so that Octave output,
10203 for example from 'ls', can fit into the window nicely.
10204
973d1e12
DG
102052013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10206
10207 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10208 Highlight expansions inside regexp literals.
10209
0888c286
GM
102102013-05-31 Glenn Morris <rgm@gnu.org>
10211
e26aac1f
GM
10212 * obsolete/sym-comp.el (symbol-complete):
10213 Replace obsolete completion-annotate-function.
10214
0888c286
GM
10215 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10216
19bb8e62
DG
102172013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10218
781b4af6
SM
10219 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10220 New function, checks if point is inside a literal that allows
19bb8e62
DG
10221 expression expansion.
10222 (ruby-syntax-propertize-expansion): Use it.
10223 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10224 around the body.
10225
01dea85f
JL
102262013-05-30 Juri Linkov <juri@jurta.org>
10227
10228 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10229 to "\M-si".
10230 (isearch-invisible): New variable.
10231 (isearch-forward): Doc fix.
10232 (isearch-mode): Set `isearch-invisible'
10233 to the value of `search-invisible'.
10234 (isearch-toggle-case-fold): Doc fix.
10235 (isearch-toggle-invisible): New command.
10236 (isearch-query-replace): Let-bind `search-invisible'
10237 to the value of `isearch-invisible'.
10238 (isearch-search): Use `isearch-invisible' instead of
10239 `search-invisible'. Let-bind `search-invisible'
10240 to the value of `isearch-invisible'. (Bug#11378)
10241
ab1bdce5
JL
102422013-05-30 Juri Linkov <juri@jurta.org>
10243
10244 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10245 call when `query-flag' is nil and `search-invisible' is non-nil.
10246 (Bug#11746)
10247
d6d236e2
GM
102482013-05-30 Glenn Morris <rgm@gnu.org>
10249
8accd027
GM
10250 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10251
2a8bed1c
GM
10252 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10253 (cc-require): Suppress spurious "noruntime" warnings.
10254 (cc-require-when-compile): Use fboundp, for sake of compiler.
10255
d6d236e2
GM
10256 * progmodes/cc-mode.el: Move load of cc-vars before that of
10257 cc-langs (which in turn loads cc-vars), to quieten compiler.
10258
9190b35b
SM
102592013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10260
10261 * paren.el: Simplify the code.
10262 (show-paren-mode): Always start the timer.
10263 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10264 (show-paren--overlay, show-paren--overlay-1): Rename from
10265 show-paren-overlay and show-paren-overlay-1, and initialize to an
10266 overlay rather than to nil.
10267 (show-paren-function): Misc cleanup and simplifications.
10268
4f8d1cf6
SM
102692013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10270
10271 * paren.el (show-paren-data-function): New hook.
10272 (show-paren--default): New function, extracted from show-paren-function.
10273 (show-paren-function): Use show-paren-data-function.
10274
02d844b5
GM
102752013-05-30 Glenn Morris <rgm@gnu.org>
10276
d209d4a9
GM
10277 * ielm.el (ielm-map, ielm-complete-symbol):
10278 Use completion-at-point rather than obsolete functions.
10279 (inferior-emacs-lisp-mode): Doc fix.
10280 Set completion-at-point-functions, rather than
10281 comint-dynamic-complete-functions.
10282
2082faa6
GM
10283 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10284 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10285 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10286
dd8620de
GM
10287 * image.el (image-animated-p): Tweak definition.
10288
ceca95b1
GM
10289 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10290 (rlogin-process-connection-type): Tweak default. Add set-after.
10291 (rlogin-host): Doc fix.
10292 (rlogin): Tweak prompt.
10293 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10294
ee9f1acc
GM
10295 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10296 * progmodes/tcl.el (inferior-tcl-mode-map):
10297 Use completion-at-point rather than obsolete alias.
10298
45ce222e
GM
10299 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10300
02d844b5
GM
10301 * minibuffer.el (read-file-name-completion-ignore-case):
10302 Move before completion--in-region, for eager macro expansion.
10303
ac44d6c1
JL
103042013-05-29 Juri Linkov <juri@jurta.org>
10305
10306 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10307 for total count of matching lines. Add `global-matches' for total
10308 count of matches. Rename `matches' to `lines' for count of
10309 matching lines. Add `matches' for count of matches.
10310 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10311 to `prev-line' for line number of prev match endpt.
10312 Increment `matches' for every match. Print the number of
10313 matching lines in the header.
10314 (occur-context-lines): Rename `lines' to `curr-line'.
10315 Rename `prev-lines' to `prev-line'. (Bug#14017)
10316
3c9c9d38
JL
103172013-05-29 Juri Linkov <juri@jurta.org>
10318
10319 * replace.el (perform-replace): Add `skip-read-only-count',
10320 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10321 Increment them for corresponding conditions and report the number
10322 of skipped occurrences in the final message. (Bug#11746)
10323 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10324 (replace-string, replace-regexp): Doc fix.
10325
33e249a2
SM
103262013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10327
8e399682
SM
10328 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10329
33e249a2 10330 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 10331 prog-mode-map (bug#14504).
33e249a2 10332
f236dd84
LL
103332013-05-29 Leo Liu <sdl.web@gmail.com>
10334
10335 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10336 (octave-help): Small simplification.
10337
10338 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10339 off the highlight first.
10340
3694d13f
GM
103412013-05-29 Glenn Morris <rgm@gnu.org>
10342
03983bdc
GM
10343 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10344 Handle idlwave-last-system-routine-info-cons-cell being nil.
10345
bc74a74a
GM
10346 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10347 (idlwave-write-paths): Simplify via with-temp-buffer.
10348
8b394200
GM
10349 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10350 * emulation/cua-rect.el: Also load cua-base at run time.
10351
3694d13f
GM
10352 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10353 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10354 (cperl-imenu-on-info): Require imenu.
10355
336d7284
AM
103562013-05-28 Alan Mackenzie <acm@muc.de>
10357
10358 Handle "capitalised keywords" correctly.
33e249a2 10359 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 10360
cb29c582
AG
103612013-05-28 Aidan Gauland <aidalgol@amuri.net>
10362
781b4af6 10363 * eshell/em-unix.el: Add -r option to cp.
cb29c582 10364
690e44b2
GM
103652013-05-28 Glenn Morris <rgm@gnu.org>
10366
e658d75c
GM
10367 * vc/vc-arch.el (vc-exec-after): Declare.
10368 (vc-switches): Autoload.
10369 * vc/vc-bzr.el: No need to require vc when compiling.
10370 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10371 (vc-resynch-buffer, vc-dir-refresh): Declare.
10372 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
10373 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10374 (vc-resynch-buffer): Declare.
10375 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 10376 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
10377 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10378 (grep-read-regexp, grep-read-files, grep-expand-template)
10379 (vc-dir-refresh): Declare.
10380 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10381 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10382 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
10383 * vc/vc-mtn.el (vc-exec-after): Declare.
10384 (vc-switches): Autoload.
10385 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10386 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10387 (vc-file-tree-walk): Declare.
712b9732
GM
10388 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10389 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10390 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
10391 * vc/vc-svn.el (vc-exec-after): Declare.
10392 (vc-switches, vc-setup-buffer): Autoload.
10393 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10394 Autoload.
10395 (vc-resynch-buffer): Declare.
10396
98e87fb3
GM
10397 * obsolete/fast-lock.el (byte-compile-warnings):
10398 Don't warn about obsolete features in this obsolete file.
10399
f5379553
GM
10400 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10401 Move definition before use.
10402
7a20ef83
GM
10403 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10404 (dun-unix-verbs): Remove dun-zippy.
10405 (dun-zippy): Remove function.
10406
690e44b2
GM
10407 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10408
3a52ccf7
JL
104092013-05-27 Juri Linkov <juri@jurta.org>
10410
10411 * replace.el (replace-search): New function with code moved out
10412 from `perform-replace'.
10413 (replace-highlight, replace-dehighlight): Move function definitions
10414 up closer to `replace-search'. (Bug#11746)
10415
d289938a
JL
104162013-05-27 Juri Linkov <juri@jurta.org>
10417
10418 * replace.el (perform-replace): Ignore invisible matches.
10419 In addition to checking `query-replace-skip-read-only', also
10420 filter out matches by calling `run-hook-with-args-until-failure'
10421 on `isearch-filter-predicates', and also check `search-invisible'
10422 for t or call `isearch-range-invisible'.
10423 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10424
66fc57e3
JL
104252013-05-27 Juri Linkov <juri@jurta.org>
10426
10427 * isearch.el (isearch-filter-predicates): Rename from
10428 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10429 (isearch-message-prefix): Display text from the property
10430 `isearch-message-prefix' of the currently active filters.
10431 (isearch-search): Don't compare `isearch-filter-predicate' with
10432 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10433 on `isearch-filter-predicates'. Also check `search-invisible' for t
10434 or call `isearch-range-invisible'.
10435 (isearch-filter-visible): Make obsolete.
10436 (isearch-lazy-highlight-search):
10437 Call `run-hook-with-args-until-failure' on
10438 `isearch-filter-predicates' and use `isearch-range-invisible'.
10439
10440 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10441 `isearch-filter-predicates' instead of `funcall'ing
10442 `isearch-filter-predicate'.
10443 (Info-mode): Set `Info-isearch-filter' to
10444 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10445
10446 * dired-aux.el (dired-isearch-filter-predicate-orig):
10447 Remove variable.
10448 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10449 (dired-isearch-filenames-end): Add and remove
10450 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10451 instead of changing the value of `isearch-filter-predicate'.
10452 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10453 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10454 Put property `isearch-message-prefix' to "filename " on
10455 `dired-isearch-filter-filenames'.
10456
10457 * wdired.el (wdired-change-to-wdired-mode):
10458 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10459 locally instead of changing `isearch-filter-predicate'.
10460 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10461
f1a60a0f
DG
104622013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10463
10464 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10465 return the commit hash (Bug#14459). Also set the
10466 `vc-git-detached' property.
10467 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10468 (vc-git-mode-line-string): Use the same help-echo format whether
10469 in detached mode or not, because we know the actual revision now.
10470 When in detached mode, shorten the revision to 7 chars.
10471
7f17cc40
SM
104722013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10473
10474 * emacs-lisp/easy-mmode.el (define-minor-mode):
10475 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10476 mode hook and provide a docstring.
10477
25c8401c
AM
104782013-05-27 Alan Mackenzie <acm@muc.de>
10479
10480 Remove spurious syntax-table text properties inserted by C-y.
10481 * progmodes/cc-mode.el (c-after-change): Also clear hard
10482 syntax-table property with value nil.
10483
dde84790
MA
104842013-05-27 Michael Albinus <michael.albinus@gmx.de>
10485
10486 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10487 when reading the events; the buffer layout shall not be changed.
10488
837fd9af
LL
104892013-05-27 Leo Liu <sdl.web@gmail.com>
10490
10491 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10492 New variable.
10493 (inferior-octave-directory-tracker): Automatically re-sync
10494 default-directory.
10495 (octave-help): Improve handling of 'See also'.
10496
4fd996b3
SM
104972013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10498
416f1802
SM
10499 * doc-view.el: Minor naming convention tweaks.
10500 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10501
4fd996b3
SM
10502 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10503 even if there's no `display' property yet (bug#14435).
10504
a052ef3b
EZ
105052013-05-25 Eli Zaretskii <eliz@gnu.org>
10506
4fd996b3 10507 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
10508
10509 * Makefile.in (custom-deps, finder-data, autoloads)
10510 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10511 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10512 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10513
c9023370
SM
105142013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10515
10516 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10517 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 10518 Don't burp at EOB.
c9023370 10519
24d699fa
LL
105202013-05-25 Leo Liu <sdl.web@gmail.com>
10521
10522 * comint.el (comint-previous-matching-input): Do not flood the
10523 *Messages* buffer with trivial messages.
10524
17e5c0cc
SM
105252013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10526
10527 * progmodes/flymake.el (flymake-nop): Don't return a string.
10528 (flymake-set-at): Fix typo.
10529
10530 * simple.el (read--expression): New function, extracted from
10531 eval-expression. Set completion-at-point-functions (bug#14465).
10532 (eval-expression, eval-minibuffer): Use it.
10533
5d028165
XF
105342013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10535
10536 * progmodes/flymake.el (flymake-save-buffer-in-file)
10537 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10538 (flymake-selected-frame, flymake-log, flymake-ins-after)
10539 (flymake-set-at, flymake-get-buildfile-from-cache)
10540 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10541 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10542 Refine the doc string.
10543 (flymake-get-file-name-mode-and-masks): Reformat.
10544 (flymake-get-real-file-name-function): Fix a minor bug.
10545
7a1d7ba7
JL
105462013-05-24 Juri Linkov <juri@jurta.org>
10547
10548 * progmodes/grep.el (grep-mode-font-lock-keywords):
10549 Support =linenumber= format used by git-grep for lines with
10550 function names. (Bug#13549)
10551
650cff3d
SM
105522013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10553
10554 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10555 0 after a semi-colon; it works better for smie-auto-fill.
10556 (octave--indent-new-comment-line): New function.
10557 (octave-indent-new-comment-line): Use it (indirectly).
10558 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10559 modify comment-line-break-function.
10560
10561 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10562 (smie-setup): Use add-function to set it.
10563
9631677d
SS
105642013-05-24 Sam Steingold <sds@gnu.org>
10565
10566 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10567 argument (before the `interactive' argument).
10568
50105835
SM
105692013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10570
10571 * image-mode.el (image-mode-winprops): Add winprops to
10572 image-mode-winprops-alist before running
10573 image-mode-new-window-functions.
10574 * doc-view.el (doc-view-new-window-function): Don't delay
10575 doc-view-goto-page via timers (bug#14435).
10576
57b9823e
TH
105772013-05-24 Tassilo Horn <tsdh@gnu.org>
10578
10579 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10580 (doc-view-desktop-save-buffer): New function.
10581 (doc-view-restore-desktop-buffer): New function.
50105835
SM
10582 (desktop-buffer-mode-handlers):
10583 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
10584 handler.
10585 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10586 `desktop-save-buffer' function.
10587
91aafa16
MA
105882013-05-24 Michael Albinus <michael.albinus@gmx.de>
10589
10590 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10591 (tramp-gvfs-file-name-handler): Raise a user error when
10592 `tramp-gvfs-enabled' is nil.
10593 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10594 Do not raise a user error when loading package. (Bug#14447)
10595
ec076379
MA
10596 * net/xesam.el: Move to obsolete/.
10597
db785726
GM
105982013-05-24 Glenn Morris <rgm@gnu.org>
10599
af5c7606
GM
10600 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10601
e5d1916a
GM
10602 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10603
ded62b08
GM
10604 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10605 (Info-find-node, Man-getpage-in-background): Declare.
10606
9e614a3f
GM
10607 * mail/unrmail.el (unrmail):
10608 Replace obsolete detect-coding-with-priority.
10609
892f8ca3
GM
10610 * net/socks.el (socks-split-string): Use this rather than split-string.
10611 (socks-nslookup-host): Update for above change.
10612 (dynamic-choice, s5-dynamic-choice-match)
10613 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10614 Comment out unused code.
10615
3c291973
GM
10616 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10617 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10618 (gud-tooltip-echo-area): Make obsolete.
10619 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10620
43cc956b
GM
10621 * progmodes/js.el (js--optimize-arglist): Declare.
10622
dab49a3b
GM
10623 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10624
36b9d085
GM
10625 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10626 (ediff-window-C): Declare.
10627
e354ae76
GM
10628 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10629 Tweak requires to silence compiler.
10630
b8e57bf4
GM
10631 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10632 (he-search-string, he-tried-table, he-expand-list)
10633 (he-init-string, he-string-member, he-substitute-string)
10634 (he-reset-string): Declare.
10635
db785726
GM
10636 * obsolete/options.el (list-options): Use custom-variable-p,
10637 rather than obsolete alias.
10638
b3531901
SS
106392013-05-23 Sam Steingold <sds@gnu.org>
10640
10641 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 10642 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
10643 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10644
bdda4c66
SM
106452013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10646
10647 * emacs-lisp/smie.el (smie-indent-forward-token)
10648 (smie-indent-backward-token): Handle string tokens (bug#14381).
10649
c43d45f9
TH
106502013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10651
fe1eb856
RS
10652 * ielm.el (ielm-menu): New menu.
10653 (inferior-emacs-lisp-mode): Set comment-start.
96172128 10654
fe1eb856
RS
106552013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10656
a12bf61e 10657 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
10658 Fix deactivate action.
10659
a12bf61e 10660 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 10661 Add cleveref macros.
074dd971 10662
a12bf61e 10663 * textmodes/reftex-parse.el
c43d45f9
TH
10664 (reftex-locate-bibliography-files): Accept options for
10665 bibliography commands.
a12bf61e 10666 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
10667 Add addbibresource. Basic Biblatex support.
10668
7764286e
MA
106692013-05-23 Michael Albinus <michael.albinus@gmx.de>
10670
10671 * net/tramp-gvfs.el (top):
10672 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10673 when loading package. (Bug#14447)
10674
d361bc10
GM
106752013-05-23 Glenn Morris <rgm@gnu.org>
10676
8fa23984
GM
10677 * progmodes/js.el: No need to load comint when compiling.
10678 (ring-insert, comint-send-string, comint-send-input)
10679 (comint-last-input-end, ido-chop): Declare.
10680
a5c7df1a
GM
10681 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10682 * vc/ediff-mult.el: Adjust requires.
10683 (ediff-directories-internal, ediff-directory-revisions-internal)
10684 (ediff-patch-file-internal): Declare.
10685 * vc/ediff-ptch.el: Adjust requires.
10686 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10687 (ediff-find-file): Autoload.
10688 * vc/ediff-util.el: No need to load ediff when compiling.
10689 (ediff-regions-internal): Declare.
10690 * vc/ediff-wind.el: Adjust requires.
10691 (ediff-compute-toolbar-width): Define when compiling.
10692 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10693 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10694 (dired-get-filename, dired-get-marked-files)
10695 (ediff-last-dir-patch, ediff-patch-default-directory)
10696 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10697 (ediff-patch-buffer-internal): Declare.
10698
e2aec513
GM
10699 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10700 (ispell-process, ispell-buffer-local-words, lm-summary)
10701 (lm-section-start, lm-section-end): Declare.
10702 (checkdoc-ispell-init): Simplify.
10703
e68bbd7c
GM
10704 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10705 (he-string-member, he-reset-string, he-substitute-string): Declare.
10706
7efe0991
GM
10707 * eshell/em-ls.el: Adjust requires.
10708 (eshell-glob-regexp): Declare.
f87b1284
GM
10709 * eshell/em-tramp.el: Adjust requires.
10710 (eshell-parse-command): Autoload.
10711 * eshell/em-xtra.el: Adjust requires.
10712 (eshell-parse-command): Autoload.
10713 * eshell/esh-ext.el: Adjust requires.
10714 (eshell-parse-command, eshell-close-handles): Autoload.
10715 * eshell/esh-io.el: Adjust requires.
10716 (eshell-output-filter): Autoload.
10717 * eshell/esh-util.el: No need to load tramp when compiling.
10718 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10719 Declare.
10720 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10721 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10722 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10723 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10724 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10725 * eshell/esh-opt.el, eshell/esh-proc.el:
10726 * eshell/esh-var.el: Adjust requires.
10727 * eshell/eshell.el: Do not require esh-util twice.
10728 (eshell-add-input-to-history): Declare.
10729 (eshell-command): Check history module is active before using it.
10730
d361bc10
GM
10731 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10732
85d090a9
LL
107332013-05-22 Leo Liu <sdl.web@gmail.com>
10734
10735 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10736
5d0acd9d
MA
107372013-05-22 Michael Albinus <michael.albinus@gmx.de>
10738
10739 * autorevert.el (auto-revert-notify-add-watch)
10740 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10741 it indicates changes in file modification time.
10742
0cdffd7d
GM
107432013-05-22 Glenn Morris <rgm@gnu.org>
10744
ca5995ec
GM
10745 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10746 Always delete the autoloaded function from the noruntime and
10747 unresolved functions lists.
10748
6450907e
GM
10749 * allout.el: No need to load epa, epg, overlay when compiling.
10750 (epg-context-set-passphrase-callback, epg-list-keys)
10751 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10752 (epg-key-user-id-list): Declare.
10753
9c6906f6
GM
10754 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10755 (viper-set-parsing-style-toggling-macro)
10756 (viper-set-emacs-state-searchstyle-macros):
10757 Use called-interactively-p on Emacs.
10758 (viper-looking-back): Make it an obsolete alias. Update callers.
10759 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10760 Use looking-back rather than viper-looking-back.
10761 (viper-tmp-insert-at-eob, viper-enlarge-region)
10762 (viper-read-string-with-history, viper-register-to-point)
10763 (viper-append-to-register, viper-change-state-to-vi)
10764 (viper-backward-char-carefully, viper-forward-char-carefully)
10765 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10766 (viper-change-state-to-emacs): Declare.
10767 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10768 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10769 * emulation/viper-mous.el: Do not load viper-cmd.
10770 (viper-backward-char-carefully, viper-forward-char-carefully)
10771 (viper-forward-word, viper-adjust-window): Declare.
10772
5f70c169
GM
10773 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10774
b1b7f300
GM
10775 * progmodes/idlw-help.el (idlwave-help-fontify):
10776 Use called-interactively-p.
10777
f6ebbb46
GM
10778 * term/w32console.el (w32-get-console-codepage)
10779 (w32-get-console-output-codepage): Declare.
10780
0cdffd7d
GM
10781 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10782 Remove unnecessary declarations.
10783 (dframe-message): Doc fix.
10784
10785 * info.el (dframe-select-attached-frame, dframe-current-frame):
10786 Declare.
10787
10788 * speedbar.el (speedbar-message): Make it an obsolete alias.
10789 Update all callers.
10790 (speedbar-with-attached-buffer)
10791 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10792 (speedbar-with-writable): Use backquote.
10793 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10794 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10795 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10796 rather than speedbar- aliases.
10797 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10798 (speedbar-make-specialized-keymap, speedbar-insert-button)
10799 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10800 (speedbar-do-function-pointer): Declare.
10801 (rmail-speedbar-button, rmail-speedbar-find-file)
10802 (rmail-speedbar-move-message):
10803 Use dframe-with-attached-buffer rather than speedbar- alias.
10804 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10805 (dframe-message, speedbar-make-specialized-keymap)
10806 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10807 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10808 (speedbar-insert-button, dframe-select-attached-frame)
10809 (dframe-maybee-jump-to-attached-frame)
10810 (speedbar-change-initial-expansion-list)
10811 (speedbar-previously-used-expansion-list-name): Declare.
10812 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10813 Use dframe-message, dframe-with-attached-buffer rather than
10814 speedbar- aliases.
10815 (gud-sentinel): Silence compiler.
10816 * progmodes/vhdl-mode.el (speedbar-refresh)
10817 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10818 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10819 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10820 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10821 (speedbar-file-lists, speedbar-make-tag-line)
10822 (speedbar-line-directory, speedbar-goto-this-file)
10823 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10824 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10825 (speedbar-make-button, speedbar-reset-scanners)
10826 (speedbar-files-item-info, speedbar-line-text)
10827 (speedbar-find-file-in-frame, speedbar-set-timer)
10828 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10829 (speedbar-with-writable): Do not (re)define it.
10830 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10831 rather than speedbar- alias.
10832
ee44b62a
LL
108332013-05-21 Leo Liu <sdl.web@gmail.com>
10834
10835 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10836 menu items.
10837 (octave-mode): Tweak fill-nobreak-predicate.
10838 (inferior-octave-startup): Check process to avoid infinite loop.
10839 (inferior-octave): Pop to buffer first to show abornmal process
10840 exit information.
10841
640f050f
GM
108422013-05-21 Glenn Morris <rgm@gnu.org>
10843
79458038
GM
10844 * printing.el (pr-menu-bar): Define when compiling.
10845
9cc3e83f
LL
108462013-05-21 Leo Liu <sdl.web@gmail.com>
10847
10848 * progmodes/octave.el (octave-auto-fill): Remove.
10849 (octave-indent-new-comment-line): Improve.
10850 (octave-mode): Use auto fill mode through
4f405069 10851 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 10852 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 10853 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
10854 (octave-help): Show parent directory.
10855
f440830d
GM
108562013-05-21 Glenn Morris <rgm@gnu.org>
10857
10858 * files.el (dired-unmark):
10859 * progmodes/gud.el (gdb-input): Update declarations.
10860
10861 * calculator.el (electric, ehelp): No need to load when compiling.
10862 (Electric-command-loop, electric-describe-mode): Declare.
10863
10864 * doc-view.el (doc-view-current-converter-processes): Move before use.
10865
10866 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10867 Move MODE-set-explicitly definition before use.
10868
10869 * international/mule-diag.el (mule-diag):
10870 Don't use obsolete window-system-version.
10871
10872 * mail/feedmail.el (smtpmail): No need to load when compiling.
10873 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10874
10875 * mail/mail-utils.el (rfc822): No need to load when compiling.
10876 (rfc822-addresses): Autoload it.
10877 (mail-strip-quoted-names): Trivial simplification.
10878
10879 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10880 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10881
10882 * net/snmp-mode.el (tempo): Don't duplicate requires.
10883
10884 * progmodes/prolog.el (info): No need to load when compiling.
10885 (comint): Require before shell requires it.
10886 (Info-goto-node): Autoload it.
10887 (Info-follow-nearest-node): Declare.
10888 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10889
10890 * textmodes/artist.el (picture-mode-exit): Declare.
10891
10892 * textmodes/reftex-parse.el (reftex-parse-from-file):
10893 Trivial rewrite so the compiler can parse it better.
10894
b4da2cbb
LL
108952013-05-20 Leo Liu <sdl.web@gmail.com>
10896
10897 * progmodes/octave.el (octave-help-mode-map)
10898 (octave-help-mode-finish-hook): New variables.
10899 (octave-help-mode, octave-help-mode-finish): New functions.
10900 (octave-help): Use octave-help-mode.
10901
33c0f65b
GM
109022013-05-20 Glenn Morris <rgm@gnu.org>
10903
10904 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10905
1a0a0a8a
DG
109062013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10907
10908 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10909 start at point, so that expansion starting right after opening
10910 slash in a regexp is recognized.
10911 (ruby-syntax-before-regexp-re): New defvar, extracted from
10912 ruby-syntax-propertize-function. Since the value of this regexp
10913 is looked up at runtime now, we should be able to turn
10914 `ruby-syntax-methods-before-regexp' into a defcustom later.
10915 (ruby-syntax-propertize-function): Split regexp matching into two
10916 parts, for opening and closing slashes. That allows us to skip
10917 over string interpolations and support multiline regexps.
10918 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10919 for them, which calls `ruby-syntax-propertize-expansion'.
10920 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10921 call to `ruby-syntax-propertize-function'.
10922 (ruby-syntax-propertize-expansion): Extracted from
10923 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
10924 (ruby-syntax-propertize-percent-literal): Leave point right after
10925 the percent symbol, so that the expression expansion rule can
10926 propertize the contents.
462388b6
DG
10927 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10928 heredoc openers.
10929 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 10930
c1a6c0a4
JL
109312013-05-18 Juri Linkov <juri@jurta.org>
10932
10933 * man.el (Man-default-man-entry): Remove `-' from the end
10934 of the default value. (Bug#14400)
10935
8051fccd
GM
109362013-05-18 Glenn Morris <rgm@gnu.org>
10937
10938 * comint.el (comint-password-prompt-regexp):
10939 Allow "password for XXX" where XXX contains colons (eg https://...).
10940
5e80b74f
LL
109412013-05-18 Leo Liu <sdl.web@gmail.com>
10942
10943 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 10944 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
10945 (octave-source-directories): Don't check process.
10946 (octave-source-directories, octave-find-definition): Doc fix.
10947
521a54c5
GM
109482013-05-18 Glenn Morris <rgm@gnu.org>
10949
86a94b05
GM
10950 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10951 Remove backspace/delete bindings. (Bug#14392)
10952
521a54c5
GM
10953 * cus-dep.el (custom-make-dependencies): Sort the output.
10954 (custom-versions-load-alist): Convert comment to doc.
10955
42caeb89
LL
109562013-05-17 Leo Liu <sdl.web@gmail.com>
10957
10958 * newcomment.el (comment-search-backward): Stricter in finding
10959 comment start. (Bug#14303)
10960
10961 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10962 (octave-comment-start-skip): Properly anchored.
10963
e219dd97
LL
109642013-05-17 Leo Liu <sdl.web@gmail.com>
10965
fe1eb856
RS
10966 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10967 Clean up when turned off. (Bug#14395)
e219dd97
LL
10968 (smie--highlight-matching-block-overlay): No longer buffer-local.
10969 (smie-highlight-matching-block): Adjust.
10970
dc5dcb4b
PE
109712013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10972
10973 Doc string fix for "nanoseconds" (Bug#14406).
10974 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10975 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10976
1db165f0
JB
109772013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10978
10979 * calc/calc-units.el (math-extract-units): Preserve powers
10980 of units.
10981
c7a8fcac
LL
109822013-05-17 Leo Liu <sdl.web@gmail.com>
10983
10984 * subr.el (delete-consecutive-dups): New function.
10985 * ido.el (ido-set-matches-1): Use it.
10986 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10987 * ido.el (ido-remove-consecutive-dups): Remove.
10988
f678b18a
SM
109892013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10990
10991 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10992 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10993 regexp-opt's `words'.
10994
ebfe68e8
LL
109952013-05-16 Leo Liu <sdl.web@gmail.com>
10996
10997 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10998 (smie--highlight-matching-block-overlay)
10999 (smie--highlight-matching-block-lastpos)
11000 (smie--highlight-matching-block-timer): New variables.
11001 (smie-highlight-matching-block): New function.
11002 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11003 (smie-setup): Conditionally enable smie-blink-matching-open.
11004
bc8bc17d
WS
110052013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11006
11007 Sync with upstream verilog-mode r840.
11008 * progmodes/verilog-mode.el (verilog-mode-version)
11009 (verilog-mode-release-date): Update.
11010 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11011 (verilog-sig-tieoff): Fix string error on
11012 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11013 (verilog-read-decls): Fix parameters confusing
11014 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11015
df065a0b
EZ
110162013-05-16 Eli Zaretskii <eliz@gnu.org>
11017
11018 * subr.el (reveal-filename): New function.
11019
11020 * loadup.el: Compute Emacs executable versions on MS-Windows,
11021 where executables have the .exe extension. Add a hard link
11022 emacs-XX.YY.ZZ.exe on MS-Windows.
11023
11024 * Makefile.in (XARGS_LIMIT): New variable.
11025 (custom-deps, finder-data, autoloads)
11026 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11027 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11028 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11029 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11030
2d4bf34b
LL
110312013-05-16 Leo Liu <sdl.web@gmail.com>
11032
11033 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11034 (octave-mode-menu, octave-mode-map): Remove its uses.
11035
6b9c2d85
RZ
110362013-05-16 Reto Zimmermann <reto@gnu.org>
11037
11038 Sync with upstream vhdl mode v3.34.2.
11039 * progmodes/vhdl-mode.el: Use `push' throughout.
11040 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11041 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11042 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11043 (vhdl-actual-generic-name): New option to derive actual generic name.
11044 (vhdl-port-paste-signals): Replace formal by actual generics.
11045 (vhdl-beautify): New name for old group vhdl-align. Update users.
11046 (vhdl-beautify-options): New option.
11047 (vhdl-last-input-event): New compat alias. Use throughout.
11048 (vhdl-goto-line): Replace user level function `goto-line'.
11049 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11050 vhdl-fix-statement-buffer.
11051 (vhdl-create-mode-menu): Add some entries.
11052 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11053 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11054 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11055 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11056 to force statements on one line.
11057 (vhdl-remove-trailing-spaces-region):
11058 New, split from vhdl-remove-trailing-spaces.
11059 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11060 Respect vhdl-beautify-options.
11061 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11062 (vhdl-update-sensitivity-list): Not add with index if exists without.
11063 Not include array index with signal. Ignore keywords in comments.
11064 (vhdl-get-visible-signals): Regexp tweaks.
11065 (vhdl-template-component-inst): Handle empty library.
11066 (vhdl-template-type): Add template for 'enum' type.
11067 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11068 Use vhdl-replace-string.
11069 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11070 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11071 (vhdl-speedbar-initialize): Update for above name change.
11072 (vhdl-compose-wire-components): Fix in handling of constants.
11073 (vhdl-error-regexp-emacs-alist): New variable.
11074 (vhdl-error-regexp-add-emacs): New function;
11075 adds support for new compile.el (Emacs 22+)
11076 (vhdl-generate-makefile-1): Change target order for single lib. units.
11077 Allow use of absolute file names.
11078
9df4ec5e
LL
110792013-05-16 Leo Liu <sdl.web@gmail.com>
11080
11081 * simple.el (prog-indent-sexp): Indent enclosing defun.
11082
f5ba00a6
GM
110832013-05-15 Glenn Morris <rgm@gnu.org>
11084
ed8be7ff
GM
11085 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11086 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11087 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11088 (whitespace-highlight): Move to whitespace group.
11089
11090 * comint.el (comint-source):
11091 * pcmpl-linux.el (pcmpl-linux):
11092 * shell.el (shell-faces):
11093 * eshell/esh-opt.el (eshell-opt):
11094 * international/ccl.el (ccl): Remove empty custom groups.
11095
11096 * completion.el (dynamic-completion-mode):
11097 * jit-lock.el (jit-lock-debug-mode):
11098 * minibuffer.el (completion-in-region-mode):
11099 * type-break.el (type-break-mode-line-message-mode)
11100 (type-break-query-mode):
11101 * emulation/tpu-edt.el (tpu-edt-mode):
11102 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11103 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11104 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11105
11106 * term/xterm.el (xterm): Change parent group to terminals.
11107
11108 * master.el (master): Remove empty custom group.
11109 (master-mode): Remove unused :group argument.
11110 * textmodes/refill.el (refill): Remove empty custom group.
11111 (refill-mode): Remove unused :group argument.
11112
11113 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11114
82a7c41b
GM
11115 * cus-dep.el: Provide a feature.
11116 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
11117 Don't mistakenly ignore files whose basenames match a basename
11118 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 11119 Add a fallback method for getting :group.
f5ba00a6 11120
6d65486d
JL
111212013-05-15 Juri Linkov <juri@jurta.org>
11122
da547b32
JL
11123 * isearch.el (isearch-char-by-name): Rename from
11124 `isearch-insert-char-by-name'. Doc fix.
11125 (isearch-forward): Mention `isearch-char-by-name' in
11126 the docstring. (Bug#13348)
11127
6d65486d
JL
11128 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11129 `exit-minibuffer' instead of
11130 `isearch-nonincremental-exit-minibuffer'.
11131 (isearch-edit-string): Remove mention of
11132 `isearch-nonincremental-exit-minibuffer' from docstring.
11133 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11134 (isearch-forward-exit-minibuffer)
11135 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11136
c9990474
SM
111372013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11138
6e911150
SM
11139 * loadup.el: Just use unversioned DOC.
11140
c9990474
SM
11141 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11142 literals as extending to EOB.
11143 (nxml-last-fontify-end): Remove unused variable.
11144 (nxml-after-change1): Use with-silent-modifications.
11145 (nxml-extend-after-change-region): Simplify.
11146 (nxml-extend-after-change-region1): Remove function.
11147 (nxml-after-change1): Don't adjust for dependent regions.
11148 (nxml-fontify-matcher): Simplify.
11149 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11150 (xmltok-add-dependent): Remove function.
11151 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11152 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11153 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11154 unclosed <[[, <?, comment, and other literals as extending to EOB.
11155 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11156 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11157 Remove functions.
11158 (rng-do-some-validation-1): Don't mark dependent regions.
11159 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11160 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11161 (nxml-clear-dependent-regions): Remove functions.
11162 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11163 (nxml-ensure-scan-up-to-date):
11164 Don't clear&mark dependent regions.
11165
e3772e98
LL
111662013-05-15 Leo Liu <sdl.web@gmail.com>
11167
c9990474
SM
11168 * progmodes/octave.el (octave-goto-function-definition):
11169 Improve and fix callers.
e3772e98 11170
5ac2eb34
SM
111712013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11172
c46c57b0
SM
11173 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11174 the setter (bug#14387).
11175
5ac2eb34
SM
11176 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11177 surrounding group (bug#14402).
11178
180ed218
JL
111792013-05-14 Juri Linkov <juri@jurta.org>
11180
11181 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11182 (Bug#14390)
11183
0ac0fecb
GM
111842013-05-14 Glenn Morris <rgm@gnu.org>
11185
11186 * progmodes/f90.el (f90-imenu-generic-expression):
11187 Fix typo in 2013-05-08 change. (Bug#14402)
11188
2e78e6a7
JPG
111892013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11190
5ac2eb34
SM
11191 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11192 Remove signals for which replies are never received.
2e78e6a7 11193
53267cca
JPG
111942013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11195
11196 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11197 (gdb-handler-alist, gdb-handler-number): Remove variables.
11198 (gdb-handler-list): New variable.
11199 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11200 (gdb-pending-handler-p, gdb-handle-reply)
11201 (gdb-remove-all-pending-triggers): New functions.
11202 (gdb-discard-unordered-replies): New defcustom.
11203 (gdb-handler): New defstruct.
11204 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11205 instead of gdb-pending-triggers. Update docstring.
11206 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11207 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11208 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11209 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11210 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11211 (gdb-frame-handler): Pending triggers are now automatically managed.
11212 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11213 Remove argument.
11214 (gdb-input): Automatically handles pending triggers. Update docstring.
11215 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11216 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11217 Update comments.
11218 (gdb-done-or-error): Now use gdb-handle-reply.
11219
d04ce803
JPG
112202013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11221
11222 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11223 gdb-debug-log.
11224
0114073a
GM
112252013-05-14 Glenn Morris <rgm@gnu.org>
11226
11227 * subr.el (user-emacs-directory-warning): New option.
11228 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11229
4d25fd7e
LL
112302013-05-14 Leo Liu <sdl.web@gmail.com>
11231
11232 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11233 during redisplay.
11234 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
11235 (octave-font-lock-texinfo-comment): Fix invalid search bound
11236 error: wrong side of point.
4d25fd7e 11237
27c8b6eb
GM
112382013-05-14 Glenn Morris <rgm@gnu.org>
11239
61aaeb01
GM
11240 * progmodes/flymake.el (flymake-xml-program): New option.
11241 (flymake-xml-init): Use it.
11242
5bf90bc5
GM
11243 * term/xterm.el: Provide a feature.
11244
11245 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 11246
f4c7dfd2
GM
112472013-05-13 Glenn Morris <rgm@gnu.org>
11248
11249 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11250 Add compat aliases as a hack workaround. (Bug#14384)
11251
2aeb3a1d
LL
112522013-05-13 Leo Liu <sdl.web@gmail.com>
11253
b0e069c2
LL
11254 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11255 ###, and %!.
f5a9432f
LL
11256 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11257 C-M-q.
b0e069c2
LL
11258 (octave-comment-start-skip): Include %!.
11259 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 11260
30ea8374
LL
112612013-05-12 Leo Liu <sdl.web@gmail.com>
11262
11263 * progmodes/octave.el (inferior-octave-startup): Store the value
11264 of __octave_srcdir__ for octave-source-directories.
11265 (inferior-octave-check-process): New function refactored out of
11266 inferior-octave-send-list-and-digest.
11267 (octave-source-directories)
11268 (octave-find-definition-filename-function): New variables.
11269 (octave-source-directories)
11270 (octave-find-definition-default-filename): New functions.
11271 (octave-find-definition): Improve to find functions implemented in C++.
11272
472a3834
GM
112732013-05-12 Glenn Morris <rgm@gnu.org>
11274
11275 * calendar/diary-lib.el (diary-outlook-format-1):
11276 Don't include dayname in the output. (Bug#14349)
11277
3191b52f
GM
112782013-05-11 Glenn Morris <rgm@gnu.org>
11279
0060ac73
GM
11280 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11281
3191b52f
GM
11282 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11283 Treat cc-provide like provide.
11284
e065ba74
KR
112852013-05-11 Kevin Ryde <user42@zip.com.au>
11286
11287 * cus-dep.el (custom-make-dependencies):
11288 Use generated-autoload-load-name for the sake of files such
11289 such cedet/semantic/bovine/c.el, where the base file name
11290 is not in load-path. (Bug#5277)
11291
36f84c37
GM
112922013-05-11 Glenn Morris <rgm@gnu.org>
11293
11294 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11295 Provide features.
11296
c8730c3a
LL
112972013-05-11 Leo Liu <sdl.web@gmail.com>
11298
11299 * progmodes/octave.el (octave-indent-comment): Improve.
11300 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
11301 (octave-eldoc-function-signatures, octave-eldoc-function):
11302 New functions.
c8730c3a
LL
11303 (octave-mode, inferior-octave-mode): Add eldoc support.
11304
212e29f2
RS
113052013-05-11 Richard Stallman <rms@gnu.org>
11306
11307 * epa.el (epa-decrypt-file): Take output file name as argument
11308 and read it using `interactive'.
11309
083fe0d7
LL
113102013-05-11 Leo Liu <sdl.web@gmail.com>
11311
11312 * progmodes/octave.el (octave-beginning-of-line)
11313 (octave-end-of-line): Check before using up-list because it jumps
11314 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
11315 (octave-indent-comment): New function.
11316 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
11317 (octave-begin-keywords, octave-end-keywords)
11318 (octave-reserved-words, octave-smie-bnf-table)
11319 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 11320
8582e4c4
GM
113212013-05-11 Glenn Morris <rgm@gnu.org>
11322
f20def1f
GM
11323 * faces.el (internal-face-x-get-resource):
11324 * frame.el (ns-display-monitor-attributes-list):
d78abe37 11325 * calc/calc-aent.el (math-to-radians-2):
f20def1f 11326 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 11327 Fix declarations.
f20def1f 11328
445f95e2
GM
11329 * calc/calc-menu.el: Make it loadable in isolation.
11330
11331 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11332 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11333 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11334 (eudc-bbdb-query-internal): Require 'bbdb.
11335
99fb2756
GM
11336 * lpr.el (lpr-headers-switches):
11337 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11338
11339 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11340
0da7ad96
GM
11341 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11342
8582e4c4
GM
11343 * term.el (term-set-escape-char): Make it idempotent.
11344
f71c50d0
LL
113452013-05-10 Leo Liu <sdl.web@gmail.com>
11346
5ac2eb34
SM
11347 * progmodes/octave.el (inferior-octave-completion-table):
11348 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
11349 completion due to bug#11906.
11350 (octave-beginning-of-defun): Re-write to be more general.
11351
d5837773
GM
113522013-05-10 Glenn Morris <rgm@gnu.org>
11353
11354 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11355
027c0f75
SM
113562013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11357
11358 * comint.el (comint-redirect-send-command-to-process): Use :around
11359 rather than :override for comint-redirect-filter.
11360 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11361 Call it instead of comint-redirect-original-filter-function (which
11362 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11363
4465bfb4
JD
113642013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11365
11366 * frame.el (display-monitor-attributes-list): Add NS case.
11367 (ns-display-monitor-attributes-list): Declare.
11368
2d809ffa 113692013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
11370
11371 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11372
e54eeb9b
GM
113732013-05-09 Glenn Morris <rgm@gnu.org>
11374
56cd351d
GM
11375 * international/fontset.el (vertical-centering-font-regexp):
11376 Set standard-value.
11377
d84b6108
GM
11378 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11379
a931698a
GM
11380 * bookmark.el (bookmark-search-delay):
11381 * cus-start.el (vertical-centering-font-regexp):
11382 * ps-mule.el (ps-mule-font-info-database-default):
11383 * ps-print.el (ps-default-fg, ps-default-bg):
11384 * type-break.el (type-break-good-break-interval):
11385 * whitespace.el (whitespace-indentation-regexp)
11386 (whitespace-space-after-tab-regexp):
11387 * emacs-lisp/testcover.el (testcover-1value-functions)
11388 (testcover-noreturn-functions, testcover-progn-functions)
11389 (testcover-prog1-functions):
11390 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11391 * eshell/em-glob.el (eshell-glob-translate-alist):
11392 * play/tetris.el (tetris-tty-colors):
11393 * progmodes/cpp.el (cpp-face-default-list):
11394 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11395 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11396 (idlwave-help-browser-generic-args):
11397 * progmodes/make-mode.el (makefile-special-targets-list):
11398 * progmodes/python.el (python-shell-virtualenv-path):
11399 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11400 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11401 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11402 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11403 * textmodes/reftex-vars.el (reftex-format-label-function):
11404 * textmodes/remember.el (remember-diary-file): Fix custom types.
11405
e54eeb9b
GM
11406 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11407 Add :version.
11408
455851dd
LL
114092013-05-09 Leo Liu <sdl.web@gmail.com>
11410
11411 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 11412 Restore file completion. (Bug#14300)
455851dd
LL
11413 (inferior-octave-startup): Fix incorrect highlighting for the
11414 first prompt.
11415
a9e4425b
SM
114162013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11417
11418 * progmodes/ruby-mode.el: First cut at SMIE support.
11419 (ruby-use-smie): New var.
11420 (ruby-smie-grammar): New constant.
11421 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11422 (ruby-smie--forward-token, ruby-smie--backward-token)
11423 (ruby-smie-rules): New functions.
11424 (ruby-mode-variables): Setup SMIE if applicable.
11425
060ca408
EZ
114262013-05-08 Eli Zaretskii <eliz@gnu.org>
11427
11428 * simple.el (line-move-visual): Signal beginning/end of buffer
11429 only if vertical-motion moved less than it was requested. Avoids
11430 silly incorrect error messages when there are display strings with
11431 multiple newlines at EOL.
11432
1d5963cc
SM
114332013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11434
11435 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11436 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11437 (prolog-char-quote-workaround):
11438 * progmodes/cperl-mode.el (cperl-under-as-char):
11439 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
11440 Mark as obsolete.
11441 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
11442 their declaration.
11443 (vhdl-mode-syntax-table-init): Remove.
11444
c9990474
SM
11445 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11446 last change.
1d5963cc
SM
11447
11448 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11449 syntax for "_".
11450 (ld-script-font-lock-keywords):
11451 Change regexps to use things like \_< and \_>.
11452
11453 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11454 Change all regexps to use things like \_< and \_>.
11455
11456 * progmodes/autoconf.el (autoconf-definition-regexp)
11457 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11458 Handle a _ with symbol syntax.
11459 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11460
c9990474
SM
11461 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11462 Consolidate declaration.
1d5963cc
SM
11463 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11464 the declaration.
11465 (ada-create-syntax-table): Remove.
11466 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11467 already has the right syntax nowadays.
11468 (ada-goto-next-word): Don't change the syntax of "_".
11469
11470 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11471 with-wrapper-hook.
11472
72d3cfca
SS
114732013-05-08 Sam Steingold <sds@gnu.org>
11474
11475 * thingatpt.el (thing-at-point): Accept optional second argument
11476 NO-PROPERTIES to strip the text properties from the return value.
11477 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11478 to `thing-at-point' instead of stripping the properties ourselves.
11479 Also, when `thing-at-point' fails to find a url, prepend "http://"
11480 to the filename at point on the assumption that the user is
11481 pointing at something like gnu.org/gnu.
11482
5cb15713
JB
114832013-05-08 Juanma Barranquero <lekktu@gmail.com>
11484
11485 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11486 * faces.el (crm-separator):
11487 Silence byte-compiler.
11488
11489 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11490 (tool-bar-map): Remove unneeded defvars.
11491
ea78b95b
LL
114922013-05-08 Leo Liu <sdl.web@gmail.com>
11493
11494 Re-work a fix for bug#10994 based on Le Wang's patch.
11495 * ido.el (ido-remove-consecutive-dups): New helper.
11496 (ido-completing-read): Use it.
11497 (ido-chop): Revert fix for bug#10994.
11498
dc7466df
AS
114992013-05-08 Adam Spiers <emacs@adamspiers.org>
11500
11501 * cus-edit.el (custom-save-variables):
11502 Pretty-print long values. (Bug#14187)
11503
9ecf672a
GM
115042013-05-08 Glenn Morris <rgm@gnu.org>
11505
11506 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11507 (m4-mode-syntax-table): Init in the defvar.
11508 (m4-mode-abbrev-table): Let define-derived-mode define it.
11509
3f555be8
TT
115102013-05-08 Tom Tromey <tromey@redhat.com>
11511
11512 * progmodes/m4-mode.el (m4-mode-syntax-table):
11513 Do not treat "_" as word constituent. (Bug#14167)
11514
7cc8ae06
GM
115152013-05-07 Glenn Morris <rgm@gnu.org>
11516
4f58bc06
GM
11517 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11518 Remove explicit eshell-isearch-cancel-map.
11519
7cc8ae06
GM
11520 * progmodes/f90.el (f90-smart-end-names): New option.
11521 (f90-smart-end): Doc fix.
11522 (f90-end-block-optional-name): New constant.
11523 (f90-block-match): Respect f90-smart-end-names.
11524
ceb57e59
SM
115252013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11526
11527 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11528 about implicit semi-colons (bug#14218).
11529
4e3f9230
YM
115302013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11531
11532 * frame.el (display-monitor-attributes-list)
11533 (frame-monitor-attributes): New functions.
11534
203a5572
LL
115352013-05-06 Leo Liu <sdl.web@gmail.com>
11536
11537 * progmodes/octave.el (octave-syntax-propertize-function): Change
11538 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11539 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 11540 (octave-completion-at-point): Rename from
203a5572
LL
11541 octave-completion-at-point-function.
11542 (inferior-octave-directory-tracker): Robustify.
11543 (octave-text-functions): Remove and fix its uses. No such things
11544 any more.
11545
ee6cff99
SM
115462013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11547
11548 * emacs-lisp/trace.el (trace--display-buffer): New function.
11549 (trace-make-advice): Use it.
11550
32985194
JL
115512013-05-06 Juri Linkov <juri@jurta.org>
11552
11553 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11554 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11555 Doc fix.
11556 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11557 in the help string. (Bug#12985)
11558
a1c700de
KD
115592013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11560
11561 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11562
c67c0839
SM
115632013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11564
323885fd
SM
11565 * progmodes/perl-mode.el: Add support for here documents.
11566 (perl-syntax-propertize-function): Match here-doc markers.
11567 (perl-syntax-propertize-special-constructs): Find their end.
11568 (perl-imenu-generic-expression): Use [:alnum:].
11569
c67c0839
SM
11570 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11571 (advice--add-function): Refresh the advice if already present
11572 (bug#14317).
11573
d491e7a8
IA
115742013-05-06 Ivan Andrus <darthandrus@gmail.com>
11575
11576 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11577
ddf9925e
GM
115782013-05-06 Glenn Morris <rgm@gnu.org>
11579
7cc3af27
GM
11580 * w32-fns.el (w32-charset-info-alist): Declare.
11581
16e343d6
GM
11582 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11583 of its defcustom properties.
11584 (eshell-cmpl-initialize): No need to load pcomplete.
11585
7d889a47
GM
11586 * generic-x.el: No need to require comint when compiling.
11587
ddf9925e
GM
11588 * net/eudc-export.el: Make it loadable without bbdb.
11589 (top-level): Use require rather than load-library.
11590 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11591 (eudc-batch-export-records-to-bbdb)
11592 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11593 Require bbdb.
11594
1e2c18df
SM
115952013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11596
11597 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11598 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11599 some tweaks, instead.
11600
02502a5f
LL
116012013-05-05 Leo Liu <sdl.web@gmail.com>
11602
11603 * progmodes/octave.el (octave-font-lock-keywords)
11604 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11605 (inferior-octave-send-list-and-digest): Improve error message.
11606 (octave-mode, inferior-octave-mode): Use setq-local.
11607 (octave-help): Set info-lookup-mode.
11608
0dc04f42
RS
116092013-05-05 Richard Stallman <rms@gnu.org>
11610
6c54491c
RS
11611 * vc/compare-w.el (compare-windows-whitespace):
11612 Treat no-break space as whitespace.
11613
0dc04f42
RS
11614 * mail/rmailsum.el (rmail-summary-rmail-update):
11615 Detect empty summary and don't change selected message.
11616 (rmail-summary-goto-msg): Likewise.
11617
df8f35df
RS
11618 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11619 Doc fixes, rename args.
11620
5356e1a3
AM
116212013-05-05 Alan Mackenzie <acm@muc.de>
11622
11623 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11624
d44014cb
JL
116252013-05-05 Juri Linkov <juri@jurta.org>
11626
11627 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11628 to not add the length of the summary segment to the return value.
11629 (Bug#14125)
11630
c129b51f
LL
116312013-05-05 Leo Liu <sdl.web@gmail.com>
11632
11633 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11634 (inferior-octave-output-filter): Remove.
11635 (octave-send-region, inferior-octave-startup): Fix callers.
11636 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11637 (octave-binary-file-extensions): New user variable.
11638 (octave-find-definition): Confirm if opening binary files.
11639 (octave-help-file): Use octave-find-definition to get the binary
11640 confirmation.
11641 (octave-help): Adjust for octave-help-file change.
11642
aa7dab97
SM
116432013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11644
11645 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11646 Merge the two entries that handle function definitions.
11647 (pascal--syntax-propertize): New const.
11648 (pascal-mode): Use it. Use setq-local.
11649
fd3a9a6b
GM
116502013-05-04 Glenn Morris <rgm@gnu.org>
11651
11652 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11653 (diary-from-outlook): Respect diary-from-outlook-function.
11654
30c7e542
SM
116552013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11656
11657 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11658 Move the declaration from C.
11659 (read-minibuffer, eval-minibuffer): Move from C.
11660 (completion-setup-function): Avoid minibuffer-completion-contents.
11661
b54f978b
LL
116622013-05-03 Leo Liu <sdl.web@gmail.com>
11663
11664 * progmodes/octave.el (octave-font-lock-keywords): Do not
11665 dehighlight 'end' in comments or strings.
30c7e542
SM
11666 (octave-completing-read, octave-goto-function-definition):
11667 New helpers.
d4d0f9b3
LL
11668 (octave-help-buffer): New user variable.
11669 (octave-help-file, octave-help-function): New button types.
11670 (octave-help): New command and bind it to C-h ;.
11671 (octave-find-definition): New command and bind it to M-.
d74a1581 11672 (user-error): Alias to error if not defined.
b54f978b 11673
27135018
LL
116742013-05-02 Leo Liu <sdl.web@gmail.com>
11675
11676 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11677 for \. (bug#14332)
11678 (octave-font-lock-keywords): Include [ and {.
11679
0d634d3a
LL
116802013-05-02 Leo Liu <sdl.web@gmail.com>
11681
11682 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11683 (inferior-octave): Remove calling comint-mode and return the buffer.
11684 (inferior-octave-startup): Cosmetic changes.
11685
b4c8295e
LL
116862013-05-02 Leo Liu <sdl.web@gmail.com>
11687
30c7e542
SM
11688 * progmodes/octave.el (octave-syntax-propertize-function):
11689 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 11690
f12ad6ec
GM
116912013-05-02 Glenn Morris <rgm@gnu.org>
11692
11693 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11694 * desktop.el (vc-dir-mode): Just autoload it here.
11695
30cac1e0
AM
116962013-05-02 Alan Mackenzie <acm@muc.de>
11697
11698 Eliminate variable c-standard-font-lock-fontify-region-function.
11699 * progmodes/cc-mode.el
11700 (c-standard-font-lock-fontify-region-function): Remove.
11701 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11702
d8ef28b1
LL
117032013-05-01 Leo Liu <sdl.web@gmail.com>
11704
2640d52e 11705 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 11706 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 11707 variables were removed from Octave in 2007.
d8ef28b1
LL
11708 (inferior-octave-startup): Fix uses.
11709 (comint-line-beginning-position): Remove compatibility code for
11710 emacs 21.
11711
ac63ec89
JL
117122013-05-01 Juri Linkov <juri@jurta.org>
11713
11714 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11715
9e9be37c
JL
117162013-05-01 Juri Linkov <juri@jurta.org>
11717
11718 * comint.el (comint-previous-matching-input): Don't print message
11719 "History item: %d" when `isearch-mode' is active.
11720 (comint-history-isearch-message): Print message "History item: %d"
11721 when `comint-input-ring-index' is not empty and this function is
11722 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11723
9b92c13b
LL
117242013-05-01 Leo Liu <sdl.web@gmail.com>
11725
11726 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11727 definitions. Use completion-at-point to insert keywords.
11728 (octave-abbrev-start): Remove.
11729 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11730
b12d33d7
LL
117312013-04-30 Leo Liu <sdl.web@gmail.com>
11732
11733 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11734 change.
11735
3d1c39fa
AM
117362013-04-30 Alan Mackenzie <acm@muc.de>
11737
11738 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
11739 * progmodes/cc-engine.el (c-back-over-member-initializers):
11740 new function.
3d1c39fa
AM
11741 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11742 (most) member init lists.
11743
5147fc17
RS
117442013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11745
11746 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11747 variable.
11748
5b78d7fc
LL
117492013-04-30 Leo Liu <sdl.web@gmail.com>
11750
11751 * progmodes/octave.el (octave-variables): Remove. No builtin
11752 variables any more. All converted to functions.
11753 (octave-font-lock-keywords, octave-completion-at-point-function):
11754 Fix uses.
11755 (octave-font-lock-texinfo-comment): New user variable.
11756 (octave-texinfo-font-lock-keywords): New variable for texinfo
11757 comment block.
11758 (octave-function-comment-block): New face.
11759 (octave-font-lock-texinfo-comment): New function.
11760 (octave-mode): Font lock texinfo comment block.
11761
38d8527b
LL
117622013-04-29 Leo Liu <sdl.web@gmail.com>
11763
11764 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11765 indexing expression.
11766 (octave-continuation-string): Do not use \.
11767 (inferior-octave-complete-impossible): Remove.
11768 (inferior-octave-completion-table)
11769 (inferior-octave-completion-at-point): Remove its uses.
11770 (inferior-octave-startup): completion_matches was introduced to
11771 Octave in 1996 so safe to assume it.
11772 (octave-function-file-comment): Improve to follow how Octave does it.
11773 (octave-update-function-file-comment): Tweak.
11774
2ec12cb0
LL
117752013-04-29 Leo Liu <sdl.web@gmail.com>
11776
11777 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11778 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11779 (octave-function-file-comment): Fix typo.
11780 (octave-sync-function-file-names): Use read-char-choice.
11781
6eaed048
JB
117822013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11783
11784 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11785 to t for the less important warnings.
11786
3ffa2d4f
DH
117872013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11788
11789 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11790
685c9501
GM
117912013-04-27 Glenn Morris <rgm@gnu.org>
11792
11793 * vc/log-view.el (log-view-current-entry):
11794 Treat "---" separator lines as part of the following rev. (Bug#14169)
11795
0208ede7
JL
117962013-04-27 Juri Linkov <juri@jurta.org>
11797
11798 * subr.el (read-number): Doc fix about using it by interactive
11799 code letter `n'. (Bug#14254)
11800
5db9dace
JL
118012013-04-27 Juri Linkov <juri@jurta.org>
11802
11803 * desktop.el (desktop-auto-save-timeout): New option.
11804 (desktop-file-checksum): New variable.
11805 (desktop-save): Add optional arg `auto-save' and don't auto-save
11806 if nothing changed.
11807 (desktop-auto-save-timer): New variable.
11808 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11809 (after-init-hook): Call `desktop-auto-save-set-timer'.
11810 Suggested by Reuben Thomas <rrt@sc3d.org> in
11811 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11812
b7260dd4
LL
118132013-04-27 Leo Liu <sdl.web@gmail.com>
11814
11815 * progmodes/octave.el (octave-function-file-p)
11816 (octave-skip-comment-forward, octave-function-file-comment)
11817 (octave-update-function-file-comment): New functions.
11818 (octave-mode-map): Bind C-c ; to
11819 octave-update-function-file-comment.
11820 (octave-mode-menu): Add octave-update-function-file-comment.
11821 (octave-mode, inferior-octave-mode): Fix doc-string.
11822 (octave-insert-defun): Conform to Octave's coding convention.
11823 (Bug#14285)
11824
11825 * files.el (basic-save-buffer): Don't let errors in
11826 before-save-hook prevent saving buffer.
11827
c46da669
RW
118282013-04-20 Roland Winkler <winkler@gnu.org>
11829
11830 * faces.el (read-face-name): Use completing-read if arg multiple
11831 is nil.
11832
a81ee1eb
IL
118332013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11834
11835 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
11836 displayed, move point to after the totals line.
11837 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
11838 for the details.
11839
4fac34ce
SM
118402013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11841
11842 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11843 Add current dir to the load-path.
11844 (package-generate-autoloads): Don't rely on
11845 autoload-ensure-default-file.
11846
f6bfc063
RT
118472013-04-26 Reuben Thomas <rrt@sc3d.org>
11848
d40ab5cf
BG
11849 * textmodes/remember.el (remember-store-in-files): Document that
11850 the file name format is passed to `format-time-string'.
f6bfc063 11851
e55d3b04
LL
118522013-04-26 Leo Liu <sdl.web@gmail.com>
11853
11854 * progmodes/octave.el (octave-sync-function-file-names): New function.
11855 (octave-mode): Use it in before-save-hook.
11856
e53052d3
SM
118572013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11858
140ef50c
SM
11859 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11860 (bug#14274).
11861
e53052d3
SM
11862 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11863 \n and comment, even if it's not an implicit ; (bug#14218).
11864
af80458d 118652013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
11866
11867 * subr.el (read-number): Once more use `read' rather than
11868 `string-to-number', to trap non-numeric input. (Bug#14254)
11869
af80458d 118702013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
11871
11872 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11873 Use `syntax-multiline' text property consistently instead of
8a621d53 11874 `font-lock-multiline'. (Bug#14237)
70203c2e 11875
e6ea1f6c
GM
118762013-04-26 Glenn Morris <rgm@gnu.org>
11877
11878 * emacs-lisp/shadow.el (list-load-path-shadows):
11879 No longer necessary to check for duplicate simple.el, since
11880 2012-07-07 change to init_lread to not include installation lisp
11881 directories in load-path when running uninstalled. (Bug#14270)
11882
070ccca4
LL
118832013-04-26 Leo Liu <sdl.web@gmail.com>
11884
11885 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11886 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 11887 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
11888 octave-in-string-or-comment-p.
11889 (octave-in-comment-p, octave-in-string-p)
11890 (octave-in-string-or-comment-p): Replace defsubst with defun.
11891
9d1c5fb6
PE
118922013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11893
11894 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11895
c034abda
BG
118962013-04-25 Bastien Guerry <bzg@gnu.org>
11897
11898 * textmodes/remember.el (remember-data-directory)
11899 (remember-directory-file-name-format): Fix custom types.
11900
584ea277
LL
119012013-04-25 Leo Liu <sdl.web@gmail.com>
11902
e53052d3
SM
11903 * progmodes/octave.el (octave-completion-at-point-function):
11904 Make use of inferior octave process.
584ea277
LL
11905 (octave-initialize-completions): Remove.
11906 (inferior-octave-completion-table): New function.
11907 (inferior-octave-completion-at-point): Use it.
11908 (octave-completion-alist): Remove.
11909
1693b06a
SM
119102013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11911
11912 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11913 (opascal-mode-syntax-table): New var.
11914 (opascal-literal-kind, opascal-is-literal-end)
11915 (opascal-literal-token-at): Rewrite.
11916 (opascal--literal-start-re, opascal-font-lock-keywords)
11917 (opascal--syntax-propertize): New constants.
11918 (opascal-font-lock-defaults): Adjust.
11919 (opascal-mode): Use them. Set comment-<foo> variables as well.
11920 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11921 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11922 (delphi-other-face, opascal-other-face): Remove face variables.
11923 (opascal-save-state): Remove macro.
11924 (opascal-fontifying-progress-step): Remove constant.
11925 (opascal--ignore-changes): Remove var.
11926 (opascal-set-token-property, opascal-parse-next-literal)
11927 (opascal-is-stable-literal, opascal-complete-literal)
11928 (opascal-is-literal-start, opascal-face-of)
11929 (opascal-parse-region, opascal-parse-region-until-stable)
11930 (opascal-fontify-region, opascal-after-change)
11931 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11932 (opascal-debug-parse-region, opascal-debug-parse-window)
11933 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11934 (opascal-debug-fontify-buffer): Remove.
11935 (opascal-debug-mode-map): Adjust accordingly.
11936
be64c05d
LL
119372013-04-25 Leo Liu <sdl.web@gmail.com>
11938
11939 Merge octave-mod.el and octave-inf.el into octave.el with some
11940 cleanups.
11941 * progmodes/octave.el: New file renamed from octave-mod.el.
11942 * progmodes/octave-inf.el: Merged into octave.el.
11943 * progmodes/octave-mod.el: Renamed to octave.el.
11944
d79d37bd
TH
119452013-04-25 Tassilo Horn <tsdh@gnu.org>
11946
11947 * textmodes/reftex-vars.el
11948 (reftex-label-ignored-macros-and-environments): New defcustom.
11949
11950 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11951
ced3fc5d
SM
119522013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11953
11954 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11955 (smie-indent-keyword): Improve the check to ensure that the next
11956 comment is really on the same line.
11957 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11958
11959 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11960 semi-colons if the line is not otherwise empty (bug#14218).
11961
1c141dad
GM
119622013-04-25 Glenn Morris <rgm@gnu.org>
11963
11964 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11965
5058062a
SM
119662013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11967
11968 * progmodes/opascal.el (opascal-set-token-property): Rename from
11969 opascal-set-text-properties and only set `token' (bug#14134).
11970 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11971 (opascal-literal-text-properties): Remove.
11972 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11973 Adjust callers.
11974
5db9dace 119752013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
11976
11977 * textmodes/remember.el (remember-handler-functions): Add an
11978 option for a new handler `remember-store-in-files'.
11979 (remember-data-directory, remember-directory-file-name-format):
11980 New options.
11981 (remember-store-in-files): New function to store remember notes
11982 as separate files within a directory.
11983
4391916c
MH
119842013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11985
11986 * progmodes/compile.el (compilation-next-error-function):
11987 Pass "formats" to compilation-find-file (bug#11777).
11988
bb7cdf58
GM
119892013-04-24 Glenn Morris <rgm@gnu.org>
11990
3b8fe752 11991 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
11992 * vc/vc-hg.el (vc-hg-print-log):
11993 * vc/vc-svn.el (vc-svn-print-log):
11994 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11995
bb7cdf58
GM
11996 * vc/vc-bzr.el (vc-bzr-print-log):
11997 * vc/vc-cvs.el (vc-cvs-print-log):
11998 * vc/vc-git.el (vc-git-print-log):
11999 * vc/vc-hg.el (vc-hg-print-log):
12000 * vc/vc-mtn.el (vc-mtn-print-log):
12001 * vc/vc-rcs.el (vc-rcs-print-log):
12002 * vc/vc-sccs.el (vc-sccs-print-log):
12003 * vc/vc-svn.el (vc-svn-print-log):
12004 * vc/vc.el (vc-print-log-internal): Doc fixes.
12005
b46a056e
GM
120062013-04-23 Glenn Morris <rgm@gnu.org>
12007
12008 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12009 Remove venerable code attempting to avoid substitute-command-keys.
12010
0aecf718
TH
120112013-04-23 Tassilo Horn <tsdh@gnu.org>
12012
4391916c
MH
12013 * textmodes/reftex-vars.el (reftex-label-regexps):
12014 Call `reftex-compile-variables' after changes to this variable.
0aecf718 12015
117f94cf
SM
120162013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12017
4391916c 12018 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
12019 Use lexical-binding.
12020 (jit-lock-force-redisplay): Use markers, check buffer's continued
12021 existence and beware narrowed buffers.
12022 (jit-lock-fontify-now): Adjust call accordingly.
12023
1d829c64
SM
120242013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12025
12026 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12027 to avoid misleading the user.
12028
72d548a9
LL
120292013-04-22 Leo Liu <sdl.web@gmail.com>
12030
12031 * info-look.el: Prefer latex2e.info. (Bug#14240)
12032
d0853629
MA
120332013-04-22 Michael Albinus <michael.albinus@gmx.de>
12034
12035 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12036
12037 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 12038 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
12039 (tramp-set-completion-function, tramp-parse-putty):
12040 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12041 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12042 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12043 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12044 (tramp-call-local-coding-command): Use `tramp-call-process'
12045 instead of `tramp-compat-call-process'.
12046
12047 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12048 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12049 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 12050 (tramp-find-inline-compress): Improve traces.
d0853629
MA
12051 (tramp-maybe-send-script): Check for Perl binary.
12052 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12053
38cc0210
DU
120542013-04-22 Daiki Ueno <ueno@gnu.org>
12055
12056 * epg.el (epg-context-pinentry-mode): New function.
12057 (epg-context-set-pinentry-mode): New function.
12058 (epg--start): Pass --pinentry-mode option to gpg command.
12059
cc641ee1
XF
120602013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12061
02d844b5 12062 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 12063 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 12064 `completion-at-point'. (Bug#13774)
5d4e5c31 12065
cc641ee1
XF
12066 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12067 default key binding for `describe-distribution' has been moved to
12068 `C-h C-o'. (Bug#13970)
12069
1b42ee43
GM
120702013-04-21 Glenn Morris <rgm@gnu.org>
12071
12072 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12073 Add doc strings.
12074 (vc-print-log): Clarify interactive prompt.
12075
a6d63d97
GM
120762013-04-20 Glenn Morris <rgm@gnu.org>
12077
12078 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12079 No longer include timestamp etc information.
12080
d7f5c16f
RW
120812013-04-20 Roland Winkler <winkler@gnu.org>
12082
12083 * faces.el (read-face-name): Bug fix, return just one face if arg
12084 multiple is nil. (Bug#14209)
12085
bcd7a0a4
SM
120862013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12087
12088 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12089 (remove-function): Autoload.
12090
12091 * comint.el (comint-redirect-original-filter-function): Remove.
12092 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
12093 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12094 (vc-cvs-annotate-command):
bcd7a0a4
SM
12095 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12096 * progmodes/prolog.el (prolog-consult-compile):
12097 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12098 Use add/remove-function instead.
12099 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12100 (gud-tooltip-process-output, gud-tooltip-tips):
12101 Use add/remove-function instead.
12102 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12103 (scheme-interaction-mode, exit-scheme-interaction-mode):
12104 Use add/remove-function instead.
12105
12106 * vc/vc-dispatcher.el: Use lexical-binding.
12107 (vc--process-sentinel): Rename from vc-process-sentinel.
12108 Change last arg to be the code to run. Don't use vc-previous-sentinel
12109 and vc-sentinel-commands any more.
12110 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12111 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12112
e36b2d20 121132013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 12114
bcd7a0a4 12115 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 12116 Handle function names with a single character. (Bug#14111)
4d3268ba 12117
781b4af6 121182013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
12119
12120 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12121 for subroutines defined in an eval (bug#14182).
12122
7d688336
TV
121232013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12124
12125 * bookmark.el (bookmark-completing-read): Improve handling of empty
12126 string (bug#14176).
12127
31dcede0
SM
121282013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12129
12130 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12131
adc31213
FEG
121322013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12133
12134 New faster Imenu implementation (bug#14058).
12135 * progmodes/python.el:
12136 (python-imenu-prev-index-position):
12137 (python-imenu-format-item-label-function)
12138 (python-imenu-format-parent-item-label-function)
12139 (python-imenu-format-parent-item-jump-label-function):
12140 New vars.
12141 (python-imenu-format-item-label)
12142 (python-imenu-format-parent-item-label)
12143 (python-imenu-format-parent-item-jump-label)
12144 (python-imenu--put-parent, python-imenu--build-tree)
12145 (python-imenu-create-index, python-imenu-create-flat-index)
12146 (python-util-popn): New functions.
12147 (python-mode): Set imenu-create-index-function to
12148 python-imenu-create-index.
12149
cdca8255
SM
121502013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12151
12152 * winner.el (winner-active-region): Use region-active-p, activate-mark
12153 and deactivate-mark (bug#14225).
12154
12155 * simple.el (deactivate-mark): Don't inline it.
12156
beb42340
MA
121572013-04-18 Michael Albinus <michael.albinus@gmx.de>
12158
12159 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12160
fc7f4d7e
TH
121612013-04-18 Tassilo Horn <tsdh@gnu.org>
12162
12163 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12164 file extensions from the archive-mode entry in order to prefer
12165 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12166
29f47822
LL
121672013-04-18 Leo Liu <sdl.web@gmail.com>
12168
12169 * bindings.el (help-event-list): Add ?\?.
12170
d36ed1c8
SM
121712013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12172
12173 * subr.el (with-wrapper-hook): Declare obsolete.
12174 * simple.el (filter-buffer-substring-function): New hook.
12175 (filter-buffer-substring): Use it.
12176 (filter-buffer-substring-functions): Mark obsolete.
12177 * minibuffer.el (completion-in-region-function): New hook.
12178 (completion-in-region): Use it.
12179 (completion-in-region-functions): Mark obsolete.
12180 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12181 * abbrev.el (abbrev-expand-function): New hook.
12182 (expand-abbrev): Use it.
12183 (abbrev-expand-functions): Mark obsolete.
12184 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12185 and :filter-return.
12186
04754d36
FEG
121872013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12188
12189 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12190 and do not care about match data.
12191
dd8791e9
SM
121922013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12193
12194 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12195 completion tables when completing error conditions and
12196 `declare' arguments.
12197 (lisp-complete-symbol, field-complete): Mark as obsolete.
12198 (check-parens): Unmatched parens are user errors.
12199 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12200
ffe54a13
AM
122012013-04-17 Michal Nazarewicz <mina86@mina86.com>
12202
dd8791e9
SM
12203 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12204 command changed buffer (ie. `flyspell-pre-buffer' is not current
12205 buffer), which prevents making decisions based on invalid value of
12206 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12207 cause an error when `flyspell-pre-point' was nil after switching
12208 buffers.
12209 (flyspell-post-command-hook): No longer needs to change buffers when
12210 checking pre-word. While at it remove unnecessary progn.
ffe54a13 12211
ec7e39f2
AM
122122013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12213
12214 * textmodes/ispell.el (ispell-add-per-file-word-list):
12215 Fix `flyspell-correct-word-before-point' error when accepting
12216 words and `coment-padding' is an integer by using
12217 `comment-normalize-vars' (Bug #14214).
12218
083850a6
FEG
122192013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12220
12221 New defun movement commands.
12222 * progmodes/python.el (python-nav--syntactically)
12223 (python-nav--forward-defun, python-nav-backward-defun)
12224 (python-nav-forward-defun): New functions.
12225
619ed6e1
FEG
122262013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12227
12228 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12229 (python-syntax-context): Use named compiler-macro for backwards
12230 compatibility with Emacs 24.x.
12231
7a1beb6c
LL
122322013-04-17 Leo Liu <sdl.web@gmail.com>
12233
12234 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12235 octave-hide-process-buffer.
12236
2d3fa3e5
SM
122372013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12238
12239 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12240 (bug#14216).
12241
7ce5be54
JPG
122422013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12243
12244 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12245 Fix adjustment of offset when receiving incomplete responses from GDB
12246 (bug#14129).
12247
351edece
SM
122482013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12249
12250 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12251 python-mode-abbrev-table.
12252 (python-skeleton-define): Adjust accordingly.
12253 (python-mode-abbrev-table): New table that inherits from it so that
12254 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12255
12256 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12257 (abbrev-symbol): Use it.
12258 (abbrev--before-point): Use it since we already handle inheritance.
12259
613f9481
LL
122602013-04-16 Leo Liu <sdl.web@gmail.com>
12261
12262 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12263 binding to info-lookup-symbol.
12264
51646b62
JB
122652013-04-16 Juanma Barranquero <lekktu@gmail.com>
12266
12267 * minibuffer.el (completion--twq-all):
12268 * term/ns-win.el (ns-initialize-window-system):
12269 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12270
efb3f01d
SM
122712013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12272
36c0a301
SM
12273 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12274 global bindings.
12275
efb3f01d
SM
12276 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12277
fb549d64
DG
122782013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12279
12280 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12281 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12282 to nil.
12283 (ruby-end-of-defun): Remove the unused arg, change the docstring
12284 to reflect that this function is only used as the value of
12285 `end-of-defun-function'.
12286 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12287 to reflect an earlier change that beginning/end-of-defun functions
12288 jump between methods in a class definition, as well as top-level
12289 functions.
12290
21e8fe2f
SM
122912013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12292
12293 * minibuffer.el (minibuffer-complete): Don't just scroll
12294 a *Completions* that's been iconified.
12295 (minibuffer-force-complete): Make sure repetitions do cycle when going
12296 through completion-in-region -> minibuffer-complete.
12297
20e527d0
AM
122982013-04-15 Alan Mackenzie <acm@muc.de>
12299
12300 Correct the placement of c-cpp-delimiters when there're #s not at
12301 col 0.
12302
12303 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12304 place a submatch around the #.
21e8fe2f
SM
12305 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12306 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
12307 on the #, not BOL.
12308
dabefae5
SM
123092013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12310
12311 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12312 (advice--member-p): New arg `name'.
12313 (advice--add-function, advice-member-p): Use it (bug#14202).
12314
85c9ab64
AM
123152013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12316
12317 Reformulate java imenu-generic-expression.
12318 The old expression contained ill formed regexps.
12319
12320 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12321 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12322 (cc-imenu-java-method-arg-regexp): New defconsts.
12323 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 12324 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
12325 handling of spaces in the regexp.
12326
0f821d99
AM
123272013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12328
12329 * textmodes/ispell.el (ispell-command-loop): Remove
12330 flyspell highlight of a word when ispell accepts it (bug #14178).
12331
eb922adf
MA
123322013-04-15 Michael Albinus <michael.albinus@gmx.de>
12333
12334 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12335 uses code from the previous `ange-ftp-run-real-handler'.
12336 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12337 only in case that function exist. This is needed for proper
12338 unloading of Tramp.
12339
4d9a0979
TH
123402013-04-15 Tassilo Horn <tsdh@gnu.org>
12341
12342 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12343
12344 * textmodes/reftex.el (reftex-compile-variables): Use it.
12345
a829b0dc
SM
123462013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12347
91e8293c
SM
12348 * files.el (normal-mode): Only use default major-mode if no other mode
12349 was specified.
12350
830aed4d
SM
12351 * emacs-lisp/trace.el (trace-values): New function.
12352
a829b0dc
SM
12353 * files.el: Allow : in local variables (bug#14089).
12354 (hack-local-variable-regexp): New var.
12355 (hack-local-variables-prop-line, hack-local-variables): Use it.
12356
7ae9f0fb
RW
123572013-04-13 Roland Winkler <winkler@gnu.org>
12358
12359 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12360 data before it gets modified by bibtex-beginning-of-entry.
12361
6646e848
RW
123622013-04-13 Roland Winkler <winkler@gnu.org>
12363
12364 * textmodes/bibtex.el (bibtex-url): Doc fix.
12365
123662013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
12367
12368 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12369 does not visit a BibTeX file, exclude it from the list of buffers
12370 returned by bibtex-initialize.
12371
0aa3616e
SB
123722013-04-13 Stephen Berman <stephen.berman@gmx.net>
12373
12374 * window.el (split-window): Remove interactive form, since as a
12375 command this function is a special case of split-window-below.
12376 Correct doc string.
12377
011cddd6
RW
123782013-04-12 Roland Winkler <winkler@gnu.org>
12379
12380 * faces.el (read-face-name): Do not override value of arg default.
12381 Allow single faces and strings as default values. Remove those
12382 elements from return value that are not faces.
12383 (describe-face): Simplify.
12384 (face-at-point): New optional args thing and multiple so that this
12385 function can provide the same functionality previously provided by
12386 read-face-name.
12387 (make-face-bold, make-face-unbold, make-face-italic)
12388 (make-face-unitalic, make-face-bold-italic, invert-face)
12389 (modify-face, read-face-and-attribute): Use face-at-point.
12390
12391 * cus-edit.el (customize-face, customize-face-other-window)
12392 * cus-theme.el (custom-theme-add-face)
12393 * face-remap.el (buffer-face-set)
12394 * facemenu.el (facemenu-set-face): Use face-at-point.
12395
f24e0036
MA
123962013-04-12 Michael Albinus <michael.albinus@gmx.de>
12397
12398 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12399
da3cda2d
TH
124002013-04-10 Tassilo Horn <tsdh@gnu.org>
12401
12402 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12403 off leading { and trailing } from field values.
12404
15e54145
SM
124052013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12406
78ce603d
SM
12407 * emacs-lisp/timer.el (timer--check): New function.
12408 (timer--time, timer-set-function, timer-event-handler): Use it.
12409 (timer-set-idle-time): Simplify.
12410 (timer--activate): CSE.
12411 (timer-event-handler): Give more info in error message.
12412 (internal-timer-start-idle): New function, moved from C.
12413
15e54145
SM
12414 * mpc.el (mpc-proc): Add `restart' argument.
12415 (mpc-proc-cmd): Use it.
12416 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12417 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12418 less often.
12419
7144c627
MY
124202013-04-10 Masatake YAMATO <yamato@redhat.com>
12421
12422 * progmodes/sh-script.el: Implement `sh-mode' own
12423 `add-log-current-defun-function' (bug#14112).
12424 (sh-current-defun-name): New function.
12425 (sh-mode): Use the function.
12426
b39792eb
BG
124272013-04-09 Bastien Guerry <bzg@gnu.org>
12428
12429 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12430
8acdeb71
SM
124312013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12432
6fcdab68
SM
12433 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12434
8acdeb71
SM
12435 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12436 timer (bug#14156).
12437
e3e7b504
NF
124382013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12439
12440 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12441 declaration.
12442
201bb296
LL
124432013-04-07 Leo Liu <sdl.web@gmail.com>
12444
12445 * pcmpl-x.el: New file.
12446
ebb19708
DA
124472013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12448
12449 Do not set x-display-name until X connection is established.
12450 This is needed to prevent from weird situation described at
12451 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12452 * frame.el (make-frame): Set x-display-name after call to
12453 window system initialization function, not before.
12454 * term/x-win.el (x-initialize-window-system): Add optional
12455 display argument and use it.
12456 * term/w32-win.el (w32-initialize-window-system):
12457 * term/ns-win.el (ns-initialize-window-system):
12458 * term/pc-win.el (msdos-initialize-window-system):
12459 Add compatible optional display argument.
12460
33bb237a
EZ
124612013-04-06 Eli Zaretskii <eliz@gnu.org>
12462
12463 * files.el (normal-backup-enable-predicate): On MS-Windows and
12464 MS-DOS compare truenames of temporary-file-directory and of the
12465 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12466 don't fail comparison by compare-strings. Also, compare file
12467 names case-insensitively on MS-Windows and MS-DOS.
12468
134abf1f
SM
124692013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12470
12471 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12472 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12473
d695cb94
DG
124742013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12475
e3e7b504
NF
12476 * whitespace.el (whitespace-color-on, whitespace-color-off):
12477 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 12478
f4ad7ea1 124792013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
12480
12481 * ispell.el (ispell-set-spellchecker-params):
12482 Really set `ispell-args' for all equivs.
12483
632556e4
SM
124842013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12485
12486 * ido.el (ido-completions): Use extra elements of ido-decorations
12487 (bug#14143).
12488 (ido-decorations): Update docstring.
12489
2a417372
MA
124902013-04-05 Michael Albinus <michael.albinus@gmx.de>
12491
12492 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12493 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12494 nil during initialization, in order not to miss changes since the
12495 file was opened. (Bug#14140)
12496
fc164b0c
LL
124972013-04-05 Leo Liu <sdl.web@gmail.com>
12498
12499 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12500
0ccecc08
JB
125012013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12502
12503 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12504
51af1aa2
GM
125052013-04-04 Glenn Morris <rgm@gnu.org>
12506
12507 * electric.el (electric-pair-inhibit-predicate): Add :version.
12508
b208ebc6
SM
125092013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12510
12511 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12512 when a package is required several times (bug#14082).
12513
f3d3eaf0
RW
125142013-04-04 Roland Winkler <winkler@gnu.org>
12515
12516 * faces.el (read-face-name): Behave as promised by the docstring.
12517 Assume that arg default is a list of faces.
12518 (describe-face): Call read-face-name with list of default faces.
12519
2575da50
TV
125202013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12521
12522 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12523 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12524 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12525 the header.
12526 (bookmark-exit-hook-internal): Save even if list is empty.
12527
397703b4
YH
125282013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12529
12530 * emacs-lisp/package.el (package-pinned-packages): New var.
12531 (package--add-to-archive-contents): Obey it (bug#14118).
12532
691e26ae
AM
125332013-04-03 Alan Mackenzie <acm@muc.de>
12534
8a621d53
JB
12535 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12536 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
12537
12538 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12539 parameter `not-in-delimiter'. Handle being inside comment opener.
12540 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12541 character in case we're typing a '*' after a '/'.
12542 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12543 instead by passing the parameter to c-state-pp-to-literal.
12544
12545 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12546 for elt. 7 of a parse state.
12547
4b725a70
PE
125482013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12549
12550 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12551 * international/latin1-disp.el, international/mule-util.el:
12552 * language/cyril-util.el, language/european.el, language/ind-util.el:
12553 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12554 * language/tibetan.el, language/viet-util.el:
12555 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12556
15c579f0
SM
125572013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12558
12559 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12560 (electric-pair-post-self-insert-function): Use it.
12561 (electric-pair-default-inhibit): New function, extracted from
12562 electric-pair-post-self-insert-function.
12563
a77e2924
RW
125642013-03-31 Roland Winkler <winkler@gnu.org>
12565
12566 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12567
2bd8a4a8
SM
125682013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12569
12570 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12571
8d3655be 125722013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
12573
12574 Un-indent after "pass" and "return" statements (Bug#13888)
12575 * progmodes/python.el (python-indent-block-enders): New var.
12576 (python-indent-calculate-indentation): Use it.
12577
8d3655be 125782013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
12579
12580 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12581 defun. Defining it as defalias could introduce too eager
12582 byte-compiler optimization. (Bug#14030)
12583
8d3655be 125842013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
12585
12586 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12587
0b1619da
LL
125882013-03-30 Leo Liu <sdl.web@gmail.com>
12589
12590 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12591 (kmacro-execute-from-register): Pass the keyboard macro to
12592 kmacro-call-macro or repeating won't work correctly.
12593
0b938190
TZ
125942013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12595
12596 * progmodes/subword.el: Back to using `forward-symbol'.
12597
12598 * subr.el (forward-whitespace, forward-symbol)
12599 (forward-same-syntax): Move from thingatpt.el.
12600
35710234
LL
126012013-03-29 Leo Liu <sdl.web@gmail.com>
12602
12603 * kmacro.el (kmacro-to-register): New command.
12604 (kmacro-execute-from-register): New function.
12605 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12606
efc0bb73
SM
126072013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12608
12609 * mpc.el: Use defvar-local and setq-local.
12610 (mpc--proc-connect): Connection failures are not bugs.
12611 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12612 (mpc-volume-map): Bind to the up-events.
12613
75a2f981
TZ
126142013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12615
12616 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12617 instead of `forward-symbol'.
12618
17c781d1
SM
126192013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12620
12621 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12622 (edebug--recursive-edit): Use it.
12623 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12624 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12625
f67bfbcf
LL
126262013-03-28 Leo Liu <sdl.web@gmail.com>
12627
12628 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12629
b59f639d
EZ
126302013-03-27 Eli Zaretskii <eliz@gnu.org>
12631
12632 * facemenu.el (list-colors-callback): New defvar.
12633 (list-colors-redisplay): New function.
12634 (list-colors-display): Install list-colors-redisplay as the
12635 revert-buffer-function. (Bug#14063)
12636
f557c1b1
SM
126372013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12638
b1da2957
SM
12639 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12640 and suffixes don't overlap (bug#14061).
12641
f557c1b1
SM
12642 * case-table.el: Use lexical-binding.
12643 (case-table-get-table): New function.
12644 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12645
002668e1
TZ
126462013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12647
12648 * progmodes/subword.el: Add `superword-mode' to do word motion
12649 over symbol_words (parallels and leverages `subword-mode' which
12650 does word motion inside MixedCaseWords).
12651
73572c72
AG
126522013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12653
78b8f320 12654 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 12655 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 12656
69b2c07e
SM
126572013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12658
12659 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12660 Change return value to be a sexp. Delay `get-buffer' to after
12661 restoring the desktop (bug#13951).
12662
08bb5ee2
LL
126632013-03-26 Leo Liu <sdl.web@gmail.com>
12664
12665 * register.el: Move semantic tag handling back to
12666 cedet/semantic/senator.el. (Bug#14052)
12667
8d4c974e
SM
126682013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12669
12670 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12671 into the prompt either (bug#13963).
12672
b234d92c
SM
126732013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12674
12675 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12676 part of "(error-foo)".
12677
ddfa3cb4
JL
126782013-03-24 Juri Linkov <juri@jurta.org>
12679
12680 * replace.el (list-matching-lines-prefix-face): New defcustom.
12681 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12682 `occur-engine' if `face-differs-from-default-p' returns t.
12683 (occur-engine): Add `,' inside backquote construct to evaluate
12684 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12685 Pass `prefix-face' to the functions `occur-context-lines' and
12686 `occur-engine-add-prefix'.
12687 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12688 `prefix-face' and propertize the prefix with `prefix-face'.
12689 (Bug#14017)
12690
7b0e2f85
LL
126912013-03-24 Leo Liu <sdl.web@gmail.com>
12692
12693 * nxml/rng-valid.el (rng-validate-while-idle)
12694 (rng-validate-quick-while-idle): Guard against deleted buffer.
12695 (Bug#13999)
12696
12697 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12698 is the last entry in kill-buffer-hook.
12699
12700 * files.el (kill-buffer-hook): Doc fix.
12701
b3082f49
DG
127022013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12703
b234d92c
SM
12704 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12705 Make it safe-local.
bde73d27 12706
b3082f49
DG
12707 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12708
a320a2db
LL
127092013-03-23 Leo Liu <sdl.web@gmail.com>
12710
7e74b0fb
LL
12711 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12712 Remove.
12713
12714 * nxml/rng-valid.el (rng-validate-mode)
12715 (rng-after-change-function, rng-do-some-validation):
12716 * nxml/rng-maint.el (rng-validate-buffer):
12717 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12718 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12719 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12720 (nxml-extend-after-change-region): Use with-silent-modifications.
12721
a320a2db
LL
12722 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12723 timer-idle-list.
12724
12725 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12726 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12727 timer-idle-list. (Bug#13999)
12728
e38e6780
JL
127292013-03-23 Juri Linkov <juri@jurta.org>
12730
12731 * info.el (info-index-match): New face.
12732 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12733 main pattern and add text properties with the new face to matches
12734 in index entries relative to the beginning of the index entry.
12735 (Bug#14015)
12736
e8cc7880
DE
127372013-03-21 Eric Ludlam <zappo@gnu.org>
12738
39c87140 12739 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
12740 Inhibit read only while inserting objects.
12741
9bb0d822
TZ
127422013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12743
12744 * progmodes/cfengine.el: Update docs to mention
12745 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12746 symbol motion. Remove "_" from the word syntax.
12747
aa703640
TZ
127482013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12749
12750 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12751 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12752
afff09d0
JL
127532013-03-20 Juri Linkov <juri@jurta.org>
12754
12755 * info.el (Info-next-reference-or-link)
12756 (Info-prev-reference-or-link): New functions.
12757 (Info-next-reference, Info-prev-reference): Use them.
12758 (Info-try-follow-nearest-node): Handle footnote navigation.
12759 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12760
9a1ff164
SM
127612013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12762
12763 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12764 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12765
2667d15d
PE
127662013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12767
12768 Suppress unnecessary non-ASCII chatter during build process.
12769 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12770 (batch-skkdic-convert): Suppress most of the chatter.
12771 It's not needed so much now that machines are faster,
12772 and its non-ASCII component was confusing; see Dmitry Gutov in
12773 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12774
438b0579
LL
127752013-03-20 Leo Liu <sdl.web@gmail.com>
12776
12777 * ido.el (ido-chop): Fix bug#10994.
12778
c128ab07
DG
127792013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12780
12781 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12782 Remove vars.
9a1ff164
SM
12783 (whitespace-color-on, whitespace-color-off):
12784 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 12785
0e6008c5
SM
127862013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12787
12788 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12789 remapping in mode-line.
12790 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12791
627b52b0
DG
127922013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12793
12794 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12795 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
12796 (whitespace-font-lock-keywords): Change description.
12797 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12798 the constructed keywords instead.
12799 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 12800
50c3a20b
LL
128012013-03-19 Leo Liu <sdl.web@gmail.com>
12802
12803 * progmodes/compile.el (compilation-display-error): New command.
12804 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12805 C-o. (Bug#13992)
12806
2aa2157b
PE
128072013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12808
12809 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12810
e477dbfa
JD
128112013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12812
12813 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12814
64ab82d1
MA
128152013-03-18 Michael Albinus <michael.albinus@gmx.de>
12816
12817 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12818
12819 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12820 * net/tramp-gvfs.el (top):
12821 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12822 (tramp-handle-shell-command): Use it.
12823 (tramp-dissect-file-name): Raise an error when hostname is a
12824 method name, and neither method nor user is specified.
12825
12826 * net/trampver.el: Update release number.
12827
33cef733
LL
128282013-03-18 Leo Liu <sdl.web@gmail.com>
12829
12830 Make sure eldoc can be turned off properly.
12831 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12832 eldoc-mode.
12833 (eldoc-display-message-p): Revert last change.
12834 (eldoc-display-message-no-interference-p)
12835 (eldoc-print-current-symbol-info): Tweak.
12836
2167b7b2
TH
128372013-03-18 Tassilo Horn <tsdh@gnu.org>
12838
12839 * doc-view.el (doc-view-new-window-function): Check the new window
12840 overlay's display property instead the char property of the
12841 buffer's first char. Use `with-selected-window' instead of
12842 `save-window-excursion' with `select-window'.
12843 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 12844 display property instead the char property of the buffer's first char.
2167b7b2 12845
982efbcd
PE
128462013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12847
12848 Automate the build of ja-dic.el (Bug#13984).
12849 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12850 from the input, rather than assume that it's been done for us by the
12851 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12852 the current date into a ja-dic.el comment, as that complicates
12853 regression testing.
12854
2fcc7665
SM
128552013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12856
12857 * whitespace.el: Fix double evaluation.
12858 (whitespace-space, whitespace-hspace, whitespace-tab)
12859 (whitespace-newline, whitespace-trailing, whitespace-line)
12860 (whitespace-space-before-tab, whitespace-indentation)
12861 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12862 obsolete defvars.
12863 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12864 (whitespace-color-on): Use a single font-lock-add-keywords call.
12865 Fix double-evaluation of face variables.
12866
67c0a6e6
MA
128672013-03-17 Michael Albinus <michael.albinus@gmx.de>
12868
2fcc7665
SM
12869 * net/tramp-adb.el (tramp-adb-parse-device-names):
12870 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 12871 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 12872
69489f1d
LL
128732013-03-17 Leo Liu <sdl.web@gmail.com>
12874
12875 Extend eldoc to display info in the mode-line. (Bug#13978)
12876 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12877 (eldoc-mode-line-string): New variable.
12878 (eldoc-minibuffer-message): New function.
12879 (eldoc-message-function): New variable.
12880 (eldoc-message): Use it.
12881 (eldoc-display-message-p)
2fcc7665
SM
12882 (eldoc-display-message-no-interference-p):
12883 Support eldoc-post-insert-mode.
69489f1d
LL
12884
12885 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12886 (eval-expression): Run it.
12887
9c44569e
RW
128882013-03-17 Roland Winkler <winkler@gnu.org>
12889
12890 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12891 strings in the list of return values.
12892
327f1f6f
JB
128932013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12894
12895 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12896 radix before checking for HMS forms.
12897
67ed8fcd
LL
128982013-03-16 Leo Liu <sdl.web@gmail.com>
12899
12900 * progmodes/scheme.el: Add indentation and font-locking for λ.
12901 (Bug#13975)
12902
78be8b64 129032013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
12904
12905 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12906 token before point (bug#13942).
12907
78be8b64 129082013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 12909
95b43468 12910 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 12911
98e775e6
EZ
129122013-03-16 Eli Zaretskii <eliz@gnu.org>
12913
12914 * startup.el (command-line-normalize-file-name): Fix handling of
12915 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12916 <xfq.free@gmail.com> in
12917 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12918
2edd6029
MA
129192013-03-15 Michael Albinus <michael.albinus@gmx.de>
12920
12921 Sync with Tramp 2.2.7.
12922
12923 * net/trampver.el: Update release number.
12924
d35f5864
TH
129252013-03-14 Tassilo Horn <tsdh@gnu.org>
12926
e903c210 12927 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
12928 (doc-view-insert-image): Don't modify overlay associated to
12929 non-live windows, and implement horizontal centering of image in
12930 case it's smaller than the window.
12931 (doc-view-new-window-function): Force redisplay of new windows on
12932 doc-view buffers.
d35f5864 12933
1c4a85ed
KF
129342013-03-13 Karl Fogel <kfogel@red-bean.com>
12935
12936 * saveplace.el (save-place-alist-to-file): Don't sort
12937 `save-place-alist', just pretty-print it (bug#13882).
12938
85b66a21
MA
129392013-03-13 Michael Albinus <michael.albinus@gmx.de>
12940
a020afb9
JB
12941 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12942 Check whether `default-file-name-coding-system' is bound.
12943 It isn't in XEmacs.
85b66a21 12944
175600da
SM
129452013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12946
e7f7cb1a
SM
12947 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12948 backquotes for `obsolete' (bug#13929).
12949
175600da
SM
12950 * international/mule.el (find-auto-coding): Include file name in
12951 obsolescence warning (bug#13922).
12952
ca68a22e
TZ
129532013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12954
12955 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12956 for CFEngine 3-specific indentation.
12957 (cfengine3-indent-line): Use it. Fix up category regex.
12958 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12959
940e5099
SM
129602013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12961
12962 * type-break.el (type-break-file-name):
12963 * textmodes/remember.el (remember-data-file):
12964 * strokes.el (strokes-file):
12965 * shadowfile.el (shadow-initialize):
12966 * saveplace.el (save-place-file):
12967 * ps-bdf.el (bdf-cache-file):
12968 * progmodes/idlwave.el (idlwave-config-directory):
12969 * net/quickurl.el (quickurl-url-file):
12970 * international/kkc.el (kkc-init-file-name):
12971 * ido.el (ido-save-directory-list-file):
12972 * emulation/viper.el (viper-custom-file-name):
12973 * emulation/vip.el (vip-startup-file):
12974 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12975 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12976
cc725808
PE
129772013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12978
12979 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12980 * language/thai-word.el: Switch to UTF-8.
12981
a020afb9 12982See ChangeLog.16 for earlier changes.
e3d51b27
MR
12983
12984;; Local Variables:
12985;; coding: utf-8
e3d51b27
MR
12986;; End:
12987
ba318903 12988 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
12989
12990 This file is part of GNU Emacs.
12991
12992 GNU Emacs is free software: you can redistribute it and/or modify
12993 it under the terms of the GNU General Public License as published by
12994 the Free Software Foundation, either version 3 of the License, or
12995 (at your option) any later version.
12996
12997 GNU Emacs is distributed in the hope that it will be useful,
12998 but WITHOUT ANY WARRANTY; without even the implied warranty of
12999 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13000 GNU General Public License for more details.
13001
13002 You should have received a copy of the GNU General Public License
13003 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.