* files.el (file-relative-name): Doc fix.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
518f26c2
LI
12014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2
15cb9968
LI
3 * files.el (file-relative-name): Doc fix (bug#15159).
4
9788effd
LI
5 * fringe.el (fringe-styles): Doc fix (bug#15239).
6
c96411bd
LI
7 * isearch.el (isearch-filter-predicate): Documentation typo fix
8 (bug#15474).
9
ea838c36
LI
10 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
11
0d8a4ae7
LI
12 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
13
f7a17bb3
LI
14 * replace.el (replace-match-maybe-edit): Doc clarification
15 (bug#15632).
16
1bde5c3b
LI
17 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
18
518f26c2
LI
19 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
20
dd8e49fd
GM
212014-02-08 Glenn Morris <rgm@gnu.org>
22
23 * help-fns.el (describe-variable):
24 Check {file,dir}-local-variables-alist, and buffer-file-name,
25 in the correct buffer.
26
7e088b29
IL
272014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
28
29 * help-fns.el (describe-variable): Fix the case where
30 a value is directory-local with no dir-locals file. (Bug#16635)
31
41a4a82f
GM
322014-02-08 Glenn Morris <rgm@gnu.org>
33
34 * abbrev.el (edit-abbrevs-mode):
35 Derive from fundamental-mode. (Bug#16682)
36
e255a703
JB
372014-02-07 Juanma Barranquero <lekktu@gmail.com>
38
39 * simple.el (quoted-insert): Check character validity (bug#16677).
40
c99cf5ee
JL
412014-02-07 Juri Linkov <juri@jurta.org>
42
43 * desktop.el (desktop-read): Claim the lock when the owner is not
44 the current process. (Bug#16157)
45
7d7a68d8
JL
462014-02-07 Juri Linkov <juri@jurta.org>
47
48 * desktop.el (desktop-buffers-not-to-save): Change default from nil
49 to "\\` ". (Bug#16651)
50
2b777cd9
JL
512014-02-07 Juri Linkov <juri@jurta.org>
52
53 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
54 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
55 (desktop-auto-save-cancel-timer): New function with some code from
56 `desktop-auto-save-set-timer'.
57 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
58 Instead of setting `desktop-save-mode' to nil, call
59 `desktop-save-mode' with arg 0. (Bug#16630)
60
60eabbb9
GM
612014-02-07 Glenn Morris <rgm@gnu.org>
62
99cf3859
GM
63 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
64 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
65 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
66
2b568bc9
GM
67 * obsolete/iswitchb.el: Move to obsolete/.
68 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
69 since obsolete/ is not scanned for autoloads.
70 * emacs-lisp/authors.el (authors-valid-file-names):
71 Add iswitchb.el.
72
60eabbb9
GM
73 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
74 Disable now non-functional find-file-hook.
75
629de968
MA
762014-02-06 Michael Albinus <michael.albinus@gmx.de>
77
78 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
79 instead of ";" in order to avoid additional prompts. Let heredoc
80 scripts read from tty. (Bug#16582)
81 (tramp-send-command): No special handling of heredocs, it isn't
82 necessary anymore.
83
29127376
SM
842014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
85
86 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
87 with a space (bug#16664). Limit the symbols considered to the ones
88 that are bound or fbound (bug#16646).
89
79b6e0a9
GM
902014-02-06 Glenn Morris <rgm@gnu.org>
91
92 * epa.el (epa-mail-aliases): Doc fix.
93
a333e4d2
DG
942014-02-06 Dmitry Gutov <dgutov@yandex.ru>
95
29127376
SM
96 * emacs-lisp/lisp.el (lisp-completion-at-point):
97 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
98 (bug#16604).
99
100 * minibuffer.el (completion-table-merge): New function.
101
9a83b32b
MA
1022014-02-05 Michael Albinus <michael.albinus@gmx.de>
103
104 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
105 (tramp-sh-handle-set-file-acl)
106 (tramp-sh-handle-start-file-process)
107 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
108 (tramp-find-executable, tramp-send-command): Use it.
109
451ea3e6
GM
1102014-02-05 Glenn Morris <rgm@gnu.org>
111
9a83b32b 112 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 113
dd27d13b
FEG
1142014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
115
116 * progmodes/python.el (python-shell-send-string):
117 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
118
08e41897
AL
1192014-02-04 Anders Lindgren <andlind@gmail.com>
120
121 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
122 the names (bug#16620).
123
764ec9e5
MR
1242014-02-03 Martin Rudalics <rudalics@gmx.at>
125
08e41897
AL
126 * faces.el (window-divider): New default value. Rewrite doc-string.
127 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 128
6da8227c
DG
1292014-02-03 Dmitry Gutov <dgutov@yandex.ru>
130
131 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
132 `protected' and `public' can also be called without arguments.
133
6a6b8e40
GM
1342014-02-03 Glenn Morris <rgm@gnu.org>
135
7bcbca40
GM
136 * register.el (window-configuration-to-register)
137 (frame-configuration-to-register): Unadvertise unused argument.
138 * frameset.el (frameset-to-register): Remove unused argument.
139
719d965d 140 * frameset.el (frameset-to-register):
6a6b8e40
GM
141 * kmacro.el (kmacro-to-register):
142 * register.el (increment-register):
143 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
144 (calc-append-to-register, calc-prepend-to-register):
145 * play/gametree.el (gametree-layout-to-register)
146 (gametree-apply-register-layout):
147 * textmodes/picture.el (picture-clear-rectangle-to-register)
148 (picture-yank-rectangle-from-register):
149 * vc/emerge.el (emerge-combine-versions-register):
150 Use register-read-with-preview to read registers.
151
5dca7759
JT
1522014-02-03 João Távora <joaotavora@gmail.com>
153
154 * elec-pair.el (electric-pair-backward-delete-char): Don't error
155 when at beginning of (possibly narrowed) buffer.
156
709085b9
DC
1572014-02-02 Daniel Colascione <dancol@dancol.org>
158
08e41897
AL
159 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
160 Also try to display local help from just before point.
709085b9 161
99f7b0a6
AM
1622014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
163
164 c-parse-state. Don't "append-lower-brace-pair" in certain
165 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
166 recognised as a comment.
167
168 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
169 as well as normal comment starter.
170 (c-parse-state-get-strategy): Extra return possibility
171 'back-and-forward.
172 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
173 return value list to indicate replacement of a brace-pair cons
174 with its car.
175 (c-parse-state-1): With 'back-and-forward, only call
176 c-append-lower-brace-pair-to state-cache when cons-separated.
177
f0a10576
JD
1782014-02-02 Jan Djärv <jan.h.d@swipnet.se>
179
180 * term/ns-win.el (ns-suspend-error): New function.
181 (ns-initialize-window-system): Add ns-suspend-error to
182 suspend-hook (Bug#16612).
183
b8d552c2
DC
1842014-02-02 Daniel Colascione <dancol@dancol.org>
185
186 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
187
f2b7d123
DC
1882014-02-02 Daniel Colascione <dancol@dancol.org>
189
190 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
191
4472a196
GM
1922014-02-02 Glenn Morris <rgm@gnu.org>
193
194 * register.el (register-read-with-preview, point-to-register)
195 (window-configuration-to-register, frame-configuration-to-register)
196 (jump-to-register, number-to-register, view-register, insert-register)
197 (copy-to-register, append-to-register, prepend-to-register)
198 (copy-rectangle-to-register): Doc fixes.
199
70e5a261
SM
2002014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
201
202 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
203 * emacs-lisp/find-func.el (find-function-C-source): Idem.
204 * emacs-lisp/nadvice.el (advice--cd*r): New function.
205 * help-fns.el (describe-function-1): Use it.
206
7c324762
GM
2072014-02-02 Glenn Morris <rgm@gnu.org>
208
209 * register.el (register-preview-default): New function,
210 split from register-preview.
211 (register-preview-function): Rename from register-preview-functions,
212 make it not a hook.
213 (register-preview): Use register-preview-function.
214 (register-read-with-preview): Error on non-character event. (Bug#16595)
215
a09beb3d
DG
2162014-02-01 Dmitry Gutov <dgutov@yandex.ru>
217
218 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
219 `:' before binary operators (bug#16609). Don't check for `:'
220 before `[' and `(', or their syntax status. A percent literal
221 can't end with either.
68e004e0
DG
222 (ruby-font-lock-keywords): For built-ins that require arguments,
223 check that they're followed by something that looks like argument
224 (bug#16610).
a09beb3d 225
ed4d2875
LI
2262014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
227
228 * subr.el (butlast): Document what an omitted N means (bug#13437).
229 (nbutlast): Ditto.
230
dba6e3ec
LI
2312014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
232
233 * net/shr.el (shr-generic): Make into a defsubst to make the stack
234 depth shallower (bug#16587).
cc477daa
LI
235 (shr-tag-svg): Respect `shr-inhibit-images'.
236 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 237
e2a67bd0
DG
2382014-01-31 Dmitry Gutov <dgutov@yandex.ru>
239
240 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
241 (ruby-smie-grammar): Make "." right-associative. Make its priority
242 lower than the ternary and all binary operators.
243 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
244 parent, or the first "." parent at indentation.
245 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
246 (Bug#16593)
247
bd21bf41
JL
2482014-01-31 Juri Linkov <juri@jurta.org>
249
250 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
251 from `make-hash-table'.
252
253 * textmodes/ispell.el (ispell-init-process): Change message format
254 to be consistent with other messages.
255
b7e615b9
GM
2562014-01-31 Glenn Morris <rgm@gnu.org>
257
a69ecd19
GM
258 * delsel.el (delete-selection-mode): Doc fix.
259
9997d7e3
GM
260 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
261 (trace-function-background): Doc fixes.
262
fbb764b8
GM
263 * ido.el (ido-use-virtual-buffers): Doc fix.
264 Reset :version, since the default value has not changed.
265
da942af1
GM
266 * register.el (register-preview-delay, register-read-with-preview):
267 Doc fixes.
268
b7e615b9
GM
269 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
270 do not mess with mail-buffer position (fixes 2009-11-03 change).
271 * progmodes/cc-mode.el (c-submit-bug-report):
272 Check auto-fill-mode is bound. (Bug#16592)
273
0a25002d
DH
2742014-01-31 Darren Hoo <darren.hoo@gmail.com>
275
276 * startup.el (fancy-splash-image-file): New function,
277 split from fancy-splash-head.
278 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
279 so that we are both using the same image. (Bug#16574)
280
ad78f432
GM
2812014-01-30 Glenn Morris <rgm@gnu.org>
282
6bbc0c84
GM
283 * simple.el (eval-expression): Doc fix.
284
ad78f432
GM
285 * hexl.el (hexl-mode-hook):
286 * ielm.el (ielm-mode-hook):
287 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
288 (lisp-interaction-mode-hook):
289 * progmodes/cfengine.e (cfengine3-documentation-function):
290 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
291
7b2f049c
SM
2922014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
293
294 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
295 is a symbol (bug#16584).
296
0c633f13
GM
2972014-01-30 Glenn Morris <rgm@gnu.org>
298
299 * help.el (help-for-help-internal): Add "P" to text.
300
5e61c1ef
GM
3012014-01-29 Glenn Morris <rgm@gnu.org>
302
303 * simple.el (just-one-space, cycle-spacing): Doc fixes.
304
1dcb169c
MR
3052014-01-28 Martin Rudalics <rudalics@gmx.at>
306
307 * window.el (fit-frame-to-buffer): Fix calculations for margins and
308 height constraints.
309
a9128931
LL
3102014-01-28 Luke Lee <luke.yx.lee@gmail.com>
311
312 * progmodes/hideif.el: Extend to full CPP expression syntax.
313 (hif-token-alist): Add missing tokens.
314 (hif-token-regexp): Add support for float/octal/hex immediates.
315 (hif-string-literal-regexp): New const.
316 (hif-tokenize): Recognize strings and float/octal/hex immediates.
317 (hif-exprlist): New function.
318 (hif-parse-if-exp): Use it.
319 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
320 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
321 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
322 (hif-logxor, hif-comma): New functions.
323
a22359a7
GM
3242014-01-28 Glenn Morris <rgm@gnu.org>
325
793ffe81
GM
326 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
327
e3bd7eed
GM
328 * indent.el (tab-stop-list): Doc fix. Add :version.
329
a22359a7
GM
330 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
331 (cvs-append-to-ignore): Add compatibility alias.
332
52695556 3332014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 334
bac524e0
GM
335 * dired.el (dired-hide-details-mode): Don't autoload it,
336 since it cannot be used outside Dired buffers anyway.
337
52695556 338 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 339
52695556
GM
340 * dired.el (dired-hide-details-hide-symlink-targets)
341 (dired-hide-details-hide-information-lines)
342 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
343
344 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
345 * strokes.el (strokes-file): Doc fix. Bump :version.
346 (strokes-help): Doc fix.
347 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
348 * emulation/viper.el (viper): Doc fix for custom group.
349 (top-level): Remove oh-so-no-longer-relevant text about vip.
350 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
351
352 * ido.el (ido-save-directory-list-file):
353 * saveplace.el (save-place-file):
354 * calendar/timeclock.el (timeclock-file):
355 * net/quickurl.el (quickurl-url-file):
356 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
357 * progmodes/idlwave.el (idlwave-config-directory):
358 * textmodes/remember.el (remember-data-file):
359 Bump :version.
360
169d6004
GM
3612014-01-26 Glenn Morris <rgm@gnu.org>
362
de6a923b
GM
363 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
364 Doc fix. Make obsolete.
365 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
366
169d6004
GM
367 * sort.el (delete-duplicate-lines): Doc fix.
368
ed85dee6
RS
3692014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
370
371 * progmodes/ada-mode.el (ada):
372 * woman.el (woman): Link to info manual and Commentary section.
373
374 * progmodes/flymake.el (flymake):
375 * nxml/nxml-mode.el (nxml):
376 * net/eww.el (eww):
377 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
378 * htmlfontify.el (htmlfontify):
379 * ses.el (ses):
380 * epa.el (epa):
381 * ido.el (ido): Link to info manual.
382
e0c67e1d
LL
3832014-01-25 Leo Liu <sdl.web@gmail.com>
384
385 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
386
35408b1a
AS
3872014-01-25 Adam Sjøgren <asjo@koldfront.dk>
388
389 * net/shr.el (shr-tag-img): Prefer the title over the alt text
390 (bug#16537).
391
76c3fa95
JB
3922014-01-24 Juanma Barranquero <lekktu@gmail.com>
393
f77c7a99
JB
394 * net/eww.el (eww-download-callback):
395 Fix reference to eww-download-directory.
396
76c3fa95
JB
397 * emacs-lisp/bytecomp.el (byte-compile-file):
398 Remove unused local variable `file-name'.
399
1e548e40
GM
4002014-01-24 Glenn Morris <rgm@gnu.org>
401
03f3b318
GM
402 * woman.el (woman-default-faces, woman-monochrome-faces):
403 Fix obsolescence specification.
404
1e548e40
GM
405 * subr.el (with-demoted-errors): Doc fix.
406
d4f0427b
SM
4072014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
408
409 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
410 (cl--macroexp-fboundp): New function.
411 (cl--make-type-test): Use it.
412
1670e27f
GM
4132014-01-23 Glenn Morris <rgm@gnu.org>
414
415 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
416 * simple.el (eval-expression): Doc fixes.
417
80efa207
GM
4182014-01-22 Glenn Morris <rgm@gnu.org>
419
420 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
421
29afcbab
SM
4222014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
423
424 * emacs-lisp/package.el: Write files silently.
425 (package-autoload-ensure-default-file, package--write-file-no-coding)
426 (package-generate-description-file, package--download-one-archive)
427 (package-install-from-archive): Tell `write-region' to stay quiet.
428 (package-menu-mode, package-menu--print-info): Omit the Archive column
429 if there's only one archive.
430 (package-all-keywords, package--has-keyword-p): Remove dead code.
431
2a5bce4f
GM
4322014-01-22 Glenn Morris <rgm@gnu.org>
433
edace89f
GM
434 * version.el (emacs-bzr-version-bzr): Fix typo.
435
2a5bce4f
GM
436 * version.el (emacs-repository-get-version):
437 Check either .bzr or .git, but not both.
438 Make the git case actually use the DIR argument, and return nil
439 rather than the empty string.
983664c0 440 Avoid error if .git exists but the git executable is not found.
2a5bce4f 441
6cb4da45
MR
4422014-01-22 Martin Rudalics <rudalics@gmx.at>
443
444 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
445 * window.el (window-total-size, window-size): New argument ROUND.
446 (window--min-delta-1, window-min-delta, window--max-delta-1):
447 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
448 columns a window can shrink (Bug#16430).
449 (fit-window-to-buffer): Simplify code.
450 * term.el (term-window-width): Call window-body-width again.
451
cc0f2ece
GM
4522014-01-22 Glenn Morris <rgm@gnu.org>
453
7b997b14
GM
454 * image.el (image-format-suffixes): Doc fix.
455
44e76f9d
GM
456 * international/quail.el (quail-define-package): Doc fix.
457
73c1c6d7
GM
458 * emacs-lisp/authors.el (authors-valid-file-names):
459 (authors-renamed-files-alist): Additions.
7bfc1caa 460
85a5f61f
GM
461 * vc/vc-git.el (vc-git-print-log): Remove --follow;
462 reverts 2014-01-09 change. (Bug#16422)
463
cc0f2ece
GM
464 * calc/calc-embed.el (thing-at-point-looking-at):
465 * emacs-lisp/map-ynp.el (x-popup-dialog):
466 * obsolete/lmenu.el (x-popup-dialog):
467 * emacs-lisp/package.el (url-recreate-url):
468 * mail/mailclient.el (clipboard-kill-ring-save):
469 * subr.el (x-popup-dialog): Update declaration.
470 * mail/rmail.el (rmail-mime-message-p):
471 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
472
00d2a6bb
DC
4732014-01-21 Daniel Colascione <dancol@dancol.org>
474
475 * progmodes/sh-script.el (sh--inside-noncommand-expression):
476 Correctly detect when we're inside an arithmetic expansion form
477 containing nested parenthesis.
478 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
479 to detect cases where we shouldn't expand "<<" to a heredoc
480 skeleton.
481
dd9d2e9d
SM
4822014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
483
484 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
485 (eldoc--message-command-p): New function.
486 (eldoc-display-message-p): Use it.
487 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
488 message is not automatically erased for us.
489 (eldoc-print-current-symbol-info): Erase previous message, if any.
490
e7d807ca
TH
4912014-01-21 Tassilo Horn <tsdh@gnu.org>
492
4ff0a0e5
TH
493 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
494 specify it's an interactive function.
495
dd9d2e9d
SM
496 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
497 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
498 citations with optional arguments.
499
87503791
LL
5002014-01-21 Leo Liu <sdl.web@gmail.com>
501
502 * simple.el (read--expression): Don't enable eldoc-mode.
503
6cc750ee
SM
5042014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
505
506 * simple.el (move-beginning-of-line): Make sure we don't move forward
507 (bug#16497).
508
71f16bda
JL
5092014-01-20 Juri Linkov <juri@jurta.org>
510
511 * saveplace.el (toggle-save-place, save-place-to-alist)
512 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
513 'dired-mode) before checking for dired-directory. (Bug#16477)
514
3c5a4839
JL
5152014-01-20 Juri Linkov <juri@jurta.org>
516
517 * indent.el (indent-line-to): Use backward-to-indentation
518 instead of back-to-indentation. (Bug#16461)
519
f952002e
PE
5202014-01-20 Paul Eggert <eggert@cs.ucla.edu>
521
522 Revert some of the CANNOT_DUMP fix (Bug#16494).
523 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
524 but fixing this can wait until after the next release.
525 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
526
93675500
MA
5272014-01-19 Michael Albinus <michael.albinus@gmx.de>
528
529 * eshell/esh-mode.el (eshell-password-prompt-regexp):
530 Use `password-word-equivalents'.
531 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
532 to t. (Bug#5664, Bug#13124)
533
e3af763f
AM
5342014-01-19 Alan Mackenzie <acm@muc.de>
535
536 Bind open-paren-in-column-0-is-defun-start to nil at some entry
537 points.
538 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 539 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
540 * progmodes/cc-mode.el (c-before-change, c-after-change)
541 (c-font-lock-fontify-region): Bind it here.
542
4ff6d92d
MR
5432014-01-19 Martin Rudalics <rudalics@gmx.at>
544
545 * term.el (term-window-width): Call window-text-width instead of
546 window-width (Bug#16470).
547
9a685cf6
PE
5482014-01-18 Paul Eggert <eggert@cs.ucla.edu>
549
550 * simple.el (password-word-equivalents): Remove duplicates.
551 Sort, to make this easier next time.
552 Downcase. Omit ": " after "jelszó".
553
5aa78c2d
JD
5542014-01-18 Jan Djärv <jan.h.d@swipnet.se>
555
556 * term/common-win.el (saved-region-selection): Defvar it.
557 (x-select-text): Set saved-region-selection (Bug#16382).
558
cabb250c
GM
5592014-01-18 Glenn Morris <rgm@gnu.org>
560
561 * emacs-lisp/authors.el (authors-aliases)
562 (authors-renamed-files-alist): Add some entries.
563
a1340440
MA
5642014-01-17 Michael Albinus <michael.albinus@gmx.de>
565
93675500
MA
566 * net/tramp.el (tramp-password-prompt-regexp):
567 Use `password-word-equivalents' if available.
a1340440
MA
568 (tramp-action-password, tramp-process-one-action)
569 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
570
681ce5d2
CY
5712014-01-17 Chong Yidong <cyd@gnu.org>
572
573 * simple.el (password-word-equivalents): New defcustom.
574 * comint.el (comint-password-prompt-regexp): Use it. Bump version
575 to 24.4.
576 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
577 to t. (Bug#13124)
578
fb3d479c
DG
5792014-01-17 Dmitry Gutov <dgutov@yandex.ru>
580
581 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
582 (ruby-align-to-stmt-keywords): Change the default value.
583 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
584 choices.
585 (ruby-smie-rules): Instead of using a hardcoded list of alignable
586 keywords, check against the value of `ruby-alignable-keywords'
587 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
588
0d613483
GM
5892014-01-17 Glenn Morris <rgm@gnu.org>
590
fc23fe2d
GM
591 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
592
0d613483
GM
593 Make M-x authors return zero *Authors Errors* from current logs.
594 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
595 (authors-ignored-files): Add some entries, remove others.
596 (authors-ambiguous-files, authors-valid-file-names):
597 Add some entries.
598 (authors-renamed-files-alist): Add, remove, and adjust entries.
599 (authors-renamed-files-regexps): Add some entries.
600 Remove some very broad ones. Make some entries `lax'.
601 (authors-lax-changelogs): New constant.
602 (authors-disambiguate-file-name): Treat top-level specially.
603 (authors-lax-changelog-p): New function.
604 (authors-canonical-file-name): Check file as written against
605 authors-valid-file-names. Do not special-case etc/.
606 Handle `lax' logs and authors-renamed-files-regexps elements.
607
2dbf4ffd
DG
6082014-01-16 Dmitry Gutov <dgutov@yandex.ru>
609
610 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
611 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
612 callers.
2dbf4ffd 613
87b2a7f2
SM
6142014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
615
616 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
617 Assume we're already in the proper buffer.
618 Inspired by Anders Lindgren <andlind@gmail.com>.
619 (follow-post-command-hook): Call it from the right buffer.
620 (follow-comint-scroll-to-bottom): Adjust call.
621 (follow-all-followers): Use get-buffer-window-list.
622
93acfb0e
DC
6232014-01-15 Daniel Colascione <dancol@dancol.org>
624
625 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
626 `buffer-file-name' in interactive-form so that we don't leave
627 pathless file names in `file-name-history'.
628
ccc6b208
JL
6292014-01-15 Juri Linkov <juri@jurta.org>
630
631 * indent.el (indent-rigidly): Set deactivate-mark to nil
632 in transient indentation mode. (Bug#16438)
633
5c92e00d
DG
6342014-01-15 Dmitry Gutov <dgutov@yandex.ru>
635
636 * emacs-lisp/package.el (package-desc-keywords): New function
637 (Bug#16222).
638 (describe-package-1, package-all-keywords)
639 (package--has-keyword-p): Use it.
640
dac69660
NR
6412014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
642
643 * simple.el (define-alternatives): When creating the
644 COMMAND-alternatives variable, assign COMMAND as its definition
645 name so that `describe-variable' can relocate it.
646
8b63edf8
ML
6472014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
648
649 * font-lock.el (font-lock-keywords): Fix typo in docstring
650 (bug#16307).
651
c6a0b8eb
AM
6522014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
653
654 * ispell.el (ispell-region): Reset `in-comment' for new line
655 instead of wrongly reset `add-coment' (bug#13577).
656
02bf443d
DU
6572014-01-14 Daiki Ueno <ueno@gnu.org>
658
659 * epa-file.el (epa-file-write-region): Encode the region according
660 to `buffer-file-format'. Problem reported at:
661 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
662
fd7fde15
SM
6632014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
664
665 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
666 so it applies in the right buffer (bug#16410).
667
c176054f
DC
6682014-01-13 Daniel Colascione <dancol@dancol.org>
669
670 * textmodes/rst.el (rst-define-key): Provide deprecated
671 keybindings through named functions instead of anonymous ones so
672 that "??" doesn't appear in describe-mode output.
673
e3f33e5d
BG
6742014-01-13 Bastien Guerry <bzg@gnu.org>
675
676 * simple.el (define-alternatives): Call the selected command
677 interactively. When setting `COMMAND--implementation' for the
678 first time, tell the user how to chose another implementation.
679 Enhance the docstring.
680
c055d654
SM
6812014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
682
683 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
684 (log-edit--match-first-line): New function.
685 (log-edit-font-lock-keywords): Use it.
686 (log-edit-mode): Make jit-lock-defer-multiline work.
687
d791cc3b
BG
6882014-01-13 Bastien Guerry <bzg@gnu.org>
689
690 * rect.el (rectangle-mark-mode): When the region is not active,
691 display a message saying that the mark as been set and that
692 rectangle mode is in use.
693 (rectangle--highlight-for-redisplay): Only put an overlay with a
694 visible vertical bar when (display-graphic-p) is non-nil.
695 This partially fixes Bug#16403.
696
3c0c4562
JL
6972014-01-13 Juri Linkov <juri@jurta.org>
698
699 * info.el (Info-find-file): Go to DIR before displaying the error
700 about a nonexistent file if no previous Info file is visited.
701 Use `user-error' instead of `error' for "Info file %s does not exist".
702 (Info-find-node-2): In case of a nonexistent node in unwind forms
703 go to the Top node if there is no previous node to revert to.
704 (Bug#16405)
705
25a700d0
MR
7062014-01-13 Martin Rudalics <rudalics@gmx.at>
707
708 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
709 * window.el (fit-frame-to-buffer): Fix doc-string.
710 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
711 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
712 when avoiding that frame goes partially off-screen.
713 (fit-window-to-buffer): Respect window-min-height/-width
714 (Bug#14096).
715
6ae948d8
SM
7162014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
717
718 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
719 after an empty line.
720
6137cb82
SM
7212014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
722
723 * net/shr.el (shr-render-region): Autoload.
724
e6344e17
XF
7252014-01-12 Xue Fuqiao <xfq.free@gmail.com>
726
727 * net/eww.el (eww-download-directory): Rename from
728 `eww-download-path' (Bug#16419).
729
3b922c70
LL
7302014-01-12 Leo Liu <sdl.web@gmail.com>
731
732 * dired-x.el (dired-mode-map): Fix last change.
733
734 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
735
4fa51741
PE
7362014-01-12 Paul Eggert <eggert@cs.ucla.edu>
737
738 Spelling fixes.
739 * emacs-lisp/generic.el (generic--normalize-comments):
740 Rename from generic--normalise-comments. All uses changed.
741 * play/bubbles.el (bubbles--neighborhood-score):
742 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
743 (bubbles--neighborhood-available)
744 (bubbles--update-neighborhood-score):
745 Rename from names with 'neighbourhood'. All uses changed.
746
9b335362
LL
7472014-01-12 Leo Liu <sdl.web@gmail.com>
748
749 Re-implement the feature of showing eldoc info after editing.
750 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
751 (eldoc-edit-message-commands): New function.
752 (eldoc-print-after-edit): New variable.
753 (eldoc-pre-command-refresh-echo-area): Emit message only by
754 eldoc-message-commands.
755 (eldoc-mode): Restrict eldoc-message-commands to editing commands
756 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 757 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 758 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 759
e2a095b1
GM
7602014-01-11 Dani Moncayo <dmoncayo@gmail.com>
761 Eric S. Raymond <esr@thyrsus.com>
9685190b 762
841a6d0c 763 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 764 function works correctly in either a Bazaar or Git repo.
0abf4134 765
e2a095b1
GM
7662014-01-11 Eric S. Raymond <esr@thyrsus.com>
767
6137cb82
SM
768 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
769 Goes with removal of the joke manpages from /etc.
9685190b 770
3923e7bd
KH
7712014-01-10 K. Handa <handa@gnu.org>
772
6137cb82
SM
773 * mail/rmail.el (rmail-get-coding-system):
774 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 775
d2f16e93
GM
7762014-01-10 Glenn Morris <rgm@gnu.org>
777
778 * emacs-lisp/authors.el (authors-fixed-entries):
779 Update for files that no longer exist.
780
7e03bb32
ER
7812014-01-10 Eric S. Raymond <esr@thyrsus.com>
782
783 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 784 24.3 (Tested).
7e03bb32 785
dd806710
BB
7862014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
787
788 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
789 and Podfile.
790
ed6ec139
EZ
7912014-01-10 Eli Zaretskii <eliz@gnu.org>
792
793 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
794
cc33cac9
CY
7952014-01-10 Chong Yidong <cyd@gnu.org>
796
6137cb82 797 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 798
d9d836b5
AL
7992014-01-10 Anders Lindgren <andlind@gmail.com>
800
801 * follow.el (follow-cache-command-list): Include right-char and
802 left-char.
803
06827ec8
PE
8042014-01-10 Paul Eggert <eggert@cs.ucla.edu>
805
806 Spelling fixes.
807 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
808 * woman.el (woman-mark-horizontal-position):
809 Rename from woman-mark-horizonal-position. Use changed.
810
458dbf5e
GM
8112014-01-10 Glenn Morris <rgm@gnu.org>
812
dad6fae7
GM
813 * info.el (info-initialize): If running uninstalled, ensure our
814 own info files are always found first, even if INFOPATH is set.
815
458dbf5e
GM
816 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
817
05e0afce
DE
8182014-01-09 David Engster <deng@randomsample.de>
819
820 * emacs-lisp/eieio-custom.el:
821 * emacs-lisp/eieio-opt.el: Set generated autoload file to
822 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
823 * emacs-lisp/eieio.el: Regenerate autoloads.
824
f29778b3
ER
8252014-01-09 Eric S. Raymond <esr@thyrsus.com>
826
827 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 828 following renames. (Bug#8756)
f29778b3 829
684d44ef
SM
8302014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
831
832 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
833 (bug#16382).
834 (activate-mark): Add `no-tmm' argument.
835 (set-mark, push-mark-command): Use it instead of running
836 activate-mark-hook by hand.
837
9475054f
ER
8382014-01-08 Eric S. Raymond <esr@thyrsus.com>
839
840 In preparation for the move to git, sanitize out some
841 Bazaar-specific names.
842
38942b9c
GM
843 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
844
9475054f 845 * version.el (emacs-bzr-version): Name changed to
689c9ca5 846 emacs-repository-version. Obsolete-variable alias made.
9475054f 847 * loadup.el: Follow through on this name change.
a12bf61e 848 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
849 assumption about the version control system in use.
850
0f918d96 8512014-01-08 David Engster <deng@randomsample.de>
abb82152 852
684d44ef
SM
853 * help-fns.el (help-fns-describe-function-functions):
854 New variable to call functions for augmenting help buffers.
abb82152
DE
855 (describe-function-1): Remove explicit calls to
856 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
857 `help-fns--obsolete'. Put them in above new variable instead, and
858 call them through `run-hook-with-args'.
859 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
860 `eieio-describe-class'. Not meant for interactive use anymore,
861 but to augment existing help buffers. Remove optional second
684d44ef
SM
862 argument. Create proper button for file location.
863 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
864 possible.
865 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
866 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
867 (describe-method, describe-generic, eieio-describe-method):
868 Remove aliases.
0f918d96
DE
869 (eieio-help-constructor, eieio-help-generic): Rename from
870 `eieio-describe-constructor' and `eieio-describe-generic', resp.
871 Rewrite to use `insert' in the current buffer and use proper help
872 buttons.
873 (eieio-help-find-method-definition)
874 (eieio-help-find-class-definition): Also accept symbols as
875 arguments.
876 (eieio-help-mode-augmentation-maybee): Remove.
877 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
878 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
879 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 880
136b74c5
PE
8812014-01-08 Paul Eggert <eggert@cs.ucla.edu>
882
883 Spelling fixes.
884 * language/china-util.el (hz-ascii-designation):
885 Rename from hz-ascii-designnation.
886 (hz-ascii-designation): Rename from hz-ascii-designnation.
887 All uses changed.
888
ec6c7de2
SM
8892014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
890
891 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
892 package-alist.
893
d6262c7c
BG
8942014-01-08 Bastien Guerry <bzg@gnu.org>
895
4b9e6087
GM
896 * emacs-lisp/package.el (package-delete):
897 Correctly delete the package from package-alist.
d6262c7c 898
0a3eec32
DU
8992014-01-08 Daiki Ueno <ueno@gnu.org>
900
901 * emacs-lisp/package.el (url-recreate-url): Declare.
902 (url-http-target-url): Declare.
4b9e6087 903 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
904 (package--check-signature): Don't re-signal errors from
905 package--with-work-buffer. Suggested by Stefan Monnier.
906
68f0bb97
BG
9072014-01-07 Bastien Guerry <bzg@gnu.org>
908
909 * minibuffer.el (completion--try-word-completion): When both a
910 hyphen and a space are possible candidates for the character
911 following a word, display both candidates. (Bug#15980)
912
7e1899d7
MR
9132014-01-07 Martin Rudalics <rudalics@gmx.at>
914
915 * window.el (balance-windows-2): While rounding don't give a
916 window more than the remainder. Bug#16351, Bug#16383.
917
0030ec15
GM
9182014-01-07 Glenn Morris <rgm@gnu.org>
919
920 * menu-bar.el (menu-bar-help-extra-packages): Remove.
921 (menu-bar-help-menu): Use view-external-packages instead.
922
2b6b4f20
BG
9232014-01-07 Bastien Guerry <bzg@gnu.org>
924
925 * emacs-lisp/package.el (package-delete): Also delete the package
926 name from `package-alist', not its description only.
927
e9be0a13
GM
9282014-01-07 Glenn Morris <rgm@gnu.org>
929
930 * help.el (view-external-packages):
931 * menu-bar.el (menu-bar-help-extra-packages):
932 Visit efaq.info rather than etc/MORE.STUFF.
933
e4f74da9
JL
9342014-01-07 Juri Linkov <juri@jurta.org>
935
936 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
937 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
938
939 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
940 that shadows RET. (Bug#16342)
941
de7ce2d1
CY
9422014-01-07 Chong Yidong <cyd@gnu.org>
943
944 * isearch.el (isearch-yank-char, isearch-yank-word)
945 (isearch-yank-line): Doc fix.
946
6bdd9204
SM
9472014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
948
949 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
950 * emacs-lisp/elint.el (elint-find-builtins):
951 * emacs-lisp/eldoc.el (eldoc-symbol-function):
952 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
953 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
954 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
955 * apropos.el (apropos-safe-documentation):
956 * subr.el (symbol-file): Remove redundant fboundp.
957 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
958
daccca97
BG
9592014-01-06 Bastien Guerry <bzg@gnu.org>
960
961 * hl-line.el (global-hl-line-overlay): Make a local variable.
962 (global-hl-line-overlays): New variable to store all overlays.
963 (global-hl-line-mode): Don't delete overlays from the current
964 buffer when `global-hl-line-sticky-flag' is non-nil.
965 (global-hl-line-highlight): Add new overlays to
966 `global-hl-line-overlays'.
967 (global-hl-line-unhighlight-all): New function to delete all
968 overlays when turning off `global-hl-line-mode'.
969 This fixes Bug#16183.
970
ec00f20f
SM
9712014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
972
973 * subr.el (set-transient-map): Fix nested case and docstring.
974
a0031f97
TH
9752014-01-06 Tassilo Horn <tsdh@gnu.org>
976
977 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
978 `Texinfo' entry.
979
bf6a77f3
DC
9802014-01-06 Daniel Colascione <dancol@dancol.org>
981
982 Fix defun navigation in vc log view.
983
984 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
985 like `beginning-of-defun'.
986 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
ec00f20f
SM
987 log-view-end-of-defun to log-view-end-of-defun-1. Replace
988 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 989 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 990 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 991
d5081c1e
PE
9922014-01-06 Paul Eggert <eggert@cs.ucla.edu>
993
994 Spelling fixes.
995 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
996 * emacs-lisp/debug.el (cancel-debug-on-entry):
997 * epg.el (epg-error-to-string):
998 * files.el (recover-file):
999 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1000 * mail/emacsbug.el (report-emacs-bug-hook):
1001 * mail/sendmail.el (mail-recover):
1002 * ses.el (ses-yank-resize):
1003 * term/ns-win.el (ns-print-buffer):
1004 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1005 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1006 All uses changed.
1007 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1008
53f6b148
LL
10092014-01-06 Leo Liu <sdl.web@gmail.com>
1010
1011 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 1012 to avoid shadowing global key. (Bug#16354)
53f6b148 1013
b82ace2f
DC
10142014-01-06 Daniel Colascione <dancol@dancol.org>
1015
1016 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1017 rst-mode.
1018
3669b636
MR
10192014-01-05 Martin Rudalics <rudalics@gmx.at>
1020
1021 * window.el (balance-windows): Add mising t to fix Bug#16351.
1022
1a29adc2
LMI
10232014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1024
1025 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1026 (bug#16285).
3d95a0f4
LMI
1027 (shr-insert): If we have a word that's longer than `shr-width',
1028 break after it anyway. Otherwise we'll do no breaking once we get
1029 such a long word.
1a29adc2 1030
f4018140
KN
10312014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1032
3fcfc4ee 1033 * net/eww.el (eww): Support single/double quote for search.
189340f5
KN
1034 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
1035 (eww-history-quit): Delete and use quit-window.
1036 (eww-history-kill): Delete, because it doesn't work well and
1037 not necessary.
1038 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 1039
4e619754
PE
10402014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1041
73dbf960
PE
1042 Fix misspelling of 'chinese' in rx (Bug#16237).
1043 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1044 chinese-two-byte.
1045
4e619754
PE
1046 Change subword regexps back to vars (Bug#16296).
1047 * progmodes/subword.el (subword-forward-regexp)
1048 (subword-backward-regexp): Change these back to variables.
1049
e18b70fc
SM
10502014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1051
1052 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1053 syntax-begin-function (bug#16247).
1054
0d53f628
CY
10552014-01-03 Chong Yidong <cyd@gnu.org>
1056
1057 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1058 (advice--docstring): Delete variable.
1059 (advice--make-1): Leave the docstring empty.
1060 (advice-add): Use function-documentation for advised docstring.
1061
1062 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1063 Ignore function-documentation property when getting documentation.
1064 (ad-activate-advised-definition): Use function-documentation
1065 generate the docstring.
1066 (ad-make-advised-definition): Don't call
1067 ad-make-advised-definition-docstring.
1068 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1069 Delete functions.
1070
1071 * progmodes/sql.el (sql-help): Use function-documentation instead
1072 of dynamic-docstring-function property. No need to autoload now.
1073 (sql--help-docstring): New variable.
1074 (sql--make-help-docstring): Use it.
1075
6f547583
SM
10762014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1077
6ef9aed8
SM
1078 * ielm.el (ielm-tab): Retarget.
1079 (ielm-map): Use ielm-tab for tab.
1080 (ielm-complete-filename): Use comint-filename-completion.
1081 (ielm-complete-symbol): Remove.
1082 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1083 remove ielm-tab from completion-at-point-functions (bug#16224).
1084
6f547583
SM
1085 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1086 Beware signals raised by predicates (bug#16201).
1087
a574edbe
RS
10882014-01-02 Richard Stallman <rms@gnu.org>
1089
e831604d
RS
1090 * dired-aux.el (dired-do-print): Handle printer-name.
1091
6f547583
SM
1092 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1093 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
1094 (rmail-epa-decrypt): Turn off mime processing.
1095
3fcfc4ee 1096 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
1097 Add parens in message-id.
1098
1099 * mail/rmail.el (rmail-get-coding-function): Variable.
1100 (rmail-get-coding-system): Use it.
1101
04311a16
KH
11022013-12-31 Eli Zaretskii <eliz@gnu.org>
1103
1104 * international/mule-conf.el: Unify the charset indian-is13194.
1105 (indian-is13194): Specify unify-map.
1106
c8d89778
LL
11072013-12-31 Leo Liu <sdl.web@gmail.com>
1108
1109 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1110
e63ace37
DC
11112013-12-30 Daniel Colascione <dancol@dancol.org>
1112
9e0bf19a
DC
1113 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1114 of printing a useless when we resume from sleep.
1115
e63ace37
DC
1116 * progmodes/sh-script.el
1117 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1118 in indentation code. (Bug#16233)
1119
e9d6c46a
JT
11202013-12-28 João Távora <joaotavora@gmail.com>
1121
6f547583
SM
1122 * elec-pair.el (electric-pair-post-self-insert-function):
1123 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 1124
bf7bea5d
EZ
11252013-12-28 Eli Zaretskii <eliz@gnu.org>
1126
1127 * frame.el (window-system-for-display): Don't allow to create a
1128 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1129
8449dd1f
GM
11302013-12-28 Glenn Morris <rgm@gnu.org>
1131
9c5a5c77
GM
1132 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1133 Update callers.
1134
1135 * apropos.el (apropos-match-face):
1136 * calculator.el (calculator-displayer):
1137 * dabbrev.el (dabbrev-search-these-buffers-only):
1138 * face-remap.el (buffer-face-mode-face):
1139 * simple.el (yank-handled-properties):
1140 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1141 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1142 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1143 (hashcash-double-spend-database):
1144 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1145 (ruby-deep-indent-paren-style):
1146 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1147 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1148 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1149 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1150 Specify custom types.
1151
bb098075
GM
1152 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1153 * bookmark.el (bookmark-bmenu-use-header-line):
1154 * doc-view.el (doc-view-scale-internally):
1155 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1156 * register.el (register-preview-delay):
1157 * net/shr.el (shr-bullet):
1158 * progmodes/cfengine.el (cfengine-cf-promises)
1159 (cfengine-parameters-indent):
1160 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1161 * textmodes/reftex-vars.el (reftex-label-regexps):
1162 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1163
9c61f806
GM
1164 * net/tls.el (tls-certtool-program): Fix default value.
1165
1166 * desktop.el (desktop-restore-in-current-display):
1167 * newcomment.el (comment-empty-lines):
1168 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1169 (idlwave-pad-keyword):
1170 * progmodes/tcl.el (tcl-tab-always-indent):
1171 * textmodes/reftex-vars.el (reftex-index-default-tag):
1172 * elec-pair.el (electric-pair-skip-whitespace):
1173 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1174
8449dd1f
GM
1175 * emacs-lisp/authors.el (authors-ignored-files)
1176 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1177
fdadeb49
JC
11782013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1179
72140a0f
GM
1180 * shell.el (shell-dynamic-complete-command): Doc fix.
1181 (shell--command-completion-data): Shell completion now matches
1182 executable filenames from the current buffer's directory, on
da5ecfa9 1183 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 1184
e572a7d8
LI
11852013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1186
1187 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1188
7514d3f8
SM
11892013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1190
a4151f3b
SM
1191 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1192 (bug#16251).
1193
7514d3f8
SM
1194 * electric.el: Move all electric-pair-* to elec-pair.el.
1195 * elec-pair.el: New file, split from electric.el.
1196
ac5758d1
LI
11972013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1198
1199 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1200 indentation level is larger than the width, because that will
1201 infloop.
1202 (shr-insert): Fill repeatedly long texts, so that Japanese is
1203 formatted correctly (bug#16263).
24a6b65e
LI
1204 (shr-find-fill-point): Off by one error in comparison with the
1205 indentation.
ac5758d1 1206
7514d3f8 12072013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
1208
1209 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 1210 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
1211 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1212 if that keeps or improves their balance in buffers.
1213 (electric-pair-delete-adjacent-pairs): Delete the pair when
1214 backspacing over adjacent matched delimiters.
1215 (electric-pair-open-extra-newline): Open extra newline when
1216 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
1217 (electric--sort-post-self-insertion-hook):
1218 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
1219 minor-modes are activated.
1220 * simple.el (newline-and-indent): Call newline with interactive
1221 set to t.
1222 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
1223 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1224 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1225 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
1226 electric-pair-open-newline-between-pairs to nil.
1227
fbcc63a3
FEG
12282013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1229
1230 * progmodes/python.el: Use lexical-binding.
1231 (python-nav-beginning-of-defun): Stop searching ASAP.
1232
ed78d16c
XF
12332013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1234
1235 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1236 Fix interactive spec. Doc fix. (Bug#15754)
1237
38b2c142
KY
12382013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1239
1240 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 1241 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
1242 Fix edebug spec (bug#16184).
1243
3c856c14
LI
12442013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1245
83fa295c 1246 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
1247 (shr-insert): Don't infloop if we can't find a good place to break
1248 the line (bug#16256).
3c856c14 1249
01379221
FEG
12502013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1251
1252 * progmodes/python.el:
1253 (python-nav--lisp-forward-sexp): New function.
1254 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1255 python-nav-lisp-forward-sexp-safe.
1256 (python-nav--forward-sexp): New argument SAFE allows switching
1257 forward sexp movement behavior for parens.
1258 (python-nav-forward-sexp): Throw errors on unterminated parens
1259 (Bug#16191).
1260 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1261 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
1262 (python-shell-buffer-substring):
1263 Use `python-nav-forward-sexp-safe'.
01379221 1264
99e4926f
LI
12652013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1266
1267 * net/shr.el (shr-find-fill-point): Don't break lines before a
1268 quotation mark.
c6c20584
LI
1269 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1270 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 1271 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 1272
fec0e828
KN
12732013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1274
1275 * net/eww.el (eww-form-textarea): Use a different face for
1276 textareas than text input since they have different keymaps
1277 (bug#16142).
1278
89c868ad
FEG
12792013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1280
7514d3f8
SM
1281 * progmodes/python.el (python-nav-beginning-of-statement):
1282 Speed up (Bug#15295).
89c868ad 1283
eeef121a
LI
12842013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1285
1286 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1287 the window configuration.
1288
121ea65f
EZ
12892013-12-24 Eli Zaretskii <eliz@gnu.org>
1290
1291 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1292 we run on MS-Windows or MS-DOS.
1293
18cee9ec
MR
12942013-12-24 Martin Rudalics <rudalics@gmx.at>
1295
1296 * window.el (balance-windows-area): Call window-size instead of
1297 window-height and window-width. Bug#16241.
1298
58f2b9a5
LI
12992013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1300
1301 * net/eww.el (eww-bookmark-quit): Remove.
1302 (eww-bookmark-browse): Restore the window configuration when you
1303 choose a bookmark (bug#16144).
1304
d64b6308
DC
13052013-12-24 Daniel Colascione <dancol@dancol.org>
1306
1307 * icomplete.el: Remove redundant :group arguments to `defcustom'
1308 throughout.
1309 (icomplete-show-matches-on-no-input): New customizable variable.
1310 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1311 we have something to show.
7514d3f8 1312 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 1313
0da54898
DC
13142013-12-23 Daniel Colascione <dancol@dancol.org>
1315
1316 * icomplete.el: Move `provide' to end of file.
1317
b90aa4f4
TZ
13182013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1319
1320 * net/gnutls.el (gnutls-verify-error): Add version tag.
1321
8cd22a08
CY
13222013-12-23 Chong Yidong <cyd@gnu.org>
1323
1324 * subr.el (set-transient-map): Rename from
1325 set-temporary-overlay-map. Doc fix.
1326
1327 * face-remap.el (text-scale-adjust):
1328 * indent.el (indent-rigidly):
1329 * kmacro.el (kmacro-call-macro):
1330 * minibuffer.el (minibuffer-force-complete):
1331 * repeat.el (repeat):
1332 * simple.el (universal-argument--mode):
1333 * calendar/todo-mode.el (todo-insert-item--next-param):
1334 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1335
7510b021
CY
1336 * indent.el (indent-rigidly): Use substitute-command-keys.
1337
72140a0f 13382013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
1339
1340 * net/eww.el (eww-tag-select): Add text-property to jump to next
1341 select field.
e9dc713d 1342 (eww): Add non-supported ftp error.
56890ecd 1343
1f87a56c
DG
13442013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1345
1346 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1347 comments. Handle electric indent after typing `?' and `!'.
1348
dca38cf9
CY
13492013-12-22 Chong Yidong <cyd@gnu.org>
1350
1351 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
1352 applicable to a frame, fall back on the defface spec.
1353 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 1354
f2351498
DG
13552013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1356
1357 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1358 after `{'. We need it after block openers, and it doesn't seem
1359 to hurt after hash openers.
1360
6cddebc1
DG
13612013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1362
1363 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1364 extracted from `ruby-smie-rules'.
1365 (ruby--electric-indent-chars): New variable.
1366 (ruby--electric-indent-p): New function.
1367 (ruby-mode): Use `electric-indent-functions' instead of
1368 `electric-indent-chars'.
1369
65a1da00
DG
13702013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1371
1372 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1373 docstring.
1374 (ruby-smie-rules): Indent plus one level after `=>'.
1375
b51ad4cf
RS
13762013-12-21 Richard Stallman <rms@gnu.org>
1377
1378 * simple.el (newline): Doc fix.
1379
72140a0f 13802013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 1381
e9dc713d 1382 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
1383 (eww-history-browse, eww-history-quit, eww-history-kill)
1384 (eww-history-mode-map, eww-history-mode): New command and
1385 functions to list browser histories.
e9dc713d
JB
1386 (eww-form-text): Support text form with disabled
1387 and readonly attributes.
1388 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 1389
5e1901c1
RS
13902013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1391
1392 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1393 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1394 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1395 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1396 Use `user-error'.
1397 (eww-bookmark-mode-map): Add menu.
1398 (eww-render, eww-mode): Use `setq-local'.
1399 (eww-tool-bar-map): New variable.
1400 (eww-mode): Set `tool-bar-map'.
1401 (eww-view-source): Check for `html-mode' with `fboundp'.
1402
073d5cfd
LMI
14032013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1404
1405 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1406 elements with text inside. Also remove debugging.
1407
41cf3d11
JD
14082013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1409
1410 * cus-start.el (all): Add ns-use-srgb-colorspace.
1411
aac2b673
CY
14122013-12-21 Chong Yidong <cyd@gnu.org>
1413
1414 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1415 undefined. Thus, theme settings for undefined faces do not take
1416 effect until the faces are defined with defface, the same as with
1417 theme variables.
1418
1419 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1420 (face-spec-reset-face): Don't assign extra properties in temacs.
1421 (face-spec-recalc): Apply X resources too.
1422
bacb0e77
CY
14232013-12-21 Chong Yidong <cyd@gnu.org>
1424
1425 * faces.el (face-spec-set):
1426 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1427 * custom.el (defface): Doc fixes (Bug#16203).
1428
77221051
CY
1429 * indent.el (indent-rigidly-map): Add docstring, and move commands
1430 into named functions.
1431 (indent-rigidly-left, indent-rigidly-right)
1432 (indent-rigidly-left-to-tab-stop)
1433 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1434 indentation direction based on bidi direction, and accumulate
1435 sequential commands in a single undo boundary.
1436 (indent-rigidly--pop-undo): New utility function.
1437
e0eb0550
JB
14382013-12-20 Juanma Barranquero <lekktu@gmail.com>
1439
1440 * faces.el (read-face-name): Require crm.el when using crm-separator.
1441
3282bd2e
DC
14422013-12-20 Daniel Colascione <dancol@dancol.org>
1443
1444 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1445 so that we don't reflow comments into the shebang line.
1446
1d42e5b6
JL
14472013-12-20 Juri Linkov <juri@jurta.org>
1448
1449 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1450 a position when `dired-directory' is non-nil. Check integer
1451 positions with `integerp'.
1452 (toggle-save-place, save-places-to-alist): Add check for
1453 `dired-directory'.
1454 (save-place-find-file-hook): Check integer positions with
1455 `integerp'.
1456 (save-place-dired-hook): Use `dired-goto-file' when
1457 `dired-filename' is found in the assoc list. Check integer
1458 positions with `integerp'.
1459 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1460
1461 * dired.el (dired-initial-position-hook): Rename back from
1462 `dired-initial-point-hook'.
1463 (dired-initial-position): Rename `dired-initial-point-hook' to
1464 `dired-initial-position-hook'.
1465 (dired-file-name-at-point): Doc fix. (Bug#15329)
1466
24da7273
JL
14672013-12-20 Juri Linkov <juri@jurta.org>
1468
1469 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1470 (read-regexp-suggestions): New function.
1471 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1472 Use `read-regexp-suggestions'. Add non-empty default to history
1473 for empty input.
1474 (occur-read-regexp-defaults-function): Remove function.
1475 (occur-read-primary-args): Use `regexp-history-last' instead of
1476 `occur-read-regexp-defaults-function'.
1477
1478 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1479 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1480 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1481 `hi-lock-read-regexp-defaults-function'. Doc fix.
1482 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1483 with `find-tag-default-as-symbol-regexp'. Doc fix.
1484 (hi-lock-read-regexp-defaults): Remove function.
1485 (hi-lock-regexp-okay): Add check for null.
1486
1487 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1488 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1489
1490 * subr.el (find-tag-default-as-symbol-regexp): New function.
1491 (find-tag-default-as-regexp): Move symbol regexp formatting to
1492 `find-tag-default-as-symbol-regexp'.
1493
137f57c8
S
14942013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1495
1496 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1497 (Bug#14179)
1498
f3a66082
SB
14992013-12-20 Stephen Berman <stephen.berman@gmx.net>
1500
1501 * calendar/todo-mode.el: New implementation of item insertion
1502 commands and key bindings.
1503 (todo-key-prompt): New face.
1504 (todo-insert-item): New command.
1505 (todo-insert-item--parameters): New defconst, replacing defvar
1506 todo-insertion-commands-args-genlist.
1507 (todo-insert-item--param-key-alist): New defconst, replacing
1508 defvar todo-insertion-commands-arg-key-list.
1509 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1510 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1511 (todo-insert-item--next-param): New functions.
1512 (todo-insert-item--args, todo-insert-item--argleft)
1513 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1514 New variables.
1515 (todo-key-bindings-t): Change binding of "i" from
1516 todo-insertion-map to todo-insert-item.
1517 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1518 (todo-insertion-command-name, todo-insertion-commands-names)
1519 (todo-define-insertion-command, todo-insertion-commands)
1520 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1521
2f99433b
SB
15222013-12-20 Stephen Berman <stephen.berman@gmx.net>
1523
1524 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1525 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1526 eval-when-compile.
1527 (todo-move-category): Allow choosing a non-existing todo file to
1528 move the category to, and create that file.
1529 (todo-default-priority): New user option.
1530 (todo-set-item-priority): Use it.
1531 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1532 (desktop-restore-file-buffer): Declare.
1533 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1534 (todo-modes-set-2): Locally set desktop-save-buffer to
1535 todo-desktop-save-buffer.
1536 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1537 (auto-mode-alist): Add autoload cookie.
1538
131e4695
BB
15392013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1540
1541 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1542 helpers.el was a poor choice of name.
3cbfb935
BB
1543 (string-remove-prefix): New function.
1544 (string-remove-suffix): New function.
131e4695 1545
c44de18d
MR
15462013-12-20 Martin Rudalics <rudalics@gmx.at>
1547
1548 Fix assignment for new window total sizes.
1549 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
1550 (window--pixel-to-total-1, window--pixel-to-total):
1551 Fix calculation of new total sizes.
c44de18d 1552
ca65efcc
VS
15532013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1554
1555 * comint.el (comint-output-filter): Fix rear-nonsticky property
1556 placement (Bug#16010).
1557
a9574eb7
CY
15582013-12-20 Chong Yidong <cyd@gnu.org>
1559
1560 * faces.el (read-color): Minor fix for completion function.
1561
b520f210
DG
15622013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1563
e0eb0550
JB
1564 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1565 New option. (Bug#16182)
b520f210
DG
1566 (ruby-smie--indent-to-stmt-p): Use it.
1567 (ruby-smie-rules): Revert the logic in the handling of `when'.
1568 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1569 (ruby-deep-arglist, ruby-deep-indent-paren)
1570 (ruby-deep-indent-paren-style): Update docstrings to note that the
1571 vars don't have any effect with SMIE.
1572
26b75b45
JB
15732013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1574
1575 * calc/calc.el (calc-enter, calc-pop): Use the variable
1576 `calc-context-sensitive-enter'.
1577
cf91cee7
LMI
15782013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1579
1580 * net/shr.el (shr-insert): Protect against infloops in degenerate
1581 tables.
1582
51d971b4
RS
15832013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1584
1585 * progmodes/octave.el (octave): Add link to manual and octave
1586 homepage.
1587 (octave-mode-menu): Link to octave-mode manual.
1588
8c2e462a
LL
15892013-12-20 Leo Liu <sdl.web@gmail.com>
1590
1591 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1592 insertion using skeleton-end-newline. (Bug#16138)
1593
501158bc
JL
15942013-12-20 Juri Linkov <juri@jurta.org>
1595
1596 * replace.el (occur-engine): Use `add-face-text-property'
1597 to add the face property to matches and titles. (Bug#14645)
1598
1599 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1600 the palette of other hi-lock colors.
1601 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1602
50ab1da6
JL
16032013-12-19 Juri Linkov <juri@jurta.org>
1604
1605 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1606 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1607 (minibuffer-history-symbol): Move variable declaration closer to
1608 its usage.
1609
1610 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1611 (Bug#14785)
1612
3d6e95e7
JL
16132013-12-19 Juri Linkov <juri@jurta.org>
1614
1615 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1616 New function.
1617 (log-edit-hook): Add it to :options. (Bug#16170)
1618
b41594fd
JL
16192013-12-19 Juri Linkov <juri@jurta.org>
1620
1621 * simple.el (eval-expression-print-format): Don't check for
1622 command names and the last command. Always display additional
1623 formats of the integer result in the echo area, and insert them
1624 to the current buffer only with a zero prefix arg.
1625 Display character when char-displayable-p is non-nil.
1626 (eval-expression): With a zero prefix arg, set `print-length' and
1627 `print-level' to nil, and insert the integer values from
1628 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1629
1630 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1631 `eval-last-sexp-arg-internal'. Doc fix.
1632 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1633 `eval-last-sexp-print-value'. Doc fix.
1634 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1635 Set `print-length' and `print-level' to nil when arg is zero.
1636 (eval-last-sexp): Doc fix.
1637 (eval-defun-2): Print the integer values from
1638 `eval-expression-print-format' at the end.
1639
1640 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1641 values from `eval-expression-print-format' at the end.
1642
1643 * ielm.el (ielm-eval-input): Print the integer
1644 values from `eval-expression-print-format' at the end.
1645
8f2be364
TZ
16462013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1647
1648 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1649 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1650
2230a6e3
SM
16512013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1652
1653 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1654 (hl-line-highlight, global-hl-line-highlight): Use it.
1655 (hl-line-overlay): Use defvar-local.
1656
1269a680
JD
16572013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1658
1659 * term/ns-win.el: Require dnd.
1660 (global-map): Remove drag items.
1661 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
1662 (ns-set-background-at-mouse):
1663 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1664 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1665 New functions.
1269a680 1666
049638ad
GM
16672013-12-19 Glenn Morris <rgm@gnu.org>
1668
1669 * emacs-lisp/ert.el (ert-select-tests):
1670 Fix string/symbol mixup. (Bug#16121)
1671
ce41edb4
DG
16722013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1673
1674 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1675 keywords to their parent.
1676
7e1549c9
DG
16772013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1678
1679 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1680 first arg to be a string (fixed dead code), or an operator symbol.
1681 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1682 operator symbols.
1683 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1684 did nothing. Don't respond to `(:after ".")', it will be called
1685 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1686 change anything. Only return indentation for binary operators
1687 when they are hanging. De-dent opening paren when its parent is
1688 `.', otherwise it looks bad when the dot is not at bol or eol
1689 (bug#16182).
1690
3ee4cd64
JL
16912013-12-19 Juri Linkov <juri@jurta.org>
1692
1693 * replace.el (query-replace-read-args): Split a non-negative arg
1694 and a negative arg into separate elements.
1695 (query-replace, query-replace-regexp, replace-string)
1696 (replace-regexp): Add arg `backward'. Doc fix.
1697 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1698 move point to the beginning of the match.
1699 (replace-search, replace-highlight): Use new arg `backward'
1700 to set the value of `isearch-forward'.
1701 (perform-replace): Add arg `backward' and use it to perform
1702 replacement backward. (Bug#14979)
1703
1704 * isearch.el (isearch-query-replace): Use a negative prefix arg
1705 to call `perform-replace' with a non-nil arg `backward'.
1706
0cda6b7b
JL
17072013-12-18 Juri Linkov <juri@jurta.org>
1708
1709 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1710 to the default list. Move `log-edit-show-files' to the end.
1711 Add more available functions to options.
1712 (log-edit): Move default specific settings to
1713 `log-edit-insert-message-template'. Don't move point.
1714 (log-edit-insert-message-template): New function.
1715 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1716 (Bug#16170)
1717
b216f0a6
JL
17182013-12-18 Juri Linkov <juri@jurta.org>
1719
1720 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1721 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1722
1d1c55dc
LL
17232013-12-18 Leo Liu <sdl.web@gmail.com>
1724
e9dc713d
JB
1725 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1726 (Bug#16186)
1d1c55dc 1727
64e4c76e
EZ
17282013-12-18 Eli Zaretskii <eliz@gnu.org>
1729
1730 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1731 formats for displaying file sizes when the -s switch is given.
1732 Instead, compute a separate format for displaying the size in
1733 blocks, which is displayed in addition to the "regular" size.
1734 When -h is given in addition to -s, produce size in blocks in
1735 human-readable form as well. (Bug#16179)
1736
b2984e39
TH
17372013-12-18 Tassilo Horn <tsdh@gnu.org>
1738
2230a6e3
SM
1739 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1740 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 1741
50ff2e06
CY
17422013-12-18 Chong Yidong <cyd@gnu.org>
1743
0081bc84
CY
1744 * cus-edit.el (custom-magic-alist): Fix "themed" description
1745 (Bug#14348).
1746
a7ee9424
CY
1747 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1748 is non-nil, do not create a new entry in the symbol's theme-value
1749 or theme-face property; update theme-settings only (Bug#14664).
18874304 1750 (custom-available-themes): Doc fix.
a7ee9424 1751
8f942537
CY
1752 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1753 (Bug#15674).
1754
50ff2e06
CY
1755 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1756
83c60f60
KI
17572013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1758
1759 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1760 (Bug#13914).
1761
e0eb0550 17622013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
1763
1764 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1765
1f41ee56
GM
17662013-12-18 Glenn Morris <rgm@gnu.org>
1767
1768 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 1769 * cus-start.el (load-prefer-newer): New option.
1f41ee56 1770
e82134b1
LW
17712013-12-18 Le Wang <l26wang@gmail.com>
1772
2230a6e3
SM
1773 * comint.el (comint-previous-matching-input-from-input):
1774 Retain point (Bug#13404).
e82134b1 1775
33f5d4c1
CY
17762013-12-18 Chong Yidong <cyd@gnu.org>
1777
1778 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1779
ccc9f6dc
GM
17802013-12-18 Glenn Morris <rgm@gnu.org>
1781
1782 * mail/emacsbug.el (report-emacs-bug):
1783 Only mention enable-multibyte-characters if non-standard.
1784
33dd8e95
JL
17852013-12-17 Juri Linkov <juri@jurta.org>
1786
1787 * arc-mode.el (archive-extract-by-file): Check if directory exists
1788 before deletion to not show irrelevant errors if it doesn't exist.
1789
7a409b30
JL
17902013-12-17 Juri Linkov <juri@jurta.org>
1791
1792 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1793 (Bug#14751)
1794
1795 * net/eww.el (browse-web): Add alias to `eww'.
1796 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1797 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1798
1799 * net/browse-url.el (browse-url-browser-function): Move `eww'
1800 closer to similar functions.
1801
1802 * startup.el (fancy-startup-screen, fancy-about-screen):
1803 Set browse-url-browser-function to eww-browse-url locally.
1804 (Bug#14751)
1805
2d6b6005
SM
18062013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1807
1808 * window.el (window--pixel-to-total): Remove unused `mini' var.
1809 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1810 (split-window): Remove unused `new' var.
1811 (window--display-buffer): Remove unused `frame' and `delta' vars.
1812 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1813 and display-width'.
1814
cf2b7efc
MR
18152013-12-17 Martin Rudalics <rudalics@gmx.at>
1816
1817 * dired.el (dired-mark-pop-up):
1818 * register.el (register-preview): Don't bind
1819 split-height-threshold here since it's now done in
1820 display-buffer-below-selected.
1821
ed3af8a7 18222013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1823
1824 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1825 xterm-rgb-convert-to-16bit.
1826 (rxvt-register-default-colors): Standardize with
1827 xterm-register-default-colors (Bug#14078).
1828
76da3455
DK
18292013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1830
1831 * simple.el (kill-region): Pass mark first, then point, so that
1832 kill-append works right (Bug#12819).
1833 (copy-region-as-kill, kill-ring-save): Likewise.
1834
2b84d763
LL
18352013-12-17 Leo Liu <sdl.web@gmail.com>
1836
1837 * net/rcirc.el (rcirc-add-face):
1838 * eshell/em-prompt.el (eshell-emit-prompt):
1839 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1840 (Bug#16167)
1841
e2f6a0bc
CY
18422013-12-17 Chong Yidong <cyd@gnu.org>
1843
1844 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1845 Suggested by Xue Fuqiao.
1846
35b249a6
DG
18472013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1848
1849 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1850
e9145444
SM
18512013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1852
1853 * net/shr.el (shr-insert-document): Remove unused var
1854 `shr-preliminary-table-render'.
1855 (shr-rescale-image): Remove unused arg `force'.
1856 (shr-put-image): Update calls accordingly.
1857 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1858
5556c0ce
DG
18592013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1860
1861 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1862 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1863 :close-all, to see which indentation method to use (Bug#16116).
1864 (smie-rules-function): Document the method :close-all.
1865
11bade0a
LMI
18662013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1867
1c4b1e61
LMI
1868 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1869
11bade0a
LMI
1870 * net/eww.el (eww-display-html): If we can't find the anchor we're
1871 looking for, then go to point-min.
1872
8fb8c4f3
PE
18732013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1874
1875 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1876 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1877 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1878 Expand dir too, in case it's relative.
1879
6c8e0ae6
JL
18802013-12-16 Juri Linkov <juri@jurta.org>
1881
1882 * desktop.el (desktop-auto-save-timeout): Change default to
1883 `auto-save-timeout'. Doc fix.
1884 (desktop-save): Skip the timestamp in desktop-saved-frameset
1885 when checking for auto-save changes.
1886 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1887 `desktop-auto-save' is called repeatedly by the idle timer.
1888 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1889 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1890 (Bug#15331)
1891
2178e858
JL
18922013-12-16 Juri Linkov <juri@jurta.org>
1893
1894 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1895 (Bug#16035)
1896 (isearch-pre-command-hook): Check `this-command' for symbolp.
1897
39cb42c6
SM
18982013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1899
1900 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1901
5b9b750a
TZ
19022013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1903
1904 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1905 (cfengine3--current-function): Bring in the current-function
1906 functionality from `cfengine3--current-word'.
1907 (cfengine3-completion-function): Bring in the
1908 bounds-of-current-word functionality from
1909 `cfengine3--current-word'.
1910
d144ef06
MR
19112013-12-16 Martin Rudalics <rudalics@gmx.at>
1912
39cb42c6
SM
1913 * window.el (display-buffer-below-selected):
1914 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 1915
a8bbe298
LL
19162013-12-16 Leo Liu <sdl.web@gmail.com>
1917
1918 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1919 Remove NOMSG arg and all uses changed.
1920
2013a2f9
SM
19212013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1922
1923 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1924 (cua--deactivate-rectangle): Don't deactivate the mark.
1925 (cua-set-rectangle-mark): Don't set mark-active since
1926 cua--activate-rectangle already does it for us.
1927 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1928 non-rectangular region.
1929
1930 * emulation/cua-base.el (cua-repeat-replace-region):
1931 Use with-current-buffer.
1932
1933 * net/gnutls.el: Use cl-lib.
1934 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1935
5ae811dd
TZ
19362013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1937
1938 * emacs-lisp/package.el (package-built-in-p): Support both
1939 built-in and the package.el converted package descriptions.
1940 (package-show-package-list): Allow keywords.
1941 (package-keyword-button-action): Use it instead of
1942 `finder-list-matches'.
1943 (package-menu-filter-interactive): Interactive filtering (by
1944 keyword) function.
1945 (package-menu--generate): Support keywords and change keymappings
1946 and headers when they are given.
1947 (package--has-keyword-p): Helper function.
1948 (package-menu--refresh): Use it.
1949 (package--mapc): Helper function.
1950 (package-all-keywords): Use it.
1951 (package-menu-mode-map): Set up menu items and keybindings to
1952 provide a filtering UI.
1953
31b4827e
TZ
19542013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1955
1956 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1957 the behavior when a certificate fails validation. Defaults to
1958 old behavior: never abort, just warn.
1959 (gnutls-negotiate): Use it.
1960
f93cc74f
MR
19612013-12-14 Martin Rudalics <rudalics@gmx.at>
1962
1963 * window.el (display-buffer-below-selected): Never split window
1964 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1965
f77d7d17
TW
19662013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1967
1968 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1969 (package-buffer-info): Use it (bug#15108).
aa2bddd7 1970
7514d3f8
SM
19712013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1972
aa2bddd7 1973 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 1974 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 1975
276bc333
DG
19762013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1977
1978 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1979 open-paren tokens when preceded by a open-paren, too.
1980 (ruby-smie-rules): Handle virtual indentation after open-paren
1981 tokens specially. If there is code between it and eol, return the
1982 column where is starts (Bug#16118).
1983
d43957f3
TZ
19842013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1985
a5c1ac0c 1986 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 1987 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
1988 (cfengine3--current-word): Fix parameters.
1989 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
1990 (cfengine3-completion-function, cfengine3--current-function):
1991 Use `assq' for symbols.
d43957f3
TZ
1992 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1993
06a4f110
GM
19942013-12-13 Glenn Morris <rgm@gnu.org>
1995
1996 * loadup.el (load-path): Warn if site-load or site-init changes it.
1997 No more need to reset it when bootstrapping.
1998
978a5fda
TZ
19992013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2000
2001 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2002 locations for cf-promises.
2003 (cfengine-mode-syntax-functions-regex): New caching variable.
2004 (cfengine3-fallback-syntax): Fallback syntax for cases where
2005 cf-promises doesn't run.
2006 (cfengine3--current-word): Reimplement using
2007 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
2008 (cfengine3-completion-function, cfengine3--current-function):
2009 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
2010 (cfengine3-clear-syntax-cache): New function.
2011 (cfengine3-make-syntax-cache): Simplify and create
2012 `cfengine-mode-syntax-functions-regex' on demand.
2013 (cfengine3-format-function-docstring): Don't call
2014 `cfengine3-make-syntax-cache' explicitly.
2015
71e6691e
MR
20162013-12-13 Martin Rudalics <rudalics@gmx.at>
2017
2018 Fix windmove-find-other-window broken after pixelwise resizing
2019 (Bug#16017).
2020 * windmove.el (windmove-other-window-loc): Revert change from
2021 2013-12-04.
2022 (windmove-find-other-window): Call window-in-direction.
2023 * window.el (window-in-direction): New arguments SIGN, WRAP and
2024 MINI to emulate original windmove-find-other-window behavior.
2025
84c73ba0
DG
20262013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2027
2028 * simple.el (blink-matching--overlay): New variable.
2029 (blink-matching-open): Instead of moving point, highlight the
2030 matching paren with an overlay
2031 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2032
2033 * faces.el (paren-showing-faces, show-paren-match)
2034 (show-paren-mismatch): Move from paren.el.
2035
b9e20952
LL
20362013-12-13 Leo Liu <sdl.web@gmail.com>
2037
2038 * indent.el (indent-region): Disable progress reporter in
2039 minibuffer. (Bug#16108)
2040
2041 * bindings.el (visual-order-cursor-movement): Fix version.
2042
ce030451
FEG
20432013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2044
2045 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2046 Also match after beginning of line.
2047 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 2048 files. Thanks to Russell Sim. (Bug#15378)
ce030451 2049
4a9c6865
JL
20502013-12-13 Juri Linkov <juri@jurta.org>
2051
2052 * simple.el <Keypad support>: Remove key bindings duplicated
2053 with bindings.el. (Bug#14397)
2054
2bc170c3
JL
20552013-12-13 Juri Linkov <juri@jurta.org>
2056
2057 * comint.el (comint-mode-map): Replace `delete-char' with
2058 `delete-forward-char'. (Bug#16109)
2059
bc9222c9
FEG
20602013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2061
aa2bddd7 2062 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 2063 Fix de-denters cornercase. (Bug#15731)
bc9222c9 2064
cb3a1380
SM
20652013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2066
2067 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2068 (advice--make): Pay attention to `depth'.
2069 (advice--make-1): Don't autoload commands eagerly.
2070 * emacs-lisp/elp.el (elp-instrument-function):
2071 * emacs-lisp/trace.el (trace-function-internal):
2072 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2073
2074 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2075
01633a17
EZ
20762013-12-12 Eli Zaretskii <eliz@gnu.org>
2077
2078 * term/w32-win.el (w32-handle-dropped-file):
2079 * startup.el (normal-top-level):
2080 * net/browse-url.el (browse-url-file-url):
2081 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2082 decode file names using 'utf-8' rather than
2083 file-name-coding-system.
2084
09faee72
FEG
20852013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2086
2087 * progmodes/python.el (python-indent-context)
2088 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 2089 behavior for comment blocks. (Bug#15916)
09faee72 2090
f4f84024 20912013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 2092
cb3a1380
SM
2093 * progmodes/python.el (python-indent-calculate-indentation):
2094 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
2095 operators when they are just string constituents. (Bug#15812)
2096
d5ccb7be
JL
20972013-12-12 Juri Linkov <juri@jurta.org>
2098
2099 * uniquify.el (uniquify-buffer-name-style): Change default to
2100 `post-forward-angle-brackets'.
2101
2102 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2103 `uniquify'. Change default to `post-forward-angle-brackets'.
2104
7b3f5679
GM
21052013-12-11 Glenn Morris <rgm@gnu.org>
2106
2107 * emacs-lisp/package.el (finder-list-matches):
2108 Autoload rather than falsely declaring.
2109
f4fe8fdd
TZ
21102013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2111
2112 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2113 (eww-mode-map): Use them.
2114
3c29190f
MR
21152013-12-11 Martin Rudalics <rudalics@gmx.at>
2116
2117 * window.el (display-buffer-in-side-window): Fix doc-string
2118 (Bug#16115).
2119
0cd616a2
JB
21202013-12-11 Juanma Barranquero <lekktu@gmail.com>
2121
2122 * vc/vc-git.el: Silence byte-compiler warnings.
2123 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2124 (log-edit-set-header): Declare.
2125
3ef8e0d1
EZ
21262013-12-11 Eli Zaretskii <eliz@gnu.org>
2127
2128 * Makefile.in (custom-deps, finder-data): Run output file names
2129 through unmsys--file-name. (Bug#16099)
2130
afdadaf7
SM
21312013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2132
7ae3ae39 2133 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 2134 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 2135
5b4f37ab
SM
2136 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2137 instead of deleting the selection "by hand" (bug#16098).
2138 Rely on insert-for-yank to yank rectangles.
2139 (cua-highlight-region-shift-only): Mark obsolete.
2140 (cua-mode): Don't enable/disable transient-mark-mode,
2141 shift-select-mode (cua-mode works both with and without them), and
2142 pc-selection-mode (obsolete).
2143 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2144 (cua--deactivate-rectangle): Deactivate it.
2145
4b72c12b
SM
2146 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2147 (delete-selection-helper): Make sure yank starts at the top of the
2148 deleted region.
2149 (minibuffer-keyboard-quit): Use region-active-p.
2150
e82af72d
SM
2151 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2152
afdadaf7
SM
2153 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2154 to `delete' (bug#16109).
2155
ed4bc201
RS
21562013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2157
2158 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2159 info manual and show keybindings and set `:group' keyword.
2160
bb8097b9
JL
21612013-12-11 Juri Linkov <juri@jurta.org>
2162
2163 * delsel.el (delete-active-region): Let-bind `this-command'
2164 to prevent `kill-region' from changing its original value.
2165 (delete-selection-helper): Handle `overwrite-mode' for the type
2166 `kill' exactly the same way as for the type `t'.
2167 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2168 Support more commands. (Bug#13312)
2169
c1916ff5
JL
21702013-12-11 Juri Linkov <juri@jurta.org>
2171
2172 * bindings.el: Map kp keys to non-kp keys systematically
2173 with basic modifiers control, meta and shift. (Bug#14397)
2174
7514d3f8 21752013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
2176
2177 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2178 "Close browser" menu items. Fix wrong function of "List
2179 bookmarks".
2180
4cc51eaf
JL
21812013-12-11 Juri Linkov <juri@jurta.org>
2182
2183 * misearch.el (multi-isearch-buffers): Set the value of
2184 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2185 arg of isearch-forward to t.
2186 (multi-isearch-buffers-regexp): Set the value of
2187 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2188 arg of isearch-forward-regexp to t.
2189 (multi-isearch-files): Set the value of
2190 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2191 arg of isearch-forward to t.
2192 (multi-isearch-files-regexp): Set the value of
2193 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2194 arg of isearch-forward-regexp to t. (Bug#16035)
2195
2196 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2197 arg of isearch-forward to t.
2198 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2199 arg of isearch-forward-regexp to t.
2200 (dired-isearch-filter-filenames): Remove unnecessary check for
2201 `dired-isearch-filenames'.
2202
2203 * comint.el (comint-history-isearch-backward):
2204 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2205 (comint-history-isearch-backward-regexp):
2206 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2207
ceac12b7
EZ
22082013-12-10 Eli Zaretskii <eliz@gnu.org>
2209
2210 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2211 unmsys--file-name. (Bug#16099)
2212
5a565782
TZ
22132013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2214
cb3a1380
SM
2215 * emacs-lisp/package.el (package-keyword-button-action):
2216 Remove finder.el require dependency.
5a565782 2217
a81fc7ba
TZ
22182013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2219
2220 * emacs-lisp/package.el: Require finder.el.
2221 (describe-package-1): Add keyword buttons.
2222 (package-make-button): New convenience function.
2223 (package-keyword-button-action): Keyword button action using
e0eb0550 2224 `finder-list-matches'.
a81fc7ba 2225
6aaca951
EZ
22262013-12-09 Eli Zaretskii <eliz@gnu.org>
2227
2228 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2229 last commit.
2230
a1099a91
MA
22312013-12-09 Michael Albinus <michael.albinus@gmx.de>
2232
2233 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2234 symlinked files.
2235
8212d9c0
DG
22362013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2237
2238 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2239 after the end of a percent literal.
2240
8f48d131
CD
22412013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2242
cb3a1380
SM
2243 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2244 Handle caret-delimited strings (Bug#16079).
8f48d131 2245
ff8c9764
DG
22462013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2247
cb3a1380
SM
2248 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2249 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
2250 `ruby-parse-partial' (Bug#16078).
2251
d64643b4
LL
22522013-12-09 Leo Liu <sdl.web@gmail.com>
2253
2254 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2255
47e59c66
DG
22562013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2257
2258 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2259 (js-switch-indent-offset): New option.
2260 (js--proper-indentation): Use it. And handle the case when
2261 "default" is actually a key in an object literal.
2262 (js--same-line): New function.
2263 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
2264 (js--indent-in-array-comp, js--array-comp-indentation):
2265 New functions.
47e59c66
DG
2266 (js--proper-indentation): Use them, to handle array comprehension
2267 continuations.
2268
974ebc9c
LL
22692013-12-08 Leo Liu <sdl.web@gmail.com>
2270
2271 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2272 (flymake-make-overlay): Remove arg MOUSE-FACE.
2273 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2274
27262e39
SM
22752013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2276
2277 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2278 New function.
2279 (redisplay-highlight-region-function): Use it.
2280
2281 * emulation/cua-base.el (cua--explicit-region-start)
2282 (cua--last-region-shifted): Remove.
2283 (cua--deactivate): Use deactivate-mark.
2284 (cua--pre-command-handler-1): Don't handle shift-selection.
2285 (cua--post-command-handler-1): Don't change transient-mark-mode.
2286 (cua--select-keymaps): Use region-active-p rather than
2287 cua--explicit-region-start or cua--last-region-shifted.
2288 (cua-mode): Enable shift-select-mode.
2289
6407822c
LL
22902013-12-08 Leo Liu <sdl.web@gmail.com>
2291
27262e39
SM
2292 * progmodes/flymake.el (flymake-popup-current-error-menu):
2293 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
2294 (flymake-posn-at-point-as-event, flymake-popup-menu)
2295 (flymake-make-emacs-menu): Remove. (Bug#16077)
2296
00a2b823
SM
22972013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2298
02033d49
SM
2299 * rect.el (rectangle-mark-mode): Activate mark even if
2300 transient-mark-mode is off (bug#16066).
2301 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2302 is > mark and at bolp.
2303
6f8dfccf
SM
2304 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2305 (region-extract-function): Use it.
2306 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2307 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2308 Delete functions.
2309 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2310 kill-ring-save, kill-region, delete-char, delete-forward-char.
2311 Ignore self-insert-iso.
2312
2313 * emulation/cua-gmrk.el (cua--init-global-mark):
2314 Ignore `self-insert-iso'.
2315
2316 * emulation/cua-base.el (cua--prefix-copy-handler)
2317 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2318 checking cua--rectangle.
2319 (cua-delete-region): Use region-extract-function.
2320 (cua-replace-region): Delete function.
2321 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2322 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2323 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2324 (cua--init-keymaps): Don't remap delete-selection commands.
2325 (cua-mode): Use delete-selection-mode instead of rolling our own
2326 (bug#16085).
2327
2328 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2329 Obey region-extract-function.
2330
00a2b823
SM
2331 Make registers and delete-selection-mode work on rectangles.
2332 * register.el (describe-register-1): Don't modify the register's value.
2333 (copy-to-register): Obey region-extract-function.
2334 * delsel.el (delete-active-region): Obey region-extract-function.
2335
a92fa5f1
LL
23362013-12-08 Leo Liu <sdl.web@gmail.com>
2337
2338 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2339 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2340 (flymake-compilation-prevents-syntax-check)
2341 (flymake-start-syntax-check-on-newline)
2342 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2343 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2344 (flymake-xml-program, flymake-master-file-dirs)
2345 (flymake-master-file-count-limit)
2346 (flymake-allowed-file-name-masks): Relocate.
2347 (flymake-makehash, flymake-float-time)
2348 (flymake-replace-regexp-in-string, flymake-split-string)
2349 (flymake-get-temp-dir): Remove.
2350 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2351 (flymake-current-row, flymake-selected-frame)
2352 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2353 related functions. (Bug#16077)
2354
73c8ceea
BB
23552013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2356
2357 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2358
faec28d9
TH
23592013-12-07 Tassilo Horn <tsdh@gnu.org>
2360
2361 * help-fns.el (describe-function-1): Use new advice-* functions
2362 rather than old ad-* functions. Fix function type description and
2363 source links for advised functions and subrs.
2364
e330b646
LMI
23652013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2366
00a2b823 2367 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 2368
4803595d
MA
23692013-12-06 Michael Albinus <michael.albinus@gmx.de>
2370
2371 * progmodes/compile.el (compilation-start):
2372 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2373
2374 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2375 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2376
fa834a93
DG
23772013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2378
00a2b823
SM
2379 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2380 Touch up the last change.
fa834a93 2381
b2856a6f
LL
23822013-12-06 Leo Liu <sdl.web@gmail.com>
2383
2384 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2385 (inferior-octave-startup): Always use "octave> " for prompt.
2386 (octave-goto-function-definition)
2387 (octave-sync-function-file-names)
2388 (octave-find-definition-default-filename): Remove redundant backquotes.
2389
af67e79a
DG
23902013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2391
2392 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2393 syntax for `?'.
2394 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2395 where appropriate already.
2396 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2397 end of method names (Bug#15874).
2398
bf093209
JL
23992013-12-06 Juri Linkov <juri@jurta.org>
2400
2401 * isearch.el (isearch--saved-overriding-local-map):
2402 New internal variable.
2403 (isearch-mode): Set it to the initial value of
2404 `overriding-terminal-local-map'.
2405 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2406 with `isearch--saved-overriding-local-map'. (Bug#16035)
2407
16588fad
DG
24082013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2409
00a2b823
SM
2410 * progmodes/octave.el (inferior-octave-completion-table):
2411 Turn back into function, use `completion-table-with-cache'
16588fad
DG
2412 (Bug#11906). Update all references.
2413
2414 * minibuffer.el (completion-table-with-cache): New function.
2415
bf4906d7
CD
24162013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2417
2418 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2419
ff69c18f
TZ
24202013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2421
2422 * net/eww.el (eww-current-source): New variable to store page
2423 source.
2424 (eww-display-html, eww-mode, eww-save-history)
2425 (eww-restore-history): Use it.
2426 (eww-view-source): New command to view page source.
2427 Opportunistically uses `html-mode' to highlight the buffer.
2428 (eww-mode-map): Install it.
2429
b85eff45
MA
24302013-12-05 Michael Albinus <michael.albinus@gmx.de>
2431
2432 * net/dbus.el (dbus-unregister-service)
2433 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2434 Fix docstring.
2435 (dbus-unregister-service): Skip :serial entries in
2436 `dbus-registered-objects-table'.
2437 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2438
39eb0899
TZ
24392013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2440
2441 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2442 around keywords with extra `split-string' argument.
2443
456760a5
MR
24442013-12-04 Martin Rudalics <rudalics@gmx.at>
2445
2446 * windmove.el (windmove-other-window-loc): Handle navigation
2447 between windows (excluding the minibuffer window - Bug#16017).
2448
81961e4c
MA
24492013-12-04 Michael Albinus <michael.albinus@gmx.de>
2450
2451 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2452 in D-Bus type syntax.
2453 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2454 preserve unibyte strings. (Bug#16048)
2455
8497f938
SM
24562013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2457
2458 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2459 Call force-mode-line-update is the proper buffer (bug#16042).
2460
dda61916
DG
24612013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2462
2463 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2464 `log-edit-remember-comment', make argument optional. Adjust all
2465 callers.
2466 (log-edit-mode): Add `log-edit-remember-comment' to
2467 `kill-buffer-hook' locally.
2468 (log-edit-kill-buffer): Don't remember comment explicitly since
2469 the buffer is killed anyway.
2470
c085e5b9
JL
24712013-12-04 Juri Linkov <juri@jurta.org>
2472
2473 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2474 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2475
e0eb0550 24762013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
2477
2478 * notifications.el (notifications-close-notification): Call the
81961e4c 2479 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 2480
39fa32d6
KY
24812013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2482
2483 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2484
9139632a
JL
24852013-12-03 Juri Linkov <juri@jurta.org>
2486
2487 * progmodes/compile.el (compilation-start): Rename window alist
2488 entry `no-display-ok' to `allow-no-window'.
2489
2490 * simple.el (shell-command): Add window alist entry
2491 `allow-no-window' to `display-buffer'.
2492 (async-shell-command): Doc fix.
2493
2494 * window.el (display-buffer-no-window): New action function.
2495 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2496
0f457a37
DG
24972013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2498
2499 * vc/log-edit.el (log-edit-set-header): Extract from
2500 `log-edit-toggle-header'.
2501 (log-edit-extract-headers): Separate the summary, when extracted
2502 from header, from the rest of the message with an empty line.
2503
2504 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2505 line, if present, to the Summary header.
2506
0962f376
SM
25072013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2508
2509 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2510 in current-buffer (bug#16029).
2511
f345395c
HE
25122013-12-02 Helmut Eller <eller.helmut@gmail.com>
2513
2514 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2515 (debugger-mode-map): Bind it.
2516 (debugger--backtrace-base): New function.
2517 (debugger-eval-expression): Use it.
2518 (debugger-frame-number): Skip local vars when present.
2519 (debugger--locals-visible-p, debugger--insert-locals)
2520 (debugger--show-locals, debugger--hide-locals): New functions.
2521
a8a15d9d
MA
25222013-12-02 Michael Albinus <michael.albinus@gmx.de>
2523
2524 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2525 "LC_ALL".
2526 (tramp-get-remote-locale): New defun.
2527 (tramp-open-connection-setup-interactive-shell): Use it.
2528
0518b057
LL
25292013-12-02 Leo Liu <sdl.web@gmail.com>
2530
2531 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2532
2533 * progmodes/sh-script.el (sh-shell-process):
2534 * progmodes/octave.el (inferior-octave-process-live-p):
2535 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2536 (gdb-inferior-io-sentinel):
2537 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2538
3adc9c6d
DG
25392013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2540
2541 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2542 `save-selected-window' to `log-edit-hide-buf'. This makes
2543 `log-edit-show-files' idempotent.
2544 (log-edit-show-files): Mark the new window as dedicated.
2545
47e8b74e
DG
25462013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2547
2548 * vc/log-edit.el (log-edit-mode-map): Add binding for
2549 `log-edit-kill-biffer'.
2550 (log-edit-hide-buf): Add a FIXME comment.
2551 (log-edit-add-new-comment): New function, extracted from
2552 `log-edit-done'.
2553 (log-edit-done, log-edit-add-to-changelog): Use it.
2554 (log-edit-kill-buffer): New command.
2555
1f6e1bb0
LMI
25562013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2557
2558 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2559 instead of killing the buffer.
2560
fb651d15
SM
25612013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2562
2563 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2564
8feacce0
RS
25652013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2566
fb651d15 2567 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 2568 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
2569 (eww-form-checkbox, eww-toggle-checkbox):
2570 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2571
e0eb0550 2572 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 2573 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 2574 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
2575 no :src tag was specified.
2576
fb651d15 2577 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
2578 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2579 Use \\` to match beginning of string instead of ^.
2580 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 2581 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 2582
177948a5
RS
2583 * net/shr.el (shr-tag-video): Display content for video if no
2584 poster is available.
eb2dd24d 2585 (shr-tag-audio): Add support for <audio> tag.
177948a5 2586
e0eb0550 2587 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
2588 (eww-process-text-input): Treat input types in
2589 `eww-text-input-types' as text.
2590
8feacce0
RS
2591 * net/shr.el (shr-tag-table): Fix comment typo.
2592
513562a1
LMI
25932013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2594
2595 * net/eww.el (eww-follow-link): New command to avoid reloading
2596 pages when we follow #target links (bug#15243).
de8a5633 2597 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 2598
9dd99753
KN
25992013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2600
2601 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2602 forms.
2603
3e9876de
LMI
26042013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2605
2606 * net/eww.el (eww-restore-history): Update the window title after
2607 moving in the history.
ab6dea82 2608 (eww-current-dom): New variable used to save the current DOM.
3e9876de 2609
52789f7f
DG
26102013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2611
2612 * vc/log-edit.el (log-edit-mode-map): Add binding for
2613 `log-edit-beginning-of-line'.
2614 (log-edit-setup-add-author): New user option.
2615 (log-edit-beginning-of-line): New command.
2616 (log-edit): Move major mode call above the contents setup so that
2617 the local variable values are already applied.
2618 (log-edit): Only insert "Author: " when
2619 `log-edit-setup-add-author' is non-nil.
2620 (log-edit): When SETUP is non-nil, position point after ": "
2621 instead of point-min.
2622
2e6710c3
GM
26232013-12-01 Glenn Morris <rgm@gnu.org>
2624
2625 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2626
fadec31f
EZ
26272013-11-30 Eli Zaretskii <eliz@gnu.org>
2628
2629 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 2630 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
2631 visible. (Bug#16014)
2632
10634b40 26332013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
2634
2635 Support resizing frames and windows pixelwise.
2636 * cus-start.el (frame-resize-pixelwise)
2637 (window-resize-pixelwise): New entries.
2638 * emacs-lisp/debug.el (debug): Use window-total-height instead
2639 of window-total-size.
2640 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2641 * help.el (describe-bindings-internal): Call help-buffer
2642 (temp-buffer-max-width): New option.
2643 (resize-temp-buffer-window, help-window-setup)
2644 (with-help-window): Rewrite.
2645 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2646 dragging dividers.
2647 * window.el (frame-char-size, window-min-pixel-height)
2648 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2649 (window-min-pixel-width, window-safe-min-pixel-size)
2650 (window-combination-p, window-safe-min-size)
2651 (window-resizable-p, window--size-to-pixel)
2652 (window--pixel-to-size, window--resize-apply-p): New functions.
2653 (window-safe-min-height): Fix doc-string.
2654 (window-size, window-min-size, window--min-size-1)
2655 (window-sizable, window-sizable-p, window--min-delta-1)
2656 (window-min-delta, window--max-delta-1, window-max-delta)
2657 (window--resizable, window--resizable-p, window-resizable)
2658 (window-full-height-p, window-full-width-p, window-at-side-p)
2659 (window--in-direction-2, window-in-direction)
2660 (window--resize-reset-1, window--resize-mini-window)
2661 (window-resize, window-resize-no-error)
2662 (window--resize-child-windows-normal)
2663 (window--resize-child-windows, window--resize-siblings)
2664 (window--resize-this-window, window--resize-root-window)
2665 (window--resize-root-window-vertically)
2666 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2667 (maximize-window, minimize-window, delete-window)
2668 (quit-restore-window, window-split-min-size, split-window)
2669 (balance-windows-2, balance-windows)
2670 (balance-windows-area-adjust, balance-windows-area)
2671 (window--state-get-1, window-state-get, window--state-put-1)
2672 (window--state-put-2, window-state-put)
fb651d15
SM
2673 (display-buffer-record-window, window--display-buffer):
2674 Make functions handle pixelwise sizing of windows.
880e6158 2675 (display-buffer--action-function-custom-type)
fb651d15
SM
2676 (display-buffer-fallback-action):
2677 Add display-buffer-in-previous-window.
880e6158
MR
2678 (display-buffer-use-some-window): Resize window to height it had
2679 before.
2680 (fit-window-to-buffer-horizontally): New option.
2681 (fit-frame-to-buffer): Describe new values.
2682 (fit-frame-to-buffer-bottom-margin): Replace with
2683 fit-frame-to-buffer-margins.
2684 (window--sanitize-margin): New function.
2685 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2686 using window-text-pixel-size.
2687
f9b697dd
GM
26882013-11-30 Glenn Morris <rgm@gnu.org>
2689
3e2fb4db
GM
2690 * emacs-lisp/bytecomp.el (byte-compile-form):
2691 Make the `interactive-only' warning like the `obsolete' one.
2692 * comint.el (comint-run):
2693 * files.el (insert-file-literally, insert-file):
2694 * replace.el (replace-string, replace-regexp):
2695 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2696 (goto-line, insert-buffer, next-line, previous-line):
2697 Tweak `interactive-only' spec.
2698
f9b697dd
GM
2699 Stop keeping (most) generated cedet grammar files in the repository.
2700 * Makefile.in (semantic): New.
2701 (compile-main): Depend on semantic.
2702
da048127
SM
27032013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2704
7784b779
SM
2705 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2706 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2707
4e36a6a6
SM
2708 * uniquify.el (uniquify-buffer-name-style): Change default.
2709
2710 * loadup.el: Preload "uniquify".
2711
e0ba1308
SM
2712 * time.el (display-time-update): Update all mode lines (bug#15999).
2713
da048127
SM
2714 * electric.el (electric-indent-mode): Enable by default.
2715 * loadup.el: Preload "electric".
2716
015b3b3e
BB
27172013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2718
2719 * emacs-lisp/helpers.el (string-empty-p): New function.
2720 (string-blank-p): New function.
2721
7efb806d
AP
27222013-11-29 Andreas Politz <politza@hochschule-trier.de>
2723
2724 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2725 (Bug#14029).
2726
c8f0efc2
AP
27272013-11-29 Andreas Politz <politza@fh-trier.de>
2728 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2729 allow non-lambda lists as functions.
2730 (imenu--in-alist): Don't recurse into non-subalists.
2731 (imenu): Don't pass function itself as an argument (Bug#14029).
2732
bd15d9d1
SM
27332013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2734
2735 * progmodes/python.el (python-mode-map): Remove binding for ":".
2736 (python-indent-electric-colon): Remove command.
2737 (python-indent-post-self-insert-function): Integrate the previous code
2738 of python-indent-electric-colon. Make it conditional on
2739 electric-indent-mode.
2740 (python-mode): Add ?: to electric-indent-chars.
2741 Move python-indent-post-self-insert-function to the end of
2742 post-self-insert-hook.
2743
1b10adb6
SM
27442013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2745
655ab9a3
SM
2746 * doc-view.el (doc-view-goto-page): Update mode-line.
2747
1b10adb6
SM
2748 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2749
7e3bf78c
GM
27502013-11-27 Glenn Morris <rgm@gnu.org>
2751
2752 * international/charprop.el, international/uni-bidi.el:
2753 * international/uni-category.el, international/uni-combining.el:
2754 * international/uni-comment.el, international/uni-decimal.el:
2755 * international/uni-decomposition.el, international/uni-digit.el:
2756 * international/uni-lowercase.el, international/uni-mirrored.el:
2757 * international/uni-name.el, international/uni-numeric.el:
2758 * international/uni-old-name.el, international/uni-titlecase.el:
2759 * international/uni-uppercase.el:
2760 Remove generated files from VCS repository.
2761
fb6a5d68
EZ
27622013-11-27 Eli Zaretskii <eliz@gnu.org>
2763
2764 * filenotify.el (file-notify-add-watch): Don't special-case
2765 w32notify when computing the directory to watch.
2766
cb6c95a3
GM
27672013-11-27 Glenn Morris <rgm@gnu.org>
2768
20372d0c
GM
2769 Make bootstrap without generated uni-*.el files possible again.
2770 * loadup.el: Update command-line-args checking for unidata-gen.
2771 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2772 * composite.el, international/characters.el:
2773 Handle unicode tables being undefined.
2774
52d6635f 2775 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
2776 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2777 (compile-main): Depend on leim rule.
2778 (leim): New rule.
2779 * loadup.el: Move leim-list.el to leim/ subdirectory.
2780 * startup.el (normal-top-level): No more leim directory.
2781 * international/ja-dic-cnv.el (skkdic-convert):
2782 Disable version-control and autoloads in output files.
2783 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2784 Disable version-control and autoloads in output files.
2785 * leim/quail: Move here from ../leim.
2786 * leim/quail/hangul.el (hangul-input-method-activate):
2787 Add autoload cookie.
2788 (generated-autoload-load-name): Set file-local value.
2789 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2790 (generated-autoload-load-name): Set file-local value.
2791
7514d3f8 27922013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 2793
e0eb0550 2794 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 2795 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 2796 (eww-quit): Ask confirmation before quitting eww.
e47112ee 2797
0e2c793f
EZ
27982013-11-26 Eli Zaretskii <eliz@gnu.org>
2799
2800 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2801 reading output from Diff on MS-Windows and MS-DOS.
2802
447bdcb8
BB
28032013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2804
2805 * emacs-lisp/helpers.el (string-reverse): New function.
2806
5fbf6856
MA
28072013-11-26 Michael Albinus <michael.albinus@gmx.de>
2808
2809 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2810 names on MS Windows, like "/[::1]:".
2811
2812 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2813 SWITCHES.
2814
624780f0
GM
28152013-11-26 Glenn Morris <rgm@gnu.org>
2816
0bf3f0fa
GM
2817 * progmodes/python.el (python-indent-guess-indent-offset):
2818 Avoid corner-case error. (Bug#15975)
2819
624780f0
GM
2820 Preload leim-list.el. (Bug#4789)
2821 * loadup.el: Load leim-list.el when found.
2822 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2823
4301875e 28242013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
2825
2826 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2827
4301875e
BB
2828 * emacs-lisp/helpers.el (string-join): New function.
2829
1633a815 28302013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
2831
2832 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2833 Mark as obsolete and replace it with a symbol property.
2834 (byte-compile-form): Use new 'interactive-only property.
2835 * comint.el, files.el, replace.el, simple.el:
2836 Apply new 'interactive-only properly.
2837
00139435
MR
28382013-11-25 Martin Rudalics <rudalics@gmx.at>
2839
2840 * window.el (display-buffer-at-bottom): Make sure that
2841 split-window-sensibly creates the new window on bottom
2842 (Bug#15961).
2843
5f5b128d
DK
28442013-11-23 David Kastrup <dak@gnu.org>
2845
2846 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2847 on the conflict markers when available.
2848 (smerge--get-marker): New function.
2849 (smerge-end-re, smerge-base-re): Add subgroup.
2850
623891e5
SM
28512013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2852
2853 * frame.el (handle-focus-in, handle-focus-out): Add missing
2854 interactive spec.
2855
05ca27d8
MA
28562013-11-25 Michael Albinus <michael.albinus@gmx.de>
2857
2858 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2859 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2860
511fa0d3
SM
28612013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2862
e82ad66c
SM
2863 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2864 (gomoku--last-pos): New var.
2865 (gomoku--intangible-chars): New const.
2866 (gomoku--intangible): New function.
2867 (gomoku-mode): Use it. Derive from special-mode.
2868 (gomoku-move-up): Adjust line count.
2869 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2870 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2871 Simplify accordingly.
2872
511fa0d3
SM
2873 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2874 Remove blink-cursor code.
2875 (blink-cursor-timer-function, blink-cursor-suspend):
2876 Don't special-case GUIs.
2877 (blink-cursor-mode): Use focus-in/out-hook.
2878
6f20dd03
DG
28792013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2880
2881 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2882 work when annotation is invisible (Bug#13886).
2883
431dec31 28842013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
2885
2886 * json.el (json-alist-p): Only return non-nil if the alist has
2887 simple keys (Bug#13518).
2888
431dec31 28892013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
2890
2891 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2892 when control-statement is the first statement in a buffer (Bug#15956).
2893
ee4f0261
DG
28942013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2895
2896 * imenu.el (imenu-generic-skip-comments-and-strings):
2897 New option (Bug#15560).
2898 (imenu--generic-function): Use it.
2899
c484f866
JS
29002013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2901
e9dc713d
JB
2902 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2903 (Bug#13898)
c484f866 2904
41ce6f70
BB
29052013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2906
b55aea38
BB
2907 * emacs-lisp/helpers.el: Add some string helpers.
2908 (string-trim-left): Removes leading whitespace.
2909 (string-trim-right): Removes trailing whitespace.
2910 (string-trim): Removes leading and trailing whitespace.
2911
41ce6f70
BB
2912 * subr.el (string-suffix-p): New function.
2913
3cfb6af3
GM
29142013-11-23 Glenn Morris <rgm@gnu.org>
2915
2916 * progmodes/python.el (python-shell-send-file):
2917 Add option to delete file when done. (Bug#15647)
2918 (python-shell-send-string, python-shell-send-region): Use it.
2919
c27924b7
IS
29202013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2921
e1b01c7f
IS
2922 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2923 to set buffer-read-only to t, never to nil. (Bug#15938)
2924
c27924b7
IS
2925 * textmodes/tex-mode.el (latex-noindent-environments):
2926 Add safe-local-variable property. (Bug#15936)
2927
17e0445b
GM
29282013-11-23 Glenn Morris <rgm@gnu.org>
2929
92f78ea3
GM
2930 * textmodes/enriched.el (enriched-mode): Doc fix.
2931 * emacs-lisp/authors.el (authors-renamed-files-alist):
2932 Add enriched.doc -> enriched.txt.
2933
17e0445b
GM
2934 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2935
965bb23a
LL
29362013-11-22 Leo Liu <sdl.web@gmail.com>
2937
2938 * progmodes/octave.el (inferior-octave-startup): Spit out error
2939 message.
2940
d19ffd64
BB
29412013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2942
2943 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2944 Improve docstring.
15ba2182
BB
2945 Add :version.
2946 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 2947
7a7567d2
LL
29482013-11-22 Leo Liu <sdl.web@gmail.com>
2949
2950 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2951 (Bug#15076)
8c09f64b
LL
2952 (octave-help-mode): Adapt to change to help-mode-finish to use
2953 derived-mode-p on 2013-09-17.
2954 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 2955 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 2956
724bc265
LL
29572013-11-22 Leo Liu <sdl.web@gmail.com>
2958
2959 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2960 (inferior-octave-startup, inferior-octave-check-process)
2961 (inferior-octave-track-window-width-change)
2962 (octave-completion-at-point, octave-eldoc-function): Use it.
2963 (octave-kill-process): Provide confirmation. (Bug#10564)
2964
38637cca
LL
29652013-11-21 Leo Liu <sdl.web@gmail.com>
2966
511fa0d3
SM
2967 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2968 Fix obsolete variable comment-use-global-state.
38637cca 2969
06e752b4
RS
29702013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2971
511fa0d3
SM
2972 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2973 Add `octave-source-file'.
06e752b4
RS
2974 (octave-source-file): New function. (Bug#15935)
2975
7514d3f8 29762013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
2977
2978 * net/eww.el (eww-local-regex): New variable.
2979 (eww): Use it to detect localhost and similar.
2980
b6ffa04a
LL
29812013-11-21 Leo Liu <sdl.web@gmail.com>
2982
2983 Add completion for command `ag'.
2021a200
LL
2984 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2985 (pcomplete/ag): New function.
e9dc713d 2986 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 2987
d1a6bccc
SM
29882013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2989
2990 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2991 (bug#14646).
2992 (make-obsolete): Remove interactive spec.
2993
2df10228
GM
29942013-11-21 Glenn Morris <rgm@gnu.org>
2995
2996 * startup.el (command-line-1): Use path-separator with -L.
2997
86fd16b6
TZ
29982013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2999
3000 * emacs-lisp/package.el (describe-package-1): Add package archive
3001 to shown fields.
3002
0449d6cd 30032013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
3004
3005 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3006 Change default to "# encoding: %s" to differentiate it from the
3007 default Ruby encoding comment template.
3008
dc7e8c17 30092013-11-20 era eriksson <era+emacsbugs@iki.fi>
3010
3011 * ses.el (ses-mode): Doc fix. (Bug#14748)
3012
f0cfa5fe
LL
30132013-11-20 Leo Liu <sdl.web@gmail.com>
3014
3015 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3016
826dc7b6
DN
30172013-11-19 Dan Nicolaescu <dann@gnu.org>
3018
3019 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3020 when rebase or bisect are in progress.
3021
a6e3a5d5
XF
30222013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3023
3024 * filenotify.el (file-notify-add-watch): Doc fix.
3025
f130cb76
LL
30262013-11-19 Leo Liu <sdl.web@gmail.com>
3027
e0855d7d
LL
3028 * obsolete/rcompile.el: Mark obsolete.
3029
f130cb76 3030 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
3031 (compilation-goto-locus, compilation-find-file):
3032 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
3033 (Bug#13594)
3034
3035 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
3036 new parameter no-display-ok. Return either a window or nil
3037 but never a non-window value.
f130cb76 3038
1f35d401
SM
30392013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3040
25158c76
SM
3041 * electric.el (electric-indent-mode-map): Remove.
3042 (electric-indent-mode): Change the global-map instead (bug#15915).
3043
3044 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3045 Use add-function.
1f35d401 3046
9bc67baa
SM
30472013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3048
986545b5
SM
3049 * emacs-lisp/nadvice.el (remove-function): Align with
3050 add-function's behavior.
3051
9bc67baa
SM
3052 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3053 (gdb--string-regexp): New constant.
3054 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3055 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3056 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3057 submatch 1.
3058 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3059 Adjust use accordingly.
3060 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3061
56cd894e
AS
30622013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3063
3064 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3065 interpolation curlies (Bug#15914).
3066
014690de
JB
30672013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3068
3069 * calc/calc.el (calc-context-sensitive-enter): New variable.
3070 (calc-enter): Use `calc-context-sensitive-enter'.
3071
7e26a6c3
TZ
30722013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3073
3074 * progmodes/cfengine.el: Version bump.
3075 (cfengine-cf-promises): New defcustom to locate cf-promises.
3076 (cfengine3-vartypes): Add new "data" type.
3077 (cfengine3--current-word): New function to get current name-like
3078 word or its bounds.
3079 (cfengine3--current-function): New function to look up a CFEngine
3080 function's definition.
3081 (cfengine3-format-function-docstring): New function.
3082 (cfengine3-make-syntax-cache): New function.
3083 (cfengine3-documentation-function): New function: ElDoc glue.
3084 (cfengine3-completion-function): New function: completion glue.
3085 (cfengine3-mode): Set `compile-command',
3086 `eldoc-documentation-function', and add to
3087 `completion-at-point-functions'.
3088
355204dd
MA
30892013-11-16 Michael Albinus <michael.albinus@gmx.de>
3090
3091 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3092 `tramp-current-connection'.
3093
43cebc23
DG
30942013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3095
3096 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3097 nil/self/true/false with "end of symbol".
3098
a3fed6ff
BB
30992013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3100
3101 * subr.el (version-regexp-alist): Fix a typo.
3102
e675b3e4
MA
31032013-11-15 Michael Albinus <michael.albinus@gmx.de>
3104
3105 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3106 "en_US.utf8" and "LC_CTYPE" to "".
3107 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3108 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3109
a1f03e89
LL
31102013-11-15 Leo Liu <sdl.web@gmail.com>
3111
3112 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3113
5d9d9451
SM
31142013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3115
58362662
CS
3116 * progmodes/gud.el (ctl-x-map):
3117 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
3118 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3119
6c1bf086
BB
31202013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3121
0d5363c4
BB
3122 * subr.el (version-regexp-alist):
3123 Recognize hg, svn and darcs versions as snapshot versions.
3124
4e9fc48c
BB
3125 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3126 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3127 (ruby--encoding-comment-required-p): Extract from
3128 `ruby-mode-set-encoding'.
3129 (ruby-mode-set-encoding): Add the ability to always insert an
3130 utf-8 encoding comment. Fix and simplify coding comment update
3131 logic.
6c1bf086 3132
2f7e72f8
MA
31332013-11-14 Michael Albinus <michael.albinus@gmx.de>
3134
3135 * net/tramp-gvfs.el (top): Run init code only when
3136 `tramp-gvfs-enabled' is not nil.
3137 (tramp-gvfs-enabled): Check also :system bus.
3138
0f137a73
SM
31392013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3140
3141 Sync with upstream verilog-mode revision 78e66ba.
3142 * progmodes/verilog-mode.el (verilog-end-of-defun)
3143 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3144 (verilog-get-end-of-defun): Remove unused argument.
3145 (verilog-comment-depth): Remove unused local `e'.
3146 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3147 Don't pass arg to verilog-get-end-of-defun.
3148
1c276bdd
GM
31492013-11-14 Glenn Morris <rgm@gnu.org>
3150
3151 * obsolete/assoc.el (aget): Prefix dynamic variable.
3152
3153 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3154
ff6ec81d
SM
31552013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3156
3157 * widget.el, hfy-cmap.el: Remove bogus package version number.
3158
75f777b6
GM
31592013-11-13 Glenn Morris <rgm@gnu.org>
3160
1d43dba1
GM
3161 * replace.el (replace-eval-replacement):
3162 Try to give more helpful error message. (Bug#15836)
3163
ff4b7bd5
GM
3164 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3165 (archive-7z-update): Avoid custom type mismatches.
3166
75f777b6
GM
3167 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3168
11151a06
MA
31692013-11-13 Michael Albinus <michael.albinus@gmx.de>
3170
e675b3e4 3171 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
3172 address can be empty.
3173
3174 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3175 Accept nil SWITCHES.
3176 (tramp-gvfs-handle-write-region): Implement APPEND.
3177
7b08f97e
DG
31782013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3179
3180 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
3181 binary "|" operator and closing block args delimiter.
3182 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
3183 (ruby-smie--implicit-semi-p): Not after "|" operator.
3184 (ruby-smie--closing-pipe-p): New function.
3185 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3186 (ruby-smie-rules): Indent after "|".
3187
f201cf3a
GM
31882013-11-12 Glenn Morris <rgm@gnu.org>
3189
3190 * ps-print.el (ps-face-attribute-list):
3191 Handle anonymous faces. (Bug#15827)
3192
e6f759f9
MR
31932013-11-12 Martin Rudalics <rudalics@gmx.at>
3194
3195 * window.el (display-buffer-other-frame): Fix doc-string.
3196 (Bug#15868)
3197
ecda65d4
SM
31982013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3199
3200 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3201
7ce8fcc3
MA
32022013-11-11 Michael Albinus <michael.albinus@gmx.de>
3203
3204 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3205 (tramp-sh-handle-file-local-copy): Don't write a message when
3206 saving temporary files.
3207
3208 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3209 both directories are remote.
3210 (tramp-smb-handle-directory-files): Do not return double entries.
3211 Do not expand full file names.
3212 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3213 (tramp-smb-handle-write-region): Implement APPEND.
3214 (tramp-smb-get-stat-capability): Fix a stupid bug.
3215
7818df11
SM
32162013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3217
3218 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3219
608c2085
NT
32202013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3221
3222 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3223 throwing error over malformed let/let* (bug#15814).
3224
122a7e46
SM
32252013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3226
3227 * iswitchb.el (iswitchb-mode): Mark obsolete.
3228
766284d9
GM
32292013-11-11 Glenn Morris <rgm@gnu.org>
3230
3231 * international/uni-bidi.el, international/uni-category.el:
3232 * international/uni-name.el, international/uni-numeric.el:
3233 Regenerate for Unicode 6.3.0.
3234
7072a4e9
MA
32352013-11-10 Michael Albinus <michael.albinus@gmx.de>
3236
3237 * net/tramp.el (tramp-methods):
3238 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3239 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3240
c9df215b
AS
32412013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3242
608c2085
NT
3243 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3244 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 3245
fa47d796
DG
32462013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3247
3248 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 3249 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
3250 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3251 (ispell-complete-word): Call `ispell-lookup-words' with the value
3252 independent of `ispell-look-p'.
3253
1629a329
DG
32542013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3255
3256 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3257 Not after "||".
3258 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3259 their parent.
3260
ad16897c
SM
32612013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3262
3263 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3264 (ruby-font-lock-keywords): Use backquote.
3265
ffa2df72
DG
32662013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3267
3268 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3269 (ruby-smie--backward-token): Only consider full-string matches.
3270
5b97b4c0
JD
32712013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3272
3273 * faces.el (describe-face): Add distant-foreground.
3274
71731c03
BB
32752013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3276
4e9fc48c
BB
3277 * progmodes/ruby-mode.el: Improve encoding comment handling.
3278 (ruby-encoding-magic-comment-style): New option.
3279 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
3280 (ruby--insert-coding-comment, ruby--detect-encoding):
3281 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
3282 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3283 to control the style of the auto-inserted encoding comment.
71731c03 3284
da3b328d
DG
32852013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3286
ad16897c
SM
3287 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3288 Use `smie-backward-sexp' with token argument.
da3b328d 3289
1606c2d3
MA
32902013-11-08 Michael Albinus <michael.albinus@gmx.de>
3291
3292 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3293 Remove instrumentation code.
3294
b0f4c320
GM
32952013-11-08 Glenn Morris <rgm@gnu.org>
3296
3297 * progmodes/autoconf.el (autoconf-mode):
3298 Tweak comment-start-skip. (Bug#15822)
3299
43668fb1
SM
33002013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3301
3302 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3303 at bobp (bug#15826).
3304 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3305
daddb3fd
DH
33062013-11-08 Darren Hoo <darren.hoo@gmail.com>
3307
3308 * man.el (Man-start-calling): New macro, extracted from
3309 Man-getpage-in-background.
3310 (Man-getpage-in-background): Use it.
3311 (Man-update-manpage): New command.
3312 (Man-mode-map): Bind it.
3313
1f923923
DG
33142013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3315
3316 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3317 of "and", "or", "&&" and "||".
3318 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3319 argument. Prohibit opening curly brace because it could only be a
3320 block opener in that position.
daddb3fd
DH
3321 (ruby-smie--forward-token, ruby-smie--backward-token):
3322 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
3323 arguments.
3324 (ruby-smie--indent-to-stmt): New function, seeks the end of
3325 previous statement or beginning of buffer.
3326 (ruby-smie-rules): Use it.
3327 (ruby-smie-rules): Check if there's a ":" before a curly block
3328 opener candidate; if there is, it's a hash.
3329
3220d527
SM
33302013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3331
3332 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3333 (cl--block-wrapper): Fix last accidental change.
3334
1eb1f9e0
MA
33352013-11-07 Michael Albinus <michael.albinus@gmx.de>
3336
3337 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3338 Instrument, in order to hunt failure on hydra.
3339
e6e4db3c
NT
33402013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3341
3342 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3343 malformed bindings form (bug#15814).
3344
b420ccfc
DG
33452013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3346
3347 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
3348 "." compared to " @ ". This incidentally fixes some indentation
3349 examples with "do".
e6e4db3c 3350 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
3351 (ruby-smie-grammar): New tokens: "and" and "or".
3352 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3353 Exclude "and" and "or". Remove "do" in order to work around token
3354 priorities.
3355 (ruby-smie-rules): Add all infix tokens. Handle the case of
3356 beginning-of-buffer.
b420ccfc 3357
6b4ac03e
GM
33582013-11-06 Glenn Morris <rgm@gnu.org>
3359
3360 * Makefile.in (setwins_almost, setwins_for_subdirs):
3361 Avoid accidental matches.
3362
5ca114d1
SM
33632013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3364
3365 * menu-bar.el (popup-menu): Use key-binding.
3366
f72552bd
EZ
33672013-11-06 Eli Zaretskii <eliz@gnu.org>
3368
3369 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3370 menus, support also the menus produced by minor modes.
3371 (Bug#15817)
3372
5d5c701e
LL
33732013-11-06 Leo Liu <sdl.web@gmail.com>
3374
3375 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 3376 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 3377
0a8b75e2
GM
33782013-11-06 Glenn Morris <rgm@gnu.org>
3379
3380 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
3381 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3382 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 3383
a35287ea
SM
33842013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3385
feca4e2d
SM
3386 * electric.el (electric-indent-just-newline): New command.
3387 (electric-indent-mode-map): New keymap.
3388 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3389 Re-add :group which weren't redundant.
3390
a35287ea
SM
3391 * electric.el (electric-indent-local-mode): New minor mode.
3392 (electric-indent-functions-without-reindent): New var.
3393 (electric-indent-post-self-insert-function): Use it.
3394 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3395
375761b2
EZ
33962013-11-05 Eli Zaretskii <eliz@gnu.org>
3397
9a6ad735
EZ
3398 * international/quail.el (quail-help): Be more explicit about the
3399 meaning of the labels shown on the keys. (Bug#15800)
3400
375761b2
EZ
3401 * startup.el (normal-top-level): Load the subdirs.el files before
3402 setting the locale environment. (Bug#15805)
3403
520a6e4a
SM
34042013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3405
0acfafef
SM
3406 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3407 via arguments so as to get the right ones (bug#15418).
3408
520a6e4a
SM
3409 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3410
15826261
MA
34112013-11-05 Michael Albinus <michael.albinus@gmx.de>
3412
3413 Fix problems found while writing a test suite.
3414
3415 * net/tramp-compat.el (tramp-compat-load): New defun.
3416 * net/tramp.el (tramp-handle-load): Use it.
3417
3418 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3419 "(numberp ok-if-already-exists)" correctly.
3420
d35f31a4
XF
34212013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3422
3423 * international/characters.el (glyphless-char-display-control):
3424 Add usage note.
3425
ae93bc74
BB
34262013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3427
520a6e4a
SM
3428 * progmodes/python.el (python-mode):
3429 * progmodes/scheme.el (scheme-mode):
3430 * progmodes/prolog.el (prolog-mode):
3431 * progmodes/ruby-mode.el (ruby-mode):
3432 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3433 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 3434
0ade65b5
SM
34352013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3436
a0d5f7a4
SM
3437 * rect.el (rectangle--highlight-for-redisplay):
3438 * emacs-lisp/smie.el (smie--next-indent-change):
3439 Use buffer-chars-modified-tick.
3440
c93f3f5c
SM
3441 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3442
0ade65b5
SM
3443 * electric.el (electric-indent-post-self-insert-function):
3444 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3445
ef9dd188
HE
34462013-11-04 Helmut Eller <eller.helmut@gmail.com>
3447
3448 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3449
306e7308
NT
34502013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3451
3452 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3453 (bug#15786).
3454
e5afbcac
SM
34552013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3456
1d01ad41
SM
3457 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3458
e5afbcac
SM
3459 * progmodes/python.el: Fix up last change.
3460 (python-shell--save-temp-file): New function.
3461 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3462 `string' comes from the current buffer.
3463 (python-shell-send-string-no-output): Remove `msg' arg.
3464 (python--use-fake-loc): New var.
3465 (python-shell-buffer-substring): Obey it. Try to compensate for the
3466 extra coding line added by python-shell--save-temp-file.
3467 (python-shell-send-region): Use python-shell--save-temp-file and
3468 python-shell-send-file directly. Add `nomain' argument.
3469 (python-shell-send-buffer): Use python-shell-send-region.
3470 (python-electric-pair-string-delimiter): New function.
3471 (python-mode): Use it.
3472
d0065ff1
EZ
34732013-11-04 Eli Zaretskii <eliz@gnu.org>
3474
3475 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3476 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3477 environment and decoding all of the default-directory's to here
3478 from command-line.
3479 (command-line): Decode also argv[0].
3480
3481 * loadup.el: Error out if default-directory is a multibyte string
3482 when we are dumping.
3483
3484 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3485
7397c587
TZ
34862013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3487
3488 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
3489 (package-menu--print-info, package-menu--archive-predicate):
3490 Add Archive column to package list.
7397c587 3491
b27cc9fc
MA
34922013-11-04 Michael Albinus <michael.albinus@gmx.de>
3493
3494 Fix problems found while writing a test suite.
3495
3496 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3497 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3498 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3499 to nil when running original file name handler. Otherwise,
3500 there are problems with constructs like "$$FOO".
3501
3502 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3503 for `localname'.
3504
d8c4f18a
BB
35052013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3506
7b530552
BB
3507 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3508
3509 * subr.el (version<, version<=, version=):
3510 Update docstrings with information for snapshot versions.
3511
d8c4f18a
BB
3512 * helpers.el: New library for misc helper functions.
3513 (hash-table-keys): New function returning a list of hash keys.
3514 (hash-table-values): New function returning a list of hash values.
3515
dca01b09
DG
35162013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3517
3518 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3519 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3520
0a749fa0
MN
35212013-11-04 Michal Nazarewicz <mina86@mina86.com>
3522
3523 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3524 checking whether point is after a 1-letter word.
3525
35262013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
3527
3528 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3529 Don't infloop when expanding region over `multiline' syntax-type that
3530 begins a line (bug#15778).
3531
4aca7145
SM
35322013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3533
3534 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3535 Make it into a proper minor mode.
3536 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3537 (rectangle-mark-mode-map): New keymap.
3538 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3539
a0833f62
GM
35402013-11-04 Glenn Morris <rgm@gnu.org>
3541
3542 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3543
e61845c1
SM
35442013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3545
3546 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3547 (ruby-smie-rules): Use smie-rule-parent instead.
3548
3549 * emacs-lisp/smie.el (smie-rule-parent): Always call
3550 smie-indent-virtual rather than only for hanging tokens.
3551 (smie--next-indent-change): New helper command.
3552
62942f89
GM
35532013-11-03 Glenn Morris <rgm@gnu.org>
3554
3555 * Makefile.in (abs_srcdir): Remove.
3556 (emacs): Unset EMACSLOADPATH.
3557
b0b9e592
GM
35582013-11-02 Glenn Morris <rgm@gnu.org>
3559
18ba6a33 3560 * Makefile.in (EMACS): Use a relative filename.
8061810d 3561 (abs_top_builddir): Remove.
18ba6a33
GM
3562 (custom-deps, finder-data, autoloads): Use --chdir.
3563
6a8b929e
GM
3564 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3565
c617f3d0
GM
3566 Use relative filenames in TAGS files.
3567 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3568 (lisptagsfiles4, TAGS): Use relative file names.
3569 (TAGS-LISP): Remove.
3570 (maintainer-clean): No more TAGS-LISP file.
3571
b0b9e592
GM
3572 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3573 (lisptagsfiles4): Use absolute filenames again.
3574 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3575 Remove all *loaddefs files, not just the first. Remove esh-groups.
3576 (maintainer-clean): Delete TAGS, TAGS-LISP.
3577
d1c0ea6a
BB
35782013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3579
e61845c1
SM
3580 * emacs-lisp/package.el (package-version-join):
3581 Recognize snapshot versions.
d1c0ea6a 3582
684d71c6
BB
35832013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3584
3585 * subr.el (version-regexp-alist): Add support for snapshot versions.
3586
3d42b968
DG
35872013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3588
e61845c1
SM
3589 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3590 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
3591 skip over our direct parent if it's an assignment token..
3592 (ruby-smie-rules): Use it.
3593
7ffd3721
DG
35942013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3595
8449dd1f 3596 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
3597 unconditionally. Remove now unnecessary forward declarations.
3598 Remove XEmacs-specific setup.
3599 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3600 (ruby-font-lock-syntactic-keywords)
3601 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3602 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3603 (ruby-here-doc-end-syntax): Remove.
3604 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3605 defined as function.
3606
a3996a2e
BB
36072013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3608
3609 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3610
6f9260e8
BB
36112013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3612
3613 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3614 table and abbrev table, `define-derived-mode' does that for us
3615 anyway.
3616
6014de84
GM
36172013-11-01 Glenn Morris <rgm@gnu.org>
3618
3619 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3620 files is atomic for some time, so no parallel compilation issues).
3621
3c334c14
JD
36222013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3623
3624 * faces.el (face-x-resources): Add :distant-foreground.
3625 (region): Use :distant-foreground for gtk and ns.
3626
9bc236c8
TH
36272013-11-01 Tassilo Horn <tsdh@gnu.org>
3628
5246583b 3629 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
3630 BibTeX.
3631 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3632 (reftex-locate-bibliography-files): Us it.
3633
d14c81ee
CB
36342013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3635
0e7690de
CB
3636 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3637 allow comments in pbm files.
3638
d14c81ee
CB
3639 * term/w32-win.el (dynamic-library-alist): Support newer versions
3640 of libjpeg starting with v7: look only for the DLL from the
3641 version against which Emacs was built.
ac1bf374 3642 Support versions of libpng beyond 1.4.x.
019c8218 3643 Support libtiff v4.x.
d14c81ee 3644
983d0df5
BB
36452013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3646
3647 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3648 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3649 Add property :safe.
3650 (ruby-deep-arglist): Add property :type.
3651
47f58d85
GM
36522013-10-31 Glenn Morris <rgm@gnu.org>
3653
3654 * Makefile.in (custom-deps, finder-data): No need to setq the target
3655 variables, we are in the right directory and the defaults work fine.
3656
4f85b479
GM
36572013-10-30 Glenn Morris <rgm@gnu.org>
3658
ca7dd4cd
GM
3659 * Makefile.in (autoloads): Do not use abs_lisp.
3660
4f85b479
GM
3661 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3662 `newline' does not respect `standard-output', so use `princ'.
3663
cf59e41c
AA
36642013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3665
3666 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3667 * buff-menu.el (Buffer-menu--unmark): New function.
3668 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3669
74cf04fb
GM
36702013-10-30 Glenn Morris <rgm@gnu.org>
3671
b040b60e
GM
3672 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3673
f53d3815
GM
3674 * emacs-lisp/package.el (lm-homepage): Declare.
3675
5413d873
GM
3676 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3677 Fix doc typos.
3678
cecedb36
GM
3679 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3680
74cf04fb
GM
3681 * Makefile.in (finder-data, autoloads, update-subdirs)
3682 (compile-main, compile-clean, compile-always, bootstrap-clean):
3683 Check return value of cd.
3684 (compile-calc): Remove.
3685
195ee2f0
SM
36862013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3687
ae4002ce
SM
3688 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3689
3690 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3691 (byte-compile-and-folded): New function.
3692 (=, <, >, <=, >=): Use it.
3693
3694 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3695 (path-separator, null-device, buffer-file-coding-system)
3696 (lpr-headers-switches): Check system-type before modifying them.
3697 (find-buffer-file-type-coding-system): Mark obsolete.
3698 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3699 find-file-not-found-set-buffer-file-coding-system.
3700 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3701 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3702 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3703 (w32-direct-print-region-helper, w32-direct-print-region-function)
3704 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3705 * startup.el (normal-top-level-add-subdirs-to-load-path):
3706 * ps-print.el (ps-print-region-function):
3707 * lpr.el (print-region-function): Use new name.
3708
53b39e89
SM
3709 * subr.el (custom-declare-variable-early): Remove function.
3710 (custom-declare-variable-list): Remove var.
3711 (error, user-error): Remove `while' loop.
3712 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3713 (user-emacs-directory-warning, locate-user-emacs-file):
3714 Move to files.el.
3715 * simple.el (read-quoted-char-radix, read-quoted-char):
3716 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3717 Move from subr.el.
3718 * custom.el (custom-declare-variable-list): Don't process
3719 custom-declare-variable-list.
3720
195ee2f0
SM
3721 * progmodes/python.el (python-shell-get-buffer): New function.
3722 (python-shell-get-process): Use it.
3723 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3724 Python which encoding was used. Don't split-string since we only care
3725 about the first line. Return the temp-file, if applicable.
3726 (python-shell-send-region): Tell compile.el how to turn locations in
3727 the temp-file into locations in the source buffer.
3728
7e3561ee
SM
37292013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3730
4c9797cb
SM
3731 * subr.el (undefined): Add missing behavior from the C code for
3732 unbound keys.
3733
3472b6c6
SM
3734 * rect.el: Use lexical-binding. Add new rectangular region support.
3735 (rectangle-mark): New command.
3736 (rectangle--region): New var.
3737 (deactivate-mark-hook): Reset rectangle--region.
3738 (rectangle--extract-region, rectangle--insert-for-yank)
3739 (rectangle--highlight-for-redisplay)
3740 (rectangle--unhighlight-for-redisplay): New functions.
3741 (region-extract-function, redisplay-unhighlight-region-function)
3742 (redisplay-highlight-region-function): Use them to handle
3743 rectangular region.
3744 * simple.el (region-extract-function): New var.
3745 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3746 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3747 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3748 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3749 (redisplay-unhighlight-region-function)
3750 (redisplay-highlight-region-function): New vars.
3751 (redisplay--update-region-highlight): New function.
3752 (pre-redisplay-function): Use it.
3753 (exchange-point-and-mark): Don't deactivate the mark before
3754 reactivate-it anyway.
3755 * comint.el (comint-kill-region): Remove yank-handler argument.
3756 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3757 (delete-char): Remove property, since it's now part of their
3758 default behavior.
3759 (self-insert-iso): Remove property since this command doesn't exist.
3760
7e3561ee
SM
3761 * emacs-lisp/package.el (package--download-one-archive)
3762 (describe-package-1): Don't query the user about final newline.
3763
b9bef71f
DC
37642013-10-29 Daniel Colascione <dancol@dancol.org>
3765
3766 * net/tramp.el (tramp-methods): Document new functionality.
3767 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3768 tramp-hostname-checker if method provides one instead of scanning
3769 argument list for "%h" to decide hostname acceptability.
3770
4efc33f0
MA
37712013-10-28 Michael Albinus <michael.albinus@gmx.de>
3772
3773 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3774 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3775 Handle COPY-CONTENTS. (Bug#15737)
3776
ed42a877
DU
37772013-10-28 Daiki Ueno <ueno@gnu.org>
3778
3779 * epa-file.el
7e3561ee
SM
3780 (epa-file-cache-passphrase-for-symmetric-encryption):
3781 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 3782
18c9f8a2
XF
37832013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3784
7a4bc7be
XF
3785 * image.el (defimage):
3786 (image-load-path): Doc fixes.
18c9f8a2 3787
b1e8e010
AM
37882013-10-27 Alan Mackenzie <acm@muc.de>
3789
3790 Indent statements in macros following "##" correctly.
7e3561ee
SM
3791 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3792 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 3793
73d40d1e 37942013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
3795
3796 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3797
c8c605ac
DG
37982013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3799
3800 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3801 after `=' is probably a new expression.
3802
ca7e59d4
RS
38032013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3804
3805 * man.el (man-imenu-title): New option.
3806 (Man-mode-map): Add menu. (Bug#15722)
3807 (Man-mode): Add imenu to menu.
3808
bae91342
DG
38092013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3810
3811 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3812 specific in what the first arg can be: a non-keyword word,
3813 string/regexp/percent literal opener, opening paren, or unary
3814 operator followed directly by word.
3815
eb89dc14
SM
38162013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3817
3818 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3819 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3820 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3821 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3822 Remove vars, they do not apply any more.
3823 (prolog-mode-abbrev-table): Remove redundant declaration.
3824 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3825 (prolog-use-smie): Remove.
3826 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3827 supported by prolog-electric-if-then-else-flag.
3828 (prolog-mode-variables, prolog-menu): Use setq-local.
3829 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3830 Remove binding to `Backspace' since this key doesn't exist anyway.
3831 Remove bindings for electric self-inserting keys.
3832 (prog-mode): Assume it's defined.
3833 (prolog-post-self-insert): New function.
3834 (prolog-mode): Use it.
3835 (prolog-indent-line, prolog-indent-level)
3836 (prolog-find-indent-of-matching-paren)
3837 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3838 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3839 (prolog-goto-next-paren, prolog-in-string-or-comment)
3840 (prolog-tokenize, prolog-inside-mline-comment)
3841 (prolog-find-start-of-mline-comment): Remove functions.
3842 (prolog-find-unmatched-paren, prolog-clause-end)
3843 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3844 (prolog-electric--if-then-else): Rename from
3845 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3846 (prolog-tokenize-searchkey): Remove const.
3847 (prolog-clause-info): Use forward-sexp.
3848 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3849 (prolog-electric-if-then-else): Remove commands.
3850 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3851 for use in post-self-insert-hook.
3852 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3853 for use in post-self-insert-hook.
3854 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3855 for use in post-self-insert-hook.
3856 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3857 adapt it for use in post-self-insert-hook.
3858
3dab0a83
MA
38592013-10-25 Michael Albinus <michael.albinus@gmx.de>
3860
3861 * emacs-lisp/ert.el (ert-run-tests-interactively):
3862 Use `completing-read'. (Bug#9756)
3863
fbfd0e1d
EZ
38642013-10-25 Eli Zaretskii <eliz@gnu.org>
3865
3866 * simple.el (line-move): Call line-move-1 instead of
3867 line-move-visual when the current window hscroll is zero, but
3868 temporary-goal-column indicates we will need to hscroll as result
3869 of the movement. (Bug#15712)
3870
963ce636
DG
38712013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3872
3873 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
3874 capitalization. Use :visible instead of :active.
3875 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
3876 commands that are used with SMIE.
3877 (ruby-do-end-to-brace): Insert space after `{'.
3878
a0be396a
JA
38792013-10-25 John Anthony <john@jo.hnanthony.com>
3880
f73754c9
JA
3881 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3882
3883 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 3884
f5bf77df
GM
38852013-10-25 Glenn Morris <rgm@gnu.org>
3886
3887 * vc/vc.el (vc-print-log): Don't use a working revision unless
3888 one was explicitly specified. (Bug#15322)
3889
37241f62
SM
38902013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3891
3892 * subr.el (add-to-list): Preserve return value in compiler-macro
3893 (bug#15692).
3894
6408a65d
RS
38952013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3896
3897 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3898 result. Ask user to retry using '-all' flag. (Bug#15701)
3899
71e3276b
SM
39002013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3901
3902 * emacs-lisp/smie.el: New smie-config system.
3903 (smie-config): New defcustom.
3904 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3905 (smie-config-guess, smie-config-save): New commands.
3906 (smie-config--mode-local, smie-config--buffer-local)
3907 (smie-config--trace, smie-config--modefuns): New vars.
3908 (smie-config--advice, smie-config--mode-hook)
3909 (smie-config--setter, smie-config-local, smie-config--get-trace)
3910 (smie-config--guess-value, smie-config--guess): New functions.
3911 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3912 text properties. Treat "string fence" syntax like string syntax.
3913
3914 * progmodes/sh-script.el (sh-use-smie): Change default.
3915 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3916 (sh-var-value): Simplify by CSE.
3917 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3918 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3919 is used.
3920 (sh-guess-basic-offset): Use cl-incf.
3921 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3922
60db713e
HE
39232013-10-24 Helmut Eller <eller.helmut@gmail.com>
3924
3925 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3926 (bug#15699).
3927
8b251df6
GM
39282013-10-24 Glenn Morris <rgm@gnu.org>
3929
3930 * Makefile.in (abs_top_srcdir): Remove.
3931 (update-subdirs): Use relative path to update-subdirs.
3932
6be0e22b
EZ
39332013-10-24 Eli Zaretskii <eliz@gnu.org>
3934
3935 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3936 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
3937 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3938 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 3939
50b5b857
MA
39402013-10-24 Michael Albinus <michael.albinus@gmx.de>
3941
3942 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3943 (ert-test-skipped): New error.
3944 (ert-skip, ert-stats-skipped): New defuns.
3945 (ert--skip-unless): New macro.
3946 (ert-test-skipped): New struct.
3947 (ert--run-test-debugger, ert-test-result-type-p)
3948 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3949 (ert--stats-set-test-and-result, ert-char-for-test-result)
3950 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 3951 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 3952 Handle skipped tests. (Bug#9803)
50b5b857 3953
6f317c2f
GM
39542013-10-24 Glenn Morris <rgm@gnu.org>
3955
e43817c1
GM
3956 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3957
6f317c2f
GM
3958 * Makefile.in (abs_top_srcdir): New, set by configure.
3959 (update-subdirs): Correct build-aux location.
3960
369bbf71
DG
39612013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3962
8297b2cf
DG
3963 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3964 value, whether we could auto-deduce `backend', or not.
3965
369bbf71
DG
3966 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3967 with parameters" example. Simplify the "is it block or is it
3968 hash" check, but also make it more thorough.
3969
d5f1282f
MF
39702013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3971
3972 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3973
bc4aaa31
SM
39742013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3975
03d44565
SM
3976 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3977 { if it is hanging.
3978
bc4aaa31
SM
3979 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3980 :before ";".
3981
f493ff19
JB
39822013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3983
3984 * progmodes/compile.el (compilation-directory-matcher)
3985 (compilation-page-delimiter):
3986 Support GNU Make-4.0 directory quoting. (Bug#15678)
3987
c744a3b9
LL
39882013-10-23 Leo Liu <sdl.web@gmail.com>
3989
3990 * ido.el (ido-tidy): Handle read-only text.
3991
b8e3b0a9
GM
39922013-10-23 Glenn Morris <rgm@gnu.org>
3993
3994 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3995 (emacs, compile, compile-always):
3996 Quote entities that might contain whitespace.
3997 (custom-deps, finder-data, autoloads): Use abs_lisp.
3998 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3999 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4000 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4001
ee4282cd
DG
40022013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4003
bc4aaa31
SM
4004 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4005 Use `following-char'.
7790a270 4006
ee4282cd 40072013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
4008
4009 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4010 * progmodes/ruby-mode.el (ruby-smie-rules):
4011 Remove corresponding workaround. Fix indentation rule of ";" so it
4012 also applies when ";" is the parent.
4013
d40a46d7
XF
40142013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4015
4016 * frame.el (display-screens, display-pixel-height)
4017 (display-pixel-width, display-mm-width, display-backing-store)
4018 (display-save-under, display-planes, display-color-cells)
7790a270
SM
4019 (display-visual-class, display-monitor-attributes-list):
4020 Mention the optional ‘display’ argument in doc strings.
d40a46d7 4021
a0f143c9
MG
40222013-10-22 Michael Gauland <mikelygee@amuri.net>
4023
4024 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4025 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4026
18cacc39
DG
40272013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4028
4029 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4030 TODO. Add "." after " @ ".
4031 (ruby-smie--at-dot-call): New function. Checks if point at method
4032 call with explicit target.
4033 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4034 to the method name tokens when it precedes them.
4035 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4036 (ruby-smie-rules): Add rule for indentation before and after "."
4037 token.
4038
df74c4be
SM
40392013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4040
c6dab55f
SM
4041 * textmodes/remember.el (remember-diary-extract-entries):
4042 Avoid add-to-list.
4043
df74c4be
SM
4044 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4045 an instruction.
4046
8c1ae481
DG
40472013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4048
e9dc713d
JB
4049 * progmodes/ruby-mode.el (ruby-smie-grammar):
4050 Add (almost) all infix operators.
cfef16c0
DG
4051 (ruby-smie--implicit-semi-p): Add new operator chars.
4052
8c1ae481
DG
4053 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4054 `smie-down-list'.
4055 (ruby-smie--args-separator-p): Check that there's no newline
4056 between method call and its arguments.
4057
87756ca9
AM
40582013-10-20 Alan Mackenzie <acm@muc.de>
4059
4060 Allow comma separated lists after Java "implements".
4061
df74c4be
SM
4062 * progmodes/cc-engine.el (c-backward-over-enum-header):
4063 Parse commas.
87756ca9
AM
4064 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4065 from a "disallowed" list in enum fontification.
4066
c25f8957
JB
40672013-10-20 Johan Bockgård <bojohan@gnu.org>
4068
df74c4be 4069 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 4070
c25f8957
JB
4071 * progmodes/verilog-mode.el (verilog-mode): Don't set
4072 comment-indent-function globally.
4073
aca5fcdc
JD
40742013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4075
5f161884
JD
4076 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4077 Move Info menu item creation to ns-win.el.
4078
4079 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4080 in menu bar.
4081
a6c4680a 4082 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
4083
4084 * term/ns-win.el (ns-initialize-window-system): ... to here.
4085
914b7f98
SM
40862013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4087
4088 * simple.el (newline): Only run post-self-insert-hook when
4089 called interactively.
4090
846ffe77
JB
40912013-10-19 Johan Bockgård <bojohan@gnu.org>
4092
4093 * icomplete.el (icomplete-with-completion-tables): Add :version.
4094
033f22dd
AM
40952013-10-19 Alan Mackenzie <acm@muc.de>
4096
4097 Fix fontification bugs with constructors and const.
4098
4099 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4100 CASE 2) Remove the check for the absence of a suffix construct
4101 after a function declaration with only types (no identifiers) in
4102 the parentheses. Also, accept a function declaration with just a
4103 type inside the parentheses, if this type can be positively
4104 recognised as such, or if a prefix keyword like "explicit" nails
4105 down the construct as a declaration.
4106
58ce0cfc
EZ
41072013-10-19 Eli Zaretskii <eliz@gnu.org>
4108
4109 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4110 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4111 the problem whereby selecting a menu item that leads to a
4112 minibuffer prompt moves the cursor out of the minibuffer window,
4113 making it hard to type at the prompt. Suggested by Stefan Monnier
4114 <monnier@iro.umontreal.ca>.
4115
50e28e7d
JD
41162013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4117
4118 * menu-bar.el: Don't make Services menu.
4119
7deed4bf
RS
41202013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4121
4122 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4123 (ffap-alist): Use ffap-c++-mode for c++-mode.
4124 (ffap-c++-path): New variable.
4125 (ffap-c++-mode): New function.
4126
7bcb455b
JVJ
41272013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4128
4129 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4130
f0ff1cd5
MA
41312013-10-18 Michael Albinus <michael.albinus@gmx.de>
4132
4133 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4134 introduced on 2013-09-08, which results in an infinite loop
4135 requesting a password.
4136
d64da4b7
GM
41372013-10-18 Glenn Morris <rgm@gnu.org>
4138
4139 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4140
ea89ff08
WS
41412013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4142
4143 Sync with upstream verilog-mode revision 1a6ecec7.
4144 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4145 (verilog-mode-release-date): Remove.
4146 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4147 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4148 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4149 (verilog-auto-tieoff-ignore-regexp)
4150 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4151 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4152 (verilog-signals-with, verilog-dir-cache-preserving)
4153 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4154 Doc fixes.
4155 (verilog-case-fold): New option, to control case folding in
4156 regexp searches, bug597.
4157 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4158 (verilog-string-match-fold, verilog-in-paren-count)
4159 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4160 (verilog-at-close-struct-p): New functions.
4161 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4162 (verilog-forward-sexp, verilog-set-auto-endcomments):
4163 (verilog-leap-to-case-head): Handle "unique0" case.
4164 (verilog-in-constraint-re): New constant.
4165 (verilog-keywords, verilog-type-font-keywords):
4166 Add some SystemVerilog 1800-2012 keywords.
4167 (verilog-label-be): Remove unimplemented argument, bug669.
4168 (verilog-batch-execute-func): When batch expanding clear
4169 create-lockfiles to prevent spurious user locks when a file ends
4170 up not changing.
4171 (verilog-calculate-indent, verilog-calc-1)
4172 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4173 (verilog-do-indent): Fix indentation of nested constraints
4174 and structures.
4175 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4176 (verilog-auto-inst-param): Use verilog-string-match-fold.
4177 (verilog-read-inst-module-matcher):
4178 Fix AUTOINST on gate primitives with #1.
4179 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4180 Reads all user-defined typed variables.
4181 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4182 (verilog-signals-matching-regexp)
4183 (verilog-signals-not-matching-regexp, verilog-auto):
4184 Respect verilog-case-fold.
4185 (verilog-diff-report): Fix line count.
4186 (verilog-auto-assign-modport): Remove unused local `modi'.
4187 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4188 better handle multidimensional arrays.
4189 Fix packed array ports misadding bit index in AUTOINST, bug637.
4190 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4191 to not double-declare existing outputs and inputs, respectively.
4192 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4193 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4194 (verilog-sk-uvm-component): New skeleton.
4195 (verilog-submit-bug-report): Add verilog-case-fold,
4196 remove verilog-mode-release-date.
4197
ef566920
BR
41982013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4199
a12bf61e 4200 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
4201 as before.
4202
29df8a0b
RT
42032013-10-18 Reuben Thomas <rrt@sc3d.org>
4204
e0eb0550 4205 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
4206 remember buffers (bug#13566).
4207
04a19a79
DC
42082013-10-18 Daniel Colascione <dancol@dancol.org>
4209
4210 When evaluating forms in ielm, direct standard output to ielm
4211 buffer. Add new ielm-return-for-effect command. Remove trailing
4212 whitespace throughout.
4213
4214 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4215 (ielm-return-for-effect): New command.
4216 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
4217 (ielm-eval-input): Accept optional `for-effect' parameter.
4218 Bind `standard-output' to stream we create using
04a19a79
DC
4219 `ielm-standard-output-impl'. Suppress printing result when
4220 `for-effect'.
4221 (ielm-standard-output-impl): New function.
4222 (inferior-emacs-lisp-mode): Explain new features in documentation.
4223
4c1f03ef
MA
42242013-10-17 Michael Albinus <michael.albinus@gmx.de>
4225
4226 Code cleanup.
4227
4228 * net/tramp.el (tramp-debug-message): Do not check for connection
4229 buffer.
4230 (tramp-message): Use "vector" connection property.
4231
4232 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4233 (tramp-equal-remote, tramp-eshell-directory-change)
4234 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4235 (tramp-adb-handle-rename-file)
4236 * net/tramp-cmds.el (tramp-list-remote-buffers)
4237 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4238 * net/tramp-compat.el (tramp-compat-process-running-p)
4239 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4240 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4241 (tramp-gvfs-handle-rename-file)
4242 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4243 (tramp-set-file-uid-gid)
4244 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4245 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4246 of `file-remote-p'.
4247
4248 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4249 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4250 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4251 (tramp-gw-open-network-stream): Suppress unrelated traces.
4252
4253 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4254 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4255 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4256 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4257 connection property.
4258
4259 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 4260 persistency file.
4c1f03ef
MA
4261
4262 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4263 Refactor common code. Improve debug message.
4264 (tramp-maybe-open-connection)
4265 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4266 connection buffer too early.
4267
4268 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4269 from `tramp-smb-actions-with-acl'.
4270 (tramp-smb-actions-set-acl): New defconst.
4271 (tramp-smb-handle-copy-directory)
4272 (tramp-smb-action-get-acl): New defun, renamed from
4273 `tramp-smb-action-with-acl'.
4274 (tramp-smb-action-set-acl): New defun.
4275 (tramp-smb-handle-set-file-acl): Rewrite.
4276
642eb8b6
GM
42772013-10-17 Glenn Morris <rgm@gnu.org>
4278
4279 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4280
85527ff3
SM
42812013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4282
921c1d62
SM
4283 * skeleton.el (skeleton-newline): Remove.
4284 (skeleton-internal-1): Use (insert "\n") instead.
4285
e333fb10
SM
4286 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4287 let-bindings.
4288
85527ff3
SM
4289 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4290 forward-sexp-function while we redo its job (bug#15613).
4291
c8722a97
JB
42922013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4293
4294 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4295 represented by lists.
4296
7a550bbb
GM
42972013-10-16 Glenn Morris <rgm@gnu.org>
4298
4299 * tmm.el (tmm--history): New dynamic variable.
4300 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4301
f19da8ad
MA
43022013-10-16 Michael Albinus <michael.albinus@gmx.de>
4303
4304 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4305 (tramp-smb-errors): Add error messages.
4306 (tramp-smb-actions-with-acl): New defconst.
4307 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4308 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4309 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4310 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4311 (tramp-smb-get-stat-capability): Fix tests.
4312
a24b9961
DK
43132013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4314
4315 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4316 (bug#15580).
4317
62ad85e6
GM
43182013-10-16 Glenn Morris <rgm@gnu.org>
4319
0283d6b0
GM
4320 * ansi-color.el (ansi-color-drop-regexp):
4321 Add 1J, 1K, 2K. (Bug#15617)
4322
012e2f9f
GM
4323 * files.el (hack-local-variables--warned-lexical): New.
4324 (hack-local-variables):
4325 Warn about misplaced lexical-binding. (Bug#15616)
4326
62ad85e6
GM
4327 * net/eww.el (eww-render): Always set eww-current-url,
4328 and update header line. (Bug#15622)
4329 (eww-display-html): ... Rather than just doing it here.
4330
6456c0ea
EZ
43312013-10-15 Eli Zaretskii <eliz@gnu.org>
4332
4333 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4334 menu navigations commands.
4335
c2de5588
DK
43362013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4337
4338 * progmodes/subword.el (subword-capitalize): Be careful when
4339 the search for [[:alpha:]] fails (bug#15580).
4340
ccd4a783
EZ
43412013-10-14 Eli Zaretskii <eliz@gnu.org>
4342
4343 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4344 to commands that scroll the menu.
4345
1eda1d8d
DG
43462013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4347
c2de5588
DK
4348 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4349 Handle methods ending with `?' and `!'.
1eda1d8d 4350
e70181b8
AM
43512013-10-14 Akinori MUSHA <knu@iDaemons.org>
4352
4353 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4354 `japanese-cp932' to `cp932' to fix the problem where saving a
4355 source file written in Shift_JIS twice would end up having
4356 `coding: japanese-cp932' which Ruby could not recognize.
4357 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4358 in `ruby-encoding-map'.
4359 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4360 doesn't need to be explicitly declared in magic comment.
4361 (ruby-encoding-map): Add type declaration for better customize UI.
4362
9148ee92
GM
43632013-10-13 Glenn Morris <rgm@gnu.org>
4364
a5d38e34
GM
4365 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4366 Occur buffers are read-only. http://bugs.debian.org/720775
4367
9148ee92
GM
4368 * emacs-lisp/authors.el (authors-fixed-entries):
4369 Comment out old alpha stuff.
4370
a9ba094b
DG
43712013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4372
4373 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4374 to `after-save-hook' instead of `before-save-hook'.
4375 (ruby-mode-set-encoding): Use the value of coding system used to
4376 write the file. Call `basic-save-buffer-1' after modifying the
4377 buffer.
4378
7a068717
AM
43792013-10-13 Alan Mackenzie <acm@muc.de>
4380
4381 Fix indentation/fontification of Java enum with
4382 "implements"/generic.
4383
c2de5588
DK
4384 * progmodes/cc-engine.el (c-backward-over-enum-header):
4385 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
4386 (c-inside-bracelist-p): Uses new function above.
4387 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4388 function above.
4389 (c-font-lock-enum-tail): Uses new function above.
4390
85b64f02
KH
43912013-10-13 Kenichi Handa <handa@gnu.org>
4392
4393 * international/mule-cmds.el (select-safe-coding-system): Remove a
4394 superfluous condition in chekcing whether a coding system is safe
4395 or not.
4396
fc7f501b
OK
43972013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4398
4399 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4400
fdcb2049
AP
44012013-10-13 Andreas Politz <politza@hochschule-trier.de>
4402
4403 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4404
8c106d17
GM
44052013-10-13 Glenn Morris <rgm@gnu.org>
4406
feab892d
GM
4407 * menu-bar.el (menu-bar-update-buffers):
4408 Unify Buffers menu prompt string. (Bug#15576)
4409
b22d0686
GM
4410 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4411
8c106d17
GM
4412 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4413 Add some entries.
4414 (authors-fixed-entries): Use accented form of name.
4415
1b12c797
SM
44162013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4417
650fa7bf 4418 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 4419 method calls (bug#15594).
650fa7bf
SM
4420 (ruby-smie--args-separator-p): New function.
4421 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4422 recognize paren-free method calls.
4423
1b12c797
SM
4424 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4425 internals of universal-argument.
4426
029619c8
EZ
44272013-10-11 Eli Zaretskii <eliz@gnu.org>
4428
4429 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
4430 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4431 dropped menu on second mouse click on the menu bar.
029619c8 4432
dd070019
SM
44332013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4434
4435 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4436 (explicit-shell-file-name): Declare.
4437 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4438 (sh-completion-at-point-function): New function.
4439 (sh-mode): Use it.
4440 (sh-smie--keyword-p): Remove unused argument.
4441 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4442 vars.
4443 (sh-set-shell): Always setup SMIE, even if we use the
4444 old indentation code.
4445
0922b826
DG
44462013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4447
b68e2926
DG
4448 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4449 cases of ? and =.
4450 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4451 predicate would return nil are almost non-existent.
4452 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4453
0922b826
DG
4454 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4455 cache also after commands that modify the buffer but don't move
4456 point.
4457
ee041f2d
SM
44582013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4459
4460 * env.el (substitute-env-in-file-name): New function.
4461 (substitute-env-vars): Extend the meaning of the optional arg.
4462
a5dab159
EZ
44632013-10-10 Eli Zaretskii <eliz@gnu.org>
4464
4465 * term/w32-win.el (dynamic-library-alist): Define separate lists
4466 of GIF DLLs for versions before and after 5.0.0 of giflib.
4467 (Bug#15531)
4468
0449d6cd 44692013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
4470
4471 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4472 not locked, use last revision and current source as
4473 defaults. (Bug#15569)
4474
2f6e161e
MY
44752013-10-10 Masatake YAMATO <yamato@redhat.com>
4476
4477 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4478 menu-bar is hidden.
4479
6c8413fc
MR
44802013-10-10 Martin Rudalics <rudalics@gmx.at>
4481
4482 * window.el (pop-to-buffer-same-window): Fix doc-string.
4483 (Bug#15492)
4484
20832de0
SM
44852013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4486
4487 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4488
c6e8ae77
AC
44892013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4490
4491 * calendar/icalendar.el (icalendar-import-file):
4492 Fix interactive spec. (Bug#15482)
4493
9db13baf
GM
44942013-10-10 Glenn Morris <rgm@gnu.org>
4495
9271e90e
GM
4496 * desktop.el (desktop-save): Default to saving in .emacs.d,
4497 since PWD is no longer in desktop-path by default. (Bug#15319)
4498
9db13baf
GM
4499 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4500 now that text mode has a menu with the same entry.
4501 (menu-bar-text-mode-auto-fill): Remove now unused func.
4502 * textmodes/text-mode.el (text-mode-map):
4503 Use auto-fill help text from menu-bar.el.
4504
a0be396a 45052013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
4506
4507 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4508
2edcd3c7
JL
45092013-10-09 Juri Linkov <juri@jurta.org>
4510
4511 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4512 instead of this-command-keys. Add universal-argument-more and
4513 universal-argument-minus to the list of prefix commands. (Bug#15568)
4514
574411d0
GM
45152013-10-09 Glenn Morris <rgm@gnu.org>
4516
14afa541
GM
4517 * vc/vc-svn.el (vc-svn-create-repo):
4518 Expand paths in file://... url. (Bug#15446)
4519
574411d0
GM
4520 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4521 Add some entries.
4522 (authors): Remove unused local variables.
4523
79804536
SM
45242013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4525
4526 * profiler.el: Create a more coherent calltree from partial backtraces.
4527 (profiler-format): Hide the tail with `invisible' so that C-s can still
4528 find the hidden elements.
4529 (profiler-calltree-depth): Don't recurse so enthusiastically.
4530 (profiler-function-equal): New hash-table-test.
4531 (profiler-calltree-build-unified): New function.
4532 (profiler-calltree-build): Use it.
4533 (profiler-report-make-name-part): Indent the calltree less.
4534 (profiler-report-mode): Add visibility specs for profiler-format.
4535 (profiler-report-expand-entry, profiler-report-toggle-entry):
4536 Expand the whole subtree when provided with a prefix arg.
4537
238150c8
DG
45382013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4539
4540 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4541 iuwu-mod token.
4542 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4543 hanging iuwu-mod token.
4544 (ruby-smie--forward-token): Do not include a dot after a token in
4545 that token.
4546 (ruby-smie--backward-token): Likewise.
4547
b0949cc4
JL
45482013-10-08 Juri Linkov <juri@jurta.org>
4549
4550 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4551 to isearch-other-control-char.
4552 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4553 and isearch-post-command-hook to post-command-hook.
4554 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4555 and isearch-post-command-hook from post-command-hook.
4556 (isearch-unread-key-sequence)
4557 (isearch-reread-key-sequence-naturally)
4558 (isearch-lookup-scroll-key, isearch-other-control-char)
4559 (isearch-other-meta-char): Remove functions.
4560 (isearch-pre-command-hook, isearch-post-command-hook):
4561 New functions based on isearch-other-meta-char rewritten
4562 relying on the new behavior of overriding-terminal-local-map
4563 that does not replace the local keymaps any more. (Bug#15200)
4564
4ed77415
EZ
45652013-10-08 Eli Zaretskii <eliz@gnu.org>
4566
4567 Support menus on text-mode terminals.
4568 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4569 functionality.
4570
4571 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4572
c2de5588
DK
4573 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4574 Move here from mouse.el.
4ed77415
EZ
4575 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4576 and arrow keys.
4577 (tty-menu-navigation-map): New map for TTY menu navigation.
4578
4579 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4580
4581 * frame.el (display-mouse-p): Report text-mode mouse as available
4582 on w32.
4583 (display-popup-menus-p): Report availability if mouse is
4584 available; don't condition on window-system.
4585
4586 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4587 (tty-menu-selected-face): New faces.
4588
b7d5bd82
TL
45892013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4590
06286513
SM
4591 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4592 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4593 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4594 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4595 New constants.
4596 (lisp-mode-variables): New `elisp' argument.
4597 (emacs-lisp-mode): Use it.
4598 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4599 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4600
b7d5bd82
TL
4601 * indent.el: Use lexical-binding.
4602 (indent-region): Add progress reporter.
4603 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4604 last step.
4605 (indent--next-tab-stop): New function to implement this behavior.
4606 (tab-to-tab-stop, move-to-tab-stop): Use it.
4607
46082013-10-08 Teemu Likonen <tlikonen@iki.fi>
4609
4610 * indent.el (indent-rigidly--current-indentation): New function.
4611 (indent-rigidly-map): New var.
4612 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4613
5ea75d23
BG
46142013-10-08 Bastien Guerry <bzg@gnu.org>
4615
f2726fa2 4616 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 4617
cc5da1ec
SM
46182013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4619
8ffa1a0b
SM
4620 * progmodes/perl-mode.el: Use lexical-binding.
4621 Remove redundant :group args.
4622 (perl-nochange): Change default to be closer to other major modes's
4623 standard behavior.
4624 (perl-indent-line): Don't consider text on current line as a
4625 valid beginning of function from which to indent.
4626
f2223371
SM
4627 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4628 with more than one argument (bug#15538).
4629
44256060
SM
4630 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4631
cc5da1ec
SM
4632 * vc/pcvs.el: Use lexical-binding.
4633 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4634 environment of `eval'.
4635 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4636 than a list of expressions. Adjust callers.
4637 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4638
0ea1599d
DG
46392013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4640
4641 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 4642 case of the dot in a chained method call being on the following line.
0ea1599d 4643
da3e5ebb
SM
46442013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4645
2abb4e65
SM
4646 * electric.el (electric-indent-inhibit): New var.
4647 (electric-indent-post-self-insert-function): Use it.
4648 * progmodes/python.el (python-mode): Set it.
4649
d2e0e795
SM
4650 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4651 open braces.
4652
4653 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4654
bdc6b4c8
SM
4655 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4656 (css-mode): Use electric-indent-chars.
4657
da3e5ebb
SM
4658 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4659 (font-lock-beg, font-lock-end): Move before first use.
4660 (nxml-mode): Use syntax-propertize-function.
4661 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4662 (nxml-extend-after-change-region): Remove.
4663 * nxml/xmltok.el: Use lexical-binding.
4664 (xmltok-save): Use `declare'.
4665 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4666 * nxml/nxml-util.el: Use lexical-binding.
4667 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4668 Use `declare'.
4669 * nxml/nxml-ns.el: Use lexical-binding.
4670 (nxml-ns-save): Use `declare'.
4671 (nxml-ns-prefixes-for): Avoid add-to-list.
4672 * nxml/rng-match.el: Use lexical-binding.
4673 (rng--ipattern): Use cl-defstruct.
4674 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4675 (rng-cons-group-after, rng-subst-group-after)
4676 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4677 Use closures instead of `(lambda...).
4678
f8f91d5d
MA
46792013-10-07 Michael Albinus <michael.albinus@gmx.de>
4680
4681 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4682 of BEG and END.
4683
da3e5ebb
SM
4684 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4685 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
4686 (tramp-gvfs-handle-insert-file-contents): Remove function.
4687
da3e5ebb
SM
4688 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4689 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
4690
4691 * net/trampver.el: Update release number.
4692
7ccae3b1
SM
46932013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4694
55ca2c0d
SM
4695 * progmodes/compile.el (compilation-parse-errors):
4696 Use compilation--put-prop.
4697 (compilation--ensure-parse): Check compilation-multiline.
4698
731fc3ae
SM
4699 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4700
da3e5ebb
SM
4701 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4702 lexical-binding.
a5833280 4703
2e7ba2c2
SM
4704 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4705
7ccae3b1
SM
4706 * progmodes/ruby-mode.el: Fix recently added tests.
4707 (ruby-smie-grammar): Add - and +.
4708 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4709 (ruby-smie--backward-id): New functions.
4710 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4711 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4712 any more.
4713
85698d63
LL
47142013-10-07 Leo Liu <sdl.web@gmail.com>
4715
4716 * register.el (register-preview-delay)
4717 (register-preview-functions): New variables.
4718 (register-read-with-preview, register-preview)
4719 (register-describe-oneline): New functions.
4720 (point-to-register, window-configuration-to-register)
4721 (frame-configuration-to-register, jump-to-register)
4722 (number-to-register, view-register, insert-register)
4723 (copy-to-register, append-to-register, prepend-to-register)
4724 (copy-rectangle-to-register): Use register-read-with-preview to
4725 read register. (Bug#15525)
4726
3986af6c
DS
47272013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4728
4729 * net/network-stream.el (network-stream-open-starttls): Don't add
4730 --insecure if it's already present, because that gnutls-cli
4731 rejects getting that parameter twice.
4732
5cd9cda9
DG
47332013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4734
4735 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4736 keyword, too.
4737
da9ea6d9
DG
47382013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4739
4740 * newcomment.el (comment-use-global-state): Change default value
4741 to t, mark obsolete (Bug#15251).
4742 (comment-beginning): In addition to `comment-to-syntax', check the
4743 value of `comment-use-global-state'.
4744
34d1a133
SM
47452013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4746
4747 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4748 (ruby-comment-column): Follow the global default, by default.
4749 (ruby-smie-grammar): Add assignment syntax.
4750 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4751 open-paren, a comma, or a \.
4752 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4753 and line continuations.
4754 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4755 followed by implicit semi-colons. Add rule for string concatenation
4756 and for indentation at BOB.
4757 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4758
4759 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4760 calling next-sexp, since next-token may have skipped chars which
4761 next-sexp doesn't know should be skipped!
4762
6f6ab820
LL
47632013-10-05 Leo Liu <sdl.web@gmail.com>
4764
34d1a133
SM
4765 * progmodes/octave.el (octave-send-region):
4766 Call compilation-forget-errors.
6f6ab820 4767
34ca0f4c
XF
47682013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4769
4770 * vc/vc-svn.el (vc-svn-find-admin-dir):
4771 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4772 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4773 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4774 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4775
a27c1b72
SM
47762013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4777
4778 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4779
258ab3bc
SM
47802013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4781
4782 * subr.el (read-passwd): Hide chars even when called within a context
4783 where after-change-functions is disabled (bug#15501).
4784 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4785 until we removed ourself from overriding-terminal-local-map.
4786
939fb29c
LL
47872013-10-04 Leo Liu <sdl.web@gmail.com>
4788
258ab3bc
SM
4789 * progmodes/octave.el (inferior-octave-mode):
4790 Call compilation-forget-errors.
939fb29c 4791
63bd7f35
XF
47922013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4793
4794 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4795
9e6229fa
MA
47962013-10-04 Michael Albinus <michael.albinus@gmx.de>
4797
4798 * net/secrets.el (secrets-create-collection): Add optional
4799 argument ALIAS. Use proper Label keyword. Append ALIAS as
4800 dbus-call-method argument. (Bug#15516)
4801
1dab32a3
LL
48022013-10-04 Leo Liu <sdl.web@gmail.com>
4803
4804 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4805 (inferior-octave-compilation-font-lock-keywords): New variables.
4806 (compilation-error-regexp-alist)
4807 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4808 (inferior-octave-mode): Use compilation-shell-minor-mode.
4809
6cad7ba3
JS
48102013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4811
4812 * minibuffer.el (completion--replace): Be careful that `end' might be
4813 a marker.
4814
acbadd00
DU
48152013-10-03 Daiki Ueno <ueno@gnu.org>
4816
4817 Add support for package signature checking.
4818 * emacs-lisp/package.el (url-http-file-exists-p)
4819 (epg-make-context, epg-context-set-home-directory)
4820 (epg-verify-string, epg-context-result-for)
4821 (epg-signature-status, epg-signature-to-string)
4822 (epg-check-configuration, epg-configuration)
4823 (epg-import-keys-from-file): Declare.
4824 (package-check-signature): New user option.
4825 (package-unsigned-archives): New user option.
4826 (package-desc): Add `signed' field.
4827 (package-load-descriptor): Set `signed' field if .signed file exists.
4828 (package--archive-file-exists-p): New function.
4829 (package--check-signature): New function.
4830 (package-install-from-archive): Check package signature.
4831 (package--download-one-archive): Check archive signature.
4832 (package-delete): Remove .signed file.
4833 (package-import-keyring): New command.
4834 (package-refresh-contents): Import default keyring.
4835 (package-desc-status): Add "unsigned" status.
4836 (describe-package-1, package-menu--print-info)
4837 (package-menu-mark-delete, package-menu--find-upgrades)
4838 (package-menu--status-predicate): Support "unsigned" status.
4839
adf2aa61
SM
48402013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4841
4842 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4843 the new compilation scheme using the new byte-codes.
4844
4845 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4846 (byte-pophandler): New byte codes.
4847 (byte-goto-ops): Adjust accordingly.
4848 (byte-compile--use-old-handlers): New var.
4849 (byte-compile-catch): Use new byte codes depending on
4850 byte-compile--use-old-handlers.
4851 (byte-compile-condition-case--old): Rename from
4852 byte-compile-condition-case.
4853 (byte-compile-condition-case--new): New function.
4854 (byte-compile-condition-case): New function that dispatches depending
4855 on byte-compile--use-old-handlers.
4856 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4857 when we can.
4858
4859 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4860 Optimize under `condition-case' and `catch' if
4861 byte-compile--use-old-handlers is nil.
4862 (disassemble-offset): Handle new bytecodes.
4863
328a8179
SM
48642013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4865
4866 * subr.el (error): Use `declare'.
4867 (decode-char, encode-char): Use advertised-calling-convention instead
4868 of the docstring to discourage use of the `restriction' arg.
4869
15a1e936
DU
48702013-10-03 Daiki Ueno <ueno@gnu.org>
4871
4872 * epg.el (epg-verify-file): Add a comment saying that it does not
4873 notify verification error as a return value nor a signal.
4874 (epg-verify-string): Ditto.
4875
376f862a
KR
48762013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4877
4878 * progmodes/compile.el (compilation-start): Try globbing the arg to
4879 `cd' (bug#15417).
4880
a2f93a5f
MA
48812013-10-02 Michael Albinus <michael.albinus@gmx.de>
4882
4883 Sync with Tramp 2.2.8.
4884
4885 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4886 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4887 * net/trampver.el: Update release number.
4888
0daa0804
JD
48892013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4890
4891 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4892 and default-process-coding-system for darwin only.
4893
abd1ae34
SM
48942013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4895
4896 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4897
be4e325d
MH
48982013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4899
4900 * vc/vc-git.el (vc-git-grep): Disable pager.
4901
e9155c4a
DG
49022013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4903
494e898b
DG
4904 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4905 Use :url instead of :homepage, as per
4906 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4907
e9155c4a
DG
4908 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4909 non-nil, use `syntax-ppss' (Bug#15251).
4910
481a8e0f
RS
49112013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4912
be4e325d
MH
4913 * progmodes/octave.el (inferior-octave-startup-file):
4914 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 4915
056453c6
DG
49162013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4917
be4e325d
MH
4918 * emacs-lisp/package.el (package-desc-from-define):
4919 Accept additional arguments as plist, convert them to an alist and store
4920 them in the `extras' slot.
056453c6
DG
4921 (package-generate-description-file): Convert extras alist back to
4922 plist and append to the `define-package' form arguments.
4923 (package--alist-to-plist): New function.
4924 (package--ac-desc): Add `extras' slot.
4925 (package--add-to-archive-contents): Check if the archive-contents
4926 vector is long enough, and if it is, pass its `extras' slot value
4927 to `package-desc-create'.
4928 (package-buffer-info): Call `lm-homepage', pass the returned value
4929 to `package-desc-from-define'.
4930 (describe-package-1): Render the homepage button (Bug#13291).
4931
be4e325d
MH
4932 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4933 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 4934
832966e5
JD
49352013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4936
4937 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4938 and default-process-coding-system to utf-8-unix (Bug#15402).
4939
6cfe977d
XF
49402013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4941
4942 * subr.el (looking-back): Do not recommend using looking-back.
4943
38de11bd
AM
49442013-09-28 Alan Mackenzie <acm@muc.de>
4945
4946 Fix indentation/fontification of Java enum with "implements".
4947
4948 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4949 regexp which matches "implements", etc., in Java.
4950 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4951 specifier clauses coming after "enum".
4952 * progmodes/cc-fonts.el (c-font-lock-declarations)
4953 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4954 after "enum".
4955
1610938f
JD
49562013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4957
4958 * faces.el (region): Change ns_selection_color to
4959 ns_selection_fg_color, add ns_selection_bg_color.
4960
e090f499
LL
49612013-09-28 Leo Liu <sdl.web@gmail.com>
4962
4d2e94d1
LL
4963 * progmodes/octave.el (inferior-octave-completion-table)
4964 (inferior-octave-completion-at-point): Minor tweaks.
4965
e090f499
LL
4966 * textmodes/ispell.el (ispell-lookup-words): Rename from
4967 lookup-words. (Bug#15460)
4968 (lookup-words): Obsolete.
4969 (ispell-complete-word, ispell-command-loop): All uses changed.
4970
7e138a62
RS
49712013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4972
a12bf61e 4973 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
4974 (octave-mode-menu): Add octave-send-buffer.
4975 (octave-send-buffer): New function.
4976
5af5ed08
RS
49772013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4978
a12bf61e 4979 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
4980 octave-lookfor.
4981 (octave-mode-menu): Add octave-lookfor.
4982 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4983 octave-lookfor.
4984 (octave-lookfor): New function.
4985
3b7b2692
SM
49862013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4987
4988 * emacs-lisp/cl-macs.el:
4989 (cl--loop-destr-temps): Remove.
4990 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4991 its convention.
4992 (cl--loop-set-iterator-function): New function.
4993 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4994 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4995 Bind `it' with `let' instead of substituting it with `cl-subst'.
4996 (cl--unused-var-p): New function.
4997 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4998 Eliminate some unused variable warnings (bug#15326).
4999
529fb53f
TH
50002013-09-27 Tassilo Horn <tsdh@gnu.org>
5001
5002 * doc-view.el (doc-view-scale-reset): Rename from
5003 `doc-view-reset-zoom-level'.
5004 (doc-view-scale-adjust): New command.
5005 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5006 `doc-view-scale-adjust'.
5007
0550c95a
TH
50082013-09-26 Tassilo Horn <tsdh@gnu.org>
5009
5010 * doc-view.el (doc-view-reset-zoom-level): New command.
5011 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5012 zoom commands (bug#15466).
5013
6950f152
KH
50142013-09-26 Kenichi Handa <handa@gnu.org>
5015
5016 * international/quail.el (quail-help): Make it not a command.
5017
39587580
LL
50182013-09-26 Leo Liu <sdl.web@gmail.com>
5019
5020 * minibuffer.el (completion-all-sorted-completions): Make args
5021 optional as they are.
5022
00578659
DC
50232013-09-25 Daniel Colascione <dancol@dancol.org>
5024
5025 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5026 specs are and that they're not evaluated.
5027
0c173878
SS
50282013-09-24 Sam Steingold <sds@gnu.org>
5029
5030 * midnight.el (clean-buffer-list-kill-regexps)
5031 (clean-buffer-list-kill-buffer-names): Update for the new Man
5032 buffer naming which includes the object name.
5033
84998447
SM
50342013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5035
5036 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5037 (eshell-parse-command, eshell-parse-pipeline): Use it since
5038 eshell-separate-commands requires a dynamic scoped var.
5039 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5040
33215353
LL
50412013-09-23 Leo Liu <sdl.web@gmail.com>
5042
5043 * autoinsert.el (auto-insert-alist): Make the value of
5044 lexical-binding match its file setting.
5045
57b16162
JB
50462013-09-23 Juanma Barranquero <lekktu@gmail.com>
5047
c8af4e67
JB
5048 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5049
57b16162
JB
5050 * autoarg.el (autoarg-kp-digit-argument):
5051 * electric.el (Electric-command-loop):
5052 * kmacro.el (kmacro-step-edit-insert):
5053 Do not set universal-argument-num-events.
5054
7186ba60
LL
50552013-09-22 Leo Liu <sdl.web@gmail.com>
5056
5057 * files.el (interpreter-mode-alist): Add octave.
5058
ece15004
AM
50592013-09-21 Alan Mackenzie <acm@muc.de>
5060
5061 C++: fontify identifier in declaration following "public:" correctly.
5062 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5063 to match "public", etc.
5064 (c-decl-prefix-re): Add ":" into the C++ value.
5065 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5066 bit. Add a check for a ":" preceded by "public", etc.
5067
75d83e22
EZ
50682013-09-21 Eli Zaretskii <eliz@gnu.org>
5069
5070 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5071 recognized by GDB 7.5 and later.
5072
d052d3bd
XF
50732013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5074
5075 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5076
31dca772
R
50772013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5078
5079 * subr.el (internal--call-interactively): New const.
5080 (called-interactively-p): Use it (bug#3984).
5081
98ccf24e
XF
50822013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5083
5084 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
5085 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5086 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 5087
c39cc7d1
SM
50882013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5089
5090 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5091 (eshell-ls-orig-insert-directory): Remove.
5092 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5093 (eshell-ls-use-in-dired): Use advice-add/remove.
5094 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5095 Add `orig-fun' arg for use in :around advice.
5096 Make it check (redundantly) eshell-ls-use-in-dired.
5097
9a0289a2
GM
50982013-09-19 Glenn Morris <rgm@gnu.org>
5099
a2c501b8
GM
5100 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5101
c440407a
GM
5102 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5103
9a0289a2
GM
5104 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5105
85e05915
MA
51062013-09-19 Michael Albinus <michael.albinus@gmx.de>
5107
5108 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5109 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5110 (tramp-get-remote-python): New defuns.
5111 (tramp-get-remote-uid-with-perl)
5112 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5113 contributed by yary <not.com@gmail.com> (tiny change).
5114 (tramp-get-remote-uid-with-python)
5115 (tramp-get-remote-gid-with-python): New defuns. Python code
5116 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5117 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5118
ce503312
GM
51192013-09-19 Glenn Morris <rgm@gnu.org>
5120
f7544773
GM
5121 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5122
72fd2877
GM
5123 * eshell/em-unix.el (eshell-remove-entries):
5124 Rename argument to avoid name-clash with global `top-level'.
5125
336b5a56
GM
5126 * eshell/esh-proc.el (eshell-kill-process-function):
5127 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5128 (eshell-reset-after-proc): Remove unused arg `proc'.
5129
57a3a53d
GM
5130 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5131 (directory-files-and-attributes): Mark unused arg.
5132
3261d4af
GM
5133 * eshell/em-unix.el (eshell-remove-entries):
5134 Remove unused arg `path'. Update callers.
5135
8e51b5d0
GM
5136 * eshell/em-hist.el (eshell-hist-parse-arguments):
5137 Remove unused arg `silent'. Update callers.
5138
ce503312
GM
5139 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5140 Fix (f)boundp mix-up.
5141
5142 * eshell/em-smart.el (eshell-smart-scroll-window)
5143 (eshell-disable-after-change):
336b5a56 5144 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 5145
ee3ce8a7
AM
51462013-09-18 Alan Mackenzie <acm@muc.de>
5147
5148 Fix fontification of type when followed by "const".
5149 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5150 "known" types from fontification.
5151
ec9177ba
GM
51522013-09-18 Glenn Morris <rgm@gnu.org>
5153
7bb3e768
GM
5154 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5155 (chart-face-list): Drop Emacsen without display-color-p.
5156
5148da15
GM
5157 * net/eww.el (libxml-parse-html-region): Declare.
5158 (eww-display-html): Explicit error if no libxml2 support.
5159
2f68e157
GM
5160 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5161
9019d095
GM
5162 * image.el (image-type-from-buffer, image-multi-frame-p):
5163 Remove --without-x warning/error.
67645389 5164
5f30349b 5165 * mouse.el (mouse-yank-primary):
45069b2e 5166 * term.el (term-mouse-paste):
5f30349b
GM
5167 Reorder to silence --without-x compilation.
5168
cd8edbbe
GM
5169 * mpc.el (doc-view-mode): Silence --without-x compilation.
5170
8a78544e
GM
5171 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5172 Silence --without-x compilation.
5173
12679bfd
GM
5174 * progmodes/gud.el (gud-find-file, gud-mode):
5175 Silence --without-x compilation.
5176 (tooltip-mode): Declare.
30810a05 5177
f0047cb9
GM
5178 * wdired.el (dired-backup-overwrite): Remove declaration.
5179 (wdired-mode-map): Add doc string.
5180
e740f9d2
GM
5181 * custom.el (x-get-resource): Declare.
5182
92d77c89
GM
5183 * eshell/em-glob.el (ange-cache):
5184 * eshell/em-unix.el (ange-cache): Declare.
5185
76e69577
GM
5186 * faces.el (x-display-list, x-open-connection, x-get-resource):
5187 Declare.
7e58af4b
GM
5188
5189 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5190 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5191 Declare.
76e69577 5192
4bd4c0af 5193 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 5194
ffb82dbd
GM
5195 * net/gnutls.el (gnutls-log-level): Declare.
5196
986ed135
GM
5197 * net/shr.el (image-size, image-animate): Declare.
5198
e740f9d2
GM
5199 * simple.el (font-info): Declare.
5200
d2f3e9f8
GM
5201 * subr.el (x-popup-dialog): Declare.
5202
047a1a4c
GM
5203 * term/common-win.el (x-select-enable-primary)
5204 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5205 Declare.
5206
f4a1d572
GM
5207 * term/ns-win.el (x-handle-args): Declare.
5208
e843de77
GM
5209 * term/x-win.el (x-select-enable-clipboard): Declare.
5210
5fa89513
GM
5211 * term/w32-win.el (create-default-fontset): Declare.
5212
38702b5b
GM
5213 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5214 Declare.
5215
e740f9d2
GM
5216 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5217 (fit-frame-to-buffer): Explicit error if --without-x.
5218 (mouse-autoselect-window-select): Silence compiler.
5219
49a053fc
GM
5220 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5221
5222 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5223 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5224 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 5225 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
5226 Remove unused local variables.
5227
5228 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5229
ec9177ba
GM
5230 * textmodes/two-column.el: Make 2C-split work for --without-x.
5231 (scroll-bar-columns): Autoload.
5232 (top-level): Require fringe when compiling.
5233
9f25cb77
LL
52342013-09-18 Leo Liu <sdl.web@gmail.com>
5235
5236 * subr.el (add-hook): Robustify to handle closure as well.
5237
2b42da98
GM
52382013-09-17 Glenn Morris <rgm@gnu.org>
5239
5240 * simple.el (messages-buffer-mode-map): Unbind "g".
5241
e8b66a6a
SM
52422013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5243
9c0ad4f7
SM
5244 * help-mode.el (help-mode-finish): Use derived-mode-p.
5245 Remove obsolete highlighting.
5246
7a806dfb
SM
5247 * play/life.el (life-mode): Use define-derived-mode. Derive from
5248 special-mode.
5249 (life): Let-bind inhibit-read-only.
5250 (life-setup): Avoid `setq'. Use `life-mode'.
5251
96dbf5a8
SM
5252 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5253 which should not be needed any more.
5254 (package-menu-refresh, package-menu-describe-package): Use user-error.
5255
e8b66a6a
SM
5256 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5257 (eshell-post-rewrite-command-hook): Make obsolete.
5258 (eshell-parse-command): Simplify.
5259 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5260 (eshell--cmd): Declare.
5261 (eshell-parse-pipeline): Remove unused var `final-p'.
5262 Pass a dynvar to eshell-post-rewrite-command-hook.
5263 Implement the new eshell-post-rewrite-command-function.
5264 (eshell-invoke-directly): Remove unused arg `input'.
5265 * eshell/esh-io.el (eshell-io-initialize):
5266 Use eshell-post-rewrite-command-function (bug#15399).
5267 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5268 adjust to new calling convention.
5269 (eshell-create-handles): Rename args to avoid clashing with dynvar
5270 `standard-output'.
5271
90582f05
GM
52722013-09-17 Glenn Morris <rgm@gnu.org>
5273
5274 * simple.el (messages-buffer-mode): New major mode.
5275 (messages-buffer): New function.
5276 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5277 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 5278 (ert-run-test): Use `messages-buffer' function.
90582f05 5279 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
5280 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5281 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 5282
39eb0cb5 52832013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
5284
5285 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5286
1d42e5b6 5287 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 5288
70568a90
SM
52892013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5290
504a0381
SM
5291 * icomplete.el (icomplete-in-buffer): New var.
5292 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5293 vars and replace them with functions.
5294 (icomplete-minibuffer-setup): Adjust accordingly.
5295 (icomplete--completion-table, icomplete--completion-predicate)
5296 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5297 New functions.
5298 (icomplete-forward-completions, icomplete-backward-completions)
5299 (icomplete-simple-completing-p, icomplete-exhibit)
5300 (icomplete-completions): Use them.
5301 (icomplete--in-region-buffer): New var.
5302 (icomplete--in-region-setup): New function.
5303 (icomplete-mode): Use it.
5304
70568a90
SM
5305 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5306 (bug#15379).
5307 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5308 return args and options.
5309 (eshell-eval-using-options): Use the new return value of
5310 eshell--do-opts to set the options's vars in their scope.
5311 (eshell--set-option): Rename from eshell-set-option.
5312 Add arg `opt-vals'.
5313 (eshell--process-option): Rename from eshell-process-option.
5314 Add arg `opt-vals'.
5315 (eshell--process-args): Use an `opt-vals' alist to store the options's
5316 values during their processing and return them additionally to the
5317 remaining args.
5318
578c21bc
DG
53192013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5320
5321 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5322 continuation character an operator, as far as indentation is
5323 concerned (Bug#15369).
5324
c089653d
MR
53252013-09-15 Martin Rudalics <rudalics@gmx.at>
5326
5327 * window.el (window--state-put-2): Don't process buffer state
5328 when buffer doesn't exist any more (Bug#15382).
5329
1e53bb4b
GM
53302013-09-15 Glenn Morris <rgm@gnu.org>
5331
30753242
GM
5332 * eshell/em-unix.el (eshell/rm):
5333 Make -f ignore missing files. (Bug#15373)
5334
1e53bb4b
GM
5335 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5336 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5337 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5338
0d8863b3
GM
53392013-09-14 Glenn Morris <rgm@gnu.org>
5340
5341 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5342
d3fc6549
GM
53432013-09-13 Glenn Morris <rgm@gnu.org>
5344
5345 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5346 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5347
fcd42c11
DA
53482013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5349
5350 * frame.el (x-focus-frame): Mark as declared in frame.c.
5351
7830899f
SM
53522013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5353
5354 * ls-lisp.el: Use advice-add.
5355 (original-insert-directory): Remove.
5356 (ls-lisp--insert-directory): Rename from insert-directory; add
5357 `orig-fun' argument.
5358 (insert-directory): Advise.
5359
84387cd2
EZ
53602013-09-13 Eli Zaretskii <eliz@gnu.org>
5361
5362 * term.el (term-emulate-terminal): Decode the command string
5363 before passing it to term-command-hook. (Bug#15337)
5364
35ffc6ba
GM
53652013-09-13 Glenn Morris <rgm@gnu.org>
5366
5c3f9bcc
GM
5367 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5368
2ada368a
GM
5369 * eshell/esh-ext.el (eshell-search-path): Declare.
5370
fcef2e13
GM
5371 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5372 Otherwise an error occurs if eshell-dirs module not loaded.
5373
35ffc6ba
GM
5374 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5375
35c3d36e
MA
53762013-09-13 Michael Albinus <michael.albinus@gmx.de>
5377
5378 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5379 `tramp-check-proper-host'. Check for a valid method name.
5380
5381 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5382 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5383 * net/tramp-sh.el (tramp-maybe-open-connection):
5384 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5385
5386 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5387 also for hash values.
5388
ae5e4c48
SM
53892013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5390
379add74
SM
5391 * term/ns-win.el (parameters): Don't declare as dynamic.
5392 (before-make-frame-hook): Don't add ineffective function.
5393
ae5e4c48
SM
5394 * eshell/*.el: Use lexical-binding (bug#15231).
5395
b5623270
KH
53962013-09-12 Kenichi Handa <handa@gnu.org>
5397
ae5e4c48 5398 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 5399
30213927
GM
54002013-09-12 Glenn Morris <rgm@gnu.org>
5401
be94d713 5402 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 5403 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 5404
44915370
GM
5405 * subr.el (do-after-load-evaluation): Also give compiler warnings
5406 when obsolete files are used (except by obsolete files).
5407
a6ae021f
GM
5408 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5409 in the status output, assume `filename' is the first. (Bug#15322)
5410
40e64f0c
GM
5411 * vc/vc.el (vc-deduce-fileset): Doc fix.
5412
16d9f896
GM
5413 * calc/calc-help.el (Info-goto-node):
5414 * progmodes/cperl-mode.el (Info-find-node):
5415 * vc/ediff.el (Info-goto-node): Update declarations.
5416
dea01c6e
GM
5417 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5418
759880bf 5419 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
5420 (vc-bzr-pull): Require vc-dispatcher.
5421 * vc/vc-git.el (vc-compilation-mode): Declare.
5422 (vc-git-pull): Require vc-dispatcher.
5423
08d66420
GM
5424 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5425
30b626e9
GM
5426 * progmodes/octave.el (help-button-action): Declare.
5427
8c05cb10
GM
5428 * shell.el (shell-directory-tracker): Output error as a message
5429 rather than just returning it as a string.
5430 (shell-process-pushd): Remove useless use of message.
5431
30213927
GM
5432 * dframe.el (dframe-timer-fn):
5433 * files.el (dir-locals-read-from-file):
5434 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5435 (mpc-format):
5436 * reveal.el (reveal-post-command):
5437 * saveplace.el (load-save-place-alist-from-file):
5438 * shell.el (shell-resync-dirs):
5439 * w32-common-fns.el (x-get-selection-value):
5440 * emacs-lisp/copyright.el (copyright-find-copyright):
5441 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5442 * emulation/tpu-edt.el (tpu-copy-keyfile):
5443 * play/bubbles.el (bubbles--mark-neighbourhood):
5444 * progmodes/executable.el
5445 (executable-make-buffer-file-executable-if-script-p):
5446 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5447
d3b049e6
SM
54482013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5449
170266d0
SM
5450 Cleanup Eshell to rely less on dynamic scoping.
5451 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5452 last-value, and ext-command here. Bind `args' closer to `body'.
5453 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5454 (eshell--args): Declare new dynamic var.
5455 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5456 last-value, and ext-command. Pass `args' to `body'.
5457 (eshell-process-args): Bind eshell--args.
5458 (eshell-set-option): Use eshell--args.
5459 * eshell/eshell.el (eshell): Use derived-mode-p.
5460 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5461 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5462 (eshell-glob-function): Declare.
5463 * eshell/esh-util.el: Require cl-lib.
5464 (eshell-read-hosts-file): Avoid add-to-list.
5465 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5466 `err'.
5467 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5468 Declare.
5469 (eshell/diff): Remove unused var `err'.
5470 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5471 `killflag'.
5472 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5473 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5474 first use.
5475 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5476 Move declaration before first use.
5477 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
5478 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5479 rely on cl-return.
5480
56834f3b
GM
54812013-09-12 Glenn Morris <rgm@gnu.org>
5482
5483 * term/ns-win.el (global-map): Remove binding for ispell-next,
5484 deleted 1999-05-29. (Bug#15357)
5485
5c91a2b8
GM
54862013-09-11 Glenn Morris <rgm@gnu.org>
5487
da712f22
GM
5488 * echistory.el (electric-command-history): Remove call to deleted func.
5489
512e4cdc
GM
5490 * play/landmark.el (landmark-mode): Fix typos.
5491
d3506ca5
GM
5492 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5493 Check cvs-sort-ignore-file is bound.
5494
5c91a2b8
GM
5495 * savehist.el: No need for cl when compiling on Emacs.
5496
feeff482
SM
54972013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5498
656bd483
SM
5499 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5500 (bug#15338).
d3b049e6
SM
5501 (eshell-self-insert-command, eshell-send-invisible):
5502 Remove unused argument.
656bd483
SM
5503 (eshell-handle-control-codes): Remove unused var `orig'.
5504 Avoid delete-backward-char.
5505
feeff482
SM
5506 * files.el (set-auto-mode): Simplify a bit further.
5507
2a08047a
GM
55082013-09-11 Glenn Morris <rgm@gnu.org>
5509
5510 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5511 (set-auto-mode): Don't regexp-quote elements.
5512 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5513 * progmodes/cc-mode.el (interpreter-mode-alist):
5514 * progmodes/ruby-mode.el (interpreter-mode-alist):
5515 Revert previous change.
5516
34675540
SM
55172013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5518
1b3b87df
SM
5519 * play/snake.el (snake-mode):
5520 * play/mpuz.el (mpuz-mode):
5521 * play/landmark.el (lm-mode):
5522 * play/blackbox.el (blackbox-mode):
5523 * play/5x5.el (5x5-mode):
5524 * obsolete/options.el (Edit-options-mode):
5525 * net/quickurl.el (quickurl-list-mode):
5526 * net/newst-treeview.el (newsticker-treeview-mode):
5527 * mail/rmailsum.el (rmail-summary-mode):
5528 * mail/mspools.el (mspools-mode):
5529 * locate.el (locate-mode):
5530 * ibuffer.el (ibuffer-mode):
5531 * emulation/ws-mode.el (wordstar-mode):
5532 * emacs-lisp/debug.el (debugger-mode):
5533 * array.el (array-mode):
5534 * net/eudc.el (eudc-mode): Use define-derived-mode.
5535 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5536 Move initialization into declaration.
5537 (mairix-searches-mode): Use define-derived-mode.
5538 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5539 (eudc-edit-hotlist): Use dolist.
5540 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5541 (Man-mode): Use define-derived-mode.
5542 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5543 (Info-edit-mode): Use define-derived-mode.
5544 (Info-cease-edit): Use Info-mode.
5545 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5546 into declaration.
5547 (eshell-mode): Use define-derived-mode.
5548 * chistory.el (command-history-mode-map): Rename from
5549 command-history-map.
5550 (command-history-mode): Use define-derived-mode.
da712f22 5551 (Command-history-setup): Remove function.
1b3b87df
SM
5552 * calc/calc.el (calc-trail-mode-map): New var.
5553 (calc-trail-mode): Use define-derived-mode.
5554 (calc-trail-buffer): Set calc-main-buffer manually.
5555 * bookmark.el (bookmark-insert-annotation): New function.
5556 (bookmark-edit-annotation): Use it.
5557 (bookmark-edit-annotation-mode): Make it a proper major mode.
5558 (bookmark-send-edited-annotation): Use derived-mode-p.
5559 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5560 closer to its ideal place. Use \' to match EOS.
5561
34675540
SM
5562 * profiler.el (profiler-calltree-find): Use function-equal.
5563
6a5c15d9
GM
55642013-09-10 Glenn Morris <rgm@gnu.org>
5565
1af4c220
GM
5566 * files.el (interpreter-mode-alist): Convert to regexps.
5567 (set-auto-mode): Adapt for this. (Bug#15306)
5568 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5569 Comment out unused variable.
5570 * progmodes/cc-mode.el (interpreter-mode-alist):
5571 * progmodes/python.el (interpreter-mode-alist):
5572 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5573 * progmodes/sh-script.el (sh-set-shell):
5574 No longer use interpreter-mode-alist to get list of shells.
5575
6a5c15d9
GM
5576 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5577
8c27f5ff
SM
55782013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5579
02ef6c1a 5580 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 5581 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
5582 Bind switch-frame explicitly. Replace universal-argument-minus with
5583 a conditional binding.
5584 (universal-argument-num-events, saved-overriding-map): Remove.
5585 (restore-overriding-map): Remove.
5586 (universal-argument--mode): Rename from save&set-overriding-map,
5587 and rewrite.
5588 (universal-argument, universal-argument-more, negative-argument)
5589 (digit-argument): Adjust accordingly.
5590 (universal-argument-minus): Remove.
5591 (universal-argument-other-key): Remove.
5592
8c27f5ff
SM
5593 * subr.el (with-demoted-errors): Add `format' argument.
5594
6480194c
MA
55952013-09-10 Michael Albinus <michael.albinus@gmx.de>
5596
5597 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5598 `tramp-cleanup-connection'.
5599
5600 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5601 parameters KEEP-DEBUG and KEEP-PASSWORD.
5602
5603 * net/tramp.el (tramp-file-name-handler):
5604 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5605 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5606 (tramp-maybe-open-connection):
8c27f5ff
SM
5607 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5608 Use `tramp-cleanup-connection'.
6480194c 5609
8c27f5ff
SM
5610 * net/tramp-sh.el (tramp-maybe-open-connection):
5611 Catch 'uname-changed inside the progress reporter.
6480194c 5612
e5e916d8
GM
56132013-09-10 Glenn Morris <rgm@gnu.org>
5614
9a2c9b47
GM
5615 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5616
e5e916d8
GM
5617 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5618 returns "alternate access method" in mode (eg "-rw-r--r--.").
5619
144e38fe
GM
56202013-09-08 Glenn Morris <rgm@gnu.org>
5621
5622 * saveplace.el (load-save-place-alist-from-file):
5623 Demote errors. (Bug#15305)
5624
af9ff9e8
MA
56252013-09-08 Michael Albinus <michael.albinus@gmx.de>
5626
5627 Improve compatibility with older Emacsen, and XEmacs.
5628
5629 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5630 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
5631 (with-tramp-progress-reporter): Do not let-bind `result'.
5632 This yields to scoping errors in XEmacs.
af9ff9e8
MA
5633 (tramp-handle-make-auto-save-file-name): New function, moved from
5634 tramp-sh.el.
5635
5636 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5637 for `make-auto-save-file-name'.
8c27f5ff
SM
5638 (tramp-adb--gnu-switches-to-ash):
5639 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5640
5641 * net/tramp-cache.el (tramp-cache-print): Call
5642 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5643
5644 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5645 bound. It isn't for XEmacs.
5646
8c27f5ff
SM
5647 * net/tramp-compat.el (tramp-compat-copy-file):
5648 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
5649 (tramp-compat-replace-regexp-in-string): New defun.
5650
5651 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5652 for `make-auto-save-file-name'.
5653 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5654 `copy-file'.
5655 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5656 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5657 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5658
8c27f5ff
SM
5659 * net/tramp-gw.el (tramp-gw-open-network-stream):
5660 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 5661
8c27f5ff
SM
5662 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5663 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
5664 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5665 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
5666 (tramp-sh-file-inotifywait-process-filter):
5667 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5668 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5669
5670 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5671 for `make-auto-save-file-name'.
8c27f5ff
SM
5672 (tramp-smb-handle-copy-directory):
5673 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5674 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5675 (tramp-smb-handle-copy-file): Improve error message.
5676 (tramp-smb-handle-rename-file): Rename directly only in case
5677 `newname' does not exist yet. This is a restriction of smbclient.
5678 (tramp-smb-maybe-open-connection): Rerun the function only when
5679 `auth-sources' is non-nil.
5680
0ca754d0
KH
56812013-09-08 Kenichi Handa <handa@gnu.org>
5682
e0eb0550 5683 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
5684 more characters.
5685
e8dd0787
AM
56862013-09-07 Alan Mackenzie <acm@muc.de>
5687
5688 Correctly fontify Java class constructors.
5689 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5690 in Java Mode.
5691 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
5692 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5693 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
5694 "typeless" declaration there.
5695
f2f248e7
RW
56962013-09-07 Roland Winkler <winkler@gnu.org>
5697
5698 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5699 field subtitle for entry type book.
5700
67982e2b
SM
57012013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5702
5703 * minibuffer.el: Make minibuffer-complete call completion-in-region
5704 rather than other way around.
5705 (completion--some, completion-pcm--find-all-completions):
5706 Don't delay signals when debugging.
5707 (minibuffer-completion-contents): Beware fields within the
5708 minibuffer contents.
5709 (completion-all-sorted-completions): Use defvar-local.
5710 (completion--do-completion, completion--cache-all-sorted-completions)
5711 (completion-all-sorted-completions, minibuffer-force-complete):
5712 Add args `beg' and `end'.
5713 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5714 (minibuffer-complete): Use completion-in-region.
5715 (completion-complete-and-exit): New fun, extracted from
5716 minibuffer-complete-and-exit.
5717 (minibuffer-complete-and-exit): Use it.
5718 (completion--complete-and-exit): Rename from
5719 minibuffer--complete-and-exit.
5720 (completion-in-region--single-word): New function, extracted from
5721 minibuffer-complete-word.
5722 (minibuffer-complete-word): Use it.
5723 (display-completion-list): Make `common-substring' argument obsolete.
5724 (completion--in-region): Call completion--in-region-1 instead of
5725 minibuffer-complete.
5726 (completion-help-at-point): Pass boundaries to
5727 minibuffer-completion-help as args rather than via an overlay.
5728 (completion-pcm--string->pattern): Use `any-delim'.
5729 (completion-pcm--optimize-pattern): New function.
5730 (completion-pcm--pattern->regex): Handle `any-delim'.
5731 * icomplete.el (icomplete-forward-completions)
5732 (icomplete-backward-completions, icomplete-completions):
5733 Adjust calls to completion-all-sorted-completions and
5734 completion--cache-all-sorted-completions.
5735 (icomplete-with-completion-tables): Default to t.
5736 * emacs-lisp/crm.el (crm--current-element): Rename from
5737 crm--select-current-element. Don't put an overlay but return the
5738 boundaries instead.
5739 (crm--completion-command): Take two new args to bind to the boundaries.
5740 (crm-completion-help): Adjust accordingly.
5741 (crm-complete): Use completion-in-region.
5742 (crm-complete-word): Use completion-in-region--single-word.
5743 (crm-complete-and-exit): Use completion-complete-and-exit.
5744
e17d94a5
SM
57452013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5746
5747 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5748 than dynamically.
5749
96727100
JL
57502013-09-06 Juri Linkov <juri@jurta.org>
5751
5752 * info.el (Info-display-images-node): When image file doesn't exist
5753 display text version of the image if it's provided in the Info file.
5754 Otherwise, display the location of missing image from SRC attribute.
5755 Add help-echo text property from ALT attribute. (Bug#15279)
5756
86cf7329
SM
57572013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5758
5759 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5760 (edit-abbrevs-mode): Use define-derived-mode.
5761
5762 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5763 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5764 that it's defined.
5765 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5766 Use define-derived-mode.
5767
5768 * epg.el (epg-start-encrypt): Minor CSE simplification.
5769
816244a2
WX
57702013-09-06 William Xu <william.xwl@gmail.com>
5771
5772 * arc-mode.el: Add support for 7za (bug#15264).
5773 (archive-7z-program): New var.
5774 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5775 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5776 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5777
1486fa31
MA
57782013-09-06 Michael Albinus <michael.albinus@gmx.de>
5779
5780 Remove URL syntax.
5781
5782 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5783 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5784 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5785 (tramp-postfix-host-format, tramp-file-name-regexp)
5786 (tramp-completion-file-name-regexp)
5787 (tramp-completion-dissect-file-name)
5788 (tramp-handle-substitute-in-file-name): Remove 'url case.
5789 (tramp-file-name-regexp-url)
5790 (tramp-completion-file-name-regexp-url): Remove constants.
5791
39785324
GM
57922013-09-06 Glenn Morris <rgm@gnu.org>
5793
5794 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5795
1f896cb7
DG
57962013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5797
5798 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5799 keywords" below "here-doc beginnings" (Bug#15270).
5800
c0458e0b
SM
58012013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5802
5803 * subr.el (pop): Use `car-safe'.
5804 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5805 to detect unused `pop' return value.
5806
5807 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5808 var `block-regexp'.
5809 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5810 (python-fill-string): Remove unused var `marker'.
5811 (python-skeleton-add-menu-items): Remove unused var `items'.
5812
5813 * international/mule-cmds.el: Require CL.
5814 (find-coding-systems-for-charsets): Avoid add-to-list.
5815 (sanitize-coding-system-list): New function, extracted from
5816 select-safe-coding-system-interactively.
5817 (select-safe-coding-system-interactively): Use it.
5818 (read-input-method-name): Accept symbols for `default'.
5819
5820 * emacs-lisp/advice.el (defadvice): Add indent rule.
5821
6c42fc3e
DH
58222013-09-05 Daniel Hackney <dan@haxney.org>
5823
5824 * dired-x.el:
5825 * net/ange-ftp.el:
5826 * net/browse-url.el:
5827 * net/dbus.el:
5828 * net/eudc.el:
5829 * net/eudcb-ldap.el:
5830 * net/eww.el:
5831 * net/imap.el:
5832 * printing.el:
5833 * vc/ediff-diff.el:
5834 * vc/ediff-init.el:
5835 * vc/ediff-merg.el:
5836 * vc/ediff-mult.el:
5837 * vc/ediff-util.el:
5838 * vc/ediff-wind.el:
5839 * vc/ediff.el:
5840 * vc/emerge.el:
5841 * vc/pcvs.el:
5842 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5843 byte compiler. Remove some unused let-bound variables.
5844
4c528aab
SM
58452013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5846
5847 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5848 a "ref-cell", since it gets better optimized (bug#14883).
5849
bd15c390
GM
58502013-09-05 Glenn Morris <rgm@gnu.org>
5851
5852 * progmodes/cc-awk.el (c-forward-sws): Declare.
5853
1c3ac2e5
GM
58542013-09-04 Glenn Morris <rgm@gnu.org>
5855
5856 * generic-x.el [rul-generic-mode]: Require cc-mode.
5857 (c++-mode-syntax-table): Declare.
5858 (rul-generic-mode-syntax-table): Init in the defvar.
5859
52b1cc79
SM
58602013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5861
c828af56
SM
5862 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5863 (vc-do-command, vc-set-async-update):
5864 * vc/vc-mtn.el (vc-mtn-dir-status):
5865 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5866 (vc-hg-pull, vc-hg-merge-branch):
5867 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5868 (vc-git-merge-branch):
5869 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5870 (vc-cvs-dir-status-files):
5871 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5872 (vc-bzr-dir-status-files):
5873 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5874 * vc/vc-annotate.el: Use lexical-binding.
5875 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5876 (vc-sentinel-movepoint): Declare.
5877 (vc-annotate): Don't use `goto-line'.
5878 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5879 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5880 (vc-sentinel-movepoint): Declare.
5881 * vc/vc-svn.el: Use lexical-binding.
5882 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5883 * vc/vc-sccs.el:
5884 * vc/vc-rcs.el: Use lexical-binding.
5885
abae272c
SM
5886 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5887 `deleted'. Don't drop errors silently.
5888
52b1cc79
SM
5889 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5890
63191d9f
XF
58912013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5892
5893 * vc/vc.el (vc-ignore): Rewrite.
5894 (vc-default-ignore): New function.
5895 (vc-default-ignore-completion-table): Use find-ignore-file.
5896
5897 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5898 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5899 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5900 Remove. Most code moved to vc.el.
5901
9d3f707c
SM
59022013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5903
abae272c 5904 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
5905 * net/tramp-smb.el (tramp-smb-get-file-entries):
5906 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5907 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5908
fde38d49
SM
5909 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5910 Update call to it.
5911 (eww-change-select): Remove unused var `properties'.
5912 (eww-make-unique-file-name): Remove unused var `base'.
5913
5914 * finder.el (finder-compile-keywords): Don't mess with windows.
5915
84032db7
SM
5916 * calculator.el (calculator-funcall): Fix typo in last change.
5917
724f5e41
SM
5918 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5919
14b511d4
SM
5920 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5921 <pkg>-autoloads.el file stop us.
5922
9d3f707c 5923 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 5924 warnings, and factor out common code.
9d3f707c 5925
88527bc0
DG
59262013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5927
5928 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5929 two-character operators and whether the character preceding them
5930 changes their meaning (Bug#15208).
5931
96edb677
FEG
59322013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5933
5934 Format code sent to Python shell for robustness.
9d3f707c
SM
5935 * progmodes/python.el (python-shell-buffer-substring):
5936 New function.
96edb677
FEG
5937 (python-shell-send-region, python-shell-send-buffer): Use it.
5938
95beaef3
MA
59392013-09-02 Michael Albinus <michael.albinus@gmx.de>
5940
5941 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5942 * net/tramp.el (tramp-user-error): ... here.
5943 (tramp-find-method, tramp-check-proper-host)
5944 (tramp-dissect-file-name, tramp-debug-message)
5945 (tramp-handle-shell-command):
5946 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5947 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5948
5949 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5950
f167c27b
MR
59512013-09-02 Martin Rudalics <rudalics@gmx.at>
5952
5953 * avoid.el (mouse-avoidance-point-position)
5954 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5955 returns nil.
5956
cd16c5f1
FEG
59572013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5958
5959 * progmodes/python.el (python-shell-completion-get-completions):
5960 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 5961 (python-nav-if-name-main): New command.
cd16c5f1 5962
e73c3a0d
GM
59632013-09-01 Glenn Morris <rgm@gnu.org>
5964
f8ccce03
GM
5965 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5966 Avoid leading space in $wins. Otherwise the sed command used by
5967 eg compile-main ends up containing "/*.el". (Bug#15170)
5968
e73c3a0d
GM
5969 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5970
415f808e
GM
59712013-08-30 Glenn Morris <rgm@gnu.org>
5972
5973 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5974 Fix is-this-a-directory logic. (Bug#15220)
5975
f069bba8
SM
59762013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5977
112798c1
SM
5978 * textmodes/css-mode.el: Use SMIE.
5979 (css-smie-grammar): New var.
5980 (css-smie--forward-token, css-smie--backward-token)
5981 (css-smie-rules): New functions.
5982 (css-mode): Use them.
5983 (css-navigation-syntax-table): Remove var.
5984 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5985 (css-indent-calculate, css-indent-line): Remove functions.
5986
5987 Misc changes to reduce use of `(lambda...); and other cleanups.
5988 * cus-edit.el: Use lexical-binding.
5989 (customize-push-and-save, customize-apropos)
5990 (custom-buffer-create-internal): Use closures.
5991 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5992 * progmodes/ada-xref.el: Use setq.
5993 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5994 * dframe.el: Use lexical-binding.
5995 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5996 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5997 * descr-text.el: Use lexical-binding.
5998 (describe-text-widget, describe-text-sexp, describe-property-list):
5999 Use closures.
6000 * comint.el (comint-history-isearch-push-state): Use a closure.
6001 * calculator.el: Use lexical-binding.
6002 (calculator-number-to-string): Make it work with lexical-binding.
6003 (calculator-funcall): Same and use cl-letf.
6004
2da4c3ab
SM
6005 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6006 (lisp--company-doc-string, lisp--company-location): New functions.
6007 (lisp-completion-at-point): Use them to improve Company support.
6008
f069bba8
SM
6009 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6010 params of lambda expressions.
6011 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6012 (ruby-smie--opening-pipe-p): New function.
6013 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6014 symbols and matched |...| for formal params.
6015 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6016 from being treated as hanging. Handle "rescue".
6017
6758b6a8
GM
60182013-08-29 Glenn Morris <rgm@gnu.org>
6019
6020 * progmodes/cc-engine.el (c-pull-open-brace):
6021 Move definition before use.
6022
e8dfd197
SM
60232013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6024
6025 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6026 are immutable. Don't use `unsafe' any more.
6027 (cl--defsubst-expand): Don't substitute at the same time as keeping
6028 a residual unused let-binding. Don't use `unsafe' any more.
6029
cc585c96
GM
60302013-08-29 Glenn Morris <rgm@gnu.org>
6031
ba579ea6
GM
6032 * calendar/cal-china.el (calendar-chinese-year-cache):
6033 Recenter on 2015.
6034
8201a87e
GM
6035 * nxml/nxml-util.el (nxml-debug-clear-inside):
6036 Use cl-loop rather than loop.
6037
6ee877c7
GM
6038 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6039
cc585c96
GM
6040 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6041
27be8d39
GM
60422013-08-28 Glenn Morris <rgm@gnu.org>
6043
397440a1
GM
6044 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6045
2bb762d4
GM
6046 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6047
27be8d39
GM
6048 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6049
2d69b99e
SM
60502013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6051
f663baa7
SM
6052 * simple.el (repeat-complex-command--called-interactively-skip):
6053 New function.
6054 (repeat-complex-command): Use it (bug#14136).
6055
dd4f8b74
SM
6056 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6057 (c-define-abbrev-table): Add `doc' argument.
6058 (c-mode-abbrev-table, c++-mode-abbrev-table)
6059 (objc-mode-abbrev-table, java-mode-abbrev-table)
6060 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6061 (awk-mode-abbrev-table): Use it.
6062 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6063 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6064 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6065 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6066 Move initialization into the declaration; and remove any
6067 autoload cookie.
6068
b58969f7
SM
6069 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6070 and dynamic let binding.
6071
4021d6a6
SM
6072 * vc/smerge-mode.el: Remove redundant :group args.
6073
2d69b99e
SM
6074 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6075 to load-path.
6076
274919fd
JL
60772013-08-28 Juri Linkov <juri@jurta.org>
6078
6079 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6080 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6081 (isearch-other-meta-char): Handle an undefined shifted printing
6082 character by downshifting it. (Bug#15200)
6083
121f8c95
JL
60842013-08-28 Juri Linkov <juri@jurta.org>
6085
6086 * isearch.el (isearch-search): Change regexp error message for
6087 non-regexp searches. (Bug#15166)
6088
50b13cde
PE
60892013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6090
6091 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6092 for portability to hosts where /bin/sh has problems.
6093
95888bca
SM
60942013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6095
6096 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6097
bbe558f1
JL
60982013-08-27 Juri Linkov <juri@jurta.org>
6099
6100 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6101 in the keyboard macro. (Bug#15126)
6102
26f98a7d
JL
61032013-08-27 Juri Linkov <juri@jurta.org>
6104
6105 * isearch.el (isearch-quote-char): Comment out converting unibyte
6106 to multibyte, thus syncing with its `quoted-insert' counterpart.
6107 (Bug#15166)
6108
7c97d35e
MR
61092013-08-27 Martin Rudalics <rudalics@gmx.at>
6110
6111 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
6112 argument in call of get-largest-window (Bug#15185).
6113 Reported by Stephen Leake.
7c97d35e 6114
a0b5606e 61152013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
6116
6117 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6118
9e89d835
SM
61192013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6120
6121 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6122 from a matcher-function unless there's no more matches (bug#15161).
6123
78fc2530
MA
61242013-08-26 Michael Albinus <michael.albinus@gmx.de>
6125
6126 * minibuffer.el: Revert change from 2013-08-20.
6127
6128 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6129 with text property `tramp-default', if appropriate.
6130 (tramp-check-proper-host): New defun.
6131 (tramp-dissect-file-name): Do not check hostname. Revert change
6132 of 2013-03-18.
6133 (tramp-backtrace): Make VEC-OR-PROC optional.
6134
6135 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6136 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6137 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
6138 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6139 Apply `tramp-check-proper-host'.
78fc2530 6140
edca97cd
TH
61412013-08-26 Tassilo Horn <tsdh@gnu.org>
6142
6143 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6144 lambda expression in order to have `describe-variable' display it.
6145
df54bcbd
MA
61462013-08-26 Michael Albinus <michael.albinus@gmx.de>
6147
6148 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6149 BUF can be optional. (Bug#15186)
6150
eed99101
XF
61512013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6152
6153 * progmodes/flymake.el (flymake-get-real-file-name-function):
6154 Fix broken customization. (Bug#15184)
6155
b5eb9035
AM
61562013-08-25 Alan Mackenzie <acm@muc.de>
6157
8a51e842
AM
6158 Improve indentation of bracelists defined by macros (without "=").
6159
6160 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6161 expansion begins with "{", regard it as bracelist when it doesn't
6162 contain a ";".
6163
869455d4
AM
6164 Parse C++ inher-intro when there's a template split over 2 lines.
6165
6166 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6167 rigorously the search for "class" etc. followed by ":".
6168
6169 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6170 random languages a regexp which never matches rather than nil.
6171
b5eb9035
AM
6172 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6173
6174 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6175 (c-awk-regexp-one-line-possibly-open-char-list-re)
6176 (c-awk-one-line-possibly-open-regexp-re)
6177 (c-awk-one-line-non-syn-ws*-re): Remove.
6178 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6179 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6180 (c-awk-space*-unclosed-regexp-/-re): New constants.
6181 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6182 aren't regexp delimiters.
6183
6184 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6185 handling for a rare situation in AWK Mode involving unterminated
6186 strings/regexps.
6187
61611d54
GM
61882013-08-23 Glenn Morris <rgm@gnu.org>
6189
2d85dc34
GM
6190 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6191
cb8d2612
GM
6192 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6193
bb35f42f
GM
6194 * files.el (create-file-buffer): If the result would begin with
6195 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 6196
b9808e77
SM
61972013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6198
e3a66363
SM
6199 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6200 text-properties (bug#15155).
6201
b9808e77
SM
6202 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6203 exist any more.
6204 (calc-keypad-redraw): Remove unused var `pad'.
6205 (calc-keypad-press): Remove unused var `menu'.
6206
7fd5f65e
MR
62072013-08-23 Martin Rudalics <rudalics@gmx.at>
6208
b9808e77
SM
6209 * window.el (display-buffer-pop-up-frame):
6210 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
6211 use it as the new frame's buffer (Bug#15133).
6212
8352b530
SM
62132013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6214
6215 * calendar/timeclock.el: Minor cleanups.
6216 (timeclock-ask-before-exiting, timeclock-use-display-time):
6217 Use `symbol'.
6218 (timeclock-modeline-display): Define as alias before the
6219 actual definition.
6220 (timeclock-mode-line-display): Use define-minor-mode.
6221 (timeclock-day-list-template): Make it a function, add an argument.
6222 (timeclock-day-list-required, timeclock-day-list-length)
6223 (timeclock-day-list-debt, timeclock-day-list-span)
6224 (timeclock-day-list-break): Adjust calls accordingly.
6225
9f7b1925
SM
62262013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6227
6228 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6229 Use read--expression so that completion works again.
6230
6e50e983
SS
62312013-08-21 Sam Steingold <sds@gnu.org>
6232
6233 Add rudimentary inferior shell interaction
6234 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6235 (sh-set-shell): Reset it.
9f7b1925
SM
6236 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6237 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 6238
dbb0d350
SM
62392013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6240
6241 * align.el: Use lexical-binding.
6242 (align-region): Simplify accordingly.
6243
c88586a9
MA
62442013-08-20 Michael Albinus <michael.albinus@gmx.de>
6245
6246 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6247
6248 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6249 `non-essential' up.
6250
f95527c8
MA
62512013-08-17 Michael Albinus <michael.albinus@gmx.de>
6252
6253 * net/tramp.el:
6254 * net/tramp-adb.el:
6255 * net/tramp-cmds.el:
6256 * net/tramp-ftp.el:
6257 * net/tramp-gvfs.el:
6258 * net/tramp-gw.el:
6259 * net/tramp-sh.el: Don't wrap external variable declarations by
6260 `eval-when-compile'.
6261
4b5fe4ee
LMI
62622013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6263
6264 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6265 now that Emacs supports ImageMagick animations.
6266
13c366c9
MA
62672013-08-16 Michael Albinus <michael.albinus@gmx.de>
6268
6269 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6270 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6271
3dfc5cd6
MR
62722013-08-16 Martin Rudalics <rudalics@gmx.at>
6273
6274 * window.el (mouse-autoselect-window-select): Do autoselect when
6275 mouse pointer is on margin.
6276
4bbb4381
WP
62772013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6278
6279 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6280
3a2ddc2d
GM
62812013-08-16 Glenn Morris <rgm@gnu.org>
6282
e8bedf5a
GM
6283 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6284 Handle "Remote Directory" response of some clients. (Bug#15058)
6285
58c4682f
GM
6286 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6287 Tweak warning. (Bug#14926)
6288
57953f49
GM
6289 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6290 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6291
3a2ddc2d
GM
6292 * image-mode.el (image-mode-map): Add menu items to reverse,
6293 increase, decrease, reset animation speed.
6294 (image--set-speed, image-increase-speed, image-decrease-speed)
6295 (image-reverse-speed, image-reset-speed): New functions.
6296 (image-mode-map): Add bindings for speed commands.
6297
6298 * image.el (image-animate-get-speed, image-animate-set-speed):
6299 New functions.
6300 (image-animate-timeout): Respect image :speed property.
6301
10fa0ed3
SM
63022013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6303
6304 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6305 previous line (bug#15101).
6306 (debugger-eval-expression, debugger-record-expression):
6307 Use read--expression (bug#15102).
6308
5d89d9d2
MA
63092013-08-15 Michael Albinus <michael.albinus@gmx.de>
6310
6311 Remove byte compiler warnings, visible when compiling with
6312 `byte-compile-force-lexical-warnings' set to t.
6313
6314 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6315 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6316 (tramp-handle-unhandled-file-name-directory)
6317 (tramp-handle-file-notify-add-watch, tramp-action-login)
6318 (tramp-action-succeed, tramp-action-permission-denied)
6319 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6320 arguments with "_".
6321
6322 * net/tramp-adb.el (tramp-adb-parse-device-names)
6323 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6324 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6325 (tramp-adb-handle-file-truename): Remove unused arguments.
6326
6327 * net/tramp-cache.el (tramp-flush-directory-property)
6328 (tramp-flush-connection-property, tramp-list-connections)
6329 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6330
10fa0ed3
SM
6331 * net/tramp-compat.el (tramp-compat-make-temp-file):
6332 Rename FILENAME to F.
5d89d9d2
MA
6333
6334 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6335 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6336 (tramp-zeroconf-parse-workstation-device-names)
6337 (tramp-zeroconf-parse-webdav-device-names)
6338 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6339
6340 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6341 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6342
6343 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6344 arguments.
6345 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6346 (tramp-sh-handle-insert-file-contents-literally)
6347 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6348 with "_".
6349 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6350 Remove unused variables.
6351
6352 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6353 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6354 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6355
6356 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6357 Make them a defconst.
6358 (tramp-uuencode-region): Remove unused variable.
6359
62f33bae
JB
63602013-08-14 Juanma Barranquero <lekktu@gmail.com>
6361
6362 * frameset.el (frameset--prop-setter): New function.
6363 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
6364 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6365 parameter was already set in FILTERED. Doc fix.
6366 (frameset--record-minibuffer-relationships): Allow saving a
6367 minibufferless frame without its corresponding minibuffer frame.
6368 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6369 frame, if the frame id matches.
6370 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6371 frames before orphaned ones.
6372 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 6373
c660a885
MR
63742013-08-14 Martin Rudalics <rudalics@gmx.at>
6375
6376 * window.el (window-make-atom): Don't overwrite parameter
6377 already present.
6378 (display-buffer-in-atom-window): Handle special case where we
6379 split an already atomic window.
6380 (window--major-non-side-window, display-buffer-in-side-window)
6381 (window--side-check): Ignore minibuffer window when walking
6382 window tree.
6383 (window-deletable-p): Return 'frame only if no other frame uses
6384 our minibuffer window.
6385 (record-window-buffer): Run buffer-list-update-hook.
6386 (split-window): Make sure window--check-frame won't destroy an
6387 existing atomic window in case the new window gets nested
6388 inside.
6389 (display-buffer-at-bottom): Ignore minibuffer window when
6390 walking window tree. Don't split a side window.
6391 (pop-to-buffer): Don't set-buffer here, the select-window call
6392 should do that.
6393 (mouse-autoselect-window-select): Autoselect only if we are in the
6394 text portion of the window.
6395
8259030d
LMI
63962013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6397
21c58ae2
LMI
6398 * net/shr.el (shr-parse-image-data): New function to grab both the
6399 data itself and the Content-Type.
6400 (shr-put-image): Use it.
6401
6402 * net/eww.el (eww-display-image): Ditto.
6403
8259030d
LMI
6404 * image.el (image-content-type-suffixes): New variable.
6405
ad756449
FEG
64062013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6407
6408 * progmodes/python.el (python-imenu--build-tree)
6409 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6410
f73f4ce6
XF
64112013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6412
6413 * simple.el (backward-word): Mention the optional argument.
6414
1f585e65
SM
64152013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6416
6417 * frameset.el (frameset--make): Rename constructor from make-frameset.
6418 (frameset-p, frameset-valid-p): Don't autoload.
6419 (frameset-valid-p): Use normal accessors.
6420
af1c6c84
GM
64212013-08-13 Glenn Morris <rgm@gnu.org>
6422
55e47f95
GM
6423 * progmodes/compile.el (compile-command): Tweak example in doc.
6424 * obsolete/scribe.el (scribe-mode):
6425 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6426
f0024d8c
GM
6427 * mail/feedmail.el (feedmail-confirm-outgoing)
6428 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6429
6430 * cus-start.el (truncate-partial-width-windows): Fix type.
6431
6432 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6433
af1c6c84
GM
6434 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6435
5514cc4c
SM
64362013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6437
6438 * emacs-lisp/timer.el (timer--time-setter): New function.
6439 (timer--time): Use it as gv-setter.
6440
6441 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6442 setter is not a symbol.
6443
7997a2f1
GJ
64442013-08-12 Grégoire Jadi <daimrod@gmail.com>
6445
6446 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6447 if sending fails. This makes debugging easier.
6448
01f1a9ab
JB
64492013-08-12 Juanma Barranquero <lekktu@gmail.com>
6450
6451 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6452 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6453 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6454
594a4307
EZ
64552013-08-12 Eli Zaretskii <eliz@gnu.org>
6456
6457 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6458
7a22490f 64592013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
6460
6461 * format.el (format-annotate-function):
6462 Handle read-only text properties in the source. (Bug#14887)
6463
3e41a054
LMI
64642013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6465
5514cc4c
SM
6466 * net/eww.el (eww-display-html): Ignore coding system errors.
6467 One web site uses "utf-8lias" as the coding system.
3e41a054 6468
7ec326db
JB
64692013-08-11 Juanma Barranquero <lekktu@gmail.com>
6470
6471 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6472
5660113b
JB
64732013-08-10 Juanma Barranquero <lekktu@gmail.com>
6474
9a4ebc74
JB
6475 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6476 (tutorial--detailed-help): Remove unused local variables.
6477 (tutorial--save-tutorial-to): Use ignore-errors.
6478 (help-with-tutorial): Use looking-at-p.
6479
6480 * view.el (view-buffer-other-window, view-buffer-other-frame):
6481 Mark unused arguments.
6482
6483 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6484 (woman-select-symbol-fonts, woman, woman-find-file)
6485 (woman-insert-file-contents, woman-non-underline-faces):
6486 Use string-match-p.
6487 (woman1-unquote): Move declaration.
6488
6489 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6490 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6491 argument. Remove unused local variable.
6492 (xml-parse-elem-type): Use string-match-p.
6493 (xml-substitute-numeric-entities): Use ignore-errors.
6494
45fdb482
JB
6495 * calculator.el (calculator): Mark unused argument.
6496 (calculator-paste, calculator-quit, calculator-integer-p):
6497 Use ignore-errors.
6498 (calculator-string-to-number, calculator-decimal, calculator-exp)
6499 (calculator-op-or-exp): Use string-match-p.
6500
6501 * dired.el (dired-buffer-more-recently-used-p): Declare.
6502 (dired-insert-set-properties, dired-insert-old-subdirs):
6503 Use ignore-errors.
6504
6505 * dired-aux.el (dired-compress): Use ignore-errors.
6506 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6507 (dired-do-async-shell-command, dired-do-shell-command)
6508 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6509 (dired-insert-subdir-validate): Use string-match-p.
6510 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6511 (dired-add-entry): Use string-match-p, looking-at-p.
6512 (dired-insert-subdir-newpos): Remove unused local variable.
6513
6514 * filenotify.el (file-notify-callback): Remove unused local variable.
6515
6516 * filesets.el (filesets-error): Mark unused argument.
6517 (filesets-which-command-p, filesets-filter-dir-names)
6518 (filesets-directory-files, filesets-get-external-viewer)
6519 (filesets-ingroup-get-data): Use string-match-p.
6520
6521 * find-file.el (ff-other-file-name, ff-other-file-name)
6522 (ff-find-the-other-file, ff-cc-hh-converter):
6523 Remove unused local variables.
6524 (ff-get-file-name): Use string-match-p.
6525 (ff-all-dirs-under): Use ignore-errors.
6526
6527 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6528 (follow-select-if-visible): Remove unused local variable.
6529
6530 * forms.el (read-file-filter): Move declaration.
6531 (forms--make-format, forms--make-parser, forms-insert-record):
6532 Quote function with #'.
6533 (forms--update): Use string-match-p. Quote function with #'.
6534
6535 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6536 (help-make-xrefs): Use looking-at-p.
6537 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6538
6539 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6540 (ibuffer-confirm-operation-on): Use string-match-p.
6541
6542 * msb.el (msb-item-handler, msb-dired-item-handler):
6543 Mark unused arguments.
6544
6545 * ses.el (ses-decode-cell-symbol)
6546 (ses-kill-override): Remove unused local variable.
6547 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6548 (ses-load): Use ignore-errors, looking-at-p.
6549 (ses-jump-safe): Use ignore-errors.
6550 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6551
6552 * tabify.el (untabify, tabify): Mark unused arguments.
6553
6554 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6555 Mark unused argument.
6556 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6557 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6558
c880af52
JB
6559 * emacs-lisp/timer.el (timer--time): Define setter with
6560 gv-define-setter to avoid deprecation warning.
6561
5660113b 6562 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 6563 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
6564 (cmpl-statistics-block): Remove (body was commented out).
6565 All callers changed.
6566 (add-completions-from-buffer, load-completions-from-file):
6567 Remove unused variables.
6568
156aab80
JB
65692013-08-09 Juanma Barranquero <lekktu@gmail.com>
6570
5c5dee78
JB
6571 * filecache.el (file-cache-delete-file-list):
6572 Print message only when told so.
6573 (file-cache-files-matching): Use #' in mapconcat argument.
6574
156aab80
JB
6575 * ffap.el (ffap-url-at-point): Fix reference to variable
6576 thing-at-point-default-mail-uri-scheme.
6577
ad9dcd70
SM
65782013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6579
54bd972f
SM
6580 * subr.el (define-error): New function.
6581 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6582 error-file-not-found and define with define-error.
6583 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6584 and define with define-error.
6585 * userlock.el (file-locked, file-supersession):
6586 * simple.el (mark-inactive):
6587 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6588 * progmodes/ada-mode.el (ada-mode-errors):
6589 * play/life.el (life-extinct):
6590 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6591 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6592 * nxml/rng-util.el (rng-error):
6593 * nxml/rng-uri.el (rng-uri-error):
6594 * nxml/rng-match.el (rng-compile-error):
6595 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6596 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6597 * nxml/nxml-rap.el (nxml-scan-error):
6598 * nxml/nxml-outln.el (nxml-outline-error):
6599 * net/soap-client.el (soap-error):
6600 * net/gnutls.el (gnutls-error):
6601 * net/ange-ftp.el (ftp-error):
6602 * mpc.el (mpc-proc-error):
6603 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6604 (json-number-format, json-string-escape, json-string-format)
6605 (json-key-format, json-object-format):
6606 * jka-compr.el (compression-error):
6607 * international/quail.el (quail-error):
6608 * international/kkc.el (kkc-error):
6609 * emacs-lisp/ert.el (ert-test-failed):
6610 * calc/calc.el (calc-error, inexact-result, math-overflow)
6611 (math-underflow):
6612 * bookmark.el (bookmark-error-no-filename):
6613 * epg.el (epg-error): Define with define-error.
6614
0ea9e53a
SM
6615 * time.el (display-time-event-handler)
6616 (display-time-next-load-average): Don't call sit-for since it seems
6617 unnecessary (bug#15045).
6618
b0429158
SM
6619 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6620 Use #' instead of ' to quote functions.
6621 (checkdoc-output-mode): Use setq-local.
6622 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6623 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6624 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6625 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6626 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6627 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6628 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6629 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6630
ad9dcd70
SM
6631 * ido.el (ido-completion-help): Fix up compiler warning.
6632
77187e6f
JB
66332013-08-09 Juanma Barranquero <lekktu@gmail.com>
6634
6635 * frameset.el (frameset-p): Add autoload cookie.
6636 (frameset--jump-to-register): New function, based on code moved from
6637 register.el.
6638 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6639
6640 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6641 (frameset-restore, frameset-save, frameset-session-filter-alist):
6642 Remove declarations.
6643 (register-alist): Doc fix.
6644 (frameset-to-register): Move to frameset.el.
6645 (jump-to-register, describe-register-1): Remove frameset-specific code.
6646
9d3aa82c
JB
66472013-08-08 Juanma Barranquero <lekktu@gmail.com>
6648
6649 * allout-widgets.el (allout-widgets-pre-command-business)
6650 (allout-widgets-post-command-business)
6651 (allout-widgets-after-change-handler)
6652 (allout-decorate-item-and-context, allout-set-boundary-marker)
6653 (allout-body-modification-handler)
6654 (allout-graphics-modification-handler): Mark ignored arguments.
6655 (allout-widgets-post-command-business)
6656 (allout-widgets-exposure-change-processor)
6657 (allout-widgets-exposure-undo-processor)
6658 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6659 (allout-parse-item-at-point, allout-decorate-item-guides)
6660 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6661 * allout.el (epa-passphrase-callback-function): Declare.
6662 (allout-overlay-insert-in-front-handler)
6663 (allout-overlay-interior-modification-handler)
6664 (allout-isearch-end-handler, allout-chart-siblings)
6665 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6666 (allout-yank-processing, allout-process-exposed)
6667 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 6668 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
6669 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6670 (lisp-indent-defform): Mark ignored arguments.
6671 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6672 (calculate-lisp-indent): Remove unused variables.
6673 * international/characters.el (indian-2-column, arabic-2-column)
6674 (tibetan): Mark ignored arguments.
6675 (use-cjk-char-width-table): Mark ignored arguments.
6676 Remove unused variables.
6677 * international/fontset.el (build-default-fontset-data)
6678 (x-compose-font-name, create-fontset-from-fontset-spec):
6679 Mark ignored arguments.
6680 (fontset-plain-name): Remove unused variables.
6681 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6682 (keyboard-coding-system): Mark ignored arguments.
6683 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6684 * help.el (resize-temp-buffer-window):
6685 * window.el (display-buffer-in-major-side-window)
6686 (display-buffer-in-side-window, display-buffer-in-previous-window):
6687 Remove unused variables.
6688 * isearch.el (isearch-forward-symbol):
6689 * version.el (emacs-bzr-version-bzr):
6690 * international/mule-cmds.el (current-language-environment):
6691 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6692 (x-handle-display):
6693 * term/pc-win.el (x-list-fonts, x-display-planes)
6694 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6695 (x-server-version, x-display-screens, x-display-mm-height)
6696 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6697 (x-selection-owner-p, x-own-selection-internal)
6698 (x-disown-selection-internal, x-get-selection-internal)
6699 (msdos-initialize-window-system):
6700 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6701 * term/x-win.el (x-handle-no-bitmap-icon):
6702 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6703 (vc-default-find-file-hook, vc-default-extra-menu):
6704 Mark ignored arguments.
6705
0ca3f70e
SM
67062013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6707
6708 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6709 break-condition in the context of the debugged code (bug#12685).
6710
74c5d24c
CS
67112013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6712
6713 * comint.el:
6714 Do not use an overlay to highlight the last prompt. (Bug#14744)
6715 (comint-mode): Make comint-last-prompt buffer local.
6716 (comint-last-prompt): New variable.
6717 (comint-last-prompt-overlay): Remove. Superseded by
6718 comint-last-prompt.
0ca3f70e
SM
6719 (comint-snapshot-last-prompt, comint-output-filter):
6720 Use comint-last-prompt.
74c5d24c 6721
c03c02ee
JB
67222013-08-08 Juanma Barranquero <lekktu@gmail.com>
6723
a3738d20 6724 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
6725 (frameset-save): Check validity of the resulting frameset.
6726
04263d23
XF
67272013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6728
6729 * ido.el (ido-record-command): Add doc string.
6730
76c5e5ab
JB
67312013-08-08 Juanma Barranquero <lekktu@gmail.com>
6732
6733 * frameset.el (frameset): Do not disable creation of the default
6734 frameset-p predicate. Doc fix.
6735 (frameset-valid-p): New function, copied from the old predicate-p.
6736 Add additional checks.
6737 (frameset-restore): Check with frameset-valid-p.
6738 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6739 (frameset-name, frameset-description, frameset-properties)
6740 (frameset-states): Add docstring.
f9dbf1cb
JB
6741 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6742 (frameset-filter-alist): Doc fixes.
76c5e5ab 6743
bd0c3c0b
JB
67442013-08-08 Juanma Barranquero <lekktu@gmail.com>
6745
6746 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6747
c735544c
SM
67482013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6749
6750 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6751 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6752 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6753 (byte-compile-normal-call): Remove obsolescence check.
6754
2805a651
JB
67552013-08-08 Juanma Barranquero <lekktu@gmail.com>
6756
3677ffeb
JB
6757 * frameset.el (frameset-restore): Doc fix.
6758
2805a651
JB
6759 * register.el (frameset-frame-id, frameset-frame-with-id)
6760 (frameset-p, frameset-restore, frameset-save): Declare.
6761 (register-alist): Document framesets.
6762 (frameset-session-filter-alist): Declare.
6763 (frameset-to-register): New function.
6764 (jump-to-register): Implement jumping to framesets. Doc fix.
6765 (describe-register-1): Describe framesets.
6766
6767 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6768
a912c016
JB
67692013-08-07 Juanma Barranquero <lekktu@gmail.com>
6770
6771 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6772 Use lexical-binding.
6773
6774 * frameset.el (frameset): Use type vector, not list (incompatible
6775 change). Do not declare a new constructor, use the default one.
6776 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6777 `name' and `description', respectively, and add read-only slot
6778 `timestamp'. Doc fixes.
6779 (frameset-copy, frameset-persistent-filter-alist)
6780 (frameset-filter-alist, frameset-switch-to-gui-p)
6781 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6782 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6783 (frameset-filter-iconified, frameset-keep-original-display-p):
6784 Doc fixes.
6785 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6786 Rename from frameset-filter-(save|restore)-param. All callers changed.
6787 Doc fix.
6788 (frameset-p): Adapt to change to vector and be more thorough.
6789 Change arg name to OBJECT. Doc fix.
6790 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6791 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6792 All callers changed.
6793 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6794 All callers changed.
6795 (frameset--record-minibuffer-relationships): Rename from
6796 frameset--process-minibuffer-frames. All callers changed.
6797 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6798 Use new default constructor (again). Doc fix.
6799 (frameset--find-frame-if): Rename from `frameset--find-frame.
6800 All callers changed.
6801 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6802 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6803 Doc fix.
6804 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6805 PARAMETERS and WINDOW-STATE, respectively.
6806 (frameset-restore): Add new keyword argument PREDICATE.
6807 Reset frameset--target-display to nil. Doc fix.
6808
bb41480a
SM
68092013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6810
f001e98e
SM
6811 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6812 (bat-mode): Use it.
6813 (bat-mode-syntax-table): Mark \n as end-of-comment.
6814 (bat-font-lock-keywords): Remove comment rule.
6815
7679edb1
SM
6816 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6817 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6818
bb41480a
SM
6819 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6820 (byte-compile-callargs-warn): Use `push'.
6821 (byte-compile-arglist-warn): Ignore higher-order "calls".
6822 (byte-compile-file-form-autoload): Use `pcase'.
6823 (byte-compile-function-form): If quoting a symbol, check that it exists.
6824
cdc1ebb9
EZ
68252013-08-07 Eli Zaretskii <eliz@gnu.org>
6826
6827 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6828 and add a few popular commands found in batch files.
6829 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6830 (dos-mode): Doc fixes.
6831
312b1740
SM
68322013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6833
6834 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6835 (dos-mode): Use setq-local. Add space after "rem".
6836 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6837 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6838
400a3178
AM
68392013-08-07 Arni Magnusson <arnima@hafro.is>
6840
6841 * progmodes/dos.el: New file.
6842 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6843 dos-mode.
6844
3b5c03d3
GM
68452013-08-06 Glenn Morris <rgm@gnu.org>
6846
6847 * calendar/calendar.el: Add new faces, and day-header-array.
6848 (calendar-weekday-header, calendar-weekend-header)
6849 (calendar-month-header): New faces.
6850 (calendar-day-header-construct): New function.
6851 (calendar-day-header-width): Also :set calendar-day-header-array.
6852 (calendar-american-month-header, calendar-european-month-header)
6853 (calendar-iso-month-header): Use calendar- faces.
6854 (calendar-generate-month):
6855 Use calendar-day-header-array for day headers; apply faces to them.
6856 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6857 (calendar-abbrev-construct): Add optional maxlen argument.
6858 (calendar-day-name-array): Doc fix.
6859 (calendar-day-name-array, calendar-abbrev-length)
6860 (calendar-day-abbrev-array):
6861 Also :set calendar-day-header-array, and maybe redraw.
6862 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 6863 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
6864 (calendar-day-name): Add option to use header array.
6865
ec6a2d7a
LMI
68662013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6867
6868 * net/shr.el (shr-render-td): Remove debugging.
6869 (shr-render-td): Make width computation consistent by defaulting
6870 all zero-width columns to 10 characters. This may not be optimal,
6871 but it's at least consistent.
2122cb6d
LMI
6872 (shr-make-table-1): Redo last change to fix the real problem in
6873 colspan handling.
ec6a2d7a 6874
ed4fd9c5
DA
68752013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6876
0ca3f70e
SM
6877 * files.el (cache-long-line-scans):
6878 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 6879
64e22afe
JB
68802013-08-06 Juanma Barranquero <lekktu@gmail.com>
6881
024b38fc
JB
6882 * frameset.el (frameset, frameset-filter-alist)
6883 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6884 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6885 (frameset-compute-pos): Rename from frameset--compute-pos,
6886 and add docstring.
6887 (frameset-move-onscreen): Use frameset-compute-pos.
6888 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6889
64e22afe
JB
6890 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6891 Fix typos in docstrings.
6892
c8c2aca8
DA
68932013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6894
6895 * frame.el (get-other-frame): Tiny cleanup.
6896
1d237bba
JB
68972013-08-06 Juanma Barranquero <lekktu@gmail.com>
6898
8951efef
JB
6899 * vc/vc.el (vc-default-ignore-completion-table):
6900 Silence byte-compiler warning.
6901
307764cc 6902 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 6903 slot, which can indeed be nil.
307764cc
JB
6904 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6905 Move entry for `left' from persistent to live filter alist.
6906 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6907 Doc fixes.
6908 (frameset-filter-params): When restoring a frame, copy items added to
6909 `filtered', to avoid unwittingly modifying the original parameters.
6910 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6911 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6912
1d237bba
JB
6913 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6914 to use looking-at-p instead of looking-at. (Bug#15028)
6915
dc6c0eda
SM
69162013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6917
6918 Revert introduction of isearch-filter-predicates (bug#14714).
6919 Rely on add-function instead.
6920 * isearch.el (isearch-filter-predicates): Rename it back to
6921 isearch-filter-predicate.
6922 (isearch-message-prefix): Use advice-function-mapc and advice
6923 properties to get the isearch-message-prefix.
6924 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6925 instead of run-hook-with-args-until-failure.
6926 (isearch-filter-visible): Not obsolete any more.
6927 * loadup.el: Preload nadvice.
6928 * replace.el (perform-replace): Revert to funcall
6929 instead of run-hook-with-args-until-failure.
6930 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6931 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6932 dired-isearch-filenames-toggle; make it into a proper minor mode.
6933 Use add/remove-function.
6934 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6935 Call the minor-mode rather than add/remove-hook.
6936 (dired-isearch-filter-filenames):
6937 Remove isearch-message-prefix property.
6938 * info.el (Info--search-loop): New function, extracted from Info-search.
6939 Funcall isearch-filter-predicate instead of
6940 run-hook-with-args-until-failure isearch-filter-predicates.
6941 (Info-search): Use it.
6942 (Info-mode): Use isearch-filter-predicate instead of
6943 isearch-filter-predicates.
6944
290d5b58
DA
69452013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6946
6947 Do not call to `selected-window' where it is assumed by default.
6948 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6949 `window-hscroll', `window-width', `window-height', `window-buffer',
6950 `window-frame', `window-start', `window-point', `next-window'
6951 and `window-display-table'.
6952 * abbrev.el (abbrev--default-expand):
6953 * bs.el (bs--show-with-configuration):
6954 * buff-menu.el (Buffer-menu-mouse-select):
6955 * calc/calc.el (calc):
6956 * calendar/calendar.el (calendar-generate-window):
6957 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6958 (diary-make-entry):
6959 * comint.el (send-invisible, comint-dynamic-complete-filename)
6960 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6961 * completion.el (complete):
6962 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6963 * disp-table.el (describe-current-display-table):
6964 * doc-view.el (doc-view-insert-image):
6965 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6966 * ehelp.el (with-electric-help):
6967 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6968 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6969 * emacs-lisp/helper.el (Helper-help-scroller):
6970 * emulation/cua-base.el (cua--post-command-handler-1):
6971 * eshell/esh-mode.el (eshell-output-filter):
6972 * ffap.el (ffap-gnus-wrapper):
6973 * help-macro.el (make-help-screen):
6974 * hilit-chg.el (highlight-compare-buffers):
6975 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6976 * hl-line.el (global-hl-line-highlight):
6977 * icomplete.el (icomplete-simple-completing-p):
6978 * isearch.el (isearch-done):
6979 * jit-lock.el (jit-lock-stealth-fontify):
6980 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 6981 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
6982 * mpc.el (mpc-tagbrowser, mpc):
6983 * net/rcirc.el (rcirc-any-buffer):
6984 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6985 * play/landmark.el (landmark-max-width, landmark-max-height):
6986 * play/zone.el (zone):
6987 * progmodes/compile.el (compilation-goto-locus):
6988 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6989 * progmodes/etags.el (find-tag-other-window):
6990 * progmodes/fortran.el (fortran-column-ruler):
6991 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6992 * progmodes/verilog-mode.el (verilog-point-text):
6993 * reposition.el (reposition-window):
6994 * rot13.el (toggle-rot13-mode):
6995 * server.el (server-switch-buffer):
6996 * shell.el (shell-dynamic-complete-command)
6997 (shell-dynamic-complete-environment-variable):
6998 * simple.el (insert-buffer, set-selective-display)
6999 (delete-completion-window):
7000 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7001 (speedbar-recenter):
7002 * startup.el (fancy-splash-head):
7003 * textmodes/ispell.el (ispell-command-loop):
7004 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7005 * tutorial.el (help-with-tutorial):
7006 * vc/add-log.el (add-change-log-entry):
7007 * vc/compare-w.el (compare-windows):
7008 * vc/ediff-help.el (ediff-indent-help-message):
7009 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7010 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7011 (ediff-setup-control-frame):
7012 * vc/emerge.el (emerge-position-region):
7013 * vc/pcvs-util.el (cvs-bury-buffer):
7014 * window.el (walk-windows, mouse-autoselect-window-select):
7015 * winner.el (winner-set-conf, winner-undo): Related users changed.
7016
38276e01
JB
70172013-08-05 Juanma Barranquero <lekktu@gmail.com>
7018
7019 * frameset.el (frameset--set-id): Doc fix.
7020 (frameset-frame-id, frameset-frame-id-equal-p)
7021 (frameset-locate-frame-id): New functions.
7022 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7023 (frameset-restore): Use them.
7024
12b4c0ea
DA
70252013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7026
7027 Do not call to `selected-frame' where it is assumed by default.
7028 Affected functions are `raise-frame', `redraw-frame',
7029 `frame-first-window', `frame-terminal' and `delete-frame'.
7030 * calendar/appt.el (appt-disp-window):
7031 * epg.el (epg-wait-for-completion):
7032 * follow.el (follow-delete-other-windows-and-split)
7033 (follow-avoid-tail-recenter):
7034 * international/mule.el (set-terminal-coding-system):
7035 * mail/rmail.el (rmail-mail-return):
7036 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7037 * progmodes/f90.el (f90-add-imenu-menu):
7038 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7039 * server.el (server-switch-buffer):
7040 * simple.el (delete-completion-window):
7041 * talk.el (talk):
7042 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7043 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7044 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7045 * vc/ediff.el (ediff-documentation): Related users changed.
7046 * frame.el (selected-terminal): Remove the leftover.
7047
17f25e76
GM
70482013-08-05 Glenn Morris <rgm@gnu.org>
7049
7050 * calendar/calendar.el (calendar-generate-month):
7051 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
7052 (calendar-generate-month, calendar-font-lock-keywords):
7053 Fix for calendar-day-header-width > length of any day name.
17f25e76 7054
063233c3
JB
70552013-08-05 Juanma Barranquero <lekktu@gmail.com>
7056
7057 * desktop.el (desktop-clear): Use new name of sort predicate.
7058
7059 * frameset.el (frameset): Add docstring. Move :version property to its
7060 own `version' slot.
7061 (frameset-copy): Rename from copy-frameset.
7062 (frameset-p): Check more thoroughly.
7063 (frameset-prop): Do not check for :version, which is no longer a prop.
7064 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7065 Use new :never value instead of t.
7066 (frameset-filter-alist): Expand and clarify docstring.
7067 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7068 (frameset-filter-minibuffer, frameset-filter-save-param)
7069 (frameset-filter-restore-param, frameset-filter-iconified):
7070 Add pointer to docstring of frameset-filter-alist.
7071 (frameset-filter-params): Rename filter values to be more meaningful:
7072 :never instead of t, and reverse the meanings of :save and :restore.
7073 (frameset--process-minibuffer-frames): Clarify error message.
7074 (frameset-save): Avoid unnecessary and confusing call to framep.
7075 Use new BOA constructor for framesets.
7076 (frameset--reuse-list): Doc fix.
7077 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7078 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7079 (frameset-minibufferless-first-p): Doc fix.
7080 Rename from frameset-sort-frames-for-deletion.
7081 (frameset-restore): Doc fixes. Use new function names.
7082 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7083
d5671a82
JB
70842013-08-04 Juanma Barranquero <lekktu@gmail.com>
7085
7086 * desktop.el (desktop-restore-forces-onscreen)
7087 (desktop-restore-reuses-frames): Document :keyword constant values.
7088 (desktop-filter-parameters-alist): Remove, now identical to
7089 frameset-filter-alist.
7090 (desktop--filter-tty*): Remove, moved to frameset.el.
7091 (desktop-save-frameset, desktop-restore-frameset):
7092 Do not pass :filters argument.
7093
7094 * frameset.el (frameset-live-filter-alist)
7095 (frameset-persistent-filter-alist): New variables.
7096 (frameset-filter-alist): Use them. Add autoload cookie.
7097 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7098 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7099 `frameset--id' (it's supposed to be internal to frameset.el).
7100 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7101 (frameset--initial-params): New function.
7102 (frameset--get-frame): Use it. Doc fix.
7103 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7104 Accept :all, not 'all.
7105 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7106 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7107 with fbound symbols. Fix frame id matching, and remove matching ids if
7108 the frame being restored is deleted. Obey :delete.
7109
671d5c16
SM
71102013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7111
7112 * subr.el (macrop): New function.
7113 (text-clone--maintaining): New var.
7114 (text-clone--maintain): Rename from text-clone-maintain. Use it
7115 instead of inhibit-modification-hooks.
7116
7117 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7118 a proxy, so as handle autoloads and redefinitions of the target.
7119 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7120
7121 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7122 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7123 (pcase--mutually-exclusive-p): New function.
7124 (pcase--split-consp): Use it.
7125 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7126 mutually exclusive with the current predicate.
7127
7128 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7129 (edebug-macrop): Remove. Use `macrop' instead.
7130 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7131 (ad-macro-p):
7132 * eshell/esh-cmd.el (eshell-macrop):
7133 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7134
1d44e9dc
SM
71352013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7136
7137 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7138 (advice-mapc): New function, using it.
7139 (advice-function-member-p): New function.
7140 (advice--normalize): Store the cdr in advice--saved-rewrite since
7141 that's the part that will be changed.
7142 (advice--symbol-function): New function.
7143 (advice-remove): Handle removal before the function is defined.
7144 Adjust to new advice--saved-rewrite.
7145 (advice-member-p): Use advice-function-member-p and
7146 advice--symbol-function.
7147
5414a283
JB
71482013-08-04 Juanma Barranquero <lekktu@gmail.com>
7149
51d30f2c
JB
7150 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7151 (frameset-filter-minibuffer): Doc fix.
7152 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
7153 (frameset--set-id, frameset--process-minibuffer-frames)
7154 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7155 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 7156
5414a283
JB
7157 * desktop.el (desktop-clear): Only delete frames when called
7158 interactively and desktop-restore-frames is non-nil. Doc fix.
7159 (desktop-read): Set desktop-saved-frameset to nil.
7160
ab419665
XF
71612013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7162
7163 * vc/vc.el (vc-ignore): Rewrite.
7164 (vc-default-ignore-completion-table):
7165 (vc--read-lines):
7166 (vc--add-line, vc--remove-regexp): New functions.
7167
7168 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7169 (vc-svn-ignore-completion-table): New function.
7170
7171 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7172 (vc-hg-ignore-completion-table):
7173 (vc-hg-find-ignore-file): New functions.
7174
7175 * vc/vc-git.el (vc-git-ignore): Rewrite.
7176 (vc-git-ignore-completion-table):
7177 (vc-git-find-ignore-file): New functions.
7178
7179 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7180
7181 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7182 (vc-bzr-ignore-completion-table):
7183 (vc-bzr-find-ignore-file): New functions.
7184
2613dea2
JB
71852013-08-03 Juanma Barranquero <lekktu@gmail.com>
7186
7187 * frameset.el (frameset-prop): New function and setter.
7188 (frameset-save): Do not modify frame list passed by the caller.
7189
9c959872
SM
71902013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7191
7192 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7193
a104f656
SM
71942013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7195
70122acf
SM
7196 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7197 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7198
a104f656
SM
7199 * custom.el (custom-initialize-default, custom-initialize-set)
7200 (custom-initialize-reset, custom-initialize-changed): Affect the
7201 toplevel-default-value (bug#6275, bug#14586).
7202 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7203 for bug#6275.
7204
f078d570
JB
72052013-08-02 Juanma Barranquero <lekktu@gmail.com>
7206
185e3b5a
JB
7207 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7208 Add cl-def* expressions.
7209
f078d570
JB
7210 * frameset.el (frameset-filter-params): Fix order of arguments.
7211
9421876d
JB
72122013-08-02 Juanma Barranquero <lekktu@gmail.com>
7213
7214 Move code related to saving frames to frameset.el.
7215 * desktop.el: Require frameset.
7216 (desktop-restore-frames): Doc fix.
7217 (desktop-restore-reuses-frames): Rename from
7218 desktop-restoring-reuses-frames.
7219 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7220 (desktop-clear): Clear frames too.
7221 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7222 (desktop--filter-tty*, desktop-save, desktop-read):
7223 Use frameset functions.
7224 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7225 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7226 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7227 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7228 (desktop--process-minibuffer-frames, desktop-save-frames)
7229 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7230 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7231 (desktop--sort-states, desktop-restoring-frames-p)
7232 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7233 (desktop-restoring-frameset-p, desktop-restore-frameset)
7234 (desktop--check-dont-save, desktop-save-frameset): New functions.
7235 (desktop--app-id): New constant.
7236 (desktop-first-buffer, desktop-buffer-ok-count)
7237 (desktop-buffer-fail-count): Move before first use.
7238 * frameset.el: New file.
7239
76dc5996
SM
72402013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7241
7242 * files.el: Use lexical-binding.
7243 (dir-locals-read-from-file): Remove unused `err' variable.
7244 (hack-dir-local-variables--warned-coding): New var.
7245 (hack-dir-local-variables): Use it to avoid repeated warnings.
7246 (make-backup-file-name--default-function): New function.
7247 (make-backup-file-name-function): Use it as default.
7248 (buffer-stale--default-function): New function.
7249 (buffer-stale-function): Use it as default.
7250 (revert-buffer-insert-file-contents--default-function): New function.
7251 (revert-buffer-insert-file-contents-function): Use it as default.
7252 (insert-directory): Avoid add-to-list.
7253
7254 * autorevert.el (auto-revert-handler): Simplify.
7255 Use buffer-stale--default-function.
7256
06d36e2b
TH
72572013-08-01 Tassilo Horn <tsdh@gnu.org>
7258
5f648ab4
TH
7259 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7260
06d36e2b
TH
7261 * whitespace.el (whitespace-ensure-local-variables): New function.
7262 (whitespace-cleanup-region): Call it.
7263 (whitespace-turn-on): Call it.
7264
a43dc424
MA
72652013-08-01 Michael Albinus <michael.albinus@gmx.de>
7266
7267 Complete file name handlers.
7268
7269 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7270 (tramp-handle-verify-visited-file-modtime)
7271 (tramp-handle-file-notify-rm-watch): New functions.
7272 (tramp-call-process): Do not bind `default-directory'.
7273
44e18199
JB
7274 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7275 Order alphabetically.
a43dc424
MA
7276 [access-file, add-name-to-file, dired-call-process]:
7277 [dired-compress-file, file-acl, file-notify-rm-watch]:
7278 [file-ownership-preserved-p, file-selinux-context]:
7279 [make-directory-internal, make-symbolic-link, set-file-acl]:
7280 [set-file-selinux-context, set-visited-file-modtime]:
7281 [verify-visited-file-modtime]: Add handler.
7282 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7283
7284 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7285 [file-notify-add-watch, file-notify-rm-watch]:
7286 [set-file-times, set-visited-file-modtime]:
7287 [verify-visited-file-modtime]: Add handler.
7288 (with-tramp-gvfs-error-message)
7289 (tramp-gvfs-handle-set-visited-file-modtime)
7290 (tramp-gvfs-fuse-file-name): Remove.
7291 (tramp-gvfs-handle-file-notify-add-watch)
7292 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7293 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7294
44e18199
JB
7295 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7296 Order alphabetically.
a43dc424
MA
7297 [file-notify-rm-watch ]: Use default Tramp handler.
7298 [executable-find]: Remove private handler.
7299 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7300 `default-directory'.
7301 (tramp-sh-handle-executable-find)
7302 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7303 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7304 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7305 Do not use `format' in `tramp-message'.
7306
7307 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7308 [file-notify-rm-watch, set-visited-file-modtime]:
7309 [verify-visited-file-modtime]: Add handler.
7310 (tramp-smb-call-winexe): Do not bind `default-directory'.
7311
7188b515
XF
73122013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7313
7314 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7315
2412ee1a
DG
73162013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7317
7318 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7319 use it.
7320 (log-view-diff-changeset): Same.
7321 (log-view-diff-common): Call backend command `previous-revision'
7322 to find out the previous revision, in both cases. Swap the
7323 variables `to' and `fr', so that `fr' usually refers to the
7324 earlier revision (Bug#14989).
7325
5002a754
KRC
73262013-07-31 Kan-Ru Chen <kanru@kanru.info>
7327
7328 * ibuf-ext.el (ibuffer-filter-by-filename):
7329 Make it work with dired buffers too.
7330
44e18199 73312013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
7332
7333 * emacs-lisp/re-builder.el (reb-color-display-p):
7334 * files.el (save-buffers-kill-terminal):
7335 * net/browse-url.el (browse-url):
7336 * server.el (server-save-buffers-kill-terminal):
7337 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7338 Prefer nil to selected-frame for the first arg of frame-parameter.
7339
aeca3fbb
XF
73402013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7341
7342 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7343
158bc55c
SB
73442013-07-30 Stephen Berman <stephen.berman@gmx.net>
7345
7346 * minibuffer.el (completion--twq-all): Try and preserve each
7347 completion's case choice (bug#14907).
7348
d50fceab
LMI
73492013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7350
ac38e731
LMI
7351 * net/network-stream.el (open-network-stream): Mention the new
7352 :nogreeting parameter.
7353 (network-stream-open-starttls): Use the :nogreeting parameter
7354 (bug#14938).
7355
1211de50
LMI
7356 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7357
997798bf
LMI
7358 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7359 more natural than popping.
7360
d50fceab 7361 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 7362 (shr-urlify): Highlight under mouse.
d50fceab 7363
5c09de04
XF
73642013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7365
207d1d04
XF
7366 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7367
7368 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7369
5c09de04
XF
7370 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7371 buffer for output.
7372
3cd51eaa
XF
7373 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7374 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 7375
44e18199 7376 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 7377 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
7378
7379 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7380
7381 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7382 buffer for output.
7383
35a89bdd
EZ
73842013-07-29 Eli Zaretskii <eliz@gnu.org>
7385
7386 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7387 initial frame is minibuffer-less. (Bug#14841)
7388
78822e94
MA
73892013-07-29 Michael Albinus <michael.albinus@gmx.de>
7390
7391 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7392 option.
7393
7394 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7395 (tramp-maybe-open-connection): Use it.
7396
9503c190
JB
73972013-07-28 Juanma Barranquero <lekktu@gmail.com>
7398
7399 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7400 minimal set of parameters passed when creating a frame, because
7401 the minibuffer status of a frame cannot be changed later.
7402
d5a845b4
SB
74032013-07-28 Stephen Berman <stephen.berman@gmx.net>
7404
7405 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7406 replace-regexp-in-string and inadvertent omissions in previous change.
7407 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 7408 name of filtered items buffer.
d5a845b4 7409
ddeffb17
JB
74102013-07-28 Juanma Barranquero <lekktu@gmail.com>
7411
7412 * desktop.el: Optionally force offscreen frames back onscreen.
7413 (desktop-restoring-reuses-frames): New option.
7414 (desktop--compute-pos, desktop--move-onscreen): New functions.
7415 (desktop--make-frame): Use desktop--move-onscreen.
7416
f5950f7a
AM
74172013-07-27 Alan Mackenzie <acm@muc.de>
7418
7419 Fontify a Java generic method as a function.
7420 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7421 value to t.
7422
ae43b66a
SB
74232013-07-27 Stephen Berman <stephen.berman@gmx.net>
7424
7425 * calendar/todo-mode.el: Add command to rename todo files.
7426 (todo-rename-file): New command.
7427 (todo-key-bindings-t): Add key binding for it. Change the
7428 bindings of todo-filter-regexp-items(-multifile) to use `x'
7429 instead of `r', since the latter is better suited to the new
7430 renaming command.
7431
5ab78d3d
AM
74322013-07-27 Alan Mackenzie <acm@muc.de>
7433
7434 Make Java try-with-resources statement parse properly.
7435 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7436 (c-block-stmt-1-2-key): New language constants/variables.
7437 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7438 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7439 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 7440 with c-block-stmt-1-2-key.
5ab78d3d 7441
d85c4d50
JB
74422013-07-27 Juanma Barranquero <lekktu@gmail.com>
7443
7444 * desktop.el (desktop--make-frame): Apply most frame parameters after
7445 creating the frame to force (partially or totally) offscreen frames to
7446 be restored as such.
7447
e4c467f9
XF
74482013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7449
7450 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 7451 (Bug#14948)
e4c467f9 7452
7ced0d04
SM
74532013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7454
7455 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7456 `base' arg of backtrace-frame.
7457
fec92060
EZ
74582013-07-26 Eli Zaretskii <eliz@gnu.org>
7459
7460 * simple.el (list-processes): Doc fix.
7461
d58d31fb
JB
74622013-07-26 Juanma Barranquero <lekktu@gmail.com>
7463
7464 * desktop.el (desktop--select-frame):
d85c4d50 7465 Try harder to reuse existing frames.
d58d31fb 7466
53ff3e77
SM
74672013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7468
7469 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7470 (edebug-eval): Use backtrace-eval.
7471 (edebug--display, edebug--recursive-edit): Don't let-bind the
7472 edebug-outer-* vars that keep track of variables we locally let-bind.
7473 (edebug-outside-excursion): Don't restore outside values of locally
7474 let-bound vars.
7475 (edebug--display): Use user-error.
7476 (cl-lexical-debug, cl-debug-env): Remove.
7477
045f7a53
JB
74782013-07-26 Juanma Barranquero <lekktu@gmail.com>
7479
7480 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7481 are restored to be sure that they are visible before deleting any
7482 remaining ones.
7483
59070b32
MM
74842013-07-26 Matthias Meulien <orontee@gmail.com>
7485
742a3501
XF
7486 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7487 vc-print-root-log. (Bug#14948)
59070b32 7488
b1fb3596
RS
74892013-07-26 Richard Stallman <rms@gnu.org>
7490
7491 Add aliases for encrypting mail.
7492 * epa.el (epa-mail-aliases): New option.
7493 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7494 Bind inhibit-read-only so read-only text doesn't ruin everything.
7495 (epa-mail-default-recipients): New subroutine broken out.
7496 Handle epa-mail-aliases.
7497
56ea7291
SM
74982013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7499
7500 Add support for lexical variables to the debugger's `e' command.
7501 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7502 vars, except for debugger-outer-match-data.
7503 (debugger-frame-number): Move check for "on a function call" from
7504 callers into it. Add `skip-base' argument.
7505 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7506 (debugger-env-macro): Only reset the state stored in non-variables,
7507 i.e. current-buffer and match-data.
7508 (debugger-eval-expression): Rewrite using backtrace-eval.
7509 * subr.el (internal--called-interactively-p--get-frame): Remove.
7510 (called-interactively-p):
7511 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7512 `base' arg of backtrace-frame instead.
7513
15ac32d5
GM
75142013-07-26 Glenn Morris <rgm@gnu.org>
7515
8358a09d
GM
7516 * align.el (align-regexp): Doc fix. (Bug#14857)
7517 (align-region): Explicit error if subexpression missing/does not match.
7518
15ac32d5
GM
7519 * simple.el (global-visual-line-mode):
7520 Do not duplicate the mode lighter. (Bug#14858)
7521
f47ad11b
MR
75222013-07-25 Martin Rudalics <rudalics@gmx.at>
7523
7524 * window.el (display-buffer): In display-buffer bind
7525 split-window-keep-point to t, bug#14829.
7526
02530987
JB
75272013-07-25 Juanma Barranquero <lekktu@gmail.com>
7528
7529 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7530 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7531 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7532 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7533 Change accordingly.
f63ebeb5
JB
7534 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7535 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 7536
6ccb9cab 75372013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 7538
6ccb9cab 7539 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 7540
cb3a56d2
JB
75412013-07-25 Juanma Barranquero <lekktu@gmail.com>
7542
7543 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7544 parameter to modify-frame-parameters if the value has not changed;
7545 this is a workaround for bug#14949.
7546 (desktop--make-frame): On cl-delete-if call, check parameter name,
7547 not full parameter.
7548
7aa7fff0
XF
75492013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7550
7551 * vc/vc.el (vc-ignore): New function.
7552
7553 * vc/vc-svn.el (vc-svn-ignore): New function.
7554
7555 * vc/vc-hg.el (vc-hg-ignore): New function.
7556
7557 * vc/vc-git.el (vc-git-ignore): New function.
7558
7559 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7560 (vc-dir-ignore): New function.
7561
7562 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 7563 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
7564
7565 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7566
7567 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7568
889acc5c
JB
75692013-07-24 Juanma Barranquero <lekktu@gmail.com>
7570
7571 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7572 (desktop-restore-frames): Warn when deleting an existing frame failed.
7573
86c40970
GM
75742013-07-24 Glenn Morris <rgm@gnu.org>
7575
7576 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7577
d5d3c58a
MA
75782013-07-24 Michael Albinus <michael.albinus@gmx.de>
7579
7580 * filenotify.el (file-notify-supported-p):
7581 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7582 Remove functions.
7583
7584 * autorevert.el (auto-revert-use-notify):
7585 (auto-revert-notify-add-watch):
7586 * net/tramp.el (tramp-file-name-for-operation):
7587 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7588 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7589 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7590 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7591 Remove `file-notify-supported-p' entry.
7592
d100084b
GM
75932013-07-24 Glenn Morris <rgm@gnu.org>
7594
7595 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 7596 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 7597
ac93e56b
SM
75982013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7599
249eea30
SM
7600 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7601 checked with memq (bug#14935).
7602
ac93e56b
SM
7603 * files.el (revert-buffer-function): Use a non-nil default.
7604 (revert-buffer-preserve-modes): Declare var to
7605 provide access to the `preserve-modes' argument.
7606 (revert-buffer): Let-bind it.
7607 (revert-buffer--default): New function, extracted from revert-buffer.
7608
2cdeb903
SM
76092013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7610
7611 * lpr.el: Signal print errors more prominently.
7612 (print-region-function): Don't default to nil.
7613 (lpr-print-region): New function, extracted from print-region-1.
7614 Check lpr's return value and signal an error in case of problem.
7615 (print-region-1): Use it.
7616 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7617 versions instead.
7618 (ps-printer-name): Default to nil.
7619 (ps-printer-name-option): Default to lpr-printer-switch.
7620 (ps-print-region-function): Don't default to nil.
7621 (ps-postscript-code-directory): Simplify default.
7622 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7623 (ps-string-list, ps-eval-switch, ps-flatten-list)
7624 (ps-flatten-list-1): Remove.
7625 (ps-multibyte-buffer): Avoid setq.
7626 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7627 (print-region-function, ps-print-region-function): Don't set them here.
7628
73600831
XF
76292013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7630
0e55c076
XF
7631 * ido.el (ido-fractionp):
7632 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7633 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7634 (ido-max-directory-size, ido-max-dir-file-cache)
7635 (ido-decorations): Doc fix.
7636
73600831
XF
7637 * ansi-color.el: Fix old URL.
7638
3d012865
MM
76392013-07-23 Michael R. Mauger <michael@mauger.com>
7640
e903c210 7641 * progmodes/sql.el: Version 3.3
3d012865
MM
7642 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7643 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7644 (sql-interactive-remove-continuation-prompt): Rewrite, use
7645 functions above. Fix continuation prompt and complete output line
7646 handling.
7647 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7648 redirected output buffer.
7649 (sql-mode): Restore deleted code (Bug#13591).
7650
da77a2e2
JB
76512013-07-23 Juanma Barranquero <lekktu@gmail.com>
7652
7653 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7654
80ff0c71
MA
76552013-07-23 Michael Albinus <michael.albinus@gmx.de>
7656
7657 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7658
7659 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7660 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7661 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7662
b61d71e4
JB
76632013-07-23 Juanma Barranquero <lekktu@gmail.com>
7664
7665 * desktop.el (desktop-clear): Simplify; remove useless checks
7666 against invalid buffer names.
7667 (desktop-list*): Use cl-list*.
7668 (desktop-buffer-info, desktop-create-buffer): Simplify.
7669
c3512092
LL
76702013-07-23 Leo Liu <sdl.web@gmail.com>
7671
7672 * bookmark.el (bookmark-make-record): Restore NAME as a default
7673 value. (Bug#14933)
7674
0ac26976
SM
76752013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7676
7d22ce18
SM
7677 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7678 extracted from autoload--insert-text.
7679 (autoload--insert-text): Remove.
7680 (autoload--print-cookie-text): New function, extracted from
7681 autoload--insert-cookie-text.
7682 (autoload--insert-cookie-text): Remove.
7683 (autoload-generate-file-autoloads): Adjust calls accordingly.
7684
9b2607e8
SM
7685 * winner.el (winner-hook-installed-p): Remove.
7686 (winner-mode): Simplify accordingly.
7687
c43a8618
SM
7688 * subr.el (add-to-list): Fix compiler-macro when `append' is
7689 not constant. Don't use `cl-member' for the base case.
7690
0ac26976
SM
7691 * progmodes/subword.el: Fix boundary case (bug#13758).
7692 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7693 own group.
7694 (subword-backward-regexp): Make it a constant.
7695 (subword-forward-internal): Don't treat a trailing capital as the
7696 beginning of a word.
7697
6874724a
AR
76982013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7699
7700 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7701 global value of tabulated-list-revert-hook (bug#14930).
7702
70f1b5e8
JB
77032013-07-22 Juanma Barranquero <lekktu@gmail.com>
7704
a1c80d9d
JB
7705 * desktop.el: Require 'cl-lib.
7706 (desktop-before-saving-frames-functions): New hook.
7707 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7708 for frames being saved. Rename from desktop--save-minibuffer-frames.
7709 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
7710 Do not save frames with non-nil `desktop-dont-save' parameter.
7711 Filter out deleted frames.
a1c80d9d
JB
7712 (desktop--find-frame): Use cl-find-if.
7713 (desktop--select-frame): Use cl-(first|second|third) to access values
7714 of desktop-mini.
7715 (desktop--make-frame): Use cl-delete-if.
7716 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7717 (desktop-restore-frames): Use cl-(first|second|third) to access values
7718 of desktop-mini. Look for visible frame at the end, not while
7719 restoring frames.
7720
70f1b5e8
JB
7721 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7722 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7723 Use string-match-p, looking-at-p (bug#14927).
7724
728dc3cc
JB
77252013-07-21 Juanma Barranquero <lekktu@gmail.com>
7726
56bc453c
JB
7727 * desktop.el (desktop-saved-frame-states):
7728 Rename from desktop--saved-states; all users changed.
7729 (desktop-save-frames): Rename from desktop--save-frames.
7730 Do not save state to desktop file.
7731 (desktop-save): Save desktop-saved-frame-states to desktop file
7732 and reset to nil.
7733 (desktop-restoring-frames-p): New function.
7734 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7735 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7736 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7737
728dc3cc
JB
7738 * desktop.el: Correctly restore iconified frames.
7739 (desktop--filter-iconified-position): New function.
7740 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7741
862f1c9c
GM
77422013-07-20 Glenn Morris <rgm@gnu.org>
7743
c4074c9f
GM
7744 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7745 Let `message' do the formatting.
7746 (def-gdb-preempt-display-buffer): Add explicit format.
7747
d828e5f9
GM
7748 * image-dired.el (image-dired-track-original-file):
7749 Use with-current-buffer.
7750 (image-dired-track-thumbnail): Use with-current-buffer.
7751 Avoid changing point of wrong window.
7752
862f1c9c
GM
7753 * image-dired.el (image-dired-track-original-file):
7754 Avoid changing point of wrong window. (Bug#14909)
7755
f0398ec1 77562013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
7757
7758 * progmodes/gdb-mi.el (gdb-done-or-error):
7759 Guard against "%" in gdb output. (Bug#14127)
7760
1451928f
AS
77612013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7762
763a086d
JB
7763 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7764 (Bug#14826)
f7a03897 7765
1451928f
AS
7766 * international/mule.el (coding-system-iso-2022-flags): Fix last
7767 change.
7768
99107004
KH
77692013-07-20 Kenichi Handa <handa@gnu.org>
7770
763a086d
JB
7771 * international/mule.el (coding-system-iso-2022-flags):
7772 Add `8-bit-level-4'. (Bug#8522)
99107004 7773
48494e06
LMI
77742013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7775
8ba8eec5
LMI
7776 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7777 (bug#14815).
7778
dfbc66e3
LMI
7779 * net/eww.el (eww-process-text-input): Allow inputting when the
7780 point is at the start of the line, as the properties aren't
7781 front-sticky.
7782
48494e06
LMI
7783 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7784 degenerate widths.
7785
77c92cb9
RS
77862013-07-19 Richard Stallman <rms@gnu.org>
7787
aec7da77
RS
7788 * epa.el (epa-popup-info-window): Doc fix.
7789
77c92cb9
RS
7790 * subr.el (split-string): New arg TRIM.
7791
945c5bb1
JB
77922013-07-18 Juanma Barranquero <lekktu@gmail.com>
7793
7794 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7795 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7796
e06ec67f
MA
77972013-07-18 Michael Albinus <michael.albinus@gmx.de>
7798
c7064f05 7799 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
7800 `file-notify-support'. Do not autoload. Adapt all uses.
7801 (file-notify-supported-p): New defun.
7802
c7064f05
JB
7803 * autorevert.el (auto-revert-use-notify):
7804 Use `file-notify-supported-p' instead of `file-notify-support'.
7805 Adapt docstring.
e06ec67f
MA
7806 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7807
7808 * net/tramp.el (tramp-file-name-for-operation):
7809 Add `file-notify-supported-p'.
7810
7811 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7812 New defun.
7813 (tramp-sh-file-name-handler-alist): Add it as handler for
7814 `file-notify-supported-p '.
7815
7816 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7817 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7818 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7819 Add `ignore' as handler for `file-notify-*' functions.
7820
5dc8a629
EZ
78212013-07-17 Eli Zaretskii <eliz@gnu.org>
7822
7823 * simple.el (line-move-partial, line-move): Don't start vscroll or
7824 scroll-up if the current line is not taller than the window.
7825 (Bug#14881)
7826
77aea2fb
DG
78272013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7828
7829 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7830 highlight question marks in the method names as strings.
ac72c08d
DG
7831 (ruby-block-beg-keywords): Inline.
7832 (ruby-font-lock-keyword-beg-re): Extract from
7833 `ruby-font-lock-keywords'.
77aea2fb 7834
18c26d81
JD
78352013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7836
7837 * frame.el (blink-cursor-blinks): New defcustom.
7838 (blink-cursor-blinks-done): New defvar.
7839 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7840 (blink-cursor-timer-function): Check if number of blinks has been
7841 done on X and NS.
7842 (blink-cursor-suspend, blink-cursor-check): New defuns.
7843
da48522e
GM
78442013-07-15 Glenn Morris <rgm@gnu.org>
7845
7846 * edmacro.el (edmacro-format-keys): Fix previous change.
7847
0463c1ef
PE
78482013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7849
7850 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7851 The hack didn't work outside English locales anyway.
7852
b43f6451
JB
78532013-07-15 Juanma Barranquero <lekktu@gmail.com>
7854
7855 * simple.el (define-alternatives): Rename from alternatives-define,
7856 per RMS' suggestion.
7857
b958c0ad
JB
78582013-07-14 Juanma Barranquero <lekktu@gmail.com>
7859
7860 * desktop.el (desktop-restore-frames): Change default to t.
7861 (desktop-restore-in-current-display): Now offer more options.
7862 (desktop-restoring-reuses-frames): New customization option.
7863 (desktop--saved-states): Doc fix.
7864 (desktop-filter-parameters-alist): New variable, renamed and expanded
7865 from desktop--excluded-frame-parameters.
7866 (desktop--target-display): New variable.
7867 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7868 (desktop--filter-tty*, desktop--filter-*-color)
7869 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7870 (desktop--filter-save-desktop-parm)
7871 (desktop-restore-in-original-display-p): New functions.
7872 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7873 (desktop--save-minibuffer-frames): New function, inspired by a similar
7874 function from Martin Rudalics.
7875 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7876 (desktop--restore-in-this-display-p): Remove.
7877 (desktop--find-frame): Rename from desktop--find-frame-in-display
7878 and add predicate argument.
7879 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7880 (desktop--reuse-list): New variable.
7881 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7882 New functions.
7883 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7884
f6dd8b36
MA
78852013-07-14 Michael Albinus <michael.albinus@gmx.de>
7886
7887 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7888
2ce3c565
DG
78892013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7890
763a086d
JB
7891 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7892 Highlight conversion methods on Kernel.
2ce3c565 7893
2cdb7698
AM
78942013-07-13 Alan Mackenzie <acm@muc.de>
7895
7896 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7897 and comment it out. This out-commenting enables certain C++
7898 declarations to be parsed correctly.
7899
1a67b811
EZ
79002013-07-13 Eli Zaretskii <eliz@gnu.org>
7901
1b796d6b
EZ
7902 * international/mule.el (define-coding-system): Doc fix.
7903
1a67b811
EZ
7904 * simple.el (default-font-height): Don't call font-info if the
7905 frame's default font didn't change since the frame was created.
7906 (Bug#14838)
7907
58fbe886
LL
79082013-07-13 Leo Liu <sdl.web@gmail.com>
7909
7910 * ido.el (ido-read-file-name): Guard against non-symbol value.
7911
1f0480d4
FEG
79122013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7913
7914 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7915 in nested defuns.
7916
97ead0e5
LL
79172013-07-13 Leo Liu <sdl.web@gmail.com>
7918
7919 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7920 ido-set-matches call. (Bug#6852)
7921
0880a952
DG
79222013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7923
7924 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7925 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7926 Ruby 2.0.
7927 (ruby-font-lock-keywords): Distinguish calls to functions with
7928 module-like names from module references. Highlight character
7929 literals.
7930
a7d8babb
SDJ
79312013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7932
7933 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 7934 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 7935
acfcc8c5
JB
79362013-07-12 Juanma Barranquero <lekktu@gmail.com>
7937
7938 * desktop.el (desktop--v2s): Remove unused local variable.
7939 (desktop-save-buffer): Make defvar-local; adjust docstring.
7940 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7941 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7942
051f2775
AS
79432013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7944
7945 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7946
f24e7572
GM
79472013-07-12 Eli Zaretskii <eliz@gnu.org>
7948
7949 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7950 (Bug#14842)
7951
539a920c
GM
79522013-07-12 Glenn Morris <rgm@gnu.org>
7953
7954 * doc-view.el: Require cl-lib at runtime too.
7955 (doc-view-remove-if): Remove.
7956 (doc-view-search-next-match, doc-view-search-previous-match):
7957 Use cl-remove-if.
7958
7959 * edmacro.el: Require cl-lib at runtime too.
7960 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7961 (edmacro-mismatch, edmacro-subseq): Remove.
7962
7963 * shadowfile.el: Require cl-lib.
7964 (shadow-remove-if): Remove.
7965 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7966 Use cl-remove-if.
7967
7968 * wid-edit.el: Require cl-lib.
7969 (widget-choose): Use cl-remove-if.
7970 (widget-remove-if): Remove.
7971
7972 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7973 (ebrowse-delete-if-not): Remove.
7974 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7975 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7976 Use cl-delete-if-not.
7977
1048af7c
JB
79782013-07-12 Juanma Barranquero <lekktu@gmail.com>
7979
7980 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7981 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7982
6c0674ee
LL
79832013-07-12 Leo Liu <sdl.web@gmail.com>
7984
7985 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7986
a19b3c2d
GM
79872013-07-11 Glenn Morris <rgm@gnu.org>
7988
4582a01c
GM
7989 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7990 (edebug-gensym-index, edebug-gensym):
7991 Remove reimplementation of cl-gensym.
7992 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7993
7994 * thumbs.el: Require cl-lib at run-time too.
7995 (thumbs-gensym-counter, thumbs-gensym):
7996 Remove reimplementation of cl-gensym.
7997 (thumbs-temp-file): Use cl-gensym.
7998
a19b3c2d
GM
7999 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8000 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8001 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8002 (ert--union, ert--gensym-counter, ert--gensym-counter)
8003 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8004 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8005 (ert-make-test-unbound, ert--expand-should-1)
8006 (ert--expand-should, ert--should-error-handle-error)
8007 (should-error, ert--explain-equal-rec)
8008 (ert--plist-difference-explanation, ert-select-tests)
8009 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8010 Use cl-lib functions rather than reimplementations.
8011
88f6a933
MA
80122013-07-11 Michael Albinus <michael.albinus@gmx.de>
8013
8014 * net/tramp.el (tramp-methods): Extend docstring.
8015 (tramp-connection-timeout): New defcustom.
8016 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8017 (with-tramp-progress-reporter): Simplify.
8018 (tramp-process-actions): Improve messages.
8019
8020 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8021 * net/tramp-sh.el (tramp-maybe-open-connection):
8022 Use `tramp-connection-timeout'.
8023 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8024 (Bug#14808)
8025
a43d577e
LL
80262013-07-11 Leo Liu <sdl.web@gmail.com>
8027
8028 * ido.el (ido-read-file-name): Conform to the requirements of
8029 read-file-name. (Bug#11861)
8030 (ido-read-directory-name): Conform to the requirements of
8031 read-directory-name.
8032
d77974bf
JB
80332013-07-11 Juanma Barranquero <lekktu@gmail.com>
8034
8035 * subr.el (delay-warning): New function.
8036
35cb8a3e
EZ
80372013-07-10 Eli Zaretskii <eliz@gnu.org>
8038
8039 * simple.el (default-line-height): New function.
8040 (line-move-partial, line-move): Use it instead of computing the
8041 line height inline.
8042 (line-move-partial): Always compute ROWH. If the last line is
8043 partially-visible, but its text is completely visible, allow
8044 cursor to enter such a partially-visible line.
8045
525c5c77
MA
80462013-07-10 Michael Albinus <michael.albinus@gmx.de>
8047
8048 Improve error messages. (Bug#14808)
8049
8050 * net/tramp.el (tramp-current-connection): New defvar, moved from
8051 tramp-sh.el.
0ac26976 8052 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 8053 needed anymore.
0ac26976
SM
8054 (tramp-error-with-buffer): Show message in minibuffer.
8055 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
8056 (with-tramp-progress-reporter): Improve messages.
8057 (tramp-process-actions): Use progress reporter. Delete process in
8058 case of error. Improve messages.
8059
763a086d
JB
8060 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8061 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 8062 (tramp-current-connection): Remove.
525c5c77
MA
8063 (tramp-maybe-open-connection): The car of
8064 `tramp-current-connection' are the first 3 slots of the vector.
8065
c7a4d368
TZ
80662013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8067
8068 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8069 inside continued strings.
8070
954b166e
PE
80712013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8072
8073 Timestamp fixes for undo (Bug#14824).
8074 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8075
56973319
LL
80762013-07-10 Leo Liu <sdl.web@gmail.com>
8077
8078 * files.el (require-final-newline): Allow safe local value.
8079 (Bug#14834)
8080
5550a72c
LL
80812013-07-09 Leo Liu <sdl.web@gmail.com>
8082
8083 * ido.el (ido-read-directory-name): Handle fallback.
8084 (ido-read-file-name): Update DIR to ido-current-directory.
8085 (Bug#1516)
c28b9050 8086 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 8087
70c46b28
DG
80882013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8089
8090 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8091 "autoload". Remove "warn lower camel case" section, previously
8092 commented out. Highlight negation char. Do not highlight the
8093 target in singleton method definitions.
8094
0b64b838
SM
80952013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8096
7fd72e2c
SM
8097 * faces.el (tty-setup-hook): Declare the hook.
8098
0b64b838
SM
8099 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8100 and detect when a guard/pred depends on local vars (bug#14773).
8101 (pcase--u1): Adjust caller.
8102
ab49d60b
EZ
81032013-07-08 Eli Zaretskii <eliz@gnu.org>
8104
8105 * simple.el (line-move-partial, line-move): Account for
8106 line-spacing.
701d79aa
EZ
8107 (line-move-partial): Avoid setting vscroll when the last
8108 partially-visible line in window is of default height.
ab49d60b 8109
2d756ae0
LMI
81102013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8111
8112 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8113 been used a while.
8114
ed095bd7
JB
81152013-07-07 Juanma Barranquero <lekktu@gmail.com>
8116
8117 * subr.el (read-quoted-char): Remove unused local variable `char'.
8118
f1e6674b
MK
81192013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8120
584ee3fc
GM
8121 * ediff.el (ediff-version): Version update.
8122 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8123 (ediff-merge-with-ancestor-command, ediff-directories-command)
8124 (ediff-directories3-command, ediff-merge-directories-command)
8125 (ediff-merge-directories-with-ancestor-command): New functions.
8126 All are command-line interfaces to ediff: to facilitate calling
8127 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
8128
8129 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8130 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 8131
584ee3fc
GM
8132 * viper.el (viper-version): Version update.
8133 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 8134
584ee3fc
GM
81352013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8136
8137 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8138 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8139 (viper-intercept-ESC-key): Simplify.
8140 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8141 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8142 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8143 (viper-setup-ESC-to-escape): New functions.
8144 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8145 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 8146
9aff9b38
EZ
81472013-07-07 Eli Zaretskii <eliz@gnu.org>
8148
5165d44a
JB
8149 * simple.el (default-font-height, window-screen-lines):
8150 New functions.
9aff9b38
EZ
8151 (line-move, line-move-partial): Use them instead of
8152 frame-char-height and window-text-height. This makes scrolling
8153 text smoother when the buffer's default face uses a font that is
8154 different from the frame's default font.
8155
1afb1d07
JD
81562013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8157
8158 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 8159 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 8160
23de972a
EZ
81612013-07-06 Eli Zaretskii <eliz@gnu.org>
8162
8163 * simple.el (line-move-partial): Adjust the row returned by
8164 posn-at-point for the current window-vscroll. (Bug#14567)
8165
54a42486
MA
81662013-07-06 Michael Albinus <michael.albinus@gmx.de>
8167
8168 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8169 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8170 spaces.
8171
34ada5f4
MR
81722013-07-06 Martin Rudalics <rudalics@gmx.at>
8173
8174 * window.el (window-state-put-stale-windows): New variable.
8175 (window--state-put-2): Save list of windows without matching buffer.
8176 (window-state-put): Remove "bufferless" windows if possible.
8177
11e03d89
JB
81782013-07-06 Juanma Barranquero <lekktu@gmail.com>
8179
8180 * simple.el (alternatives-define): Remove leftover :group keyword.
8181 Tweak docstring.
8182
3504a4be
LL
81832013-07-06 Leo Liu <sdl.web@gmail.com>
8184
8185 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8186 (ido-enable-virtual-buffers): New variable.
8187 (ido-buffer-internal, ido-toggle-virtual-buffers)
8188 (ido-make-buffer-list): Use it.
8189 (ido-exhibit): Support turning on and off virtual buffers
8190 automatically.
8191
61e56e2c
JB
81922013-07-06 Juanma Barranquero <lekktu@gmail.com>
8193
8194 * simple.el (alternatives-define): New macro.
8195
321e1a9c
SM
81962013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8197
8198 * subr.el (read-quoted-char): Use read-key.
8199 (sit-for): Let read-event decode tty input (bug#14782).
8200
d610f6dd
SB
82012013-07-05 Stephen Berman <stephen.berman@gmx.net>
8202
8203 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
8204 mode command and externally. Fix various related bugs.
8205 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
8206 (todo-delete-file): New command.
8207 (todo-check-file): New function.
8208 (todo-show): Handle external deletion of the file we're trying to
8209 show (bug#14688). Replace called-interactively-p by an optional
8210 prefix argument to avoid problematic interaction with catch form
8211 when byte compiled (bug#14702).
8212 (todo-quit): Handle external deletion of the archive's todo file.
8213 Make sure the buffer that was visiting the archive file is still
8214 live before trying to bury it.
8215 (todo-category-completions): Handle external deletion of any
8216 category completion files.
8217 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8218 of todo files, in case of external deletion.
8219 (todo-add-file): Replace unnecessary setq by let-binding.
8220 (todo-find-archive): Check whether there are any archives.
8221 Replace unnecessary setq by let-binding.
8222 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
8223 archive buffer whether or not the archive already exists.
8224 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
8225 check if the archive is new; if it is, update list of archives.
8226 (todo-default-todo-file): Allow nil to be a valid value for when
8227 there are no todo files.
8228 (todo-reevaluate-default-file-defcustom): Use corrected definition
8229 of todo-default-todo-file.
8230 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8231 (todo-delete-category, todo-show-categories-table)
8232 (todo-category-number): Clarify comment.
8233 (todo-filter-items): Clarify documentation string.
8234 (todo-show-current-file, todo-display-as-todo-file)
8235 (todo-reset-and-enable-done-separator): Tweak documentation string.
8236 (todo-done-separator): Make separator length window-width, since
8237 bug#2749 is now fixed.
8238
ddbdfd6f
MA
82392013-07-05 Michael Albinus <michael.albinus@gmx.de>
8240
321e1a9c
SM
8241 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8242 Support both "gvfs-monitor-dir" and "inotifywait".
8243 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
8244 `tramp-sh-file-notify-process-filter'.
8245 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8246 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8247
96eb829a
LL
82482013-07-05 Leo Liu <sdl.web@gmail.com>
8249
8250 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8251
cf13177e
YM
82522013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8253
8254 * frame.el (display-pixel-height, display-pixel-width)
8255 (display-mm-height, display-mm-width): Mention behavior on
8256 multi-monitor setups in docstrings.
8257 (w32-display-monitor-attributes-list): Declare function.
8258 (display-monitor-attributes-list): Use it.
8259
864c58ca
MA
82602013-07-04 Michael Albinus <michael.albinus@gmx.de>
8261
8262 * filenotify.el: New package.
8263
8264 * autorevert.el (top): Require filenotify.el.
8265 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8266 instead.
8267 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8268 (auto-revert-notify-handler): Use `file-notify-*' functions.
8269
8270 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8271
321e1a9c
SM
8272 * net/tramp.el (tramp-file-name-for-operation):
8273 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
8274
8275 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8276 for `file-notify-add-watch' and `file-notify-rm-watch'.
8277 (tramp-process-sentinel): Improve trace.
8278 (tramp-sh-handle-file-notify-add-watch)
8279 (tramp-sh-file-notify-process-filter)
8280 (tramp-sh-handle-file-notify-rm-watch)
8281 (tramp-get-remote-inotifywait): New defuns.
8282
96673afe
JL
82832013-07-03 Juri Linkov <juri@jurta.org>
8284
8285 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8286 call of `occur-read-primary-args' to interactive spec.
8287
8288 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8289 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8290
924494f4
MM
82912013-07-03 Matthias Meulien <orontee@gmail.com>
8292
8293 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8294 `Buffer-menu-multi-occur'. Add it to the menu.
8295 (Buffer-menu-mode): Document it in docstring.
8296 (Buffer-menu-multi-occur): New command. (Bug#14673)
8297
56f75efc
DG
82982013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8299
8300 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8301 keywords and built-ins.
8302
9b057d61
GM
83032013-07-03 Glenn Morris <rgm@gnu.org>
8304
208dee4d
GM
8305 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8306
9b057d61
GM
8307 Make info-xref checks case-sensitive by default
8308 * info.el (Info-find-node, Info-find-in-tag-table)
8309 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8310 Add option for exact case matching of nodes.
8311 * info-xref.el (info-xref): New custom group.
8312 (info-xref-case-fold): New option.
8313 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8314
e01aa29c
LL
83152013-07-03 Leo Liu <sdl.web@gmail.com>
8316
8317 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8318
3086ca2e
DG
83192013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8320
8321 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8322 middle of block statement initially, lower the depth. Remove
8323 FIXME comment, not longer valid. Remove middle of block statement
8324 detection, no need to do that anymore since we've been using
8325 `ruby-parse-region' here.
8326
a3b49114
JD
83272013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8328
8329 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8330
08e5c823 83312013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
8332
8333 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8334
2addf922
JB
83352013-07-01 Juanma Barranquero <lekktu@gmail.com>
8336
8337 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8338 (desktop-restore-in-current-display): New customization option.
8339 (desktop--excluded-frame-parameters): Add `font'.
8340 (desktop--save-frames): Rename from desktop--save-windows.
8341 (desktop--restore-in-this-display-p): New function.
8342 (desktop--make-full-frame): Remove unwanted width/height from
8343 full(width|height) frames.
8344 (desktop--restore-frames): Rename from desktop--restore-windows.
8345 Obey desktop-restore-current-display. Do not delete old frames or
8346 select a new frame unless we were able to restore at least one frame.
8347
ef099a94
MN
83482013-06-30 Michal Nazarewicz <mina86@mina86.com>
8349
8350 * files.el (find-file-noselect): Simplify conditional expression.
8351
a12bf61e 8352 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
8353 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8354
8355 Add `remember-notes' function to store random notes across Emacs
8356 restarts.
3fcfc4ee
JB
8357 * textmodes/remember.el (remember-data-file): Add :set callback to
8358 affect notes buffer (if any).
ef099a94
MN
8359 (remember-notes): New command.
8360 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8361 New defcustoms for the `remember-notes' function.
8362 (remember-notes-save-and-bury-buffer): New command.
8363 (remember-notes-mode-map): New variable.
8364 (remember-mode): New minor mode.
8365 (remember-notes--kill-buffer-query): New function.
8366 * startup.el (initial-buffer-choice): Add notes to custom type.
8367
0865d506
EZ
83682013-06-30 Eli Zaretskii <eliz@gnu.org>
8369
0ba54312
EZ
8370 * bindings.el (right-char, left-char): Don't call sit-for, this is
8371 no longer needed. Use arithmetic comparison only for numerical
8372 arguments.
8373
ef099a94
MN
8374 * international/mule-cmds.el (select-safe-coding-system):
8375 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 8376
2fae38e5
LMI
83772013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8378
8379 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8380 progression on degenerate tables.
ef099a94 8381 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 8382
a47cbd64
JB
83832013-06-30 Juanma Barranquero <lekktu@gmail.com>
8384
8385 Some fixes and improvements for desktop frame restoration.
8386 It is still experimental and disabled by default.
8387 * desktop.el (desktop--save-windows): Put the selected frame at
8388 the head of the list.
8389 (desktop--make-full-frame): New function.
8390 (desktop--restore-windows): Try to re-select the frame that was
8391 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
8392 just show an error message and continue. Set up maximized frames
8393 so they have default non-maximized dimensions.
a47cbd64 8394
6dbafa30
DG
83952013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8396
ef099a94
MN
8397 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8398 Don't start heredoc inside a string or comment.
6dbafa30 8399
4c672a0f
EZ
84002013-06-29 Eli Zaretskii <eliz@gnu.org>
8401
8402 * bindings.el (visual-order-cursor-movement): New defcustom.
8403 (right-char, left-char): Provide visual-order cursor motion by
8404 calling move-point-visually. Update the doc strings.
8405
50960f36
KH
84062013-06-28 Kenichi Handa <handa@gnu.org>
8407
8408 * international/mule.el (define-coding-system): New coding system
8409 properties :inhibit-null-byte-detection,
8410 :inhibit-iso-escape-detection, and :prefer-utf-8.
8411 (set-buffer-file-coding-system): If :charset-list property of
8412 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8413 appropriate for setting.
8414
c1ea3abf
JB
8415 * international/mule-cmds.el (select-safe-coding-system):
8416 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8417 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
8418
8419 * international/mule-conf.el (prefer-utf-8): New coding system.
8420 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8421 files.
8422
75dbaf9d
IK
84232013-06-28 Ivan Kanis <ivan@kanis.fr>
8424
eadb6068
IK
8425 * net/shr.el (shr-render-region): New function.
8426
75dbaf9d
IK
8427 * net/eww.el: Autoload `eww-browse-url'.
8428
9ea5cf9f
DG
84292013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8430
c1ea3abf
JB
8431 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8432 Adapt to `package-desc-version' being a list.
8433 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
8434 archive element.
8435
39c0e36f
JB
84362013-06-27 Juanma Barranquero <lekktu@gmail.com>
8437
8438 New experimental feature to save&restore window and frame setup.
8439 * desktop.el (desktop-save-windows): New defcustom.
8440 (desktop--saved-states): New var.
8441 (desktop--excluded-frame-parameters): New defconst.
8442 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8443 (desktop--restore-windows, desktop--save-windows): New functions.
8444 (desktop-save): Call `desktop--save-windows'.
8445 (desktop-read): Call `desktop--restore-windows'.
8446
7f13406b
LMI
84472013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8448
ef099a94 8449 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 8450
1e072639
SB
84512013-06-27 Stephen Berman <stephen.berman@gmx.net>
8452
8453 * info.el (Info-try-follow-nearest-node): Move search for footnote
8454 above search for node name to prevent missing a footnote (bug#14717).
8455
f3e2cbde
SB
84562013-06-27 Stephen Berman <stephen.berman@gmx.net>
8457
8458 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8459
99906aa0
LL
84602013-06-27 Leo Liu <sdl.web@gmail.com>
8461
8462 * net/eww.el (eww-read-bookmarks): Check file size.
8463
539f75f4
SM
84642013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8465
8466 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8467 advice--pending if newdef is nil or an autoload (bug#13820).
8468 (advice-mapc): New function.
8469
843571cb
LMI
84702013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8471
8472 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8473 probably.
23a75d7f 8474 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
8475 (eww-add-bookmark): New command.
8476 (eww-bookmark-mode): New mode and commands.
a285ce99 8477 (eww-add-bookmark): Remove newlines from the title.
47fd571b 8478 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 8479
f2136e1e
GM
84802013-06-26 Glenn Morris <rgm@gnu.org>
8481
eab35f39
GM
8482 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8483 (hfy-size): Handle ttys. (Bug#14668)
8484
f2136e1e
GM
8485 * info-xref.el: Update for Texinfo 5 change in *note format.
8486 (info-xref-node-re, info-xref-note-re): New constants.
8487 (info-xref-check-buffer): Use info-xref-note-re.
8488
a49ff80c
SM
84892013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8490
a343d218
SM
8491 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8492
a49ff80c
SM
8493 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8494 nil terminate the loop (bug#14718).
8495
8308f184
LMI
84962013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8497
8498 * net/eww.el: Rework history traversal. When going forward/back,
8499 put these actions into the history, too, so that they can be
8500 replayed.
26bf2b82 8501 (eww-render): Move the history reset to the correct buffer.
8308f184 8502
ec64c273
JL
85032013-06-25 Juri Linkov <juri@jurta.org>
8504
8505 * files-x.el (modify-dir-local-variable): Change the header comment
8506 in the file with directory local variables. (Bug#14692)
8507
e080a9d7
JL
8508 * files-x.el (read-file-local-variable-value): Add `default'.
8509 (Bug#14710)
8510
bfbc93a1
IK
85112013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8512
8513 * net/eww.el (eww-make-unique-file-name): Create a unique file
8514 name before saving to entering `y' accidentally asynchronously.
8515
85162013-06-25 Ivan Kanis <ivan@kanis.fr>
8517
8518 * net/eww.el (eww-download): New command and keystroke.
8519
16f74f10
LMI
85202013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8521
a49ff80c 8522 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
8523
8524 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8525 be more consistent with Info and dired.
8526
8527 * net/eww.el (eww-mode-map): Ditto.
8528
12059709
SM
85292013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8530
8531 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8532 packages from archives.
8533 (package-archive-contents): Change format; include obsolete packages.
8534 (package-desc): Use `dir' to mark builtin packages.
8535 (package--from-builtin): Set the `dir' field to `builtin'.
8536 (generated-autoload-file, version-control): Declare.
8537 (package-compute-transaction): Change first arg and return value to be
8538 lists of package-descs. Adjust to new package-archive-contents format.
8539 (package--add-to-archive-contents): Adjust to new
8540 package-archive-contents format.
8541 (package-download-transaction): Arg is now a list of package-descs.
8542 (package-install): If `pkg' is a package name, pass it as
8543 a requirement, so it is subject to the usual (e.g. disabled) checks.
8544 (describe-package): Accept package-desc as well.
8545 (describe-package-1): Describe a specific package-desc. Add links to
8546 other package-descs for the same package name.
8547 (package-menu-describe-package): Pass the actual package-desc.
8548 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8549 works correctly.
8550 (package-desc-status): New function.
8551 (package-menu--refresh): New function, extracted
8552 from package-menu--generate.
8553 (package-menu--generate): Use it.
8554 (package-delete): Update package-alist.
8555 (package-menu-execute): Don't call package-initialize.
8556
8557 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8558 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8559 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8560 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8561 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8562 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8563
8bbdea0f
MR
85642013-06-25 Martin Rudalics <rudalics@gmx.at>
8565
8566 * window.el (window--state-get-1): Workaround for bug#14527.
8567 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8568
e82b0991
LMI
85692013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8570
8571 * net/eww.el (eww-back-url): Implement the history by stashing all
8572 the data into a list.
d3f0f918 8573 (eww-forward-url): Allow going forward in the history, too.
e82b0991 8574
c763842b
SM
85752013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8576
8577 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8578 for values and use read--expression for expressions (bug#14710).
8579 (read-file-local-variable): Avoid setq.
8580 (read-file-local-variable-mode): Use minor-mode-list.
8581
bceff189
RW
85822013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8583
864c58ca 8584 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
8585 for DOI URLs.
8586
45f431c6
RW
85872013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8588
864c58ca 8589 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
8590 Update imenu-support when dialect changes.
8591
f42d8237
LL
85922013-06-25 Leo Liu <sdl.web@gmail.com>
8593
8594 * ido.el (ido-read-internal): Allow forward slash on windows.
8595
be549ce6
LMI
85962013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8597
8598 * net/eww.el (eww): Start of strings is \\`, not ^.
8599
71d4c19d
IK
86002013-06-24 Ivan Kanis <ivan@kanis.fr>
8601
5196f88a
IK
8602 * net/shr.el (shr-browse-url): Fix interactive spec.
8603
71d4c19d
IK
8604 * net/eww.el (eww): Add a trailing slash to domain names.
8605
ae36ca55
JB
86062013-06-24 Juanma Barranquero <lekktu@gmail.com>
8607
8608 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8609
0ebd92a3
LMI
86102013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8611
bdaa086b
LMI
8612 * net/shr.el (shr-browse-url): Use an external browser if given a
8613 prefix.
8614
c763842b 8615 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 8616
b89fc156
IK
86172013-06-24 Ivan Kanis <ivan@kanis.fr>
8618
8619 * net/eww.el (eww): Work more correctly for file: URLs.
8620 (eww-detect-charset): Allow quoted charsets.
8621 (eww-yank-page-url): New command and keystroke.
8622
18eb4bca
DU
86232013-06-24 Daiki Ueno <ueno@gnu.org>
8624
8625 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8626 file name of gpg executable.
8627 (epg-context-program): New function.
8628 (epg-context-home-directory): New function.
8629 (epg-context-set-program): New function.
8630 (epg-context-set-home-directory): New function.
8631 (epg--start): Use `epg-context-program' instead of
8632 'epg-gpg-program'.
8633 (epg--list-keys-1): Likewise.
8634
6c6268c8
LL
86352013-06-24 Leo Liu <sdl.web@gmail.com>
8636
8637 * ido.el (ido-read-internal): Fix bug#14620.
8638
5e400cb3
JB
86392013-06-23 Juanma Barranquero <lekktu@gmail.com>
8640
8641 * faces.el (face-documentation): Simplify.
8642 (read-face-attribute, tty-find-type, x-resolve-font-name):
8643 Use `string-match-p'.
8644 (list-faces-display): Use `string-match-p'. Simplify.
8645 (face-spec-recalc): Check face to avoid face alias loops.
8646 (read-color): Use `string-match-p' and non-capturing parenthesis.
8647
f3f9606c
LMI
86482013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8649
8650 * net/shr.el (shr-rescale-image): Use the new
8651 :max-width/:max-height functionality.
8652
a3ca09b9
IK
86532013-06-23 Ivan Kanis <ivan@kanis.fr>
8654
8655 * net/eww.el (eww-search-prefix): New variable.
8656 (eww): Use it.
f865b474
IK
8657 (eww-external-browser): New variable.
8658 (eww-mode-map): New keystroke.
8659 (eww-browse-with-external-browser): New command.
a3ca09b9 8660
e854cfc7
IK
8661 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8662
18bb9e21
JB
86632013-06-23 Juanma Barranquero <lekktu@gmail.com>
8664
8665 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8666 Don't skip aligning the next header field when padding is 0;
8667 otherwise, field width is not respected unless the title is as
8668 wide as the field.
8669
5b165ade
SM
86702013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8671
8672 * emacs-lisp/package.el (package-el-version): Remove.
8673 (package-process-define-package): Fix inf-loop.
8674 (package-install): Allow symbols as arguments again.
8675
12adebe9
DG
86762013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8677
8678 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8679 add some more keyword-like methods.
8680 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8681
388573ee
JB
86822013-06-22 Juanma Barranquero <lekktu@gmail.com>
8683
8684 * bs.el (bs-buffer-show-mark): Make defvar-local.
8685 (bs-mode): Use setq-local.
8686
8687 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8688 (emacs-lock--try-unlocking): Make defvar-local.
8689
4582a01c 86902013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 8691
2663dd23
GM
8692 * play/cookie1.el (cookie-apropos): Minor simplification.
8693
3d94f3ad
GM
8694 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8695
f72e2fdb
DG
86962013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8697
8698 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8699 `regexp-opt', it breaks the build during dumping.
8700
73eab938
DG
87012013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8702
c763842b
SM
8703 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8704 Highlight keyword-like methods on Kernel and Module with
73eab938 8705 font-lock-builtin-face.
5cf8176d
DG
8706 (auto-mode-alist): Consolidate different entries into one regexp
8707 and add more *file-s.
73eab938 8708
d26255f6
SB
87092013-06-21 Stephen Berman <stephen.berman@gmx.net>
8710
8711 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8712
8713 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8714 (diary-entry): Use it in the action of this button type instead of
8715 diary-goto-entry.
8716
8717 * calendar/todo-mode.el: New version.
8718 (todo-add-category): Append new category to end of file and give
8719 it the highest number, instead of putting it at the beginning and
8720 giving it 0. Incorporate noninteractive functionality.
8721 (todo-forward-category): Adapt to 1-based category numbering.
8722 Allow skipping over archived categories.
8723 (todo-backward-category): Derive from todo-forward-category.
8724 (todo-backward-item, todo-forward-item): Make noninteractive and
8725 delegate interactive part to new commands. Make sensitive to done items.
8726 (todo-categories): Make value an alist of category names and
8727 vectors of item counts.
8728 (todo-category-beg): Make a defconst.
8729 (todo-category-number): Use 1 instead of 0 as initial value.
8730 (todo-category-select): Make sensitive to overlays, optional item
8731 highlighting and done items.
8732 (todo-delete-item): Make sensitive to overlays and marked and done items.
8733 (todo-edit-item): Make sensitive to overlays and editing of
8734 date/time header optional. Add format checks.
8735 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8736 no-op if point is not on an item. Advertise using todo-edit-quit.
8737 (todo-edit-mode): Make sensitive to new format, font-locking, and
8738 multiple todo files.
8739 (todo-insert-item, todo-insert-item-here): Derive from
8740 todo-basic-insert-item and extend functionality.
8741 (todo-item-end, todo-item-start): Make sensitive to done items.
8742 (todo-item-string): Don't return text properties. Restore point.
8743 (todo-jump-to-category): Make sensitive to multiple todo files and
8744 todo archives. Use extended category completion.
8745 (todo-lower-item, todo-raise-item): Rename to *-priority and
8746 derive from todo-set-item-priority.
8747 (todo-mode): Derive from special-mode. Make sensitive to new
8748 format, font-locking and multiple todo files. Make read-only.
8749 (todo-mode-map): Don't suppress digit keys, so they can supply
8750 prefix arguments. Add many new key bindings.
8751 (todo-prefix): Insert as an overlay instead of file text.
8752 Change semantics from diary date expression to purely visual mark.
8753 (todo-print): Rename to todo-print-buffer. Make buffer display
8754 features printable. Remove option to restrict number of items
8755 printed. Add option to print to file.
8756 (todo-print-function): Rename to todo-print-buffer-function.
8757 (todo-quit): Extend to handle exiting new todo modes.
8758 (todo-remove-item): Make sensitive to overlays.
8759 (todo-save): Extend to buffers of filtered items.
8760 (todo-show): Make sensitive to done items, multiple todo files and
8761 new todo modes. Offer to convert legacy todo file before creating
8762 first new todo file.
8763 (todo-show-priorities): Rename to todo-top-priorities.
8764 Change semantics of value 0.
8765 (todo-top-priorities): Rename to todo-filter-top-priorities,
8766 derive from todo-filter-items and extend functionality.
8767 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8768 and extend functionality to other types of filtered items.
8769 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8770 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8771 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8772 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8773 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8774 (todo-edit-mode-hook, todo-entry-prefix-function)
8775 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8776 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8777 (todo-initials, todo-insert-threshold, todo-item-string-start)
8778 (todo-line-string, todo-menu, todo-mode-hook)
8779 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8780 (todo-print-priorities, todo-remove-separator)
8781 (todo-save-top-priorities-too, todo-string-count-lines)
8782 (todo-string-multiline-p, todo-time-string-format)
8783 (todo-tmp-buffer-name): Remove.
8784 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8785 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8786 (todo-edit-category-diary-inclusion)
8787 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8788 (todo-edit-file, todo-edit-item-date-day)
8789 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8790 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8791 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8792 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8793 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8794 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8795 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8796 (todo-filter-top-priorities-multifile, todo-find-archive)
8797 (todo-find-filtered-items-file, todo-go-to-source-item)
8798 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8799 (todo-jump-to-archive-category, todo-lower-category)
8800 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8801 (todo-move-category, todo-move-item, todo-next-button)
8802 (todo-next-item, todo-padded-string, todo-powerset)
8803 (todo-previous-button, todo-previous-item)
8804 (todo-print-buffer-to-file, todo-raise-category)
8805 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8806 (todo-set-category-number, todo-set-item-priority)
8807 (todo-set-top-priorities-in-category)
8808 (todo-set-top-priorities-in-file, todo-show-categories-table)
8809 (todo-sort-categories-alphabetically-or-numerically)
8810 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8811 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8812 (todo-toggle-item-header, todo-toggle-item-highlighting)
8813 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8814 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8815 (todo-unarchive-items, todo-unmark-category): New commands.
8816 (todo-absolute-file-name, todo-add-to-buffer-list)
8817 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8818 (todo-basic-insert-item, todo-category-completions)
8819 (todo-category-number, todo-category-string-matcher-1)
8820 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8821 (todo-check-format, todo-clear-matches)
8822 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8823 (todo-current-category, todo-date-string-matcher)
8824 (todo-define-insertion-command, todo-diary-expired-matcher)
8825 (todo-diary-goto-entry, todo-diary-item-p)
8826 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8827 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8828 (todo-done-item-section-p, todo-done-separator)
8829 (todo-done-string-matcher, todo-files, todo-filter-items)
8830 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8831 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8832 (todo-insert-category-line, todo-insert-item-from-calendar)
8833 (todo-insert-sort-button, todo-insert-with-overlays)
8834 (todo-insertion-command-name, todo-insertion-key-bindings)
8835 (todo-label-to-key, todo-longest-category-name-length)
8836 (todo-make-categories-list, todo-mode-external-set)
8837 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8838 (todo-modes-set-3, todo-multiple-filter-files)
8839 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8840 (todo-read-category, todo-read-date, todo-read-dayname)
8841 (todo-read-file-name, todo-read-time)
8842 (todo-reevaluate-category-completions-files-defcustom)
8843 (todo-reevaluate-default-file-defcustom)
8844 (todo-reevaluate-filelist-defcustoms)
8845 (todo-reevaluate-filter-files-defcustom)
8846 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8847 (todo-reset-done-separator, todo-reset-done-separator-string)
8848 (todo-reset-done-string, todo-reset-global-current-todo-file)
8849 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8850 (todo-reset-prefix, todo-set-categories)
8851 (todo-set-date-from-calendar, todo-set-show-current-file)
8852 (todo-set-top-priorities, todo-short-file-name)
8853 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8854 (todo-total-item-counts, todo-update-buffer-list)
8855 (todo-update-categories-display, todo-update-categories-sexp)
8856 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8857 New functions.
8858 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8859 New major modes.
8860 (todo-categories, todo-display, todo-edit, todo-faces)
8861 (todo-filtered): New defgroups.
8862 (todo-archived-only, todo-button, todo-category-string, todo-date)
8863 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8864 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8865 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8866 (todo-add-item-if-new-category, todo-always-add-time-string)
8867 (todo-categories-align, todo-categories-archived-label)
8868 (todo-categories-category-label, todo-categories-diary-label)
8869 (todo-categories-done-label, todo-categories-number-separator)
8870 (todo-categories-todo-label, todo-categories-totals-label)
8871 (todo-category-completions-files, todo-completion-ignore-case)
8872 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8873 (todo-done-separator-string, todo-done-string)
8874 (todo-files-function, todo-filter-done-items, todo-filter-files)
8875 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8876 (todo-initial-category, todo-initial-file, todo-item-mark)
8877 (todo-legacy-date-time-regexp, todo-mode-line-function)
8878 (todo-nondiary-marker, todo-number-prefix)
8879 (todo-print-buffer-function, todo-show-current-file)
8880 (todo-show-done-only, todo-show-first, todo-show-with-done)
8881 (todo-skip-archived-categories, todo-top-priorities-overrides)
8882 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8883 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8884 New defcustoms.
8885 (todo-category-done, todo-date-pattern, todo-date-string-start)
8886 (todo-diary-items-buffer, todo-done-string-start)
8887 (todo-filtered-items-buffer, todo-item-start)
8888 (todo-month-abbrev-array, todo-month-name-array)
8889 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8890 (todo-top-priorities-buffer): New defconsts.
8891 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8892 (todo-categories-with-marks, todo-category-string-face)
8893 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8894 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8895 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8896 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8897 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8898 (todo-font-lock-keywords, todo-global-current-todo-file)
8899 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8900 (todo-insertion-commands-args)
8901 (todo-insertion-commands-args-genlist)
8902 (todo-insertion-commands-names, todo-insertion-map)
8903 (todo-key-bindings-t, todo-key-bindings-t+a)
8904 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8905 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8906 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8907 (todo-visited): New variables.
8908
cad5d1cb
GM
89092013-06-21 Glenn Morris <rgm@gnu.org>
8910
8911 * play/cookie1.el (cookie-apropos): Add optional display argument.
8912 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8913 (psychoanalyze-pinhead): Use cookie-doctor.
8914
9e277302
JB
89152013-06-21 Juanma Barranquero <lekktu@gmail.com>
8916
8917 * emacs-lisp/package.el (tar-get-file-descriptor)
8918 (tar--extract): Declare.
8919
c5b0993e
EW
89202013-06-21 Eduard Wiebe <usenet@pusto.de>
8921
8922 Extend flymake's warning predicate to be a function (bug#14217).
8923 * progmodes/flymake.el (flymake-warning-predicate): New.
8924 (flymake-parse-line): Use it.
8925 (flymake-warning-re): Make obsolete alias to
8926 `flymake-warning-predicate'.
8927
a7d2d465
SM
89282013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8929
8930 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8931 (package-obsolete-list): Remove.
8932 (package-activate): Remove min-version argument. Add `force' argument.
8933 Adjust to new package-alist format.
8934 (package-mark-obsolete): Remove.
8935 (package-unpack): Force reload of the package's autoloads.
8936 (package-installed-p): Check builtins if the installed package is not
8937 recent enough.
8938 (package-initialize): Don't reset package-obsolete-list.
8939 Don't specify which package version to activate.
8940 (package-process-define-package, describe-package-1)
8941 (package-menu--generate): Adjust to new package-alist format.
8942
cedf5c9d
JB
89432013-06-21 Juanma Barranquero <lekktu@gmail.com>
8944
8945 * allout-widgets.el (allout-widgets-mode-off)
8946 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8947 (allout-widgets-post-command-business)
8948 (allout-widgets-after-copy-or-kill-function)
8949 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8950 (allout-decorate-item-and-context)
8951 (allout-graphics-modification-handler): Fix typos in docstrings.
8952 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8953
8954 * cmuscheme.el (scheme-start-file): Doc fix.
8955 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8956 (scheme-input-filter): Use `string-match-p'.
8957
8958 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8959
8960 * dired-x.el: Use Dired consistently in docstrings.
8961
8962 * dired.el: Use Dired consistently in docstrings.
8963 (dired-readin, dired-mode): Use `setq-local'.
8964 (dired-switches-alist): Make defvar-local.
8965 (dired-buffers-for-dir): Use `zerop'.
8966 (dired-safe-switches-p, dired-switches-escape-p)
8967 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8968 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8969 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8970 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8971 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8972 (dired-toggle-marks, dired-mark-files-containing-regexp)
8973 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8974 (dired-flag-auto-save-files, dired-flag-backup-files):
8975 Use `looking-at-p'.
8976 (dired-mark-files-regexp, dired-build-subdir-alist):
8977 Use `string-match-p', `looking-at-p'.
8978
8979 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8980 (direct-print-region-helper): Use `string-match-p'.
8981
aed838b5
LL
89822013-06-21 Leo Liu <sdl.web@gmail.com>
8983
cedf5c9d
JB
8984 * comint.el (comint-redirect-results-list-from-process):
8985 Fix infinite loop.
aed838b5 8986
d80a808f
LMI
89872013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8988
8989 * net/eww.el (eww-update-header-line-format): Quote % characters.
8990
e7a526e3
GM
89912013-06-21 Glenn Morris <rgm@gnu.org>
8992
8993 * play/cookie1.el (cookie): New custom group.
8994 (cookie-file): New option.
8995 (cookie-check-file): New function.
8996 (cookie): Make it interactive. Make start and end messages optional.
8997 Interactively, display the result. Default to cookie-file.
8998 (cookie-insert): Default to cookie-file.
8999 (cookie-snarf): Make start and end messages optional.
9000 Default to cookie-file. Use with-temp-buffer.
9001 (cookie-read): Rename from read-cookie.
9002 Make start and end messages optional. Default to cookie-file.
9003 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 9004 Do not autoload it.
e7a526e3
GM
9005 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9006 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9007
62efb35e
LL
90082013-06-21 Leo Liu <sdl.web@gmail.com>
9009
9010 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9011
21e3f963
GM
90122013-06-21 Glenn Morris <rgm@gnu.org>
9013
9014 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9015
fd846ab4
SM
90162013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9017 Daniel Hackney <dan@haxney.org>
9018
9019 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9020 Consolidate the single-file vs tarball code.
9021 (package-desc-suffix): New function.
9022 (package-desc-full-name): Don't bother inlining it.
9023 (package-load-descriptor): Return the new package-desc.
9024 (package-mark-obsolete): Remove unused arg `package'.
9025 (package-unpack): Make it work for single files as well.
9026 Make it update package-alist.
9027 (package--make-autoloads-and-stuff): Rename from
9028 package--make-autoloads-and-compile. Don't compile any more.
9029 (package--compile): New function.
9030 (package-generate-description-file): New function, extracted from
9031 package-unpack-single.
9032 (package-unpack-single): Remove.
9033 (package--with-work-buffer): Add indentation and debugging info.
9034 (package-download-single): Remove.
9035 (package-install-from-archive): Rename from package-download-tar, make
9036 it take a pkg-desc, and make it work for single files as well.
9037 (package-download-transaction): Simplify.
9038 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9039 external tar program.
9040 (package-install-from-buffer): Remove `pkg-desc' argument.
9041 Use package-tar-file-info for tar-mode buffers.
9042 (package-install-file): Simplify accordingly.
9043 (package-archive-base): Change to take a pkg-desc.
9044 * tar-mode.el (tar--check-descriptor): New function, extracted from
9045 tar-get-descriptor.
9046 (tar-get-descriptor): Use it.
9047 (tar-get-file-descriptor): New function.
9048 (tar--extract): New function, extracted from tar-extract.
9049 (tar--extract): Use it.
9050 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9051 case the summary uses non-ascii. Adjust to new calling convention of
9052 package-tar-file-info.
9053
b7deae5e
LL
90542013-06-21 Leo Liu <sdl.web@gmail.com>
9055
fd846ab4
SM
9056 * comint.el (comint-redirect-results-list-from-process):
9057 Fix random delay. (Bug#14681)
b7deae5e 9058
7a65a0b2
JB
90592013-06-21 Juanma Barranquero <lekktu@gmail.com>
9060
9061 * profiler.el (profiler-format-number): Use log, not log10.
9062
1493c2af
JB
90632013-06-20 Juanma Barranquero <lekktu@gmail.com>
9064
9065 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9066
aff6371e
SM
90672013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9068
9069 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9070 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9071 yet available.
9072 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9073 (AUTOGENEL): ... here.
9074 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9075 (cl--defsubst-expand): Use it.
9076
89561f72
PE
90772013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9078
9079 * subr.el (log10): Move here from C code, and declare as obsolete.
9080 All uses of (log10 X) replaced with (log X 10).
9081
47199123
JB
90822013-06-20 Juanma Barranquero <lekktu@gmail.com>
9083
9084 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9085 Declare with `defvar-local'.
9086 (tabulated-list-use-header-line, tabulated-list-entries)
9087 (tabulated-list-padding, tabulated-list-printer)
9088 (tabulated-list-sort-key): Declare with `defvar-local'.
9089 (tabulated-list-init-header, tabulated-list-print-fake-header):
9090 Use `setq-local'.
9091
4a172eab
MA
90922013-06-20 Michael Albinus <michael.albinus@gmx.de>
9093
47199123
JB
9094 * arc-mode.el (archive-mode): Add `archive-write-file' to
9095 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 9096
5fc0acc0
JB
90972013-06-20 Juanma Barranquero <lekktu@gmail.com>
9098
d5b27848
JB
9099 * cus-edit.el (custom-commands): Fix typos.
9100 (custom-display): Fix tooltip text.
9101 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9102 Fix typos in docstrings.
9103 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9104 (custom-unlispify-menu-entry, custom-magic-value-create)
9105 (custom-add-see-also, custom-group-value-create): Use ?\s.
9106 (custom-guess-type, customize-apropos, editable-field)
9107 (custom-face-value-create): Use `string-match-p'.
9108 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9109
9110 * custom.el (custom-load-symbol): Use `string-match-p'.
9111
a5c581d8
JB
9112 * ansi-color.el: Convert to lexical binding.
9113 (ansi-colors): Fix URL.
9114 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9115 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9116 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9117
970ad972
G
91182013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9119
9120 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9121
9122 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9123
91242013-06-19 Tom Tromey <tromey@redhat.com>
9125
9126 * net/eww.el (eww-top-url): Remove.
9127 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9128 (eww-render): Set new variables. Don't set eww-top-url.
9129 (eww-handle-link): Handle "prev", "home", and "contents".
9130 Downcase the rel text.
9131 (eww-top-url): Choose best top URL.
9132
91332013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9134
9135 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9136 relying in widget.el. Using widget.el leads to too many
9137 user interface inconsistencies.
9138 (eww-self-insert): Implement entering commands in text fields.
9139 (eww-process-text-input): New function to make text input field editing
9140 work.
9141 (eww-submit): Rewrite to use the new-style form methods.
9142 (eww-select-display): Display the correct selected item.
9143 (eww-change-select): Implement changing the select value.
9144 (eww-toggle-checkbox): Implement radio/checkboxes.
9145 (eww-update-field): Fix compilation error.
9146 (eww-tag-textarea): Implement <textarea>.
9147
9148 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9149 we don't shadow mode-specific bindings.
9150
9151 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9152 nothing to push.
9153
9154 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9155
4582a01c 91562013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
9157
9158 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9159
15b263dc
MA
91602013-06-19 Michael Albinus <michael.albinus@gmx.de>
9161
9162 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9163 not needed.
9164
9165 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9166
8f5297f7
LMI
91672013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9168
9169 * net/browse-url.el (browse-url-browser-function):
9170 `eww-browse-url' has the right calling signature, `eww' does not.
9171
011c4552
GM
91722013-06-19 Glenn Morris <rgm@gnu.org>
9173
2285bd27
GM
9174 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9175 Only eval autoloaded macros.
9176 (byte-compile-autoload): Only give the macro warning for macros.
9177
1d653303
GM
9178 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9179 (ps-underlined-faces): Declare.
9180
bdd779ec
GM
9181 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9182 (speedbar-add-supported-extension): Declare.
9183
011c4552
GM
9184 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9185 Don't include a date stamp in the header of the generated file;
9186 it leads to needless differences between output files.
9187
e59dfb0e
MA
91882013-06-19 Michael Albinus <michael.albinus@gmx.de>
9189
c763842b
SM
9190 * net/secrets.el (secrets-struct-secret-content-type):
9191 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 9192 Some servers do not offer introspection.
e59dfb0e 9193
102626e2
SM
91942013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9195
9196 * electric.el (electric-pair-mode): Improve interaction with
9197 electric-layout-mode.
9198 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9199 (electric-pair-syntax): Use text-mode-syntax-table in comments
9200 and strings.
9201 (electric-pair--insert): New function.
9202 (electric-pair-post-self-insert-function): Use it and
9203 electric--after-char-pos.
9204
ad528125
LL
92052013-06-19 Leo Liu <sdl.web@gmail.com>
9206
9207 * progmodes/octave.el (octave-help): Fix regexp.
9208
924d6997
G
92092013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9210
9211 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9212 (shr-table-horizontal-line): Allow nil as a value, and change the
9213 default.
9214 (shr-insert-table-ruler): Respect the nil value.
9215
92162013-06-18 Tom Tromey <tromey@barimba>
9217
9218 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9219 New defvars.
9220 (eww-open-file): New defun.
9221 (eww-render): Initialize new variables.
9222 (eww-display-html): Handle "link" and "a".
9223 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9224 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9225 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
9226 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9227 New defuns.
924d6997 9228
d1bbba4f
DG
92292013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9230
9231 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9232 Distinguish ternary operator tokens from slash symbol and slash
9233 char literal.
9234
14dd22d2
JB
92352013-06-18 Juanma Barranquero <lekktu@gmail.com>
9236
9237 Convert symbol prettification into minor mode and global minor mode.
9238
9239 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9240 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9241 (prettify-symbols--keywords): Rename from
9242 `prog-prettify-symbols-alist' and make a local defvar.
9243 (prettify-symbols--compose-symbol): Rename from
9244 `prog--prettify-font-lock-compose-symbol'.
9245 (prettify-symbols--make-keywords): Rename from
9246 `prog-prettify-font-lock-symbols-keywords' and simplify.
9247 (prog-prettify-install): Remove.
9248 (prettify-symbols-mode): New minor mode, based on
9249 `prog-prettify-install'.
9250 (turn-on-prettify-symbols-mode): New function.
9251 (global-prettify-symbols-mode): New globalized minor mode.
9252
9253 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9254 * progmodes/cfengine.el (cfengine3-mode):
9255 * progmodes/perl-mode.el (perl-mode): Don't call
9256 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9257
292c880c
JL
92582013-06-18 Juri Linkov <juri@jurta.org>
9259
9260 * files-x.el (modify-file-local-variable-message): New function.
9261 (modify-file-local-variable)
9262 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9263 and call `modify-file-local-variable-message' when it's non-nil.
9264 (add-file-local-variable, delete-file-local-variable)
9265 (add-file-local-variable-prop-line)
9266 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9267 and use it. (Bug#9820)
9268
0950aa27
JL
92692013-06-18 Juri Linkov <juri@jurta.org>
9270
9271 * emulation/vi.el (vi-shell-op):
9272 * emulation/vip.el (vip-execute-com, ex-command):
9273 * emulation/viper-cmd.el (viper-exec-bang):
9274 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9275 the call of `shell-command-on-region'. (Bug#14637)
9276
9277 * simple.el (shell-command-on-region): Doc fix.
9278
8fbcca16
SM
92792013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9280
9281 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9282 (bug#14633).
9283
dd7426ea
GM
92842013-06-18 Glenn Morris <rgm@gnu.org>
9285
4ba54f7d
GM
9286 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9287
dd7426ea
GM
9288 * newcomment.el (comment-search-forward, comment-search-backward):
9289 Doc fix. (Bug#14376)
9290
58aa805b
JB
92912013-06-18 Juanma Barranquero <lekktu@gmail.com>
9292
9293 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9294 (buffer-face-mode-invoke): Doc fix.
9295
9a08a617
MM
92962013-06-18 Matthias Meulien <orontee@gmail.com>
9297
9298 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 9299 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 9300
f2f426ca
GM
93012013-06-18 Glenn Morris <rgm@gnu.org>
9302
9445f99b
GM
9303 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9304 Replace obsolete function generic-make-keywords with its expansion.
9305
e0df2d14
GM
9306 * progmodes/python.el (ffap-alist): Declare.
9307
f2f426ca
GM
9308 * textmodes/reftex.el (bibtex-mode-map): Declare.
9309
f7f9a720
SM
93102013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9311
9312 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9313 (package-unpack, package-unpack-single): Return the pkg-dir.
9314 (package-download-transaction): Use it to update package-alist.
9315
57ff04e0
LMI
93162013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9317
9318 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9319 possible choice.
9320
c048c022
JL
93212013-06-17 Juri Linkov <juri@jurta.org>
9322
9323 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9324
b5bcaee5
DG
93252013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9326
a020afb9
JB
9327 * emacs-lisp/package.el (package-load-descriptor):
9328 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
9329 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9330
551e07e5
JB
93312013-06-17 Juanma Barranquero <lekktu@gmail.com>
9332
9333 * startup.el (command-line): Expand package name returned by
9334 `package--description-file' (bug#14639).
9335
d363bffb
DG
93362013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9337
9338 * emacs-lisp/package.el (package-load-descriptor): Do not call
9339 `emacs-lisp-mode', just use its syntax table.
9340
f612933b
JB
93412013-06-17 Juanma Barranquero <lekktu@gmail.com>
9342
9343 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9344 `font-lock-extra-managed-props' if any prettifying keyword is added.
9345 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9346 (prog-mode): Use `setq-local'.
9347
db3b7db5
SM
93482013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9349
9350 * international/characters.el (standard-case-table): Set syntax of ?»
9351 and ?« to punctuation.
9352
f3d674df
JB
93532013-06-16 Juanma Barranquero <lekktu@gmail.com>
9354
9355 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9356 Save relevant match data before calling `syntax-ppss' (bug#14595).
9357
31489a32
JL
93582013-06-15 Juri Linkov <juri@jurta.org>
9359
9360 * files-x.el (modify-file-local-variable-prop-line): Add local
9361 variables to the end of the existing comment on the first line.
9362 Use `file-auto-mode-skip' to skip interpreter magic line,
9363 and also skip XML declaration.
9364
66bd25ab
SM
93652013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9366
9367 * startup.el (package--builtin-versions): New var.
9368 (package-subdirectory-regexp): Remove.
9369 (package--description-file): Hard code its value instead.
9370
9371 * emacs-lisp/package.el: Don't activate packages older than builtin.
9372 (package-obsolete-list): Rename from package-obsolete-alist, and make
9373 it into a simple list of package-desc.
9374 (package-strip-version): Remove.
9375 (package-built-in-p): Use package--builtin-versions.
9376 (package-mark-obsolete): Simplify.
9377 (package-process-define-package): Mark it obsolete if older than the
9378 builtin version.
9379 (package-handle-response): Use line-end-position.
9380 (package-read-archive-contents, package--download-one-archive):
9381 Simplify.
9382 (package--add-to-archive-contents): Skip if older than the builtin or
9383 installed version.
9384 (package-menu-describe-package): Fix last change.
9385 (package-list-unversioned): New var.
9386 (package-menu--generate): Use it.
9387
9388 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9389 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9390 (autoload-builtin-package-versions): New variable.
9391 (autoload-generate-file-autoloads): Use them.
9392 Remove the list of autoloaded functions/macros from the
9393 (autoload...) comments.
9394
9395 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9396
9583ec36
EZ
93972013-06-15 Eli Zaretskii <eliz@gnu.org>
9398
9399 * simple.el (line-move-partial): Don't jump to the next screen
9400 line as soon as it becomes visible. Instead, continue enlarging
9401 the vscroll until the portion of a tall screen line that's left on
9402 display is about the height of the frame's default font.
9403 (Bug#14567)
9404
f0100d8a
GM
94052013-06-15 Glenn Morris <rgm@gnu.org>
9406
b86a85ca
GM
9407 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9408 compilation-error-regexp-alist void, or local while let-bound.
9409
f0100d8a
GM
9410 * progmodes/make-mode.el (makefile-mode-syntax-table):
9411 Treat "=" as punctuation. (Bug#14614)
9412
05e7ce90
JB
94132013-06-15 Juanma Barranquero <lekktu@gmail.com>
9414
9415 * help-fns.el (describe-variable):
9416 Add extra line for permanent-local variables.
9417
12e5e86e
SH
94182013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9419
9420 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9421 Add export, import, library. (Bug#9164)
9422 (library): Set indent function.
9423
230dcbaf
GM
94242013-06-14 Glenn Morris <rgm@gnu.org>
9425
9426 * term/xterm.el (xterm--query):
9427 Stop after first matching handler. (Bug#14615)
9428
e36b2d20 94292013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
9430
9431 Add support for dired in saveplace.
9432 * dired.el (dired-initial-position-hook): New variable.
9433 (dired-initial-position): Call hook to place cursor position.
9434 * saveplace.el (save-place-to-alist): Add dired position.
9435 (save-place-dired-hook): New function.
9436
0b31660d
SM
94372013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9438
bf1e6ae8
SM
9439 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9440 through a symbol rather than letrec.
9441
1b8dff23
SM
9442 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9443 (package-desc): Add `dir' field.
9444 (package-desc-full-name): New function.
9445 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9446 (package-maybe-load-descriptor): Remove.
9447 (package-load-all-descriptors): Just call package-load-descriptor.
9448 (package--disabled-p): New function.
9449 (package-desc-vers, package-desc-doc): Remove aliases.
9450 (package--dir): Remove function.
9451 (package-activate): Check if a package is disabled.
9452 (package-process-define-package): New function, extracted from
9453 define-package.
9454 (define-package): Turn into a place holder.
9455 (package-unpack-single, package-tar-file-info):
9456 Use package--description-file.
9457 (package-compute-transaction): Use package--disabled-p.
9458 (package-download-transaction): Don't call
9459 package-maybe-load-descriptor since they're all loaded anyway.
9460 (package-install): Change argument to be a pkg-desc.
9461 (package-delete): Use a single pkg-desc argument.
9462 (describe-package-1): Use package-desc-dir instead of package--dir.
9463 Use package-desc property instead of package-symbol.
9464 (package-install-button-action): Adjust accordingly.
9465 (package--push): Rewrite.
9466 (package-menu--print-info): Adjust accordingly. Change the ID format
9467 to be a pkg-desc.
9468 (package-menu-describe-package, package-menu-get-status)
9469 (package-menu--find-upgrades, package-menu-mark-upgrades)
9470 (package-menu-execute, package-menu--name-predicate):
9471 Adjust accordingly.
9472 * startup.el (package--description-file): New function.
9473 (command-line): Use it.
9474 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9475 Use package-desc-version.
9476
0b31660d
SM
9477 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9478 (byte-compile-preprocess): Use it.
9479 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9480 can't quite recognize.
9481 (byte-compile-add-to-list): Remove.
9482 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9483 (cconv-closure-convert): Add assertion.
9484
9485 * emacs-lisp/map-ynp.el: Use lexical-binding.
9486 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9487 Factor out some repeated code.
9488
de0503df
SM
94892013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9490
9491 * subr.el (with-eval-after-load): New macro.
9492 (eval-after-load): Allow form to be a function.
9493 take advantage of lexical-binding.
9494 (do-after-load-evaluation): Use dolist and adjust to new format.
9495 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9496
bc5c8c5a
JL
94972013-06-13 Juri Linkov <juri@jurta.org>
9498
9499 * replace.el (perform-replace): Display "symbol " and other search
9500 modes from `isearch-message-prefix' in the *Help* buffer.
9501
9502 * isearch.el (isearch-query-replace): Add " symbol" and other
9503 possible search modes from `isearch-message-prefix' to the prompt.
9504 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9505 when reading a regexp to collect.
9506
a22289f7
JL
95072013-06-13 Juri Linkov <juri@jurta.org>
9508
9509 * isearch.el (word-search-regexp): Match whitespace if the search
9510 string begins or ends in whitespace. The LAX arg is applied to
9511 both ends of the search string. Use `regexp-quote' and explicit
9512 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9513 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9514 boundaries are replaced with symbol boundaries, and characters
9515 between symbols match non-word non-symbol syntax. (Bug#14602)
9516
cb89acab
JL
95172013-06-13 Juri Linkov <juri@jurta.org>
9518
9519 * isearch.el (isearch-del-char): Don't exceed the length of
9520 `isearch-string' by the prefix arg. (Bug#14563)
9521
6e8cfc81
JL
95222013-06-13 Juri Linkov <juri@jurta.org>
9523
9524 * isearch.el (isearch-yank-word, isearch-yank-line)
9525 (isearch-char-by-name, isearch-quote-char)
9526 (isearch-printing-char, isearch-process-search-char):
9527 Add optional count prefix arg. (Bug#14563)
9528
9529 * international/isearch-x.el
9530 (isearch-process-search-multibyte-characters):
9531 Add optional count prefix arg.
9532
c23d55f4
VS
95332013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9534
9535 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9536 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9537 lexical-binding.
9538
95392013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9540
9541 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9542
ba947bc4
GM
95432013-06-13 Glenn Morris <rgm@gnu.org>
9544
8baeb37a
GM
9545 * startup.el (tty-handle-args):
9546 Don't just discard "--" and anything after. (Bug#14608)
9547
ba947bc4
GM
9548 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9549
9abefce4
MA
95502013-06-13 Michael Albinus <michael.albinus@gmx.de>
9551
9552 Implement changes in Secret Service API. Make it backward compatible.
9553 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9554 (secrets-create-item): Use it. Prefix properties with interface.
9555
5755011f
MH
95562013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9557
9558 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9559 (term-emulate-terminal): Respect term-suppress-hard-newline.
9560
1261d2da
S
95612013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9562
9563 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9564 Only remove a `thumb-file' overlay. (Bug#14548)
9565
868490bb
GJ
95662013-06-12 Grégoire Jadi <daimrod@gmail.com>
9567
9568 * mail/reporter.el (reporter-submit-bug-report):
9569 Handle missing package-name. (Bug#14600)
9570
79d7167f
TH
95712013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9572
9573 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9574 (reftex-citation-prompt, reftex-default-bibliography)
9575 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9576 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9577 (reftex-bib-sort-author, reftex-bib-sort-year)
9578 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9579 (reftex-extract-bib-entries-from-thebibliography)
9580 (reftex-get-bibkey-default, reftex-get-bib-names)
9581 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9582 (reftex-format-bib-entry, reftex-parse-bibitem)
9583 (reftex-format-bibitem, reftex-do-citation)
9584 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9585 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9586 (reftex-insert-bib-matches, reftex-format-citation)
9587 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9588 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9589 existing comments into docstrings.
9590
5f9dbd7a
XF
95912013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9592
9593 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9594
94df41ab
AS
95952013-06-12 Andreas Schwab <schwab@suse.de>
9596
9597 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9598 for auto-save files.
9599
a7f3fecc
GM
96002013-06-12 Glenn Morris <rgm@gnu.org>
9601
001809f6
GM
9602 * ido.el (ido-delete-ignored-files): Remove.
9603 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9604 Go back to calling ido-ignore-item-p directly.
a7f3fecc 9605
834b5ded
EL
96062013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9607
08c73ed2
EL
9608 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9609
834b5ded
EL
9610 * ido.el (ido-delete-ignored-files): New function,
9611 split from ido-make-file-list-1.
9612 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9613 (ido-make-file-list-1): Use ido-delete-ignored-files.
9614
daabf15a
LL
96152013-06-12 Leo Liu <sdl.web@gmail.com>
9616
9617 * progmodes/octave.el (inferior-octave-startup)
9618 (inferior-octave-completion-table)
9619 (inferior-octave-track-window-width-change)
9620 (octave-eldoc-function-signatures, octave-help)
9621 (octave-find-definition): Use single quoted strings.
9622 (inferior-octave-startup-args): Change default value.
9623 (inferior-octave-startup): Do not hard code "-i" and
9624 "--no-line-editing".
9625 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9626 (inferior-octave-directory-tracker): Use it.
9627 (octave-goto-function-definition): Robustify.
9628 (octave-help): Support highlighting operators in 'See also'.
9629 (octave-find-definition): Find subfunctions only in Octave mode.
9630
cf4e5178
SM
96312013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9632
9633 * help-fns.el (help-fns--compiler-macro): If the handler function is
9634 named, then put a link to it.
9635 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9636 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9637 (cl-typep): Use it.
9638 (cl-eval-when): Simplify debug spec.
9639 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9640 compiler-macro function instead of setting `compiler-macro-file'.
9641
99c81280 96422013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
9643
9644 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9645 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9646
f56be016
SM
96472013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9648 Daniel Hackney <dan@haxney.org>
9649
9650 First part of Daniel Hackney's patch to package.el.
9651 * emacs-lisp/package.el: Use defstruct.
9652 (package-desc): New, main struct.
9653 (package--bi-desc, package--ac-desc): New structs, used to describe the
9654 format in external files.
9655 (package-desc-vers): Replace with package-desc-version accessor.
9656 (package-desc-doc): Replace with package-desc-summary accessor.
9657 (package-activate-1): Remove `package' arg since the pkg-vec now
9658 includes the name.
9659 (define-package): Use package-desc-from-define.
9660 (package-unpack-single): Change file-name arg to be a symbol.
9661 (package--add-to-archive-contents): Use package-desc-create and new
9662 accessor functions to package--ac-desc.
9663 (package-buffer-info, package-tar-file-info): Return a package-desc.
9664 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9665 arg to be a package-desc.
9666 (package-install-file): Adjust accordingly. Use \' to match EOS.
9667 (package--from-builtin): New function.
9668 (describe-package-1, package-menu--generate): Use it.
9669 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9670 (package-generate-autoloads): Idem and return the name of the file.
9671 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9672 Change pkg-info arg to be a package-desc.
9673 Use package-make-ac-desc.
9674 (package-upload-file): Use \' to match EOS.
9675 * finder.el (finder-compile-keywords): Use package-make-builtin.
9676
31119d63
SM
96772013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9678
931a2762
SM
9679 * vc/vc.el (vc-deduce-fileset): Change error message.
9680 (vc-read-backend): New function.
9681 (vc-next-action): Use it.
9682
5a3eb0c6
SM
9683 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9684
e3eb1bb7
SM
9685 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9686 (prolog-font-lock-keywords): Use regexp-opt instead.
9687 Don't manually highlight strings.
9688 (prolog-mode-variables): Simplify comment-start-skip.
9689 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9690
31119d63
SM
9691 * emacs-lisp/generic.el (generic--normalise-comments)
9692 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9693 (generic-mode-set-comments): Use them.
9694 (generic-bracket-support): Use setq-local.
9695 (generic-make-keywords-list): Declare obsolete.
9696
7de135d0
GM
96972013-06-11 Glenn Morris <rgm@gnu.org>
9698
9699 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9700 Prettify after setting font-lock-defaults. (Bug#14574)
9701
fa6bc6fd
JB
97022013-06-11 Juanma Barranquero <lekktu@gmail.com>
9703
9704 * replace.el (query-replace, occur-read-regexp-defaults-function)
9705 (replace-search):
9706 * subr.el (declare-function, number-sequence, local-set-key)
9707 (substitute-key-definition, locate-user-emacs-file)
9708 (with-silent-modifications, split-string, eval-after-load):
9709 Fix typos, remove unneeded backslashes and reflow some docstrings.
9710
cf1f9b9a
SM
97112013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9712
9713 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9714 default for Elisp files.
9715
56602a4b
GM
97162013-06-11 Glenn Morris <rgm@gnu.org>
9717
9718 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9719 although define-derived-mode was doing this anyway. (Bug#14583)
9720
30ae0b2c
JB
97212013-06-10 Juanma Barranquero <lekktu@gmail.com>
9722
9723 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9724 Fix make-variable-buffer-local call to refer to the correct variable.
9725
fa472906
AG
97262013-06-10 Aidan Gauland <aidalgol@amuri.net>
9727
9728 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
9729 (eshell-visual-subcommands, eshell-visual-options):
9730 Add summary line to docstrings. Add cross-references.
fa472906 9731
ff4871b9
GM
97322013-06-10 Glenn Morris <rgm@gnu.org>
9733
9734 * epa.el (epa-read-file-name): New function. (Bug#14510)
9735 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9736
04fcf1b0
AG
97372013-06-09 Aidan Gauland <aidalgol@amuri.net>
9738
9739 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9740 output redirection to be ignored with visual commands.
9741
88b00caa
AG
97422013-06-09 Aidan Gauland <aidalgol@amuri.net>
9743
9744 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
9745 (eshell-term-initialize): Move long lambda to separate function
9746 eshell-visual-command-p.
e7b41c4c
JB
9747 * eshell/em-dirs.el (eshell-dirs-initialise):
9748 * eshell/em-script.el (eshell-script-initialize):
9749 Add missing #' to lambda.
88b00caa 9750
fda74125
LL
97512013-06-08 Leo Liu <sdl.web@gmail.com>
9752
9753 * progmodes/octave.el (octave-add-log-current-defun): New function.
9754 (octave-mode): Set add-log-current-defun-function.
9755 (octave-goto-function-definition): Do not move point if not found.
9756 (octave-find-definition): Enhance to try subfunctions first.
9757
467f3b33
GM
97582013-06-08 Glenn Morris <rgm@gnu.org>
9759
9760 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9761 (byte-compile-backward-char, byte-compile-backward-word):
9762 Improve previous change, to handle non-explicit nil.
9763
544badc3
SM
97642013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9765
9766 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9767 (smie--opener/closer-at-point): New function.
9768 (smie--matching-block-data): Use it. Don't match from right after an
9769 opener or right before a closer. Obey smie-blink-matching-inners.
9770 Don't signal a mismatch for repeated inners like "switch..case..case".
9771
a175bf33
LL
97722013-06-07 Leo Liu <sdl.web@gmail.com>
9773
9774 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9775 to t. (Bug#14303)
ce8209d4
LL
9776 (octave-function-header-regexp): Fix. (Bug#14570)
9777 (octave-help-mode-finish-hook, octave-help-mode-finish):
9778 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
9779
9780 * newcomment.el (comment-search-backward): Revert last change.
9781 (Bug#14434)
9782
9783 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9784
a822acff
EZ
97852013-06-07 Eli Zaretskii <eliz@gnu.org>
9786
9787 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9788 through xargs, to avoid failure due to MS-Windows limitations on
9789 command-line length.
9790
961166f5
GM
97912013-06-06 Glenn Morris <rgm@gnu.org>
9792
d0341459
GM
9793 * font-lock.el (lisp-font-lock-keywords-2):
9794 Treat user-error like error.
9795
961166f5
GM
9796 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9797 (byte-compile-backward-char, byte-compile-backward-word):
9798 Handle explicit nil arguments. (Bug#14565)
9799
80fa505f
AM
98002013-06-05 Alan Mackenzie <acm@muc.de>
9801
9802 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 9803 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 9804 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 9805 (Bug#9706)
80fa505f 9806
fccdc796
SM
98072013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9808
9809 * autorevert.el (auto-revert-notify-handler): Use memq.
9810 Hide assertion failure.
9811
9812 * skeleton.el: Use cl-lib.
9813 (skeleton-further-elements): Use defvar-local.
9814 (skeleton-insert): Use cl-progv.
9815
9bfff84b
TZ
98162013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9817
9818 * progmodes/prog-mode.el (prog-prettify-symbols)
9819 (prog-prettify-install): Update docstrings.
9820
55577e7c
SM
98212013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9822
9823 * simple.el: Move all the prog-mode code to prog-mode.el.
9824 * progmodes/prog-mode.el: New file.
9825 * loadup.el: Add prog-mode.el.
9826
8fc57765
TZ
98272013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9828
9829 * simple.el (prog-prettify-symbols): Add version.
9830 (prog-prettify-install): Add convenience function to prettify symbols.
9831
9832 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9833 (perl--augmented-font-lock-keywords-1)
9834 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9835 variables and use it.
9836
9837 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9838 (cfengine3-mode): Remove unneeded variable and use it.
9839
9840 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9841 (lisp--augmented-font-lock-keywords-1)
9842 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9843 Remove unneeded variables and use it.
9844
650645d5 98452013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
9846
9847 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 9848 to point when opening the connection. (Bug#14380)
28f5da6d 9849
781b4af6
SM
98502013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9851
9852 * subr.el (load-history-regexp, load-history-filename-element)
9853 (eval-after-load, after-load-functions, do-after-load-evaluation)
9854 (eval-next-after-load, display-delayed-warnings)
9855 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9856 definition of save-match-data.
9857 (overriding-local-map): Remove accidental obsolescence declaration.
9858
9859 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9860
3ca0d0b4
TZ
98612013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9862
9863 Generalize symbol prettify support to prog-mode and implement it
9864 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9865 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9866 (prog--prettify-font-lock-compose-symbol)
9867 (prog-prettify-font-lock-symbols-keywords): New variables and
9868 functions to support symbol prettification.
9869 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9870 (lisp--augmented-font-lock-keywords-1)
9871 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9872 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9873 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
9874 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9875 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
9876 * progmodes/perl-mode.el (perl-prettify-symbols)
9877 (perl--font-lock-compose-symbol)
9878 (perl--font-lock-symbols-keywords): Move to prog-mode.
9879 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9880 (perl-font-lock-keywords-1)
9881 (perl-font-lock-keywords-2): Remove explicit prettify support.
9882 (perl--augmented-font-lock-keywords)
9883 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
9884 (perl--augmented-font-lock-keywords-2, perl-mode):
9885 Implement prettify support.
3ca0d0b4 9886
976cb066
LL
98872013-06-05 Leo Liu <sdl.web@gmail.com>
9888
9889 Re-implement smie matching block highlight using
9890 show-paren-data-function. (Bug#14395)
9891 * emacs-lisp/smie.el (smie-matching-block-highlight)
9892 (smie--highlight-matching-block-overlay)
9893 (smie--highlight-matching-block-lastpos)
9894 (smie-highlight-matching-block)
9895 (smie-highlight-matching-block-mode): Remove.
9896 (smie--matching-block-data-cache): New variable.
9897 (smie--matching-block-data): New function.
9898 (smie-setup): Use smie--matching-block-data for
9899 show-paren-data-function.
9900
9901 * progmodes/octave.el (octave-mode-menu): Fix.
9902 (octave-find-definition): Skip garbage lines.
9903
208d0342
SM
99042013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9905
9906 Fix compilation error with simultaneous dynamic+lexical scoping.
9907 Add warning when a defvar appears after the first let-binding.
9908 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9909 (byte-compile-close-variables): Initialize it.
9910 (byte-compile--declare-var): New function.
9911 (byte-compile-file-form-defvar)
9912 (byte-compile-file-form-define-abbrev-table)
9913 (byte-compile-file-form-custom-declare-variable): Use it.
9914 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9915 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9916 (byte-compile-bind): Handle dynamic bindings that shadow
9917 lexical bindings.
9918 (byte-compile-unbind): Make arg non-optional.
9919 (byte-compile-let): Simplify.
9920 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9921 (cconv--analyse-function, cconv-analyse-form): Populate it.
9922 Protect byte-compile-bound-variables to limit the scope of defvars.
9923 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9924 Remove unneeded rule for `declare'.
9925
9926 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9927 so as to avoid depending on cl-adjoin at run-time.
9928 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9929
9930 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9931 (macroexp--warn-and-return): Use it.
9932
1ac2891e
GM
99332013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9934
a12bf61e 9935 * subr.el: Convert to lexical binding.
1ac2891e
GM
9936 (overriding-local-map): Make obsolete.
9937 (add-to-list): Doc fix. Add compiler macro.
9938 (read-key): Swap values of local maps.
9939
2587b005
LL
99402013-06-05 Leo Liu <sdl.web@gmail.com>
9941
9942 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9943
f1da3c88
LL
99442013-06-04 Leo Liu <sdl.web@gmail.com>
9945
9946 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9947 (compilation-auto-jump): Suppress the "Mark set" message to give
9948 way to exit message.
9949
3caa391f
AM
99502013-06-04 Alan Mackenzie <acm@muc.de>
9951
9952 Remove faulty optimisation from indentation calculation.
9953 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9954 search limit based on 2000 characters back from indent-point.
9955
068922a2
TH
99562013-06-03 Tassilo Horn <tsdh@gnu.org>
9957
9958 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9959
1f8fdd53
SM
99602013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9961
bbcc4d97
SM
9962 * emacs-lisp/lisp.el: Use lexical-binding.
9963 (lisp--local-variables-1, lisp--local-variables): New functions.
9964 (lisp--local-variables-completion-table): New var.
208d0342 9965 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 9966
1f8fdd53
SM
9967 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9968 eagerly (bug#14422).
9969
c9628c79
MA
99702013-06-03 Michael Albinus <michael.albinus@gmx.de>
9971
9972 * autorevert.el (auto-revert-notify-enabled)
9973 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9974 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9975 (auto-revert-notify-handler): Handle also gfilenotify.
9976
e7b41c4c 9977 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 9978 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 9979 Remove.
c9628c79 9980
e5e4a942
JL
99812013-06-03 Juri Linkov <juri@jurta.org>
9982
9983 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9984 `M-s h .'. (Bug#14427)
9985
9986 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9987 command `hi-lock-face-symbol-at-point'.
9988 (hi-lock-face-symbol-at-point): New command.
9989 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9990 (hi-lock-menu): Add `highlight-symbol-at-point'.
9991 (hi-lock-mode): Doc fix.
9992
9993 * isearch.el (isearch-forward-symbol-at-point): New command.
9994 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9995 (isearch-highlight-regexp): Add a regexp which matches
9996 words/symbols for word/symbol mode.
9997
9998 * subr.el (find-tag-default-bounds): New function with the body
9999 mostly moved from `find-tag-default'.
10000 (find-tag-default): Move most code to `find-tag-default-bounds',
10001 call it and apply `buffer-substring-no-properties' afterwards.
10002
26b3353a
TH
100032013-06-03 Tassilo Horn <tsdh@gnu.org>
10004
781b4af6
SM
10005 * eshell/em-term.el (eshell-term-initialize):
10006 Use `cl-intersection' rather than `intersection'.
26b3353a 10007
51b60f53
XF
100082013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10009
fe054b63 10010 * vc/log-view.el: Doc fix.
d3ffe17c 10011 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 10012
a0eb10b3 100132013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
10014
10015 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10016 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10017 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10018 (eieio-unbound, eieio-default-superclass)
10019 (eieio--define-field-accessors, method-static, method-before)
10020 (method-primary, method-after, method-num-lists)
10021 (method-generic-before, method-generic-primary)
10022 (method-generic-after, method-num-slots)
10023 (eieio-specialized-key-to-generic-key)
10024 (eieio--check-type, class-v, class-p)
10025 (eieio-class-name, define-obsolete-function-alias)
10026 (eieio-class-parents-fast, eieio-class-children-fast)
10027 (same-class-fast-p, class-constructor, generic-p)
10028 (generic-primary-only-p, generic-primary-only-one-p)
10029 (class-option-assoc, class-option, eieio-object-p)
10030 (class-abstract-p, class-method-invocation-order)
10031 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10032 (eieio-class-un-autoload, eieio-defclass)
10033 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10034 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10035 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10036 (eieio-defgeneric-reset-generic-form)
10037 (eieio-defgeneric-form-primary-only)
10038 (eieio-defgeneric-reset-generic-form-primary-only)
10039 (eieio-defgeneric-form-primary-only-one)
10040 (eieio-defgeneric-reset-generic-form-primary-only-one)
10041 (eieio-unbind-method-implementations)
10042 (eieio--defmethod, eieio--typep)
10043 (eieio-perform-slot-validation, eieio-validate-slot-value)
10044 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10045 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10046 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10047 (eieio-slot-name-index, eieio-class-slot-name-index)
10048 (eieio-set-defaults, eieio-initarg-to-attribute)
10049 (eieio-attribute-to-initarg, eieio-c3-candidate)
10050 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10051 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10052 (eieio-class-precedence-list, eieio-generic-call-methodname)
10053 (eieio-generic-call-arglst, eieio-generic-call-key)
10054 (eieio-generic-call-next-method-list)
10055 (eieio-pre-method-execution-functions, eieio-generic-call)
10056 (eieio-generic-call-primary-only, eieiomt-method-list)
10057 (eieiomt-optimizing-obarray, eieiomt-install)
10058 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10059 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 10060 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
10061 (defclass): Remove `eval-and-compile' from macro.
10062 (call-next-method, shared-initialize): Instead of using
10063 `scoped-class' variable, use new eieio--scoped-class, and
10064 eieio--with-scoped-class.
10065 (initialize-instance): Rename local variable 'scoped-class' to
10066 'this-class' to remove ambiguitity from old global.
10067
10068 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10069 eieio.el.
4f405069
JB
10070 (eieio--scoped-class-stack): New variable.
10071 (eieio--scoped-class): New fcn.
890f7890
DE
10072 (eieio--with-scoped-class): New scoping macro.
10073 (eieio-defclass): Use pushnew instead of add-to-list.
10074 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10075 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10076 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10077 `scoped-class' variable, use new eieio--scoped-class, and
10078 eieio--with-scoped-class.
10079
10080 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10081
d105b0e2
TH
100822013-06-02 Tassilo Horn <tsdh@gnu.org>
10083
10084 * eshell/esh-ext.el (eshell-external-command): Pass args to
10085 `eshell-find-interpreter'.
10086 (eshell-find-interpreter): Add new second parameter ARGS.
10087
10088 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 10089 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10090
10091 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 10092 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10093
10094 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10095 (eshell-visual-options): New defcustom.
10096 (eshell-escape-control-x): Adapt docstring.
10097 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10098 `eshell-visual-options' in addition to `eshell-visual-commands'.
10099 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10100
f46305c8 101012013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
10102
10103 * progmodes/python.el (python-indent-block-enders): Add break,
10104 continue and raise keywords.
10105
d870df21
GM
101062013-06-01 Glenn Morris <rgm@gnu.org>
10107
9133b82e
GM
10108 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10109
02c992ec 10110 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
10111 * progmodes/cc-cmds.el (delete-forward-p):
10112 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10113 * progmodes/cc-engine.el (buffer-syntactic-context):
10114 * progmodes/cc-fonts.el (face-property-instance):
10115 * progmodes/cc-mode.el (set-keymap-parents):
10116 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10117 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10118 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
10119 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10120 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 10121
31e7b090
GM
10122 * progmodes/cc-vars.el (other): Emacs has this widget since
10123 at least 21.1, so don't (re)define it.
10124
d870df21
GM
10125 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10126 Replace the obsolete alias pcomplete-arg-quote-list.
10127
c75c93c7
LL
101282013-06-01 Leo Liu <sdl.web@gmail.com>
10129
10130 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10131 punctuation syntax.
10132 (inferior-octave-minimal-columns)
10133 (inferior-octave-last-column-width): New variables.
10134 (inferior-octave-track-window-width-change): New function.
10135 (inferior-octave-mode): Adjust column width so that Octave output,
10136 for example from 'ls', can fit into the window nicely.
10137
973d1e12
DG
101382013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10139
10140 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10141 Highlight expansions inside regexp literals.
10142
0888c286
GM
101432013-05-31 Glenn Morris <rgm@gnu.org>
10144
e26aac1f
GM
10145 * obsolete/sym-comp.el (symbol-complete):
10146 Replace obsolete completion-annotate-function.
10147
0888c286
GM
10148 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10149
19bb8e62
DG
101502013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10151
781b4af6
SM
10152 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10153 New function, checks if point is inside a literal that allows
19bb8e62
DG
10154 expression expansion.
10155 (ruby-syntax-propertize-expansion): Use it.
10156 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10157 around the body.
10158
01dea85f
JL
101592013-05-30 Juri Linkov <juri@jurta.org>
10160
10161 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10162 to "\M-si".
10163 (isearch-invisible): New variable.
10164 (isearch-forward): Doc fix.
10165 (isearch-mode): Set `isearch-invisible'
10166 to the value of `search-invisible'.
10167 (isearch-toggle-case-fold): Doc fix.
10168 (isearch-toggle-invisible): New command.
10169 (isearch-query-replace): Let-bind `search-invisible'
10170 to the value of `isearch-invisible'.
10171 (isearch-search): Use `isearch-invisible' instead of
10172 `search-invisible'. Let-bind `search-invisible'
10173 to the value of `isearch-invisible'. (Bug#11378)
10174
ab1bdce5
JL
101752013-05-30 Juri Linkov <juri@jurta.org>
10176
10177 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10178 call when `query-flag' is nil and `search-invisible' is non-nil.
10179 (Bug#11746)
10180
d6d236e2
GM
101812013-05-30 Glenn Morris <rgm@gnu.org>
10182
8accd027
GM
10183 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10184
2a8bed1c
GM
10185 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10186 (cc-require): Suppress spurious "noruntime" warnings.
10187 (cc-require-when-compile): Use fboundp, for sake of compiler.
10188
d6d236e2
GM
10189 * progmodes/cc-mode.el: Move load of cc-vars before that of
10190 cc-langs (which in turn loads cc-vars), to quieten compiler.
10191
9190b35b
SM
101922013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10193
10194 * paren.el: Simplify the code.
10195 (show-paren-mode): Always start the timer.
10196 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10197 (show-paren--overlay, show-paren--overlay-1): Rename from
10198 show-paren-overlay and show-paren-overlay-1, and initialize to an
10199 overlay rather than to nil.
10200 (show-paren-function): Misc cleanup and simplifications.
10201
4f8d1cf6
SM
102022013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10203
10204 * paren.el (show-paren-data-function): New hook.
10205 (show-paren--default): New function, extracted from show-paren-function.
10206 (show-paren-function): Use show-paren-data-function.
10207
02d844b5
GM
102082013-05-30 Glenn Morris <rgm@gnu.org>
10209
d209d4a9
GM
10210 * ielm.el (ielm-map, ielm-complete-symbol):
10211 Use completion-at-point rather than obsolete functions.
10212 (inferior-emacs-lisp-mode): Doc fix.
10213 Set completion-at-point-functions, rather than
10214 comint-dynamic-complete-functions.
10215
2082faa6
GM
10216 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10217 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10218 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10219
dd8620de
GM
10220 * image.el (image-animated-p): Tweak definition.
10221
ceca95b1
GM
10222 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10223 (rlogin-process-connection-type): Tweak default. Add set-after.
10224 (rlogin-host): Doc fix.
10225 (rlogin): Tweak prompt.
10226 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10227
ee9f1acc
GM
10228 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10229 * progmodes/tcl.el (inferior-tcl-mode-map):
10230 Use completion-at-point rather than obsolete alias.
10231
45ce222e
GM
10232 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10233
02d844b5
GM
10234 * minibuffer.el (read-file-name-completion-ignore-case):
10235 Move before completion--in-region, for eager macro expansion.
10236
ac44d6c1
JL
102372013-05-29 Juri Linkov <juri@jurta.org>
10238
10239 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10240 for total count of matching lines. Add `global-matches' for total
10241 count of matches. Rename `matches' to `lines' for count of
10242 matching lines. Add `matches' for count of matches.
10243 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10244 to `prev-line' for line number of prev match endpt.
10245 Increment `matches' for every match. Print the number of
10246 matching lines in the header.
10247 (occur-context-lines): Rename `lines' to `curr-line'.
10248 Rename `prev-lines' to `prev-line'. (Bug#14017)
10249
3c9c9d38
JL
102502013-05-29 Juri Linkov <juri@jurta.org>
10251
10252 * replace.el (perform-replace): Add `skip-read-only-count',
10253 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10254 Increment them for corresponding conditions and report the number
10255 of skipped occurrences in the final message. (Bug#11746)
10256 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10257 (replace-string, replace-regexp): Doc fix.
10258
33e249a2
SM
102592013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10260
8e399682
SM
10261 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10262
33e249a2 10263 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 10264 prog-mode-map (bug#14504).
33e249a2 10265
f236dd84
LL
102662013-05-29 Leo Liu <sdl.web@gmail.com>
10267
10268 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10269 (octave-help): Small simplification.
10270
10271 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10272 off the highlight first.
10273
3694d13f
GM
102742013-05-29 Glenn Morris <rgm@gnu.org>
10275
03983bdc
GM
10276 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10277 Handle idlwave-last-system-routine-info-cons-cell being nil.
10278
bc74a74a
GM
10279 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10280 (idlwave-write-paths): Simplify via with-temp-buffer.
10281
8b394200
GM
10282 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10283 * emulation/cua-rect.el: Also load cua-base at run time.
10284
3694d13f
GM
10285 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10286 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10287 (cperl-imenu-on-info): Require imenu.
10288
336d7284
AM
102892013-05-28 Alan Mackenzie <acm@muc.de>
10290
10291 Handle "capitalised keywords" correctly.
33e249a2 10292 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 10293
cb29c582
AG
102942013-05-28 Aidan Gauland <aidalgol@amuri.net>
10295
781b4af6 10296 * eshell/em-unix.el: Add -r option to cp.
cb29c582 10297
690e44b2
GM
102982013-05-28 Glenn Morris <rgm@gnu.org>
10299
e658d75c
GM
10300 * vc/vc-arch.el (vc-exec-after): Declare.
10301 (vc-switches): Autoload.
10302 * vc/vc-bzr.el: No need to require vc when compiling.
10303 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10304 (vc-resynch-buffer, vc-dir-refresh): Declare.
10305 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
10306 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10307 (vc-resynch-buffer): Declare.
10308 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 10309 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
10310 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10311 (grep-read-regexp, grep-read-files, grep-expand-template)
10312 (vc-dir-refresh): Declare.
10313 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10314 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10315 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
10316 * vc/vc-mtn.el (vc-exec-after): Declare.
10317 (vc-switches): Autoload.
10318 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10319 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10320 (vc-file-tree-walk): Declare.
712b9732
GM
10321 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10322 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10323 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
10324 * vc/vc-svn.el (vc-exec-after): Declare.
10325 (vc-switches, vc-setup-buffer): Autoload.
10326 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10327 Autoload.
10328 (vc-resynch-buffer): Declare.
10329
98e87fb3
GM
10330 * obsolete/fast-lock.el (byte-compile-warnings):
10331 Don't warn about obsolete features in this obsolete file.
10332
f5379553
GM
10333 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10334 Move definition before use.
10335
7a20ef83
GM
10336 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10337 (dun-unix-verbs): Remove dun-zippy.
10338 (dun-zippy): Remove function.
10339
690e44b2
GM
10340 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10341
3a52ccf7
JL
103422013-05-27 Juri Linkov <juri@jurta.org>
10343
10344 * replace.el (replace-search): New function with code moved out
10345 from `perform-replace'.
10346 (replace-highlight, replace-dehighlight): Move function definitions
10347 up closer to `replace-search'. (Bug#11746)
10348
d289938a
JL
103492013-05-27 Juri Linkov <juri@jurta.org>
10350
10351 * replace.el (perform-replace): Ignore invisible matches.
10352 In addition to checking `query-replace-skip-read-only', also
10353 filter out matches by calling `run-hook-with-args-until-failure'
10354 on `isearch-filter-predicates', and also check `search-invisible'
10355 for t or call `isearch-range-invisible'.
10356 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10357
66fc57e3
JL
103582013-05-27 Juri Linkov <juri@jurta.org>
10359
10360 * isearch.el (isearch-filter-predicates): Rename from
10361 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10362 (isearch-message-prefix): Display text from the property
10363 `isearch-message-prefix' of the currently active filters.
10364 (isearch-search): Don't compare `isearch-filter-predicate' with
10365 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10366 on `isearch-filter-predicates'. Also check `search-invisible' for t
10367 or call `isearch-range-invisible'.
10368 (isearch-filter-visible): Make obsolete.
10369 (isearch-lazy-highlight-search):
10370 Call `run-hook-with-args-until-failure' on
10371 `isearch-filter-predicates' and use `isearch-range-invisible'.
10372
10373 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10374 `isearch-filter-predicates' instead of `funcall'ing
10375 `isearch-filter-predicate'.
10376 (Info-mode): Set `Info-isearch-filter' to
10377 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10378
10379 * dired-aux.el (dired-isearch-filter-predicate-orig):
10380 Remove variable.
10381 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10382 (dired-isearch-filenames-end): Add and remove
10383 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10384 instead of changing the value of `isearch-filter-predicate'.
10385 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10386 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10387 Put property `isearch-message-prefix' to "filename " on
10388 `dired-isearch-filter-filenames'.
10389
10390 * wdired.el (wdired-change-to-wdired-mode):
10391 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10392 locally instead of changing `isearch-filter-predicate'.
10393 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10394
f1a60a0f
DG
103952013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10396
10397 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10398 return the commit hash (Bug#14459). Also set the
10399 `vc-git-detached' property.
10400 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10401 (vc-git-mode-line-string): Use the same help-echo format whether
10402 in detached mode or not, because we know the actual revision now.
10403 When in detached mode, shorten the revision to 7 chars.
10404
7f17cc40
SM
104052013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10406
10407 * emacs-lisp/easy-mmode.el (define-minor-mode):
10408 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10409 mode hook and provide a docstring.
10410
25c8401c
AM
104112013-05-27 Alan Mackenzie <acm@muc.de>
10412
10413 Remove spurious syntax-table text properties inserted by C-y.
10414 * progmodes/cc-mode.el (c-after-change): Also clear hard
10415 syntax-table property with value nil.
10416
dde84790
MA
104172013-05-27 Michael Albinus <michael.albinus@gmx.de>
10418
10419 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10420 when reading the events; the buffer layout shall not be changed.
10421
837fd9af
LL
104222013-05-27 Leo Liu <sdl.web@gmail.com>
10423
10424 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10425 New variable.
10426 (inferior-octave-directory-tracker): Automatically re-sync
10427 default-directory.
10428 (octave-help): Improve handling of 'See also'.
10429
4fd996b3
SM
104302013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10431
416f1802
SM
10432 * doc-view.el: Minor naming convention tweaks.
10433 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10434
4fd996b3
SM
10435 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10436 even if there's no `display' property yet (bug#14435).
10437
a052ef3b
EZ
104382013-05-25 Eli Zaretskii <eliz@gnu.org>
10439
4fd996b3 10440 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
10441
10442 * Makefile.in (custom-deps, finder-data, autoloads)
10443 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10444 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10445 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10446
c9023370
SM
104472013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10448
10449 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10450 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 10451 Don't burp at EOB.
c9023370 10452
24d699fa
LL
104532013-05-25 Leo Liu <sdl.web@gmail.com>
10454
10455 * comint.el (comint-previous-matching-input): Do not flood the
10456 *Messages* buffer with trivial messages.
10457
17e5c0cc
SM
104582013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10459
10460 * progmodes/flymake.el (flymake-nop): Don't return a string.
10461 (flymake-set-at): Fix typo.
10462
10463 * simple.el (read--expression): New function, extracted from
10464 eval-expression. Set completion-at-point-functions (bug#14465).
10465 (eval-expression, eval-minibuffer): Use it.
10466
5d028165
XF
104672013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10468
10469 * progmodes/flymake.el (flymake-save-buffer-in-file)
10470 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10471 (flymake-selected-frame, flymake-log, flymake-ins-after)
10472 (flymake-set-at, flymake-get-buildfile-from-cache)
10473 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10474 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10475 Refine the doc string.
10476 (flymake-get-file-name-mode-and-masks): Reformat.
10477 (flymake-get-real-file-name-function): Fix a minor bug.
10478
7a1d7ba7
JL
104792013-05-24 Juri Linkov <juri@jurta.org>
10480
10481 * progmodes/grep.el (grep-mode-font-lock-keywords):
10482 Support =linenumber= format used by git-grep for lines with
10483 function names. (Bug#13549)
10484
650cff3d
SM
104852013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10486
10487 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10488 0 after a semi-colon; it works better for smie-auto-fill.
10489 (octave--indent-new-comment-line): New function.
10490 (octave-indent-new-comment-line): Use it (indirectly).
10491 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10492 modify comment-line-break-function.
10493
10494 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10495 (smie-setup): Use add-function to set it.
10496
9631677d
SS
104972013-05-24 Sam Steingold <sds@gnu.org>
10498
10499 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10500 argument (before the `interactive' argument).
10501
50105835
SM
105022013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10503
10504 * image-mode.el (image-mode-winprops): Add winprops to
10505 image-mode-winprops-alist before running
10506 image-mode-new-window-functions.
10507 * doc-view.el (doc-view-new-window-function): Don't delay
10508 doc-view-goto-page via timers (bug#14435).
10509
57b9823e
TH
105102013-05-24 Tassilo Horn <tsdh@gnu.org>
10511
10512 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10513 (doc-view-desktop-save-buffer): New function.
10514 (doc-view-restore-desktop-buffer): New function.
50105835
SM
10515 (desktop-buffer-mode-handlers):
10516 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
10517 handler.
10518 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10519 `desktop-save-buffer' function.
10520
91aafa16
MA
105212013-05-24 Michael Albinus <michael.albinus@gmx.de>
10522
10523 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10524 (tramp-gvfs-file-name-handler): Raise a user error when
10525 `tramp-gvfs-enabled' is nil.
10526 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10527 Do not raise a user error when loading package. (Bug#14447)
10528
ec076379
MA
10529 * net/xesam.el: Move to obsolete/.
10530
db785726
GM
105312013-05-24 Glenn Morris <rgm@gnu.org>
10532
af5c7606
GM
10533 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10534
e5d1916a
GM
10535 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10536
ded62b08
GM
10537 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10538 (Info-find-node, Man-getpage-in-background): Declare.
10539
9e614a3f
GM
10540 * mail/unrmail.el (unrmail):
10541 Replace obsolete detect-coding-with-priority.
10542
892f8ca3
GM
10543 * net/socks.el (socks-split-string): Use this rather than split-string.
10544 (socks-nslookup-host): Update for above change.
10545 (dynamic-choice, s5-dynamic-choice-match)
10546 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10547 Comment out unused code.
10548
3c291973
GM
10549 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10550 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10551 (gud-tooltip-echo-area): Make obsolete.
10552 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10553
43cc956b
GM
10554 * progmodes/js.el (js--optimize-arglist): Declare.
10555
dab49a3b
GM
10556 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10557
36b9d085
GM
10558 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10559 (ediff-window-C): Declare.
10560
e354ae76
GM
10561 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10562 Tweak requires to silence compiler.
10563
b8e57bf4
GM
10564 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10565 (he-search-string, he-tried-table, he-expand-list)
10566 (he-init-string, he-string-member, he-substitute-string)
10567 (he-reset-string): Declare.
10568
db785726
GM
10569 * obsolete/options.el (list-options): Use custom-variable-p,
10570 rather than obsolete alias.
10571
b3531901
SS
105722013-05-23 Sam Steingold <sds@gnu.org>
10573
10574 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 10575 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
10576 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10577
bdda4c66
SM
105782013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10579
10580 * emacs-lisp/smie.el (smie-indent-forward-token)
10581 (smie-indent-backward-token): Handle string tokens (bug#14381).
10582
c43d45f9
TH
105832013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10584
fe1eb856
RS
10585 * ielm.el (ielm-menu): New menu.
10586 (inferior-emacs-lisp-mode): Set comment-start.
96172128 10587
fe1eb856
RS
105882013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10589
a12bf61e 10590 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
10591 Fix deactivate action.
10592
a12bf61e 10593 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 10594 Add cleveref macros.
074dd971 10595
a12bf61e 10596 * textmodes/reftex-parse.el
c43d45f9
TH
10597 (reftex-locate-bibliography-files): Accept options for
10598 bibliography commands.
a12bf61e 10599 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
10600 Add addbibresource. Basic Biblatex support.
10601
7764286e
MA
106022013-05-23 Michael Albinus <michael.albinus@gmx.de>
10603
10604 * net/tramp-gvfs.el (top):
10605 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10606 when loading package. (Bug#14447)
10607
d361bc10
GM
106082013-05-23 Glenn Morris <rgm@gnu.org>
10609
8fa23984
GM
10610 * progmodes/js.el: No need to load comint when compiling.
10611 (ring-insert, comint-send-string, comint-send-input)
10612 (comint-last-input-end, ido-chop): Declare.
10613
a5c7df1a
GM
10614 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10615 * vc/ediff-mult.el: Adjust requires.
10616 (ediff-directories-internal, ediff-directory-revisions-internal)
10617 (ediff-patch-file-internal): Declare.
10618 * vc/ediff-ptch.el: Adjust requires.
10619 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10620 (ediff-find-file): Autoload.
10621 * vc/ediff-util.el: No need to load ediff when compiling.
10622 (ediff-regions-internal): Declare.
10623 * vc/ediff-wind.el: Adjust requires.
10624 (ediff-compute-toolbar-width): Define when compiling.
10625 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10626 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10627 (dired-get-filename, dired-get-marked-files)
10628 (ediff-last-dir-patch, ediff-patch-default-directory)
10629 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10630 (ediff-patch-buffer-internal): Declare.
10631
e2aec513
GM
10632 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10633 (ispell-process, ispell-buffer-local-words, lm-summary)
10634 (lm-section-start, lm-section-end): Declare.
10635 (checkdoc-ispell-init): Simplify.
10636
e68bbd7c
GM
10637 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10638 (he-string-member, he-reset-string, he-substitute-string): Declare.
10639
7efe0991
GM
10640 * eshell/em-ls.el: Adjust requires.
10641 (eshell-glob-regexp): Declare.
f87b1284
GM
10642 * eshell/em-tramp.el: Adjust requires.
10643 (eshell-parse-command): Autoload.
10644 * eshell/em-xtra.el: Adjust requires.
10645 (eshell-parse-command): Autoload.
10646 * eshell/esh-ext.el: Adjust requires.
10647 (eshell-parse-command, eshell-close-handles): Autoload.
10648 * eshell/esh-io.el: Adjust requires.
10649 (eshell-output-filter): Autoload.
10650 * eshell/esh-util.el: No need to load tramp when compiling.
10651 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10652 Declare.
10653 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10654 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10655 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10656 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10657 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10658 * eshell/esh-opt.el, eshell/esh-proc.el:
10659 * eshell/esh-var.el: Adjust requires.
10660 * eshell/eshell.el: Do not require esh-util twice.
10661 (eshell-add-input-to-history): Declare.
10662 (eshell-command): Check history module is active before using it.
10663
d361bc10
GM
10664 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10665
85d090a9
LL
106662013-05-22 Leo Liu <sdl.web@gmail.com>
10667
10668 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10669
5d0acd9d
MA
106702013-05-22 Michael Albinus <michael.albinus@gmx.de>
10671
10672 * autorevert.el (auto-revert-notify-add-watch)
10673 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10674 it indicates changes in file modification time.
10675
0cdffd7d
GM
106762013-05-22 Glenn Morris <rgm@gnu.org>
10677
ca5995ec
GM
10678 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10679 Always delete the autoloaded function from the noruntime and
10680 unresolved functions lists.
10681
6450907e
GM
10682 * allout.el: No need to load epa, epg, overlay when compiling.
10683 (epg-context-set-passphrase-callback, epg-list-keys)
10684 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10685 (epg-key-user-id-list): Declare.
10686
9c6906f6
GM
10687 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10688 (viper-set-parsing-style-toggling-macro)
10689 (viper-set-emacs-state-searchstyle-macros):
10690 Use called-interactively-p on Emacs.
10691 (viper-looking-back): Make it an obsolete alias. Update callers.
10692 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10693 Use looking-back rather than viper-looking-back.
10694 (viper-tmp-insert-at-eob, viper-enlarge-region)
10695 (viper-read-string-with-history, viper-register-to-point)
10696 (viper-append-to-register, viper-change-state-to-vi)
10697 (viper-backward-char-carefully, viper-forward-char-carefully)
10698 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10699 (viper-change-state-to-emacs): Declare.
10700 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10701 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10702 * emulation/viper-mous.el: Do not load viper-cmd.
10703 (viper-backward-char-carefully, viper-forward-char-carefully)
10704 (viper-forward-word, viper-adjust-window): Declare.
10705
5f70c169
GM
10706 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10707
b1b7f300
GM
10708 * progmodes/idlw-help.el (idlwave-help-fontify):
10709 Use called-interactively-p.
10710
f6ebbb46
GM
10711 * term/w32console.el (w32-get-console-codepage)
10712 (w32-get-console-output-codepage): Declare.
10713
0cdffd7d
GM
10714 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10715 Remove unnecessary declarations.
10716 (dframe-message): Doc fix.
10717
10718 * info.el (dframe-select-attached-frame, dframe-current-frame):
10719 Declare.
10720
10721 * speedbar.el (speedbar-message): Make it an obsolete alias.
10722 Update all callers.
10723 (speedbar-with-attached-buffer)
10724 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10725 (speedbar-with-writable): Use backquote.
10726 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10727 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10728 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10729 rather than speedbar- aliases.
10730 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10731 (speedbar-make-specialized-keymap, speedbar-insert-button)
10732 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10733 (speedbar-do-function-pointer): Declare.
10734 (rmail-speedbar-button, rmail-speedbar-find-file)
10735 (rmail-speedbar-move-message):
10736 Use dframe-with-attached-buffer rather than speedbar- alias.
10737 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10738 (dframe-message, speedbar-make-specialized-keymap)
10739 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10740 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10741 (speedbar-insert-button, dframe-select-attached-frame)
10742 (dframe-maybee-jump-to-attached-frame)
10743 (speedbar-change-initial-expansion-list)
10744 (speedbar-previously-used-expansion-list-name): Declare.
10745 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10746 Use dframe-message, dframe-with-attached-buffer rather than
10747 speedbar- aliases.
10748 (gud-sentinel): Silence compiler.
10749 * progmodes/vhdl-mode.el (speedbar-refresh)
10750 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10751 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10752 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10753 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10754 (speedbar-file-lists, speedbar-make-tag-line)
10755 (speedbar-line-directory, speedbar-goto-this-file)
10756 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10757 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10758 (speedbar-make-button, speedbar-reset-scanners)
10759 (speedbar-files-item-info, speedbar-line-text)
10760 (speedbar-find-file-in-frame, speedbar-set-timer)
10761 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10762 (speedbar-with-writable): Do not (re)define it.
10763 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10764 rather than speedbar- alias.
10765
ee44b62a
LL
107662013-05-21 Leo Liu <sdl.web@gmail.com>
10767
10768 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10769 menu items.
10770 (octave-mode): Tweak fill-nobreak-predicate.
10771 (inferior-octave-startup): Check process to avoid infinite loop.
10772 (inferior-octave): Pop to buffer first to show abornmal process
10773 exit information.
10774
640f050f
GM
107752013-05-21 Glenn Morris <rgm@gnu.org>
10776
79458038
GM
10777 * printing.el (pr-menu-bar): Define when compiling.
10778
9cc3e83f
LL
107792013-05-21 Leo Liu <sdl.web@gmail.com>
10780
10781 * progmodes/octave.el (octave-auto-fill): Remove.
10782 (octave-indent-new-comment-line): Improve.
10783 (octave-mode): Use auto fill mode through
4f405069 10784 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 10785 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 10786 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
10787 (octave-help): Show parent directory.
10788
f440830d
GM
107892013-05-21 Glenn Morris <rgm@gnu.org>
10790
10791 * files.el (dired-unmark):
10792 * progmodes/gud.el (gdb-input): Update declarations.
10793
10794 * calculator.el (electric, ehelp): No need to load when compiling.
10795 (Electric-command-loop, electric-describe-mode): Declare.
10796
10797 * doc-view.el (doc-view-current-converter-processes): Move before use.
10798
10799 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10800 Move MODE-set-explicitly definition before use.
10801
10802 * international/mule-diag.el (mule-diag):
10803 Don't use obsolete window-system-version.
10804
10805 * mail/feedmail.el (smtpmail): No need to load when compiling.
10806 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10807
10808 * mail/mail-utils.el (rfc822): No need to load when compiling.
10809 (rfc822-addresses): Autoload it.
10810 (mail-strip-quoted-names): Trivial simplification.
10811
10812 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10813 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10814
10815 * net/snmp-mode.el (tempo): Don't duplicate requires.
10816
10817 * progmodes/prolog.el (info): No need to load when compiling.
10818 (comint): Require before shell requires it.
10819 (Info-goto-node): Autoload it.
10820 (Info-follow-nearest-node): Declare.
10821 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10822
10823 * textmodes/artist.el (picture-mode-exit): Declare.
10824
10825 * textmodes/reftex-parse.el (reftex-parse-from-file):
10826 Trivial rewrite so the compiler can parse it better.
10827
b4da2cbb
LL
108282013-05-20 Leo Liu <sdl.web@gmail.com>
10829
10830 * progmodes/octave.el (octave-help-mode-map)
10831 (octave-help-mode-finish-hook): New variables.
10832 (octave-help-mode, octave-help-mode-finish): New functions.
10833 (octave-help): Use octave-help-mode.
10834
33c0f65b
GM
108352013-05-20 Glenn Morris <rgm@gnu.org>
10836
10837 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10838
1a0a0a8a
DG
108392013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10840
10841 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10842 start at point, so that expansion starting right after opening
10843 slash in a regexp is recognized.
10844 (ruby-syntax-before-regexp-re): New defvar, extracted from
10845 ruby-syntax-propertize-function. Since the value of this regexp
10846 is looked up at runtime now, we should be able to turn
10847 `ruby-syntax-methods-before-regexp' into a defcustom later.
10848 (ruby-syntax-propertize-function): Split regexp matching into two
10849 parts, for opening and closing slashes. That allows us to skip
10850 over string interpolations and support multiline regexps.
10851 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10852 for them, which calls `ruby-syntax-propertize-expansion'.
10853 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10854 call to `ruby-syntax-propertize-function'.
10855 (ruby-syntax-propertize-expansion): Extracted from
10856 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
10857 (ruby-syntax-propertize-percent-literal): Leave point right after
10858 the percent symbol, so that the expression expansion rule can
10859 propertize the contents.
462388b6
DG
10860 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10861 heredoc openers.
10862 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 10863
c1a6c0a4
JL
108642013-05-18 Juri Linkov <juri@jurta.org>
10865
10866 * man.el (Man-default-man-entry): Remove `-' from the end
10867 of the default value. (Bug#14400)
10868
8051fccd
GM
108692013-05-18 Glenn Morris <rgm@gnu.org>
10870
10871 * comint.el (comint-password-prompt-regexp):
10872 Allow "password for XXX" where XXX contains colons (eg https://...).
10873
5e80b74f
LL
108742013-05-18 Leo Liu <sdl.web@gmail.com>
10875
10876 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 10877 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
10878 (octave-source-directories): Don't check process.
10879 (octave-source-directories, octave-find-definition): Doc fix.
10880
521a54c5
GM
108812013-05-18 Glenn Morris <rgm@gnu.org>
10882
86a94b05
GM
10883 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10884 Remove backspace/delete bindings. (Bug#14392)
10885
521a54c5
GM
10886 * cus-dep.el (custom-make-dependencies): Sort the output.
10887 (custom-versions-load-alist): Convert comment to doc.
10888
42caeb89
LL
108892013-05-17 Leo Liu <sdl.web@gmail.com>
10890
10891 * newcomment.el (comment-search-backward): Stricter in finding
10892 comment start. (Bug#14303)
10893
10894 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10895 (octave-comment-start-skip): Properly anchored.
10896
e219dd97
LL
108972013-05-17 Leo Liu <sdl.web@gmail.com>
10898
fe1eb856
RS
10899 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10900 Clean up when turned off. (Bug#14395)
e219dd97
LL
10901 (smie--highlight-matching-block-overlay): No longer buffer-local.
10902 (smie-highlight-matching-block): Adjust.
10903
dc5dcb4b
PE
109042013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10905
10906 Doc string fix for "nanoseconds" (Bug#14406).
10907 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10908 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10909
1db165f0
JB
109102013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10911
10912 * calc/calc-units.el (math-extract-units): Preserve powers
10913 of units.
10914
c7a8fcac
LL
109152013-05-17 Leo Liu <sdl.web@gmail.com>
10916
10917 * subr.el (delete-consecutive-dups): New function.
10918 * ido.el (ido-set-matches-1): Use it.
10919 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10920 * ido.el (ido-remove-consecutive-dups): Remove.
10921
f678b18a
SM
109222013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10923
10924 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10925 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10926 regexp-opt's `words'.
10927
ebfe68e8
LL
109282013-05-16 Leo Liu <sdl.web@gmail.com>
10929
10930 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10931 (smie--highlight-matching-block-overlay)
10932 (smie--highlight-matching-block-lastpos)
10933 (smie--highlight-matching-block-timer): New variables.
10934 (smie-highlight-matching-block): New function.
10935 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10936 (smie-setup): Conditionally enable smie-blink-matching-open.
10937
bc8bc17d
WS
109382013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10939
10940 Sync with upstream verilog-mode r840.
10941 * progmodes/verilog-mode.el (verilog-mode-version)
10942 (verilog-mode-release-date): Update.
10943 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10944 (verilog-sig-tieoff): Fix string error on
10945 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10946 (verilog-read-decls): Fix parameters confusing
10947 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10948
df065a0b
EZ
109492013-05-16 Eli Zaretskii <eliz@gnu.org>
10950
10951 * subr.el (reveal-filename): New function.
10952
10953 * loadup.el: Compute Emacs executable versions on MS-Windows,
10954 where executables have the .exe extension. Add a hard link
10955 emacs-XX.YY.ZZ.exe on MS-Windows.
10956
10957 * Makefile.in (XARGS_LIMIT): New variable.
10958 (custom-deps, finder-data, autoloads)
10959 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10960 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10961 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10962 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10963
2d4bf34b
LL
109642013-05-16 Leo Liu <sdl.web@gmail.com>
10965
10966 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10967 (octave-mode-menu, octave-mode-map): Remove its uses.
10968
6b9c2d85
RZ
109692013-05-16 Reto Zimmermann <reto@gnu.org>
10970
10971 Sync with upstream vhdl mode v3.34.2.
10972 * progmodes/vhdl-mode.el: Use `push' throughout.
10973 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10974 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10975 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10976 (vhdl-actual-generic-name): New option to derive actual generic name.
10977 (vhdl-port-paste-signals): Replace formal by actual generics.
10978 (vhdl-beautify): New name for old group vhdl-align. Update users.
10979 (vhdl-beautify-options): New option.
10980 (vhdl-last-input-event): New compat alias. Use throughout.
10981 (vhdl-goto-line): Replace user level function `goto-line'.
10982 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10983 vhdl-fix-statement-buffer.
10984 (vhdl-create-mode-menu): Add some entries.
10985 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10986 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10987 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10988 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10989 to force statements on one line.
10990 (vhdl-remove-trailing-spaces-region):
10991 New, split from vhdl-remove-trailing-spaces.
10992 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10993 Respect vhdl-beautify-options.
10994 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10995 (vhdl-update-sensitivity-list): Not add with index if exists without.
10996 Not include array index with signal. Ignore keywords in comments.
10997 (vhdl-get-visible-signals): Regexp tweaks.
10998 (vhdl-template-component-inst): Handle empty library.
10999 (vhdl-template-type): Add template for 'enum' type.
11000 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11001 Use vhdl-replace-string.
11002 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11003 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11004 (vhdl-speedbar-initialize): Update for above name change.
11005 (vhdl-compose-wire-components): Fix in handling of constants.
11006 (vhdl-error-regexp-emacs-alist): New variable.
11007 (vhdl-error-regexp-add-emacs): New function;
11008 adds support for new compile.el (Emacs 22+)
11009 (vhdl-generate-makefile-1): Change target order for single lib. units.
11010 Allow use of absolute file names.
11011
9df4ec5e
LL
110122013-05-16 Leo Liu <sdl.web@gmail.com>
11013
11014 * simple.el (prog-indent-sexp): Indent enclosing defun.
11015
f5ba00a6
GM
110162013-05-15 Glenn Morris <rgm@gnu.org>
11017
ed8be7ff
GM
11018 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11019 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11020 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11021 (whitespace-highlight): Move to whitespace group.
11022
11023 * comint.el (comint-source):
11024 * pcmpl-linux.el (pcmpl-linux):
11025 * shell.el (shell-faces):
11026 * eshell/esh-opt.el (eshell-opt):
11027 * international/ccl.el (ccl): Remove empty custom groups.
11028
11029 * completion.el (dynamic-completion-mode):
11030 * jit-lock.el (jit-lock-debug-mode):
11031 * minibuffer.el (completion-in-region-mode):
11032 * type-break.el (type-break-mode-line-message-mode)
11033 (type-break-query-mode):
11034 * emulation/tpu-edt.el (tpu-edt-mode):
11035 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11036 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11037 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11038
11039 * term/xterm.el (xterm): Change parent group to terminals.
11040
11041 * master.el (master): Remove empty custom group.
11042 (master-mode): Remove unused :group argument.
11043 * textmodes/refill.el (refill): Remove empty custom group.
11044 (refill-mode): Remove unused :group argument.
11045
11046 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11047
82a7c41b
GM
11048 * cus-dep.el: Provide a feature.
11049 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
11050 Don't mistakenly ignore files whose basenames match a basename
11051 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 11052 Add a fallback method for getting :group.
f5ba00a6 11053
6d65486d
JL
110542013-05-15 Juri Linkov <juri@jurta.org>
11055
da547b32
JL
11056 * isearch.el (isearch-char-by-name): Rename from
11057 `isearch-insert-char-by-name'. Doc fix.
11058 (isearch-forward): Mention `isearch-char-by-name' in
11059 the docstring. (Bug#13348)
11060
6d65486d
JL
11061 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11062 `exit-minibuffer' instead of
11063 `isearch-nonincremental-exit-minibuffer'.
11064 (isearch-edit-string): Remove mention of
11065 `isearch-nonincremental-exit-minibuffer' from docstring.
11066 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11067 (isearch-forward-exit-minibuffer)
11068 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11069
c9990474
SM
110702013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11071
6e911150
SM
11072 * loadup.el: Just use unversioned DOC.
11073
c9990474
SM
11074 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11075 literals as extending to EOB.
11076 (nxml-last-fontify-end): Remove unused variable.
11077 (nxml-after-change1): Use with-silent-modifications.
11078 (nxml-extend-after-change-region): Simplify.
11079 (nxml-extend-after-change-region1): Remove function.
11080 (nxml-after-change1): Don't adjust for dependent regions.
11081 (nxml-fontify-matcher): Simplify.
11082 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11083 (xmltok-add-dependent): Remove function.
11084 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11085 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11086 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11087 unclosed <[[, <?, comment, and other literals as extending to EOB.
11088 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11089 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11090 Remove functions.
11091 (rng-do-some-validation-1): Don't mark dependent regions.
11092 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11093 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11094 (nxml-clear-dependent-regions): Remove functions.
11095 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11096 (nxml-ensure-scan-up-to-date):
11097 Don't clear&mark dependent regions.
11098
e3772e98
LL
110992013-05-15 Leo Liu <sdl.web@gmail.com>
11100
c9990474
SM
11101 * progmodes/octave.el (octave-goto-function-definition):
11102 Improve and fix callers.
e3772e98 11103
5ac2eb34
SM
111042013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11105
c46c57b0
SM
11106 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11107 the setter (bug#14387).
11108
5ac2eb34
SM
11109 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11110 surrounding group (bug#14402).
11111
180ed218
JL
111122013-05-14 Juri Linkov <juri@jurta.org>
11113
11114 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11115 (Bug#14390)
11116
0ac0fecb
GM
111172013-05-14 Glenn Morris <rgm@gnu.org>
11118
11119 * progmodes/f90.el (f90-imenu-generic-expression):
11120 Fix typo in 2013-05-08 change. (Bug#14402)
11121
2e78e6a7
JPG
111222013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11123
5ac2eb34
SM
11124 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11125 Remove signals for which replies are never received.
2e78e6a7 11126
53267cca
JPG
111272013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11128
11129 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11130 (gdb-handler-alist, gdb-handler-number): Remove variables.
11131 (gdb-handler-list): New variable.
11132 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11133 (gdb-pending-handler-p, gdb-handle-reply)
11134 (gdb-remove-all-pending-triggers): New functions.
11135 (gdb-discard-unordered-replies): New defcustom.
11136 (gdb-handler): New defstruct.
11137 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11138 instead of gdb-pending-triggers. Update docstring.
11139 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11140 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11141 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11142 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11143 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11144 (gdb-frame-handler): Pending triggers are now automatically managed.
11145 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11146 Remove argument.
11147 (gdb-input): Automatically handles pending triggers. Update docstring.
11148 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11149 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11150 Update comments.
11151 (gdb-done-or-error): Now use gdb-handle-reply.
11152
d04ce803
JPG
111532013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11154
11155 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11156 gdb-debug-log.
11157
0114073a
GM
111582013-05-14 Glenn Morris <rgm@gnu.org>
11159
11160 * subr.el (user-emacs-directory-warning): New option.
11161 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11162
4d25fd7e
LL
111632013-05-14 Leo Liu <sdl.web@gmail.com>
11164
11165 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11166 during redisplay.
11167 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
11168 (octave-font-lock-texinfo-comment): Fix invalid search bound
11169 error: wrong side of point.
4d25fd7e 11170
27c8b6eb
GM
111712013-05-14 Glenn Morris <rgm@gnu.org>
11172
61aaeb01
GM
11173 * progmodes/flymake.el (flymake-xml-program): New option.
11174 (flymake-xml-init): Use it.
11175
5bf90bc5
GM
11176 * term/xterm.el: Provide a feature.
11177
11178 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 11179
f4c7dfd2
GM
111802013-05-13 Glenn Morris <rgm@gnu.org>
11181
11182 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11183 Add compat aliases as a hack workaround. (Bug#14384)
11184
2aeb3a1d
LL
111852013-05-13 Leo Liu <sdl.web@gmail.com>
11186
b0e069c2
LL
11187 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11188 ###, and %!.
f5a9432f
LL
11189 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11190 C-M-q.
b0e069c2
LL
11191 (octave-comment-start-skip): Include %!.
11192 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 11193
30ea8374
LL
111942013-05-12 Leo Liu <sdl.web@gmail.com>
11195
11196 * progmodes/octave.el (inferior-octave-startup): Store the value
11197 of __octave_srcdir__ for octave-source-directories.
11198 (inferior-octave-check-process): New function refactored out of
11199 inferior-octave-send-list-and-digest.
11200 (octave-source-directories)
11201 (octave-find-definition-filename-function): New variables.
11202 (octave-source-directories)
11203 (octave-find-definition-default-filename): New functions.
11204 (octave-find-definition): Improve to find functions implemented in C++.
11205
472a3834
GM
112062013-05-12 Glenn Morris <rgm@gnu.org>
11207
11208 * calendar/diary-lib.el (diary-outlook-format-1):
11209 Don't include dayname in the output. (Bug#14349)
11210
3191b52f
GM
112112013-05-11 Glenn Morris <rgm@gnu.org>
11212
0060ac73
GM
11213 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11214
3191b52f
GM
11215 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11216 Treat cc-provide like provide.
11217
e065ba74
KR
112182013-05-11 Kevin Ryde <user42@zip.com.au>
11219
11220 * cus-dep.el (custom-make-dependencies):
11221 Use generated-autoload-load-name for the sake of files such
11222 such cedet/semantic/bovine/c.el, where the base file name
11223 is not in load-path. (Bug#5277)
11224
36f84c37
GM
112252013-05-11 Glenn Morris <rgm@gnu.org>
11226
11227 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11228 Provide features.
11229
c8730c3a
LL
112302013-05-11 Leo Liu <sdl.web@gmail.com>
11231
11232 * progmodes/octave.el (octave-indent-comment): Improve.
11233 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
11234 (octave-eldoc-function-signatures, octave-eldoc-function):
11235 New functions.
c8730c3a
LL
11236 (octave-mode, inferior-octave-mode): Add eldoc support.
11237
212e29f2
RS
112382013-05-11 Richard Stallman <rms@gnu.org>
11239
11240 * epa.el (epa-decrypt-file): Take output file name as argument
11241 and read it using `interactive'.
11242
083fe0d7
LL
112432013-05-11 Leo Liu <sdl.web@gmail.com>
11244
11245 * progmodes/octave.el (octave-beginning-of-line)
11246 (octave-end-of-line): Check before using up-list because it jumps
11247 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
11248 (octave-indent-comment): New function.
11249 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
11250 (octave-begin-keywords, octave-end-keywords)
11251 (octave-reserved-words, octave-smie-bnf-table)
11252 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 11253
8582e4c4
GM
112542013-05-11 Glenn Morris <rgm@gnu.org>
11255
f20def1f
GM
11256 * faces.el (internal-face-x-get-resource):
11257 * frame.el (ns-display-monitor-attributes-list):
d78abe37 11258 * calc/calc-aent.el (math-to-radians-2):
f20def1f 11259 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 11260 Fix declarations.
f20def1f 11261
445f95e2
GM
11262 * calc/calc-menu.el: Make it loadable in isolation.
11263
11264 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11265 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11266 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11267 (eudc-bbdb-query-internal): Require 'bbdb.
11268
99fb2756
GM
11269 * lpr.el (lpr-headers-switches):
11270 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11271
11272 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11273
0da7ad96
GM
11274 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11275
8582e4c4
GM
11276 * term.el (term-set-escape-char): Make it idempotent.
11277
f71c50d0
LL
112782013-05-10 Leo Liu <sdl.web@gmail.com>
11279
5ac2eb34
SM
11280 * progmodes/octave.el (inferior-octave-completion-table):
11281 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
11282 completion due to bug#11906.
11283 (octave-beginning-of-defun): Re-write to be more general.
11284
d5837773
GM
112852013-05-10 Glenn Morris <rgm@gnu.org>
11286
11287 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11288
027c0f75
SM
112892013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11290
11291 * comint.el (comint-redirect-send-command-to-process): Use :around
11292 rather than :override for comint-redirect-filter.
11293 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11294 Call it instead of comint-redirect-original-filter-function (which
11295 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11296
4465bfb4
JD
112972013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11298
11299 * frame.el (display-monitor-attributes-list): Add NS case.
11300 (ns-display-monitor-attributes-list): Declare.
11301
2d809ffa 113022013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
11303
11304 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11305
e54eeb9b
GM
113062013-05-09 Glenn Morris <rgm@gnu.org>
11307
56cd351d
GM
11308 * international/fontset.el (vertical-centering-font-regexp):
11309 Set standard-value.
11310
d84b6108
GM
11311 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11312
a931698a
GM
11313 * bookmark.el (bookmark-search-delay):
11314 * cus-start.el (vertical-centering-font-regexp):
11315 * ps-mule.el (ps-mule-font-info-database-default):
11316 * ps-print.el (ps-default-fg, ps-default-bg):
11317 * type-break.el (type-break-good-break-interval):
11318 * whitespace.el (whitespace-indentation-regexp)
11319 (whitespace-space-after-tab-regexp):
11320 * emacs-lisp/testcover.el (testcover-1value-functions)
11321 (testcover-noreturn-functions, testcover-progn-functions)
11322 (testcover-prog1-functions):
11323 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11324 * eshell/em-glob.el (eshell-glob-translate-alist):
11325 * play/tetris.el (tetris-tty-colors):
11326 * progmodes/cpp.el (cpp-face-default-list):
11327 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11328 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11329 (idlwave-help-browser-generic-args):
11330 * progmodes/make-mode.el (makefile-special-targets-list):
11331 * progmodes/python.el (python-shell-virtualenv-path):
11332 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11333 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11334 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11335 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11336 * textmodes/reftex-vars.el (reftex-format-label-function):
11337 * textmodes/remember.el (remember-diary-file): Fix custom types.
11338
e54eeb9b
GM
11339 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11340 Add :version.
11341
455851dd
LL
113422013-05-09 Leo Liu <sdl.web@gmail.com>
11343
11344 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 11345 Restore file completion. (Bug#14300)
455851dd
LL
11346 (inferior-octave-startup): Fix incorrect highlighting for the
11347 first prompt.
11348
a9e4425b
SM
113492013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11350
11351 * progmodes/ruby-mode.el: First cut at SMIE support.
11352 (ruby-use-smie): New var.
11353 (ruby-smie-grammar): New constant.
11354 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11355 (ruby-smie--forward-token, ruby-smie--backward-token)
11356 (ruby-smie-rules): New functions.
11357 (ruby-mode-variables): Setup SMIE if applicable.
11358
060ca408
EZ
113592013-05-08 Eli Zaretskii <eliz@gnu.org>
11360
11361 * simple.el (line-move-visual): Signal beginning/end of buffer
11362 only if vertical-motion moved less than it was requested. Avoids
11363 silly incorrect error messages when there are display strings with
11364 multiple newlines at EOL.
11365
1d5963cc
SM
113662013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11367
11368 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11369 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11370 (prolog-char-quote-workaround):
11371 * progmodes/cperl-mode.el (cperl-under-as-char):
11372 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
11373 Mark as obsolete.
11374 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
11375 their declaration.
11376 (vhdl-mode-syntax-table-init): Remove.
11377
c9990474
SM
11378 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11379 last change.
1d5963cc
SM
11380
11381 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11382 syntax for "_".
11383 (ld-script-font-lock-keywords):
11384 Change regexps to use things like \_< and \_>.
11385
11386 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11387 Change all regexps to use things like \_< and \_>.
11388
11389 * progmodes/autoconf.el (autoconf-definition-regexp)
11390 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11391 Handle a _ with symbol syntax.
11392 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11393
c9990474
SM
11394 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11395 Consolidate declaration.
1d5963cc
SM
11396 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11397 the declaration.
11398 (ada-create-syntax-table): Remove.
11399 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11400 already has the right syntax nowadays.
11401 (ada-goto-next-word): Don't change the syntax of "_".
11402
11403 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11404 with-wrapper-hook.
11405
72d3cfca
SS
114062013-05-08 Sam Steingold <sds@gnu.org>
11407
11408 * thingatpt.el (thing-at-point): Accept optional second argument
11409 NO-PROPERTIES to strip the text properties from the return value.
11410 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11411 to `thing-at-point' instead of stripping the properties ourselves.
11412 Also, when `thing-at-point' fails to find a url, prepend "http://"
11413 to the filename at point on the assumption that the user is
11414 pointing at something like gnu.org/gnu.
11415
5cb15713
JB
114162013-05-08 Juanma Barranquero <lekktu@gmail.com>
11417
11418 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11419 * faces.el (crm-separator):
11420 Silence byte-compiler.
11421
11422 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11423 (tool-bar-map): Remove unneeded defvars.
11424
ea78b95b
LL
114252013-05-08 Leo Liu <sdl.web@gmail.com>
11426
11427 Re-work a fix for bug#10994 based on Le Wang's patch.
11428 * ido.el (ido-remove-consecutive-dups): New helper.
11429 (ido-completing-read): Use it.
11430 (ido-chop): Revert fix for bug#10994.
11431
dc7466df
AS
114322013-05-08 Adam Spiers <emacs@adamspiers.org>
11433
11434 * cus-edit.el (custom-save-variables):
11435 Pretty-print long values. (Bug#14187)
11436
9ecf672a
GM
114372013-05-08 Glenn Morris <rgm@gnu.org>
11438
11439 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11440 (m4-mode-syntax-table): Init in the defvar.
11441 (m4-mode-abbrev-table): Let define-derived-mode define it.
11442
3f555be8
TT
114432013-05-08 Tom Tromey <tromey@redhat.com>
11444
11445 * progmodes/m4-mode.el (m4-mode-syntax-table):
11446 Do not treat "_" as word constituent. (Bug#14167)
11447
7cc8ae06
GM
114482013-05-07 Glenn Morris <rgm@gnu.org>
11449
4f58bc06
GM
11450 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11451 Remove explicit eshell-isearch-cancel-map.
11452
7cc8ae06
GM
11453 * progmodes/f90.el (f90-smart-end-names): New option.
11454 (f90-smart-end): Doc fix.
11455 (f90-end-block-optional-name): New constant.
11456 (f90-block-match): Respect f90-smart-end-names.
11457
ceb57e59
SM
114582013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11459
11460 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11461 about implicit semi-colons (bug#14218).
11462
4e3f9230
YM
114632013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11464
11465 * frame.el (display-monitor-attributes-list)
11466 (frame-monitor-attributes): New functions.
11467
203a5572
LL
114682013-05-06 Leo Liu <sdl.web@gmail.com>
11469
11470 * progmodes/octave.el (octave-syntax-propertize-function): Change
11471 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11472 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 11473 (octave-completion-at-point): Rename from
203a5572
LL
11474 octave-completion-at-point-function.
11475 (inferior-octave-directory-tracker): Robustify.
11476 (octave-text-functions): Remove and fix its uses. No such things
11477 any more.
11478
ee6cff99
SM
114792013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11480
11481 * emacs-lisp/trace.el (trace--display-buffer): New function.
11482 (trace-make-advice): Use it.
11483
32985194
JL
114842013-05-06 Juri Linkov <juri@jurta.org>
11485
11486 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11487 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11488 Doc fix.
11489 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11490 in the help string. (Bug#12985)
11491
a1c700de
KD
114922013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11493
11494 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11495
c67c0839
SM
114962013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11497
323885fd
SM
11498 * progmodes/perl-mode.el: Add support for here documents.
11499 (perl-syntax-propertize-function): Match here-doc markers.
11500 (perl-syntax-propertize-special-constructs): Find their end.
11501 (perl-imenu-generic-expression): Use [:alnum:].
11502
c67c0839
SM
11503 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11504 (advice--add-function): Refresh the advice if already present
11505 (bug#14317).
11506
d491e7a8
IA
115072013-05-06 Ivan Andrus <darthandrus@gmail.com>
11508
11509 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11510
ddf9925e
GM
115112013-05-06 Glenn Morris <rgm@gnu.org>
11512
7cc3af27
GM
11513 * w32-fns.el (w32-charset-info-alist): Declare.
11514
16e343d6
GM
11515 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11516 of its defcustom properties.
11517 (eshell-cmpl-initialize): No need to load pcomplete.
11518
7d889a47
GM
11519 * generic-x.el: No need to require comint when compiling.
11520
ddf9925e
GM
11521 * net/eudc-export.el: Make it loadable without bbdb.
11522 (top-level): Use require rather than load-library.
11523 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11524 (eudc-batch-export-records-to-bbdb)
11525 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11526 Require bbdb.
11527
1e2c18df
SM
115282013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11529
11530 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11531 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11532 some tweaks, instead.
11533
02502a5f
LL
115342013-05-05 Leo Liu <sdl.web@gmail.com>
11535
11536 * progmodes/octave.el (octave-font-lock-keywords)
11537 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11538 (inferior-octave-send-list-and-digest): Improve error message.
11539 (octave-mode, inferior-octave-mode): Use setq-local.
11540 (octave-help): Set info-lookup-mode.
11541
0dc04f42
RS
115422013-05-05 Richard Stallman <rms@gnu.org>
11543
6c54491c
RS
11544 * vc/compare-w.el (compare-windows-whitespace):
11545 Treat no-break space as whitespace.
11546
0dc04f42
RS
11547 * mail/rmailsum.el (rmail-summary-rmail-update):
11548 Detect empty summary and don't change selected message.
11549 (rmail-summary-goto-msg): Likewise.
11550
df8f35df
RS
11551 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11552 Doc fixes, rename args.
11553
5356e1a3
AM
115542013-05-05 Alan Mackenzie <acm@muc.de>
11555
11556 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11557
d44014cb
JL
115582013-05-05 Juri Linkov <juri@jurta.org>
11559
11560 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11561 to not add the length of the summary segment to the return value.
11562 (Bug#14125)
11563
c129b51f
LL
115642013-05-05 Leo Liu <sdl.web@gmail.com>
11565
11566 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11567 (inferior-octave-output-filter): Remove.
11568 (octave-send-region, inferior-octave-startup): Fix callers.
11569 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11570 (octave-binary-file-extensions): New user variable.
11571 (octave-find-definition): Confirm if opening binary files.
11572 (octave-help-file): Use octave-find-definition to get the binary
11573 confirmation.
11574 (octave-help): Adjust for octave-help-file change.
11575
aa7dab97
SM
115762013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11577
11578 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11579 Merge the two entries that handle function definitions.
11580 (pascal--syntax-propertize): New const.
11581 (pascal-mode): Use it. Use setq-local.
11582
fd3a9a6b
GM
115832013-05-04 Glenn Morris <rgm@gnu.org>
11584
11585 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11586 (diary-from-outlook): Respect diary-from-outlook-function.
11587
30c7e542
SM
115882013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11589
11590 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11591 Move the declaration from C.
11592 (read-minibuffer, eval-minibuffer): Move from C.
11593 (completion-setup-function): Avoid minibuffer-completion-contents.
11594
b54f978b
LL
115952013-05-03 Leo Liu <sdl.web@gmail.com>
11596
11597 * progmodes/octave.el (octave-font-lock-keywords): Do not
11598 dehighlight 'end' in comments or strings.
30c7e542
SM
11599 (octave-completing-read, octave-goto-function-definition):
11600 New helpers.
d4d0f9b3
LL
11601 (octave-help-buffer): New user variable.
11602 (octave-help-file, octave-help-function): New button types.
11603 (octave-help): New command and bind it to C-h ;.
11604 (octave-find-definition): New command and bind it to M-.
d74a1581 11605 (user-error): Alias to error if not defined.
b54f978b 11606
27135018
LL
116072013-05-02 Leo Liu <sdl.web@gmail.com>
11608
11609 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11610 for \. (bug#14332)
11611 (octave-font-lock-keywords): Include [ and {.
11612
0d634d3a
LL
116132013-05-02 Leo Liu <sdl.web@gmail.com>
11614
11615 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11616 (inferior-octave): Remove calling comint-mode and return the buffer.
11617 (inferior-octave-startup): Cosmetic changes.
11618
b4c8295e
LL
116192013-05-02 Leo Liu <sdl.web@gmail.com>
11620
30c7e542
SM
11621 * progmodes/octave.el (octave-syntax-propertize-function):
11622 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 11623
f12ad6ec
GM
116242013-05-02 Glenn Morris <rgm@gnu.org>
11625
11626 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11627 * desktop.el (vc-dir-mode): Just autoload it here.
11628
30cac1e0
AM
116292013-05-02 Alan Mackenzie <acm@muc.de>
11630
11631 Eliminate variable c-standard-font-lock-fontify-region-function.
11632 * progmodes/cc-mode.el
11633 (c-standard-font-lock-fontify-region-function): Remove.
11634 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11635
d8ef28b1
LL
116362013-05-01 Leo Liu <sdl.web@gmail.com>
11637
2640d52e 11638 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 11639 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 11640 variables were removed from Octave in 2007.
d8ef28b1
LL
11641 (inferior-octave-startup): Fix uses.
11642 (comint-line-beginning-position): Remove compatibility code for
11643 emacs 21.
11644
ac63ec89
JL
116452013-05-01 Juri Linkov <juri@jurta.org>
11646
11647 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11648
9e9be37c
JL
116492013-05-01 Juri Linkov <juri@jurta.org>
11650
11651 * comint.el (comint-previous-matching-input): Don't print message
11652 "History item: %d" when `isearch-mode' is active.
11653 (comint-history-isearch-message): Print message "History item: %d"
11654 when `comint-input-ring-index' is not empty and this function is
11655 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11656
9b92c13b
LL
116572013-05-01 Leo Liu <sdl.web@gmail.com>
11658
11659 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11660 definitions. Use completion-at-point to insert keywords.
11661 (octave-abbrev-start): Remove.
11662 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11663
b12d33d7
LL
116642013-04-30 Leo Liu <sdl.web@gmail.com>
11665
11666 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11667 change.
11668
3d1c39fa
AM
116692013-04-30 Alan Mackenzie <acm@muc.de>
11670
11671 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
11672 * progmodes/cc-engine.el (c-back-over-member-initializers):
11673 new function.
3d1c39fa
AM
11674 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11675 (most) member init lists.
11676
5147fc17
RS
116772013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11678
11679 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11680 variable.
11681
5b78d7fc
LL
116822013-04-30 Leo Liu <sdl.web@gmail.com>
11683
11684 * progmodes/octave.el (octave-variables): Remove. No builtin
11685 variables any more. All converted to functions.
11686 (octave-font-lock-keywords, octave-completion-at-point-function):
11687 Fix uses.
11688 (octave-font-lock-texinfo-comment): New user variable.
11689 (octave-texinfo-font-lock-keywords): New variable for texinfo
11690 comment block.
11691 (octave-function-comment-block): New face.
11692 (octave-font-lock-texinfo-comment): New function.
11693 (octave-mode): Font lock texinfo comment block.
11694
38d8527b
LL
116952013-04-29 Leo Liu <sdl.web@gmail.com>
11696
11697 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11698 indexing expression.
11699 (octave-continuation-string): Do not use \.
11700 (inferior-octave-complete-impossible): Remove.
11701 (inferior-octave-completion-table)
11702 (inferior-octave-completion-at-point): Remove its uses.
11703 (inferior-octave-startup): completion_matches was introduced to
11704 Octave in 1996 so safe to assume it.
11705 (octave-function-file-comment): Improve to follow how Octave does it.
11706 (octave-update-function-file-comment): Tweak.
11707
2ec12cb0
LL
117082013-04-29 Leo Liu <sdl.web@gmail.com>
11709
11710 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11711 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11712 (octave-function-file-comment): Fix typo.
11713 (octave-sync-function-file-names): Use read-char-choice.
11714
6eaed048
JB
117152013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11716
11717 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11718 to t for the less important warnings.
11719
3ffa2d4f
DH
117202013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11721
11722 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11723
685c9501
GM
117242013-04-27 Glenn Morris <rgm@gnu.org>
11725
11726 * vc/log-view.el (log-view-current-entry):
11727 Treat "---" separator lines as part of the following rev. (Bug#14169)
11728
0208ede7
JL
117292013-04-27 Juri Linkov <juri@jurta.org>
11730
11731 * subr.el (read-number): Doc fix about using it by interactive
11732 code letter `n'. (Bug#14254)
11733
5db9dace
JL
117342013-04-27 Juri Linkov <juri@jurta.org>
11735
11736 * desktop.el (desktop-auto-save-timeout): New option.
11737 (desktop-file-checksum): New variable.
11738 (desktop-save): Add optional arg `auto-save' and don't auto-save
11739 if nothing changed.
11740 (desktop-auto-save-timer): New variable.
11741 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11742 (after-init-hook): Call `desktop-auto-save-set-timer'.
11743 Suggested by Reuben Thomas <rrt@sc3d.org> in
11744 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11745
b7260dd4
LL
117462013-04-27 Leo Liu <sdl.web@gmail.com>
11747
11748 * progmodes/octave.el (octave-function-file-p)
11749 (octave-skip-comment-forward, octave-function-file-comment)
11750 (octave-update-function-file-comment): New functions.
11751 (octave-mode-map): Bind C-c ; to
11752 octave-update-function-file-comment.
11753 (octave-mode-menu): Add octave-update-function-file-comment.
11754 (octave-mode, inferior-octave-mode): Fix doc-string.
11755 (octave-insert-defun): Conform to Octave's coding convention.
11756 (Bug#14285)
11757
11758 * files.el (basic-save-buffer): Don't let errors in
11759 before-save-hook prevent saving buffer.
11760
c46da669
RW
117612013-04-20 Roland Winkler <winkler@gnu.org>
11762
11763 * faces.el (read-face-name): Use completing-read if arg multiple
11764 is nil.
11765
a81ee1eb
IL
117662013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11767
11768 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
11769 displayed, move point to after the totals line.
11770 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
11771 for the details.
11772
4fac34ce
SM
117732013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11774
11775 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11776 Add current dir to the load-path.
11777 (package-generate-autoloads): Don't rely on
11778 autoload-ensure-default-file.
11779
f6bfc063
RT
117802013-04-26 Reuben Thomas <rrt@sc3d.org>
11781
d40ab5cf
BG
11782 * textmodes/remember.el (remember-store-in-files): Document that
11783 the file name format is passed to `format-time-string'.
f6bfc063 11784
e55d3b04
LL
117852013-04-26 Leo Liu <sdl.web@gmail.com>
11786
11787 * progmodes/octave.el (octave-sync-function-file-names): New function.
11788 (octave-mode): Use it in before-save-hook.
11789
e53052d3
SM
117902013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11791
140ef50c
SM
11792 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11793 (bug#14274).
11794
e53052d3
SM
11795 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11796 \n and comment, even if it's not an implicit ; (bug#14218).
11797
af80458d 117982013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
11799
11800 * subr.el (read-number): Once more use `read' rather than
11801 `string-to-number', to trap non-numeric input. (Bug#14254)
11802
af80458d 118032013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
11804
11805 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11806 Use `syntax-multiline' text property consistently instead of
8a621d53 11807 `font-lock-multiline'. (Bug#14237)
70203c2e 11808
e6ea1f6c
GM
118092013-04-26 Glenn Morris <rgm@gnu.org>
11810
11811 * emacs-lisp/shadow.el (list-load-path-shadows):
11812 No longer necessary to check for duplicate simple.el, since
11813 2012-07-07 change to init_lread to not include installation lisp
11814 directories in load-path when running uninstalled. (Bug#14270)
11815
070ccca4
LL
118162013-04-26 Leo Liu <sdl.web@gmail.com>
11817
11818 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11819 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 11820 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
11821 octave-in-string-or-comment-p.
11822 (octave-in-comment-p, octave-in-string-p)
11823 (octave-in-string-or-comment-p): Replace defsubst with defun.
11824
9d1c5fb6
PE
118252013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11826
11827 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11828
c034abda
BG
118292013-04-25 Bastien Guerry <bzg@gnu.org>
11830
11831 * textmodes/remember.el (remember-data-directory)
11832 (remember-directory-file-name-format): Fix custom types.
11833
584ea277
LL
118342013-04-25 Leo Liu <sdl.web@gmail.com>
11835
e53052d3
SM
11836 * progmodes/octave.el (octave-completion-at-point-function):
11837 Make use of inferior octave process.
584ea277
LL
11838 (octave-initialize-completions): Remove.
11839 (inferior-octave-completion-table): New function.
11840 (inferior-octave-completion-at-point): Use it.
11841 (octave-completion-alist): Remove.
11842
1693b06a
SM
118432013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11844
11845 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11846 (opascal-mode-syntax-table): New var.
11847 (opascal-literal-kind, opascal-is-literal-end)
11848 (opascal-literal-token-at): Rewrite.
11849 (opascal--literal-start-re, opascal-font-lock-keywords)
11850 (opascal--syntax-propertize): New constants.
11851 (opascal-font-lock-defaults): Adjust.
11852 (opascal-mode): Use them. Set comment-<foo> variables as well.
11853 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11854 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11855 (delphi-other-face, opascal-other-face): Remove face variables.
11856 (opascal-save-state): Remove macro.
11857 (opascal-fontifying-progress-step): Remove constant.
11858 (opascal--ignore-changes): Remove var.
11859 (opascal-set-token-property, opascal-parse-next-literal)
11860 (opascal-is-stable-literal, opascal-complete-literal)
11861 (opascal-is-literal-start, opascal-face-of)
11862 (opascal-parse-region, opascal-parse-region-until-stable)
11863 (opascal-fontify-region, opascal-after-change)
11864 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11865 (opascal-debug-parse-region, opascal-debug-parse-window)
11866 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11867 (opascal-debug-fontify-buffer): Remove.
11868 (opascal-debug-mode-map): Adjust accordingly.
11869
be64c05d
LL
118702013-04-25 Leo Liu <sdl.web@gmail.com>
11871
11872 Merge octave-mod.el and octave-inf.el into octave.el with some
11873 cleanups.
11874 * progmodes/octave.el: New file renamed from octave-mod.el.
11875 * progmodes/octave-inf.el: Merged into octave.el.
11876 * progmodes/octave-mod.el: Renamed to octave.el.
11877
d79d37bd
TH
118782013-04-25 Tassilo Horn <tsdh@gnu.org>
11879
11880 * textmodes/reftex-vars.el
11881 (reftex-label-ignored-macros-and-environments): New defcustom.
11882
11883 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11884
ced3fc5d
SM
118852013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11886
11887 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11888 (smie-indent-keyword): Improve the check to ensure that the next
11889 comment is really on the same line.
11890 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11891
11892 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11893 semi-colons if the line is not otherwise empty (bug#14218).
11894
1c141dad
GM
118952013-04-25 Glenn Morris <rgm@gnu.org>
11896
11897 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11898
5058062a
SM
118992013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11900
11901 * progmodes/opascal.el (opascal-set-token-property): Rename from
11902 opascal-set-text-properties and only set `token' (bug#14134).
11903 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11904 (opascal-literal-text-properties): Remove.
11905 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11906 Adjust callers.
11907
5db9dace 119082013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
11909
11910 * textmodes/remember.el (remember-handler-functions): Add an
11911 option for a new handler `remember-store-in-files'.
11912 (remember-data-directory, remember-directory-file-name-format):
11913 New options.
11914 (remember-store-in-files): New function to store remember notes
11915 as separate files within a directory.
11916
4391916c
MH
119172013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11918
11919 * progmodes/compile.el (compilation-next-error-function):
11920 Pass "formats" to compilation-find-file (bug#11777).
11921
bb7cdf58
GM
119222013-04-24 Glenn Morris <rgm@gnu.org>
11923
3b8fe752 11924 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
11925 * vc/vc-hg.el (vc-hg-print-log):
11926 * vc/vc-svn.el (vc-svn-print-log):
11927 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11928
bb7cdf58
GM
11929 * vc/vc-bzr.el (vc-bzr-print-log):
11930 * vc/vc-cvs.el (vc-cvs-print-log):
11931 * vc/vc-git.el (vc-git-print-log):
11932 * vc/vc-hg.el (vc-hg-print-log):
11933 * vc/vc-mtn.el (vc-mtn-print-log):
11934 * vc/vc-rcs.el (vc-rcs-print-log):
11935 * vc/vc-sccs.el (vc-sccs-print-log):
11936 * vc/vc-svn.el (vc-svn-print-log):
11937 * vc/vc.el (vc-print-log-internal): Doc fixes.
11938
b46a056e
GM
119392013-04-23 Glenn Morris <rgm@gnu.org>
11940
11941 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11942 Remove venerable code attempting to avoid substitute-command-keys.
11943
0aecf718
TH
119442013-04-23 Tassilo Horn <tsdh@gnu.org>
11945
4391916c
MH
11946 * textmodes/reftex-vars.el (reftex-label-regexps):
11947 Call `reftex-compile-variables' after changes to this variable.
0aecf718 11948
117f94cf
SM
119492013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11950
4391916c 11951 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
11952 Use lexical-binding.
11953 (jit-lock-force-redisplay): Use markers, check buffer's continued
11954 existence and beware narrowed buffers.
11955 (jit-lock-fontify-now): Adjust call accordingly.
11956
1d829c64
SM
119572013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11958
11959 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11960 to avoid misleading the user.
11961
72d548a9
LL
119622013-04-22 Leo Liu <sdl.web@gmail.com>
11963
11964 * info-look.el: Prefer latex2e.info. (Bug#14240)
11965
d0853629
MA
119662013-04-22 Michael Albinus <michael.albinus@gmx.de>
11967
11968 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11969
11970 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 11971 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
11972 (tramp-set-completion-function, tramp-parse-putty):
11973 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11974 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11975 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11976 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11977 (tramp-call-local-coding-command): Use `tramp-call-process'
11978 instead of `tramp-compat-call-process'.
11979
11980 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11981 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11982 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 11983 (tramp-find-inline-compress): Improve traces.
d0853629
MA
11984 (tramp-maybe-send-script): Check for Perl binary.
11985 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11986
38cc0210
DU
119872013-04-22 Daiki Ueno <ueno@gnu.org>
11988
11989 * epg.el (epg-context-pinentry-mode): New function.
11990 (epg-context-set-pinentry-mode): New function.
11991 (epg--start): Pass --pinentry-mode option to gpg command.
11992
cc641ee1
XF
119932013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11994
02d844b5 11995 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 11996 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 11997 `completion-at-point'. (Bug#13774)
5d4e5c31 11998
cc641ee1
XF
11999 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12000 default key binding for `describe-distribution' has been moved to
12001 `C-h C-o'. (Bug#13970)
12002
1b42ee43
GM
120032013-04-21 Glenn Morris <rgm@gnu.org>
12004
12005 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12006 Add doc strings.
12007 (vc-print-log): Clarify interactive prompt.
12008
a6d63d97
GM
120092013-04-20 Glenn Morris <rgm@gnu.org>
12010
12011 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12012 No longer include timestamp etc information.
12013
d7f5c16f
RW
120142013-04-20 Roland Winkler <winkler@gnu.org>
12015
12016 * faces.el (read-face-name): Bug fix, return just one face if arg
12017 multiple is nil. (Bug#14209)
12018
bcd7a0a4
SM
120192013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12020
12021 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12022 (remove-function): Autoload.
12023
12024 * comint.el (comint-redirect-original-filter-function): Remove.
12025 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
12026 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12027 (vc-cvs-annotate-command):
bcd7a0a4
SM
12028 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12029 * progmodes/prolog.el (prolog-consult-compile):
12030 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12031 Use add/remove-function instead.
12032 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12033 (gud-tooltip-process-output, gud-tooltip-tips):
12034 Use add/remove-function instead.
12035 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12036 (scheme-interaction-mode, exit-scheme-interaction-mode):
12037 Use add/remove-function instead.
12038
12039 * vc/vc-dispatcher.el: Use lexical-binding.
12040 (vc--process-sentinel): Rename from vc-process-sentinel.
12041 Change last arg to be the code to run. Don't use vc-previous-sentinel
12042 and vc-sentinel-commands any more.
12043 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12044 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12045
e36b2d20 120462013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 12047
bcd7a0a4 12048 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 12049 Handle function names with a single character. (Bug#14111)
4d3268ba 12050
781b4af6 120512013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
12052
12053 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12054 for subroutines defined in an eval (bug#14182).
12055
7d688336
TV
120562013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12057
12058 * bookmark.el (bookmark-completing-read): Improve handling of empty
12059 string (bug#14176).
12060
31dcede0
SM
120612013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12062
12063 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12064
adc31213
FEG
120652013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12066
12067 New faster Imenu implementation (bug#14058).
12068 * progmodes/python.el:
12069 (python-imenu-prev-index-position):
12070 (python-imenu-format-item-label-function)
12071 (python-imenu-format-parent-item-label-function)
12072 (python-imenu-format-parent-item-jump-label-function):
12073 New vars.
12074 (python-imenu-format-item-label)
12075 (python-imenu-format-parent-item-label)
12076 (python-imenu-format-parent-item-jump-label)
12077 (python-imenu--put-parent, python-imenu--build-tree)
12078 (python-imenu-create-index, python-imenu-create-flat-index)
12079 (python-util-popn): New functions.
12080 (python-mode): Set imenu-create-index-function to
12081 python-imenu-create-index.
12082
cdca8255
SM
120832013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12084
12085 * winner.el (winner-active-region): Use region-active-p, activate-mark
12086 and deactivate-mark (bug#14225).
12087
12088 * simple.el (deactivate-mark): Don't inline it.
12089
beb42340
MA
120902013-04-18 Michael Albinus <michael.albinus@gmx.de>
12091
12092 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12093
fc7f4d7e
TH
120942013-04-18 Tassilo Horn <tsdh@gnu.org>
12095
12096 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12097 file extensions from the archive-mode entry in order to prefer
12098 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12099
29f47822
LL
121002013-04-18 Leo Liu <sdl.web@gmail.com>
12101
12102 * bindings.el (help-event-list): Add ?\?.
12103
d36ed1c8
SM
121042013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12105
12106 * subr.el (with-wrapper-hook): Declare obsolete.
12107 * simple.el (filter-buffer-substring-function): New hook.
12108 (filter-buffer-substring): Use it.
12109 (filter-buffer-substring-functions): Mark obsolete.
12110 * minibuffer.el (completion-in-region-function): New hook.
12111 (completion-in-region): Use it.
12112 (completion-in-region-functions): Mark obsolete.
12113 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12114 * abbrev.el (abbrev-expand-function): New hook.
12115 (expand-abbrev): Use it.
12116 (abbrev-expand-functions): Mark obsolete.
12117 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12118 and :filter-return.
12119
04754d36
FEG
121202013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12121
12122 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12123 and do not care about match data.
12124
dd8791e9
SM
121252013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12126
12127 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12128 completion tables when completing error conditions and
12129 `declare' arguments.
12130 (lisp-complete-symbol, field-complete): Mark as obsolete.
12131 (check-parens): Unmatched parens are user errors.
12132 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12133
ffe54a13
AM
121342013-04-17 Michal Nazarewicz <mina86@mina86.com>
12135
dd8791e9
SM
12136 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12137 command changed buffer (ie. `flyspell-pre-buffer' is not current
12138 buffer), which prevents making decisions based on invalid value of
12139 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12140 cause an error when `flyspell-pre-point' was nil after switching
12141 buffers.
12142 (flyspell-post-command-hook): No longer needs to change buffers when
12143 checking pre-word. While at it remove unnecessary progn.
ffe54a13 12144
ec7e39f2
AM
121452013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12146
12147 * textmodes/ispell.el (ispell-add-per-file-word-list):
12148 Fix `flyspell-correct-word-before-point' error when accepting
12149 words and `coment-padding' is an integer by using
12150 `comment-normalize-vars' (Bug #14214).
12151
083850a6
FEG
121522013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12153
12154 New defun movement commands.
12155 * progmodes/python.el (python-nav--syntactically)
12156 (python-nav--forward-defun, python-nav-backward-defun)
12157 (python-nav-forward-defun): New functions.
12158
619ed6e1
FEG
121592013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12160
12161 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12162 (python-syntax-context): Use named compiler-macro for backwards
12163 compatibility with Emacs 24.x.
12164
7a1beb6c
LL
121652013-04-17 Leo Liu <sdl.web@gmail.com>
12166
12167 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12168 octave-hide-process-buffer.
12169
2d3fa3e5
SM
121702013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12171
12172 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12173 (bug#14216).
12174
7ce5be54
JPG
121752013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12176
12177 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12178 Fix adjustment of offset when receiving incomplete responses from GDB
12179 (bug#14129).
12180
351edece
SM
121812013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12182
12183 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12184 python-mode-abbrev-table.
12185 (python-skeleton-define): Adjust accordingly.
12186 (python-mode-abbrev-table): New table that inherits from it so that
12187 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12188
12189 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12190 (abbrev-symbol): Use it.
12191 (abbrev--before-point): Use it since we already handle inheritance.
12192
613f9481
LL
121932013-04-16 Leo Liu <sdl.web@gmail.com>
12194
12195 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12196 binding to info-lookup-symbol.
12197
51646b62
JB
121982013-04-16 Juanma Barranquero <lekktu@gmail.com>
12199
12200 * minibuffer.el (completion--twq-all):
12201 * term/ns-win.el (ns-initialize-window-system):
12202 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12203
efb3f01d
SM
122042013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12205
36c0a301
SM
12206 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12207 global bindings.
12208
efb3f01d
SM
12209 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12210
fb549d64
DG
122112013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12212
12213 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12214 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12215 to nil.
12216 (ruby-end-of-defun): Remove the unused arg, change the docstring
12217 to reflect that this function is only used as the value of
12218 `end-of-defun-function'.
12219 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12220 to reflect an earlier change that beginning/end-of-defun functions
12221 jump between methods in a class definition, as well as top-level
12222 functions.
12223
21e8fe2f
SM
122242013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12225
12226 * minibuffer.el (minibuffer-complete): Don't just scroll
12227 a *Completions* that's been iconified.
12228 (minibuffer-force-complete): Make sure repetitions do cycle when going
12229 through completion-in-region -> minibuffer-complete.
12230
20e527d0
AM
122312013-04-15 Alan Mackenzie <acm@muc.de>
12232
12233 Correct the placement of c-cpp-delimiters when there're #s not at
12234 col 0.
12235
12236 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12237 place a submatch around the #.
21e8fe2f
SM
12238 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12239 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
12240 on the #, not BOL.
12241
dabefae5
SM
122422013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12243
12244 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12245 (advice--member-p): New arg `name'.
12246 (advice--add-function, advice-member-p): Use it (bug#14202).
12247
85c9ab64
AM
122482013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12249
12250 Reformulate java imenu-generic-expression.
12251 The old expression contained ill formed regexps.
12252
12253 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12254 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12255 (cc-imenu-java-method-arg-regexp): New defconsts.
12256 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 12257 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
12258 handling of spaces in the regexp.
12259
0f821d99
AM
122602013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12261
12262 * textmodes/ispell.el (ispell-command-loop): Remove
12263 flyspell highlight of a word when ispell accepts it (bug #14178).
12264
eb922adf
MA
122652013-04-15 Michael Albinus <michael.albinus@gmx.de>
12266
12267 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12268 uses code from the previous `ange-ftp-run-real-handler'.
12269 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12270 only in case that function exist. This is needed for proper
12271 unloading of Tramp.
12272
4d9a0979
TH
122732013-04-15 Tassilo Horn <tsdh@gnu.org>
12274
12275 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12276
12277 * textmodes/reftex.el (reftex-compile-variables): Use it.
12278
a829b0dc
SM
122792013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12280
91e8293c
SM
12281 * files.el (normal-mode): Only use default major-mode if no other mode
12282 was specified.
12283
830aed4d
SM
12284 * emacs-lisp/trace.el (trace-values): New function.
12285
a829b0dc
SM
12286 * files.el: Allow : in local variables (bug#14089).
12287 (hack-local-variable-regexp): New var.
12288 (hack-local-variables-prop-line, hack-local-variables): Use it.
12289
7ae9f0fb
RW
122902013-04-13 Roland Winkler <winkler@gnu.org>
12291
12292 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12293 data before it gets modified by bibtex-beginning-of-entry.
12294
6646e848
RW
122952013-04-13 Roland Winkler <winkler@gnu.org>
12296
12297 * textmodes/bibtex.el (bibtex-url): Doc fix.
12298
122992013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
12300
12301 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12302 does not visit a BibTeX file, exclude it from the list of buffers
12303 returned by bibtex-initialize.
12304
0aa3616e
SB
123052013-04-13 Stephen Berman <stephen.berman@gmx.net>
12306
12307 * window.el (split-window): Remove interactive form, since as a
12308 command this function is a special case of split-window-below.
12309 Correct doc string.
12310
011cddd6
RW
123112013-04-12 Roland Winkler <winkler@gnu.org>
12312
12313 * faces.el (read-face-name): Do not override value of arg default.
12314 Allow single faces and strings as default values. Remove those
12315 elements from return value that are not faces.
12316 (describe-face): Simplify.
12317 (face-at-point): New optional args thing and multiple so that this
12318 function can provide the same functionality previously provided by
12319 read-face-name.
12320 (make-face-bold, make-face-unbold, make-face-italic)
12321 (make-face-unitalic, make-face-bold-italic, invert-face)
12322 (modify-face, read-face-and-attribute): Use face-at-point.
12323
12324 * cus-edit.el (customize-face, customize-face-other-window)
12325 * cus-theme.el (custom-theme-add-face)
12326 * face-remap.el (buffer-face-set)
12327 * facemenu.el (facemenu-set-face): Use face-at-point.
12328
f24e0036
MA
123292013-04-12 Michael Albinus <michael.albinus@gmx.de>
12330
12331 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12332
da3cda2d
TH
123332013-04-10 Tassilo Horn <tsdh@gnu.org>
12334
12335 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12336 off leading { and trailing } from field values.
12337
15e54145
SM
123382013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12339
78ce603d
SM
12340 * emacs-lisp/timer.el (timer--check): New function.
12341 (timer--time, timer-set-function, timer-event-handler): Use it.
12342 (timer-set-idle-time): Simplify.
12343 (timer--activate): CSE.
12344 (timer-event-handler): Give more info in error message.
12345 (internal-timer-start-idle): New function, moved from C.
12346
15e54145
SM
12347 * mpc.el (mpc-proc): Add `restart' argument.
12348 (mpc-proc-cmd): Use it.
12349 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12350 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12351 less often.
12352
7144c627
MY
123532013-04-10 Masatake YAMATO <yamato@redhat.com>
12354
12355 * progmodes/sh-script.el: Implement `sh-mode' own
12356 `add-log-current-defun-function' (bug#14112).
12357 (sh-current-defun-name): New function.
12358 (sh-mode): Use the function.
12359
b39792eb
BG
123602013-04-09 Bastien Guerry <bzg@gnu.org>
12361
12362 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12363
8acdeb71
SM
123642013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12365
6fcdab68
SM
12366 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12367
8acdeb71
SM
12368 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12369 timer (bug#14156).
12370
e3e7b504
NF
123712013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12372
12373 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12374 declaration.
12375
201bb296
LL
123762013-04-07 Leo Liu <sdl.web@gmail.com>
12377
12378 * pcmpl-x.el: New file.
12379
ebb19708
DA
123802013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12381
12382 Do not set x-display-name until X connection is established.
12383 This is needed to prevent from weird situation described at
12384 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12385 * frame.el (make-frame): Set x-display-name after call to
12386 window system initialization function, not before.
12387 * term/x-win.el (x-initialize-window-system): Add optional
12388 display argument and use it.
12389 * term/w32-win.el (w32-initialize-window-system):
12390 * term/ns-win.el (ns-initialize-window-system):
12391 * term/pc-win.el (msdos-initialize-window-system):
12392 Add compatible optional display argument.
12393
33bb237a
EZ
123942013-04-06 Eli Zaretskii <eliz@gnu.org>
12395
12396 * files.el (normal-backup-enable-predicate): On MS-Windows and
12397 MS-DOS compare truenames of temporary-file-directory and of the
12398 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12399 don't fail comparison by compare-strings. Also, compare file
12400 names case-insensitively on MS-Windows and MS-DOS.
12401
134abf1f
SM
124022013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12403
12404 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12405 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12406
d695cb94
DG
124072013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12408
e3e7b504
NF
12409 * whitespace.el (whitespace-color-on, whitespace-color-off):
12410 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 12411
f4ad7ea1 124122013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
12413
12414 * ispell.el (ispell-set-spellchecker-params):
12415 Really set `ispell-args' for all equivs.
12416
632556e4
SM
124172013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12418
12419 * ido.el (ido-completions): Use extra elements of ido-decorations
12420 (bug#14143).
12421 (ido-decorations): Update docstring.
12422
2a417372
MA
124232013-04-05 Michael Albinus <michael.albinus@gmx.de>
12424
12425 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12426 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12427 nil during initialization, in order not to miss changes since the
12428 file was opened. (Bug#14140)
12429
fc164b0c
LL
124302013-04-05 Leo Liu <sdl.web@gmail.com>
12431
12432 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12433
0ccecc08
JB
124342013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12435
12436 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12437
51af1aa2
GM
124382013-04-04 Glenn Morris <rgm@gnu.org>
12439
12440 * electric.el (electric-pair-inhibit-predicate): Add :version.
12441
b208ebc6
SM
124422013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12443
12444 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12445 when a package is required several times (bug#14082).
12446
f3d3eaf0
RW
124472013-04-04 Roland Winkler <winkler@gnu.org>
12448
12449 * faces.el (read-face-name): Behave as promised by the docstring.
12450 Assume that arg default is a list of faces.
12451 (describe-face): Call read-face-name with list of default faces.
12452
2575da50
TV
124532013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12454
12455 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12456 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12457 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12458 the header.
12459 (bookmark-exit-hook-internal): Save even if list is empty.
12460
397703b4
YH
124612013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12462
12463 * emacs-lisp/package.el (package-pinned-packages): New var.
12464 (package--add-to-archive-contents): Obey it (bug#14118).
12465
691e26ae
AM
124662013-04-03 Alan Mackenzie <acm@muc.de>
12467
8a621d53
JB
12468 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12469 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
12470
12471 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12472 parameter `not-in-delimiter'. Handle being inside comment opener.
12473 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12474 character in case we're typing a '*' after a '/'.
12475 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12476 instead by passing the parameter to c-state-pp-to-literal.
12477
12478 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12479 for elt. 7 of a parse state.
12480
4b725a70
PE
124812013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12482
12483 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12484 * international/latin1-disp.el, international/mule-util.el:
12485 * language/cyril-util.el, language/european.el, language/ind-util.el:
12486 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12487 * language/tibetan.el, language/viet-util.el:
12488 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12489
15c579f0
SM
124902013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12491
12492 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12493 (electric-pair-post-self-insert-function): Use it.
12494 (electric-pair-default-inhibit): New function, extracted from
12495 electric-pair-post-self-insert-function.
12496
a77e2924
RW
124972013-03-31 Roland Winkler <winkler@gnu.org>
12498
12499 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12500
2bd8a4a8
SM
125012013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12502
12503 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12504
8d3655be 125052013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
12506
12507 Un-indent after "pass" and "return" statements (Bug#13888)
12508 * progmodes/python.el (python-indent-block-enders): New var.
12509 (python-indent-calculate-indentation): Use it.
12510
8d3655be 125112013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
12512
12513 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12514 defun. Defining it as defalias could introduce too eager
12515 byte-compiler optimization. (Bug#14030)
12516
8d3655be 125172013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
12518
12519 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12520
0b1619da
LL
125212013-03-30 Leo Liu <sdl.web@gmail.com>
12522
12523 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12524 (kmacro-execute-from-register): Pass the keyboard macro to
12525 kmacro-call-macro or repeating won't work correctly.
12526
0b938190
TZ
125272013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12528
12529 * progmodes/subword.el: Back to using `forward-symbol'.
12530
12531 * subr.el (forward-whitespace, forward-symbol)
12532 (forward-same-syntax): Move from thingatpt.el.
12533
35710234
LL
125342013-03-29 Leo Liu <sdl.web@gmail.com>
12535
12536 * kmacro.el (kmacro-to-register): New command.
12537 (kmacro-execute-from-register): New function.
12538 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12539
efc0bb73
SM
125402013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12541
12542 * mpc.el: Use defvar-local and setq-local.
12543 (mpc--proc-connect): Connection failures are not bugs.
12544 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12545 (mpc-volume-map): Bind to the up-events.
12546
75a2f981
TZ
125472013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12548
12549 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12550 instead of `forward-symbol'.
12551
17c781d1
SM
125522013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12553
12554 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12555 (edebug--recursive-edit): Use it.
12556 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12557 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12558
f67bfbcf
LL
125592013-03-28 Leo Liu <sdl.web@gmail.com>
12560
12561 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12562
b59f639d
EZ
125632013-03-27 Eli Zaretskii <eliz@gnu.org>
12564
12565 * facemenu.el (list-colors-callback): New defvar.
12566 (list-colors-redisplay): New function.
12567 (list-colors-display): Install list-colors-redisplay as the
12568 revert-buffer-function. (Bug#14063)
12569
f557c1b1
SM
125702013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12571
b1da2957
SM
12572 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12573 and suffixes don't overlap (bug#14061).
12574
f557c1b1
SM
12575 * case-table.el: Use lexical-binding.
12576 (case-table-get-table): New function.
12577 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12578
002668e1
TZ
125792013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12580
12581 * progmodes/subword.el: Add `superword-mode' to do word motion
12582 over symbol_words (parallels and leverages `subword-mode' which
12583 does word motion inside MixedCaseWords).
12584
73572c72
AG
125852013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12586
78b8f320 12587 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 12588 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 12589
69b2c07e
SM
125902013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12591
12592 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12593 Change return value to be a sexp. Delay `get-buffer' to after
12594 restoring the desktop (bug#13951).
12595
08bb5ee2
LL
125962013-03-26 Leo Liu <sdl.web@gmail.com>
12597
12598 * register.el: Move semantic tag handling back to
12599 cedet/semantic/senator.el. (Bug#14052)
12600
8d4c974e
SM
126012013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12602
12603 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12604 into the prompt either (bug#13963).
12605
b234d92c
SM
126062013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12607
12608 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12609 part of "(error-foo)".
12610
ddfa3cb4
JL
126112013-03-24 Juri Linkov <juri@jurta.org>
12612
12613 * replace.el (list-matching-lines-prefix-face): New defcustom.
12614 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12615 `occur-engine' if `face-differs-from-default-p' returns t.
12616 (occur-engine): Add `,' inside backquote construct to evaluate
12617 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12618 Pass `prefix-face' to the functions `occur-context-lines' and
12619 `occur-engine-add-prefix'.
12620 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12621 `prefix-face' and propertize the prefix with `prefix-face'.
12622 (Bug#14017)
12623
7b0e2f85
LL
126242013-03-24 Leo Liu <sdl.web@gmail.com>
12625
12626 * nxml/rng-valid.el (rng-validate-while-idle)
12627 (rng-validate-quick-while-idle): Guard against deleted buffer.
12628 (Bug#13999)
12629
12630 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12631 is the last entry in kill-buffer-hook.
12632
12633 * files.el (kill-buffer-hook): Doc fix.
12634
b3082f49
DG
126352013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12636
b234d92c
SM
12637 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12638 Make it safe-local.
bde73d27 12639
b3082f49
DG
12640 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12641
a320a2db
LL
126422013-03-23 Leo Liu <sdl.web@gmail.com>
12643
7e74b0fb
LL
12644 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12645 Remove.
12646
12647 * nxml/rng-valid.el (rng-validate-mode)
12648 (rng-after-change-function, rng-do-some-validation):
12649 * nxml/rng-maint.el (rng-validate-buffer):
12650 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12651 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12652 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12653 (nxml-extend-after-change-region): Use with-silent-modifications.
12654
a320a2db
LL
12655 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12656 timer-idle-list.
12657
12658 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12659 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12660 timer-idle-list. (Bug#13999)
12661
e38e6780
JL
126622013-03-23 Juri Linkov <juri@jurta.org>
12663
12664 * info.el (info-index-match): New face.
12665 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12666 main pattern and add text properties with the new face to matches
12667 in index entries relative to the beginning of the index entry.
12668 (Bug#14015)
12669
e8cc7880
DE
126702013-03-21 Eric Ludlam <zappo@gnu.org>
12671
39c87140 12672 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
12673 Inhibit read only while inserting objects.
12674
9bb0d822
TZ
126752013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12676
12677 * progmodes/cfengine.el: Update docs to mention
12678 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12679 symbol motion. Remove "_" from the word syntax.
12680
aa703640
TZ
126812013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12682
12683 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12684 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12685
afff09d0
JL
126862013-03-20 Juri Linkov <juri@jurta.org>
12687
12688 * info.el (Info-next-reference-or-link)
12689 (Info-prev-reference-or-link): New functions.
12690 (Info-next-reference, Info-prev-reference): Use them.
12691 (Info-try-follow-nearest-node): Handle footnote navigation.
12692 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12693
9a1ff164
SM
126942013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12695
12696 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12697 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12698
2667d15d
PE
126992013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12700
12701 Suppress unnecessary non-ASCII chatter during build process.
12702 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12703 (batch-skkdic-convert): Suppress most of the chatter.
12704 It's not needed so much now that machines are faster,
12705 and its non-ASCII component was confusing; see Dmitry Gutov in
12706 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12707
438b0579
LL
127082013-03-20 Leo Liu <sdl.web@gmail.com>
12709
12710 * ido.el (ido-chop): Fix bug#10994.
12711
c128ab07
DG
127122013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12713
12714 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12715 Remove vars.
9a1ff164
SM
12716 (whitespace-color-on, whitespace-color-off):
12717 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 12718
0e6008c5
SM
127192013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12720
12721 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12722 remapping in mode-line.
12723 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12724
627b52b0
DG
127252013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12726
12727 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12728 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
12729 (whitespace-font-lock-keywords): Change description.
12730 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12731 the constructed keywords instead.
12732 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 12733
50c3a20b
LL
127342013-03-19 Leo Liu <sdl.web@gmail.com>
12735
12736 * progmodes/compile.el (compilation-display-error): New command.
12737 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12738 C-o. (Bug#13992)
12739
2aa2157b
PE
127402013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12741
12742 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12743
e477dbfa
JD
127442013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12745
12746 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12747
64ab82d1
MA
127482013-03-18 Michael Albinus <michael.albinus@gmx.de>
12749
12750 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12751
12752 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12753 * net/tramp-gvfs.el (top):
12754 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12755 (tramp-handle-shell-command): Use it.
12756 (tramp-dissect-file-name): Raise an error when hostname is a
12757 method name, and neither method nor user is specified.
12758
12759 * net/trampver.el: Update release number.
12760
33cef733
LL
127612013-03-18 Leo Liu <sdl.web@gmail.com>
12762
12763 Make sure eldoc can be turned off properly.
12764 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12765 eldoc-mode.
12766 (eldoc-display-message-p): Revert last change.
12767 (eldoc-display-message-no-interference-p)
12768 (eldoc-print-current-symbol-info): Tweak.
12769
2167b7b2
TH
127702013-03-18 Tassilo Horn <tsdh@gnu.org>
12771
12772 * doc-view.el (doc-view-new-window-function): Check the new window
12773 overlay's display property instead the char property of the
12774 buffer's first char. Use `with-selected-window' instead of
12775 `save-window-excursion' with `select-window'.
12776 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 12777 display property instead the char property of the buffer's first char.
2167b7b2 12778
982efbcd
PE
127792013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12780
12781 Automate the build of ja-dic.el (Bug#13984).
12782 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12783 from the input, rather than assume that it's been done for us by the
12784 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12785 the current date into a ja-dic.el comment, as that complicates
12786 regression testing.
12787
2fcc7665
SM
127882013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12789
12790 * whitespace.el: Fix double evaluation.
12791 (whitespace-space, whitespace-hspace, whitespace-tab)
12792 (whitespace-newline, whitespace-trailing, whitespace-line)
12793 (whitespace-space-before-tab, whitespace-indentation)
12794 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12795 obsolete defvars.
12796 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12797 (whitespace-color-on): Use a single font-lock-add-keywords call.
12798 Fix double-evaluation of face variables.
12799
67c0a6e6
MA
128002013-03-17 Michael Albinus <michael.albinus@gmx.de>
12801
2fcc7665
SM
12802 * net/tramp-adb.el (tramp-adb-parse-device-names):
12803 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 12804 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 12805
69489f1d
LL
128062013-03-17 Leo Liu <sdl.web@gmail.com>
12807
12808 Extend eldoc to display info in the mode-line. (Bug#13978)
12809 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12810 (eldoc-mode-line-string): New variable.
12811 (eldoc-minibuffer-message): New function.
12812 (eldoc-message-function): New variable.
12813 (eldoc-message): Use it.
12814 (eldoc-display-message-p)
2fcc7665
SM
12815 (eldoc-display-message-no-interference-p):
12816 Support eldoc-post-insert-mode.
69489f1d
LL
12817
12818 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12819 (eval-expression): Run it.
12820
9c44569e
RW
128212013-03-17 Roland Winkler <winkler@gnu.org>
12822
12823 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12824 strings in the list of return values.
12825
327f1f6f
JB
128262013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12827
12828 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12829 radix before checking for HMS forms.
12830
67ed8fcd
LL
128312013-03-16 Leo Liu <sdl.web@gmail.com>
12832
12833 * progmodes/scheme.el: Add indentation and font-locking for λ.
12834 (Bug#13975)
12835
78be8b64 128362013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
12837
12838 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12839 token before point (bug#13942).
12840
78be8b64 128412013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 12842
95b43468 12843 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 12844
98e775e6
EZ
128452013-03-16 Eli Zaretskii <eliz@gnu.org>
12846
12847 * startup.el (command-line-normalize-file-name): Fix handling of
12848 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12849 <xfq.free@gmail.com> in
12850 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12851
2edd6029
MA
128522013-03-15 Michael Albinus <michael.albinus@gmx.de>
12853
12854 Sync with Tramp 2.2.7.
12855
12856 * net/trampver.el: Update release number.
12857
d35f5864
TH
128582013-03-14 Tassilo Horn <tsdh@gnu.org>
12859
e903c210 12860 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
12861 (doc-view-insert-image): Don't modify overlay associated to
12862 non-live windows, and implement horizontal centering of image in
12863 case it's smaller than the window.
12864 (doc-view-new-window-function): Force redisplay of new windows on
12865 doc-view buffers.
d35f5864 12866
1c4a85ed
KF
128672013-03-13 Karl Fogel <kfogel@red-bean.com>
12868
12869 * saveplace.el (save-place-alist-to-file): Don't sort
12870 `save-place-alist', just pretty-print it (bug#13882).
12871
85b66a21
MA
128722013-03-13 Michael Albinus <michael.albinus@gmx.de>
12873
a020afb9
JB
12874 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12875 Check whether `default-file-name-coding-system' is bound.
12876 It isn't in XEmacs.
85b66a21 12877
175600da
SM
128782013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12879
e7f7cb1a
SM
12880 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12881 backquotes for `obsolete' (bug#13929).
12882
175600da
SM
12883 * international/mule.el (find-auto-coding): Include file name in
12884 obsolescence warning (bug#13922).
12885
ca68a22e
TZ
128862013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12887
12888 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12889 for CFEngine 3-specific indentation.
12890 (cfengine3-indent-line): Use it. Fix up category regex.
12891 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12892
940e5099
SM
128932013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12894
12895 * type-break.el (type-break-file-name):
12896 * textmodes/remember.el (remember-data-file):
12897 * strokes.el (strokes-file):
12898 * shadowfile.el (shadow-initialize):
12899 * saveplace.el (save-place-file):
12900 * ps-bdf.el (bdf-cache-file):
12901 * progmodes/idlwave.el (idlwave-config-directory):
12902 * net/quickurl.el (quickurl-url-file):
12903 * international/kkc.el (kkc-init-file-name):
12904 * ido.el (ido-save-directory-list-file):
12905 * emulation/viper.el (viper-custom-file-name):
12906 * emulation/vip.el (vip-startup-file):
12907 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12908 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12909
cc725808
PE
129102013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12911
12912 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12913 * language/thai-word.el: Switch to UTF-8.
12914
a020afb9 12915See ChangeLog.16 for earlier changes.
e3d51b27
MR
12916
12917;; Local Variables:
12918;; coding: utf-8
e3d51b27
MR
12919;; End:
12920
ba318903 12921 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
12922
12923 This file is part of GNU Emacs.
12924
12925 GNU Emacs is free software: you can redistribute it and/or modify
12926 it under the terms of the GNU General Public License as published by
12927 the Free Software Foundation, either version 3 of the License, or
12928 (at your option) any later version.
12929
12930 GNU Emacs is distributed in the hope that it will be useful,
12931 but WITHOUT ANY WARRANTY; without even the implied warranty of
12932 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12933 GNU General Public License for more details.
12934
12935 You should have received a copy of the GNU General Public License
12936 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.