* lisp/emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
29127376
SM
12014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4 with a space (bug#16664). Limit the symbols considered to the ones
5 that are bound or fbound (bug#16646).
6
79b6e0a9
GM
72014-02-06 Glenn Morris <rgm@gnu.org>
8
9 * epa.el (epa-mail-aliases): Doc fix.
10
a333e4d2
DG
112014-02-06 Dmitry Gutov <dgutov@yandex.ru>
12
29127376
SM
13 * emacs-lisp/lisp.el (lisp-completion-at-point):
14 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
15 (bug#16604).
16
17 * minibuffer.el (completion-table-merge): New function.
18
9a83b32b
MA
192014-02-05 Michael Albinus <michael.albinus@gmx.de>
20
21 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
22 (tramp-sh-handle-set-file-acl)
23 (tramp-sh-handle-start-file-process)
24 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
25 (tramp-find-executable, tramp-send-command): Use it.
26
451ea3e6
GM
272014-02-05 Glenn Morris <rgm@gnu.org>
28
9a83b32b 29 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 30
dd27d13b
FEG
312014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
32
33 * progmodes/python.el (python-shell-send-string):
34 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
35
08e41897
AL
362014-02-04 Anders Lindgren <andlind@gmail.com>
37
38 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
39 the names (bug#16620).
40
764ec9e5
MR
412014-02-03 Martin Rudalics <rudalics@gmx.at>
42
08e41897
AL
43 * faces.el (window-divider): New default value. Rewrite doc-string.
44 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 45
6da8227c
DG
462014-02-03 Dmitry Gutov <dgutov@yandex.ru>
47
48 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
49 `protected' and `public' can also be called without arguments.
50
6a6b8e40
GM
512014-02-03 Glenn Morris <rgm@gnu.org>
52
7bcbca40
GM
53 * register.el (window-configuration-to-register)
54 (frame-configuration-to-register): Unadvertise unused argument.
55 * frameset.el (frameset-to-register): Remove unused argument.
56
6a6b8e40
GM
57 * kmacro.el (kmacro-to-register):
58 * register.el (increment-register):
59 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
60 (calc-append-to-register, calc-prepend-to-register):
61 * play/gametree.el (gametree-layout-to-register)
62 (gametree-apply-register-layout):
63 * textmodes/picture.el (picture-clear-rectangle-to-register)
64 (picture-yank-rectangle-from-register):
65 * vc/emerge.el (emerge-combine-versions-register):
66 Use register-read-with-preview to read registers.
67
5dca7759
JT
682014-02-03 João Távora <joaotavora@gmail.com>
69
70 * elec-pair.el (electric-pair-backward-delete-char): Don't error
71 when at beginning of (possibly narrowed) buffer.
72
709085b9
DC
732014-02-02 Daniel Colascione <dancol@dancol.org>
74
08e41897
AL
75 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
76 Also try to display local help from just before point.
709085b9 77
99f7b0a6
AM
782014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
79
80 c-parse-state. Don't "append-lower-brace-pair" in certain
81 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
82 recognised as a comment.
83
84 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
85 as well as normal comment starter.
86 (c-parse-state-get-strategy): Extra return possibility
87 'back-and-forward.
88 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
89 return value list to indicate replacement of a brace-pair cons
90 with its car.
91 (c-parse-state-1): With 'back-and-forward, only call
92 c-append-lower-brace-pair-to state-cache when cons-separated.
93
f0a10576
JD
942014-02-02 Jan Djärv <jan.h.d@swipnet.se>
95
96 * term/ns-win.el (ns-suspend-error): New function.
97 (ns-initialize-window-system): Add ns-suspend-error to
98 suspend-hook (Bug#16612).
99
b8d552c2
DC
1002014-02-02 Daniel Colascione <dancol@dancol.org>
101
102 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
103
f2b7d123
DC
1042014-02-02 Daniel Colascione <dancol@dancol.org>
105
106 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
107
4472a196
GM
1082014-02-02 Glenn Morris <rgm@gnu.org>
109
110 * register.el (register-read-with-preview, point-to-register)
111 (window-configuration-to-register, frame-configuration-to-register)
112 (jump-to-register, number-to-register, view-register, insert-register)
113 (copy-to-register, append-to-register, prepend-to-register)
114 (copy-rectangle-to-register): Doc fixes.
115
70e5a261
SM
1162014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
117
118 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
119 * emacs-lisp/find-func.el (find-function-C-source): Idem.
120 * emacs-lisp/nadvice.el (advice--cd*r): New function.
121 * help-fns.el (describe-function-1): Use it.
122
7c324762
GM
1232014-02-02 Glenn Morris <rgm@gnu.org>
124
125 * register.el (register-preview-default): New function,
126 split from register-preview.
127 (register-preview-function): Rename from register-preview-functions,
128 make it not a hook.
129 (register-preview): Use register-preview-function.
130 (register-read-with-preview): Error on non-character event. (Bug#16595)
131
a09beb3d
DG
1322014-02-01 Dmitry Gutov <dgutov@yandex.ru>
133
134 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
135 `:' before binary operators (bug#16609). Don't check for `:'
136 before `[' and `(', or their syntax status. A percent literal
137 can't end with either.
68e004e0
DG
138 (ruby-font-lock-keywords): For built-ins that require arguments,
139 check that they're followed by something that looks like argument
140 (bug#16610).
a09beb3d 141
ed4d2875
LI
1422014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
143
144 * subr.el (butlast): Document what an omitted N means (bug#13437).
145 (nbutlast): Ditto.
146
dba6e3ec
LI
1472014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
148
149 * net/shr.el (shr-generic): Make into a defsubst to make the stack
150 depth shallower (bug#16587).
cc477daa
LI
151 (shr-tag-svg): Respect `shr-inhibit-images'.
152 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 153
e2a67bd0
DG
1542014-01-31 Dmitry Gutov <dgutov@yandex.ru>
155
156 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
157 (ruby-smie-grammar): Make "." right-associative. Make its priority
158 lower than the ternary and all binary operators.
159 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
160 parent, or the first "." parent at indentation.
161 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
162 (Bug#16593)
163
bd21bf41
JL
1642014-01-31 Juri Linkov <juri@jurta.org>
165
166 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
167 from `make-hash-table'.
168
169 * textmodes/ispell.el (ispell-init-process): Change message format
170 to be consistent with other messages.
171
b7e615b9
GM
1722014-01-31 Glenn Morris <rgm@gnu.org>
173
a69ecd19
GM
174 * delsel.el (delete-selection-mode): Doc fix.
175
9997d7e3
GM
176 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
177 (trace-function-background): Doc fixes.
178
fbb764b8
GM
179 * ido.el (ido-use-virtual-buffers): Doc fix.
180 Reset :version, since the default value has not changed.
181
da942af1
GM
182 * register.el (register-preview-delay, register-read-with-preview):
183 Doc fixes.
184
b7e615b9
GM
185 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
186 do not mess with mail-buffer position (fixes 2009-11-03 change).
187 * progmodes/cc-mode.el (c-submit-bug-report):
188 Check auto-fill-mode is bound. (Bug#16592)
189
0a25002d
DH
1902014-01-31 Darren Hoo <darren.hoo@gmail.com>
191
192 * startup.el (fancy-splash-image-file): New function,
193 split from fancy-splash-head.
194 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
195 so that we are both using the same image. (Bug#16574)
196
ad78f432
GM
1972014-01-30 Glenn Morris <rgm@gnu.org>
198
6bbc0c84
GM
199 * simple.el (eval-expression): Doc fix.
200
ad78f432
GM
201 * hexl.el (hexl-mode-hook):
202 * ielm.el (ielm-mode-hook):
203 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
204 (lisp-interaction-mode-hook):
205 * progmodes/cfengine.e (cfengine3-documentation-function):
206 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
207
7b2f049c
SM
2082014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
209
210 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
211 is a symbol (bug#16584).
212
0c633f13
GM
2132014-01-30 Glenn Morris <rgm@gnu.org>
214
215 * help.el (help-for-help-internal): Add "P" to text.
216
5e61c1ef
GM
2172014-01-29 Glenn Morris <rgm@gnu.org>
218
219 * simple.el (just-one-space, cycle-spacing): Doc fixes.
220
1dcb169c
MR
2212014-01-28 Martin Rudalics <rudalics@gmx.at>
222
223 * window.el (fit-frame-to-buffer): Fix calculations for margins and
224 height constraints.
225
a9128931
LL
2262014-01-28 Luke Lee <luke.yx.lee@gmail.com>
227
228 * progmodes/hideif.el: Extend to full CPP expression syntax.
229 (hif-token-alist): Add missing tokens.
230 (hif-token-regexp): Add support for float/octal/hex immediates.
231 (hif-string-literal-regexp): New const.
232 (hif-tokenize): Recognize strings and float/octal/hex immediates.
233 (hif-exprlist): New function.
234 (hif-parse-if-exp): Use it.
235 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
236 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
237 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
238 (hif-logxor, hif-comma): New functions.
239
a22359a7
GM
2402014-01-28 Glenn Morris <rgm@gnu.org>
241
793ffe81
GM
242 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
243
e3bd7eed
GM
244 * indent.el (tab-stop-list): Doc fix. Add :version.
245
a22359a7
GM
246 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
247 (cvs-append-to-ignore): Add compatibility alias.
248
52695556 2492014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 250
bac524e0
GM
251 * dired.el (dired-hide-details-mode): Don't autoload it,
252 since it cannot be used outside Dired buffers anyway.
253
52695556 254 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 255
52695556
GM
256 * dired.el (dired-hide-details-hide-symlink-targets)
257 (dired-hide-details-hide-information-lines)
258 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
259
260 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
261 * strokes.el (strokes-file): Doc fix. Bump :version.
262 (strokes-help): Doc fix.
263 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
264 * emulation/viper.el (viper): Doc fix for custom group.
265 (top-level): Remove oh-so-no-longer-relevant text about vip.
266 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
267
268 * ido.el (ido-save-directory-list-file):
269 * saveplace.el (save-place-file):
270 * calendar/timeclock.el (timeclock-file):
271 * net/quickurl.el (quickurl-url-file):
272 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
273 * progmodes/idlwave.el (idlwave-config-directory):
274 * textmodes/remember.el (remember-data-file):
275 Bump :version.
276
169d6004
GM
2772014-01-26 Glenn Morris <rgm@gnu.org>
278
de6a923b
GM
279 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
280 Doc fix. Make obsolete.
281 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
282
169d6004
GM
283 * sort.el (delete-duplicate-lines): Doc fix.
284
ed85dee6
RS
2852014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
286
287 * progmodes/ada-mode.el (ada):
288 * woman.el (woman): Link to info manual and Commentary section.
289
290 * progmodes/flymake.el (flymake):
291 * nxml/nxml-mode.el (nxml):
292 * net/eww.el (eww):
293 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
294 * htmlfontify.el (htmlfontify):
295 * ses.el (ses):
296 * epa.el (epa):
297 * ido.el (ido): Link to info manual.
298
e0c67e1d
LL
2992014-01-25 Leo Liu <sdl.web@gmail.com>
300
301 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
302
35408b1a
AS
3032014-01-25 Adam Sjøgren <asjo@koldfront.dk>
304
305 * net/shr.el (shr-tag-img): Prefer the title over the alt text
306 (bug#16537).
307
76c3fa95
JB
3082014-01-24 Juanma Barranquero <lekktu@gmail.com>
309
f77c7a99
JB
310 * net/eww.el (eww-download-callback):
311 Fix reference to eww-download-directory.
312
76c3fa95
JB
313 * emacs-lisp/bytecomp.el (byte-compile-file):
314 Remove unused local variable `file-name'.
315
1e548e40
GM
3162014-01-24 Glenn Morris <rgm@gnu.org>
317
03f3b318
GM
318 * woman.el (woman-default-faces, woman-monochrome-faces):
319 Fix obsolescence specification.
320
1e548e40
GM
321 * subr.el (with-demoted-errors): Doc fix.
322
d4f0427b
SM
3232014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
324
325 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
326 (cl--macroexp-fboundp): New function.
327 (cl--make-type-test): Use it.
328
1670e27f
GM
3292014-01-23 Glenn Morris <rgm@gnu.org>
330
331 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
332 * simple.el (eval-expression): Doc fixes.
333
80efa207
GM
3342014-01-22 Glenn Morris <rgm@gnu.org>
335
336 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
337
29afcbab
SM
3382014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
339
340 * emacs-lisp/package.el: Write files silently.
341 (package-autoload-ensure-default-file, package--write-file-no-coding)
342 (package-generate-description-file, package--download-one-archive)
343 (package-install-from-archive): Tell `write-region' to stay quiet.
344 (package-menu-mode, package-menu--print-info): Omit the Archive column
345 if there's only one archive.
346 (package-all-keywords, package--has-keyword-p): Remove dead code.
347
2a5bce4f
GM
3482014-01-22 Glenn Morris <rgm@gnu.org>
349
edace89f
GM
350 * version.el (emacs-bzr-version-bzr): Fix typo.
351
2a5bce4f
GM
352 * version.el (emacs-repository-get-version):
353 Check either .bzr or .git, but not both.
354 Make the git case actually use the DIR argument, and return nil
355 rather than the empty string.
983664c0 356 Avoid error if .git exists but the git executable is not found.
2a5bce4f 357
6cb4da45
MR
3582014-01-22 Martin Rudalics <rudalics@gmx.at>
359
360 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
361 * window.el (window-total-size, window-size): New argument ROUND.
362 (window--min-delta-1, window-min-delta, window--max-delta-1):
363 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
364 columns a window can shrink (Bug#16430).
365 (fit-window-to-buffer): Simplify code.
366 * term.el (term-window-width): Call window-body-width again.
367
cc0f2ece
GM
3682014-01-22 Glenn Morris <rgm@gnu.org>
369
7b997b14
GM
370 * image.el (image-format-suffixes): Doc fix.
371
44e76f9d
GM
372 * international/quail.el (quail-define-package): Doc fix.
373
73c1c6d7
GM
374 * emacs-lisp/authors.el (authors-valid-file-names):
375 (authors-renamed-files-alist): Additions.
7bfc1caa 376
85a5f61f
GM
377 * vc/vc-git.el (vc-git-print-log): Remove --follow;
378 reverts 2014-01-09 change. (Bug#16422)
379
cc0f2ece
GM
380 * calc/calc-embed.el (thing-at-point-looking-at):
381 * emacs-lisp/map-ynp.el (x-popup-dialog):
382 * obsolete/lmenu.el (x-popup-dialog):
383 * emacs-lisp/package.el (url-recreate-url):
384 * mail/mailclient.el (clipboard-kill-ring-save):
385 * subr.el (x-popup-dialog): Update declaration.
386 * mail/rmail.el (rmail-mime-message-p):
387 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
388
00d2a6bb
DC
3892014-01-21 Daniel Colascione <dancol@dancol.org>
390
391 * progmodes/sh-script.el (sh--inside-noncommand-expression):
392 Correctly detect when we're inside an arithmetic expansion form
393 containing nested parenthesis.
394 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
395 to detect cases where we shouldn't expand "<<" to a heredoc
396 skeleton.
397
dd9d2e9d
SM
3982014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
399
400 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
401 (eldoc--message-command-p): New function.
402 (eldoc-display-message-p): Use it.
403 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
404 message is not automatically erased for us.
405 (eldoc-print-current-symbol-info): Erase previous message, if any.
406
e7d807ca
TH
4072014-01-21 Tassilo Horn <tsdh@gnu.org>
408
4ff0a0e5
TH
409 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
410 specify it's an interactive function.
411
dd9d2e9d
SM
412 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
413 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
414 citations with optional arguments.
415
87503791
LL
4162014-01-21 Leo Liu <sdl.web@gmail.com>
417
418 * simple.el (read--expression): Don't enable eldoc-mode.
419
6cc750ee
SM
4202014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
421
422 * simple.el (move-beginning-of-line): Make sure we don't move forward
423 (bug#16497).
424
71f16bda
JL
4252014-01-20 Juri Linkov <juri@jurta.org>
426
427 * saveplace.el (toggle-save-place, save-place-to-alist)
428 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
429 'dired-mode) before checking for dired-directory. (Bug#16477)
430
3c5a4839
JL
4312014-01-20 Juri Linkov <juri@jurta.org>
432
433 * indent.el (indent-line-to): Use backward-to-indentation
434 instead of back-to-indentation. (Bug#16461)
435
f952002e
PE
4362014-01-20 Paul Eggert <eggert@cs.ucla.edu>
437
438 Revert some of the CANNOT_DUMP fix (Bug#16494).
439 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
440 but fixing this can wait until after the next release.
441 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
442
93675500
MA
4432014-01-19 Michael Albinus <michael.albinus@gmx.de>
444
445 * eshell/esh-mode.el (eshell-password-prompt-regexp):
446 Use `password-word-equivalents'.
447 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
448 to t. (Bug#5664, Bug#13124)
449
e3af763f
AM
4502014-01-19 Alan Mackenzie <acm@muc.de>
451
452 Bind open-paren-in-column-0-is-defun-start to nil at some entry
453 points.
454 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 455 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
456 * progmodes/cc-mode.el (c-before-change, c-after-change)
457 (c-font-lock-fontify-region): Bind it here.
458
4ff6d92d
MR
4592014-01-19 Martin Rudalics <rudalics@gmx.at>
460
461 * term.el (term-window-width): Call window-text-width instead of
462 window-width (Bug#16470).
463
9a685cf6
PE
4642014-01-18 Paul Eggert <eggert@cs.ucla.edu>
465
466 * simple.el (password-word-equivalents): Remove duplicates.
467 Sort, to make this easier next time.
468 Downcase. Omit ": " after "jelszó".
469
5aa78c2d
JD
4702014-01-18 Jan Djärv <jan.h.d@swipnet.se>
471
472 * term/common-win.el (saved-region-selection): Defvar it.
473 (x-select-text): Set saved-region-selection (Bug#16382).
474
cabb250c
GM
4752014-01-18 Glenn Morris <rgm@gnu.org>
476
477 * emacs-lisp/authors.el (authors-aliases)
478 (authors-renamed-files-alist): Add some entries.
479
a1340440
MA
4802014-01-17 Michael Albinus <michael.albinus@gmx.de>
481
93675500
MA
482 * net/tramp.el (tramp-password-prompt-regexp):
483 Use `password-word-equivalents' if available.
a1340440
MA
484 (tramp-action-password, tramp-process-one-action)
485 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
486
681ce5d2
CY
4872014-01-17 Chong Yidong <cyd@gnu.org>
488
489 * simple.el (password-word-equivalents): New defcustom.
490 * comint.el (comint-password-prompt-regexp): Use it. Bump version
491 to 24.4.
492 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
493 to t. (Bug#13124)
494
fb3d479c
DG
4952014-01-17 Dmitry Gutov <dgutov@yandex.ru>
496
497 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
498 (ruby-align-to-stmt-keywords): Change the default value.
499 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
500 choices.
501 (ruby-smie-rules): Instead of using a hardcoded list of alignable
502 keywords, check against the value of `ruby-alignable-keywords'
503 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
504
0d613483
GM
5052014-01-17 Glenn Morris <rgm@gnu.org>
506
fc23fe2d
GM
507 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
508
0d613483
GM
509 Make M-x authors return zero *Authors Errors* from current logs.
510 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
511 (authors-ignored-files): Add some entries, remove others.
512 (authors-ambiguous-files, authors-valid-file-names):
513 Add some entries.
514 (authors-renamed-files-alist): Add, remove, and adjust entries.
515 (authors-renamed-files-regexps): Add some entries.
516 Remove some very broad ones. Make some entries `lax'.
517 (authors-lax-changelogs): New constant.
518 (authors-disambiguate-file-name): Treat top-level specially.
519 (authors-lax-changelog-p): New function.
520 (authors-canonical-file-name): Check file as written against
521 authors-valid-file-names. Do not special-case etc/.
522 Handle `lax' logs and authors-renamed-files-regexps elements.
523
2dbf4ffd
DG
5242014-01-16 Dmitry Gutov <dgutov@yandex.ru>
525
526 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
527 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
528 callers.
2dbf4ffd 529
87b2a7f2
SM
5302014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
531
532 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
533 Assume we're already in the proper buffer.
534 Inspired by Anders Lindgren <andlind@gmail.com>.
535 (follow-post-command-hook): Call it from the right buffer.
536 (follow-comint-scroll-to-bottom): Adjust call.
537 (follow-all-followers): Use get-buffer-window-list.
538
93acfb0e
DC
5392014-01-15 Daniel Colascione <dancol@dancol.org>
540
541 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
542 `buffer-file-name' in interactive-form so that we don't leave
543 pathless file names in `file-name-history'.
544
ccc6b208
JL
5452014-01-15 Juri Linkov <juri@jurta.org>
546
547 * indent.el (indent-rigidly): Set deactivate-mark to nil
548 in transient indentation mode. (Bug#16438)
549
5c92e00d
DG
5502014-01-15 Dmitry Gutov <dgutov@yandex.ru>
551
552 * emacs-lisp/package.el (package-desc-keywords): New function
553 (Bug#16222).
554 (describe-package-1, package-all-keywords)
555 (package--has-keyword-p): Use it.
556
dac69660
NR
5572014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
558
559 * simple.el (define-alternatives): When creating the
560 COMMAND-alternatives variable, assign COMMAND as its definition
561 name so that `describe-variable' can relocate it.
562
8b63edf8
ML
5632014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
564
565 * font-lock.el (font-lock-keywords): Fix typo in docstring
566 (bug#16307).
567
c6a0b8eb
AM
5682014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
569
570 * ispell.el (ispell-region): Reset `in-comment' for new line
571 instead of wrongly reset `add-coment' (bug#13577).
572
02bf443d
DU
5732014-01-14 Daiki Ueno <ueno@gnu.org>
574
575 * epa-file.el (epa-file-write-region): Encode the region according
576 to `buffer-file-format'. Problem reported at:
577 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
578
fd7fde15
SM
5792014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
580
581 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
582 so it applies in the right buffer (bug#16410).
583
c176054f
DC
5842014-01-13 Daniel Colascione <dancol@dancol.org>
585
586 * textmodes/rst.el (rst-define-key): Provide deprecated
587 keybindings through named functions instead of anonymous ones so
588 that "??" doesn't appear in describe-mode output.
589
e3f33e5d
BG
5902014-01-13 Bastien Guerry <bzg@gnu.org>
591
592 * simple.el (define-alternatives): Call the selected command
593 interactively. When setting `COMMAND--implementation' for the
594 first time, tell the user how to chose another implementation.
595 Enhance the docstring.
596
c055d654
SM
5972014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
598
599 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
600 (log-edit--match-first-line): New function.
601 (log-edit-font-lock-keywords): Use it.
602 (log-edit-mode): Make jit-lock-defer-multiline work.
603
d791cc3b
BG
6042014-01-13 Bastien Guerry <bzg@gnu.org>
605
606 * rect.el (rectangle-mark-mode): When the region is not active,
607 display a message saying that the mark as been set and that
608 rectangle mode is in use.
609 (rectangle--highlight-for-redisplay): Only put an overlay with a
610 visible vertical bar when (display-graphic-p) is non-nil.
611 This partially fixes Bug#16403.
612
3c0c4562
JL
6132014-01-13 Juri Linkov <juri@jurta.org>
614
615 * info.el (Info-find-file): Go to DIR before displaying the error
616 about a nonexistent file if no previous Info file is visited.
617 Use `user-error' instead of `error' for "Info file %s does not exist".
618 (Info-find-node-2): In case of a nonexistent node in unwind forms
619 go to the Top node if there is no previous node to revert to.
620 (Bug#16405)
621
25a700d0
MR
6222014-01-13 Martin Rudalics <rudalics@gmx.at>
623
624 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
625 * window.el (fit-frame-to-buffer): Fix doc-string.
626 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
627 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
628 when avoiding that frame goes partially off-screen.
629 (fit-window-to-buffer): Respect window-min-height/-width
630 (Bug#14096).
631
6ae948d8
SM
6322014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
633
634 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
635 after an empty line.
636
6137cb82
SM
6372014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
638
639 * net/shr.el (shr-render-region): Autoload.
640
e6344e17
XF
6412014-01-12 Xue Fuqiao <xfq.free@gmail.com>
642
643 * net/eww.el (eww-download-directory): Rename from
644 `eww-download-path' (Bug#16419).
645
3b922c70
LL
6462014-01-12 Leo Liu <sdl.web@gmail.com>
647
648 * dired-x.el (dired-mode-map): Fix last change.
649
650 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
651
4fa51741
PE
6522014-01-12 Paul Eggert <eggert@cs.ucla.edu>
653
654 Spelling fixes.
655 * emacs-lisp/generic.el (generic--normalize-comments):
656 Rename from generic--normalise-comments. All uses changed.
657 * play/bubbles.el (bubbles--neighborhood-score):
658 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
659 (bubbles--neighborhood-available)
660 (bubbles--update-neighborhood-score):
661 Rename from names with 'neighbourhood'. All uses changed.
662
9b335362
LL
6632014-01-12 Leo Liu <sdl.web@gmail.com>
664
665 Re-implement the feature of showing eldoc info after editing.
666 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
667 (eldoc-edit-message-commands): New function.
668 (eldoc-print-after-edit): New variable.
669 (eldoc-pre-command-refresh-echo-area): Emit message only by
670 eldoc-message-commands.
671 (eldoc-mode): Restrict eldoc-message-commands to editing commands
672 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 673 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 674 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 675
e2a095b1
GM
6762014-01-11 Dani Moncayo <dmoncayo@gmail.com>
677 Eric S. Raymond <esr@thyrsus.com>
9685190b 678
841a6d0c 679 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 680 function works correctly in either a Bazaar or Git repo.
0abf4134 681
e2a095b1
GM
6822014-01-11 Eric S. Raymond <esr@thyrsus.com>
683
6137cb82
SM
684 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
685 Goes with removal of the joke manpages from /etc.
9685190b 686
3923e7bd
KH
6872014-01-10 K. Handa <handa@gnu.org>
688
6137cb82
SM
689 * mail/rmail.el (rmail-get-coding-system):
690 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 691
d2f16e93
GM
6922014-01-10 Glenn Morris <rgm@gnu.org>
693
694 * emacs-lisp/authors.el (authors-fixed-entries):
695 Update for files that no longer exist.
696
7e03bb32
ER
6972014-01-10 Eric S. Raymond <esr@thyrsus.com>
698
699 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 700 24.3 (Tested).
7e03bb32 701
dd806710
BB
7022014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
703
704 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
705 and Podfile.
706
ed6ec139
EZ
7072014-01-10 Eli Zaretskii <eliz@gnu.org>
708
709 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
710
cc33cac9
CY
7112014-01-10 Chong Yidong <cyd@gnu.org>
712
6137cb82 713 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 714
d9d836b5
AL
7152014-01-10 Anders Lindgren <andlind@gmail.com>
716
717 * follow.el (follow-cache-command-list): Include right-char and
718 left-char.
719
06827ec8
PE
7202014-01-10 Paul Eggert <eggert@cs.ucla.edu>
721
722 Spelling fixes.
723 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
724 * woman.el (woman-mark-horizontal-position):
725 Rename from woman-mark-horizonal-position. Use changed.
726
458dbf5e
GM
7272014-01-10 Glenn Morris <rgm@gnu.org>
728
dad6fae7
GM
729 * info.el (info-initialize): If running uninstalled, ensure our
730 own info files are always found first, even if INFOPATH is set.
731
458dbf5e
GM
732 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
733
05e0afce
DE
7342014-01-09 David Engster <deng@randomsample.de>
735
736 * emacs-lisp/eieio-custom.el:
737 * emacs-lisp/eieio-opt.el: Set generated autoload file to
738 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
739 * emacs-lisp/eieio.el: Regenerate autoloads.
740
f29778b3
ER
7412014-01-09 Eric S. Raymond <esr@thyrsus.com>
742
743 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 744 following renames. (Bug#8756)
f29778b3 745
684d44ef
SM
7462014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
747
748 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
749 (bug#16382).
750 (activate-mark): Add `no-tmm' argument.
751 (set-mark, push-mark-command): Use it instead of running
752 activate-mark-hook by hand.
753
9475054f
ER
7542014-01-08 Eric S. Raymond <esr@thyrsus.com>
755
756 In preparation for the move to git, sanitize out some
757 Bazaar-specific names.
758
38942b9c
GM
759 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
760
9475054f 761 * version.el (emacs-bzr-version): Name changed to
689c9ca5 762 emacs-repository-version. Obsolete-variable alias made.
9475054f 763 * loadup.el: Follow through on this name change.
a12bf61e 764 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
765 assumption about the version control system in use.
766
0f918d96 7672014-01-08 David Engster <deng@randomsample.de>
abb82152 768
684d44ef
SM
769 * help-fns.el (help-fns-describe-function-functions):
770 New variable to call functions for augmenting help buffers.
abb82152
DE
771 (describe-function-1): Remove explicit calls to
772 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
773 `help-fns--obsolete'. Put them in above new variable instead, and
774 call them through `run-hook-with-args'.
775 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
776 `eieio-describe-class'. Not meant for interactive use anymore,
777 but to augment existing help buffers. Remove optional second
684d44ef
SM
778 argument. Create proper button for file location.
779 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
780 possible.
781 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
782 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
783 (describe-method, describe-generic, eieio-describe-method):
784 Remove aliases.
0f918d96
DE
785 (eieio-help-constructor, eieio-help-generic): Rename from
786 `eieio-describe-constructor' and `eieio-describe-generic', resp.
787 Rewrite to use `insert' in the current buffer and use proper help
788 buttons.
789 (eieio-help-find-method-definition)
790 (eieio-help-find-class-definition): Also accept symbols as
791 arguments.
792 (eieio-help-mode-augmentation-maybee): Remove.
793 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
794 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
795 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 796
136b74c5
PE
7972014-01-08 Paul Eggert <eggert@cs.ucla.edu>
798
799 Spelling fixes.
800 * language/china-util.el (hz-ascii-designation):
801 Rename from hz-ascii-designnation.
802 (hz-ascii-designation): Rename from hz-ascii-designnation.
803 All uses changed.
804
ec6c7de2
SM
8052014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
806
807 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
808 package-alist.
809
d6262c7c
BG
8102014-01-08 Bastien Guerry <bzg@gnu.org>
811
4b9e6087
GM
812 * emacs-lisp/package.el (package-delete):
813 Correctly delete the package from package-alist.
d6262c7c 814
0a3eec32
DU
8152014-01-08 Daiki Ueno <ueno@gnu.org>
816
817 * emacs-lisp/package.el (url-recreate-url): Declare.
818 (url-http-target-url): Declare.
4b9e6087 819 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
820 (package--check-signature): Don't re-signal errors from
821 package--with-work-buffer. Suggested by Stefan Monnier.
822
68f0bb97
BG
8232014-01-07 Bastien Guerry <bzg@gnu.org>
824
825 * minibuffer.el (completion--try-word-completion): When both a
826 hyphen and a space are possible candidates for the character
827 following a word, display both candidates. (Bug#15980)
828
7e1899d7
MR
8292014-01-07 Martin Rudalics <rudalics@gmx.at>
830
831 * window.el (balance-windows-2): While rounding don't give a
832 window more than the remainder. Bug#16351, Bug#16383.
833
0030ec15
GM
8342014-01-07 Glenn Morris <rgm@gnu.org>
835
836 * menu-bar.el (menu-bar-help-extra-packages): Remove.
837 (menu-bar-help-menu): Use view-external-packages instead.
838
2b6b4f20
BG
8392014-01-07 Bastien Guerry <bzg@gnu.org>
840
841 * emacs-lisp/package.el (package-delete): Also delete the package
842 name from `package-alist', not its description only.
843
e9be0a13
GM
8442014-01-07 Glenn Morris <rgm@gnu.org>
845
846 * help.el (view-external-packages):
847 * menu-bar.el (menu-bar-help-extra-packages):
848 Visit efaq.info rather than etc/MORE.STUFF.
849
e4f74da9
JL
8502014-01-07 Juri Linkov <juri@jurta.org>
851
852 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
853 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
854
855 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
856 that shadows RET. (Bug#16342)
857
de7ce2d1
CY
8582014-01-07 Chong Yidong <cyd@gnu.org>
859
860 * isearch.el (isearch-yank-char, isearch-yank-word)
861 (isearch-yank-line): Doc fix.
862
6bdd9204
SM
8632014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
864
865 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
866 * emacs-lisp/elint.el (elint-find-builtins):
867 * emacs-lisp/eldoc.el (eldoc-symbol-function):
868 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
869 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
870 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
871 * apropos.el (apropos-safe-documentation):
872 * subr.el (symbol-file): Remove redundant fboundp.
873 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
874
daccca97
BG
8752014-01-06 Bastien Guerry <bzg@gnu.org>
876
877 * hl-line.el (global-hl-line-overlay): Make a local variable.
878 (global-hl-line-overlays): New variable to store all overlays.
879 (global-hl-line-mode): Don't delete overlays from the current
880 buffer when `global-hl-line-sticky-flag' is non-nil.
881 (global-hl-line-highlight): Add new overlays to
882 `global-hl-line-overlays'.
883 (global-hl-line-unhighlight-all): New function to delete all
884 overlays when turning off `global-hl-line-mode'.
885 This fixes Bug#16183.
886
ec00f20f
SM
8872014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
888
889 * subr.el (set-transient-map): Fix nested case and docstring.
890
a0031f97
TH
8912014-01-06 Tassilo Horn <tsdh@gnu.org>
892
893 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
894 `Texinfo' entry.
895
bf6a77f3
DC
8962014-01-06 Daniel Colascione <dancol@dancol.org>
897
898 Fix defun navigation in vc log view.
899
900 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
901 like `beginning-of-defun'.
902 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
ec00f20f
SM
903 log-view-end-of-defun to log-view-end-of-defun-1. Replace
904 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 905 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 906 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 907
d5081c1e
PE
9082014-01-06 Paul Eggert <eggert@cs.ucla.edu>
909
910 Spelling fixes.
911 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
912 * emacs-lisp/debug.el (cancel-debug-on-entry):
913 * epg.el (epg-error-to-string):
914 * files.el (recover-file):
915 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
916 * mail/emacsbug.el (report-emacs-bug-hook):
917 * mail/sendmail.el (mail-recover):
918 * ses.el (ses-yank-resize):
919 * term/ns-win.el (ns-print-buffer):
920 Spelling fixes in diagnostics, mostly for "canceled" with one L.
921 * epg.el (epg-key-capability-alist): Rename from misspelled version.
922 All uses changed.
923 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
924
53f6b148
LL
9252014-01-06 Leo Liu <sdl.web@gmail.com>
926
927 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 928 to avoid shadowing global key. (Bug#16354)
53f6b148 929
b82ace2f
DC
9302014-01-06 Daniel Colascione <dancol@dancol.org>
931
932 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
933 rst-mode.
934
3669b636
MR
9352014-01-05 Martin Rudalics <rudalics@gmx.at>
936
937 * window.el (balance-windows): Add mising t to fix Bug#16351.
938
1a29adc2
LMI
9392014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
940
941 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
942 (bug#16285).
3d95a0f4
LMI
943 (shr-insert): If we have a word that's longer than `shr-width',
944 break after it anyway. Otherwise we'll do no breaking once we get
945 such a long word.
1a29adc2 946
f4018140
KN
9472014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
948
3fcfc4ee 949 * net/eww.el (eww): Support single/double quote for search.
189340f5
KN
950 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
951 (eww-history-quit): Delete and use quit-window.
952 (eww-history-kill): Delete, because it doesn't work well and
953 not necessary.
954 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 955
4e619754
PE
9562014-01-05 Paul Eggert <eggert@cs.ucla.edu>
957
73dbf960
PE
958 Fix misspelling of 'chinese' in rx (Bug#16237).
959 * emacs-lisp/rx.el (rx-categories): Correct spelling of
960 chinese-two-byte.
961
4e619754
PE
962 Change subword regexps back to vars (Bug#16296).
963 * progmodes/subword.el (subword-forward-regexp)
964 (subword-backward-regexp): Change these back to variables.
965
e18b70fc
SM
9662014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
967
968 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
969 syntax-begin-function (bug#16247).
970
0d53f628
CY
9712014-01-03 Chong Yidong <cyd@gnu.org>
972
973 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
974 (advice--docstring): Delete variable.
975 (advice--make-1): Leave the docstring empty.
976 (advice-add): Use function-documentation for advised docstring.
977
978 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
979 Ignore function-documentation property when getting documentation.
980 (ad-activate-advised-definition): Use function-documentation
981 generate the docstring.
982 (ad-make-advised-definition): Don't call
983 ad-make-advised-definition-docstring.
984 (ad-make-advised-definition-docstring, ad-advised-definition-p):
985 Delete functions.
986
987 * progmodes/sql.el (sql-help): Use function-documentation instead
988 of dynamic-docstring-function property. No need to autoload now.
989 (sql--help-docstring): New variable.
990 (sql--make-help-docstring): Use it.
991
6f547583
SM
9922014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
993
6ef9aed8
SM
994 * ielm.el (ielm-tab): Retarget.
995 (ielm-map): Use ielm-tab for tab.
996 (ielm-complete-filename): Use comint-filename-completion.
997 (ielm-complete-symbol): Remove.
998 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
999 remove ielm-tab from completion-at-point-functions (bug#16224).
1000
6f547583
SM
1001 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1002 Beware signals raised by predicates (bug#16201).
1003
a574edbe
RS
10042014-01-02 Richard Stallman <rms@gnu.org>
1005
e831604d
RS
1006 * dired-aux.el (dired-do-print): Handle printer-name.
1007
6f547583
SM
1008 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1009 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
1010 (rmail-epa-decrypt): Turn off mime processing.
1011
3fcfc4ee 1012 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
1013 Add parens in message-id.
1014
1015 * mail/rmail.el (rmail-get-coding-function): Variable.
1016 (rmail-get-coding-system): Use it.
1017
04311a16
KH
10182013-12-31 Eli Zaretskii <eliz@gnu.org>
1019
1020 * international/mule-conf.el: Unify the charset indian-is13194.
1021 (indian-is13194): Specify unify-map.
1022
c8d89778
LL
10232013-12-31 Leo Liu <sdl.web@gmail.com>
1024
1025 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1026
e63ace37
DC
10272013-12-30 Daniel Colascione <dancol@dancol.org>
1028
9e0bf19a
DC
1029 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1030 of printing a useless when we resume from sleep.
1031
e63ace37
DC
1032 * progmodes/sh-script.el
1033 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1034 in indentation code. (Bug#16233)
1035
e9d6c46a
JT
10362013-12-28 João Távora <joaotavora@gmail.com>
1037
6f547583
SM
1038 * elec-pair.el (electric-pair-post-self-insert-function):
1039 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 1040
bf7bea5d
EZ
10412013-12-28 Eli Zaretskii <eliz@gnu.org>
1042
1043 * frame.el (window-system-for-display): Don't allow to create a
1044 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1045
8449dd1f
GM
10462013-12-28 Glenn Morris <rgm@gnu.org>
1047
9c5a5c77
GM
1048 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1049 Update callers.
1050
1051 * apropos.el (apropos-match-face):
1052 * calculator.el (calculator-displayer):
1053 * dabbrev.el (dabbrev-search-these-buffers-only):
1054 * face-remap.el (buffer-face-mode-face):
1055 * simple.el (yank-handled-properties):
1056 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1057 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1058 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1059 (hashcash-double-spend-database):
1060 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1061 (ruby-deep-indent-paren-style):
1062 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1063 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1064 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1065 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1066 Specify custom types.
1067
bb098075
GM
1068 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1069 * bookmark.el (bookmark-bmenu-use-header-line):
1070 * doc-view.el (doc-view-scale-internally):
1071 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1072 * register.el (register-preview-delay):
1073 * net/shr.el (shr-bullet):
1074 * progmodes/cfengine.el (cfengine-cf-promises)
1075 (cfengine-parameters-indent):
1076 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1077 * textmodes/reftex-vars.el (reftex-label-regexps):
1078 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1079
9c61f806
GM
1080 * net/tls.el (tls-certtool-program): Fix default value.
1081
1082 * desktop.el (desktop-restore-in-current-display):
1083 * newcomment.el (comment-empty-lines):
1084 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1085 (idlwave-pad-keyword):
1086 * progmodes/tcl.el (tcl-tab-always-indent):
1087 * textmodes/reftex-vars.el (reftex-index-default-tag):
1088 * elec-pair.el (electric-pair-skip-whitespace):
1089 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1090
8449dd1f
GM
1091 * emacs-lisp/authors.el (authors-ignored-files)
1092 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1093
fdadeb49
JC
10942013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1095
72140a0f
GM
1096 * shell.el (shell-dynamic-complete-command): Doc fix.
1097 (shell--command-completion-data): Shell completion now matches
1098 executable filenames from the current buffer's directory, on
da5ecfa9 1099 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 1100
e572a7d8
LI
11012013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1102
1103 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1104
7514d3f8
SM
11052013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1106
a4151f3b
SM
1107 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1108 (bug#16251).
1109
7514d3f8
SM
1110 * electric.el: Move all electric-pair-* to elec-pair.el.
1111 * elec-pair.el: New file, split from electric.el.
1112
ac5758d1
LI
11132013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1114
1115 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1116 indentation level is larger than the width, because that will
1117 infloop.
1118 (shr-insert): Fill repeatedly long texts, so that Japanese is
1119 formatted correctly (bug#16263).
24a6b65e
LI
1120 (shr-find-fill-point): Off by one error in comparison with the
1121 indentation.
ac5758d1 1122
7514d3f8 11232013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
1124
1125 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 1126 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
1127 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1128 if that keeps or improves their balance in buffers.
1129 (electric-pair-delete-adjacent-pairs): Delete the pair when
1130 backspacing over adjacent matched delimiters.
1131 (electric-pair-open-extra-newline): Open extra newline when
1132 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
1133 (electric--sort-post-self-insertion-hook):
1134 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
1135 minor-modes are activated.
1136 * simple.el (newline-and-indent): Call newline with interactive
1137 set to t.
1138 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
1139 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1140 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1141 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
1142 electric-pair-open-newline-between-pairs to nil.
1143
fbcc63a3
FEG
11442013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1145
1146 * progmodes/python.el: Use lexical-binding.
1147 (python-nav-beginning-of-defun): Stop searching ASAP.
1148
ed78d16c
XF
11492013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1150
1151 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1152 Fix interactive spec. Doc fix. (Bug#15754)
1153
38b2c142
KY
11542013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1155
1156 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 1157 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
1158 Fix edebug spec (bug#16184).
1159
3c856c14
LI
11602013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1161
83fa295c 1162 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
1163 (shr-insert): Don't infloop if we can't find a good place to break
1164 the line (bug#16256).
3c856c14 1165
01379221
FEG
11662013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1167
1168 * progmodes/python.el:
1169 (python-nav--lisp-forward-sexp): New function.
1170 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1171 python-nav-lisp-forward-sexp-safe.
1172 (python-nav--forward-sexp): New argument SAFE allows switching
1173 forward sexp movement behavior for parens.
1174 (python-nav-forward-sexp): Throw errors on unterminated parens
1175 (Bug#16191).
1176 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1177 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
1178 (python-shell-buffer-substring):
1179 Use `python-nav-forward-sexp-safe'.
01379221 1180
99e4926f
LI
11812013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1182
1183 * net/shr.el (shr-find-fill-point): Don't break lines before a
1184 quotation mark.
c6c20584
LI
1185 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1186 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 1187 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 1188
fec0e828
KN
11892013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1190
1191 * net/eww.el (eww-form-textarea): Use a different face for
1192 textareas than text input since they have different keymaps
1193 (bug#16142).
1194
89c868ad
FEG
11952013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1196
7514d3f8
SM
1197 * progmodes/python.el (python-nav-beginning-of-statement):
1198 Speed up (Bug#15295).
89c868ad 1199
eeef121a
LI
12002013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1201
1202 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1203 the window configuration.
1204
121ea65f
EZ
12052013-12-24 Eli Zaretskii <eliz@gnu.org>
1206
1207 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1208 we run on MS-Windows or MS-DOS.
1209
18cee9ec
MR
12102013-12-24 Martin Rudalics <rudalics@gmx.at>
1211
1212 * window.el (balance-windows-area): Call window-size instead of
1213 window-height and window-width. Bug#16241.
1214
58f2b9a5
LI
12152013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1216
1217 * net/eww.el (eww-bookmark-quit): Remove.
1218 (eww-bookmark-browse): Restore the window configuration when you
1219 choose a bookmark (bug#16144).
1220
d64b6308
DC
12212013-12-24 Daniel Colascione <dancol@dancol.org>
1222
1223 * icomplete.el: Remove redundant :group arguments to `defcustom'
1224 throughout.
1225 (icomplete-show-matches-on-no-input): New customizable variable.
1226 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1227 we have something to show.
7514d3f8 1228 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 1229
0da54898
DC
12302013-12-23 Daniel Colascione <dancol@dancol.org>
1231
1232 * icomplete.el: Move `provide' to end of file.
1233
b90aa4f4
TZ
12342013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1235
1236 * net/gnutls.el (gnutls-verify-error): Add version tag.
1237
8cd22a08
CY
12382013-12-23 Chong Yidong <cyd@gnu.org>
1239
1240 * subr.el (set-transient-map): Rename from
1241 set-temporary-overlay-map. Doc fix.
1242
1243 * face-remap.el (text-scale-adjust):
1244 * indent.el (indent-rigidly):
1245 * kmacro.el (kmacro-call-macro):
1246 * minibuffer.el (minibuffer-force-complete):
1247 * repeat.el (repeat):
1248 * simple.el (universal-argument--mode):
1249 * calendar/todo-mode.el (todo-insert-item--next-param):
1250 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1251
7510b021
CY
1252 * indent.el (indent-rigidly): Use substitute-command-keys.
1253
72140a0f 12542013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
1255
1256 * net/eww.el (eww-tag-select): Add text-property to jump to next
1257 select field.
e9dc713d 1258 (eww): Add non-supported ftp error.
56890ecd 1259
1f87a56c
DG
12602013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1261
1262 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1263 comments. Handle electric indent after typing `?' and `!'.
1264
dca38cf9
CY
12652013-12-22 Chong Yidong <cyd@gnu.org>
1266
1267 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
1268 applicable to a frame, fall back on the defface spec.
1269 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 1270
f2351498
DG
12712013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1272
1273 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1274 after `{'. We need it after block openers, and it doesn't seem
1275 to hurt after hash openers.
1276
6cddebc1
DG
12772013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1278
1279 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1280 extracted from `ruby-smie-rules'.
1281 (ruby--electric-indent-chars): New variable.
1282 (ruby--electric-indent-p): New function.
1283 (ruby-mode): Use `electric-indent-functions' instead of
1284 `electric-indent-chars'.
1285
65a1da00
DG
12862013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1287
1288 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1289 docstring.
1290 (ruby-smie-rules): Indent plus one level after `=>'.
1291
b51ad4cf
RS
12922013-12-21 Richard Stallman <rms@gnu.org>
1293
1294 * simple.el (newline): Doc fix.
1295
72140a0f 12962013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 1297
e9dc713d 1298 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
1299 (eww-history-browse, eww-history-quit, eww-history-kill)
1300 (eww-history-mode-map, eww-history-mode): New command and
1301 functions to list browser histories.
e9dc713d
JB
1302 (eww-form-text): Support text form with disabled
1303 and readonly attributes.
1304 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 1305
5e1901c1
RS
13062013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1307
1308 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1309 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1310 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1311 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1312 Use `user-error'.
1313 (eww-bookmark-mode-map): Add menu.
1314 (eww-render, eww-mode): Use `setq-local'.
1315 (eww-tool-bar-map): New variable.
1316 (eww-mode): Set `tool-bar-map'.
1317 (eww-view-source): Check for `html-mode' with `fboundp'.
1318
073d5cfd
LMI
13192013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1320
1321 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1322 elements with text inside. Also remove debugging.
1323
41cf3d11
JD
13242013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1325
1326 * cus-start.el (all): Add ns-use-srgb-colorspace.
1327
aac2b673
CY
13282013-12-21 Chong Yidong <cyd@gnu.org>
1329
1330 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1331 undefined. Thus, theme settings for undefined faces do not take
1332 effect until the faces are defined with defface, the same as with
1333 theme variables.
1334
1335 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1336 (face-spec-reset-face): Don't assign extra properties in temacs.
1337 (face-spec-recalc): Apply X resources too.
1338
bacb0e77
CY
13392013-12-21 Chong Yidong <cyd@gnu.org>
1340
1341 * faces.el (face-spec-set):
1342 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1343 * custom.el (defface): Doc fixes (Bug#16203).
1344
77221051
CY
1345 * indent.el (indent-rigidly-map): Add docstring, and move commands
1346 into named functions.
1347 (indent-rigidly-left, indent-rigidly-right)
1348 (indent-rigidly-left-to-tab-stop)
1349 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1350 indentation direction based on bidi direction, and accumulate
1351 sequential commands in a single undo boundary.
1352 (indent-rigidly--pop-undo): New utility function.
1353
e0eb0550
JB
13542013-12-20 Juanma Barranquero <lekktu@gmail.com>
1355
1356 * faces.el (read-face-name): Require crm.el when using crm-separator.
1357
3282bd2e
DC
13582013-12-20 Daniel Colascione <dancol@dancol.org>
1359
1360 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1361 so that we don't reflow comments into the shebang line.
1362
1d42e5b6
JL
13632013-12-20 Juri Linkov <juri@jurta.org>
1364
1365 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1366 a position when `dired-directory' is non-nil. Check integer
1367 positions with `integerp'.
1368 (toggle-save-place, save-places-to-alist): Add check for
1369 `dired-directory'.
1370 (save-place-find-file-hook): Check integer positions with
1371 `integerp'.
1372 (save-place-dired-hook): Use `dired-goto-file' when
1373 `dired-filename' is found in the assoc list. Check integer
1374 positions with `integerp'.
1375 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1376
1377 * dired.el (dired-initial-position-hook): Rename back from
1378 `dired-initial-point-hook'.
1379 (dired-initial-position): Rename `dired-initial-point-hook' to
1380 `dired-initial-position-hook'.
1381 (dired-file-name-at-point): Doc fix. (Bug#15329)
1382
24da7273
JL
13832013-12-20 Juri Linkov <juri@jurta.org>
1384
1385 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1386 (read-regexp-suggestions): New function.
1387 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1388 Use `read-regexp-suggestions'. Add non-empty default to history
1389 for empty input.
1390 (occur-read-regexp-defaults-function): Remove function.
1391 (occur-read-primary-args): Use `regexp-history-last' instead of
1392 `occur-read-regexp-defaults-function'.
1393
1394 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1395 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1396 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1397 `hi-lock-read-regexp-defaults-function'. Doc fix.
1398 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1399 with `find-tag-default-as-symbol-regexp'. Doc fix.
1400 (hi-lock-read-regexp-defaults): Remove function.
1401 (hi-lock-regexp-okay): Add check for null.
1402
1403 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1404 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1405
1406 * subr.el (find-tag-default-as-symbol-regexp): New function.
1407 (find-tag-default-as-regexp): Move symbol regexp formatting to
1408 `find-tag-default-as-symbol-regexp'.
1409
137f57c8
S
14102013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1411
1412 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1413 (Bug#14179)
1414
f3a66082
SB
14152013-12-20 Stephen Berman <stephen.berman@gmx.net>
1416
1417 * calendar/todo-mode.el: New implementation of item insertion
1418 commands and key bindings.
1419 (todo-key-prompt): New face.
1420 (todo-insert-item): New command.
1421 (todo-insert-item--parameters): New defconst, replacing defvar
1422 todo-insertion-commands-args-genlist.
1423 (todo-insert-item--param-key-alist): New defconst, replacing
1424 defvar todo-insertion-commands-arg-key-list.
1425 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1426 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1427 (todo-insert-item--next-param): New functions.
1428 (todo-insert-item--args, todo-insert-item--argleft)
1429 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1430 New variables.
1431 (todo-key-bindings-t): Change binding of "i" from
1432 todo-insertion-map to todo-insert-item.
1433 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1434 (todo-insertion-command-name, todo-insertion-commands-names)
1435 (todo-define-insertion-command, todo-insertion-commands)
1436 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1437
2f99433b
SB
14382013-12-20 Stephen Berman <stephen.berman@gmx.net>
1439
1440 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1441 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1442 eval-when-compile.
1443 (todo-move-category): Allow choosing a non-existing todo file to
1444 move the category to, and create that file.
1445 (todo-default-priority): New user option.
1446 (todo-set-item-priority): Use it.
1447 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1448 (desktop-restore-file-buffer): Declare.
1449 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1450 (todo-modes-set-2): Locally set desktop-save-buffer to
1451 todo-desktop-save-buffer.
1452 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1453 (auto-mode-alist): Add autoload cookie.
1454
131e4695
BB
14552013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1456
1457 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1458 helpers.el was a poor choice of name.
3cbfb935
BB
1459 (string-remove-prefix): New function.
1460 (string-remove-suffix): New function.
131e4695 1461
c44de18d
MR
14622013-12-20 Martin Rudalics <rudalics@gmx.at>
1463
1464 Fix assignment for new window total sizes.
1465 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
1466 (window--pixel-to-total-1, window--pixel-to-total):
1467 Fix calculation of new total sizes.
c44de18d 1468
ca65efcc
VS
14692013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1470
1471 * comint.el (comint-output-filter): Fix rear-nonsticky property
1472 placement (Bug#16010).
1473
a9574eb7
CY
14742013-12-20 Chong Yidong <cyd@gnu.org>
1475
1476 * faces.el (read-color): Minor fix for completion function.
1477
b520f210
DG
14782013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1479
e0eb0550
JB
1480 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1481 New option. (Bug#16182)
b520f210
DG
1482 (ruby-smie--indent-to-stmt-p): Use it.
1483 (ruby-smie-rules): Revert the logic in the handling of `when'.
1484 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1485 (ruby-deep-arglist, ruby-deep-indent-paren)
1486 (ruby-deep-indent-paren-style): Update docstrings to note that the
1487 vars don't have any effect with SMIE.
1488
26b75b45
JB
14892013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1490
1491 * calc/calc.el (calc-enter, calc-pop): Use the variable
1492 `calc-context-sensitive-enter'.
1493
cf91cee7
LMI
14942013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1495
1496 * net/shr.el (shr-insert): Protect against infloops in degenerate
1497 tables.
1498
51d971b4
RS
14992013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1500
1501 * progmodes/octave.el (octave): Add link to manual and octave
1502 homepage.
1503 (octave-mode-menu): Link to octave-mode manual.
1504
8c2e462a
LL
15052013-12-20 Leo Liu <sdl.web@gmail.com>
1506
1507 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1508 insertion using skeleton-end-newline. (Bug#16138)
1509
501158bc
JL
15102013-12-20 Juri Linkov <juri@jurta.org>
1511
1512 * replace.el (occur-engine): Use `add-face-text-property'
1513 to add the face property to matches and titles. (Bug#14645)
1514
1515 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1516 the palette of other hi-lock colors.
1517 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1518
50ab1da6
JL
15192013-12-19 Juri Linkov <juri@jurta.org>
1520
1521 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1522 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1523 (minibuffer-history-symbol): Move variable declaration closer to
1524 its usage.
1525
1526 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1527 (Bug#14785)
1528
3d6e95e7
JL
15292013-12-19 Juri Linkov <juri@jurta.org>
1530
1531 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1532 New function.
1533 (log-edit-hook): Add it to :options. (Bug#16170)
1534
b41594fd
JL
15352013-12-19 Juri Linkov <juri@jurta.org>
1536
1537 * simple.el (eval-expression-print-format): Don't check for
1538 command names and the last command. Always display additional
1539 formats of the integer result in the echo area, and insert them
1540 to the current buffer only with a zero prefix arg.
1541 Display character when char-displayable-p is non-nil.
1542 (eval-expression): With a zero prefix arg, set `print-length' and
1543 `print-level' to nil, and insert the integer values from
1544 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1545
1546 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1547 `eval-last-sexp-arg-internal'. Doc fix.
1548 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1549 `eval-last-sexp-print-value'. Doc fix.
1550 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1551 Set `print-length' and `print-level' to nil when arg is zero.
1552 (eval-last-sexp): Doc fix.
1553 (eval-defun-2): Print the integer values from
1554 `eval-expression-print-format' at the end.
1555
1556 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1557 values from `eval-expression-print-format' at the end.
1558
1559 * ielm.el (ielm-eval-input): Print the integer
1560 values from `eval-expression-print-format' at the end.
1561
8f2be364
TZ
15622013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1563
1564 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1565 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1566
2230a6e3
SM
15672013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1568
1569 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1570 (hl-line-highlight, global-hl-line-highlight): Use it.
1571 (hl-line-overlay): Use defvar-local.
1572
1269a680
JD
15732013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1574
1575 * term/ns-win.el: Require dnd.
1576 (global-map): Remove drag items.
1577 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
1578 (ns-set-background-at-mouse):
1579 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1580 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1581 New functions.
1269a680 1582
049638ad
GM
15832013-12-19 Glenn Morris <rgm@gnu.org>
1584
1585 * emacs-lisp/ert.el (ert-select-tests):
1586 Fix string/symbol mixup. (Bug#16121)
1587
ce41edb4
DG
15882013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1589
1590 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1591 keywords to their parent.
1592
7e1549c9
DG
15932013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1594
1595 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1596 first arg to be a string (fixed dead code), or an operator symbol.
1597 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1598 operator symbols.
1599 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1600 did nothing. Don't respond to `(:after ".")', it will be called
1601 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1602 change anything. Only return indentation for binary operators
1603 when they are hanging. De-dent opening paren when its parent is
1604 `.', otherwise it looks bad when the dot is not at bol or eol
1605 (bug#16182).
1606
3ee4cd64
JL
16072013-12-19 Juri Linkov <juri@jurta.org>
1608
1609 * replace.el (query-replace-read-args): Split a non-negative arg
1610 and a negative arg into separate elements.
1611 (query-replace, query-replace-regexp, replace-string)
1612 (replace-regexp): Add arg `backward'. Doc fix.
1613 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1614 move point to the beginning of the match.
1615 (replace-search, replace-highlight): Use new arg `backward'
1616 to set the value of `isearch-forward'.
1617 (perform-replace): Add arg `backward' and use it to perform
1618 replacement backward. (Bug#14979)
1619
1620 * isearch.el (isearch-query-replace): Use a negative prefix arg
1621 to call `perform-replace' with a non-nil arg `backward'.
1622
0cda6b7b
JL
16232013-12-18 Juri Linkov <juri@jurta.org>
1624
1625 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1626 to the default list. Move `log-edit-show-files' to the end.
1627 Add more available functions to options.
1628 (log-edit): Move default specific settings to
1629 `log-edit-insert-message-template'. Don't move point.
1630 (log-edit-insert-message-template): New function.
1631 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1632 (Bug#16170)
1633
b216f0a6
JL
16342013-12-18 Juri Linkov <juri@jurta.org>
1635
1636 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1637 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1638
1d1c55dc
LL
16392013-12-18 Leo Liu <sdl.web@gmail.com>
1640
e9dc713d
JB
1641 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1642 (Bug#16186)
1d1c55dc 1643
64e4c76e
EZ
16442013-12-18 Eli Zaretskii <eliz@gnu.org>
1645
1646 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1647 formats for displaying file sizes when the -s switch is given.
1648 Instead, compute a separate format for displaying the size in
1649 blocks, which is displayed in addition to the "regular" size.
1650 When -h is given in addition to -s, produce size in blocks in
1651 human-readable form as well. (Bug#16179)
1652
b2984e39
TH
16532013-12-18 Tassilo Horn <tsdh@gnu.org>
1654
2230a6e3
SM
1655 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1656 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 1657
50ff2e06
CY
16582013-12-18 Chong Yidong <cyd@gnu.org>
1659
0081bc84
CY
1660 * cus-edit.el (custom-magic-alist): Fix "themed" description
1661 (Bug#14348).
1662
a7ee9424
CY
1663 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1664 is non-nil, do not create a new entry in the symbol's theme-value
1665 or theme-face property; update theme-settings only (Bug#14664).
18874304 1666 (custom-available-themes): Doc fix.
a7ee9424 1667
8f942537
CY
1668 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1669 (Bug#15674).
1670
50ff2e06
CY
1671 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1672
83c60f60
KI
16732013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1674
1675 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1676 (Bug#13914).
1677
e0eb0550 16782013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
1679
1680 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1681
1f41ee56
GM
16822013-12-18 Glenn Morris <rgm@gnu.org>
1683
1684 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 1685 * cus-start.el (load-prefer-newer): New option.
1f41ee56 1686
e82134b1
LW
16872013-12-18 Le Wang <l26wang@gmail.com>
1688
2230a6e3
SM
1689 * comint.el (comint-previous-matching-input-from-input):
1690 Retain point (Bug#13404).
e82134b1 1691
33f5d4c1
CY
16922013-12-18 Chong Yidong <cyd@gnu.org>
1693
1694 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1695
ccc9f6dc
GM
16962013-12-18 Glenn Morris <rgm@gnu.org>
1697
1698 * mail/emacsbug.el (report-emacs-bug):
1699 Only mention enable-multibyte-characters if non-standard.
1700
33dd8e95
JL
17012013-12-17 Juri Linkov <juri@jurta.org>
1702
1703 * arc-mode.el (archive-extract-by-file): Check if directory exists
1704 before deletion to not show irrelevant errors if it doesn't exist.
1705
7a409b30
JL
17062013-12-17 Juri Linkov <juri@jurta.org>
1707
1708 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1709 (Bug#14751)
1710
1711 * net/eww.el (browse-web): Add alias to `eww'.
1712 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1713 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1714
1715 * net/browse-url.el (browse-url-browser-function): Move `eww'
1716 closer to similar functions.
1717
1718 * startup.el (fancy-startup-screen, fancy-about-screen):
1719 Set browse-url-browser-function to eww-browse-url locally.
1720 (Bug#14751)
1721
2d6b6005
SM
17222013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1723
1724 * window.el (window--pixel-to-total): Remove unused `mini' var.
1725 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1726 (split-window): Remove unused `new' var.
1727 (window--display-buffer): Remove unused `frame' and `delta' vars.
1728 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1729 and display-width'.
1730
cf2b7efc
MR
17312013-12-17 Martin Rudalics <rudalics@gmx.at>
1732
1733 * dired.el (dired-mark-pop-up):
1734 * register.el (register-preview): Don't bind
1735 split-height-threshold here since it's now done in
1736 display-buffer-below-selected.
1737
ed3af8a7 17382013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1739
1740 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1741 xterm-rgb-convert-to-16bit.
1742 (rxvt-register-default-colors): Standardize with
1743 xterm-register-default-colors (Bug#14078).
1744
76da3455
DK
17452013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1746
1747 * simple.el (kill-region): Pass mark first, then point, so that
1748 kill-append works right (Bug#12819).
1749 (copy-region-as-kill, kill-ring-save): Likewise.
1750
2b84d763
LL
17512013-12-17 Leo Liu <sdl.web@gmail.com>
1752
1753 * net/rcirc.el (rcirc-add-face):
1754 * eshell/em-prompt.el (eshell-emit-prompt):
1755 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1756 (Bug#16167)
1757
e2f6a0bc
CY
17582013-12-17 Chong Yidong <cyd@gnu.org>
1759
1760 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1761 Suggested by Xue Fuqiao.
1762
35b249a6
DG
17632013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1764
1765 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1766
e9145444
SM
17672013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1768
1769 * net/shr.el (shr-insert-document): Remove unused var
1770 `shr-preliminary-table-render'.
1771 (shr-rescale-image): Remove unused arg `force'.
1772 (shr-put-image): Update calls accordingly.
1773 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1774
5556c0ce
DG
17752013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1776
1777 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1778 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1779 :close-all, to see which indentation method to use (Bug#16116).
1780 (smie-rules-function): Document the method :close-all.
1781
11bade0a
LMI
17822013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1783
1c4b1e61
LMI
1784 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1785
11bade0a
LMI
1786 * net/eww.el (eww-display-html): If we can't find the anchor we're
1787 looking for, then go to point-min.
1788
8fb8c4f3
PE
17892013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1790
1791 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1792 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1793 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1794 Expand dir too, in case it's relative.
1795
6c8e0ae6
JL
17962013-12-16 Juri Linkov <juri@jurta.org>
1797
1798 * desktop.el (desktop-auto-save-timeout): Change default to
1799 `auto-save-timeout'. Doc fix.
1800 (desktop-save): Skip the timestamp in desktop-saved-frameset
1801 when checking for auto-save changes.
1802 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1803 `desktop-auto-save' is called repeatedly by the idle timer.
1804 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1805 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1806 (Bug#15331)
1807
2178e858
JL
18082013-12-16 Juri Linkov <juri@jurta.org>
1809
1810 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1811 (Bug#16035)
1812 (isearch-pre-command-hook): Check `this-command' for symbolp.
1813
39cb42c6
SM
18142013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1815
1816 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1817
5b9b750a
TZ
18182013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1819
1820 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1821 (cfengine3--current-function): Bring in the current-function
1822 functionality from `cfengine3--current-word'.
1823 (cfengine3-completion-function): Bring in the
1824 bounds-of-current-word functionality from
1825 `cfengine3--current-word'.
1826
d144ef06
MR
18272013-12-16 Martin Rudalics <rudalics@gmx.at>
1828
39cb42c6
SM
1829 * window.el (display-buffer-below-selected):
1830 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 1831
a8bbe298
LL
18322013-12-16 Leo Liu <sdl.web@gmail.com>
1833
1834 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1835 Remove NOMSG arg and all uses changed.
1836
2013a2f9
SM
18372013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1838
1839 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1840 (cua--deactivate-rectangle): Don't deactivate the mark.
1841 (cua-set-rectangle-mark): Don't set mark-active since
1842 cua--activate-rectangle already does it for us.
1843 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1844 non-rectangular region.
1845
1846 * emulation/cua-base.el (cua-repeat-replace-region):
1847 Use with-current-buffer.
1848
1849 * net/gnutls.el: Use cl-lib.
1850 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1851
5ae811dd
TZ
18522013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1853
1854 * emacs-lisp/package.el (package-built-in-p): Support both
1855 built-in and the package.el converted package descriptions.
1856 (package-show-package-list): Allow keywords.
1857 (package-keyword-button-action): Use it instead of
1858 `finder-list-matches'.
1859 (package-menu-filter-interactive): Interactive filtering (by
1860 keyword) function.
1861 (package-menu--generate): Support keywords and change keymappings
1862 and headers when they are given.
1863 (package--has-keyword-p): Helper function.
1864 (package-menu--refresh): Use it.
1865 (package--mapc): Helper function.
1866 (package-all-keywords): Use it.
1867 (package-menu-mode-map): Set up menu items and keybindings to
1868 provide a filtering UI.
1869
31b4827e
TZ
18702013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1871
1872 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1873 the behavior when a certificate fails validation. Defaults to
1874 old behavior: never abort, just warn.
1875 (gnutls-negotiate): Use it.
1876
f93cc74f
MR
18772013-12-14 Martin Rudalics <rudalics@gmx.at>
1878
1879 * window.el (display-buffer-below-selected): Never split window
1880 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1881
f77d7d17
TW
18822013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1883
1884 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1885 (package-buffer-info): Use it (bug#15108).
aa2bddd7 1886
7514d3f8
SM
18872013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1888
aa2bddd7 1889 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 1890 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 1891
276bc333
DG
18922013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1893
1894 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1895 open-paren tokens when preceded by a open-paren, too.
1896 (ruby-smie-rules): Handle virtual indentation after open-paren
1897 tokens specially. If there is code between it and eol, return the
1898 column where is starts (Bug#16118).
1899
d43957f3
TZ
19002013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1901
a5c1ac0c 1902 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 1903 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
1904 (cfengine3--current-word): Fix parameters.
1905 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
1906 (cfengine3-completion-function, cfengine3--current-function):
1907 Use `assq' for symbols.
d43957f3
TZ
1908 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1909
06a4f110
GM
19102013-12-13 Glenn Morris <rgm@gnu.org>
1911
1912 * loadup.el (load-path): Warn if site-load or site-init changes it.
1913 No more need to reset it when bootstrapping.
1914
978a5fda
TZ
19152013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1916
1917 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1918 locations for cf-promises.
1919 (cfengine-mode-syntax-functions-regex): New caching variable.
1920 (cfengine3-fallback-syntax): Fallback syntax for cases where
1921 cf-promises doesn't run.
1922 (cfengine3--current-word): Reimplement using
1923 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
1924 (cfengine3-completion-function, cfengine3--current-function):
1925 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
1926 (cfengine3-clear-syntax-cache): New function.
1927 (cfengine3-make-syntax-cache): Simplify and create
1928 `cfengine-mode-syntax-functions-regex' on demand.
1929 (cfengine3-format-function-docstring): Don't call
1930 `cfengine3-make-syntax-cache' explicitly.
1931
71e6691e
MR
19322013-12-13 Martin Rudalics <rudalics@gmx.at>
1933
1934 Fix windmove-find-other-window broken after pixelwise resizing
1935 (Bug#16017).
1936 * windmove.el (windmove-other-window-loc): Revert change from
1937 2013-12-04.
1938 (windmove-find-other-window): Call window-in-direction.
1939 * window.el (window-in-direction): New arguments SIGN, WRAP and
1940 MINI to emulate original windmove-find-other-window behavior.
1941
84c73ba0
DG
19422013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1943
1944 * simple.el (blink-matching--overlay): New variable.
1945 (blink-matching-open): Instead of moving point, highlight the
1946 matching paren with an overlay
1947 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1948
1949 * faces.el (paren-showing-faces, show-paren-match)
1950 (show-paren-mismatch): Move from paren.el.
1951
b9e20952
LL
19522013-12-13 Leo Liu <sdl.web@gmail.com>
1953
1954 * indent.el (indent-region): Disable progress reporter in
1955 minibuffer. (Bug#16108)
1956
1957 * bindings.el (visual-order-cursor-movement): Fix version.
1958
ce030451
FEG
19592013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1960
1961 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1962 Also match after beginning of line.
1963 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 1964 files. Thanks to Russell Sim. (Bug#15378)
ce030451 1965
4a9c6865
JL
19662013-12-13 Juri Linkov <juri@jurta.org>
1967
1968 * simple.el <Keypad support>: Remove key bindings duplicated
1969 with bindings.el. (Bug#14397)
1970
2bc170c3
JL
19712013-12-13 Juri Linkov <juri@jurta.org>
1972
1973 * comint.el (comint-mode-map): Replace `delete-char' with
1974 `delete-forward-char'. (Bug#16109)
1975
bc9222c9
FEG
19762013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1977
aa2bddd7 1978 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 1979 Fix de-denters cornercase. (Bug#15731)
bc9222c9 1980
cb3a1380
SM
19812013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1982
1983 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1984 (advice--make): Pay attention to `depth'.
1985 (advice--make-1): Don't autoload commands eagerly.
1986 * emacs-lisp/elp.el (elp-instrument-function):
1987 * emacs-lisp/trace.el (trace-function-internal):
1988 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1989
1990 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1991
01633a17
EZ
19922013-12-12 Eli Zaretskii <eliz@gnu.org>
1993
1994 * term/w32-win.el (w32-handle-dropped-file):
1995 * startup.el (normal-top-level):
1996 * net/browse-url.el (browse-url-file-url):
1997 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1998 decode file names using 'utf-8' rather than
1999 file-name-coding-system.
2000
09faee72
FEG
20012013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2002
2003 * progmodes/python.el (python-indent-context)
2004 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 2005 behavior for comment blocks. (Bug#15916)
09faee72 2006
f4f84024 20072013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 2008
cb3a1380
SM
2009 * progmodes/python.el (python-indent-calculate-indentation):
2010 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
2011 operators when they are just string constituents. (Bug#15812)
2012
d5ccb7be
JL
20132013-12-12 Juri Linkov <juri@jurta.org>
2014
2015 * uniquify.el (uniquify-buffer-name-style): Change default to
2016 `post-forward-angle-brackets'.
2017
2018 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2019 `uniquify'. Change default to `post-forward-angle-brackets'.
2020
7b3f5679
GM
20212013-12-11 Glenn Morris <rgm@gnu.org>
2022
2023 * emacs-lisp/package.el (finder-list-matches):
2024 Autoload rather than falsely declaring.
2025
f4fe8fdd
TZ
20262013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2027
2028 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2029 (eww-mode-map): Use them.
2030
3c29190f
MR
20312013-12-11 Martin Rudalics <rudalics@gmx.at>
2032
2033 * window.el (display-buffer-in-side-window): Fix doc-string
2034 (Bug#16115).
2035
0cd616a2
JB
20362013-12-11 Juanma Barranquero <lekktu@gmail.com>
2037
2038 * vc/vc-git.el: Silence byte-compiler warnings.
2039 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2040 (log-edit-set-header): Declare.
2041
3ef8e0d1
EZ
20422013-12-11 Eli Zaretskii <eliz@gnu.org>
2043
2044 * Makefile.in (custom-deps, finder-data): Run output file names
2045 through unmsys--file-name. (Bug#16099)
2046
afdadaf7
SM
20472013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2048
7ae3ae39 2049 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 2050 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 2051
5b4f37ab
SM
2052 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2053 instead of deleting the selection "by hand" (bug#16098).
2054 Rely on insert-for-yank to yank rectangles.
2055 (cua-highlight-region-shift-only): Mark obsolete.
2056 (cua-mode): Don't enable/disable transient-mark-mode,
2057 shift-select-mode (cua-mode works both with and without them), and
2058 pc-selection-mode (obsolete).
2059 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2060 (cua--deactivate-rectangle): Deactivate it.
2061
4b72c12b
SM
2062 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2063 (delete-selection-helper): Make sure yank starts at the top of the
2064 deleted region.
2065 (minibuffer-keyboard-quit): Use region-active-p.
2066
e82af72d
SM
2067 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2068
afdadaf7
SM
2069 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2070 to `delete' (bug#16109).
2071
ed4bc201
RS
20722013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2073
2074 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2075 info manual and show keybindings and set `:group' keyword.
2076
bb8097b9
JL
20772013-12-11 Juri Linkov <juri@jurta.org>
2078
2079 * delsel.el (delete-active-region): Let-bind `this-command'
2080 to prevent `kill-region' from changing its original value.
2081 (delete-selection-helper): Handle `overwrite-mode' for the type
2082 `kill' exactly the same way as for the type `t'.
2083 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2084 Support more commands. (Bug#13312)
2085
c1916ff5
JL
20862013-12-11 Juri Linkov <juri@jurta.org>
2087
2088 * bindings.el: Map kp keys to non-kp keys systematically
2089 with basic modifiers control, meta and shift. (Bug#14397)
2090
7514d3f8 20912013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
2092
2093 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2094 "Close browser" menu items. Fix wrong function of "List
2095 bookmarks".
2096
4cc51eaf
JL
20972013-12-11 Juri Linkov <juri@jurta.org>
2098
2099 * misearch.el (multi-isearch-buffers): Set the value of
2100 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2101 arg of isearch-forward to t.
2102 (multi-isearch-buffers-regexp): Set the value of
2103 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2104 arg of isearch-forward-regexp to t.
2105 (multi-isearch-files): Set the value of
2106 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2107 arg of isearch-forward to t.
2108 (multi-isearch-files-regexp): Set the value of
2109 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2110 arg of isearch-forward-regexp to t. (Bug#16035)
2111
2112 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2113 arg of isearch-forward to t.
2114 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2115 arg of isearch-forward-regexp to t.
2116 (dired-isearch-filter-filenames): Remove unnecessary check for
2117 `dired-isearch-filenames'.
2118
2119 * comint.el (comint-history-isearch-backward):
2120 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2121 (comint-history-isearch-backward-regexp):
2122 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2123
ceac12b7
EZ
21242013-12-10 Eli Zaretskii <eliz@gnu.org>
2125
2126 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2127 unmsys--file-name. (Bug#16099)
2128
5a565782
TZ
21292013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2130
cb3a1380
SM
2131 * emacs-lisp/package.el (package-keyword-button-action):
2132 Remove finder.el require dependency.
5a565782 2133
a81fc7ba
TZ
21342013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2135
2136 * emacs-lisp/package.el: Require finder.el.
2137 (describe-package-1): Add keyword buttons.
2138 (package-make-button): New convenience function.
2139 (package-keyword-button-action): Keyword button action using
e0eb0550 2140 `finder-list-matches'.
a81fc7ba 2141
6aaca951
EZ
21422013-12-09 Eli Zaretskii <eliz@gnu.org>
2143
2144 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2145 last commit.
2146
a1099a91
MA
21472013-12-09 Michael Albinus <michael.albinus@gmx.de>
2148
2149 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2150 symlinked files.
2151
8212d9c0
DG
21522013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2153
2154 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2155 after the end of a percent literal.
2156
8f48d131
CD
21572013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2158
cb3a1380
SM
2159 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2160 Handle caret-delimited strings (Bug#16079).
8f48d131 2161
ff8c9764
DG
21622013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2163
cb3a1380
SM
2164 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2165 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
2166 `ruby-parse-partial' (Bug#16078).
2167
d64643b4
LL
21682013-12-09 Leo Liu <sdl.web@gmail.com>
2169
2170 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2171
47e59c66
DG
21722013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2173
2174 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2175 (js-switch-indent-offset): New option.
2176 (js--proper-indentation): Use it. And handle the case when
2177 "default" is actually a key in an object literal.
2178 (js--same-line): New function.
2179 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
2180 (js--indent-in-array-comp, js--array-comp-indentation):
2181 New functions.
47e59c66
DG
2182 (js--proper-indentation): Use them, to handle array comprehension
2183 continuations.
2184
974ebc9c
LL
21852013-12-08 Leo Liu <sdl.web@gmail.com>
2186
2187 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2188 (flymake-make-overlay): Remove arg MOUSE-FACE.
2189 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2190
27262e39
SM
21912013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2192
2193 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2194 New function.
2195 (redisplay-highlight-region-function): Use it.
2196
2197 * emulation/cua-base.el (cua--explicit-region-start)
2198 (cua--last-region-shifted): Remove.
2199 (cua--deactivate): Use deactivate-mark.
2200 (cua--pre-command-handler-1): Don't handle shift-selection.
2201 (cua--post-command-handler-1): Don't change transient-mark-mode.
2202 (cua--select-keymaps): Use region-active-p rather than
2203 cua--explicit-region-start or cua--last-region-shifted.
2204 (cua-mode): Enable shift-select-mode.
2205
6407822c
LL
22062013-12-08 Leo Liu <sdl.web@gmail.com>
2207
27262e39
SM
2208 * progmodes/flymake.el (flymake-popup-current-error-menu):
2209 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
2210 (flymake-posn-at-point-as-event, flymake-popup-menu)
2211 (flymake-make-emacs-menu): Remove. (Bug#16077)
2212
00a2b823
SM
22132013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2214
02033d49
SM
2215 * rect.el (rectangle-mark-mode): Activate mark even if
2216 transient-mark-mode is off (bug#16066).
2217 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2218 is > mark and at bolp.
2219
6f8dfccf
SM
2220 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2221 (region-extract-function): Use it.
2222 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2223 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2224 Delete functions.
2225 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2226 kill-ring-save, kill-region, delete-char, delete-forward-char.
2227 Ignore self-insert-iso.
2228
2229 * emulation/cua-gmrk.el (cua--init-global-mark):
2230 Ignore `self-insert-iso'.
2231
2232 * emulation/cua-base.el (cua--prefix-copy-handler)
2233 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2234 checking cua--rectangle.
2235 (cua-delete-region): Use region-extract-function.
2236 (cua-replace-region): Delete function.
2237 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2238 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2239 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2240 (cua--init-keymaps): Don't remap delete-selection commands.
2241 (cua-mode): Use delete-selection-mode instead of rolling our own
2242 (bug#16085).
2243
2244 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2245 Obey region-extract-function.
2246
00a2b823
SM
2247 Make registers and delete-selection-mode work on rectangles.
2248 * register.el (describe-register-1): Don't modify the register's value.
2249 (copy-to-register): Obey region-extract-function.
2250 * delsel.el (delete-active-region): Obey region-extract-function.
2251
a92fa5f1
LL
22522013-12-08 Leo Liu <sdl.web@gmail.com>
2253
2254 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2255 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2256 (flymake-compilation-prevents-syntax-check)
2257 (flymake-start-syntax-check-on-newline)
2258 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2259 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2260 (flymake-xml-program, flymake-master-file-dirs)
2261 (flymake-master-file-count-limit)
2262 (flymake-allowed-file-name-masks): Relocate.
2263 (flymake-makehash, flymake-float-time)
2264 (flymake-replace-regexp-in-string, flymake-split-string)
2265 (flymake-get-temp-dir): Remove.
2266 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2267 (flymake-current-row, flymake-selected-frame)
2268 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2269 related functions. (Bug#16077)
2270
73c8ceea
BB
22712013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2272
2273 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2274
faec28d9
TH
22752013-12-07 Tassilo Horn <tsdh@gnu.org>
2276
2277 * help-fns.el (describe-function-1): Use new advice-* functions
2278 rather than old ad-* functions. Fix function type description and
2279 source links for advised functions and subrs.
2280
e330b646
LMI
22812013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2282
00a2b823 2283 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 2284
4803595d
MA
22852013-12-06 Michael Albinus <michael.albinus@gmx.de>
2286
2287 * progmodes/compile.el (compilation-start):
2288 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2289
2290 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2291 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2292
fa834a93
DG
22932013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2294
00a2b823
SM
2295 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2296 Touch up the last change.
fa834a93 2297
b2856a6f
LL
22982013-12-06 Leo Liu <sdl.web@gmail.com>
2299
2300 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2301 (inferior-octave-startup): Always use "octave> " for prompt.
2302 (octave-goto-function-definition)
2303 (octave-sync-function-file-names)
2304 (octave-find-definition-default-filename): Remove redundant backquotes.
2305
af67e79a
DG
23062013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2307
2308 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2309 syntax for `?'.
2310 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2311 where appropriate already.
2312 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2313 end of method names (Bug#15874).
2314
bf093209
JL
23152013-12-06 Juri Linkov <juri@jurta.org>
2316
2317 * isearch.el (isearch--saved-overriding-local-map):
2318 New internal variable.
2319 (isearch-mode): Set it to the initial value of
2320 `overriding-terminal-local-map'.
2321 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2322 with `isearch--saved-overriding-local-map'. (Bug#16035)
2323
16588fad
DG
23242013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2325
00a2b823
SM
2326 * progmodes/octave.el (inferior-octave-completion-table):
2327 Turn back into function, use `completion-table-with-cache'
16588fad
DG
2328 (Bug#11906). Update all references.
2329
2330 * minibuffer.el (completion-table-with-cache): New function.
2331
bf4906d7
CD
23322013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2333
2334 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2335
ff69c18f
TZ
23362013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2337
2338 * net/eww.el (eww-current-source): New variable to store page
2339 source.
2340 (eww-display-html, eww-mode, eww-save-history)
2341 (eww-restore-history): Use it.
2342 (eww-view-source): New command to view page source.
2343 Opportunistically uses `html-mode' to highlight the buffer.
2344 (eww-mode-map): Install it.
2345
b85eff45
MA
23462013-12-05 Michael Albinus <michael.albinus@gmx.de>
2347
2348 * net/dbus.el (dbus-unregister-service)
2349 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2350 Fix docstring.
2351 (dbus-unregister-service): Skip :serial entries in
2352 `dbus-registered-objects-table'.
2353 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2354
39eb0899
TZ
23552013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2356
2357 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2358 around keywords with extra `split-string' argument.
2359
456760a5
MR
23602013-12-04 Martin Rudalics <rudalics@gmx.at>
2361
2362 * windmove.el (windmove-other-window-loc): Handle navigation
2363 between windows (excluding the minibuffer window - Bug#16017).
2364
81961e4c
MA
23652013-12-04 Michael Albinus <michael.albinus@gmx.de>
2366
2367 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2368 in D-Bus type syntax.
2369 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2370 preserve unibyte strings. (Bug#16048)
2371
8497f938
SM
23722013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2373
2374 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2375 Call force-mode-line-update is the proper buffer (bug#16042).
2376
dda61916
DG
23772013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2378
2379 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2380 `log-edit-remember-comment', make argument optional. Adjust all
2381 callers.
2382 (log-edit-mode): Add `log-edit-remember-comment' to
2383 `kill-buffer-hook' locally.
2384 (log-edit-kill-buffer): Don't remember comment explicitly since
2385 the buffer is killed anyway.
2386
c085e5b9
JL
23872013-12-04 Juri Linkov <juri@jurta.org>
2388
2389 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2390 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2391
e0eb0550 23922013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
2393
2394 * notifications.el (notifications-close-notification): Call the
81961e4c 2395 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 2396
39fa32d6
KY
23972013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2398
2399 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2400
9139632a
JL
24012013-12-03 Juri Linkov <juri@jurta.org>
2402
2403 * progmodes/compile.el (compilation-start): Rename window alist
2404 entry `no-display-ok' to `allow-no-window'.
2405
2406 * simple.el (shell-command): Add window alist entry
2407 `allow-no-window' to `display-buffer'.
2408 (async-shell-command): Doc fix.
2409
2410 * window.el (display-buffer-no-window): New action function.
2411 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2412
0f457a37
DG
24132013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2414
2415 * vc/log-edit.el (log-edit-set-header): Extract from
2416 `log-edit-toggle-header'.
2417 (log-edit-extract-headers): Separate the summary, when extracted
2418 from header, from the rest of the message with an empty line.
2419
2420 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2421 line, if present, to the Summary header.
2422
0962f376
SM
24232013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2424
2425 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2426 in current-buffer (bug#16029).
2427
f345395c
HE
24282013-12-02 Helmut Eller <eller.helmut@gmail.com>
2429
2430 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2431 (debugger-mode-map): Bind it.
2432 (debugger--backtrace-base): New function.
2433 (debugger-eval-expression): Use it.
2434 (debugger-frame-number): Skip local vars when present.
2435 (debugger--locals-visible-p, debugger--insert-locals)
2436 (debugger--show-locals, debugger--hide-locals): New functions.
2437
a8a15d9d
MA
24382013-12-02 Michael Albinus <michael.albinus@gmx.de>
2439
2440 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2441 "LC_ALL".
2442 (tramp-get-remote-locale): New defun.
2443 (tramp-open-connection-setup-interactive-shell): Use it.
2444
0518b057
LL
24452013-12-02 Leo Liu <sdl.web@gmail.com>
2446
2447 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2448
2449 * progmodes/sh-script.el (sh-shell-process):
2450 * progmodes/octave.el (inferior-octave-process-live-p):
2451 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2452 (gdb-inferior-io-sentinel):
2453 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2454
3adc9c6d
DG
24552013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2456
2457 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2458 `save-selected-window' to `log-edit-hide-buf'. This makes
2459 `log-edit-show-files' idempotent.
2460 (log-edit-show-files): Mark the new window as dedicated.
2461
47e8b74e
DG
24622013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2463
2464 * vc/log-edit.el (log-edit-mode-map): Add binding for
2465 `log-edit-kill-biffer'.
2466 (log-edit-hide-buf): Add a FIXME comment.
2467 (log-edit-add-new-comment): New function, extracted from
2468 `log-edit-done'.
2469 (log-edit-done, log-edit-add-to-changelog): Use it.
2470 (log-edit-kill-buffer): New command.
2471
1f6e1bb0
LMI
24722013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2473
2474 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2475 instead of killing the buffer.
2476
fb651d15
SM
24772013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2478
2479 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2480
8feacce0
RS
24812013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2482
fb651d15 2483 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 2484 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
2485 (eww-form-checkbox, eww-toggle-checkbox):
2486 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2487
e0eb0550 2488 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 2489 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 2490 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
2491 no :src tag was specified.
2492
fb651d15 2493 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
2494 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2495 Use \\` to match beginning of string instead of ^.
2496 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 2497 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 2498
177948a5
RS
2499 * net/shr.el (shr-tag-video): Display content for video if no
2500 poster is available.
eb2dd24d 2501 (shr-tag-audio): Add support for <audio> tag.
177948a5 2502
e0eb0550 2503 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
2504 (eww-process-text-input): Treat input types in
2505 `eww-text-input-types' as text.
2506
8feacce0
RS
2507 * net/shr.el (shr-tag-table): Fix comment typo.
2508
513562a1
LMI
25092013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2510
2511 * net/eww.el (eww-follow-link): New command to avoid reloading
2512 pages when we follow #target links (bug#15243).
de8a5633 2513 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 2514
9dd99753
KN
25152013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2516
2517 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2518 forms.
2519
3e9876de
LMI
25202013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2521
2522 * net/eww.el (eww-restore-history): Update the window title after
2523 moving in the history.
ab6dea82 2524 (eww-current-dom): New variable used to save the current DOM.
3e9876de 2525
52789f7f
DG
25262013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2527
2528 * vc/log-edit.el (log-edit-mode-map): Add binding for
2529 `log-edit-beginning-of-line'.
2530 (log-edit-setup-add-author): New user option.
2531 (log-edit-beginning-of-line): New command.
2532 (log-edit): Move major mode call above the contents setup so that
2533 the local variable values are already applied.
2534 (log-edit): Only insert "Author: " when
2535 `log-edit-setup-add-author' is non-nil.
2536 (log-edit): When SETUP is non-nil, position point after ": "
2537 instead of point-min.
2538
2e6710c3
GM
25392013-12-01 Glenn Morris <rgm@gnu.org>
2540
2541 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2542
fadec31f
EZ
25432013-11-30 Eli Zaretskii <eliz@gnu.org>
2544
2545 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 2546 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
2547 visible. (Bug#16014)
2548
10634b40 25492013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
2550
2551 Support resizing frames and windows pixelwise.
2552 * cus-start.el (frame-resize-pixelwise)
2553 (window-resize-pixelwise): New entries.
2554 * emacs-lisp/debug.el (debug): Use window-total-height instead
2555 of window-total-size.
2556 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2557 * help.el (describe-bindings-internal): Call help-buffer
2558 (temp-buffer-max-width): New option.
2559 (resize-temp-buffer-window, help-window-setup)
2560 (with-help-window): Rewrite.
2561 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2562 dragging dividers.
2563 * window.el (frame-char-size, window-min-pixel-height)
2564 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2565 (window-min-pixel-width, window-safe-min-pixel-size)
2566 (window-combination-p, window-safe-min-size)
2567 (window-resizable-p, window--size-to-pixel)
2568 (window--pixel-to-size, window--resize-apply-p): New functions.
2569 (window-safe-min-height): Fix doc-string.
2570 (window-size, window-min-size, window--min-size-1)
2571 (window-sizable, window-sizable-p, window--min-delta-1)
2572 (window-min-delta, window--max-delta-1, window-max-delta)
2573 (window--resizable, window--resizable-p, window-resizable)
2574 (window-full-height-p, window-full-width-p, window-at-side-p)
2575 (window--in-direction-2, window-in-direction)
2576 (window--resize-reset-1, window--resize-mini-window)
2577 (window-resize, window-resize-no-error)
2578 (window--resize-child-windows-normal)
2579 (window--resize-child-windows, window--resize-siblings)
2580 (window--resize-this-window, window--resize-root-window)
2581 (window--resize-root-window-vertically)
2582 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2583 (maximize-window, minimize-window, delete-window)
2584 (quit-restore-window, window-split-min-size, split-window)
2585 (balance-windows-2, balance-windows)
2586 (balance-windows-area-adjust, balance-windows-area)
2587 (window--state-get-1, window-state-get, window--state-put-1)
2588 (window--state-put-2, window-state-put)
fb651d15
SM
2589 (display-buffer-record-window, window--display-buffer):
2590 Make functions handle pixelwise sizing of windows.
880e6158 2591 (display-buffer--action-function-custom-type)
fb651d15
SM
2592 (display-buffer-fallback-action):
2593 Add display-buffer-in-previous-window.
880e6158
MR
2594 (display-buffer-use-some-window): Resize window to height it had
2595 before.
2596 (fit-window-to-buffer-horizontally): New option.
2597 (fit-frame-to-buffer): Describe new values.
2598 (fit-frame-to-buffer-bottom-margin): Replace with
2599 fit-frame-to-buffer-margins.
2600 (window--sanitize-margin): New function.
2601 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2602 using window-text-pixel-size.
2603
f9b697dd
GM
26042013-11-30 Glenn Morris <rgm@gnu.org>
2605
3e2fb4db
GM
2606 * emacs-lisp/bytecomp.el (byte-compile-form):
2607 Make the `interactive-only' warning like the `obsolete' one.
2608 * comint.el (comint-run):
2609 * files.el (insert-file-literally, insert-file):
2610 * replace.el (replace-string, replace-regexp):
2611 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2612 (goto-line, insert-buffer, next-line, previous-line):
2613 Tweak `interactive-only' spec.
2614
f9b697dd
GM
2615 Stop keeping (most) generated cedet grammar files in the repository.
2616 * Makefile.in (semantic): New.
2617 (compile-main): Depend on semantic.
2618
da048127
SM
26192013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2620
7784b779
SM
2621 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2622 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2623
4e36a6a6
SM
2624 * uniquify.el (uniquify-buffer-name-style): Change default.
2625
2626 * loadup.el: Preload "uniquify".
2627
e0ba1308
SM
2628 * time.el (display-time-update): Update all mode lines (bug#15999).
2629
da048127
SM
2630 * electric.el (electric-indent-mode): Enable by default.
2631 * loadup.el: Preload "electric".
2632
015b3b3e
BB
26332013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2634
2635 * emacs-lisp/helpers.el (string-empty-p): New function.
2636 (string-blank-p): New function.
2637
7efb806d
AP
26382013-11-29 Andreas Politz <politza@hochschule-trier.de>
2639
2640 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2641 (Bug#14029).
2642
c8f0efc2
AP
26432013-11-29 Andreas Politz <politza@fh-trier.de>
2644 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2645 allow non-lambda lists as functions.
2646 (imenu--in-alist): Don't recurse into non-subalists.
2647 (imenu): Don't pass function itself as an argument (Bug#14029).
2648
bd15d9d1
SM
26492013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2650
2651 * progmodes/python.el (python-mode-map): Remove binding for ":".
2652 (python-indent-electric-colon): Remove command.
2653 (python-indent-post-self-insert-function): Integrate the previous code
2654 of python-indent-electric-colon. Make it conditional on
2655 electric-indent-mode.
2656 (python-mode): Add ?: to electric-indent-chars.
2657 Move python-indent-post-self-insert-function to the end of
2658 post-self-insert-hook.
2659
1b10adb6
SM
26602013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2661
655ab9a3
SM
2662 * doc-view.el (doc-view-goto-page): Update mode-line.
2663
1b10adb6
SM
2664 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2665
7e3bf78c
GM
26662013-11-27 Glenn Morris <rgm@gnu.org>
2667
2668 * international/charprop.el, international/uni-bidi.el:
2669 * international/uni-category.el, international/uni-combining.el:
2670 * international/uni-comment.el, international/uni-decimal.el:
2671 * international/uni-decomposition.el, international/uni-digit.el:
2672 * international/uni-lowercase.el, international/uni-mirrored.el:
2673 * international/uni-name.el, international/uni-numeric.el:
2674 * international/uni-old-name.el, international/uni-titlecase.el:
2675 * international/uni-uppercase.el:
2676 Remove generated files from VCS repository.
2677
fb6a5d68
EZ
26782013-11-27 Eli Zaretskii <eliz@gnu.org>
2679
2680 * filenotify.el (file-notify-add-watch): Don't special-case
2681 w32notify when computing the directory to watch.
2682
cb6c95a3
GM
26832013-11-27 Glenn Morris <rgm@gnu.org>
2684
20372d0c
GM
2685 Make bootstrap without generated uni-*.el files possible again.
2686 * loadup.el: Update command-line-args checking for unidata-gen.
2687 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2688 * composite.el, international/characters.el:
2689 Handle unicode tables being undefined.
2690
52d6635f 2691 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
2692 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2693 (compile-main): Depend on leim rule.
2694 (leim): New rule.
2695 * loadup.el: Move leim-list.el to leim/ subdirectory.
2696 * startup.el (normal-top-level): No more leim directory.
2697 * international/ja-dic-cnv.el (skkdic-convert):
2698 Disable version-control and autoloads in output files.
2699 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2700 Disable version-control and autoloads in output files.
2701 * leim/quail: Move here from ../leim.
2702 * leim/quail/hangul.el (hangul-input-method-activate):
2703 Add autoload cookie.
2704 (generated-autoload-load-name): Set file-local value.
2705 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2706 (generated-autoload-load-name): Set file-local value.
2707
7514d3f8 27082013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 2709
e0eb0550 2710 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 2711 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 2712 (eww-quit): Ask confirmation before quitting eww.
e47112ee 2713
0e2c793f
EZ
27142013-11-26 Eli Zaretskii <eliz@gnu.org>
2715
2716 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2717 reading output from Diff on MS-Windows and MS-DOS.
2718
447bdcb8
BB
27192013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2720
2721 * emacs-lisp/helpers.el (string-reverse): New function.
2722
5fbf6856
MA
27232013-11-26 Michael Albinus <michael.albinus@gmx.de>
2724
2725 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2726 names on MS Windows, like "/[::1]:".
2727
2728 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2729 SWITCHES.
2730
624780f0
GM
27312013-11-26 Glenn Morris <rgm@gnu.org>
2732
0bf3f0fa
GM
2733 * progmodes/python.el (python-indent-guess-indent-offset):
2734 Avoid corner-case error. (Bug#15975)
2735
624780f0
GM
2736 Preload leim-list.el. (Bug#4789)
2737 * loadup.el: Load leim-list.el when found.
2738 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2739
4301875e 27402013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
2741
2742 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2743
4301875e
BB
2744 * emacs-lisp/helpers.el (string-join): New function.
2745
1633a815 27462013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
2747
2748 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2749 Mark as obsolete and replace it with a symbol property.
2750 (byte-compile-form): Use new 'interactive-only property.
2751 * comint.el, files.el, replace.el, simple.el:
2752 Apply new 'interactive-only properly.
2753
00139435
MR
27542013-11-25 Martin Rudalics <rudalics@gmx.at>
2755
2756 * window.el (display-buffer-at-bottom): Make sure that
2757 split-window-sensibly creates the new window on bottom
2758 (Bug#15961).
2759
5f5b128d
DK
27602013-11-23 David Kastrup <dak@gnu.org>
2761
2762 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2763 on the conflict markers when available.
2764 (smerge--get-marker): New function.
2765 (smerge-end-re, smerge-base-re): Add subgroup.
2766
623891e5
SM
27672013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2768
2769 * frame.el (handle-focus-in, handle-focus-out): Add missing
2770 interactive spec.
2771
05ca27d8
MA
27722013-11-25 Michael Albinus <michael.albinus@gmx.de>
2773
2774 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2775 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2776
511fa0d3
SM
27772013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2778
e82ad66c
SM
2779 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2780 (gomoku--last-pos): New var.
2781 (gomoku--intangible-chars): New const.
2782 (gomoku--intangible): New function.
2783 (gomoku-mode): Use it. Derive from special-mode.
2784 (gomoku-move-up): Adjust line count.
2785 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2786 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2787 Simplify accordingly.
2788
511fa0d3
SM
2789 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2790 Remove blink-cursor code.
2791 (blink-cursor-timer-function, blink-cursor-suspend):
2792 Don't special-case GUIs.
2793 (blink-cursor-mode): Use focus-in/out-hook.
2794
6f20dd03
DG
27952013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2796
2797 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2798 work when annotation is invisible (Bug#13886).
2799
431dec31 28002013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
2801
2802 * json.el (json-alist-p): Only return non-nil if the alist has
2803 simple keys (Bug#13518).
2804
431dec31 28052013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
2806
2807 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2808 when control-statement is the first statement in a buffer (Bug#15956).
2809
ee4f0261
DG
28102013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2811
2812 * imenu.el (imenu-generic-skip-comments-and-strings):
2813 New option (Bug#15560).
2814 (imenu--generic-function): Use it.
2815
c484f866
JS
28162013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2817
e9dc713d
JB
2818 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2819 (Bug#13898)
c484f866 2820
41ce6f70
BB
28212013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2822
b55aea38
BB
2823 * emacs-lisp/helpers.el: Add some string helpers.
2824 (string-trim-left): Removes leading whitespace.
2825 (string-trim-right): Removes trailing whitespace.
2826 (string-trim): Removes leading and trailing whitespace.
2827
41ce6f70
BB
2828 * subr.el (string-suffix-p): New function.
2829
3cfb6af3
GM
28302013-11-23 Glenn Morris <rgm@gnu.org>
2831
2832 * progmodes/python.el (python-shell-send-file):
2833 Add option to delete file when done. (Bug#15647)
2834 (python-shell-send-string, python-shell-send-region): Use it.
2835
c27924b7
IS
28362013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2837
e1b01c7f
IS
2838 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2839 to set buffer-read-only to t, never to nil. (Bug#15938)
2840
c27924b7
IS
2841 * textmodes/tex-mode.el (latex-noindent-environments):
2842 Add safe-local-variable property. (Bug#15936)
2843
17e0445b
GM
28442013-11-23 Glenn Morris <rgm@gnu.org>
2845
92f78ea3
GM
2846 * textmodes/enriched.el (enriched-mode): Doc fix.
2847 * emacs-lisp/authors.el (authors-renamed-files-alist):
2848 Add enriched.doc -> enriched.txt.
2849
17e0445b
GM
2850 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2851
965bb23a
LL
28522013-11-22 Leo Liu <sdl.web@gmail.com>
2853
2854 * progmodes/octave.el (inferior-octave-startup): Spit out error
2855 message.
2856
d19ffd64
BB
28572013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2858
2859 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2860 Improve docstring.
15ba2182
BB
2861 Add :version.
2862 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 2863
7a7567d2
LL
28642013-11-22 Leo Liu <sdl.web@gmail.com>
2865
2866 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2867 (Bug#15076)
8c09f64b
LL
2868 (octave-help-mode): Adapt to change to help-mode-finish to use
2869 derived-mode-p on 2013-09-17.
2870 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 2871 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 2872
724bc265
LL
28732013-11-22 Leo Liu <sdl.web@gmail.com>
2874
2875 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2876 (inferior-octave-startup, inferior-octave-check-process)
2877 (inferior-octave-track-window-width-change)
2878 (octave-completion-at-point, octave-eldoc-function): Use it.
2879 (octave-kill-process): Provide confirmation. (Bug#10564)
2880
38637cca
LL
28812013-11-21 Leo Liu <sdl.web@gmail.com>
2882
511fa0d3
SM
2883 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2884 Fix obsolete variable comment-use-global-state.
38637cca 2885
06e752b4
RS
28862013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2887
511fa0d3
SM
2888 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2889 Add `octave-source-file'.
06e752b4
RS
2890 (octave-source-file): New function. (Bug#15935)
2891
7514d3f8 28922013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
2893
2894 * net/eww.el (eww-local-regex): New variable.
2895 (eww): Use it to detect localhost and similar.
2896
b6ffa04a
LL
28972013-11-21 Leo Liu <sdl.web@gmail.com>
2898
2899 Add completion for command `ag'.
2021a200
LL
2900 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2901 (pcomplete/ag): New function.
e9dc713d 2902 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 2903
d1a6bccc
SM
29042013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2905
2906 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2907 (bug#14646).
2908 (make-obsolete): Remove interactive spec.
2909
2df10228
GM
29102013-11-21 Glenn Morris <rgm@gnu.org>
2911
2912 * startup.el (command-line-1): Use path-separator with -L.
2913
86fd16b6
TZ
29142013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2915
2916 * emacs-lisp/package.el (describe-package-1): Add package archive
2917 to shown fields.
2918
0449d6cd 29192013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
2920
2921 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2922 Change default to "# encoding: %s" to differentiate it from the
2923 default Ruby encoding comment template.
2924
dc7e8c17 29252013-11-20 era eriksson <era+emacsbugs@iki.fi>
2926
2927 * ses.el (ses-mode): Doc fix. (Bug#14748)
2928
f0cfa5fe
LL
29292013-11-20 Leo Liu <sdl.web@gmail.com>
2930
2931 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2932
826dc7b6
DN
29332013-11-19 Dan Nicolaescu <dann@gnu.org>
2934
2935 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2936 when rebase or bisect are in progress.
2937
a6e3a5d5
XF
29382013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2939
2940 * filenotify.el (file-notify-add-watch): Doc fix.
2941
f130cb76
LL
29422013-11-19 Leo Liu <sdl.web@gmail.com>
2943
e0855d7d
LL
2944 * obsolete/rcompile.el: Mark obsolete.
2945
f130cb76 2946 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
2947 (compilation-goto-locus, compilation-find-file):
2948 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
2949 (Bug#13594)
2950
2951 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
2952 new parameter no-display-ok. Return either a window or nil
2953 but never a non-window value.
f130cb76 2954
1f35d401
SM
29552013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2956
25158c76
SM
2957 * electric.el (electric-indent-mode-map): Remove.
2958 (electric-indent-mode): Change the global-map instead (bug#15915).
2959
2960 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2961 Use add-function.
1f35d401 2962
9bc67baa
SM
29632013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2964
986545b5
SM
2965 * emacs-lisp/nadvice.el (remove-function): Align with
2966 add-function's behavior.
2967
9bc67baa
SM
2968 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2969 (gdb--string-regexp): New constant.
2970 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2971 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2972 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2973 submatch 1.
2974 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2975 Adjust use accordingly.
2976 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2977
56cd894e
AS
29782013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2979
2980 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2981 interpolation curlies (Bug#15914).
2982
014690de
JB
29832013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2984
2985 * calc/calc.el (calc-context-sensitive-enter): New variable.
2986 (calc-enter): Use `calc-context-sensitive-enter'.
2987
7e26a6c3
TZ
29882013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2989
2990 * progmodes/cfengine.el: Version bump.
2991 (cfengine-cf-promises): New defcustom to locate cf-promises.
2992 (cfengine3-vartypes): Add new "data" type.
2993 (cfengine3--current-word): New function to get current name-like
2994 word or its bounds.
2995 (cfengine3--current-function): New function to look up a CFEngine
2996 function's definition.
2997 (cfengine3-format-function-docstring): New function.
2998 (cfengine3-make-syntax-cache): New function.
2999 (cfengine3-documentation-function): New function: ElDoc glue.
3000 (cfengine3-completion-function): New function: completion glue.
3001 (cfengine3-mode): Set `compile-command',
3002 `eldoc-documentation-function', and add to
3003 `completion-at-point-functions'.
3004
355204dd
MA
30052013-11-16 Michael Albinus <michael.albinus@gmx.de>
3006
3007 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3008 `tramp-current-connection'.
3009
43cebc23
DG
30102013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3011
3012 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3013 nil/self/true/false with "end of symbol".
3014
a3fed6ff
BB
30152013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3016
3017 * subr.el (version-regexp-alist): Fix a typo.
3018
e675b3e4
MA
30192013-11-15 Michael Albinus <michael.albinus@gmx.de>
3020
3021 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3022 "en_US.utf8" and "LC_CTYPE" to "".
3023 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3024 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3025
a1f03e89
LL
30262013-11-15 Leo Liu <sdl.web@gmail.com>
3027
3028 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3029
5d9d9451
SM
30302013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3031
58362662
CS
3032 * progmodes/gud.el (ctl-x-map):
3033 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
3034 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3035
6c1bf086
BB
30362013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3037
0d5363c4
BB
3038 * subr.el (version-regexp-alist):
3039 Recognize hg, svn and darcs versions as snapshot versions.
3040
4e9fc48c
BB
3041 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3042 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3043 (ruby--encoding-comment-required-p): Extract from
3044 `ruby-mode-set-encoding'.
3045 (ruby-mode-set-encoding): Add the ability to always insert an
3046 utf-8 encoding comment. Fix and simplify coding comment update
3047 logic.
6c1bf086 3048
2f7e72f8
MA
30492013-11-14 Michael Albinus <michael.albinus@gmx.de>
3050
3051 * net/tramp-gvfs.el (top): Run init code only when
3052 `tramp-gvfs-enabled' is not nil.
3053 (tramp-gvfs-enabled): Check also :system bus.
3054
0f137a73
SM
30552013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3056
3057 Sync with upstream verilog-mode revision 78e66ba.
3058 * progmodes/verilog-mode.el (verilog-end-of-defun)
3059 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3060 (verilog-get-end-of-defun): Remove unused argument.
3061 (verilog-comment-depth): Remove unused local `e'.
3062 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3063 Don't pass arg to verilog-get-end-of-defun.
3064
1c276bdd
GM
30652013-11-14 Glenn Morris <rgm@gnu.org>
3066
3067 * obsolete/assoc.el (aget): Prefix dynamic variable.
3068
3069 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3070
ff6ec81d
SM
30712013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3072
3073 * widget.el, hfy-cmap.el: Remove bogus package version number.
3074
75f777b6
GM
30752013-11-13 Glenn Morris <rgm@gnu.org>
3076
1d43dba1
GM
3077 * replace.el (replace-eval-replacement):
3078 Try to give more helpful error message. (Bug#15836)
3079
ff4b7bd5
GM
3080 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3081 (archive-7z-update): Avoid custom type mismatches.
3082
75f777b6
GM
3083 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3084
11151a06
MA
30852013-11-13 Michael Albinus <michael.albinus@gmx.de>
3086
e675b3e4 3087 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
3088 address can be empty.
3089
3090 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3091 Accept nil SWITCHES.
3092 (tramp-gvfs-handle-write-region): Implement APPEND.
3093
7b08f97e
DG
30942013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3095
3096 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
3097 binary "|" operator and closing block args delimiter.
3098 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
3099 (ruby-smie--implicit-semi-p): Not after "|" operator.
3100 (ruby-smie--closing-pipe-p): New function.
3101 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3102 (ruby-smie-rules): Indent after "|".
3103
f201cf3a
GM
31042013-11-12 Glenn Morris <rgm@gnu.org>
3105
3106 * ps-print.el (ps-face-attribute-list):
3107 Handle anonymous faces. (Bug#15827)
3108
e6f759f9
MR
31092013-11-12 Martin Rudalics <rudalics@gmx.at>
3110
3111 * window.el (display-buffer-other-frame): Fix doc-string.
3112 (Bug#15868)
3113
ecda65d4
SM
31142013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3115
3116 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3117
7ce8fcc3
MA
31182013-11-11 Michael Albinus <michael.albinus@gmx.de>
3119
3120 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3121 (tramp-sh-handle-file-local-copy): Don't write a message when
3122 saving temporary files.
3123
3124 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3125 both directories are remote.
3126 (tramp-smb-handle-directory-files): Do not return double entries.
3127 Do not expand full file names.
3128 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3129 (tramp-smb-handle-write-region): Implement APPEND.
3130 (tramp-smb-get-stat-capability): Fix a stupid bug.
3131
7818df11
SM
31322013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3133
3134 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3135
608c2085
NT
31362013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3137
3138 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3139 throwing error over malformed let/let* (bug#15814).
3140
122a7e46
SM
31412013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3142
3143 * iswitchb.el (iswitchb-mode): Mark obsolete.
3144
766284d9
GM
31452013-11-11 Glenn Morris <rgm@gnu.org>
3146
3147 * international/uni-bidi.el, international/uni-category.el:
3148 * international/uni-name.el, international/uni-numeric.el:
3149 Regenerate for Unicode 6.3.0.
3150
7072a4e9
MA
31512013-11-10 Michael Albinus <michael.albinus@gmx.de>
3152
3153 * net/tramp.el (tramp-methods):
3154 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3155 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3156
c9df215b
AS
31572013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3158
608c2085
NT
3159 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3160 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 3161
fa47d796
DG
31622013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3163
3164 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 3165 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
3166 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3167 (ispell-complete-word): Call `ispell-lookup-words' with the value
3168 independent of `ispell-look-p'.
3169
1629a329
DG
31702013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3171
3172 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3173 Not after "||".
3174 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3175 their parent.
3176
ad16897c
SM
31772013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3178
3179 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3180 (ruby-font-lock-keywords): Use backquote.
3181
ffa2df72
DG
31822013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3183
3184 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3185 (ruby-smie--backward-token): Only consider full-string matches.
3186
5b97b4c0
JD
31872013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3188
3189 * faces.el (describe-face): Add distant-foreground.
3190
71731c03
BB
31912013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3192
4e9fc48c
BB
3193 * progmodes/ruby-mode.el: Improve encoding comment handling.
3194 (ruby-encoding-magic-comment-style): New option.
3195 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
3196 (ruby--insert-coding-comment, ruby--detect-encoding):
3197 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
3198 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3199 to control the style of the auto-inserted encoding comment.
71731c03 3200
da3b328d
DG
32012013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3202
ad16897c
SM
3203 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3204 Use `smie-backward-sexp' with token argument.
da3b328d 3205
1606c2d3
MA
32062013-11-08 Michael Albinus <michael.albinus@gmx.de>
3207
3208 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3209 Remove instrumentation code.
3210
b0f4c320
GM
32112013-11-08 Glenn Morris <rgm@gnu.org>
3212
3213 * progmodes/autoconf.el (autoconf-mode):
3214 Tweak comment-start-skip. (Bug#15822)
3215
43668fb1
SM
32162013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3217
3218 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3219 at bobp (bug#15826).
3220 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3221
daddb3fd
DH
32222013-11-08 Darren Hoo <darren.hoo@gmail.com>
3223
3224 * man.el (Man-start-calling): New macro, extracted from
3225 Man-getpage-in-background.
3226 (Man-getpage-in-background): Use it.
3227 (Man-update-manpage): New command.
3228 (Man-mode-map): Bind it.
3229
1f923923
DG
32302013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3231
3232 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3233 of "and", "or", "&&" and "||".
3234 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3235 argument. Prohibit opening curly brace because it could only be a
3236 block opener in that position.
daddb3fd
DH
3237 (ruby-smie--forward-token, ruby-smie--backward-token):
3238 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
3239 arguments.
3240 (ruby-smie--indent-to-stmt): New function, seeks the end of
3241 previous statement or beginning of buffer.
3242 (ruby-smie-rules): Use it.
3243 (ruby-smie-rules): Check if there's a ":" before a curly block
3244 opener candidate; if there is, it's a hash.
3245
3220d527
SM
32462013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3247
3248 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3249 (cl--block-wrapper): Fix last accidental change.
3250
1eb1f9e0
MA
32512013-11-07 Michael Albinus <michael.albinus@gmx.de>
3252
3253 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3254 Instrument, in order to hunt failure on hydra.
3255
e6e4db3c
NT
32562013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3257
3258 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3259 malformed bindings form (bug#15814).
3260
b420ccfc
DG
32612013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3262
3263 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
3264 "." compared to " @ ". This incidentally fixes some indentation
3265 examples with "do".
e6e4db3c 3266 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
3267 (ruby-smie-grammar): New tokens: "and" and "or".
3268 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3269 Exclude "and" and "or". Remove "do" in order to work around token
3270 priorities.
3271 (ruby-smie-rules): Add all infix tokens. Handle the case of
3272 beginning-of-buffer.
b420ccfc 3273
6b4ac03e
GM
32742013-11-06 Glenn Morris <rgm@gnu.org>
3275
3276 * Makefile.in (setwins_almost, setwins_for_subdirs):
3277 Avoid accidental matches.
3278
5ca114d1
SM
32792013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3280
3281 * menu-bar.el (popup-menu): Use key-binding.
3282
f72552bd
EZ
32832013-11-06 Eli Zaretskii <eliz@gnu.org>
3284
3285 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3286 menus, support also the menus produced by minor modes.
3287 (Bug#15817)
3288
5d5c701e
LL
32892013-11-06 Leo Liu <sdl.web@gmail.com>
3290
3291 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 3292 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 3293
0a8b75e2
GM
32942013-11-06 Glenn Morris <rgm@gnu.org>
3295
3296 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
3297 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3298 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 3299
a35287ea
SM
33002013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3301
feca4e2d
SM
3302 * electric.el (electric-indent-just-newline): New command.
3303 (electric-indent-mode-map): New keymap.
3304 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3305 Re-add :group which weren't redundant.
3306
a35287ea
SM
3307 * electric.el (electric-indent-local-mode): New minor mode.
3308 (electric-indent-functions-without-reindent): New var.
3309 (electric-indent-post-self-insert-function): Use it.
3310 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3311
375761b2
EZ
33122013-11-05 Eli Zaretskii <eliz@gnu.org>
3313
9a6ad735
EZ
3314 * international/quail.el (quail-help): Be more explicit about the
3315 meaning of the labels shown on the keys. (Bug#15800)
3316
375761b2
EZ
3317 * startup.el (normal-top-level): Load the subdirs.el files before
3318 setting the locale environment. (Bug#15805)
3319
520a6e4a
SM
33202013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3321
0acfafef
SM
3322 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3323 via arguments so as to get the right ones (bug#15418).
3324
520a6e4a
SM
3325 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3326
15826261
MA
33272013-11-05 Michael Albinus <michael.albinus@gmx.de>
3328
3329 Fix problems found while writing a test suite.
3330
3331 * net/tramp-compat.el (tramp-compat-load): New defun.
3332 * net/tramp.el (tramp-handle-load): Use it.
3333
3334 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3335 "(numberp ok-if-already-exists)" correctly.
3336
d35f31a4
XF
33372013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3338
3339 * international/characters.el (glyphless-char-display-control):
3340 Add usage note.
3341
ae93bc74
BB
33422013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3343
520a6e4a
SM
3344 * progmodes/python.el (python-mode):
3345 * progmodes/scheme.el (scheme-mode):
3346 * progmodes/prolog.el (prolog-mode):
3347 * progmodes/ruby-mode.el (ruby-mode):
3348 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3349 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 3350
0ade65b5
SM
33512013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3352
a0d5f7a4
SM
3353 * rect.el (rectangle--highlight-for-redisplay):
3354 * emacs-lisp/smie.el (smie--next-indent-change):
3355 Use buffer-chars-modified-tick.
3356
c93f3f5c
SM
3357 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3358
0ade65b5
SM
3359 * electric.el (electric-indent-post-self-insert-function):
3360 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3361
ef9dd188
HE
33622013-11-04 Helmut Eller <eller.helmut@gmail.com>
3363
3364 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3365
306e7308
NT
33662013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3367
3368 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3369 (bug#15786).
3370
e5afbcac
SM
33712013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3372
1d01ad41
SM
3373 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3374
e5afbcac
SM
3375 * progmodes/python.el: Fix up last change.
3376 (python-shell--save-temp-file): New function.
3377 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3378 `string' comes from the current buffer.
3379 (python-shell-send-string-no-output): Remove `msg' arg.
3380 (python--use-fake-loc): New var.
3381 (python-shell-buffer-substring): Obey it. Try to compensate for the
3382 extra coding line added by python-shell--save-temp-file.
3383 (python-shell-send-region): Use python-shell--save-temp-file and
3384 python-shell-send-file directly. Add `nomain' argument.
3385 (python-shell-send-buffer): Use python-shell-send-region.
3386 (python-electric-pair-string-delimiter): New function.
3387 (python-mode): Use it.
3388
d0065ff1
EZ
33892013-11-04 Eli Zaretskii <eliz@gnu.org>
3390
3391 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3392 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3393 environment and decoding all of the default-directory's to here
3394 from command-line.
3395 (command-line): Decode also argv[0].
3396
3397 * loadup.el: Error out if default-directory is a multibyte string
3398 when we are dumping.
3399
3400 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3401
7397c587
TZ
34022013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3403
3404 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
3405 (package-menu--print-info, package-menu--archive-predicate):
3406 Add Archive column to package list.
7397c587 3407
b27cc9fc
MA
34082013-11-04 Michael Albinus <michael.albinus@gmx.de>
3409
3410 Fix problems found while writing a test suite.
3411
3412 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3413 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3414 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3415 to nil when running original file name handler. Otherwise,
3416 there are problems with constructs like "$$FOO".
3417
3418 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3419 for `localname'.
3420
d8c4f18a
BB
34212013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3422
7b530552
BB
3423 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3424
3425 * subr.el (version<, version<=, version=):
3426 Update docstrings with information for snapshot versions.
3427
d8c4f18a
BB
3428 * helpers.el: New library for misc helper functions.
3429 (hash-table-keys): New function returning a list of hash keys.
3430 (hash-table-values): New function returning a list of hash values.
3431
dca01b09
DG
34322013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3433
3434 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3435 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3436
0a749fa0
MN
34372013-11-04 Michal Nazarewicz <mina86@mina86.com>
3438
3439 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3440 checking whether point is after a 1-letter word.
3441
34422013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
3443
3444 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3445 Don't infloop when expanding region over `multiline' syntax-type that
3446 begins a line (bug#15778).
3447
4aca7145
SM
34482013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3449
3450 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3451 Make it into a proper minor mode.
3452 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3453 (rectangle-mark-mode-map): New keymap.
3454 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3455
a0833f62
GM
34562013-11-04 Glenn Morris <rgm@gnu.org>
3457
3458 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3459
e61845c1
SM
34602013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3461
3462 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3463 (ruby-smie-rules): Use smie-rule-parent instead.
3464
3465 * emacs-lisp/smie.el (smie-rule-parent): Always call
3466 smie-indent-virtual rather than only for hanging tokens.
3467 (smie--next-indent-change): New helper command.
3468
62942f89
GM
34692013-11-03 Glenn Morris <rgm@gnu.org>
3470
3471 * Makefile.in (abs_srcdir): Remove.
3472 (emacs): Unset EMACSLOADPATH.
3473
b0b9e592
GM
34742013-11-02 Glenn Morris <rgm@gnu.org>
3475
18ba6a33 3476 * Makefile.in (EMACS): Use a relative filename.
8061810d 3477 (abs_top_builddir): Remove.
18ba6a33
GM
3478 (custom-deps, finder-data, autoloads): Use --chdir.
3479
6a8b929e
GM
3480 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3481
c617f3d0
GM
3482 Use relative filenames in TAGS files.
3483 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3484 (lisptagsfiles4, TAGS): Use relative file names.
3485 (TAGS-LISP): Remove.
3486 (maintainer-clean): No more TAGS-LISP file.
3487
b0b9e592
GM
3488 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3489 (lisptagsfiles4): Use absolute filenames again.
3490 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3491 Remove all *loaddefs files, not just the first. Remove esh-groups.
3492 (maintainer-clean): Delete TAGS, TAGS-LISP.
3493
d1c0ea6a
BB
34942013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3495
e61845c1
SM
3496 * emacs-lisp/package.el (package-version-join):
3497 Recognize snapshot versions.
d1c0ea6a 3498
684d71c6
BB
34992013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3500
3501 * subr.el (version-regexp-alist): Add support for snapshot versions.
3502
3d42b968
DG
35032013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3504
e61845c1
SM
3505 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3506 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
3507 skip over our direct parent if it's an assignment token..
3508 (ruby-smie-rules): Use it.
3509
7ffd3721
DG
35102013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3511
8449dd1f 3512 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
3513 unconditionally. Remove now unnecessary forward declarations.
3514 Remove XEmacs-specific setup.
3515 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3516 (ruby-font-lock-syntactic-keywords)
3517 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3518 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3519 (ruby-here-doc-end-syntax): Remove.
3520 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3521 defined as function.
3522
a3996a2e
BB
35232013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3524
3525 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3526
6f9260e8
BB
35272013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3528
3529 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3530 table and abbrev table, `define-derived-mode' does that for us
3531 anyway.
3532
6014de84
GM
35332013-11-01 Glenn Morris <rgm@gnu.org>
3534
3535 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3536 files is atomic for some time, so no parallel compilation issues).
3537
3c334c14
JD
35382013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3539
3540 * faces.el (face-x-resources): Add :distant-foreground.
3541 (region): Use :distant-foreground for gtk and ns.
3542
9bc236c8
TH
35432013-11-01 Tassilo Horn <tsdh@gnu.org>
3544
5246583b 3545 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
3546 BibTeX.
3547 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3548 (reftex-locate-bibliography-files): Us it.
3549
d14c81ee
CB
35502013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3551
0e7690de
CB
3552 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3553 allow comments in pbm files.
3554
d14c81ee
CB
3555 * term/w32-win.el (dynamic-library-alist): Support newer versions
3556 of libjpeg starting with v7: look only for the DLL from the
3557 version against which Emacs was built.
ac1bf374 3558 Support versions of libpng beyond 1.4.x.
019c8218 3559 Support libtiff v4.x.
d14c81ee 3560
983d0df5
BB
35612013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3562
3563 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3564 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3565 Add property :safe.
3566 (ruby-deep-arglist): Add property :type.
3567
47f58d85
GM
35682013-10-31 Glenn Morris <rgm@gnu.org>
3569
3570 * Makefile.in (custom-deps, finder-data): No need to setq the target
3571 variables, we are in the right directory and the defaults work fine.
3572
4f85b479
GM
35732013-10-30 Glenn Morris <rgm@gnu.org>
3574
ca7dd4cd
GM
3575 * Makefile.in (autoloads): Do not use abs_lisp.
3576
4f85b479
GM
3577 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3578 `newline' does not respect `standard-output', so use `princ'.
3579
cf59e41c
AA
35802013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3581
3582 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3583 * buff-menu.el (Buffer-menu--unmark): New function.
3584 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3585
74cf04fb
GM
35862013-10-30 Glenn Morris <rgm@gnu.org>
3587
b040b60e
GM
3588 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3589
f53d3815
GM
3590 * emacs-lisp/package.el (lm-homepage): Declare.
3591
5413d873
GM
3592 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3593 Fix doc typos.
3594
cecedb36
GM
3595 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3596
74cf04fb
GM
3597 * Makefile.in (finder-data, autoloads, update-subdirs)
3598 (compile-main, compile-clean, compile-always, bootstrap-clean):
3599 Check return value of cd.
3600 (compile-calc): Remove.
3601
195ee2f0
SM
36022013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3603
ae4002ce
SM
3604 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3605
3606 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3607 (byte-compile-and-folded): New function.
3608 (=, <, >, <=, >=): Use it.
3609
3610 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3611 (path-separator, null-device, buffer-file-coding-system)
3612 (lpr-headers-switches): Check system-type before modifying them.
3613 (find-buffer-file-type-coding-system): Mark obsolete.
3614 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3615 find-file-not-found-set-buffer-file-coding-system.
3616 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3617 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3618 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3619 (w32-direct-print-region-helper, w32-direct-print-region-function)
3620 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3621 * startup.el (normal-top-level-add-subdirs-to-load-path):
3622 * ps-print.el (ps-print-region-function):
3623 * lpr.el (print-region-function): Use new name.
3624
53b39e89
SM
3625 * subr.el (custom-declare-variable-early): Remove function.
3626 (custom-declare-variable-list): Remove var.
3627 (error, user-error): Remove `while' loop.
3628 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3629 (user-emacs-directory-warning, locate-user-emacs-file):
3630 Move to files.el.
3631 * simple.el (read-quoted-char-radix, read-quoted-char):
3632 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3633 Move from subr.el.
3634 * custom.el (custom-declare-variable-list): Don't process
3635 custom-declare-variable-list.
3636
195ee2f0
SM
3637 * progmodes/python.el (python-shell-get-buffer): New function.
3638 (python-shell-get-process): Use it.
3639 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3640 Python which encoding was used. Don't split-string since we only care
3641 about the first line. Return the temp-file, if applicable.
3642 (python-shell-send-region): Tell compile.el how to turn locations in
3643 the temp-file into locations in the source buffer.
3644
7e3561ee
SM
36452013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3646
4c9797cb
SM
3647 * subr.el (undefined): Add missing behavior from the C code for
3648 unbound keys.
3649
3472b6c6
SM
3650 * rect.el: Use lexical-binding. Add new rectangular region support.
3651 (rectangle-mark): New command.
3652 (rectangle--region): New var.
3653 (deactivate-mark-hook): Reset rectangle--region.
3654 (rectangle--extract-region, rectangle--insert-for-yank)
3655 (rectangle--highlight-for-redisplay)
3656 (rectangle--unhighlight-for-redisplay): New functions.
3657 (region-extract-function, redisplay-unhighlight-region-function)
3658 (redisplay-highlight-region-function): Use them to handle
3659 rectangular region.
3660 * simple.el (region-extract-function): New var.
3661 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3662 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3663 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3664 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3665 (redisplay-unhighlight-region-function)
3666 (redisplay-highlight-region-function): New vars.
3667 (redisplay--update-region-highlight): New function.
3668 (pre-redisplay-function): Use it.
3669 (exchange-point-and-mark): Don't deactivate the mark before
3670 reactivate-it anyway.
3671 * comint.el (comint-kill-region): Remove yank-handler argument.
3672 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3673 (delete-char): Remove property, since it's now part of their
3674 default behavior.
3675 (self-insert-iso): Remove property since this command doesn't exist.
3676
7e3561ee
SM
3677 * emacs-lisp/package.el (package--download-one-archive)
3678 (describe-package-1): Don't query the user about final newline.
3679
b9bef71f
DC
36802013-10-29 Daniel Colascione <dancol@dancol.org>
3681
3682 * net/tramp.el (tramp-methods): Document new functionality.
3683 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3684 tramp-hostname-checker if method provides one instead of scanning
3685 argument list for "%h" to decide hostname acceptability.
3686
4efc33f0
MA
36872013-10-28 Michael Albinus <michael.albinus@gmx.de>
3688
3689 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3690 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3691 Handle COPY-CONTENTS. (Bug#15737)
3692
ed42a877
DU
36932013-10-28 Daiki Ueno <ueno@gnu.org>
3694
3695 * epa-file.el
7e3561ee
SM
3696 (epa-file-cache-passphrase-for-symmetric-encryption):
3697 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 3698
18c9f8a2
XF
36992013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3700
7a4bc7be
XF
3701 * image.el (defimage):
3702 (image-load-path): Doc fixes.
18c9f8a2 3703
b1e8e010
AM
37042013-10-27 Alan Mackenzie <acm@muc.de>
3705
3706 Indent statements in macros following "##" correctly.
7e3561ee
SM
3707 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3708 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 3709
73d40d1e 37102013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
3711
3712 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3713
c8c605ac
DG
37142013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3715
3716 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3717 after `=' is probably a new expression.
3718
ca7e59d4
RS
37192013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3720
3721 * man.el (man-imenu-title): New option.
3722 (Man-mode-map): Add menu. (Bug#15722)
3723 (Man-mode): Add imenu to menu.
3724
bae91342
DG
37252013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3726
3727 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3728 specific in what the first arg can be: a non-keyword word,
3729 string/regexp/percent literal opener, opening paren, or unary
3730 operator followed directly by word.
3731
eb89dc14
SM
37322013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3733
3734 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3735 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3736 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3737 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3738 Remove vars, they do not apply any more.
3739 (prolog-mode-abbrev-table): Remove redundant declaration.
3740 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3741 (prolog-use-smie): Remove.
3742 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3743 supported by prolog-electric-if-then-else-flag.
3744 (prolog-mode-variables, prolog-menu): Use setq-local.
3745 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3746 Remove binding to `Backspace' since this key doesn't exist anyway.
3747 Remove bindings for electric self-inserting keys.
3748 (prog-mode): Assume it's defined.
3749 (prolog-post-self-insert): New function.
3750 (prolog-mode): Use it.
3751 (prolog-indent-line, prolog-indent-level)
3752 (prolog-find-indent-of-matching-paren)
3753 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3754 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3755 (prolog-goto-next-paren, prolog-in-string-or-comment)
3756 (prolog-tokenize, prolog-inside-mline-comment)
3757 (prolog-find-start-of-mline-comment): Remove functions.
3758 (prolog-find-unmatched-paren, prolog-clause-end)
3759 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3760 (prolog-electric--if-then-else): Rename from
3761 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3762 (prolog-tokenize-searchkey): Remove const.
3763 (prolog-clause-info): Use forward-sexp.
3764 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3765 (prolog-electric-if-then-else): Remove commands.
3766 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3767 for use in post-self-insert-hook.
3768 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3769 for use in post-self-insert-hook.
3770 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3771 for use in post-self-insert-hook.
3772 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3773 adapt it for use in post-self-insert-hook.
3774
3dab0a83
MA
37752013-10-25 Michael Albinus <michael.albinus@gmx.de>
3776
3777 * emacs-lisp/ert.el (ert-run-tests-interactively):
3778 Use `completing-read'. (Bug#9756)
3779
fbfd0e1d
EZ
37802013-10-25 Eli Zaretskii <eliz@gnu.org>
3781
3782 * simple.el (line-move): Call line-move-1 instead of
3783 line-move-visual when the current window hscroll is zero, but
3784 temporary-goal-column indicates we will need to hscroll as result
3785 of the movement. (Bug#15712)
3786
963ce636
DG
37872013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3788
3789 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
3790 capitalization. Use :visible instead of :active.
3791 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
3792 commands that are used with SMIE.
3793 (ruby-do-end-to-brace): Insert space after `{'.
3794
a0be396a
JA
37952013-10-25 John Anthony <john@jo.hnanthony.com>
3796
f73754c9
JA
3797 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3798
3799 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 3800
f5bf77df
GM
38012013-10-25 Glenn Morris <rgm@gnu.org>
3802
3803 * vc/vc.el (vc-print-log): Don't use a working revision unless
3804 one was explicitly specified. (Bug#15322)
3805
37241f62
SM
38062013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3807
3808 * subr.el (add-to-list): Preserve return value in compiler-macro
3809 (bug#15692).
3810
6408a65d
RS
38112013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3812
3813 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3814 result. Ask user to retry using '-all' flag. (Bug#15701)
3815
71e3276b
SM
38162013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3817
3818 * emacs-lisp/smie.el: New smie-config system.
3819 (smie-config): New defcustom.
3820 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3821 (smie-config-guess, smie-config-save): New commands.
3822 (smie-config--mode-local, smie-config--buffer-local)
3823 (smie-config--trace, smie-config--modefuns): New vars.
3824 (smie-config--advice, smie-config--mode-hook)
3825 (smie-config--setter, smie-config-local, smie-config--get-trace)
3826 (smie-config--guess-value, smie-config--guess): New functions.
3827 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3828 text properties. Treat "string fence" syntax like string syntax.
3829
3830 * progmodes/sh-script.el (sh-use-smie): Change default.
3831 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3832 (sh-var-value): Simplify by CSE.
3833 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3834 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3835 is used.
3836 (sh-guess-basic-offset): Use cl-incf.
3837 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3838
60db713e
HE
38392013-10-24 Helmut Eller <eller.helmut@gmail.com>
3840
3841 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3842 (bug#15699).
3843
8b251df6
GM
38442013-10-24 Glenn Morris <rgm@gnu.org>
3845
3846 * Makefile.in (abs_top_srcdir): Remove.
3847 (update-subdirs): Use relative path to update-subdirs.
3848
6be0e22b
EZ
38492013-10-24 Eli Zaretskii <eliz@gnu.org>
3850
3851 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3852 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
3853 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3854 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 3855
50b5b857
MA
38562013-10-24 Michael Albinus <michael.albinus@gmx.de>
3857
3858 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3859 (ert-test-skipped): New error.
3860 (ert-skip, ert-stats-skipped): New defuns.
3861 (ert--skip-unless): New macro.
3862 (ert-test-skipped): New struct.
3863 (ert--run-test-debugger, ert-test-result-type-p)
3864 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3865 (ert--stats-set-test-and-result, ert-char-for-test-result)
3866 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 3867 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 3868 Handle skipped tests. (Bug#9803)
50b5b857 3869
6f317c2f
GM
38702013-10-24 Glenn Morris <rgm@gnu.org>
3871
e43817c1
GM
3872 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3873
6f317c2f
GM
3874 * Makefile.in (abs_top_srcdir): New, set by configure.
3875 (update-subdirs): Correct build-aux location.
3876
369bbf71
DG
38772013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3878
8297b2cf
DG
3879 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3880 value, whether we could auto-deduce `backend', or not.
3881
369bbf71
DG
3882 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3883 with parameters" example. Simplify the "is it block or is it
3884 hash" check, but also make it more thorough.
3885
d5f1282f
MF
38862013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3887
3888 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3889
bc4aaa31
SM
38902013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3891
03d44565
SM
3892 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3893 { if it is hanging.
3894
bc4aaa31
SM
3895 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3896 :before ";".
3897
f493ff19
JB
38982013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3899
3900 * progmodes/compile.el (compilation-directory-matcher)
3901 (compilation-page-delimiter):
3902 Support GNU Make-4.0 directory quoting. (Bug#15678)
3903
c744a3b9
LL
39042013-10-23 Leo Liu <sdl.web@gmail.com>
3905
3906 * ido.el (ido-tidy): Handle read-only text.
3907
b8e3b0a9
GM
39082013-10-23 Glenn Morris <rgm@gnu.org>
3909
3910 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3911 (emacs, compile, compile-always):
3912 Quote entities that might contain whitespace.
3913 (custom-deps, finder-data, autoloads): Use abs_lisp.
3914 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3915 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3916 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3917
ee4282cd
DG
39182013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3919
bc4aaa31
SM
3920 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3921 Use `following-char'.
7790a270 3922
ee4282cd 39232013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
3924
3925 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3926 * progmodes/ruby-mode.el (ruby-smie-rules):
3927 Remove corresponding workaround. Fix indentation rule of ";" so it
3928 also applies when ";" is the parent.
3929
d40a46d7
XF
39302013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3931
3932 * frame.el (display-screens, display-pixel-height)
3933 (display-pixel-width, display-mm-width, display-backing-store)
3934 (display-save-under, display-planes, display-color-cells)
7790a270
SM
3935 (display-visual-class, display-monitor-attributes-list):
3936 Mention the optional ‘display’ argument in doc strings.
d40a46d7 3937
a0f143c9
MG
39382013-10-22 Michael Gauland <mikelygee@amuri.net>
3939
3940 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3941 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3942
18cacc39
DG
39432013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3944
3945 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3946 TODO. Add "." after " @ ".
3947 (ruby-smie--at-dot-call): New function. Checks if point at method
3948 call with explicit target.
3949 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3950 to the method name tokens when it precedes them.
3951 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3952 (ruby-smie-rules): Add rule for indentation before and after "."
3953 token.
3954
df74c4be
SM
39552013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3956
c6dab55f
SM
3957 * textmodes/remember.el (remember-diary-extract-entries):
3958 Avoid add-to-list.
3959
df74c4be
SM
3960 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3961 an instruction.
3962
8c1ae481
DG
39632013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3964
e9dc713d
JB
3965 * progmodes/ruby-mode.el (ruby-smie-grammar):
3966 Add (almost) all infix operators.
cfef16c0
DG
3967 (ruby-smie--implicit-semi-p): Add new operator chars.
3968
8c1ae481
DG
3969 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3970 `smie-down-list'.
3971 (ruby-smie--args-separator-p): Check that there's no newline
3972 between method call and its arguments.
3973
87756ca9
AM
39742013-10-20 Alan Mackenzie <acm@muc.de>
3975
3976 Allow comma separated lists after Java "implements".
3977
df74c4be
SM
3978 * progmodes/cc-engine.el (c-backward-over-enum-header):
3979 Parse commas.
87756ca9
AM
3980 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3981 from a "disallowed" list in enum fontification.
3982
c25f8957
JB
39832013-10-20 Johan Bockgård <bojohan@gnu.org>
3984
df74c4be 3985 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 3986
c25f8957
JB
3987 * progmodes/verilog-mode.el (verilog-mode): Don't set
3988 comment-indent-function globally.
3989
aca5fcdc
JD
39902013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3991
5f161884
JD
3992 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3993 Move Info menu item creation to ns-win.el.
3994
3995 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3996 in menu bar.
3997
a6c4680a 3998 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
3999
4000 * term/ns-win.el (ns-initialize-window-system): ... to here.
4001
914b7f98
SM
40022013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4003
4004 * simple.el (newline): Only run post-self-insert-hook when
4005 called interactively.
4006
846ffe77
JB
40072013-10-19 Johan Bockgård <bojohan@gnu.org>
4008
4009 * icomplete.el (icomplete-with-completion-tables): Add :version.
4010
033f22dd
AM
40112013-10-19 Alan Mackenzie <acm@muc.de>
4012
4013 Fix fontification bugs with constructors and const.
4014
4015 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4016 CASE 2) Remove the check for the absence of a suffix construct
4017 after a function declaration with only types (no identifiers) in
4018 the parentheses. Also, accept a function declaration with just a
4019 type inside the parentheses, if this type can be positively
4020 recognised as such, or if a prefix keyword like "explicit" nails
4021 down the construct as a declaration.
4022
58ce0cfc
EZ
40232013-10-19 Eli Zaretskii <eliz@gnu.org>
4024
4025 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4026 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4027 the problem whereby selecting a menu item that leads to a
4028 minibuffer prompt moves the cursor out of the minibuffer window,
4029 making it hard to type at the prompt. Suggested by Stefan Monnier
4030 <monnier@iro.umontreal.ca>.
4031
50e28e7d
JD
40322013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4033
4034 * menu-bar.el: Don't make Services menu.
4035
7deed4bf
RS
40362013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4037
4038 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4039 (ffap-alist): Use ffap-c++-mode for c++-mode.
4040 (ffap-c++-path): New variable.
4041 (ffap-c++-mode): New function.
4042
7bcb455b
JVJ
40432013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4044
4045 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4046
f0ff1cd5
MA
40472013-10-18 Michael Albinus <michael.albinus@gmx.de>
4048
4049 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4050 introduced on 2013-09-08, which results in an infinite loop
4051 requesting a password.
4052
d64da4b7
GM
40532013-10-18 Glenn Morris <rgm@gnu.org>
4054
4055 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4056
ea89ff08
WS
40572013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4058
4059 Sync with upstream verilog-mode revision 1a6ecec7.
4060 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4061 (verilog-mode-release-date): Remove.
4062 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4063 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4064 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4065 (verilog-auto-tieoff-ignore-regexp)
4066 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4067 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4068 (verilog-signals-with, verilog-dir-cache-preserving)
4069 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4070 Doc fixes.
4071 (verilog-case-fold): New option, to control case folding in
4072 regexp searches, bug597.
4073 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4074 (verilog-string-match-fold, verilog-in-paren-count)
4075 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4076 (verilog-at-close-struct-p): New functions.
4077 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4078 (verilog-forward-sexp, verilog-set-auto-endcomments):
4079 (verilog-leap-to-case-head): Handle "unique0" case.
4080 (verilog-in-constraint-re): New constant.
4081 (verilog-keywords, verilog-type-font-keywords):
4082 Add some SystemVerilog 1800-2012 keywords.
4083 (verilog-label-be): Remove unimplemented argument, bug669.
4084 (verilog-batch-execute-func): When batch expanding clear
4085 create-lockfiles to prevent spurious user locks when a file ends
4086 up not changing.
4087 (verilog-calculate-indent, verilog-calc-1)
4088 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4089 (verilog-do-indent): Fix indentation of nested constraints
4090 and structures.
4091 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4092 (verilog-auto-inst-param): Use verilog-string-match-fold.
4093 (verilog-read-inst-module-matcher):
4094 Fix AUTOINST on gate primitives with #1.
4095 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4096 Reads all user-defined typed variables.
4097 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4098 (verilog-signals-matching-regexp)
4099 (verilog-signals-not-matching-regexp, verilog-auto):
4100 Respect verilog-case-fold.
4101 (verilog-diff-report): Fix line count.
4102 (verilog-auto-assign-modport): Remove unused local `modi'.
4103 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4104 better handle multidimensional arrays.
4105 Fix packed array ports misadding bit index in AUTOINST, bug637.
4106 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4107 to not double-declare existing outputs and inputs, respectively.
4108 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4109 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4110 (verilog-sk-uvm-component): New skeleton.
4111 (verilog-submit-bug-report): Add verilog-case-fold,
4112 remove verilog-mode-release-date.
4113
ef566920
BR
41142013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4115
a12bf61e 4116 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
4117 as before.
4118
29df8a0b
RT
41192013-10-18 Reuben Thomas <rrt@sc3d.org>
4120
e0eb0550 4121 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
4122 remember buffers (bug#13566).
4123
04a19a79
DC
41242013-10-18 Daniel Colascione <dancol@dancol.org>
4125
4126 When evaluating forms in ielm, direct standard output to ielm
4127 buffer. Add new ielm-return-for-effect command. Remove trailing
4128 whitespace throughout.
4129
4130 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4131 (ielm-return-for-effect): New command.
4132 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
4133 (ielm-eval-input): Accept optional `for-effect' parameter.
4134 Bind `standard-output' to stream we create using
04a19a79
DC
4135 `ielm-standard-output-impl'. Suppress printing result when
4136 `for-effect'.
4137 (ielm-standard-output-impl): New function.
4138 (inferior-emacs-lisp-mode): Explain new features in documentation.
4139
4c1f03ef
MA
41402013-10-17 Michael Albinus <michael.albinus@gmx.de>
4141
4142 Code cleanup.
4143
4144 * net/tramp.el (tramp-debug-message): Do not check for connection
4145 buffer.
4146 (tramp-message): Use "vector" connection property.
4147
4148 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4149 (tramp-equal-remote, tramp-eshell-directory-change)
4150 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4151 (tramp-adb-handle-rename-file)
4152 * net/tramp-cmds.el (tramp-list-remote-buffers)
4153 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4154 * net/tramp-compat.el (tramp-compat-process-running-p)
4155 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4156 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4157 (tramp-gvfs-handle-rename-file)
4158 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4159 (tramp-set-file-uid-gid)
4160 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4161 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4162 of `file-remote-p'.
4163
4164 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4165 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4166 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4167 (tramp-gw-open-network-stream): Suppress unrelated traces.
4168
4169 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4170 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4171 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4172 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4173 connection property.
4174
4175 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 4176 persistency file.
4c1f03ef
MA
4177
4178 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4179 Refactor common code. Improve debug message.
4180 (tramp-maybe-open-connection)
4181 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4182 connection buffer too early.
4183
4184 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4185 from `tramp-smb-actions-with-acl'.
4186 (tramp-smb-actions-set-acl): New defconst.
4187 (tramp-smb-handle-copy-directory)
4188 (tramp-smb-action-get-acl): New defun, renamed from
4189 `tramp-smb-action-with-acl'.
4190 (tramp-smb-action-set-acl): New defun.
4191 (tramp-smb-handle-set-file-acl): Rewrite.
4192
642eb8b6
GM
41932013-10-17 Glenn Morris <rgm@gnu.org>
4194
4195 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4196
85527ff3
SM
41972013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4198
921c1d62
SM
4199 * skeleton.el (skeleton-newline): Remove.
4200 (skeleton-internal-1): Use (insert "\n") instead.
4201
e333fb10
SM
4202 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4203 let-bindings.
4204
85527ff3
SM
4205 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4206 forward-sexp-function while we redo its job (bug#15613).
4207
c8722a97
JB
42082013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4209
4210 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4211 represented by lists.
4212
7a550bbb
GM
42132013-10-16 Glenn Morris <rgm@gnu.org>
4214
4215 * tmm.el (tmm--history): New dynamic variable.
4216 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4217
f19da8ad
MA
42182013-10-16 Michael Albinus <michael.albinus@gmx.de>
4219
4220 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4221 (tramp-smb-errors): Add error messages.
4222 (tramp-smb-actions-with-acl): New defconst.
4223 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4224 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4225 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4226 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4227 (tramp-smb-get-stat-capability): Fix tests.
4228
a24b9961
DK
42292013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4230
4231 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4232 (bug#15580).
4233
62ad85e6
GM
42342013-10-16 Glenn Morris <rgm@gnu.org>
4235
0283d6b0
GM
4236 * ansi-color.el (ansi-color-drop-regexp):
4237 Add 1J, 1K, 2K. (Bug#15617)
4238
012e2f9f
GM
4239 * files.el (hack-local-variables--warned-lexical): New.
4240 (hack-local-variables):
4241 Warn about misplaced lexical-binding. (Bug#15616)
4242
62ad85e6
GM
4243 * net/eww.el (eww-render): Always set eww-current-url,
4244 and update header line. (Bug#15622)
4245 (eww-display-html): ... Rather than just doing it here.
4246
6456c0ea
EZ
42472013-10-15 Eli Zaretskii <eliz@gnu.org>
4248
4249 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4250 menu navigations commands.
4251
c2de5588
DK
42522013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4253
4254 * progmodes/subword.el (subword-capitalize): Be careful when
4255 the search for [[:alpha:]] fails (bug#15580).
4256
ccd4a783
EZ
42572013-10-14 Eli Zaretskii <eliz@gnu.org>
4258
4259 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4260 to commands that scroll the menu.
4261
1eda1d8d
DG
42622013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4263
c2de5588
DK
4264 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4265 Handle methods ending with `?' and `!'.
1eda1d8d 4266
e70181b8
AM
42672013-10-14 Akinori MUSHA <knu@iDaemons.org>
4268
4269 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4270 `japanese-cp932' to `cp932' to fix the problem where saving a
4271 source file written in Shift_JIS twice would end up having
4272 `coding: japanese-cp932' which Ruby could not recognize.
4273 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4274 in `ruby-encoding-map'.
4275 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4276 doesn't need to be explicitly declared in magic comment.
4277 (ruby-encoding-map): Add type declaration for better customize UI.
4278
9148ee92
GM
42792013-10-13 Glenn Morris <rgm@gnu.org>
4280
a5d38e34
GM
4281 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4282 Occur buffers are read-only. http://bugs.debian.org/720775
4283
9148ee92
GM
4284 * emacs-lisp/authors.el (authors-fixed-entries):
4285 Comment out old alpha stuff.
4286
a9ba094b
DG
42872013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4288
4289 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4290 to `after-save-hook' instead of `before-save-hook'.
4291 (ruby-mode-set-encoding): Use the value of coding system used to
4292 write the file. Call `basic-save-buffer-1' after modifying the
4293 buffer.
4294
7a068717
AM
42952013-10-13 Alan Mackenzie <acm@muc.de>
4296
4297 Fix indentation/fontification of Java enum with
4298 "implements"/generic.
4299
c2de5588
DK
4300 * progmodes/cc-engine.el (c-backward-over-enum-header):
4301 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
4302 (c-inside-bracelist-p): Uses new function above.
4303 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4304 function above.
4305 (c-font-lock-enum-tail): Uses new function above.
4306
85b64f02
KH
43072013-10-13 Kenichi Handa <handa@gnu.org>
4308
4309 * international/mule-cmds.el (select-safe-coding-system): Remove a
4310 superfluous condition in chekcing whether a coding system is safe
4311 or not.
4312
fc7f501b
OK
43132013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4314
4315 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4316
fdcb2049
AP
43172013-10-13 Andreas Politz <politza@hochschule-trier.de>
4318
4319 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4320
8c106d17
GM
43212013-10-13 Glenn Morris <rgm@gnu.org>
4322
feab892d
GM
4323 * menu-bar.el (menu-bar-update-buffers):
4324 Unify Buffers menu prompt string. (Bug#15576)
4325
b22d0686
GM
4326 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4327
8c106d17
GM
4328 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4329 Add some entries.
4330 (authors-fixed-entries): Use accented form of name.
4331
1b12c797
SM
43322013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4333
650fa7bf 4334 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 4335 method calls (bug#15594).
650fa7bf
SM
4336 (ruby-smie--args-separator-p): New function.
4337 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4338 recognize paren-free method calls.
4339
1b12c797
SM
4340 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4341 internals of universal-argument.
4342
029619c8
EZ
43432013-10-11 Eli Zaretskii <eliz@gnu.org>
4344
4345 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
4346 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4347 dropped menu on second mouse click on the menu bar.
029619c8 4348
dd070019
SM
43492013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4350
4351 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4352 (explicit-shell-file-name): Declare.
4353 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4354 (sh-completion-at-point-function): New function.
4355 (sh-mode): Use it.
4356 (sh-smie--keyword-p): Remove unused argument.
4357 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4358 vars.
4359 (sh-set-shell): Always setup SMIE, even if we use the
4360 old indentation code.
4361
0922b826
DG
43622013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4363
b68e2926
DG
4364 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4365 cases of ? and =.
4366 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4367 predicate would return nil are almost non-existent.
4368 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4369
0922b826
DG
4370 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4371 cache also after commands that modify the buffer but don't move
4372 point.
4373
ee041f2d
SM
43742013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4375
4376 * env.el (substitute-env-in-file-name): New function.
4377 (substitute-env-vars): Extend the meaning of the optional arg.
4378
a5dab159
EZ
43792013-10-10 Eli Zaretskii <eliz@gnu.org>
4380
4381 * term/w32-win.el (dynamic-library-alist): Define separate lists
4382 of GIF DLLs for versions before and after 5.0.0 of giflib.
4383 (Bug#15531)
4384
0449d6cd 43852013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
4386
4387 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4388 not locked, use last revision and current source as
4389 defaults. (Bug#15569)
4390
2f6e161e
MY
43912013-10-10 Masatake YAMATO <yamato@redhat.com>
4392
4393 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4394 menu-bar is hidden.
4395
6c8413fc
MR
43962013-10-10 Martin Rudalics <rudalics@gmx.at>
4397
4398 * window.el (pop-to-buffer-same-window): Fix doc-string.
4399 (Bug#15492)
4400
20832de0
SM
44012013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4402
4403 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4404
c6e8ae77
AC
44052013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4406
4407 * calendar/icalendar.el (icalendar-import-file):
4408 Fix interactive spec. (Bug#15482)
4409
9db13baf
GM
44102013-10-10 Glenn Morris <rgm@gnu.org>
4411
9271e90e
GM
4412 * desktop.el (desktop-save): Default to saving in .emacs.d,
4413 since PWD is no longer in desktop-path by default. (Bug#15319)
4414
9db13baf
GM
4415 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4416 now that text mode has a menu with the same entry.
4417 (menu-bar-text-mode-auto-fill): Remove now unused func.
4418 * textmodes/text-mode.el (text-mode-map):
4419 Use auto-fill help text from menu-bar.el.
4420
a0be396a 44212013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
4422
4423 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4424
2edcd3c7
JL
44252013-10-09 Juri Linkov <juri@jurta.org>
4426
4427 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4428 instead of this-command-keys. Add universal-argument-more and
4429 universal-argument-minus to the list of prefix commands. (Bug#15568)
4430
574411d0
GM
44312013-10-09 Glenn Morris <rgm@gnu.org>
4432
14afa541
GM
4433 * vc/vc-svn.el (vc-svn-create-repo):
4434 Expand paths in file://... url. (Bug#15446)
4435
574411d0
GM
4436 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4437 Add some entries.
4438 (authors): Remove unused local variables.
4439
79804536
SM
44402013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4441
4442 * profiler.el: Create a more coherent calltree from partial backtraces.
4443 (profiler-format): Hide the tail with `invisible' so that C-s can still
4444 find the hidden elements.
4445 (profiler-calltree-depth): Don't recurse so enthusiastically.
4446 (profiler-function-equal): New hash-table-test.
4447 (profiler-calltree-build-unified): New function.
4448 (profiler-calltree-build): Use it.
4449 (profiler-report-make-name-part): Indent the calltree less.
4450 (profiler-report-mode): Add visibility specs for profiler-format.
4451 (profiler-report-expand-entry, profiler-report-toggle-entry):
4452 Expand the whole subtree when provided with a prefix arg.
4453
238150c8
DG
44542013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4455
4456 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4457 iuwu-mod token.
4458 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4459 hanging iuwu-mod token.
4460 (ruby-smie--forward-token): Do not include a dot after a token in
4461 that token.
4462 (ruby-smie--backward-token): Likewise.
4463
b0949cc4
JL
44642013-10-08 Juri Linkov <juri@jurta.org>
4465
4466 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4467 to isearch-other-control-char.
4468 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4469 and isearch-post-command-hook to post-command-hook.
4470 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4471 and isearch-post-command-hook from post-command-hook.
4472 (isearch-unread-key-sequence)
4473 (isearch-reread-key-sequence-naturally)
4474 (isearch-lookup-scroll-key, isearch-other-control-char)
4475 (isearch-other-meta-char): Remove functions.
4476 (isearch-pre-command-hook, isearch-post-command-hook):
4477 New functions based on isearch-other-meta-char rewritten
4478 relying on the new behavior of overriding-terminal-local-map
4479 that does not replace the local keymaps any more. (Bug#15200)
4480
4ed77415
EZ
44812013-10-08 Eli Zaretskii <eliz@gnu.org>
4482
4483 Support menus on text-mode terminals.
4484 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4485 functionality.
4486
4487 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4488
c2de5588
DK
4489 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4490 Move here from mouse.el.
4ed77415
EZ
4491 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4492 and arrow keys.
4493 (tty-menu-navigation-map): New map for TTY menu navigation.
4494
4495 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4496
4497 * frame.el (display-mouse-p): Report text-mode mouse as available
4498 on w32.
4499 (display-popup-menus-p): Report availability if mouse is
4500 available; don't condition on window-system.
4501
4502 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4503 (tty-menu-selected-face): New faces.
4504
b7d5bd82
TL
45052013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4506
06286513
SM
4507 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4508 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4509 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4510 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4511 New constants.
4512 (lisp-mode-variables): New `elisp' argument.
4513 (emacs-lisp-mode): Use it.
4514 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4515 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4516
b7d5bd82
TL
4517 * indent.el: Use lexical-binding.
4518 (indent-region): Add progress reporter.
4519 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4520 last step.
4521 (indent--next-tab-stop): New function to implement this behavior.
4522 (tab-to-tab-stop, move-to-tab-stop): Use it.
4523
45242013-10-08 Teemu Likonen <tlikonen@iki.fi>
4525
4526 * indent.el (indent-rigidly--current-indentation): New function.
4527 (indent-rigidly-map): New var.
4528 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4529
5ea75d23
BG
45302013-10-08 Bastien Guerry <bzg@gnu.org>
4531
f2726fa2 4532 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 4533
cc5da1ec
SM
45342013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4535
8ffa1a0b
SM
4536 * progmodes/perl-mode.el: Use lexical-binding.
4537 Remove redundant :group args.
4538 (perl-nochange): Change default to be closer to other major modes's
4539 standard behavior.
4540 (perl-indent-line): Don't consider text on current line as a
4541 valid beginning of function from which to indent.
4542
f2223371
SM
4543 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4544 with more than one argument (bug#15538).
4545
44256060
SM
4546 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4547
cc5da1ec
SM
4548 * vc/pcvs.el: Use lexical-binding.
4549 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4550 environment of `eval'.
4551 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4552 than a list of expressions. Adjust callers.
4553 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4554
0ea1599d
DG
45552013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4556
4557 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 4558 case of the dot in a chained method call being on the following line.
0ea1599d 4559
da3e5ebb
SM
45602013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4561
2abb4e65
SM
4562 * electric.el (electric-indent-inhibit): New var.
4563 (electric-indent-post-self-insert-function): Use it.
4564 * progmodes/python.el (python-mode): Set it.
4565
d2e0e795
SM
4566 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4567 open braces.
4568
4569 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4570
bdc6b4c8
SM
4571 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4572 (css-mode): Use electric-indent-chars.
4573
da3e5ebb
SM
4574 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4575 (font-lock-beg, font-lock-end): Move before first use.
4576 (nxml-mode): Use syntax-propertize-function.
4577 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4578 (nxml-extend-after-change-region): Remove.
4579 * nxml/xmltok.el: Use lexical-binding.
4580 (xmltok-save): Use `declare'.
4581 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4582 * nxml/nxml-util.el: Use lexical-binding.
4583 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4584 Use `declare'.
4585 * nxml/nxml-ns.el: Use lexical-binding.
4586 (nxml-ns-save): Use `declare'.
4587 (nxml-ns-prefixes-for): Avoid add-to-list.
4588 * nxml/rng-match.el: Use lexical-binding.
4589 (rng--ipattern): Use cl-defstruct.
4590 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4591 (rng-cons-group-after, rng-subst-group-after)
4592 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4593 Use closures instead of `(lambda...).
4594
f8f91d5d
MA
45952013-10-07 Michael Albinus <michael.albinus@gmx.de>
4596
4597 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4598 of BEG and END.
4599
da3e5ebb
SM
4600 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4601 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
4602 (tramp-gvfs-handle-insert-file-contents): Remove function.
4603
da3e5ebb
SM
4604 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4605 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
4606
4607 * net/trampver.el: Update release number.
4608
7ccae3b1
SM
46092013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4610
55ca2c0d
SM
4611 * progmodes/compile.el (compilation-parse-errors):
4612 Use compilation--put-prop.
4613 (compilation--ensure-parse): Check compilation-multiline.
4614
731fc3ae
SM
4615 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4616
da3e5ebb
SM
4617 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4618 lexical-binding.
a5833280 4619
2e7ba2c2
SM
4620 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4621
7ccae3b1
SM
4622 * progmodes/ruby-mode.el: Fix recently added tests.
4623 (ruby-smie-grammar): Add - and +.
4624 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4625 (ruby-smie--backward-id): New functions.
4626 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4627 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4628 any more.
4629
85698d63
LL
46302013-10-07 Leo Liu <sdl.web@gmail.com>
4631
4632 * register.el (register-preview-delay)
4633 (register-preview-functions): New variables.
4634 (register-read-with-preview, register-preview)
4635 (register-describe-oneline): New functions.
4636 (point-to-register, window-configuration-to-register)
4637 (frame-configuration-to-register, jump-to-register)
4638 (number-to-register, view-register, insert-register)
4639 (copy-to-register, append-to-register, prepend-to-register)
4640 (copy-rectangle-to-register): Use register-read-with-preview to
4641 read register. (Bug#15525)
4642
3986af6c
DS
46432013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4644
4645 * net/network-stream.el (network-stream-open-starttls): Don't add
4646 --insecure if it's already present, because that gnutls-cli
4647 rejects getting that parameter twice.
4648
5cd9cda9
DG
46492013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4650
4651 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4652 keyword, too.
4653
da9ea6d9
DG
46542013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4655
4656 * newcomment.el (comment-use-global-state): Change default value
4657 to t, mark obsolete (Bug#15251).
4658 (comment-beginning): In addition to `comment-to-syntax', check the
4659 value of `comment-use-global-state'.
4660
34d1a133
SM
46612013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4662
4663 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4664 (ruby-comment-column): Follow the global default, by default.
4665 (ruby-smie-grammar): Add assignment syntax.
4666 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4667 open-paren, a comma, or a \.
4668 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4669 and line continuations.
4670 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4671 followed by implicit semi-colons. Add rule for string concatenation
4672 and for indentation at BOB.
4673 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4674
4675 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4676 calling next-sexp, since next-token may have skipped chars which
4677 next-sexp doesn't know should be skipped!
4678
6f6ab820
LL
46792013-10-05 Leo Liu <sdl.web@gmail.com>
4680
34d1a133
SM
4681 * progmodes/octave.el (octave-send-region):
4682 Call compilation-forget-errors.
6f6ab820 4683
34ca0f4c
XF
46842013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4685
4686 * vc/vc-svn.el (vc-svn-find-admin-dir):
4687 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4688 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4689 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4690 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4691
a27c1b72
SM
46922013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4693
4694 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4695
258ab3bc
SM
46962013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4697
4698 * subr.el (read-passwd): Hide chars even when called within a context
4699 where after-change-functions is disabled (bug#15501).
4700 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4701 until we removed ourself from overriding-terminal-local-map.
4702
939fb29c
LL
47032013-10-04 Leo Liu <sdl.web@gmail.com>
4704
258ab3bc
SM
4705 * progmodes/octave.el (inferior-octave-mode):
4706 Call compilation-forget-errors.
939fb29c 4707
63bd7f35
XF
47082013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4709
4710 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4711
9e6229fa
MA
47122013-10-04 Michael Albinus <michael.albinus@gmx.de>
4713
4714 * net/secrets.el (secrets-create-collection): Add optional
4715 argument ALIAS. Use proper Label keyword. Append ALIAS as
4716 dbus-call-method argument. (Bug#15516)
4717
1dab32a3
LL
47182013-10-04 Leo Liu <sdl.web@gmail.com>
4719
4720 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4721 (inferior-octave-compilation-font-lock-keywords): New variables.
4722 (compilation-error-regexp-alist)
4723 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4724 (inferior-octave-mode): Use compilation-shell-minor-mode.
4725
6cad7ba3
JS
47262013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4727
4728 * minibuffer.el (completion--replace): Be careful that `end' might be
4729 a marker.
4730
acbadd00
DU
47312013-10-03 Daiki Ueno <ueno@gnu.org>
4732
4733 Add support for package signature checking.
4734 * emacs-lisp/package.el (url-http-file-exists-p)
4735 (epg-make-context, epg-context-set-home-directory)
4736 (epg-verify-string, epg-context-result-for)
4737 (epg-signature-status, epg-signature-to-string)
4738 (epg-check-configuration, epg-configuration)
4739 (epg-import-keys-from-file): Declare.
4740 (package-check-signature): New user option.
4741 (package-unsigned-archives): New user option.
4742 (package-desc): Add `signed' field.
4743 (package-load-descriptor): Set `signed' field if .signed file exists.
4744 (package--archive-file-exists-p): New function.
4745 (package--check-signature): New function.
4746 (package-install-from-archive): Check package signature.
4747 (package--download-one-archive): Check archive signature.
4748 (package-delete): Remove .signed file.
4749 (package-import-keyring): New command.
4750 (package-refresh-contents): Import default keyring.
4751 (package-desc-status): Add "unsigned" status.
4752 (describe-package-1, package-menu--print-info)
4753 (package-menu-mark-delete, package-menu--find-upgrades)
4754 (package-menu--status-predicate): Support "unsigned" status.
4755
adf2aa61
SM
47562013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4757
4758 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4759 the new compilation scheme using the new byte-codes.
4760
4761 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4762 (byte-pophandler): New byte codes.
4763 (byte-goto-ops): Adjust accordingly.
4764 (byte-compile--use-old-handlers): New var.
4765 (byte-compile-catch): Use new byte codes depending on
4766 byte-compile--use-old-handlers.
4767 (byte-compile-condition-case--old): Rename from
4768 byte-compile-condition-case.
4769 (byte-compile-condition-case--new): New function.
4770 (byte-compile-condition-case): New function that dispatches depending
4771 on byte-compile--use-old-handlers.
4772 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4773 when we can.
4774
4775 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4776 Optimize under `condition-case' and `catch' if
4777 byte-compile--use-old-handlers is nil.
4778 (disassemble-offset): Handle new bytecodes.
4779
328a8179
SM
47802013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4781
4782 * subr.el (error): Use `declare'.
4783 (decode-char, encode-char): Use advertised-calling-convention instead
4784 of the docstring to discourage use of the `restriction' arg.
4785
15a1e936
DU
47862013-10-03 Daiki Ueno <ueno@gnu.org>
4787
4788 * epg.el (epg-verify-file): Add a comment saying that it does not
4789 notify verification error as a return value nor a signal.
4790 (epg-verify-string): Ditto.
4791
376f862a
KR
47922013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4793
4794 * progmodes/compile.el (compilation-start): Try globbing the arg to
4795 `cd' (bug#15417).
4796
a2f93a5f
MA
47972013-10-02 Michael Albinus <michael.albinus@gmx.de>
4798
4799 Sync with Tramp 2.2.8.
4800
4801 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4802 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4803 * net/trampver.el: Update release number.
4804
0daa0804
JD
48052013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4806
4807 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4808 and default-process-coding-system for darwin only.
4809
abd1ae34
SM
48102013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4811
4812 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4813
be4e325d
MH
48142013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4815
4816 * vc/vc-git.el (vc-git-grep): Disable pager.
4817
e9155c4a
DG
48182013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4819
494e898b
DG
4820 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4821 Use :url instead of :homepage, as per
4822 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4823
e9155c4a
DG
4824 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4825 non-nil, use `syntax-ppss' (Bug#15251).
4826
481a8e0f
RS
48272013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4828
be4e325d
MH
4829 * progmodes/octave.el (inferior-octave-startup-file):
4830 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 4831
056453c6
DG
48322013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4833
be4e325d
MH
4834 * emacs-lisp/package.el (package-desc-from-define):
4835 Accept additional arguments as plist, convert them to an alist and store
4836 them in the `extras' slot.
056453c6
DG
4837 (package-generate-description-file): Convert extras alist back to
4838 plist and append to the `define-package' form arguments.
4839 (package--alist-to-plist): New function.
4840 (package--ac-desc): Add `extras' slot.
4841 (package--add-to-archive-contents): Check if the archive-contents
4842 vector is long enough, and if it is, pass its `extras' slot value
4843 to `package-desc-create'.
4844 (package-buffer-info): Call `lm-homepage', pass the returned value
4845 to `package-desc-from-define'.
4846 (describe-package-1): Render the homepage button (Bug#13291).
4847
be4e325d
MH
4848 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4849 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 4850
832966e5
JD
48512013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4852
4853 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4854 and default-process-coding-system to utf-8-unix (Bug#15402).
4855
6cfe977d
XF
48562013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4857
4858 * subr.el (looking-back): Do not recommend using looking-back.
4859
38de11bd
AM
48602013-09-28 Alan Mackenzie <acm@muc.de>
4861
4862 Fix indentation/fontification of Java enum with "implements".
4863
4864 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4865 regexp which matches "implements", etc., in Java.
4866 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4867 specifier clauses coming after "enum".
4868 * progmodes/cc-fonts.el (c-font-lock-declarations)
4869 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4870 after "enum".
4871
1610938f
JD
48722013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4873
4874 * faces.el (region): Change ns_selection_color to
4875 ns_selection_fg_color, add ns_selection_bg_color.
4876
e090f499
LL
48772013-09-28 Leo Liu <sdl.web@gmail.com>
4878
4d2e94d1
LL
4879 * progmodes/octave.el (inferior-octave-completion-table)
4880 (inferior-octave-completion-at-point): Minor tweaks.
4881
e090f499
LL
4882 * textmodes/ispell.el (ispell-lookup-words): Rename from
4883 lookup-words. (Bug#15460)
4884 (lookup-words): Obsolete.
4885 (ispell-complete-word, ispell-command-loop): All uses changed.
4886
7e138a62
RS
48872013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4888
a12bf61e 4889 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
4890 (octave-mode-menu): Add octave-send-buffer.
4891 (octave-send-buffer): New function.
4892
5af5ed08
RS
48932013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4894
a12bf61e 4895 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
4896 octave-lookfor.
4897 (octave-mode-menu): Add octave-lookfor.
4898 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4899 octave-lookfor.
4900 (octave-lookfor): New function.
4901
3b7b2692
SM
49022013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4903
4904 * emacs-lisp/cl-macs.el:
4905 (cl--loop-destr-temps): Remove.
4906 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4907 its convention.
4908 (cl--loop-set-iterator-function): New function.
4909 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4910 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4911 Bind `it' with `let' instead of substituting it with `cl-subst'.
4912 (cl--unused-var-p): New function.
4913 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4914 Eliminate some unused variable warnings (bug#15326).
4915
529fb53f
TH
49162013-09-27 Tassilo Horn <tsdh@gnu.org>
4917
4918 * doc-view.el (doc-view-scale-reset): Rename from
4919 `doc-view-reset-zoom-level'.
4920 (doc-view-scale-adjust): New command.
4921 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4922 `doc-view-scale-adjust'.
4923
0550c95a
TH
49242013-09-26 Tassilo Horn <tsdh@gnu.org>
4925
4926 * doc-view.el (doc-view-reset-zoom-level): New command.
4927 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4928 zoom commands (bug#15466).
4929
6950f152
KH
49302013-09-26 Kenichi Handa <handa@gnu.org>
4931
4932 * international/quail.el (quail-help): Make it not a command.
4933
39587580
LL
49342013-09-26 Leo Liu <sdl.web@gmail.com>
4935
4936 * minibuffer.el (completion-all-sorted-completions): Make args
4937 optional as they are.
4938
00578659
DC
49392013-09-25 Daniel Colascione <dancol@dancol.org>
4940
4941 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4942 specs are and that they're not evaluated.
4943
0c173878
SS
49442013-09-24 Sam Steingold <sds@gnu.org>
4945
4946 * midnight.el (clean-buffer-list-kill-regexps)
4947 (clean-buffer-list-kill-buffer-names): Update for the new Man
4948 buffer naming which includes the object name.
4949
84998447
SM
49502013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4951
4952 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4953 (eshell-parse-command, eshell-parse-pipeline): Use it since
4954 eshell-separate-commands requires a dynamic scoped var.
4955 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4956
33215353
LL
49572013-09-23 Leo Liu <sdl.web@gmail.com>
4958
4959 * autoinsert.el (auto-insert-alist): Make the value of
4960 lexical-binding match its file setting.
4961
57b16162
JB
49622013-09-23 Juanma Barranquero <lekktu@gmail.com>
4963
c8af4e67
JB
4964 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4965
57b16162
JB
4966 * autoarg.el (autoarg-kp-digit-argument):
4967 * electric.el (Electric-command-loop):
4968 * kmacro.el (kmacro-step-edit-insert):
4969 Do not set universal-argument-num-events.
4970
7186ba60
LL
49712013-09-22 Leo Liu <sdl.web@gmail.com>
4972
4973 * files.el (interpreter-mode-alist): Add octave.
4974
ece15004
AM
49752013-09-21 Alan Mackenzie <acm@muc.de>
4976
4977 C++: fontify identifier in declaration following "public:" correctly.
4978 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4979 to match "public", etc.
4980 (c-decl-prefix-re): Add ":" into the C++ value.
4981 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4982 bit. Add a check for a ":" preceded by "public", etc.
4983
75d83e22
EZ
49842013-09-21 Eli Zaretskii <eliz@gnu.org>
4985
4986 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4987 recognized by GDB 7.5 and later.
4988
d052d3bd
XF
49892013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4990
4991 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4992
31dca772
R
49932013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4994
4995 * subr.el (internal--call-interactively): New const.
4996 (called-interactively-p): Use it (bug#3984).
4997
98ccf24e
XF
49982013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4999
5000 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
5001 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5002 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 5003
c39cc7d1
SM
50042013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5005
5006 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5007 (eshell-ls-orig-insert-directory): Remove.
5008 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5009 (eshell-ls-use-in-dired): Use advice-add/remove.
5010 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5011 Add `orig-fun' arg for use in :around advice.
5012 Make it check (redundantly) eshell-ls-use-in-dired.
5013
9a0289a2
GM
50142013-09-19 Glenn Morris <rgm@gnu.org>
5015
a2c501b8
GM
5016 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5017
c440407a
GM
5018 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5019
9a0289a2
GM
5020 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5021
85e05915
MA
50222013-09-19 Michael Albinus <michael.albinus@gmx.de>
5023
5024 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5025 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5026 (tramp-get-remote-python): New defuns.
5027 (tramp-get-remote-uid-with-perl)
5028 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5029 contributed by yary <not.com@gmail.com> (tiny change).
5030 (tramp-get-remote-uid-with-python)
5031 (tramp-get-remote-gid-with-python): New defuns. Python code
5032 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5033 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5034
ce503312
GM
50352013-09-19 Glenn Morris <rgm@gnu.org>
5036
f7544773
GM
5037 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5038
72fd2877
GM
5039 * eshell/em-unix.el (eshell-remove-entries):
5040 Rename argument to avoid name-clash with global `top-level'.
5041
336b5a56
GM
5042 * eshell/esh-proc.el (eshell-kill-process-function):
5043 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5044 (eshell-reset-after-proc): Remove unused arg `proc'.
5045
57a3a53d
GM
5046 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5047 (directory-files-and-attributes): Mark unused arg.
5048
3261d4af
GM
5049 * eshell/em-unix.el (eshell-remove-entries):
5050 Remove unused arg `path'. Update callers.
5051
8e51b5d0
GM
5052 * eshell/em-hist.el (eshell-hist-parse-arguments):
5053 Remove unused arg `silent'. Update callers.
5054
ce503312
GM
5055 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5056 Fix (f)boundp mix-up.
5057
5058 * eshell/em-smart.el (eshell-smart-scroll-window)
5059 (eshell-disable-after-change):
336b5a56 5060 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 5061
ee3ce8a7
AM
50622013-09-18 Alan Mackenzie <acm@muc.de>
5063
5064 Fix fontification of type when followed by "const".
5065 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5066 "known" types from fontification.
5067
ec9177ba
GM
50682013-09-18 Glenn Morris <rgm@gnu.org>
5069
7bb3e768
GM
5070 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5071 (chart-face-list): Drop Emacsen without display-color-p.
5072
5148da15
GM
5073 * net/eww.el (libxml-parse-html-region): Declare.
5074 (eww-display-html): Explicit error if no libxml2 support.
5075
2f68e157
GM
5076 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5077
9019d095
GM
5078 * image.el (image-type-from-buffer, image-multi-frame-p):
5079 Remove --without-x warning/error.
67645389 5080
5f30349b 5081 * mouse.el (mouse-yank-primary):
45069b2e 5082 * term.el (term-mouse-paste):
5f30349b
GM
5083 Reorder to silence --without-x compilation.
5084
cd8edbbe
GM
5085 * mpc.el (doc-view-mode): Silence --without-x compilation.
5086
8a78544e
GM
5087 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5088 Silence --without-x compilation.
5089
12679bfd
GM
5090 * progmodes/gud.el (gud-find-file, gud-mode):
5091 Silence --without-x compilation.
5092 (tooltip-mode): Declare.
30810a05 5093
f0047cb9
GM
5094 * wdired.el (dired-backup-overwrite): Remove declaration.
5095 (wdired-mode-map): Add doc string.
5096
e740f9d2
GM
5097 * custom.el (x-get-resource): Declare.
5098
92d77c89
GM
5099 * eshell/em-glob.el (ange-cache):
5100 * eshell/em-unix.el (ange-cache): Declare.
5101
76e69577
GM
5102 * faces.el (x-display-list, x-open-connection, x-get-resource):
5103 Declare.
7e58af4b
GM
5104
5105 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5106 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5107 Declare.
76e69577 5108
4bd4c0af 5109 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 5110
ffb82dbd
GM
5111 * net/gnutls.el (gnutls-log-level): Declare.
5112
986ed135
GM
5113 * net/shr.el (image-size, image-animate): Declare.
5114
e740f9d2
GM
5115 * simple.el (font-info): Declare.
5116
d2f3e9f8
GM
5117 * subr.el (x-popup-dialog): Declare.
5118
047a1a4c
GM
5119 * term/common-win.el (x-select-enable-primary)
5120 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5121 Declare.
5122
f4a1d572
GM
5123 * term/ns-win.el (x-handle-args): Declare.
5124
e843de77
GM
5125 * term/x-win.el (x-select-enable-clipboard): Declare.
5126
5fa89513
GM
5127 * term/w32-win.el (create-default-fontset): Declare.
5128
38702b5b
GM
5129 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5130 Declare.
5131
e740f9d2
GM
5132 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5133 (fit-frame-to-buffer): Explicit error if --without-x.
5134 (mouse-autoselect-window-select): Silence compiler.
5135
49a053fc
GM
5136 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5137
5138 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5139 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5140 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 5141 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
5142 Remove unused local variables.
5143
5144 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5145
ec9177ba
GM
5146 * textmodes/two-column.el: Make 2C-split work for --without-x.
5147 (scroll-bar-columns): Autoload.
5148 (top-level): Require fringe when compiling.
5149
9f25cb77
LL
51502013-09-18 Leo Liu <sdl.web@gmail.com>
5151
5152 * subr.el (add-hook): Robustify to handle closure as well.
5153
2b42da98
GM
51542013-09-17 Glenn Morris <rgm@gnu.org>
5155
5156 * simple.el (messages-buffer-mode-map): Unbind "g".
5157
e8b66a6a
SM
51582013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5159
9c0ad4f7
SM
5160 * help-mode.el (help-mode-finish): Use derived-mode-p.
5161 Remove obsolete highlighting.
5162
7a806dfb
SM
5163 * play/life.el (life-mode): Use define-derived-mode. Derive from
5164 special-mode.
5165 (life): Let-bind inhibit-read-only.
5166 (life-setup): Avoid `setq'. Use `life-mode'.
5167
96dbf5a8
SM
5168 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5169 which should not be needed any more.
5170 (package-menu-refresh, package-menu-describe-package): Use user-error.
5171
e8b66a6a
SM
5172 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5173 (eshell-post-rewrite-command-hook): Make obsolete.
5174 (eshell-parse-command): Simplify.
5175 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5176 (eshell--cmd): Declare.
5177 (eshell-parse-pipeline): Remove unused var `final-p'.
5178 Pass a dynvar to eshell-post-rewrite-command-hook.
5179 Implement the new eshell-post-rewrite-command-function.
5180 (eshell-invoke-directly): Remove unused arg `input'.
5181 * eshell/esh-io.el (eshell-io-initialize):
5182 Use eshell-post-rewrite-command-function (bug#15399).
5183 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5184 adjust to new calling convention.
5185 (eshell-create-handles): Rename args to avoid clashing with dynvar
5186 `standard-output'.
5187
90582f05
GM
51882013-09-17 Glenn Morris <rgm@gnu.org>
5189
5190 * simple.el (messages-buffer-mode): New major mode.
5191 (messages-buffer): New function.
5192 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5193 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 5194 (ert-run-test): Use `messages-buffer' function.
90582f05 5195 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
5196 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5197 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 5198
39eb0cb5 51992013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
5200
5201 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5202
1d42e5b6 5203 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 5204
70568a90
SM
52052013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5206
504a0381
SM
5207 * icomplete.el (icomplete-in-buffer): New var.
5208 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5209 vars and replace them with functions.
5210 (icomplete-minibuffer-setup): Adjust accordingly.
5211 (icomplete--completion-table, icomplete--completion-predicate)
5212 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5213 New functions.
5214 (icomplete-forward-completions, icomplete-backward-completions)
5215 (icomplete-simple-completing-p, icomplete-exhibit)
5216 (icomplete-completions): Use them.
5217 (icomplete--in-region-buffer): New var.
5218 (icomplete--in-region-setup): New function.
5219 (icomplete-mode): Use it.
5220
70568a90
SM
5221 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5222 (bug#15379).
5223 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5224 return args and options.
5225 (eshell-eval-using-options): Use the new return value of
5226 eshell--do-opts to set the options's vars in their scope.
5227 (eshell--set-option): Rename from eshell-set-option.
5228 Add arg `opt-vals'.
5229 (eshell--process-option): Rename from eshell-process-option.
5230 Add arg `opt-vals'.
5231 (eshell--process-args): Use an `opt-vals' alist to store the options's
5232 values during their processing and return them additionally to the
5233 remaining args.
5234
578c21bc
DG
52352013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5236
5237 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5238 continuation character an operator, as far as indentation is
5239 concerned (Bug#15369).
5240
c089653d
MR
52412013-09-15 Martin Rudalics <rudalics@gmx.at>
5242
5243 * window.el (window--state-put-2): Don't process buffer state
5244 when buffer doesn't exist any more (Bug#15382).
5245
1e53bb4b
GM
52462013-09-15 Glenn Morris <rgm@gnu.org>
5247
30753242
GM
5248 * eshell/em-unix.el (eshell/rm):
5249 Make -f ignore missing files. (Bug#15373)
5250
1e53bb4b
GM
5251 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5252 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5253 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5254
0d8863b3
GM
52552013-09-14 Glenn Morris <rgm@gnu.org>
5256
5257 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5258
d3fc6549
GM
52592013-09-13 Glenn Morris <rgm@gnu.org>
5260
5261 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5262 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5263
fcd42c11
DA
52642013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5265
5266 * frame.el (x-focus-frame): Mark as declared in frame.c.
5267
7830899f
SM
52682013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5269
5270 * ls-lisp.el: Use advice-add.
5271 (original-insert-directory): Remove.
5272 (ls-lisp--insert-directory): Rename from insert-directory; add
5273 `orig-fun' argument.
5274 (insert-directory): Advise.
5275
84387cd2
EZ
52762013-09-13 Eli Zaretskii <eliz@gnu.org>
5277
5278 * term.el (term-emulate-terminal): Decode the command string
5279 before passing it to term-command-hook. (Bug#15337)
5280
35ffc6ba
GM
52812013-09-13 Glenn Morris <rgm@gnu.org>
5282
5c3f9bcc
GM
5283 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5284
2ada368a
GM
5285 * eshell/esh-ext.el (eshell-search-path): Declare.
5286
fcef2e13
GM
5287 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5288 Otherwise an error occurs if eshell-dirs module not loaded.
5289
35ffc6ba
GM
5290 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5291
35c3d36e
MA
52922013-09-13 Michael Albinus <michael.albinus@gmx.de>
5293
5294 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5295 `tramp-check-proper-host'. Check for a valid method name.
5296
5297 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5298 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5299 * net/tramp-sh.el (tramp-maybe-open-connection):
5300 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5301
5302 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5303 also for hash values.
5304
ae5e4c48
SM
53052013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5306
379add74
SM
5307 * term/ns-win.el (parameters): Don't declare as dynamic.
5308 (before-make-frame-hook): Don't add ineffective function.
5309
ae5e4c48
SM
5310 * eshell/*.el: Use lexical-binding (bug#15231).
5311
b5623270
KH
53122013-09-12 Kenichi Handa <handa@gnu.org>
5313
ae5e4c48 5314 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 5315
30213927
GM
53162013-09-12 Glenn Morris <rgm@gnu.org>
5317
be94d713 5318 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 5319 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 5320
44915370
GM
5321 * subr.el (do-after-load-evaluation): Also give compiler warnings
5322 when obsolete files are used (except by obsolete files).
5323
a6ae021f
GM
5324 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5325 in the status output, assume `filename' is the first. (Bug#15322)
5326
40e64f0c
GM
5327 * vc/vc.el (vc-deduce-fileset): Doc fix.
5328
16d9f896
GM
5329 * calc/calc-help.el (Info-goto-node):
5330 * progmodes/cperl-mode.el (Info-find-node):
5331 * vc/ediff.el (Info-goto-node): Update declarations.
5332
dea01c6e
GM
5333 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5334
759880bf 5335 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
5336 (vc-bzr-pull): Require vc-dispatcher.
5337 * vc/vc-git.el (vc-compilation-mode): Declare.
5338 (vc-git-pull): Require vc-dispatcher.
5339
08d66420
GM
5340 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5341
30b626e9
GM
5342 * progmodes/octave.el (help-button-action): Declare.
5343
8c05cb10
GM
5344 * shell.el (shell-directory-tracker): Output error as a message
5345 rather than just returning it as a string.
5346 (shell-process-pushd): Remove useless use of message.
5347
30213927
GM
5348 * dframe.el (dframe-timer-fn):
5349 * files.el (dir-locals-read-from-file):
5350 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5351 (mpc-format):
5352 * reveal.el (reveal-post-command):
5353 * saveplace.el (load-save-place-alist-from-file):
5354 * shell.el (shell-resync-dirs):
5355 * w32-common-fns.el (x-get-selection-value):
5356 * emacs-lisp/copyright.el (copyright-find-copyright):
5357 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5358 * emulation/tpu-edt.el (tpu-copy-keyfile):
5359 * play/bubbles.el (bubbles--mark-neighbourhood):
5360 * progmodes/executable.el
5361 (executable-make-buffer-file-executable-if-script-p):
5362 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5363
d3b049e6
SM
53642013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5365
170266d0
SM
5366 Cleanup Eshell to rely less on dynamic scoping.
5367 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5368 last-value, and ext-command here. Bind `args' closer to `body'.
5369 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5370 (eshell--args): Declare new dynamic var.
5371 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5372 last-value, and ext-command. Pass `args' to `body'.
5373 (eshell-process-args): Bind eshell--args.
5374 (eshell-set-option): Use eshell--args.
5375 * eshell/eshell.el (eshell): Use derived-mode-p.
5376 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5377 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5378 (eshell-glob-function): Declare.
5379 * eshell/esh-util.el: Require cl-lib.
5380 (eshell-read-hosts-file): Avoid add-to-list.
5381 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5382 `err'.
5383 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5384 Declare.
5385 (eshell/diff): Remove unused var `err'.
5386 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5387 `killflag'.
5388 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5389 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5390 first use.
5391 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5392 Move declaration before first use.
5393 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
5394 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5395 rely on cl-return.
5396
56834f3b
GM
53972013-09-12 Glenn Morris <rgm@gnu.org>
5398
5399 * term/ns-win.el (global-map): Remove binding for ispell-next,
5400 deleted 1999-05-29. (Bug#15357)
5401
5c91a2b8
GM
54022013-09-11 Glenn Morris <rgm@gnu.org>
5403
da712f22
GM
5404 * echistory.el (electric-command-history): Remove call to deleted func.
5405
512e4cdc
GM
5406 * play/landmark.el (landmark-mode): Fix typos.
5407
d3506ca5
GM
5408 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5409 Check cvs-sort-ignore-file is bound.
5410
5c91a2b8
GM
5411 * savehist.el: No need for cl when compiling on Emacs.
5412
feeff482
SM
54132013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5414
656bd483
SM
5415 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5416 (bug#15338).
d3b049e6
SM
5417 (eshell-self-insert-command, eshell-send-invisible):
5418 Remove unused argument.
656bd483
SM
5419 (eshell-handle-control-codes): Remove unused var `orig'.
5420 Avoid delete-backward-char.
5421
feeff482
SM
5422 * files.el (set-auto-mode): Simplify a bit further.
5423
2a08047a
GM
54242013-09-11 Glenn Morris <rgm@gnu.org>
5425
5426 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5427 (set-auto-mode): Don't regexp-quote elements.
5428 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5429 * progmodes/cc-mode.el (interpreter-mode-alist):
5430 * progmodes/ruby-mode.el (interpreter-mode-alist):
5431 Revert previous change.
5432
34675540
SM
54332013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5434
1b3b87df
SM
5435 * play/snake.el (snake-mode):
5436 * play/mpuz.el (mpuz-mode):
5437 * play/landmark.el (lm-mode):
5438 * play/blackbox.el (blackbox-mode):
5439 * play/5x5.el (5x5-mode):
5440 * obsolete/options.el (Edit-options-mode):
5441 * net/quickurl.el (quickurl-list-mode):
5442 * net/newst-treeview.el (newsticker-treeview-mode):
5443 * mail/rmailsum.el (rmail-summary-mode):
5444 * mail/mspools.el (mspools-mode):
5445 * locate.el (locate-mode):
5446 * ibuffer.el (ibuffer-mode):
5447 * emulation/ws-mode.el (wordstar-mode):
5448 * emacs-lisp/debug.el (debugger-mode):
5449 * array.el (array-mode):
5450 * net/eudc.el (eudc-mode): Use define-derived-mode.
5451 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5452 Move initialization into declaration.
5453 (mairix-searches-mode): Use define-derived-mode.
5454 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5455 (eudc-edit-hotlist): Use dolist.
5456 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5457 (Man-mode): Use define-derived-mode.
5458 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5459 (Info-edit-mode): Use define-derived-mode.
5460 (Info-cease-edit): Use Info-mode.
5461 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5462 into declaration.
5463 (eshell-mode): Use define-derived-mode.
5464 * chistory.el (command-history-mode-map): Rename from
5465 command-history-map.
5466 (command-history-mode): Use define-derived-mode.
da712f22 5467 (Command-history-setup): Remove function.
1b3b87df
SM
5468 * calc/calc.el (calc-trail-mode-map): New var.
5469 (calc-trail-mode): Use define-derived-mode.
5470 (calc-trail-buffer): Set calc-main-buffer manually.
5471 * bookmark.el (bookmark-insert-annotation): New function.
5472 (bookmark-edit-annotation): Use it.
5473 (bookmark-edit-annotation-mode): Make it a proper major mode.
5474 (bookmark-send-edited-annotation): Use derived-mode-p.
5475 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5476 closer to its ideal place. Use \' to match EOS.
5477
34675540
SM
5478 * profiler.el (profiler-calltree-find): Use function-equal.
5479
6a5c15d9
GM
54802013-09-10 Glenn Morris <rgm@gnu.org>
5481
1af4c220
GM
5482 * files.el (interpreter-mode-alist): Convert to regexps.
5483 (set-auto-mode): Adapt for this. (Bug#15306)
5484 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5485 Comment out unused variable.
5486 * progmodes/cc-mode.el (interpreter-mode-alist):
5487 * progmodes/python.el (interpreter-mode-alist):
5488 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5489 * progmodes/sh-script.el (sh-set-shell):
5490 No longer use interpreter-mode-alist to get list of shells.
5491
6a5c15d9
GM
5492 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5493
8c27f5ff
SM
54942013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5495
02ef6c1a 5496 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 5497 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
5498 Bind switch-frame explicitly. Replace universal-argument-minus with
5499 a conditional binding.
5500 (universal-argument-num-events, saved-overriding-map): Remove.
5501 (restore-overriding-map): Remove.
5502 (universal-argument--mode): Rename from save&set-overriding-map,
5503 and rewrite.
5504 (universal-argument, universal-argument-more, negative-argument)
5505 (digit-argument): Adjust accordingly.
5506 (universal-argument-minus): Remove.
5507 (universal-argument-other-key): Remove.
5508
8c27f5ff
SM
5509 * subr.el (with-demoted-errors): Add `format' argument.
5510
6480194c
MA
55112013-09-10 Michael Albinus <michael.albinus@gmx.de>
5512
5513 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5514 `tramp-cleanup-connection'.
5515
5516 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5517 parameters KEEP-DEBUG and KEEP-PASSWORD.
5518
5519 * net/tramp.el (tramp-file-name-handler):
5520 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5521 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5522 (tramp-maybe-open-connection):
8c27f5ff
SM
5523 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5524 Use `tramp-cleanup-connection'.
6480194c 5525
8c27f5ff
SM
5526 * net/tramp-sh.el (tramp-maybe-open-connection):
5527 Catch 'uname-changed inside the progress reporter.
6480194c 5528
e5e916d8
GM
55292013-09-10 Glenn Morris <rgm@gnu.org>
5530
9a2c9b47
GM
5531 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5532
e5e916d8
GM
5533 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5534 returns "alternate access method" in mode (eg "-rw-r--r--.").
5535
144e38fe
GM
55362013-09-08 Glenn Morris <rgm@gnu.org>
5537
5538 * saveplace.el (load-save-place-alist-from-file):
5539 Demote errors. (Bug#15305)
5540
af9ff9e8
MA
55412013-09-08 Michael Albinus <michael.albinus@gmx.de>
5542
5543 Improve compatibility with older Emacsen, and XEmacs.
5544
5545 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5546 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
5547 (with-tramp-progress-reporter): Do not let-bind `result'.
5548 This yields to scoping errors in XEmacs.
af9ff9e8
MA
5549 (tramp-handle-make-auto-save-file-name): New function, moved from
5550 tramp-sh.el.
5551
5552 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5553 for `make-auto-save-file-name'.
8c27f5ff
SM
5554 (tramp-adb--gnu-switches-to-ash):
5555 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5556
5557 * net/tramp-cache.el (tramp-cache-print): Call
5558 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5559
5560 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5561 bound. It isn't for XEmacs.
5562
8c27f5ff
SM
5563 * net/tramp-compat.el (tramp-compat-copy-file):
5564 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
5565 (tramp-compat-replace-regexp-in-string): New defun.
5566
5567 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5568 for `make-auto-save-file-name'.
5569 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5570 `copy-file'.
5571 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5572 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5573 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5574
8c27f5ff
SM
5575 * net/tramp-gw.el (tramp-gw-open-network-stream):
5576 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 5577
8c27f5ff
SM
5578 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5579 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
5580 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5581 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
5582 (tramp-sh-file-inotifywait-process-filter):
5583 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5584 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5585
5586 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5587 for `make-auto-save-file-name'.
8c27f5ff
SM
5588 (tramp-smb-handle-copy-directory):
5589 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5590 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5591 (tramp-smb-handle-copy-file): Improve error message.
5592 (tramp-smb-handle-rename-file): Rename directly only in case
5593 `newname' does not exist yet. This is a restriction of smbclient.
5594 (tramp-smb-maybe-open-connection): Rerun the function only when
5595 `auth-sources' is non-nil.
5596
0ca754d0
KH
55972013-09-08 Kenichi Handa <handa@gnu.org>
5598
e0eb0550 5599 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
5600 more characters.
5601
e8dd0787
AM
56022013-09-07 Alan Mackenzie <acm@muc.de>
5603
5604 Correctly fontify Java class constructors.
5605 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5606 in Java Mode.
5607 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
5608 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5609 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
5610 "typeless" declaration there.
5611
f2f248e7
RW
56122013-09-07 Roland Winkler <winkler@gnu.org>
5613
5614 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5615 field subtitle for entry type book.
5616
67982e2b
SM
56172013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5618
5619 * minibuffer.el: Make minibuffer-complete call completion-in-region
5620 rather than other way around.
5621 (completion--some, completion-pcm--find-all-completions):
5622 Don't delay signals when debugging.
5623 (minibuffer-completion-contents): Beware fields within the
5624 minibuffer contents.
5625 (completion-all-sorted-completions): Use defvar-local.
5626 (completion--do-completion, completion--cache-all-sorted-completions)
5627 (completion-all-sorted-completions, minibuffer-force-complete):
5628 Add args `beg' and `end'.
5629 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5630 (minibuffer-complete): Use completion-in-region.
5631 (completion-complete-and-exit): New fun, extracted from
5632 minibuffer-complete-and-exit.
5633 (minibuffer-complete-and-exit): Use it.
5634 (completion--complete-and-exit): Rename from
5635 minibuffer--complete-and-exit.
5636 (completion-in-region--single-word): New function, extracted from
5637 minibuffer-complete-word.
5638 (minibuffer-complete-word): Use it.
5639 (display-completion-list): Make `common-substring' argument obsolete.
5640 (completion--in-region): Call completion--in-region-1 instead of
5641 minibuffer-complete.
5642 (completion-help-at-point): Pass boundaries to
5643 minibuffer-completion-help as args rather than via an overlay.
5644 (completion-pcm--string->pattern): Use `any-delim'.
5645 (completion-pcm--optimize-pattern): New function.
5646 (completion-pcm--pattern->regex): Handle `any-delim'.
5647 * icomplete.el (icomplete-forward-completions)
5648 (icomplete-backward-completions, icomplete-completions):
5649 Adjust calls to completion-all-sorted-completions and
5650 completion--cache-all-sorted-completions.
5651 (icomplete-with-completion-tables): Default to t.
5652 * emacs-lisp/crm.el (crm--current-element): Rename from
5653 crm--select-current-element. Don't put an overlay but return the
5654 boundaries instead.
5655 (crm--completion-command): Take two new args to bind to the boundaries.
5656 (crm-completion-help): Adjust accordingly.
5657 (crm-complete): Use completion-in-region.
5658 (crm-complete-word): Use completion-in-region--single-word.
5659 (crm-complete-and-exit): Use completion-complete-and-exit.
5660
e17d94a5
SM
56612013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5662
5663 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5664 than dynamically.
5665
96727100
JL
56662013-09-06 Juri Linkov <juri@jurta.org>
5667
5668 * info.el (Info-display-images-node): When image file doesn't exist
5669 display text version of the image if it's provided in the Info file.
5670 Otherwise, display the location of missing image from SRC attribute.
5671 Add help-echo text property from ALT attribute. (Bug#15279)
5672
86cf7329
SM
56732013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5674
5675 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5676 (edit-abbrevs-mode): Use define-derived-mode.
5677
5678 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5679 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5680 that it's defined.
5681 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5682 Use define-derived-mode.
5683
5684 * epg.el (epg-start-encrypt): Minor CSE simplification.
5685
816244a2
WX
56862013-09-06 William Xu <william.xwl@gmail.com>
5687
5688 * arc-mode.el: Add support for 7za (bug#15264).
5689 (archive-7z-program): New var.
5690 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5691 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5692 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5693
1486fa31
MA
56942013-09-06 Michael Albinus <michael.albinus@gmx.de>
5695
5696 Remove URL syntax.
5697
5698 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5699 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5700 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5701 (tramp-postfix-host-format, tramp-file-name-regexp)
5702 (tramp-completion-file-name-regexp)
5703 (tramp-completion-dissect-file-name)
5704 (tramp-handle-substitute-in-file-name): Remove 'url case.
5705 (tramp-file-name-regexp-url)
5706 (tramp-completion-file-name-regexp-url): Remove constants.
5707
39785324
GM
57082013-09-06 Glenn Morris <rgm@gnu.org>
5709
5710 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5711
1f896cb7
DG
57122013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5713
5714 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5715 keywords" below "here-doc beginnings" (Bug#15270).
5716
c0458e0b
SM
57172013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5718
5719 * subr.el (pop): Use `car-safe'.
5720 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5721 to detect unused `pop' return value.
5722
5723 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5724 var `block-regexp'.
5725 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5726 (python-fill-string): Remove unused var `marker'.
5727 (python-skeleton-add-menu-items): Remove unused var `items'.
5728
5729 * international/mule-cmds.el: Require CL.
5730 (find-coding-systems-for-charsets): Avoid add-to-list.
5731 (sanitize-coding-system-list): New function, extracted from
5732 select-safe-coding-system-interactively.
5733 (select-safe-coding-system-interactively): Use it.
5734 (read-input-method-name): Accept symbols for `default'.
5735
5736 * emacs-lisp/advice.el (defadvice): Add indent rule.
5737
6c42fc3e
DH
57382013-09-05 Daniel Hackney <dan@haxney.org>
5739
5740 * dired-x.el:
5741 * net/ange-ftp.el:
5742 * net/browse-url.el:
5743 * net/dbus.el:
5744 * net/eudc.el:
5745 * net/eudcb-ldap.el:
5746 * net/eww.el:
5747 * net/imap.el:
5748 * printing.el:
5749 * vc/ediff-diff.el:
5750 * vc/ediff-init.el:
5751 * vc/ediff-merg.el:
5752 * vc/ediff-mult.el:
5753 * vc/ediff-util.el:
5754 * vc/ediff-wind.el:
5755 * vc/ediff.el:
5756 * vc/emerge.el:
5757 * vc/pcvs.el:
5758 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5759 byte compiler. Remove some unused let-bound variables.
5760
4c528aab
SM
57612013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5762
5763 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5764 a "ref-cell", since it gets better optimized (bug#14883).
5765
bd15c390
GM
57662013-09-05 Glenn Morris <rgm@gnu.org>
5767
5768 * progmodes/cc-awk.el (c-forward-sws): Declare.
5769
1c3ac2e5
GM
57702013-09-04 Glenn Morris <rgm@gnu.org>
5771
5772 * generic-x.el [rul-generic-mode]: Require cc-mode.
5773 (c++-mode-syntax-table): Declare.
5774 (rul-generic-mode-syntax-table): Init in the defvar.
5775
52b1cc79
SM
57762013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5777
c828af56
SM
5778 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5779 (vc-do-command, vc-set-async-update):
5780 * vc/vc-mtn.el (vc-mtn-dir-status):
5781 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5782 (vc-hg-pull, vc-hg-merge-branch):
5783 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5784 (vc-git-merge-branch):
5785 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5786 (vc-cvs-dir-status-files):
5787 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5788 (vc-bzr-dir-status-files):
5789 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5790 * vc/vc-annotate.el: Use lexical-binding.
5791 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5792 (vc-sentinel-movepoint): Declare.
5793 (vc-annotate): Don't use `goto-line'.
5794 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5795 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5796 (vc-sentinel-movepoint): Declare.
5797 * vc/vc-svn.el: Use lexical-binding.
5798 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5799 * vc/vc-sccs.el:
5800 * vc/vc-rcs.el: Use lexical-binding.
5801
abae272c
SM
5802 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5803 `deleted'. Don't drop errors silently.
5804
52b1cc79
SM
5805 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5806
63191d9f
XF
58072013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5808
5809 * vc/vc.el (vc-ignore): Rewrite.
5810 (vc-default-ignore): New function.
5811 (vc-default-ignore-completion-table): Use find-ignore-file.
5812
5813 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5814 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5815 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5816 Remove. Most code moved to vc.el.
5817
9d3f707c
SM
58182013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5819
abae272c 5820 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
5821 * net/tramp-smb.el (tramp-smb-get-file-entries):
5822 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5823 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5824
fde38d49
SM
5825 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5826 Update call to it.
5827 (eww-change-select): Remove unused var `properties'.
5828 (eww-make-unique-file-name): Remove unused var `base'.
5829
5830 * finder.el (finder-compile-keywords): Don't mess with windows.
5831
84032db7
SM
5832 * calculator.el (calculator-funcall): Fix typo in last change.
5833
724f5e41
SM
5834 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5835
14b511d4
SM
5836 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5837 <pkg>-autoloads.el file stop us.
5838
9d3f707c 5839 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 5840 warnings, and factor out common code.
9d3f707c 5841
88527bc0
DG
58422013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5843
5844 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5845 two-character operators and whether the character preceding them
5846 changes their meaning (Bug#15208).
5847
96edb677
FEG
58482013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5849
5850 Format code sent to Python shell for robustness.
9d3f707c
SM
5851 * progmodes/python.el (python-shell-buffer-substring):
5852 New function.
96edb677
FEG
5853 (python-shell-send-region, python-shell-send-buffer): Use it.
5854
95beaef3
MA
58552013-09-02 Michael Albinus <michael.albinus@gmx.de>
5856
5857 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5858 * net/tramp.el (tramp-user-error): ... here.
5859 (tramp-find-method, tramp-check-proper-host)
5860 (tramp-dissect-file-name, tramp-debug-message)
5861 (tramp-handle-shell-command):
5862 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5863 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5864
5865 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5866
f167c27b
MR
58672013-09-02 Martin Rudalics <rudalics@gmx.at>
5868
5869 * avoid.el (mouse-avoidance-point-position)
5870 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5871 returns nil.
5872
cd16c5f1
FEG
58732013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5874
5875 * progmodes/python.el (python-shell-completion-get-completions):
5876 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 5877 (python-nav-if-name-main): New command.
cd16c5f1 5878
e73c3a0d
GM
58792013-09-01 Glenn Morris <rgm@gnu.org>
5880
f8ccce03
GM
5881 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5882 Avoid leading space in $wins. Otherwise the sed command used by
5883 eg compile-main ends up containing "/*.el". (Bug#15170)
5884
e73c3a0d
GM
5885 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5886
415f808e
GM
58872013-08-30 Glenn Morris <rgm@gnu.org>
5888
5889 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5890 Fix is-this-a-directory logic. (Bug#15220)
5891
f069bba8
SM
58922013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5893
112798c1
SM
5894 * textmodes/css-mode.el: Use SMIE.
5895 (css-smie-grammar): New var.
5896 (css-smie--forward-token, css-smie--backward-token)
5897 (css-smie-rules): New functions.
5898 (css-mode): Use them.
5899 (css-navigation-syntax-table): Remove var.
5900 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5901 (css-indent-calculate, css-indent-line): Remove functions.
5902
5903 Misc changes to reduce use of `(lambda...); and other cleanups.
5904 * cus-edit.el: Use lexical-binding.
5905 (customize-push-and-save, customize-apropos)
5906 (custom-buffer-create-internal): Use closures.
5907 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5908 * progmodes/ada-xref.el: Use setq.
5909 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5910 * dframe.el: Use lexical-binding.
5911 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5912 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5913 * descr-text.el: Use lexical-binding.
5914 (describe-text-widget, describe-text-sexp, describe-property-list):
5915 Use closures.
5916 * comint.el (comint-history-isearch-push-state): Use a closure.
5917 * calculator.el: Use lexical-binding.
5918 (calculator-number-to-string): Make it work with lexical-binding.
5919 (calculator-funcall): Same and use cl-letf.
5920
2da4c3ab
SM
5921 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5922 (lisp--company-doc-string, lisp--company-location): New functions.
5923 (lisp-completion-at-point): Use them to improve Company support.
5924
f069bba8
SM
5925 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5926 params of lambda expressions.
5927 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5928 (ruby-smie--opening-pipe-p): New function.
5929 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5930 symbols and matched |...| for formal params.
5931 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5932 from being treated as hanging. Handle "rescue".
5933
6758b6a8
GM
59342013-08-29 Glenn Morris <rgm@gnu.org>
5935
5936 * progmodes/cc-engine.el (c-pull-open-brace):
5937 Move definition before use.
5938
e8dfd197
SM
59392013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5940
5941 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5942 are immutable. Don't use `unsafe' any more.
5943 (cl--defsubst-expand): Don't substitute at the same time as keeping
5944 a residual unused let-binding. Don't use `unsafe' any more.
5945
cc585c96
GM
59462013-08-29 Glenn Morris <rgm@gnu.org>
5947
ba579ea6
GM
5948 * calendar/cal-china.el (calendar-chinese-year-cache):
5949 Recenter on 2015.
5950
8201a87e
GM
5951 * nxml/nxml-util.el (nxml-debug-clear-inside):
5952 Use cl-loop rather than loop.
5953
6ee877c7
GM
5954 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5955
cc585c96
GM
5956 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5957
27be8d39
GM
59582013-08-28 Glenn Morris <rgm@gnu.org>
5959
397440a1
GM
5960 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5961
2bb762d4
GM
5962 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5963
27be8d39
GM
5964 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5965
2d69b99e
SM
59662013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5967
f663baa7
SM
5968 * simple.el (repeat-complex-command--called-interactively-skip):
5969 New function.
5970 (repeat-complex-command): Use it (bug#14136).
5971
dd4f8b74
SM
5972 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5973 (c-define-abbrev-table): Add `doc' argument.
5974 (c-mode-abbrev-table, c++-mode-abbrev-table)
5975 (objc-mode-abbrev-table, java-mode-abbrev-table)
5976 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5977 (awk-mode-abbrev-table): Use it.
5978 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5979 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5980 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5981 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5982 Move initialization into the declaration; and remove any
5983 autoload cookie.
5984
b58969f7
SM
5985 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5986 and dynamic let binding.
5987
4021d6a6
SM
5988 * vc/smerge-mode.el: Remove redundant :group args.
5989
2d69b99e
SM
5990 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5991 to load-path.
5992
274919fd
JL
59932013-08-28 Juri Linkov <juri@jurta.org>
5994
5995 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5996 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5997 (isearch-other-meta-char): Handle an undefined shifted printing
5998 character by downshifting it. (Bug#15200)
5999
121f8c95
JL
60002013-08-28 Juri Linkov <juri@jurta.org>
6001
6002 * isearch.el (isearch-search): Change regexp error message for
6003 non-regexp searches. (Bug#15166)
6004
50b13cde
PE
60052013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6006
6007 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6008 for portability to hosts where /bin/sh has problems.
6009
95888bca
SM
60102013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6011
6012 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6013
bbe558f1
JL
60142013-08-27 Juri Linkov <juri@jurta.org>
6015
6016 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6017 in the keyboard macro. (Bug#15126)
6018
26f98a7d
JL
60192013-08-27 Juri Linkov <juri@jurta.org>
6020
6021 * isearch.el (isearch-quote-char): Comment out converting unibyte
6022 to multibyte, thus syncing with its `quoted-insert' counterpart.
6023 (Bug#15166)
6024
7c97d35e
MR
60252013-08-27 Martin Rudalics <rudalics@gmx.at>
6026
6027 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
6028 argument in call of get-largest-window (Bug#15185).
6029 Reported by Stephen Leake.
7c97d35e 6030
a0b5606e 60312013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
6032
6033 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6034
9e89d835
SM
60352013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6036
6037 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6038 from a matcher-function unless there's no more matches (bug#15161).
6039
78fc2530
MA
60402013-08-26 Michael Albinus <michael.albinus@gmx.de>
6041
6042 * minibuffer.el: Revert change from 2013-08-20.
6043
6044 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6045 with text property `tramp-default', if appropriate.
6046 (tramp-check-proper-host): New defun.
6047 (tramp-dissect-file-name): Do not check hostname. Revert change
6048 of 2013-03-18.
6049 (tramp-backtrace): Make VEC-OR-PROC optional.
6050
6051 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6052 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6053 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
6054 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6055 Apply `tramp-check-proper-host'.
78fc2530 6056
edca97cd
TH
60572013-08-26 Tassilo Horn <tsdh@gnu.org>
6058
6059 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6060 lambda expression in order to have `describe-variable' display it.
6061
df54bcbd
MA
60622013-08-26 Michael Albinus <michael.albinus@gmx.de>
6063
6064 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6065 BUF can be optional. (Bug#15186)
6066
eed99101
XF
60672013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6068
6069 * progmodes/flymake.el (flymake-get-real-file-name-function):
6070 Fix broken customization. (Bug#15184)
6071
b5eb9035
AM
60722013-08-25 Alan Mackenzie <acm@muc.de>
6073
8a51e842
AM
6074 Improve indentation of bracelists defined by macros (without "=").
6075
6076 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6077 expansion begins with "{", regard it as bracelist when it doesn't
6078 contain a ";".
6079
869455d4
AM
6080 Parse C++ inher-intro when there's a template split over 2 lines.
6081
6082 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6083 rigorously the search for "class" etc. followed by ":".
6084
6085 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6086 random languages a regexp which never matches rather than nil.
6087
b5eb9035
AM
6088 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6089
6090 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6091 (c-awk-regexp-one-line-possibly-open-char-list-re)
6092 (c-awk-one-line-possibly-open-regexp-re)
6093 (c-awk-one-line-non-syn-ws*-re): Remove.
6094 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6095 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6096 (c-awk-space*-unclosed-regexp-/-re): New constants.
6097 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6098 aren't regexp delimiters.
6099
6100 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6101 handling for a rare situation in AWK Mode involving unterminated
6102 strings/regexps.
6103
61611d54
GM
61042013-08-23 Glenn Morris <rgm@gnu.org>
6105
2d85dc34
GM
6106 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6107
cb8d2612
GM
6108 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6109
bb35f42f
GM
6110 * files.el (create-file-buffer): If the result would begin with
6111 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 6112
b9808e77
SM
61132013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6114
e3a66363
SM
6115 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6116 text-properties (bug#15155).
6117
b9808e77
SM
6118 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6119 exist any more.
6120 (calc-keypad-redraw): Remove unused var `pad'.
6121 (calc-keypad-press): Remove unused var `menu'.
6122
7fd5f65e
MR
61232013-08-23 Martin Rudalics <rudalics@gmx.at>
6124
b9808e77
SM
6125 * window.el (display-buffer-pop-up-frame):
6126 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
6127 use it as the new frame's buffer (Bug#15133).
6128
8352b530
SM
61292013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6130
6131 * calendar/timeclock.el: Minor cleanups.
6132 (timeclock-ask-before-exiting, timeclock-use-display-time):
6133 Use `symbol'.
6134 (timeclock-modeline-display): Define as alias before the
6135 actual definition.
6136 (timeclock-mode-line-display): Use define-minor-mode.
6137 (timeclock-day-list-template): Make it a function, add an argument.
6138 (timeclock-day-list-required, timeclock-day-list-length)
6139 (timeclock-day-list-debt, timeclock-day-list-span)
6140 (timeclock-day-list-break): Adjust calls accordingly.
6141
9f7b1925
SM
61422013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6143
6144 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6145 Use read--expression so that completion works again.
6146
6e50e983
SS
61472013-08-21 Sam Steingold <sds@gnu.org>
6148
6149 Add rudimentary inferior shell interaction
6150 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6151 (sh-set-shell): Reset it.
9f7b1925
SM
6152 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6153 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 6154
dbb0d350
SM
61552013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6156
6157 * align.el: Use lexical-binding.
6158 (align-region): Simplify accordingly.
6159
c88586a9
MA
61602013-08-20 Michael Albinus <michael.albinus@gmx.de>
6161
6162 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6163
6164 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6165 `non-essential' up.
6166
f95527c8
MA
61672013-08-17 Michael Albinus <michael.albinus@gmx.de>
6168
6169 * net/tramp.el:
6170 * net/tramp-adb.el:
6171 * net/tramp-cmds.el:
6172 * net/tramp-ftp.el:
6173 * net/tramp-gvfs.el:
6174 * net/tramp-gw.el:
6175 * net/tramp-sh.el: Don't wrap external variable declarations by
6176 `eval-when-compile'.
6177
4b5fe4ee
LMI
61782013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6179
6180 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6181 now that Emacs supports ImageMagick animations.
6182
13c366c9
MA
61832013-08-16 Michael Albinus <michael.albinus@gmx.de>
6184
6185 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6186 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6187
3dfc5cd6
MR
61882013-08-16 Martin Rudalics <rudalics@gmx.at>
6189
6190 * window.el (mouse-autoselect-window-select): Do autoselect when
6191 mouse pointer is on margin.
6192
4bbb4381
WP
61932013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6194
6195 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6196
3a2ddc2d
GM
61972013-08-16 Glenn Morris <rgm@gnu.org>
6198
e8bedf5a
GM
6199 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6200 Handle "Remote Directory" response of some clients. (Bug#15058)
6201
58c4682f
GM
6202 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6203 Tweak warning. (Bug#14926)
6204
57953f49
GM
6205 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6206 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6207
3a2ddc2d
GM
6208 * image-mode.el (image-mode-map): Add menu items to reverse,
6209 increase, decrease, reset animation speed.
6210 (image--set-speed, image-increase-speed, image-decrease-speed)
6211 (image-reverse-speed, image-reset-speed): New functions.
6212 (image-mode-map): Add bindings for speed commands.
6213
6214 * image.el (image-animate-get-speed, image-animate-set-speed):
6215 New functions.
6216 (image-animate-timeout): Respect image :speed property.
6217
10fa0ed3
SM
62182013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6219
6220 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6221 previous line (bug#15101).
6222 (debugger-eval-expression, debugger-record-expression):
6223 Use read--expression (bug#15102).
6224
5d89d9d2
MA
62252013-08-15 Michael Albinus <michael.albinus@gmx.de>
6226
6227 Remove byte compiler warnings, visible when compiling with
6228 `byte-compile-force-lexical-warnings' set to t.
6229
6230 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6231 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6232 (tramp-handle-unhandled-file-name-directory)
6233 (tramp-handle-file-notify-add-watch, tramp-action-login)
6234 (tramp-action-succeed, tramp-action-permission-denied)
6235 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6236 arguments with "_".
6237
6238 * net/tramp-adb.el (tramp-adb-parse-device-names)
6239 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6240 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6241 (tramp-adb-handle-file-truename): Remove unused arguments.
6242
6243 * net/tramp-cache.el (tramp-flush-directory-property)
6244 (tramp-flush-connection-property, tramp-list-connections)
6245 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6246
10fa0ed3
SM
6247 * net/tramp-compat.el (tramp-compat-make-temp-file):
6248 Rename FILENAME to F.
5d89d9d2
MA
6249
6250 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6251 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6252 (tramp-zeroconf-parse-workstation-device-names)
6253 (tramp-zeroconf-parse-webdav-device-names)
6254 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6255
6256 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6257 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6258
6259 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6260 arguments.
6261 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6262 (tramp-sh-handle-insert-file-contents-literally)
6263 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6264 with "_".
6265 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6266 Remove unused variables.
6267
6268 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6269 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6270 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6271
6272 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6273 Make them a defconst.
6274 (tramp-uuencode-region): Remove unused variable.
6275
62f33bae
JB
62762013-08-14 Juanma Barranquero <lekktu@gmail.com>
6277
6278 * frameset.el (frameset--prop-setter): New function.
6279 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
6280 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6281 parameter was already set in FILTERED. Doc fix.
6282 (frameset--record-minibuffer-relationships): Allow saving a
6283 minibufferless frame without its corresponding minibuffer frame.
6284 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6285 frame, if the frame id matches.
6286 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6287 frames before orphaned ones.
6288 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 6289
c660a885
MR
62902013-08-14 Martin Rudalics <rudalics@gmx.at>
6291
6292 * window.el (window-make-atom): Don't overwrite parameter
6293 already present.
6294 (display-buffer-in-atom-window): Handle special case where we
6295 split an already atomic window.
6296 (window--major-non-side-window, display-buffer-in-side-window)
6297 (window--side-check): Ignore minibuffer window when walking
6298 window tree.
6299 (window-deletable-p): Return 'frame only if no other frame uses
6300 our minibuffer window.
6301 (record-window-buffer): Run buffer-list-update-hook.
6302 (split-window): Make sure window--check-frame won't destroy an
6303 existing atomic window in case the new window gets nested
6304 inside.
6305 (display-buffer-at-bottom): Ignore minibuffer window when
6306 walking window tree. Don't split a side window.
6307 (pop-to-buffer): Don't set-buffer here, the select-window call
6308 should do that.
6309 (mouse-autoselect-window-select): Autoselect only if we are in the
6310 text portion of the window.
6311
8259030d
LMI
63122013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6313
21c58ae2
LMI
6314 * net/shr.el (shr-parse-image-data): New function to grab both the
6315 data itself and the Content-Type.
6316 (shr-put-image): Use it.
6317
6318 * net/eww.el (eww-display-image): Ditto.
6319
8259030d
LMI
6320 * image.el (image-content-type-suffixes): New variable.
6321
ad756449
FEG
63222013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6323
6324 * progmodes/python.el (python-imenu--build-tree)
6325 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6326
f73f4ce6
XF
63272013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6328
6329 * simple.el (backward-word): Mention the optional argument.
6330
1f585e65
SM
63312013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6332
6333 * frameset.el (frameset--make): Rename constructor from make-frameset.
6334 (frameset-p, frameset-valid-p): Don't autoload.
6335 (frameset-valid-p): Use normal accessors.
6336
af1c6c84
GM
63372013-08-13 Glenn Morris <rgm@gnu.org>
6338
55e47f95
GM
6339 * progmodes/compile.el (compile-command): Tweak example in doc.
6340 * obsolete/scribe.el (scribe-mode):
6341 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6342
f0024d8c
GM
6343 * mail/feedmail.el (feedmail-confirm-outgoing)
6344 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6345
6346 * cus-start.el (truncate-partial-width-windows): Fix type.
6347
6348 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6349
af1c6c84
GM
6350 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6351
5514cc4c
SM
63522013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6353
6354 * emacs-lisp/timer.el (timer--time-setter): New function.
6355 (timer--time): Use it as gv-setter.
6356
6357 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6358 setter is not a symbol.
6359
7997a2f1
GJ
63602013-08-12 Grégoire Jadi <daimrod@gmail.com>
6361
6362 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6363 if sending fails. This makes debugging easier.
6364
01f1a9ab
JB
63652013-08-12 Juanma Barranquero <lekktu@gmail.com>
6366
6367 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6368 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6369 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6370
594a4307
EZ
63712013-08-12 Eli Zaretskii <eliz@gnu.org>
6372
6373 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6374
7a22490f 63752013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
6376
6377 * format.el (format-annotate-function):
6378 Handle read-only text properties in the source. (Bug#14887)
6379
3e41a054
LMI
63802013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6381
5514cc4c
SM
6382 * net/eww.el (eww-display-html): Ignore coding system errors.
6383 One web site uses "utf-8lias" as the coding system.
3e41a054 6384
7ec326db
JB
63852013-08-11 Juanma Barranquero <lekktu@gmail.com>
6386
6387 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6388
5660113b
JB
63892013-08-10 Juanma Barranquero <lekktu@gmail.com>
6390
9a4ebc74
JB
6391 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6392 (tutorial--detailed-help): Remove unused local variables.
6393 (tutorial--save-tutorial-to): Use ignore-errors.
6394 (help-with-tutorial): Use looking-at-p.
6395
6396 * view.el (view-buffer-other-window, view-buffer-other-frame):
6397 Mark unused arguments.
6398
6399 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6400 (woman-select-symbol-fonts, woman, woman-find-file)
6401 (woman-insert-file-contents, woman-non-underline-faces):
6402 Use string-match-p.
6403 (woman1-unquote): Move declaration.
6404
6405 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6406 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6407 argument. Remove unused local variable.
6408 (xml-parse-elem-type): Use string-match-p.
6409 (xml-substitute-numeric-entities): Use ignore-errors.
6410
45fdb482
JB
6411 * calculator.el (calculator): Mark unused argument.
6412 (calculator-paste, calculator-quit, calculator-integer-p):
6413 Use ignore-errors.
6414 (calculator-string-to-number, calculator-decimal, calculator-exp)
6415 (calculator-op-or-exp): Use string-match-p.
6416
6417 * dired.el (dired-buffer-more-recently-used-p): Declare.
6418 (dired-insert-set-properties, dired-insert-old-subdirs):
6419 Use ignore-errors.
6420
6421 * dired-aux.el (dired-compress): Use ignore-errors.
6422 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6423 (dired-do-async-shell-command, dired-do-shell-command)
6424 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6425 (dired-insert-subdir-validate): Use string-match-p.
6426 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6427 (dired-add-entry): Use string-match-p, looking-at-p.
6428 (dired-insert-subdir-newpos): Remove unused local variable.
6429
6430 * filenotify.el (file-notify-callback): Remove unused local variable.
6431
6432 * filesets.el (filesets-error): Mark unused argument.
6433 (filesets-which-command-p, filesets-filter-dir-names)
6434 (filesets-directory-files, filesets-get-external-viewer)
6435 (filesets-ingroup-get-data): Use string-match-p.
6436
6437 * find-file.el (ff-other-file-name, ff-other-file-name)
6438 (ff-find-the-other-file, ff-cc-hh-converter):
6439 Remove unused local variables.
6440 (ff-get-file-name): Use string-match-p.
6441 (ff-all-dirs-under): Use ignore-errors.
6442
6443 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6444 (follow-select-if-visible): Remove unused local variable.
6445
6446 * forms.el (read-file-filter): Move declaration.
6447 (forms--make-format, forms--make-parser, forms-insert-record):
6448 Quote function with #'.
6449 (forms--update): Use string-match-p. Quote function with #'.
6450
6451 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6452 (help-make-xrefs): Use looking-at-p.
6453 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6454
6455 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6456 (ibuffer-confirm-operation-on): Use string-match-p.
6457
6458 * msb.el (msb-item-handler, msb-dired-item-handler):
6459 Mark unused arguments.
6460
6461 * ses.el (ses-decode-cell-symbol)
6462 (ses-kill-override): Remove unused local variable.
6463 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6464 (ses-load): Use ignore-errors, looking-at-p.
6465 (ses-jump-safe): Use ignore-errors.
6466 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6467
6468 * tabify.el (untabify, tabify): Mark unused arguments.
6469
6470 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6471 Mark unused argument.
6472 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6473 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6474
c880af52
JB
6475 * emacs-lisp/timer.el (timer--time): Define setter with
6476 gv-define-setter to avoid deprecation warning.
6477
5660113b 6478 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 6479 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
6480 (cmpl-statistics-block): Remove (body was commented out).
6481 All callers changed.
6482 (add-completions-from-buffer, load-completions-from-file):
6483 Remove unused variables.
6484
156aab80
JB
64852013-08-09 Juanma Barranquero <lekktu@gmail.com>
6486
5c5dee78
JB
6487 * filecache.el (file-cache-delete-file-list):
6488 Print message only when told so.
6489 (file-cache-files-matching): Use #' in mapconcat argument.
6490
156aab80
JB
6491 * ffap.el (ffap-url-at-point): Fix reference to variable
6492 thing-at-point-default-mail-uri-scheme.
6493
ad9dcd70
SM
64942013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6495
54bd972f
SM
6496 * subr.el (define-error): New function.
6497 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6498 error-file-not-found and define with define-error.
6499 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6500 and define with define-error.
6501 * userlock.el (file-locked, file-supersession):
6502 * simple.el (mark-inactive):
6503 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6504 * progmodes/ada-mode.el (ada-mode-errors):
6505 * play/life.el (life-extinct):
6506 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6507 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6508 * nxml/rng-util.el (rng-error):
6509 * nxml/rng-uri.el (rng-uri-error):
6510 * nxml/rng-match.el (rng-compile-error):
6511 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6512 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6513 * nxml/nxml-rap.el (nxml-scan-error):
6514 * nxml/nxml-outln.el (nxml-outline-error):
6515 * net/soap-client.el (soap-error):
6516 * net/gnutls.el (gnutls-error):
6517 * net/ange-ftp.el (ftp-error):
6518 * mpc.el (mpc-proc-error):
6519 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6520 (json-number-format, json-string-escape, json-string-format)
6521 (json-key-format, json-object-format):
6522 * jka-compr.el (compression-error):
6523 * international/quail.el (quail-error):
6524 * international/kkc.el (kkc-error):
6525 * emacs-lisp/ert.el (ert-test-failed):
6526 * calc/calc.el (calc-error, inexact-result, math-overflow)
6527 (math-underflow):
6528 * bookmark.el (bookmark-error-no-filename):
6529 * epg.el (epg-error): Define with define-error.
6530
0ea9e53a
SM
6531 * time.el (display-time-event-handler)
6532 (display-time-next-load-average): Don't call sit-for since it seems
6533 unnecessary (bug#15045).
6534
b0429158
SM
6535 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6536 Use #' instead of ' to quote functions.
6537 (checkdoc-output-mode): Use setq-local.
6538 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6539 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6540 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6541 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6542 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6543 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6544 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6545 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6546
ad9dcd70
SM
6547 * ido.el (ido-completion-help): Fix up compiler warning.
6548
77187e6f
JB
65492013-08-09 Juanma Barranquero <lekktu@gmail.com>
6550
6551 * frameset.el (frameset-p): Add autoload cookie.
6552 (frameset--jump-to-register): New function, based on code moved from
6553 register.el.
6554 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6555
6556 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6557 (frameset-restore, frameset-save, frameset-session-filter-alist):
6558 Remove declarations.
6559 (register-alist): Doc fix.
6560 (frameset-to-register): Move to frameset.el.
6561 (jump-to-register, describe-register-1): Remove frameset-specific code.
6562
9d3aa82c
JB
65632013-08-08 Juanma Barranquero <lekktu@gmail.com>
6564
6565 * allout-widgets.el (allout-widgets-pre-command-business)
6566 (allout-widgets-post-command-business)
6567 (allout-widgets-after-change-handler)
6568 (allout-decorate-item-and-context, allout-set-boundary-marker)
6569 (allout-body-modification-handler)
6570 (allout-graphics-modification-handler): Mark ignored arguments.
6571 (allout-widgets-post-command-business)
6572 (allout-widgets-exposure-change-processor)
6573 (allout-widgets-exposure-undo-processor)
6574 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6575 (allout-parse-item-at-point, allout-decorate-item-guides)
6576 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6577 * allout.el (epa-passphrase-callback-function): Declare.
6578 (allout-overlay-insert-in-front-handler)
6579 (allout-overlay-interior-modification-handler)
6580 (allout-isearch-end-handler, allout-chart-siblings)
6581 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6582 (allout-yank-processing, allout-process-exposed)
6583 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 6584 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
6585 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6586 (lisp-indent-defform): Mark ignored arguments.
6587 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6588 (calculate-lisp-indent): Remove unused variables.
6589 * international/characters.el (indian-2-column, arabic-2-column)
6590 (tibetan): Mark ignored arguments.
6591 (use-cjk-char-width-table): Mark ignored arguments.
6592 Remove unused variables.
6593 * international/fontset.el (build-default-fontset-data)
6594 (x-compose-font-name, create-fontset-from-fontset-spec):
6595 Mark ignored arguments.
6596 (fontset-plain-name): Remove unused variables.
6597 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6598 (keyboard-coding-system): Mark ignored arguments.
6599 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6600 * help.el (resize-temp-buffer-window):
6601 * window.el (display-buffer-in-major-side-window)
6602 (display-buffer-in-side-window, display-buffer-in-previous-window):
6603 Remove unused variables.
6604 * isearch.el (isearch-forward-symbol):
6605 * version.el (emacs-bzr-version-bzr):
6606 * international/mule-cmds.el (current-language-environment):
6607 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6608 (x-handle-display):
6609 * term/pc-win.el (x-list-fonts, x-display-planes)
6610 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6611 (x-server-version, x-display-screens, x-display-mm-height)
6612 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6613 (x-selection-owner-p, x-own-selection-internal)
6614 (x-disown-selection-internal, x-get-selection-internal)
6615 (msdos-initialize-window-system):
6616 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6617 * term/x-win.el (x-handle-no-bitmap-icon):
6618 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6619 (vc-default-find-file-hook, vc-default-extra-menu):
6620 Mark ignored arguments.
6621
0ca3f70e
SM
66222013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6623
6624 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6625 break-condition in the context of the debugged code (bug#12685).
6626
74c5d24c
CS
66272013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6628
6629 * comint.el:
6630 Do not use an overlay to highlight the last prompt. (Bug#14744)
6631 (comint-mode): Make comint-last-prompt buffer local.
6632 (comint-last-prompt): New variable.
6633 (comint-last-prompt-overlay): Remove. Superseded by
6634 comint-last-prompt.
0ca3f70e
SM
6635 (comint-snapshot-last-prompt, comint-output-filter):
6636 Use comint-last-prompt.
74c5d24c 6637
c03c02ee
JB
66382013-08-08 Juanma Barranquero <lekktu@gmail.com>
6639
a3738d20 6640 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
6641 (frameset-save): Check validity of the resulting frameset.
6642
04263d23
XF
66432013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6644
6645 * ido.el (ido-record-command): Add doc string.
6646
76c5e5ab
JB
66472013-08-08 Juanma Barranquero <lekktu@gmail.com>
6648
6649 * frameset.el (frameset): Do not disable creation of the default
6650 frameset-p predicate. Doc fix.
6651 (frameset-valid-p): New function, copied from the old predicate-p.
6652 Add additional checks.
6653 (frameset-restore): Check with frameset-valid-p.
6654 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6655 (frameset-name, frameset-description, frameset-properties)
6656 (frameset-states): Add docstring.
f9dbf1cb
JB
6657 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6658 (frameset-filter-alist): Doc fixes.
76c5e5ab 6659
bd0c3c0b
JB
66602013-08-08 Juanma Barranquero <lekktu@gmail.com>
6661
6662 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6663
c735544c
SM
66642013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6665
6666 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6667 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6668 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6669 (byte-compile-normal-call): Remove obsolescence check.
6670
2805a651
JB
66712013-08-08 Juanma Barranquero <lekktu@gmail.com>
6672
3677ffeb
JB
6673 * frameset.el (frameset-restore): Doc fix.
6674
2805a651
JB
6675 * register.el (frameset-frame-id, frameset-frame-with-id)
6676 (frameset-p, frameset-restore, frameset-save): Declare.
6677 (register-alist): Document framesets.
6678 (frameset-session-filter-alist): Declare.
6679 (frameset-to-register): New function.
6680 (jump-to-register): Implement jumping to framesets. Doc fix.
6681 (describe-register-1): Describe framesets.
6682
6683 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6684
a912c016
JB
66852013-08-07 Juanma Barranquero <lekktu@gmail.com>
6686
6687 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6688 Use lexical-binding.
6689
6690 * frameset.el (frameset): Use type vector, not list (incompatible
6691 change). Do not declare a new constructor, use the default one.
6692 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6693 `name' and `description', respectively, and add read-only slot
6694 `timestamp'. Doc fixes.
6695 (frameset-copy, frameset-persistent-filter-alist)
6696 (frameset-filter-alist, frameset-switch-to-gui-p)
6697 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6698 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6699 (frameset-filter-iconified, frameset-keep-original-display-p):
6700 Doc fixes.
6701 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6702 Rename from frameset-filter-(save|restore)-param. All callers changed.
6703 Doc fix.
6704 (frameset-p): Adapt to change to vector and be more thorough.
6705 Change arg name to OBJECT. Doc fix.
6706 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6707 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6708 All callers changed.
6709 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6710 All callers changed.
6711 (frameset--record-minibuffer-relationships): Rename from
6712 frameset--process-minibuffer-frames. All callers changed.
6713 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6714 Use new default constructor (again). Doc fix.
6715 (frameset--find-frame-if): Rename from `frameset--find-frame.
6716 All callers changed.
6717 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6718 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6719 Doc fix.
6720 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6721 PARAMETERS and WINDOW-STATE, respectively.
6722 (frameset-restore): Add new keyword argument PREDICATE.
6723 Reset frameset--target-display to nil. Doc fix.
6724
bb41480a
SM
67252013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6726
f001e98e
SM
6727 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6728 (bat-mode): Use it.
6729 (bat-mode-syntax-table): Mark \n as end-of-comment.
6730 (bat-font-lock-keywords): Remove comment rule.
6731
7679edb1
SM
6732 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6733 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6734
bb41480a
SM
6735 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6736 (byte-compile-callargs-warn): Use `push'.
6737 (byte-compile-arglist-warn): Ignore higher-order "calls".
6738 (byte-compile-file-form-autoload): Use `pcase'.
6739 (byte-compile-function-form): If quoting a symbol, check that it exists.
6740
cdc1ebb9
EZ
67412013-08-07 Eli Zaretskii <eliz@gnu.org>
6742
6743 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6744 and add a few popular commands found in batch files.
6745 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6746 (dos-mode): Doc fixes.
6747
312b1740
SM
67482013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6749
6750 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6751 (dos-mode): Use setq-local. Add space after "rem".
6752 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6753 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6754
400a3178
AM
67552013-08-07 Arni Magnusson <arnima@hafro.is>
6756
6757 * progmodes/dos.el: New file.
6758 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6759 dos-mode.
6760
3b5c03d3
GM
67612013-08-06 Glenn Morris <rgm@gnu.org>
6762
6763 * calendar/calendar.el: Add new faces, and day-header-array.
6764 (calendar-weekday-header, calendar-weekend-header)
6765 (calendar-month-header): New faces.
6766 (calendar-day-header-construct): New function.
6767 (calendar-day-header-width): Also :set calendar-day-header-array.
6768 (calendar-american-month-header, calendar-european-month-header)
6769 (calendar-iso-month-header): Use calendar- faces.
6770 (calendar-generate-month):
6771 Use calendar-day-header-array for day headers; apply faces to them.
6772 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6773 (calendar-abbrev-construct): Add optional maxlen argument.
6774 (calendar-day-name-array): Doc fix.
6775 (calendar-day-name-array, calendar-abbrev-length)
6776 (calendar-day-abbrev-array):
6777 Also :set calendar-day-header-array, and maybe redraw.
6778 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 6779 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
6780 (calendar-day-name): Add option to use header array.
6781
ec6a2d7a
LMI
67822013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6783
6784 * net/shr.el (shr-render-td): Remove debugging.
6785 (shr-render-td): Make width computation consistent by defaulting
6786 all zero-width columns to 10 characters. This may not be optimal,
6787 but it's at least consistent.
2122cb6d
LMI
6788 (shr-make-table-1): Redo last change to fix the real problem in
6789 colspan handling.
ec6a2d7a 6790
ed4fd9c5
DA
67912013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6792
0ca3f70e
SM
6793 * files.el (cache-long-line-scans):
6794 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 6795
64e22afe
JB
67962013-08-06 Juanma Barranquero <lekktu@gmail.com>
6797
024b38fc
JB
6798 * frameset.el (frameset, frameset-filter-alist)
6799 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6800 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6801 (frameset-compute-pos): Rename from frameset--compute-pos,
6802 and add docstring.
6803 (frameset-move-onscreen): Use frameset-compute-pos.
6804 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6805
64e22afe
JB
6806 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6807 Fix typos in docstrings.
6808
c8c2aca8
DA
68092013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6810
6811 * frame.el (get-other-frame): Tiny cleanup.
6812
1d237bba
JB
68132013-08-06 Juanma Barranquero <lekktu@gmail.com>
6814
8951efef
JB
6815 * vc/vc.el (vc-default-ignore-completion-table):
6816 Silence byte-compiler warning.
6817
307764cc 6818 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 6819 slot, which can indeed be nil.
307764cc
JB
6820 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6821 Move entry for `left' from persistent to live filter alist.
6822 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6823 Doc fixes.
6824 (frameset-filter-params): When restoring a frame, copy items added to
6825 `filtered', to avoid unwittingly modifying the original parameters.
6826 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6827 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6828
1d237bba
JB
6829 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6830 to use looking-at-p instead of looking-at. (Bug#15028)
6831
dc6c0eda
SM
68322013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6833
6834 Revert introduction of isearch-filter-predicates (bug#14714).
6835 Rely on add-function instead.
6836 * isearch.el (isearch-filter-predicates): Rename it back to
6837 isearch-filter-predicate.
6838 (isearch-message-prefix): Use advice-function-mapc and advice
6839 properties to get the isearch-message-prefix.
6840 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6841 instead of run-hook-with-args-until-failure.
6842 (isearch-filter-visible): Not obsolete any more.
6843 * loadup.el: Preload nadvice.
6844 * replace.el (perform-replace): Revert to funcall
6845 instead of run-hook-with-args-until-failure.
6846 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6847 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6848 dired-isearch-filenames-toggle; make it into a proper minor mode.
6849 Use add/remove-function.
6850 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6851 Call the minor-mode rather than add/remove-hook.
6852 (dired-isearch-filter-filenames):
6853 Remove isearch-message-prefix property.
6854 * info.el (Info--search-loop): New function, extracted from Info-search.
6855 Funcall isearch-filter-predicate instead of
6856 run-hook-with-args-until-failure isearch-filter-predicates.
6857 (Info-search): Use it.
6858 (Info-mode): Use isearch-filter-predicate instead of
6859 isearch-filter-predicates.
6860
290d5b58
DA
68612013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6862
6863 Do not call to `selected-window' where it is assumed by default.
6864 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6865 `window-hscroll', `window-width', `window-height', `window-buffer',
6866 `window-frame', `window-start', `window-point', `next-window'
6867 and `window-display-table'.
6868 * abbrev.el (abbrev--default-expand):
6869 * bs.el (bs--show-with-configuration):
6870 * buff-menu.el (Buffer-menu-mouse-select):
6871 * calc/calc.el (calc):
6872 * calendar/calendar.el (calendar-generate-window):
6873 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6874 (diary-make-entry):
6875 * comint.el (send-invisible, comint-dynamic-complete-filename)
6876 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6877 * completion.el (complete):
6878 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6879 * disp-table.el (describe-current-display-table):
6880 * doc-view.el (doc-view-insert-image):
6881 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6882 * ehelp.el (with-electric-help):
6883 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6884 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6885 * emacs-lisp/helper.el (Helper-help-scroller):
6886 * emulation/cua-base.el (cua--post-command-handler-1):
6887 * eshell/esh-mode.el (eshell-output-filter):
6888 * ffap.el (ffap-gnus-wrapper):
6889 * help-macro.el (make-help-screen):
6890 * hilit-chg.el (highlight-compare-buffers):
6891 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6892 * hl-line.el (global-hl-line-highlight):
6893 * icomplete.el (icomplete-simple-completing-p):
6894 * isearch.el (isearch-done):
6895 * jit-lock.el (jit-lock-stealth-fontify):
6896 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 6897 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
6898 * mpc.el (mpc-tagbrowser, mpc):
6899 * net/rcirc.el (rcirc-any-buffer):
6900 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6901 * play/landmark.el (landmark-max-width, landmark-max-height):
6902 * play/zone.el (zone):
6903 * progmodes/compile.el (compilation-goto-locus):
6904 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6905 * progmodes/etags.el (find-tag-other-window):
6906 * progmodes/fortran.el (fortran-column-ruler):
6907 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6908 * progmodes/verilog-mode.el (verilog-point-text):
6909 * reposition.el (reposition-window):
6910 * rot13.el (toggle-rot13-mode):
6911 * server.el (server-switch-buffer):
6912 * shell.el (shell-dynamic-complete-command)
6913 (shell-dynamic-complete-environment-variable):
6914 * simple.el (insert-buffer, set-selective-display)
6915 (delete-completion-window):
6916 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6917 (speedbar-recenter):
6918 * startup.el (fancy-splash-head):
6919 * textmodes/ispell.el (ispell-command-loop):
6920 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6921 * tutorial.el (help-with-tutorial):
6922 * vc/add-log.el (add-change-log-entry):
6923 * vc/compare-w.el (compare-windows):
6924 * vc/ediff-help.el (ediff-indent-help-message):
6925 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6926 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6927 (ediff-setup-control-frame):
6928 * vc/emerge.el (emerge-position-region):
6929 * vc/pcvs-util.el (cvs-bury-buffer):
6930 * window.el (walk-windows, mouse-autoselect-window-select):
6931 * winner.el (winner-set-conf, winner-undo): Related users changed.
6932
38276e01
JB
69332013-08-05 Juanma Barranquero <lekktu@gmail.com>
6934
6935 * frameset.el (frameset--set-id): Doc fix.
6936 (frameset-frame-id, frameset-frame-id-equal-p)
6937 (frameset-locate-frame-id): New functions.
6938 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6939 (frameset-restore): Use them.
6940
12b4c0ea
DA
69412013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6942
6943 Do not call to `selected-frame' where it is assumed by default.
6944 Affected functions are `raise-frame', `redraw-frame',
6945 `frame-first-window', `frame-terminal' and `delete-frame'.
6946 * calendar/appt.el (appt-disp-window):
6947 * epg.el (epg-wait-for-completion):
6948 * follow.el (follow-delete-other-windows-and-split)
6949 (follow-avoid-tail-recenter):
6950 * international/mule.el (set-terminal-coding-system):
6951 * mail/rmail.el (rmail-mail-return):
6952 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6953 * progmodes/f90.el (f90-add-imenu-menu):
6954 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6955 * server.el (server-switch-buffer):
6956 * simple.el (delete-completion-window):
6957 * talk.el (talk):
6958 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6959 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6960 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6961 * vc/ediff.el (ediff-documentation): Related users changed.
6962 * frame.el (selected-terminal): Remove the leftover.
6963
17f25e76
GM
69642013-08-05 Glenn Morris <rgm@gnu.org>
6965
6966 * calendar/calendar.el (calendar-generate-month):
6967 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
6968 (calendar-generate-month, calendar-font-lock-keywords):
6969 Fix for calendar-day-header-width > length of any day name.
17f25e76 6970
063233c3
JB
69712013-08-05 Juanma Barranquero <lekktu@gmail.com>
6972
6973 * desktop.el (desktop-clear): Use new name of sort predicate.
6974
6975 * frameset.el (frameset): Add docstring. Move :version property to its
6976 own `version' slot.
6977 (frameset-copy): Rename from copy-frameset.
6978 (frameset-p): Check more thoroughly.
6979 (frameset-prop): Do not check for :version, which is no longer a prop.
6980 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6981 Use new :never value instead of t.
6982 (frameset-filter-alist): Expand and clarify docstring.
6983 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6984 (frameset-filter-minibuffer, frameset-filter-save-param)
6985 (frameset-filter-restore-param, frameset-filter-iconified):
6986 Add pointer to docstring of frameset-filter-alist.
6987 (frameset-filter-params): Rename filter values to be more meaningful:
6988 :never instead of t, and reverse the meanings of :save and :restore.
6989 (frameset--process-minibuffer-frames): Clarify error message.
6990 (frameset-save): Avoid unnecessary and confusing call to framep.
6991 Use new BOA constructor for framesets.
6992 (frameset--reuse-list): Doc fix.
6993 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6994 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6995 (frameset-minibufferless-first-p): Doc fix.
6996 Rename from frameset-sort-frames-for-deletion.
6997 (frameset-restore): Doc fixes. Use new function names.
6998 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6999
d5671a82
JB
70002013-08-04 Juanma Barranquero <lekktu@gmail.com>
7001
7002 * desktop.el (desktop-restore-forces-onscreen)
7003 (desktop-restore-reuses-frames): Document :keyword constant values.
7004 (desktop-filter-parameters-alist): Remove, now identical to
7005 frameset-filter-alist.
7006 (desktop--filter-tty*): Remove, moved to frameset.el.
7007 (desktop-save-frameset, desktop-restore-frameset):
7008 Do not pass :filters argument.
7009
7010 * frameset.el (frameset-live-filter-alist)
7011 (frameset-persistent-filter-alist): New variables.
7012 (frameset-filter-alist): Use them. Add autoload cookie.
7013 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7014 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7015 `frameset--id' (it's supposed to be internal to frameset.el).
7016 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7017 (frameset--initial-params): New function.
7018 (frameset--get-frame): Use it. Doc fix.
7019 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7020 Accept :all, not 'all.
7021 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7022 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7023 with fbound symbols. Fix frame id matching, and remove matching ids if
7024 the frame being restored is deleted. Obey :delete.
7025
671d5c16
SM
70262013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7027
7028 * subr.el (macrop): New function.
7029 (text-clone--maintaining): New var.
7030 (text-clone--maintain): Rename from text-clone-maintain. Use it
7031 instead of inhibit-modification-hooks.
7032
7033 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7034 a proxy, so as handle autoloads and redefinitions of the target.
7035 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7036
7037 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7038 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7039 (pcase--mutually-exclusive-p): New function.
7040 (pcase--split-consp): Use it.
7041 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7042 mutually exclusive with the current predicate.
7043
7044 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7045 (edebug-macrop): Remove. Use `macrop' instead.
7046 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7047 (ad-macro-p):
7048 * eshell/esh-cmd.el (eshell-macrop):
7049 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7050
1d44e9dc
SM
70512013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7052
7053 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7054 (advice-mapc): New function, using it.
7055 (advice-function-member-p): New function.
7056 (advice--normalize): Store the cdr in advice--saved-rewrite since
7057 that's the part that will be changed.
7058 (advice--symbol-function): New function.
7059 (advice-remove): Handle removal before the function is defined.
7060 Adjust to new advice--saved-rewrite.
7061 (advice-member-p): Use advice-function-member-p and
7062 advice--symbol-function.
7063
5414a283
JB
70642013-08-04 Juanma Barranquero <lekktu@gmail.com>
7065
51d30f2c
JB
7066 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7067 (frameset-filter-minibuffer): Doc fix.
7068 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
7069 (frameset--set-id, frameset--process-minibuffer-frames)
7070 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7071 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 7072
5414a283
JB
7073 * desktop.el (desktop-clear): Only delete frames when called
7074 interactively and desktop-restore-frames is non-nil. Doc fix.
7075 (desktop-read): Set desktop-saved-frameset to nil.
7076
ab419665
XF
70772013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7078
7079 * vc/vc.el (vc-ignore): Rewrite.
7080 (vc-default-ignore-completion-table):
7081 (vc--read-lines):
7082 (vc--add-line, vc--remove-regexp): New functions.
7083
7084 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7085 (vc-svn-ignore-completion-table): New function.
7086
7087 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7088 (vc-hg-ignore-completion-table):
7089 (vc-hg-find-ignore-file): New functions.
7090
7091 * vc/vc-git.el (vc-git-ignore): Rewrite.
7092 (vc-git-ignore-completion-table):
7093 (vc-git-find-ignore-file): New functions.
7094
7095 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7096
7097 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7098 (vc-bzr-ignore-completion-table):
7099 (vc-bzr-find-ignore-file): New functions.
7100
2613dea2
JB
71012013-08-03 Juanma Barranquero <lekktu@gmail.com>
7102
7103 * frameset.el (frameset-prop): New function and setter.
7104 (frameset-save): Do not modify frame list passed by the caller.
7105
9c959872
SM
71062013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7107
7108 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7109
a104f656
SM
71102013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7111
70122acf
SM
7112 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7113 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7114
a104f656
SM
7115 * custom.el (custom-initialize-default, custom-initialize-set)
7116 (custom-initialize-reset, custom-initialize-changed): Affect the
7117 toplevel-default-value (bug#6275, bug#14586).
7118 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7119 for bug#6275.
7120
f078d570
JB
71212013-08-02 Juanma Barranquero <lekktu@gmail.com>
7122
185e3b5a
JB
7123 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7124 Add cl-def* expressions.
7125
f078d570
JB
7126 * frameset.el (frameset-filter-params): Fix order of arguments.
7127
9421876d
JB
71282013-08-02 Juanma Barranquero <lekktu@gmail.com>
7129
7130 Move code related to saving frames to frameset.el.
7131 * desktop.el: Require frameset.
7132 (desktop-restore-frames): Doc fix.
7133 (desktop-restore-reuses-frames): Rename from
7134 desktop-restoring-reuses-frames.
7135 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7136 (desktop-clear): Clear frames too.
7137 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7138 (desktop--filter-tty*, desktop-save, desktop-read):
7139 Use frameset functions.
7140 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7141 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7142 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7143 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7144 (desktop--process-minibuffer-frames, desktop-save-frames)
7145 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7146 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7147 (desktop--sort-states, desktop-restoring-frames-p)
7148 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7149 (desktop-restoring-frameset-p, desktop-restore-frameset)
7150 (desktop--check-dont-save, desktop-save-frameset): New functions.
7151 (desktop--app-id): New constant.
7152 (desktop-first-buffer, desktop-buffer-ok-count)
7153 (desktop-buffer-fail-count): Move before first use.
7154 * frameset.el: New file.
7155
76dc5996
SM
71562013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7157
7158 * files.el: Use lexical-binding.
7159 (dir-locals-read-from-file): Remove unused `err' variable.
7160 (hack-dir-local-variables--warned-coding): New var.
7161 (hack-dir-local-variables): Use it to avoid repeated warnings.
7162 (make-backup-file-name--default-function): New function.
7163 (make-backup-file-name-function): Use it as default.
7164 (buffer-stale--default-function): New function.
7165 (buffer-stale-function): Use it as default.
7166 (revert-buffer-insert-file-contents--default-function): New function.
7167 (revert-buffer-insert-file-contents-function): Use it as default.
7168 (insert-directory): Avoid add-to-list.
7169
7170 * autorevert.el (auto-revert-handler): Simplify.
7171 Use buffer-stale--default-function.
7172
06d36e2b
TH
71732013-08-01 Tassilo Horn <tsdh@gnu.org>
7174
5f648ab4
TH
7175 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7176
06d36e2b
TH
7177 * whitespace.el (whitespace-ensure-local-variables): New function.
7178 (whitespace-cleanup-region): Call it.
7179 (whitespace-turn-on): Call it.
7180
a43dc424
MA
71812013-08-01 Michael Albinus <michael.albinus@gmx.de>
7182
7183 Complete file name handlers.
7184
7185 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7186 (tramp-handle-verify-visited-file-modtime)
7187 (tramp-handle-file-notify-rm-watch): New functions.
7188 (tramp-call-process): Do not bind `default-directory'.
7189
44e18199
JB
7190 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7191 Order alphabetically.
a43dc424
MA
7192 [access-file, add-name-to-file, dired-call-process]:
7193 [dired-compress-file, file-acl, file-notify-rm-watch]:
7194 [file-ownership-preserved-p, file-selinux-context]:
7195 [make-directory-internal, make-symbolic-link, set-file-acl]:
7196 [set-file-selinux-context, set-visited-file-modtime]:
7197 [verify-visited-file-modtime]: Add handler.
7198 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7199
7200 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7201 [file-notify-add-watch, file-notify-rm-watch]:
7202 [set-file-times, set-visited-file-modtime]:
7203 [verify-visited-file-modtime]: Add handler.
7204 (with-tramp-gvfs-error-message)
7205 (tramp-gvfs-handle-set-visited-file-modtime)
7206 (tramp-gvfs-fuse-file-name): Remove.
7207 (tramp-gvfs-handle-file-notify-add-watch)
7208 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7209 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7210
44e18199
JB
7211 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7212 Order alphabetically.
a43dc424
MA
7213 [file-notify-rm-watch ]: Use default Tramp handler.
7214 [executable-find]: Remove private handler.
7215 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7216 `default-directory'.
7217 (tramp-sh-handle-executable-find)
7218 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7219 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7220 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7221 Do not use `format' in `tramp-message'.
7222
7223 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7224 [file-notify-rm-watch, set-visited-file-modtime]:
7225 [verify-visited-file-modtime]: Add handler.
7226 (tramp-smb-call-winexe): Do not bind `default-directory'.
7227
7188b515
XF
72282013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7229
7230 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7231
2412ee1a
DG
72322013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7233
7234 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7235 use it.
7236 (log-view-diff-changeset): Same.
7237 (log-view-diff-common): Call backend command `previous-revision'
7238 to find out the previous revision, in both cases. Swap the
7239 variables `to' and `fr', so that `fr' usually refers to the
7240 earlier revision (Bug#14989).
7241
5002a754
KRC
72422013-07-31 Kan-Ru Chen <kanru@kanru.info>
7243
7244 * ibuf-ext.el (ibuffer-filter-by-filename):
7245 Make it work with dired buffers too.
7246
44e18199 72472013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
7248
7249 * emacs-lisp/re-builder.el (reb-color-display-p):
7250 * files.el (save-buffers-kill-terminal):
7251 * net/browse-url.el (browse-url):
7252 * server.el (server-save-buffers-kill-terminal):
7253 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7254 Prefer nil to selected-frame for the first arg of frame-parameter.
7255
aeca3fbb
XF
72562013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7257
7258 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7259
158bc55c
SB
72602013-07-30 Stephen Berman <stephen.berman@gmx.net>
7261
7262 * minibuffer.el (completion--twq-all): Try and preserve each
7263 completion's case choice (bug#14907).
7264
d50fceab
LMI
72652013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7266
ac38e731
LMI
7267 * net/network-stream.el (open-network-stream): Mention the new
7268 :nogreeting parameter.
7269 (network-stream-open-starttls): Use the :nogreeting parameter
7270 (bug#14938).
7271
1211de50
LMI
7272 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7273
997798bf
LMI
7274 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7275 more natural than popping.
7276
d50fceab 7277 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 7278 (shr-urlify): Highlight under mouse.
d50fceab 7279
5c09de04
XF
72802013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7281
207d1d04
XF
7282 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7283
7284 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7285
5c09de04
XF
7286 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7287 buffer for output.
7288
3cd51eaa
XF
7289 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7290 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 7291
44e18199 7292 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 7293 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
7294
7295 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7296
7297 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7298 buffer for output.
7299
35a89bdd
EZ
73002013-07-29 Eli Zaretskii <eliz@gnu.org>
7301
7302 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7303 initial frame is minibuffer-less. (Bug#14841)
7304
78822e94
MA
73052013-07-29 Michael Albinus <michael.albinus@gmx.de>
7306
7307 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7308 option.
7309
7310 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7311 (tramp-maybe-open-connection): Use it.
7312
9503c190
JB
73132013-07-28 Juanma Barranquero <lekktu@gmail.com>
7314
7315 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7316 minimal set of parameters passed when creating a frame, because
7317 the minibuffer status of a frame cannot be changed later.
7318
d5a845b4
SB
73192013-07-28 Stephen Berman <stephen.berman@gmx.net>
7320
7321 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7322 replace-regexp-in-string and inadvertent omissions in previous change.
7323 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 7324 name of filtered items buffer.
d5a845b4 7325
ddeffb17
JB
73262013-07-28 Juanma Barranquero <lekktu@gmail.com>
7327
7328 * desktop.el: Optionally force offscreen frames back onscreen.
7329 (desktop-restoring-reuses-frames): New option.
7330 (desktop--compute-pos, desktop--move-onscreen): New functions.
7331 (desktop--make-frame): Use desktop--move-onscreen.
7332
f5950f7a
AM
73332013-07-27 Alan Mackenzie <acm@muc.de>
7334
7335 Fontify a Java generic method as a function.
7336 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7337 value to t.
7338
ae43b66a
SB
73392013-07-27 Stephen Berman <stephen.berman@gmx.net>
7340
7341 * calendar/todo-mode.el: Add command to rename todo files.
7342 (todo-rename-file): New command.
7343 (todo-key-bindings-t): Add key binding for it. Change the
7344 bindings of todo-filter-regexp-items(-multifile) to use `x'
7345 instead of `r', since the latter is better suited to the new
7346 renaming command.
7347
5ab78d3d
AM
73482013-07-27 Alan Mackenzie <acm@muc.de>
7349
7350 Make Java try-with-resources statement parse properly.
7351 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7352 (c-block-stmt-1-2-key): New language constants/variables.
7353 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7354 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7355 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 7356 with c-block-stmt-1-2-key.
5ab78d3d 7357
d85c4d50
JB
73582013-07-27 Juanma Barranquero <lekktu@gmail.com>
7359
7360 * desktop.el (desktop--make-frame): Apply most frame parameters after
7361 creating the frame to force (partially or totally) offscreen frames to
7362 be restored as such.
7363
e4c467f9
XF
73642013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7365
7366 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 7367 (Bug#14948)
e4c467f9 7368
7ced0d04
SM
73692013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7370
7371 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7372 `base' arg of backtrace-frame.
7373
fec92060
EZ
73742013-07-26 Eli Zaretskii <eliz@gnu.org>
7375
7376 * simple.el (list-processes): Doc fix.
7377
d58d31fb
JB
73782013-07-26 Juanma Barranquero <lekktu@gmail.com>
7379
7380 * desktop.el (desktop--select-frame):
d85c4d50 7381 Try harder to reuse existing frames.
d58d31fb 7382
53ff3e77
SM
73832013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7384
7385 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7386 (edebug-eval): Use backtrace-eval.
7387 (edebug--display, edebug--recursive-edit): Don't let-bind the
7388 edebug-outer-* vars that keep track of variables we locally let-bind.
7389 (edebug-outside-excursion): Don't restore outside values of locally
7390 let-bound vars.
7391 (edebug--display): Use user-error.
7392 (cl-lexical-debug, cl-debug-env): Remove.
7393
045f7a53
JB
73942013-07-26 Juanma Barranquero <lekktu@gmail.com>
7395
7396 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7397 are restored to be sure that they are visible before deleting any
7398 remaining ones.
7399
59070b32
MM
74002013-07-26 Matthias Meulien <orontee@gmail.com>
7401
742a3501
XF
7402 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7403 vc-print-root-log. (Bug#14948)
59070b32 7404
b1fb3596
RS
74052013-07-26 Richard Stallman <rms@gnu.org>
7406
7407 Add aliases for encrypting mail.
7408 * epa.el (epa-mail-aliases): New option.
7409 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7410 Bind inhibit-read-only so read-only text doesn't ruin everything.
7411 (epa-mail-default-recipients): New subroutine broken out.
7412 Handle epa-mail-aliases.
7413
56ea7291
SM
74142013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7415
7416 Add support for lexical variables to the debugger's `e' command.
7417 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7418 vars, except for debugger-outer-match-data.
7419 (debugger-frame-number): Move check for "on a function call" from
7420 callers into it. Add `skip-base' argument.
7421 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7422 (debugger-env-macro): Only reset the state stored in non-variables,
7423 i.e. current-buffer and match-data.
7424 (debugger-eval-expression): Rewrite using backtrace-eval.
7425 * subr.el (internal--called-interactively-p--get-frame): Remove.
7426 (called-interactively-p):
7427 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7428 `base' arg of backtrace-frame instead.
7429
15ac32d5
GM
74302013-07-26 Glenn Morris <rgm@gnu.org>
7431
8358a09d
GM
7432 * align.el (align-regexp): Doc fix. (Bug#14857)
7433 (align-region): Explicit error if subexpression missing/does not match.
7434
15ac32d5
GM
7435 * simple.el (global-visual-line-mode):
7436 Do not duplicate the mode lighter. (Bug#14858)
7437
f47ad11b
MR
74382013-07-25 Martin Rudalics <rudalics@gmx.at>
7439
7440 * window.el (display-buffer): In display-buffer bind
7441 split-window-keep-point to t, bug#14829.
7442
02530987
JB
74432013-07-25 Juanma Barranquero <lekktu@gmail.com>
7444
7445 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7446 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7447 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7448 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7449 Change accordingly.
f63ebeb5
JB
7450 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7451 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 7452
6ccb9cab 74532013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 7454
6ccb9cab 7455 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 7456
cb3a56d2
JB
74572013-07-25 Juanma Barranquero <lekktu@gmail.com>
7458
7459 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7460 parameter to modify-frame-parameters if the value has not changed;
7461 this is a workaround for bug#14949.
7462 (desktop--make-frame): On cl-delete-if call, check parameter name,
7463 not full parameter.
7464
7aa7fff0
XF
74652013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7466
7467 * vc/vc.el (vc-ignore): New function.
7468
7469 * vc/vc-svn.el (vc-svn-ignore): New function.
7470
7471 * vc/vc-hg.el (vc-hg-ignore): New function.
7472
7473 * vc/vc-git.el (vc-git-ignore): New function.
7474
7475 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7476 (vc-dir-ignore): New function.
7477
7478 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 7479 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
7480
7481 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7482
7483 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7484
889acc5c
JB
74852013-07-24 Juanma Barranquero <lekktu@gmail.com>
7486
7487 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7488 (desktop-restore-frames): Warn when deleting an existing frame failed.
7489
86c40970
GM
74902013-07-24 Glenn Morris <rgm@gnu.org>
7491
7492 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7493
d5d3c58a
MA
74942013-07-24 Michael Albinus <michael.albinus@gmx.de>
7495
7496 * filenotify.el (file-notify-supported-p):
7497 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7498 Remove functions.
7499
7500 * autorevert.el (auto-revert-use-notify):
7501 (auto-revert-notify-add-watch):
7502 * net/tramp.el (tramp-file-name-for-operation):
7503 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7504 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7505 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7506 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7507 Remove `file-notify-supported-p' entry.
7508
d100084b
GM
75092013-07-24 Glenn Morris <rgm@gnu.org>
7510
7511 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 7512 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 7513
ac93e56b
SM
75142013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7515
249eea30
SM
7516 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7517 checked with memq (bug#14935).
7518
ac93e56b
SM
7519 * files.el (revert-buffer-function): Use a non-nil default.
7520 (revert-buffer-preserve-modes): Declare var to
7521 provide access to the `preserve-modes' argument.
7522 (revert-buffer): Let-bind it.
7523 (revert-buffer--default): New function, extracted from revert-buffer.
7524
2cdeb903
SM
75252013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7526
7527 * lpr.el: Signal print errors more prominently.
7528 (print-region-function): Don't default to nil.
7529 (lpr-print-region): New function, extracted from print-region-1.
7530 Check lpr's return value and signal an error in case of problem.
7531 (print-region-1): Use it.
7532 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7533 versions instead.
7534 (ps-printer-name): Default to nil.
7535 (ps-printer-name-option): Default to lpr-printer-switch.
7536 (ps-print-region-function): Don't default to nil.
7537 (ps-postscript-code-directory): Simplify default.
7538 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7539 (ps-string-list, ps-eval-switch, ps-flatten-list)
7540 (ps-flatten-list-1): Remove.
7541 (ps-multibyte-buffer): Avoid setq.
7542 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7543 (print-region-function, ps-print-region-function): Don't set them here.
7544
73600831
XF
75452013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7546
0e55c076
XF
7547 * ido.el (ido-fractionp):
7548 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7549 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7550 (ido-max-directory-size, ido-max-dir-file-cache)
7551 (ido-decorations): Doc fix.
7552
73600831
XF
7553 * ansi-color.el: Fix old URL.
7554
3d012865
MM
75552013-07-23 Michael R. Mauger <michael@mauger.com>
7556
e903c210 7557 * progmodes/sql.el: Version 3.3
3d012865
MM
7558 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7559 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7560 (sql-interactive-remove-continuation-prompt): Rewrite, use
7561 functions above. Fix continuation prompt and complete output line
7562 handling.
7563 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7564 redirected output buffer.
7565 (sql-mode): Restore deleted code (Bug#13591).
7566
da77a2e2
JB
75672013-07-23 Juanma Barranquero <lekktu@gmail.com>
7568
7569 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7570
80ff0c71
MA
75712013-07-23 Michael Albinus <michael.albinus@gmx.de>
7572
7573 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7574
7575 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7576 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7577 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7578
b61d71e4
JB
75792013-07-23 Juanma Barranquero <lekktu@gmail.com>
7580
7581 * desktop.el (desktop-clear): Simplify; remove useless checks
7582 against invalid buffer names.
7583 (desktop-list*): Use cl-list*.
7584 (desktop-buffer-info, desktop-create-buffer): Simplify.
7585
c3512092
LL
75862013-07-23 Leo Liu <sdl.web@gmail.com>
7587
7588 * bookmark.el (bookmark-make-record): Restore NAME as a default
7589 value. (Bug#14933)
7590
0ac26976
SM
75912013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7592
7d22ce18
SM
7593 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7594 extracted from autoload--insert-text.
7595 (autoload--insert-text): Remove.
7596 (autoload--print-cookie-text): New function, extracted from
7597 autoload--insert-cookie-text.
7598 (autoload--insert-cookie-text): Remove.
7599 (autoload-generate-file-autoloads): Adjust calls accordingly.
7600
9b2607e8
SM
7601 * winner.el (winner-hook-installed-p): Remove.
7602 (winner-mode): Simplify accordingly.
7603
c43a8618
SM
7604 * subr.el (add-to-list): Fix compiler-macro when `append' is
7605 not constant. Don't use `cl-member' for the base case.
7606
0ac26976
SM
7607 * progmodes/subword.el: Fix boundary case (bug#13758).
7608 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7609 own group.
7610 (subword-backward-regexp): Make it a constant.
7611 (subword-forward-internal): Don't treat a trailing capital as the
7612 beginning of a word.
7613
6874724a
AR
76142013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7615
7616 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7617 global value of tabulated-list-revert-hook (bug#14930).
7618
70f1b5e8
JB
76192013-07-22 Juanma Barranquero <lekktu@gmail.com>
7620
a1c80d9d
JB
7621 * desktop.el: Require 'cl-lib.
7622 (desktop-before-saving-frames-functions): New hook.
7623 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7624 for frames being saved. Rename from desktop--save-minibuffer-frames.
7625 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
7626 Do not save frames with non-nil `desktop-dont-save' parameter.
7627 Filter out deleted frames.
a1c80d9d
JB
7628 (desktop--find-frame): Use cl-find-if.
7629 (desktop--select-frame): Use cl-(first|second|third) to access values
7630 of desktop-mini.
7631 (desktop--make-frame): Use cl-delete-if.
7632 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7633 (desktop-restore-frames): Use cl-(first|second|third) to access values
7634 of desktop-mini. Look for visible frame at the end, not while
7635 restoring frames.
7636
70f1b5e8
JB
7637 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7638 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7639 Use string-match-p, looking-at-p (bug#14927).
7640
728dc3cc
JB
76412013-07-21 Juanma Barranquero <lekktu@gmail.com>
7642
56bc453c
JB
7643 * desktop.el (desktop-saved-frame-states):
7644 Rename from desktop--saved-states; all users changed.
7645 (desktop-save-frames): Rename from desktop--save-frames.
7646 Do not save state to desktop file.
7647 (desktop-save): Save desktop-saved-frame-states to desktop file
7648 and reset to nil.
7649 (desktop-restoring-frames-p): New function.
7650 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7651 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7652 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7653
728dc3cc
JB
7654 * desktop.el: Correctly restore iconified frames.
7655 (desktop--filter-iconified-position): New function.
7656 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7657
862f1c9c
GM
76582013-07-20 Glenn Morris <rgm@gnu.org>
7659
c4074c9f
GM
7660 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7661 Let `message' do the formatting.
7662 (def-gdb-preempt-display-buffer): Add explicit format.
7663
d828e5f9
GM
7664 * image-dired.el (image-dired-track-original-file):
7665 Use with-current-buffer.
7666 (image-dired-track-thumbnail): Use with-current-buffer.
7667 Avoid changing point of wrong window.
7668
862f1c9c
GM
7669 * image-dired.el (image-dired-track-original-file):
7670 Avoid changing point of wrong window. (Bug#14909)
7671
f0398ec1 76722013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
7673
7674 * progmodes/gdb-mi.el (gdb-done-or-error):
7675 Guard against "%" in gdb output. (Bug#14127)
7676
1451928f
AS
76772013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7678
763a086d
JB
7679 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7680 (Bug#14826)
f7a03897 7681
1451928f
AS
7682 * international/mule.el (coding-system-iso-2022-flags): Fix last
7683 change.
7684
99107004
KH
76852013-07-20 Kenichi Handa <handa@gnu.org>
7686
763a086d
JB
7687 * international/mule.el (coding-system-iso-2022-flags):
7688 Add `8-bit-level-4'. (Bug#8522)
99107004 7689
48494e06
LMI
76902013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7691
8ba8eec5
LMI
7692 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7693 (bug#14815).
7694
dfbc66e3
LMI
7695 * net/eww.el (eww-process-text-input): Allow inputting when the
7696 point is at the start of the line, as the properties aren't
7697 front-sticky.
7698
48494e06
LMI
7699 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7700 degenerate widths.
7701
77c92cb9
RS
77022013-07-19 Richard Stallman <rms@gnu.org>
7703
aec7da77
RS
7704 * epa.el (epa-popup-info-window): Doc fix.
7705
77c92cb9
RS
7706 * subr.el (split-string): New arg TRIM.
7707
945c5bb1
JB
77082013-07-18 Juanma Barranquero <lekktu@gmail.com>
7709
7710 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7711 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7712
e06ec67f
MA
77132013-07-18 Michael Albinus <michael.albinus@gmx.de>
7714
c7064f05 7715 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
7716 `file-notify-support'. Do not autoload. Adapt all uses.
7717 (file-notify-supported-p): New defun.
7718
c7064f05
JB
7719 * autorevert.el (auto-revert-use-notify):
7720 Use `file-notify-supported-p' instead of `file-notify-support'.
7721 Adapt docstring.
e06ec67f
MA
7722 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7723
7724 * net/tramp.el (tramp-file-name-for-operation):
7725 Add `file-notify-supported-p'.
7726
7727 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7728 New defun.
7729 (tramp-sh-file-name-handler-alist): Add it as handler for
7730 `file-notify-supported-p '.
7731
7732 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7733 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7734 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7735 Add `ignore' as handler for `file-notify-*' functions.
7736
5dc8a629
EZ
77372013-07-17 Eli Zaretskii <eliz@gnu.org>
7738
7739 * simple.el (line-move-partial, line-move): Don't start vscroll or
7740 scroll-up if the current line is not taller than the window.
7741 (Bug#14881)
7742
77aea2fb
DG
77432013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7744
7745 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7746 highlight question marks in the method names as strings.
ac72c08d
DG
7747 (ruby-block-beg-keywords): Inline.
7748 (ruby-font-lock-keyword-beg-re): Extract from
7749 `ruby-font-lock-keywords'.
77aea2fb 7750
18c26d81
JD
77512013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7752
7753 * frame.el (blink-cursor-blinks): New defcustom.
7754 (blink-cursor-blinks-done): New defvar.
7755 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7756 (blink-cursor-timer-function): Check if number of blinks has been
7757 done on X and NS.
7758 (blink-cursor-suspend, blink-cursor-check): New defuns.
7759
da48522e
GM
77602013-07-15 Glenn Morris <rgm@gnu.org>
7761
7762 * edmacro.el (edmacro-format-keys): Fix previous change.
7763
0463c1ef
PE
77642013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7765
7766 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7767 The hack didn't work outside English locales anyway.
7768
b43f6451
JB
77692013-07-15 Juanma Barranquero <lekktu@gmail.com>
7770
7771 * simple.el (define-alternatives): Rename from alternatives-define,
7772 per RMS' suggestion.
7773
b958c0ad
JB
77742013-07-14 Juanma Barranquero <lekktu@gmail.com>
7775
7776 * desktop.el (desktop-restore-frames): Change default to t.
7777 (desktop-restore-in-current-display): Now offer more options.
7778 (desktop-restoring-reuses-frames): New customization option.
7779 (desktop--saved-states): Doc fix.
7780 (desktop-filter-parameters-alist): New variable, renamed and expanded
7781 from desktop--excluded-frame-parameters.
7782 (desktop--target-display): New variable.
7783 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7784 (desktop--filter-tty*, desktop--filter-*-color)
7785 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7786 (desktop--filter-save-desktop-parm)
7787 (desktop-restore-in-original-display-p): New functions.
7788 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7789 (desktop--save-minibuffer-frames): New function, inspired by a similar
7790 function from Martin Rudalics.
7791 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7792 (desktop--restore-in-this-display-p): Remove.
7793 (desktop--find-frame): Rename from desktop--find-frame-in-display
7794 and add predicate argument.
7795 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7796 (desktop--reuse-list): New variable.
7797 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7798 New functions.
7799 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7800
f6dd8b36
MA
78012013-07-14 Michael Albinus <michael.albinus@gmx.de>
7802
7803 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7804
2ce3c565
DG
78052013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7806
763a086d
JB
7807 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7808 Highlight conversion methods on Kernel.
2ce3c565 7809
2cdb7698
AM
78102013-07-13 Alan Mackenzie <acm@muc.de>
7811
7812 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7813 and comment it out. This out-commenting enables certain C++
7814 declarations to be parsed correctly.
7815
1a67b811
EZ
78162013-07-13 Eli Zaretskii <eliz@gnu.org>
7817
1b796d6b
EZ
7818 * international/mule.el (define-coding-system): Doc fix.
7819
1a67b811
EZ
7820 * simple.el (default-font-height): Don't call font-info if the
7821 frame's default font didn't change since the frame was created.
7822 (Bug#14838)
7823
58fbe886
LL
78242013-07-13 Leo Liu <sdl.web@gmail.com>
7825
7826 * ido.el (ido-read-file-name): Guard against non-symbol value.
7827
1f0480d4
FEG
78282013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7829
7830 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7831 in nested defuns.
7832
97ead0e5
LL
78332013-07-13 Leo Liu <sdl.web@gmail.com>
7834
7835 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7836 ido-set-matches call. (Bug#6852)
7837
0880a952
DG
78382013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7839
7840 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7841 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7842 Ruby 2.0.
7843 (ruby-font-lock-keywords): Distinguish calls to functions with
7844 module-like names from module references. Highlight character
7845 literals.
7846
a7d8babb
SDJ
78472013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7848
7849 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 7850 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 7851
acfcc8c5
JB
78522013-07-12 Juanma Barranquero <lekktu@gmail.com>
7853
7854 * desktop.el (desktop--v2s): Remove unused local variable.
7855 (desktop-save-buffer): Make defvar-local; adjust docstring.
7856 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7857 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7858
051f2775
AS
78592013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7860
7861 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7862
f24e7572
GM
78632013-07-12 Eli Zaretskii <eliz@gnu.org>
7864
7865 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7866 (Bug#14842)
7867
539a920c
GM
78682013-07-12 Glenn Morris <rgm@gnu.org>
7869
7870 * doc-view.el: Require cl-lib at runtime too.
7871 (doc-view-remove-if): Remove.
7872 (doc-view-search-next-match, doc-view-search-previous-match):
7873 Use cl-remove-if.
7874
7875 * edmacro.el: Require cl-lib at runtime too.
7876 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7877 (edmacro-mismatch, edmacro-subseq): Remove.
7878
7879 * shadowfile.el: Require cl-lib.
7880 (shadow-remove-if): Remove.
7881 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7882 Use cl-remove-if.
7883
7884 * wid-edit.el: Require cl-lib.
7885 (widget-choose): Use cl-remove-if.
7886 (widget-remove-if): Remove.
7887
7888 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7889 (ebrowse-delete-if-not): Remove.
7890 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7891 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7892 Use cl-delete-if-not.
7893
1048af7c
JB
78942013-07-12 Juanma Barranquero <lekktu@gmail.com>
7895
7896 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7897 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7898
6c0674ee
LL
78992013-07-12 Leo Liu <sdl.web@gmail.com>
7900
7901 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7902
a19b3c2d
GM
79032013-07-11 Glenn Morris <rgm@gnu.org>
7904
4582a01c
GM
7905 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7906 (edebug-gensym-index, edebug-gensym):
7907 Remove reimplementation of cl-gensym.
7908 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7909
7910 * thumbs.el: Require cl-lib at run-time too.
7911 (thumbs-gensym-counter, thumbs-gensym):
7912 Remove reimplementation of cl-gensym.
7913 (thumbs-temp-file): Use cl-gensym.
7914
a19b3c2d
GM
7915 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7916 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7917 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7918 (ert--union, ert--gensym-counter, ert--gensym-counter)
7919 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7920 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7921 (ert-make-test-unbound, ert--expand-should-1)
7922 (ert--expand-should, ert--should-error-handle-error)
7923 (should-error, ert--explain-equal-rec)
7924 (ert--plist-difference-explanation, ert-select-tests)
7925 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7926 Use cl-lib functions rather than reimplementations.
7927
88f6a933
MA
79282013-07-11 Michael Albinus <michael.albinus@gmx.de>
7929
7930 * net/tramp.el (tramp-methods): Extend docstring.
7931 (tramp-connection-timeout): New defcustom.
7932 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7933 (with-tramp-progress-reporter): Simplify.
7934 (tramp-process-actions): Improve messages.
7935
7936 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7937 * net/tramp-sh.el (tramp-maybe-open-connection):
7938 Use `tramp-connection-timeout'.
7939 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7940 (Bug#14808)
7941
a43d577e
LL
79422013-07-11 Leo Liu <sdl.web@gmail.com>
7943
7944 * ido.el (ido-read-file-name): Conform to the requirements of
7945 read-file-name. (Bug#11861)
7946 (ido-read-directory-name): Conform to the requirements of
7947 read-directory-name.
7948
d77974bf
JB
79492013-07-11 Juanma Barranquero <lekktu@gmail.com>
7950
7951 * subr.el (delay-warning): New function.
7952
35cb8a3e
EZ
79532013-07-10 Eli Zaretskii <eliz@gnu.org>
7954
7955 * simple.el (default-line-height): New function.
7956 (line-move-partial, line-move): Use it instead of computing the
7957 line height inline.
7958 (line-move-partial): Always compute ROWH. If the last line is
7959 partially-visible, but its text is completely visible, allow
7960 cursor to enter such a partially-visible line.
7961
525c5c77
MA
79622013-07-10 Michael Albinus <michael.albinus@gmx.de>
7963
7964 Improve error messages. (Bug#14808)
7965
7966 * net/tramp.el (tramp-current-connection): New defvar, moved from
7967 tramp-sh.el.
0ac26976 7968 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 7969 needed anymore.
0ac26976
SM
7970 (tramp-error-with-buffer): Show message in minibuffer.
7971 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
7972 (with-tramp-progress-reporter): Improve messages.
7973 (tramp-process-actions): Use progress reporter. Delete process in
7974 case of error. Improve messages.
7975
763a086d
JB
7976 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7977 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 7978 (tramp-current-connection): Remove.
525c5c77
MA
7979 (tramp-maybe-open-connection): The car of
7980 `tramp-current-connection' are the first 3 slots of the vector.
7981
c7a4d368
TZ
79822013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7983
7984 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7985 inside continued strings.
7986
954b166e
PE
79872013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7988
7989 Timestamp fixes for undo (Bug#14824).
7990 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7991
56973319
LL
79922013-07-10 Leo Liu <sdl.web@gmail.com>
7993
7994 * files.el (require-final-newline): Allow safe local value.
7995 (Bug#14834)
7996
5550a72c
LL
79972013-07-09 Leo Liu <sdl.web@gmail.com>
7998
7999 * ido.el (ido-read-directory-name): Handle fallback.
8000 (ido-read-file-name): Update DIR to ido-current-directory.
8001 (Bug#1516)
c28b9050 8002 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 8003
70c46b28
DG
80042013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8005
8006 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8007 "autoload". Remove "warn lower camel case" section, previously
8008 commented out. Highlight negation char. Do not highlight the
8009 target in singleton method definitions.
8010
0b64b838
SM
80112013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8012
7fd72e2c
SM
8013 * faces.el (tty-setup-hook): Declare the hook.
8014
0b64b838
SM
8015 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8016 and detect when a guard/pred depends on local vars (bug#14773).
8017 (pcase--u1): Adjust caller.
8018
ab49d60b
EZ
80192013-07-08 Eli Zaretskii <eliz@gnu.org>
8020
8021 * simple.el (line-move-partial, line-move): Account for
8022 line-spacing.
701d79aa
EZ
8023 (line-move-partial): Avoid setting vscroll when the last
8024 partially-visible line in window is of default height.
ab49d60b 8025
2d756ae0
LMI
80262013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8027
8028 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8029 been used a while.
8030
ed095bd7
JB
80312013-07-07 Juanma Barranquero <lekktu@gmail.com>
8032
8033 * subr.el (read-quoted-char): Remove unused local variable `char'.
8034
f1e6674b
MK
80352013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8036
584ee3fc
GM
8037 * ediff.el (ediff-version): Version update.
8038 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8039 (ediff-merge-with-ancestor-command, ediff-directories-command)
8040 (ediff-directories3-command, ediff-merge-directories-command)
8041 (ediff-merge-directories-with-ancestor-command): New functions.
8042 All are command-line interfaces to ediff: to facilitate calling
8043 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
8044
8045 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8046 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 8047
584ee3fc
GM
8048 * viper.el (viper-version): Version update.
8049 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 8050
584ee3fc
GM
80512013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8052
8053 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8054 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8055 (viper-intercept-ESC-key): Simplify.
8056 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8057 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8058 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8059 (viper-setup-ESC-to-escape): New functions.
8060 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8061 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 8062
9aff9b38
EZ
80632013-07-07 Eli Zaretskii <eliz@gnu.org>
8064
5165d44a
JB
8065 * simple.el (default-font-height, window-screen-lines):
8066 New functions.
9aff9b38
EZ
8067 (line-move, line-move-partial): Use them instead of
8068 frame-char-height and window-text-height. This makes scrolling
8069 text smoother when the buffer's default face uses a font that is
8070 different from the frame's default font.
8071
1afb1d07
JD
80722013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8073
8074 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 8075 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 8076
23de972a
EZ
80772013-07-06 Eli Zaretskii <eliz@gnu.org>
8078
8079 * simple.el (line-move-partial): Adjust the row returned by
8080 posn-at-point for the current window-vscroll. (Bug#14567)
8081
54a42486
MA
80822013-07-06 Michael Albinus <michael.albinus@gmx.de>
8083
8084 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8085 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8086 spaces.
8087
34ada5f4
MR
80882013-07-06 Martin Rudalics <rudalics@gmx.at>
8089
8090 * window.el (window-state-put-stale-windows): New variable.
8091 (window--state-put-2): Save list of windows without matching buffer.
8092 (window-state-put): Remove "bufferless" windows if possible.
8093
11e03d89
JB
80942013-07-06 Juanma Barranquero <lekktu@gmail.com>
8095
8096 * simple.el (alternatives-define): Remove leftover :group keyword.
8097 Tweak docstring.
8098
3504a4be
LL
80992013-07-06 Leo Liu <sdl.web@gmail.com>
8100
8101 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8102 (ido-enable-virtual-buffers): New variable.
8103 (ido-buffer-internal, ido-toggle-virtual-buffers)
8104 (ido-make-buffer-list): Use it.
8105 (ido-exhibit): Support turning on and off virtual buffers
8106 automatically.
8107
61e56e2c
JB
81082013-07-06 Juanma Barranquero <lekktu@gmail.com>
8109
8110 * simple.el (alternatives-define): New macro.
8111
321e1a9c
SM
81122013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8113
8114 * subr.el (read-quoted-char): Use read-key.
8115 (sit-for): Let read-event decode tty input (bug#14782).
8116
d610f6dd
SB
81172013-07-05 Stephen Berman <stephen.berman@gmx.net>
8118
8119 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
8120 mode command and externally. Fix various related bugs.
8121 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
8122 (todo-delete-file): New command.
8123 (todo-check-file): New function.
8124 (todo-show): Handle external deletion of the file we're trying to
8125 show (bug#14688). Replace called-interactively-p by an optional
8126 prefix argument to avoid problematic interaction with catch form
8127 when byte compiled (bug#14702).
8128 (todo-quit): Handle external deletion of the archive's todo file.
8129 Make sure the buffer that was visiting the archive file is still
8130 live before trying to bury it.
8131 (todo-category-completions): Handle external deletion of any
8132 category completion files.
8133 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8134 of todo files, in case of external deletion.
8135 (todo-add-file): Replace unnecessary setq by let-binding.
8136 (todo-find-archive): Check whether there are any archives.
8137 Replace unnecessary setq by let-binding.
8138 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
8139 archive buffer whether or not the archive already exists.
8140 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
8141 check if the archive is new; if it is, update list of archives.
8142 (todo-default-todo-file): Allow nil to be a valid value for when
8143 there are no todo files.
8144 (todo-reevaluate-default-file-defcustom): Use corrected definition
8145 of todo-default-todo-file.
8146 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8147 (todo-delete-category, todo-show-categories-table)
8148 (todo-category-number): Clarify comment.
8149 (todo-filter-items): Clarify documentation string.
8150 (todo-show-current-file, todo-display-as-todo-file)
8151 (todo-reset-and-enable-done-separator): Tweak documentation string.
8152 (todo-done-separator): Make separator length window-width, since
8153 bug#2749 is now fixed.
8154
ddbdfd6f
MA
81552013-07-05 Michael Albinus <michael.albinus@gmx.de>
8156
321e1a9c
SM
8157 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8158 Support both "gvfs-monitor-dir" and "inotifywait".
8159 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
8160 `tramp-sh-file-notify-process-filter'.
8161 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8162 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8163
96eb829a
LL
81642013-07-05 Leo Liu <sdl.web@gmail.com>
8165
8166 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8167
cf13177e
YM
81682013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8169
8170 * frame.el (display-pixel-height, display-pixel-width)
8171 (display-mm-height, display-mm-width): Mention behavior on
8172 multi-monitor setups in docstrings.
8173 (w32-display-monitor-attributes-list): Declare function.
8174 (display-monitor-attributes-list): Use it.
8175
864c58ca
MA
81762013-07-04 Michael Albinus <michael.albinus@gmx.de>
8177
8178 * filenotify.el: New package.
8179
8180 * autorevert.el (top): Require filenotify.el.
8181 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8182 instead.
8183 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8184 (auto-revert-notify-handler): Use `file-notify-*' functions.
8185
8186 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8187
321e1a9c
SM
8188 * net/tramp.el (tramp-file-name-for-operation):
8189 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
8190
8191 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8192 for `file-notify-add-watch' and `file-notify-rm-watch'.
8193 (tramp-process-sentinel): Improve trace.
8194 (tramp-sh-handle-file-notify-add-watch)
8195 (tramp-sh-file-notify-process-filter)
8196 (tramp-sh-handle-file-notify-rm-watch)
8197 (tramp-get-remote-inotifywait): New defuns.
8198
96673afe
JL
81992013-07-03 Juri Linkov <juri@jurta.org>
8200
8201 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8202 call of `occur-read-primary-args' to interactive spec.
8203
8204 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8205 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8206
924494f4
MM
82072013-07-03 Matthias Meulien <orontee@gmail.com>
8208
8209 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8210 `Buffer-menu-multi-occur'. Add it to the menu.
8211 (Buffer-menu-mode): Document it in docstring.
8212 (Buffer-menu-multi-occur): New command. (Bug#14673)
8213
56f75efc
DG
82142013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8215
8216 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8217 keywords and built-ins.
8218
9b057d61
GM
82192013-07-03 Glenn Morris <rgm@gnu.org>
8220
208dee4d
GM
8221 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8222
9b057d61
GM
8223 Make info-xref checks case-sensitive by default
8224 * info.el (Info-find-node, Info-find-in-tag-table)
8225 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8226 Add option for exact case matching of nodes.
8227 * info-xref.el (info-xref): New custom group.
8228 (info-xref-case-fold): New option.
8229 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8230
e01aa29c
LL
82312013-07-03 Leo Liu <sdl.web@gmail.com>
8232
8233 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8234
3086ca2e
DG
82352013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8236
8237 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8238 middle of block statement initially, lower the depth. Remove
8239 FIXME comment, not longer valid. Remove middle of block statement
8240 detection, no need to do that anymore since we've been using
8241 `ruby-parse-region' here.
8242
a3b49114
JD
82432013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8244
8245 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8246
08e5c823 82472013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
8248
8249 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8250
2addf922
JB
82512013-07-01 Juanma Barranquero <lekktu@gmail.com>
8252
8253 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8254 (desktop-restore-in-current-display): New customization option.
8255 (desktop--excluded-frame-parameters): Add `font'.
8256 (desktop--save-frames): Rename from desktop--save-windows.
8257 (desktop--restore-in-this-display-p): New function.
8258 (desktop--make-full-frame): Remove unwanted width/height from
8259 full(width|height) frames.
8260 (desktop--restore-frames): Rename from desktop--restore-windows.
8261 Obey desktop-restore-current-display. Do not delete old frames or
8262 select a new frame unless we were able to restore at least one frame.
8263
ef099a94
MN
82642013-06-30 Michal Nazarewicz <mina86@mina86.com>
8265
8266 * files.el (find-file-noselect): Simplify conditional expression.
8267
a12bf61e 8268 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
8269 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8270
8271 Add `remember-notes' function to store random notes across Emacs
8272 restarts.
3fcfc4ee
JB
8273 * textmodes/remember.el (remember-data-file): Add :set callback to
8274 affect notes buffer (if any).
ef099a94
MN
8275 (remember-notes): New command.
8276 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8277 New defcustoms for the `remember-notes' function.
8278 (remember-notes-save-and-bury-buffer): New command.
8279 (remember-notes-mode-map): New variable.
8280 (remember-mode): New minor mode.
8281 (remember-notes--kill-buffer-query): New function.
8282 * startup.el (initial-buffer-choice): Add notes to custom type.
8283
0865d506
EZ
82842013-06-30 Eli Zaretskii <eliz@gnu.org>
8285
0ba54312
EZ
8286 * bindings.el (right-char, left-char): Don't call sit-for, this is
8287 no longer needed. Use arithmetic comparison only for numerical
8288 arguments.
8289
ef099a94
MN
8290 * international/mule-cmds.el (select-safe-coding-system):
8291 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 8292
2fae38e5
LMI
82932013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8294
8295 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8296 progression on degenerate tables.
ef099a94 8297 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 8298
a47cbd64
JB
82992013-06-30 Juanma Barranquero <lekktu@gmail.com>
8300
8301 Some fixes and improvements for desktop frame restoration.
8302 It is still experimental and disabled by default.
8303 * desktop.el (desktop--save-windows): Put the selected frame at
8304 the head of the list.
8305 (desktop--make-full-frame): New function.
8306 (desktop--restore-windows): Try to re-select the frame that was
8307 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
8308 just show an error message and continue. Set up maximized frames
8309 so they have default non-maximized dimensions.
a47cbd64 8310
6dbafa30
DG
83112013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8312
ef099a94
MN
8313 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8314 Don't start heredoc inside a string or comment.
6dbafa30 8315
4c672a0f
EZ
83162013-06-29 Eli Zaretskii <eliz@gnu.org>
8317
8318 * bindings.el (visual-order-cursor-movement): New defcustom.
8319 (right-char, left-char): Provide visual-order cursor motion by
8320 calling move-point-visually. Update the doc strings.
8321
50960f36
KH
83222013-06-28 Kenichi Handa <handa@gnu.org>
8323
8324 * international/mule.el (define-coding-system): New coding system
8325 properties :inhibit-null-byte-detection,
8326 :inhibit-iso-escape-detection, and :prefer-utf-8.
8327 (set-buffer-file-coding-system): If :charset-list property of
8328 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8329 appropriate for setting.
8330
c1ea3abf
JB
8331 * international/mule-cmds.el (select-safe-coding-system):
8332 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8333 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
8334
8335 * international/mule-conf.el (prefer-utf-8): New coding system.
8336 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8337 files.
8338
75dbaf9d
IK
83392013-06-28 Ivan Kanis <ivan@kanis.fr>
8340
eadb6068
IK
8341 * net/shr.el (shr-render-region): New function.
8342
75dbaf9d
IK
8343 * net/eww.el: Autoload `eww-browse-url'.
8344
9ea5cf9f
DG
83452013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8346
c1ea3abf
JB
8347 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8348 Adapt to `package-desc-version' being a list.
8349 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
8350 archive element.
8351
39c0e36f
JB
83522013-06-27 Juanma Barranquero <lekktu@gmail.com>
8353
8354 New experimental feature to save&restore window and frame setup.
8355 * desktop.el (desktop-save-windows): New defcustom.
8356 (desktop--saved-states): New var.
8357 (desktop--excluded-frame-parameters): New defconst.
8358 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8359 (desktop--restore-windows, desktop--save-windows): New functions.
8360 (desktop-save): Call `desktop--save-windows'.
8361 (desktop-read): Call `desktop--restore-windows'.
8362
7f13406b
LMI
83632013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8364
ef099a94 8365 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 8366
1e072639
SB
83672013-06-27 Stephen Berman <stephen.berman@gmx.net>
8368
8369 * info.el (Info-try-follow-nearest-node): Move search for footnote
8370 above search for node name to prevent missing a footnote (bug#14717).
8371
f3e2cbde
SB
83722013-06-27 Stephen Berman <stephen.berman@gmx.net>
8373
8374 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8375
99906aa0
LL
83762013-06-27 Leo Liu <sdl.web@gmail.com>
8377
8378 * net/eww.el (eww-read-bookmarks): Check file size.
8379
539f75f4
SM
83802013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8381
8382 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8383 advice--pending if newdef is nil or an autoload (bug#13820).
8384 (advice-mapc): New function.
8385
843571cb
LMI
83862013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8387
8388 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8389 probably.
23a75d7f 8390 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
8391 (eww-add-bookmark): New command.
8392 (eww-bookmark-mode): New mode and commands.
a285ce99 8393 (eww-add-bookmark): Remove newlines from the title.
47fd571b 8394 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 8395
f2136e1e
GM
83962013-06-26 Glenn Morris <rgm@gnu.org>
8397
eab35f39
GM
8398 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8399 (hfy-size): Handle ttys. (Bug#14668)
8400
f2136e1e
GM
8401 * info-xref.el: Update for Texinfo 5 change in *note format.
8402 (info-xref-node-re, info-xref-note-re): New constants.
8403 (info-xref-check-buffer): Use info-xref-note-re.
8404
a49ff80c
SM
84052013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8406
a343d218
SM
8407 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8408
a49ff80c
SM
8409 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8410 nil terminate the loop (bug#14718).
8411
8308f184
LMI
84122013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8413
8414 * net/eww.el: Rework history traversal. When going forward/back,
8415 put these actions into the history, too, so that they can be
8416 replayed.
26bf2b82 8417 (eww-render): Move the history reset to the correct buffer.
8308f184 8418
ec64c273
JL
84192013-06-25 Juri Linkov <juri@jurta.org>
8420
8421 * files-x.el (modify-dir-local-variable): Change the header comment
8422 in the file with directory local variables. (Bug#14692)
8423
e080a9d7
JL
8424 * files-x.el (read-file-local-variable-value): Add `default'.
8425 (Bug#14710)
8426
bfbc93a1
IK
84272013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8428
8429 * net/eww.el (eww-make-unique-file-name): Create a unique file
8430 name before saving to entering `y' accidentally asynchronously.
8431
84322013-06-25 Ivan Kanis <ivan@kanis.fr>
8433
8434 * net/eww.el (eww-download): New command and keystroke.
8435
16f74f10
LMI
84362013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8437
a49ff80c 8438 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
8439
8440 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8441 be more consistent with Info and dired.
8442
8443 * net/eww.el (eww-mode-map): Ditto.
8444
12059709
SM
84452013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8446
8447 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8448 packages from archives.
8449 (package-archive-contents): Change format; include obsolete packages.
8450 (package-desc): Use `dir' to mark builtin packages.
8451 (package--from-builtin): Set the `dir' field to `builtin'.
8452 (generated-autoload-file, version-control): Declare.
8453 (package-compute-transaction): Change first arg and return value to be
8454 lists of package-descs. Adjust to new package-archive-contents format.
8455 (package--add-to-archive-contents): Adjust to new
8456 package-archive-contents format.
8457 (package-download-transaction): Arg is now a list of package-descs.
8458 (package-install): If `pkg' is a package name, pass it as
8459 a requirement, so it is subject to the usual (e.g. disabled) checks.
8460 (describe-package): Accept package-desc as well.
8461 (describe-package-1): Describe a specific package-desc. Add links to
8462 other package-descs for the same package name.
8463 (package-menu-describe-package): Pass the actual package-desc.
8464 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8465 works correctly.
8466 (package-desc-status): New function.
8467 (package-menu--refresh): New function, extracted
8468 from package-menu--generate.
8469 (package-menu--generate): Use it.
8470 (package-delete): Update package-alist.
8471 (package-menu-execute): Don't call package-initialize.
8472
8473 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8474 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8475 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8476 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8477 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8478 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8479
8bbdea0f
MR
84802013-06-25 Martin Rudalics <rudalics@gmx.at>
8481
8482 * window.el (window--state-get-1): Workaround for bug#14527.
8483 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8484
e82b0991
LMI
84852013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8486
8487 * net/eww.el (eww-back-url): Implement the history by stashing all
8488 the data into a list.
d3f0f918 8489 (eww-forward-url): Allow going forward in the history, too.
e82b0991 8490
c763842b
SM
84912013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8492
8493 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8494 for values and use read--expression for expressions (bug#14710).
8495 (read-file-local-variable): Avoid setq.
8496 (read-file-local-variable-mode): Use minor-mode-list.
8497
bceff189
RW
84982013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8499
864c58ca 8500 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
8501 for DOI URLs.
8502
45f431c6
RW
85032013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8504
864c58ca 8505 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
8506 Update imenu-support when dialect changes.
8507
f42d8237
LL
85082013-06-25 Leo Liu <sdl.web@gmail.com>
8509
8510 * ido.el (ido-read-internal): Allow forward slash on windows.
8511
be549ce6
LMI
85122013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8513
8514 * net/eww.el (eww): Start of strings is \\`, not ^.
8515
71d4c19d
IK
85162013-06-24 Ivan Kanis <ivan@kanis.fr>
8517
5196f88a
IK
8518 * net/shr.el (shr-browse-url): Fix interactive spec.
8519
71d4c19d
IK
8520 * net/eww.el (eww): Add a trailing slash to domain names.
8521
ae36ca55
JB
85222013-06-24 Juanma Barranquero <lekktu@gmail.com>
8523
8524 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8525
0ebd92a3
LMI
85262013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8527
bdaa086b
LMI
8528 * net/shr.el (shr-browse-url): Use an external browser if given a
8529 prefix.
8530
c763842b 8531 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 8532
b89fc156
IK
85332013-06-24 Ivan Kanis <ivan@kanis.fr>
8534
8535 * net/eww.el (eww): Work more correctly for file: URLs.
8536 (eww-detect-charset): Allow quoted charsets.
8537 (eww-yank-page-url): New command and keystroke.
8538
18eb4bca
DU
85392013-06-24 Daiki Ueno <ueno@gnu.org>
8540
8541 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8542 file name of gpg executable.
8543 (epg-context-program): New function.
8544 (epg-context-home-directory): New function.
8545 (epg-context-set-program): New function.
8546 (epg-context-set-home-directory): New function.
8547 (epg--start): Use `epg-context-program' instead of
8548 'epg-gpg-program'.
8549 (epg--list-keys-1): Likewise.
8550
6c6268c8
LL
85512013-06-24 Leo Liu <sdl.web@gmail.com>
8552
8553 * ido.el (ido-read-internal): Fix bug#14620.
8554
5e400cb3
JB
85552013-06-23 Juanma Barranquero <lekktu@gmail.com>
8556
8557 * faces.el (face-documentation): Simplify.
8558 (read-face-attribute, tty-find-type, x-resolve-font-name):
8559 Use `string-match-p'.
8560 (list-faces-display): Use `string-match-p'. Simplify.
8561 (face-spec-recalc): Check face to avoid face alias loops.
8562 (read-color): Use `string-match-p' and non-capturing parenthesis.
8563
f3f9606c
LMI
85642013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8565
8566 * net/shr.el (shr-rescale-image): Use the new
8567 :max-width/:max-height functionality.
8568
a3ca09b9
IK
85692013-06-23 Ivan Kanis <ivan@kanis.fr>
8570
8571 * net/eww.el (eww-search-prefix): New variable.
8572 (eww): Use it.
f865b474
IK
8573 (eww-external-browser): New variable.
8574 (eww-mode-map): New keystroke.
8575 (eww-browse-with-external-browser): New command.
a3ca09b9 8576
e854cfc7
IK
8577 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8578
18bb9e21
JB
85792013-06-23 Juanma Barranquero <lekktu@gmail.com>
8580
8581 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8582 Don't skip aligning the next header field when padding is 0;
8583 otherwise, field width is not respected unless the title is as
8584 wide as the field.
8585
5b165ade
SM
85862013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8587
8588 * emacs-lisp/package.el (package-el-version): Remove.
8589 (package-process-define-package): Fix inf-loop.
8590 (package-install): Allow symbols as arguments again.
8591
12adebe9
DG
85922013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8593
8594 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8595 add some more keyword-like methods.
8596 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8597
388573ee
JB
85982013-06-22 Juanma Barranquero <lekktu@gmail.com>
8599
8600 * bs.el (bs-buffer-show-mark): Make defvar-local.
8601 (bs-mode): Use setq-local.
8602
8603 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8604 (emacs-lock--try-unlocking): Make defvar-local.
8605
4582a01c 86062013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 8607
2663dd23
GM
8608 * play/cookie1.el (cookie-apropos): Minor simplification.
8609
3d94f3ad
GM
8610 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8611
f72e2fdb
DG
86122013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8613
8614 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8615 `regexp-opt', it breaks the build during dumping.
8616
73eab938
DG
86172013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8618
c763842b
SM
8619 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8620 Highlight keyword-like methods on Kernel and Module with
73eab938 8621 font-lock-builtin-face.
5cf8176d
DG
8622 (auto-mode-alist): Consolidate different entries into one regexp
8623 and add more *file-s.
73eab938 8624
d26255f6
SB
86252013-06-21 Stephen Berman <stephen.berman@gmx.net>
8626
8627 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8628
8629 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8630 (diary-entry): Use it in the action of this button type instead of
8631 diary-goto-entry.
8632
8633 * calendar/todo-mode.el: New version.
8634 (todo-add-category): Append new category to end of file and give
8635 it the highest number, instead of putting it at the beginning and
8636 giving it 0. Incorporate noninteractive functionality.
8637 (todo-forward-category): Adapt to 1-based category numbering.
8638 Allow skipping over archived categories.
8639 (todo-backward-category): Derive from todo-forward-category.
8640 (todo-backward-item, todo-forward-item): Make noninteractive and
8641 delegate interactive part to new commands. Make sensitive to done items.
8642 (todo-categories): Make value an alist of category names and
8643 vectors of item counts.
8644 (todo-category-beg): Make a defconst.
8645 (todo-category-number): Use 1 instead of 0 as initial value.
8646 (todo-category-select): Make sensitive to overlays, optional item
8647 highlighting and done items.
8648 (todo-delete-item): Make sensitive to overlays and marked and done items.
8649 (todo-edit-item): Make sensitive to overlays and editing of
8650 date/time header optional. Add format checks.
8651 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8652 no-op if point is not on an item. Advertise using todo-edit-quit.
8653 (todo-edit-mode): Make sensitive to new format, font-locking, and
8654 multiple todo files.
8655 (todo-insert-item, todo-insert-item-here): Derive from
8656 todo-basic-insert-item and extend functionality.
8657 (todo-item-end, todo-item-start): Make sensitive to done items.
8658 (todo-item-string): Don't return text properties. Restore point.
8659 (todo-jump-to-category): Make sensitive to multiple todo files and
8660 todo archives. Use extended category completion.
8661 (todo-lower-item, todo-raise-item): Rename to *-priority and
8662 derive from todo-set-item-priority.
8663 (todo-mode): Derive from special-mode. Make sensitive to new
8664 format, font-locking and multiple todo files. Make read-only.
8665 (todo-mode-map): Don't suppress digit keys, so they can supply
8666 prefix arguments. Add many new key bindings.
8667 (todo-prefix): Insert as an overlay instead of file text.
8668 Change semantics from diary date expression to purely visual mark.
8669 (todo-print): Rename to todo-print-buffer. Make buffer display
8670 features printable. Remove option to restrict number of items
8671 printed. Add option to print to file.
8672 (todo-print-function): Rename to todo-print-buffer-function.
8673 (todo-quit): Extend to handle exiting new todo modes.
8674 (todo-remove-item): Make sensitive to overlays.
8675 (todo-save): Extend to buffers of filtered items.
8676 (todo-show): Make sensitive to done items, multiple todo files and
8677 new todo modes. Offer to convert legacy todo file before creating
8678 first new todo file.
8679 (todo-show-priorities): Rename to todo-top-priorities.
8680 Change semantics of value 0.
8681 (todo-top-priorities): Rename to todo-filter-top-priorities,
8682 derive from todo-filter-items and extend functionality.
8683 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8684 and extend functionality to other types of filtered items.
8685 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8686 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8687 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8688 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8689 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8690 (todo-edit-mode-hook, todo-entry-prefix-function)
8691 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8692 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8693 (todo-initials, todo-insert-threshold, todo-item-string-start)
8694 (todo-line-string, todo-menu, todo-mode-hook)
8695 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8696 (todo-print-priorities, todo-remove-separator)
8697 (todo-save-top-priorities-too, todo-string-count-lines)
8698 (todo-string-multiline-p, todo-time-string-format)
8699 (todo-tmp-buffer-name): Remove.
8700 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8701 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8702 (todo-edit-category-diary-inclusion)
8703 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8704 (todo-edit-file, todo-edit-item-date-day)
8705 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8706 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8707 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8708 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8709 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8710 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8711 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8712 (todo-filter-top-priorities-multifile, todo-find-archive)
8713 (todo-find-filtered-items-file, todo-go-to-source-item)
8714 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8715 (todo-jump-to-archive-category, todo-lower-category)
8716 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8717 (todo-move-category, todo-move-item, todo-next-button)
8718 (todo-next-item, todo-padded-string, todo-powerset)
8719 (todo-previous-button, todo-previous-item)
8720 (todo-print-buffer-to-file, todo-raise-category)
8721 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8722 (todo-set-category-number, todo-set-item-priority)
8723 (todo-set-top-priorities-in-category)
8724 (todo-set-top-priorities-in-file, todo-show-categories-table)
8725 (todo-sort-categories-alphabetically-or-numerically)
8726 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8727 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8728 (todo-toggle-item-header, todo-toggle-item-highlighting)
8729 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8730 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8731 (todo-unarchive-items, todo-unmark-category): New commands.
8732 (todo-absolute-file-name, todo-add-to-buffer-list)
8733 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8734 (todo-basic-insert-item, todo-category-completions)
8735 (todo-category-number, todo-category-string-matcher-1)
8736 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8737 (todo-check-format, todo-clear-matches)
8738 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8739 (todo-current-category, todo-date-string-matcher)
8740 (todo-define-insertion-command, todo-diary-expired-matcher)
8741 (todo-diary-goto-entry, todo-diary-item-p)
8742 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8743 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8744 (todo-done-item-section-p, todo-done-separator)
8745 (todo-done-string-matcher, todo-files, todo-filter-items)
8746 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8747 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8748 (todo-insert-category-line, todo-insert-item-from-calendar)
8749 (todo-insert-sort-button, todo-insert-with-overlays)
8750 (todo-insertion-command-name, todo-insertion-key-bindings)
8751 (todo-label-to-key, todo-longest-category-name-length)
8752 (todo-make-categories-list, todo-mode-external-set)
8753 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8754 (todo-modes-set-3, todo-multiple-filter-files)
8755 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8756 (todo-read-category, todo-read-date, todo-read-dayname)
8757 (todo-read-file-name, todo-read-time)
8758 (todo-reevaluate-category-completions-files-defcustom)
8759 (todo-reevaluate-default-file-defcustom)
8760 (todo-reevaluate-filelist-defcustoms)
8761 (todo-reevaluate-filter-files-defcustom)
8762 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8763 (todo-reset-done-separator, todo-reset-done-separator-string)
8764 (todo-reset-done-string, todo-reset-global-current-todo-file)
8765 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8766 (todo-reset-prefix, todo-set-categories)
8767 (todo-set-date-from-calendar, todo-set-show-current-file)
8768 (todo-set-top-priorities, todo-short-file-name)
8769 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8770 (todo-total-item-counts, todo-update-buffer-list)
8771 (todo-update-categories-display, todo-update-categories-sexp)
8772 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8773 New functions.
8774 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8775 New major modes.
8776 (todo-categories, todo-display, todo-edit, todo-faces)
8777 (todo-filtered): New defgroups.
8778 (todo-archived-only, todo-button, todo-category-string, todo-date)
8779 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8780 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8781 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8782 (todo-add-item-if-new-category, todo-always-add-time-string)
8783 (todo-categories-align, todo-categories-archived-label)
8784 (todo-categories-category-label, todo-categories-diary-label)
8785 (todo-categories-done-label, todo-categories-number-separator)
8786 (todo-categories-todo-label, todo-categories-totals-label)
8787 (todo-category-completions-files, todo-completion-ignore-case)
8788 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8789 (todo-done-separator-string, todo-done-string)
8790 (todo-files-function, todo-filter-done-items, todo-filter-files)
8791 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8792 (todo-initial-category, todo-initial-file, todo-item-mark)
8793 (todo-legacy-date-time-regexp, todo-mode-line-function)
8794 (todo-nondiary-marker, todo-number-prefix)
8795 (todo-print-buffer-function, todo-show-current-file)
8796 (todo-show-done-only, todo-show-first, todo-show-with-done)
8797 (todo-skip-archived-categories, todo-top-priorities-overrides)
8798 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8799 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8800 New defcustoms.
8801 (todo-category-done, todo-date-pattern, todo-date-string-start)
8802 (todo-diary-items-buffer, todo-done-string-start)
8803 (todo-filtered-items-buffer, todo-item-start)
8804 (todo-month-abbrev-array, todo-month-name-array)
8805 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8806 (todo-top-priorities-buffer): New defconsts.
8807 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8808 (todo-categories-with-marks, todo-category-string-face)
8809 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8810 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8811 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8812 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8813 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8814 (todo-font-lock-keywords, todo-global-current-todo-file)
8815 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8816 (todo-insertion-commands-args)
8817 (todo-insertion-commands-args-genlist)
8818 (todo-insertion-commands-names, todo-insertion-map)
8819 (todo-key-bindings-t, todo-key-bindings-t+a)
8820 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8821 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8822 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8823 (todo-visited): New variables.
8824
cad5d1cb
GM
88252013-06-21 Glenn Morris <rgm@gnu.org>
8826
8827 * play/cookie1.el (cookie-apropos): Add optional display argument.
8828 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8829 (psychoanalyze-pinhead): Use cookie-doctor.
8830
9e277302
JB
88312013-06-21 Juanma Barranquero <lekktu@gmail.com>
8832
8833 * emacs-lisp/package.el (tar-get-file-descriptor)
8834 (tar--extract): Declare.
8835
c5b0993e
EW
88362013-06-21 Eduard Wiebe <usenet@pusto.de>
8837
8838 Extend flymake's warning predicate to be a function (bug#14217).
8839 * progmodes/flymake.el (flymake-warning-predicate): New.
8840 (flymake-parse-line): Use it.
8841 (flymake-warning-re): Make obsolete alias to
8842 `flymake-warning-predicate'.
8843
a7d2d465
SM
88442013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8845
8846 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8847 (package-obsolete-list): Remove.
8848 (package-activate): Remove min-version argument. Add `force' argument.
8849 Adjust to new package-alist format.
8850 (package-mark-obsolete): Remove.
8851 (package-unpack): Force reload of the package's autoloads.
8852 (package-installed-p): Check builtins if the installed package is not
8853 recent enough.
8854 (package-initialize): Don't reset package-obsolete-list.
8855 Don't specify which package version to activate.
8856 (package-process-define-package, describe-package-1)
8857 (package-menu--generate): Adjust to new package-alist format.
8858
cedf5c9d
JB
88592013-06-21 Juanma Barranquero <lekktu@gmail.com>
8860
8861 * allout-widgets.el (allout-widgets-mode-off)
8862 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8863 (allout-widgets-post-command-business)
8864 (allout-widgets-after-copy-or-kill-function)
8865 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8866 (allout-decorate-item-and-context)
8867 (allout-graphics-modification-handler): Fix typos in docstrings.
8868 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8869
8870 * cmuscheme.el (scheme-start-file): Doc fix.
8871 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8872 (scheme-input-filter): Use `string-match-p'.
8873
8874 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8875
8876 * dired-x.el: Use Dired consistently in docstrings.
8877
8878 * dired.el: Use Dired consistently in docstrings.
8879 (dired-readin, dired-mode): Use `setq-local'.
8880 (dired-switches-alist): Make defvar-local.
8881 (dired-buffers-for-dir): Use `zerop'.
8882 (dired-safe-switches-p, dired-switches-escape-p)
8883 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8884 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8885 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8886 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8887 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8888 (dired-toggle-marks, dired-mark-files-containing-regexp)
8889 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8890 (dired-flag-auto-save-files, dired-flag-backup-files):
8891 Use `looking-at-p'.
8892 (dired-mark-files-regexp, dired-build-subdir-alist):
8893 Use `string-match-p', `looking-at-p'.
8894
8895 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8896 (direct-print-region-helper): Use `string-match-p'.
8897
aed838b5
LL
88982013-06-21 Leo Liu <sdl.web@gmail.com>
8899
cedf5c9d
JB
8900 * comint.el (comint-redirect-results-list-from-process):
8901 Fix infinite loop.
aed838b5 8902
d80a808f
LMI
89032013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8904
8905 * net/eww.el (eww-update-header-line-format): Quote % characters.
8906
e7a526e3
GM
89072013-06-21 Glenn Morris <rgm@gnu.org>
8908
8909 * play/cookie1.el (cookie): New custom group.
8910 (cookie-file): New option.
8911 (cookie-check-file): New function.
8912 (cookie): Make it interactive. Make start and end messages optional.
8913 Interactively, display the result. Default to cookie-file.
8914 (cookie-insert): Default to cookie-file.
8915 (cookie-snarf): Make start and end messages optional.
8916 Default to cookie-file. Use with-temp-buffer.
8917 (cookie-read): Rename from read-cookie.
8918 Make start and end messages optional. Default to cookie-file.
8919 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 8920 Do not autoload it.
e7a526e3
GM
8921 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8922 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8923
62efb35e
LL
89242013-06-21 Leo Liu <sdl.web@gmail.com>
8925
8926 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8927
21e3f963
GM
89282013-06-21 Glenn Morris <rgm@gnu.org>
8929
8930 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8931
fd846ab4
SM
89322013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8933 Daniel Hackney <dan@haxney.org>
8934
8935 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8936 Consolidate the single-file vs tarball code.
8937 (package-desc-suffix): New function.
8938 (package-desc-full-name): Don't bother inlining it.
8939 (package-load-descriptor): Return the new package-desc.
8940 (package-mark-obsolete): Remove unused arg `package'.
8941 (package-unpack): Make it work for single files as well.
8942 Make it update package-alist.
8943 (package--make-autoloads-and-stuff): Rename from
8944 package--make-autoloads-and-compile. Don't compile any more.
8945 (package--compile): New function.
8946 (package-generate-description-file): New function, extracted from
8947 package-unpack-single.
8948 (package-unpack-single): Remove.
8949 (package--with-work-buffer): Add indentation and debugging info.
8950 (package-download-single): Remove.
8951 (package-install-from-archive): Rename from package-download-tar, make
8952 it take a pkg-desc, and make it work for single files as well.
8953 (package-download-transaction): Simplify.
8954 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8955 external tar program.
8956 (package-install-from-buffer): Remove `pkg-desc' argument.
8957 Use package-tar-file-info for tar-mode buffers.
8958 (package-install-file): Simplify accordingly.
8959 (package-archive-base): Change to take a pkg-desc.
8960 * tar-mode.el (tar--check-descriptor): New function, extracted from
8961 tar-get-descriptor.
8962 (tar-get-descriptor): Use it.
8963 (tar-get-file-descriptor): New function.
8964 (tar--extract): New function, extracted from tar-extract.
8965 (tar--extract): Use it.
8966 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8967 case the summary uses non-ascii. Adjust to new calling convention of
8968 package-tar-file-info.
8969
b7deae5e
LL
89702013-06-21 Leo Liu <sdl.web@gmail.com>
8971
fd846ab4
SM
8972 * comint.el (comint-redirect-results-list-from-process):
8973 Fix random delay. (Bug#14681)
b7deae5e 8974
7a65a0b2
JB
89752013-06-21 Juanma Barranquero <lekktu@gmail.com>
8976
8977 * profiler.el (profiler-format-number): Use log, not log10.
8978
1493c2af
JB
89792013-06-20 Juanma Barranquero <lekktu@gmail.com>
8980
8981 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8982
aff6371e
SM
89832013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8984
8985 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8986 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8987 yet available.
8988 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8989 (AUTOGENEL): ... here.
8990 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8991 (cl--defsubst-expand): Use it.
8992
89561f72
PE
89932013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8994
8995 * subr.el (log10): Move here from C code, and declare as obsolete.
8996 All uses of (log10 X) replaced with (log X 10).
8997
47199123
JB
89982013-06-20 Juanma Barranquero <lekktu@gmail.com>
8999
9000 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9001 Declare with `defvar-local'.
9002 (tabulated-list-use-header-line, tabulated-list-entries)
9003 (tabulated-list-padding, tabulated-list-printer)
9004 (tabulated-list-sort-key): Declare with `defvar-local'.
9005 (tabulated-list-init-header, tabulated-list-print-fake-header):
9006 Use `setq-local'.
9007
4a172eab
MA
90082013-06-20 Michael Albinus <michael.albinus@gmx.de>
9009
47199123
JB
9010 * arc-mode.el (archive-mode): Add `archive-write-file' to
9011 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 9012
5fc0acc0
JB
90132013-06-20 Juanma Barranquero <lekktu@gmail.com>
9014
d5b27848
JB
9015 * cus-edit.el (custom-commands): Fix typos.
9016 (custom-display): Fix tooltip text.
9017 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9018 Fix typos in docstrings.
9019 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9020 (custom-unlispify-menu-entry, custom-magic-value-create)
9021 (custom-add-see-also, custom-group-value-create): Use ?\s.
9022 (custom-guess-type, customize-apropos, editable-field)
9023 (custom-face-value-create): Use `string-match-p'.
9024 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9025
9026 * custom.el (custom-load-symbol): Use `string-match-p'.
9027
a5c581d8
JB
9028 * ansi-color.el: Convert to lexical binding.
9029 (ansi-colors): Fix URL.
9030 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9031 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9032 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9033
970ad972
G
90342013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9035
9036 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9037
9038 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9039
90402013-06-19 Tom Tromey <tromey@redhat.com>
9041
9042 * net/eww.el (eww-top-url): Remove.
9043 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9044 (eww-render): Set new variables. Don't set eww-top-url.
9045 (eww-handle-link): Handle "prev", "home", and "contents".
9046 Downcase the rel text.
9047 (eww-top-url): Choose best top URL.
9048
90492013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9050
9051 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9052 relying in widget.el. Using widget.el leads to too many
9053 user interface inconsistencies.
9054 (eww-self-insert): Implement entering commands in text fields.
9055 (eww-process-text-input): New function to make text input field editing
9056 work.
9057 (eww-submit): Rewrite to use the new-style form methods.
9058 (eww-select-display): Display the correct selected item.
9059 (eww-change-select): Implement changing the select value.
9060 (eww-toggle-checkbox): Implement radio/checkboxes.
9061 (eww-update-field): Fix compilation error.
9062 (eww-tag-textarea): Implement <textarea>.
9063
9064 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9065 we don't shadow mode-specific bindings.
9066
9067 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9068 nothing to push.
9069
9070 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9071
4582a01c 90722013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
9073
9074 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9075
15b263dc
MA
90762013-06-19 Michael Albinus <michael.albinus@gmx.de>
9077
9078 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9079 not needed.
9080
9081 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9082
8f5297f7
LMI
90832013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9084
9085 * net/browse-url.el (browse-url-browser-function):
9086 `eww-browse-url' has the right calling signature, `eww' does not.
9087
011c4552
GM
90882013-06-19 Glenn Morris <rgm@gnu.org>
9089
2285bd27
GM
9090 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9091 Only eval autoloaded macros.
9092 (byte-compile-autoload): Only give the macro warning for macros.
9093
1d653303
GM
9094 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9095 (ps-underlined-faces): Declare.
9096
bdd779ec
GM
9097 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9098 (speedbar-add-supported-extension): Declare.
9099
011c4552
GM
9100 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9101 Don't include a date stamp in the header of the generated file;
9102 it leads to needless differences between output files.
9103
e59dfb0e
MA
91042013-06-19 Michael Albinus <michael.albinus@gmx.de>
9105
c763842b
SM
9106 * net/secrets.el (secrets-struct-secret-content-type):
9107 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 9108 Some servers do not offer introspection.
e59dfb0e 9109
102626e2
SM
91102013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9111
9112 * electric.el (electric-pair-mode): Improve interaction with
9113 electric-layout-mode.
9114 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9115 (electric-pair-syntax): Use text-mode-syntax-table in comments
9116 and strings.
9117 (electric-pair--insert): New function.
9118 (electric-pair-post-self-insert-function): Use it and
9119 electric--after-char-pos.
9120
ad528125
LL
91212013-06-19 Leo Liu <sdl.web@gmail.com>
9122
9123 * progmodes/octave.el (octave-help): Fix regexp.
9124
924d6997
G
91252013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9126
9127 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9128 (shr-table-horizontal-line): Allow nil as a value, and change the
9129 default.
9130 (shr-insert-table-ruler): Respect the nil value.
9131
91322013-06-18 Tom Tromey <tromey@barimba>
9133
9134 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9135 New defvars.
9136 (eww-open-file): New defun.
9137 (eww-render): Initialize new variables.
9138 (eww-display-html): Handle "link" and "a".
9139 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9140 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9141 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
9142 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9143 New defuns.
924d6997 9144
d1bbba4f
DG
91452013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9146
9147 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9148 Distinguish ternary operator tokens from slash symbol and slash
9149 char literal.
9150
14dd22d2
JB
91512013-06-18 Juanma Barranquero <lekktu@gmail.com>
9152
9153 Convert symbol prettification into minor mode and global minor mode.
9154
9155 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9156 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9157 (prettify-symbols--keywords): Rename from
9158 `prog-prettify-symbols-alist' and make a local defvar.
9159 (prettify-symbols--compose-symbol): Rename from
9160 `prog--prettify-font-lock-compose-symbol'.
9161 (prettify-symbols--make-keywords): Rename from
9162 `prog-prettify-font-lock-symbols-keywords' and simplify.
9163 (prog-prettify-install): Remove.
9164 (prettify-symbols-mode): New minor mode, based on
9165 `prog-prettify-install'.
9166 (turn-on-prettify-symbols-mode): New function.
9167 (global-prettify-symbols-mode): New globalized minor mode.
9168
9169 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9170 * progmodes/cfengine.el (cfengine3-mode):
9171 * progmodes/perl-mode.el (perl-mode): Don't call
9172 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9173
292c880c
JL
91742013-06-18 Juri Linkov <juri@jurta.org>
9175
9176 * files-x.el (modify-file-local-variable-message): New function.
9177 (modify-file-local-variable)
9178 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9179 and call `modify-file-local-variable-message' when it's non-nil.
9180 (add-file-local-variable, delete-file-local-variable)
9181 (add-file-local-variable-prop-line)
9182 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9183 and use it. (Bug#9820)
9184
0950aa27
JL
91852013-06-18 Juri Linkov <juri@jurta.org>
9186
9187 * emulation/vi.el (vi-shell-op):
9188 * emulation/vip.el (vip-execute-com, ex-command):
9189 * emulation/viper-cmd.el (viper-exec-bang):
9190 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9191 the call of `shell-command-on-region'. (Bug#14637)
9192
9193 * simple.el (shell-command-on-region): Doc fix.
9194
8fbcca16
SM
91952013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9196
9197 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9198 (bug#14633).
9199
dd7426ea
GM
92002013-06-18 Glenn Morris <rgm@gnu.org>
9201
4ba54f7d
GM
9202 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9203
dd7426ea
GM
9204 * newcomment.el (comment-search-forward, comment-search-backward):
9205 Doc fix. (Bug#14376)
9206
58aa805b
JB
92072013-06-18 Juanma Barranquero <lekktu@gmail.com>
9208
9209 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9210 (buffer-face-mode-invoke): Doc fix.
9211
9a08a617
MM
92122013-06-18 Matthias Meulien <orontee@gmail.com>
9213
9214 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 9215 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 9216
f2f426ca
GM
92172013-06-18 Glenn Morris <rgm@gnu.org>
9218
9445f99b
GM
9219 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9220 Replace obsolete function generic-make-keywords with its expansion.
9221
e0df2d14
GM
9222 * progmodes/python.el (ffap-alist): Declare.
9223
f2f426ca
GM
9224 * textmodes/reftex.el (bibtex-mode-map): Declare.
9225
f7f9a720
SM
92262013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9227
9228 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9229 (package-unpack, package-unpack-single): Return the pkg-dir.
9230 (package-download-transaction): Use it to update package-alist.
9231
57ff04e0
LMI
92322013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9233
9234 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9235 possible choice.
9236
c048c022
JL
92372013-06-17 Juri Linkov <juri@jurta.org>
9238
9239 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9240
b5bcaee5
DG
92412013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9242
a020afb9
JB
9243 * emacs-lisp/package.el (package-load-descriptor):
9244 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
9245 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9246
551e07e5
JB
92472013-06-17 Juanma Barranquero <lekktu@gmail.com>
9248
9249 * startup.el (command-line): Expand package name returned by
9250 `package--description-file' (bug#14639).
9251
d363bffb
DG
92522013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9253
9254 * emacs-lisp/package.el (package-load-descriptor): Do not call
9255 `emacs-lisp-mode', just use its syntax table.
9256
f612933b
JB
92572013-06-17 Juanma Barranquero <lekktu@gmail.com>
9258
9259 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9260 `font-lock-extra-managed-props' if any prettifying keyword is added.
9261 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9262 (prog-mode): Use `setq-local'.
9263
db3b7db5
SM
92642013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9265
9266 * international/characters.el (standard-case-table): Set syntax of ?»
9267 and ?« to punctuation.
9268
f3d674df
JB
92692013-06-16 Juanma Barranquero <lekktu@gmail.com>
9270
9271 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9272 Save relevant match data before calling `syntax-ppss' (bug#14595).
9273
31489a32
JL
92742013-06-15 Juri Linkov <juri@jurta.org>
9275
9276 * files-x.el (modify-file-local-variable-prop-line): Add local
9277 variables to the end of the existing comment on the first line.
9278 Use `file-auto-mode-skip' to skip interpreter magic line,
9279 and also skip XML declaration.
9280
66bd25ab
SM
92812013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9282
9283 * startup.el (package--builtin-versions): New var.
9284 (package-subdirectory-regexp): Remove.
9285 (package--description-file): Hard code its value instead.
9286
9287 * emacs-lisp/package.el: Don't activate packages older than builtin.
9288 (package-obsolete-list): Rename from package-obsolete-alist, and make
9289 it into a simple list of package-desc.
9290 (package-strip-version): Remove.
9291 (package-built-in-p): Use package--builtin-versions.
9292 (package-mark-obsolete): Simplify.
9293 (package-process-define-package): Mark it obsolete if older than the
9294 builtin version.
9295 (package-handle-response): Use line-end-position.
9296 (package-read-archive-contents, package--download-one-archive):
9297 Simplify.
9298 (package--add-to-archive-contents): Skip if older than the builtin or
9299 installed version.
9300 (package-menu-describe-package): Fix last change.
9301 (package-list-unversioned): New var.
9302 (package-menu--generate): Use it.
9303
9304 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9305 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9306 (autoload-builtin-package-versions): New variable.
9307 (autoload-generate-file-autoloads): Use them.
9308 Remove the list of autoloaded functions/macros from the
9309 (autoload...) comments.
9310
9311 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9312
9583ec36
EZ
93132013-06-15 Eli Zaretskii <eliz@gnu.org>
9314
9315 * simple.el (line-move-partial): Don't jump to the next screen
9316 line as soon as it becomes visible. Instead, continue enlarging
9317 the vscroll until the portion of a tall screen line that's left on
9318 display is about the height of the frame's default font.
9319 (Bug#14567)
9320
f0100d8a
GM
93212013-06-15 Glenn Morris <rgm@gnu.org>
9322
b86a85ca
GM
9323 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9324 compilation-error-regexp-alist void, or local while let-bound.
9325
f0100d8a
GM
9326 * progmodes/make-mode.el (makefile-mode-syntax-table):
9327 Treat "=" as punctuation. (Bug#14614)
9328
05e7ce90
JB
93292013-06-15 Juanma Barranquero <lekktu@gmail.com>
9330
9331 * help-fns.el (describe-variable):
9332 Add extra line for permanent-local variables.
9333
12e5e86e
SH
93342013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9335
9336 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9337 Add export, import, library. (Bug#9164)
9338 (library): Set indent function.
9339
230dcbaf
GM
93402013-06-14 Glenn Morris <rgm@gnu.org>
9341
9342 * term/xterm.el (xterm--query):
9343 Stop after first matching handler. (Bug#14615)
9344
e36b2d20 93452013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
9346
9347 Add support for dired in saveplace.
9348 * dired.el (dired-initial-position-hook): New variable.
9349 (dired-initial-position): Call hook to place cursor position.
9350 * saveplace.el (save-place-to-alist): Add dired position.
9351 (save-place-dired-hook): New function.
9352
0b31660d
SM
93532013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9354
bf1e6ae8
SM
9355 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9356 through a symbol rather than letrec.
9357
1b8dff23
SM
9358 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9359 (package-desc): Add `dir' field.
9360 (package-desc-full-name): New function.
9361 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9362 (package-maybe-load-descriptor): Remove.
9363 (package-load-all-descriptors): Just call package-load-descriptor.
9364 (package--disabled-p): New function.
9365 (package-desc-vers, package-desc-doc): Remove aliases.
9366 (package--dir): Remove function.
9367 (package-activate): Check if a package is disabled.
9368 (package-process-define-package): New function, extracted from
9369 define-package.
9370 (define-package): Turn into a place holder.
9371 (package-unpack-single, package-tar-file-info):
9372 Use package--description-file.
9373 (package-compute-transaction): Use package--disabled-p.
9374 (package-download-transaction): Don't call
9375 package-maybe-load-descriptor since they're all loaded anyway.
9376 (package-install): Change argument to be a pkg-desc.
9377 (package-delete): Use a single pkg-desc argument.
9378 (describe-package-1): Use package-desc-dir instead of package--dir.
9379 Use package-desc property instead of package-symbol.
9380 (package-install-button-action): Adjust accordingly.
9381 (package--push): Rewrite.
9382 (package-menu--print-info): Adjust accordingly. Change the ID format
9383 to be a pkg-desc.
9384 (package-menu-describe-package, package-menu-get-status)
9385 (package-menu--find-upgrades, package-menu-mark-upgrades)
9386 (package-menu-execute, package-menu--name-predicate):
9387 Adjust accordingly.
9388 * startup.el (package--description-file): New function.
9389 (command-line): Use it.
9390 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9391 Use package-desc-version.
9392
0b31660d
SM
9393 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9394 (byte-compile-preprocess): Use it.
9395 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9396 can't quite recognize.
9397 (byte-compile-add-to-list): Remove.
9398 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9399 (cconv-closure-convert): Add assertion.
9400
9401 * emacs-lisp/map-ynp.el: Use lexical-binding.
9402 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9403 Factor out some repeated code.
9404
de0503df
SM
94052013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9406
9407 * subr.el (with-eval-after-load): New macro.
9408 (eval-after-load): Allow form to be a function.
9409 take advantage of lexical-binding.
9410 (do-after-load-evaluation): Use dolist and adjust to new format.
9411 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9412
bc5c8c5a
JL
94132013-06-13 Juri Linkov <juri@jurta.org>
9414
9415 * replace.el (perform-replace): Display "symbol " and other search
9416 modes from `isearch-message-prefix' in the *Help* buffer.
9417
9418 * isearch.el (isearch-query-replace): Add " symbol" and other
9419 possible search modes from `isearch-message-prefix' to the prompt.
9420 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9421 when reading a regexp to collect.
9422
a22289f7
JL
94232013-06-13 Juri Linkov <juri@jurta.org>
9424
9425 * isearch.el (word-search-regexp): Match whitespace if the search
9426 string begins or ends in whitespace. The LAX arg is applied to
9427 both ends of the search string. Use `regexp-quote' and explicit
9428 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9429 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9430 boundaries are replaced with symbol boundaries, and characters
9431 between symbols match non-word non-symbol syntax. (Bug#14602)
9432
cb89acab
JL
94332013-06-13 Juri Linkov <juri@jurta.org>
9434
9435 * isearch.el (isearch-del-char): Don't exceed the length of
9436 `isearch-string' by the prefix arg. (Bug#14563)
9437
6e8cfc81
JL
94382013-06-13 Juri Linkov <juri@jurta.org>
9439
9440 * isearch.el (isearch-yank-word, isearch-yank-line)
9441 (isearch-char-by-name, isearch-quote-char)
9442 (isearch-printing-char, isearch-process-search-char):
9443 Add optional count prefix arg. (Bug#14563)
9444
9445 * international/isearch-x.el
9446 (isearch-process-search-multibyte-characters):
9447 Add optional count prefix arg.
9448
c23d55f4
VS
94492013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9450
9451 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9452 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9453 lexical-binding.
9454
94552013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9456
9457 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9458
ba947bc4
GM
94592013-06-13 Glenn Morris <rgm@gnu.org>
9460
8baeb37a
GM
9461 * startup.el (tty-handle-args):
9462 Don't just discard "--" and anything after. (Bug#14608)
9463
ba947bc4
GM
9464 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9465
9abefce4
MA
94662013-06-13 Michael Albinus <michael.albinus@gmx.de>
9467
9468 Implement changes in Secret Service API. Make it backward compatible.
9469 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9470 (secrets-create-item): Use it. Prefix properties with interface.
9471
5755011f
MH
94722013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9473
9474 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9475 (term-emulate-terminal): Respect term-suppress-hard-newline.
9476
1261d2da
S
94772013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9478
9479 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9480 Only remove a `thumb-file' overlay. (Bug#14548)
9481
868490bb
GJ
94822013-06-12 Grégoire Jadi <daimrod@gmail.com>
9483
9484 * mail/reporter.el (reporter-submit-bug-report):
9485 Handle missing package-name. (Bug#14600)
9486
79d7167f
TH
94872013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9488
9489 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9490 (reftex-citation-prompt, reftex-default-bibliography)
9491 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9492 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9493 (reftex-bib-sort-author, reftex-bib-sort-year)
9494 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9495 (reftex-extract-bib-entries-from-thebibliography)
9496 (reftex-get-bibkey-default, reftex-get-bib-names)
9497 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9498 (reftex-format-bib-entry, reftex-parse-bibitem)
9499 (reftex-format-bibitem, reftex-do-citation)
9500 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9501 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9502 (reftex-insert-bib-matches, reftex-format-citation)
9503 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9504 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9505 existing comments into docstrings.
9506
5f9dbd7a
XF
95072013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9508
9509 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9510
94df41ab
AS
95112013-06-12 Andreas Schwab <schwab@suse.de>
9512
9513 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9514 for auto-save files.
9515
a7f3fecc
GM
95162013-06-12 Glenn Morris <rgm@gnu.org>
9517
001809f6
GM
9518 * ido.el (ido-delete-ignored-files): Remove.
9519 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9520 Go back to calling ido-ignore-item-p directly.
a7f3fecc 9521
834b5ded
EL
95222013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9523
08c73ed2
EL
9524 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9525
834b5ded
EL
9526 * ido.el (ido-delete-ignored-files): New function,
9527 split from ido-make-file-list-1.
9528 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9529 (ido-make-file-list-1): Use ido-delete-ignored-files.
9530
daabf15a
LL
95312013-06-12 Leo Liu <sdl.web@gmail.com>
9532
9533 * progmodes/octave.el (inferior-octave-startup)
9534 (inferior-octave-completion-table)
9535 (inferior-octave-track-window-width-change)
9536 (octave-eldoc-function-signatures, octave-help)
9537 (octave-find-definition): Use single quoted strings.
9538 (inferior-octave-startup-args): Change default value.
9539 (inferior-octave-startup): Do not hard code "-i" and
9540 "--no-line-editing".
9541 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9542 (inferior-octave-directory-tracker): Use it.
9543 (octave-goto-function-definition): Robustify.
9544 (octave-help): Support highlighting operators in 'See also'.
9545 (octave-find-definition): Find subfunctions only in Octave mode.
9546
cf4e5178
SM
95472013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9548
9549 * help-fns.el (help-fns--compiler-macro): If the handler function is
9550 named, then put a link to it.
9551 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9552 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9553 (cl-typep): Use it.
9554 (cl-eval-when): Simplify debug spec.
9555 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9556 compiler-macro function instead of setting `compiler-macro-file'.
9557
99c81280 95582013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
9559
9560 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9561 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9562
f56be016
SM
95632013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9564 Daniel Hackney <dan@haxney.org>
9565
9566 First part of Daniel Hackney's patch to package.el.
9567 * emacs-lisp/package.el: Use defstruct.
9568 (package-desc): New, main struct.
9569 (package--bi-desc, package--ac-desc): New structs, used to describe the
9570 format in external files.
9571 (package-desc-vers): Replace with package-desc-version accessor.
9572 (package-desc-doc): Replace with package-desc-summary accessor.
9573 (package-activate-1): Remove `package' arg since the pkg-vec now
9574 includes the name.
9575 (define-package): Use package-desc-from-define.
9576 (package-unpack-single): Change file-name arg to be a symbol.
9577 (package--add-to-archive-contents): Use package-desc-create and new
9578 accessor functions to package--ac-desc.
9579 (package-buffer-info, package-tar-file-info): Return a package-desc.
9580 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9581 arg to be a package-desc.
9582 (package-install-file): Adjust accordingly. Use \' to match EOS.
9583 (package--from-builtin): New function.
9584 (describe-package-1, package-menu--generate): Use it.
9585 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9586 (package-generate-autoloads): Idem and return the name of the file.
9587 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9588 Change pkg-info arg to be a package-desc.
9589 Use package-make-ac-desc.
9590 (package-upload-file): Use \' to match EOS.
9591 * finder.el (finder-compile-keywords): Use package-make-builtin.
9592
31119d63
SM
95932013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9594
931a2762
SM
9595 * vc/vc.el (vc-deduce-fileset): Change error message.
9596 (vc-read-backend): New function.
9597 (vc-next-action): Use it.
9598
5a3eb0c6
SM
9599 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9600
e3eb1bb7
SM
9601 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9602 (prolog-font-lock-keywords): Use regexp-opt instead.
9603 Don't manually highlight strings.
9604 (prolog-mode-variables): Simplify comment-start-skip.
9605 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9606
31119d63
SM
9607 * emacs-lisp/generic.el (generic--normalise-comments)
9608 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9609 (generic-mode-set-comments): Use them.
9610 (generic-bracket-support): Use setq-local.
9611 (generic-make-keywords-list): Declare obsolete.
9612
7de135d0
GM
96132013-06-11 Glenn Morris <rgm@gnu.org>
9614
9615 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9616 Prettify after setting font-lock-defaults. (Bug#14574)
9617
fa6bc6fd
JB
96182013-06-11 Juanma Barranquero <lekktu@gmail.com>
9619
9620 * replace.el (query-replace, occur-read-regexp-defaults-function)
9621 (replace-search):
9622 * subr.el (declare-function, number-sequence, local-set-key)
9623 (substitute-key-definition, locate-user-emacs-file)
9624 (with-silent-modifications, split-string, eval-after-load):
9625 Fix typos, remove unneeded backslashes and reflow some docstrings.
9626
cf1f9b9a
SM
96272013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9628
9629 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9630 default for Elisp files.
9631
56602a4b
GM
96322013-06-11 Glenn Morris <rgm@gnu.org>
9633
9634 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9635 although define-derived-mode was doing this anyway. (Bug#14583)
9636
30ae0b2c
JB
96372013-06-10 Juanma Barranquero <lekktu@gmail.com>
9638
9639 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9640 Fix make-variable-buffer-local call to refer to the correct variable.
9641
fa472906
AG
96422013-06-10 Aidan Gauland <aidalgol@amuri.net>
9643
9644 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
9645 (eshell-visual-subcommands, eshell-visual-options):
9646 Add summary line to docstrings. Add cross-references.
fa472906 9647
ff4871b9
GM
96482013-06-10 Glenn Morris <rgm@gnu.org>
9649
9650 * epa.el (epa-read-file-name): New function. (Bug#14510)
9651 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9652
04fcf1b0
AG
96532013-06-09 Aidan Gauland <aidalgol@amuri.net>
9654
9655 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9656 output redirection to be ignored with visual commands.
9657
88b00caa
AG
96582013-06-09 Aidan Gauland <aidalgol@amuri.net>
9659
9660 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
9661 (eshell-term-initialize): Move long lambda to separate function
9662 eshell-visual-command-p.
e7b41c4c
JB
9663 * eshell/em-dirs.el (eshell-dirs-initialise):
9664 * eshell/em-script.el (eshell-script-initialize):
9665 Add missing #' to lambda.
88b00caa 9666
fda74125
LL
96672013-06-08 Leo Liu <sdl.web@gmail.com>
9668
9669 * progmodes/octave.el (octave-add-log-current-defun): New function.
9670 (octave-mode): Set add-log-current-defun-function.
9671 (octave-goto-function-definition): Do not move point if not found.
9672 (octave-find-definition): Enhance to try subfunctions first.
9673
467f3b33
GM
96742013-06-08 Glenn Morris <rgm@gnu.org>
9675
9676 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9677 (byte-compile-backward-char, byte-compile-backward-word):
9678 Improve previous change, to handle non-explicit nil.
9679
544badc3
SM
96802013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9681
9682 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9683 (smie--opener/closer-at-point): New function.
9684 (smie--matching-block-data): Use it. Don't match from right after an
9685 opener or right before a closer. Obey smie-blink-matching-inners.
9686 Don't signal a mismatch for repeated inners like "switch..case..case".
9687
a175bf33
LL
96882013-06-07 Leo Liu <sdl.web@gmail.com>
9689
9690 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9691 to t. (Bug#14303)
ce8209d4
LL
9692 (octave-function-header-regexp): Fix. (Bug#14570)
9693 (octave-help-mode-finish-hook, octave-help-mode-finish):
9694 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
9695
9696 * newcomment.el (comment-search-backward): Revert last change.
9697 (Bug#14434)
9698
9699 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9700
a822acff
EZ
97012013-06-07 Eli Zaretskii <eliz@gnu.org>
9702
9703 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9704 through xargs, to avoid failure due to MS-Windows limitations on
9705 command-line length.
9706
961166f5
GM
97072013-06-06 Glenn Morris <rgm@gnu.org>
9708
d0341459
GM
9709 * font-lock.el (lisp-font-lock-keywords-2):
9710 Treat user-error like error.
9711
961166f5
GM
9712 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9713 (byte-compile-backward-char, byte-compile-backward-word):
9714 Handle explicit nil arguments. (Bug#14565)
9715
80fa505f
AM
97162013-06-05 Alan Mackenzie <acm@muc.de>
9717
9718 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 9719 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 9720 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 9721 (Bug#9706)
80fa505f 9722
fccdc796
SM
97232013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9724
9725 * autorevert.el (auto-revert-notify-handler): Use memq.
9726 Hide assertion failure.
9727
9728 * skeleton.el: Use cl-lib.
9729 (skeleton-further-elements): Use defvar-local.
9730 (skeleton-insert): Use cl-progv.
9731
9bfff84b
TZ
97322013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9733
9734 * progmodes/prog-mode.el (prog-prettify-symbols)
9735 (prog-prettify-install): Update docstrings.
9736
55577e7c
SM
97372013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9738
9739 * simple.el: Move all the prog-mode code to prog-mode.el.
9740 * progmodes/prog-mode.el: New file.
9741 * loadup.el: Add prog-mode.el.
9742
8fc57765
TZ
97432013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9744
9745 * simple.el (prog-prettify-symbols): Add version.
9746 (prog-prettify-install): Add convenience function to prettify symbols.
9747
9748 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9749 (perl--augmented-font-lock-keywords-1)
9750 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9751 variables and use it.
9752
9753 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9754 (cfengine3-mode): Remove unneeded variable and use it.
9755
9756 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9757 (lisp--augmented-font-lock-keywords-1)
9758 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9759 Remove unneeded variables and use it.
9760
650645d5 97612013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
9762
9763 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 9764 to point when opening the connection. (Bug#14380)
28f5da6d 9765
781b4af6
SM
97662013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9767
9768 * subr.el (load-history-regexp, load-history-filename-element)
9769 (eval-after-load, after-load-functions, do-after-load-evaluation)
9770 (eval-next-after-load, display-delayed-warnings)
9771 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9772 definition of save-match-data.
9773 (overriding-local-map): Remove accidental obsolescence declaration.
9774
9775 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9776
3ca0d0b4
TZ
97772013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9778
9779 Generalize symbol prettify support to prog-mode and implement it
9780 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9781 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9782 (prog--prettify-font-lock-compose-symbol)
9783 (prog-prettify-font-lock-symbols-keywords): New variables and
9784 functions to support symbol prettification.
9785 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9786 (lisp--augmented-font-lock-keywords-1)
9787 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9788 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9789 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
9790 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9791 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
9792 * progmodes/perl-mode.el (perl-prettify-symbols)
9793 (perl--font-lock-compose-symbol)
9794 (perl--font-lock-symbols-keywords): Move to prog-mode.
9795 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9796 (perl-font-lock-keywords-1)
9797 (perl-font-lock-keywords-2): Remove explicit prettify support.
9798 (perl--augmented-font-lock-keywords)
9799 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
9800 (perl--augmented-font-lock-keywords-2, perl-mode):
9801 Implement prettify support.
3ca0d0b4 9802
976cb066
LL
98032013-06-05 Leo Liu <sdl.web@gmail.com>
9804
9805 Re-implement smie matching block highlight using
9806 show-paren-data-function. (Bug#14395)
9807 * emacs-lisp/smie.el (smie-matching-block-highlight)
9808 (smie--highlight-matching-block-overlay)
9809 (smie--highlight-matching-block-lastpos)
9810 (smie-highlight-matching-block)
9811 (smie-highlight-matching-block-mode): Remove.
9812 (smie--matching-block-data-cache): New variable.
9813 (smie--matching-block-data): New function.
9814 (smie-setup): Use smie--matching-block-data for
9815 show-paren-data-function.
9816
9817 * progmodes/octave.el (octave-mode-menu): Fix.
9818 (octave-find-definition): Skip garbage lines.
9819
208d0342
SM
98202013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9821
9822 Fix compilation error with simultaneous dynamic+lexical scoping.
9823 Add warning when a defvar appears after the first let-binding.
9824 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9825 (byte-compile-close-variables): Initialize it.
9826 (byte-compile--declare-var): New function.
9827 (byte-compile-file-form-defvar)
9828 (byte-compile-file-form-define-abbrev-table)
9829 (byte-compile-file-form-custom-declare-variable): Use it.
9830 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9831 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9832 (byte-compile-bind): Handle dynamic bindings that shadow
9833 lexical bindings.
9834 (byte-compile-unbind): Make arg non-optional.
9835 (byte-compile-let): Simplify.
9836 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9837 (cconv--analyse-function, cconv-analyse-form): Populate it.
9838 Protect byte-compile-bound-variables to limit the scope of defvars.
9839 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9840 Remove unneeded rule for `declare'.
9841
9842 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9843 so as to avoid depending on cl-adjoin at run-time.
9844 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9845
9846 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9847 (macroexp--warn-and-return): Use it.
9848
1ac2891e
GM
98492013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9850
a12bf61e 9851 * subr.el: Convert to lexical binding.
1ac2891e
GM
9852 (overriding-local-map): Make obsolete.
9853 (add-to-list): Doc fix. Add compiler macro.
9854 (read-key): Swap values of local maps.
9855
2587b005
LL
98562013-06-05 Leo Liu <sdl.web@gmail.com>
9857
9858 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9859
f1da3c88
LL
98602013-06-04 Leo Liu <sdl.web@gmail.com>
9861
9862 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9863 (compilation-auto-jump): Suppress the "Mark set" message to give
9864 way to exit message.
9865
3caa391f
AM
98662013-06-04 Alan Mackenzie <acm@muc.de>
9867
9868 Remove faulty optimisation from indentation calculation.
9869 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9870 search limit based on 2000 characters back from indent-point.
9871
068922a2
TH
98722013-06-03 Tassilo Horn <tsdh@gnu.org>
9873
9874 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9875
1f8fdd53
SM
98762013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9877
bbcc4d97
SM
9878 * emacs-lisp/lisp.el: Use lexical-binding.
9879 (lisp--local-variables-1, lisp--local-variables): New functions.
9880 (lisp--local-variables-completion-table): New var.
208d0342 9881 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 9882
1f8fdd53
SM
9883 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9884 eagerly (bug#14422).
9885
c9628c79
MA
98862013-06-03 Michael Albinus <michael.albinus@gmx.de>
9887
9888 * autorevert.el (auto-revert-notify-enabled)
9889 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9890 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9891 (auto-revert-notify-handler): Handle also gfilenotify.
9892
e7b41c4c 9893 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 9894 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 9895 Remove.
c9628c79 9896
e5e4a942
JL
98972013-06-03 Juri Linkov <juri@jurta.org>
9898
9899 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9900 `M-s h .'. (Bug#14427)
9901
9902 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9903 command `hi-lock-face-symbol-at-point'.
9904 (hi-lock-face-symbol-at-point): New command.
9905 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9906 (hi-lock-menu): Add `highlight-symbol-at-point'.
9907 (hi-lock-mode): Doc fix.
9908
9909 * isearch.el (isearch-forward-symbol-at-point): New command.
9910 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9911 (isearch-highlight-regexp): Add a regexp which matches
9912 words/symbols for word/symbol mode.
9913
9914 * subr.el (find-tag-default-bounds): New function with the body
9915 mostly moved from `find-tag-default'.
9916 (find-tag-default): Move most code to `find-tag-default-bounds',
9917 call it and apply `buffer-substring-no-properties' afterwards.
9918
26b3353a
TH
99192013-06-03 Tassilo Horn <tsdh@gnu.org>
9920
781b4af6
SM
9921 * eshell/em-term.el (eshell-term-initialize):
9922 Use `cl-intersection' rather than `intersection'.
26b3353a 9923
51b60f53
XF
99242013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9925
fe054b63 9926 * vc/log-view.el: Doc fix.
d3ffe17c 9927 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 9928
a0eb10b3 99292013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
9930
9931 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9932 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9933 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9934 (eieio-unbound, eieio-default-superclass)
9935 (eieio--define-field-accessors, method-static, method-before)
9936 (method-primary, method-after, method-num-lists)
9937 (method-generic-before, method-generic-primary)
9938 (method-generic-after, method-num-slots)
9939 (eieio-specialized-key-to-generic-key)
9940 (eieio--check-type, class-v, class-p)
9941 (eieio-class-name, define-obsolete-function-alias)
9942 (eieio-class-parents-fast, eieio-class-children-fast)
9943 (same-class-fast-p, class-constructor, generic-p)
9944 (generic-primary-only-p, generic-primary-only-one-p)
9945 (class-option-assoc, class-option, eieio-object-p)
9946 (class-abstract-p, class-method-invocation-order)
9947 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9948 (eieio-class-un-autoload, eieio-defclass)
9949 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9950 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9951 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9952 (eieio-defgeneric-reset-generic-form)
9953 (eieio-defgeneric-form-primary-only)
9954 (eieio-defgeneric-reset-generic-form-primary-only)
9955 (eieio-defgeneric-form-primary-only-one)
9956 (eieio-defgeneric-reset-generic-form-primary-only-one)
9957 (eieio-unbind-method-implementations)
9958 (eieio--defmethod, eieio--typep)
9959 (eieio-perform-slot-validation, eieio-validate-slot-value)
9960 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9961 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9962 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9963 (eieio-slot-name-index, eieio-class-slot-name-index)
9964 (eieio-set-defaults, eieio-initarg-to-attribute)
9965 (eieio-attribute-to-initarg, eieio-c3-candidate)
9966 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9967 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9968 (eieio-class-precedence-list, eieio-generic-call-methodname)
9969 (eieio-generic-call-arglst, eieio-generic-call-key)
9970 (eieio-generic-call-next-method-list)
9971 (eieio-pre-method-execution-functions, eieio-generic-call)
9972 (eieio-generic-call-primary-only, eieiomt-method-list)
9973 (eieiomt-optimizing-obarray, eieiomt-install)
9974 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9975 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 9976 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
9977 (defclass): Remove `eval-and-compile' from macro.
9978 (call-next-method, shared-initialize): Instead of using
9979 `scoped-class' variable, use new eieio--scoped-class, and
9980 eieio--with-scoped-class.
9981 (initialize-instance): Rename local variable 'scoped-class' to
9982 'this-class' to remove ambiguitity from old global.
9983
9984 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9985 eieio.el.
4f405069
JB
9986 (eieio--scoped-class-stack): New variable.
9987 (eieio--scoped-class): New fcn.
890f7890
DE
9988 (eieio--with-scoped-class): New scoping macro.
9989 (eieio-defclass): Use pushnew instead of add-to-list.
9990 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9991 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9992 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9993 `scoped-class' variable, use new eieio--scoped-class, and
9994 eieio--with-scoped-class.
9995
9996 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9997
d105b0e2
TH
99982013-06-02 Tassilo Horn <tsdh@gnu.org>
9999
10000 * eshell/esh-ext.el (eshell-external-command): Pass args to
10001 `eshell-find-interpreter'.
10002 (eshell-find-interpreter): Add new second parameter ARGS.
10003
10004 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 10005 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10006
10007 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 10008 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10009
10010 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10011 (eshell-visual-options): New defcustom.
10012 (eshell-escape-control-x): Adapt docstring.
10013 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10014 `eshell-visual-options' in addition to `eshell-visual-commands'.
10015 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10016
f46305c8 100172013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
10018
10019 * progmodes/python.el (python-indent-block-enders): Add break,
10020 continue and raise keywords.
10021
d870df21
GM
100222013-06-01 Glenn Morris <rgm@gnu.org>
10023
9133b82e
GM
10024 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10025
02c992ec 10026 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
10027 * progmodes/cc-cmds.el (delete-forward-p):
10028 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10029 * progmodes/cc-engine.el (buffer-syntactic-context):
10030 * progmodes/cc-fonts.el (face-property-instance):
10031 * progmodes/cc-mode.el (set-keymap-parents):
10032 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10033 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10034 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
10035 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10036 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 10037
31e7b090
GM
10038 * progmodes/cc-vars.el (other): Emacs has this widget since
10039 at least 21.1, so don't (re)define it.
10040
d870df21
GM
10041 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10042 Replace the obsolete alias pcomplete-arg-quote-list.
10043
c75c93c7
LL
100442013-06-01 Leo Liu <sdl.web@gmail.com>
10045
10046 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10047 punctuation syntax.
10048 (inferior-octave-minimal-columns)
10049 (inferior-octave-last-column-width): New variables.
10050 (inferior-octave-track-window-width-change): New function.
10051 (inferior-octave-mode): Adjust column width so that Octave output,
10052 for example from 'ls', can fit into the window nicely.
10053
973d1e12
DG
100542013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10055
10056 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10057 Highlight expansions inside regexp literals.
10058
0888c286
GM
100592013-05-31 Glenn Morris <rgm@gnu.org>
10060
e26aac1f
GM
10061 * obsolete/sym-comp.el (symbol-complete):
10062 Replace obsolete completion-annotate-function.
10063
0888c286
GM
10064 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10065
19bb8e62
DG
100662013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10067
781b4af6
SM
10068 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10069 New function, checks if point is inside a literal that allows
19bb8e62
DG
10070 expression expansion.
10071 (ruby-syntax-propertize-expansion): Use it.
10072 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10073 around the body.
10074
01dea85f
JL
100752013-05-30 Juri Linkov <juri@jurta.org>
10076
10077 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10078 to "\M-si".
10079 (isearch-invisible): New variable.
10080 (isearch-forward): Doc fix.
10081 (isearch-mode): Set `isearch-invisible'
10082 to the value of `search-invisible'.
10083 (isearch-toggle-case-fold): Doc fix.
10084 (isearch-toggle-invisible): New command.
10085 (isearch-query-replace): Let-bind `search-invisible'
10086 to the value of `isearch-invisible'.
10087 (isearch-search): Use `isearch-invisible' instead of
10088 `search-invisible'. Let-bind `search-invisible'
10089 to the value of `isearch-invisible'. (Bug#11378)
10090
ab1bdce5
JL
100912013-05-30 Juri Linkov <juri@jurta.org>
10092
10093 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10094 call when `query-flag' is nil and `search-invisible' is non-nil.
10095 (Bug#11746)
10096
d6d236e2
GM
100972013-05-30 Glenn Morris <rgm@gnu.org>
10098
8accd027
GM
10099 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10100
2a8bed1c
GM
10101 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10102 (cc-require): Suppress spurious "noruntime" warnings.
10103 (cc-require-when-compile): Use fboundp, for sake of compiler.
10104
d6d236e2
GM
10105 * progmodes/cc-mode.el: Move load of cc-vars before that of
10106 cc-langs (which in turn loads cc-vars), to quieten compiler.
10107
9190b35b
SM
101082013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10109
10110 * paren.el: Simplify the code.
10111 (show-paren-mode): Always start the timer.
10112 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10113 (show-paren--overlay, show-paren--overlay-1): Rename from
10114 show-paren-overlay and show-paren-overlay-1, and initialize to an
10115 overlay rather than to nil.
10116 (show-paren-function): Misc cleanup and simplifications.
10117
4f8d1cf6
SM
101182013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10119
10120 * paren.el (show-paren-data-function): New hook.
10121 (show-paren--default): New function, extracted from show-paren-function.
10122 (show-paren-function): Use show-paren-data-function.
10123
02d844b5
GM
101242013-05-30 Glenn Morris <rgm@gnu.org>
10125
d209d4a9
GM
10126 * ielm.el (ielm-map, ielm-complete-symbol):
10127 Use completion-at-point rather than obsolete functions.
10128 (inferior-emacs-lisp-mode): Doc fix.
10129 Set completion-at-point-functions, rather than
10130 comint-dynamic-complete-functions.
10131
2082faa6
GM
10132 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10133 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10134 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10135
dd8620de
GM
10136 * image.el (image-animated-p): Tweak definition.
10137
ceca95b1
GM
10138 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10139 (rlogin-process-connection-type): Tweak default. Add set-after.
10140 (rlogin-host): Doc fix.
10141 (rlogin): Tweak prompt.
10142 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10143
ee9f1acc
GM
10144 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10145 * progmodes/tcl.el (inferior-tcl-mode-map):
10146 Use completion-at-point rather than obsolete alias.
10147
45ce222e
GM
10148 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10149
02d844b5
GM
10150 * minibuffer.el (read-file-name-completion-ignore-case):
10151 Move before completion--in-region, for eager macro expansion.
10152
ac44d6c1
JL
101532013-05-29 Juri Linkov <juri@jurta.org>
10154
10155 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10156 for total count of matching lines. Add `global-matches' for total
10157 count of matches. Rename `matches' to `lines' for count of
10158 matching lines. Add `matches' for count of matches.
10159 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10160 to `prev-line' for line number of prev match endpt.
10161 Increment `matches' for every match. Print the number of
10162 matching lines in the header.
10163 (occur-context-lines): Rename `lines' to `curr-line'.
10164 Rename `prev-lines' to `prev-line'. (Bug#14017)
10165
3c9c9d38
JL
101662013-05-29 Juri Linkov <juri@jurta.org>
10167
10168 * replace.el (perform-replace): Add `skip-read-only-count',
10169 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10170 Increment them for corresponding conditions and report the number
10171 of skipped occurrences in the final message. (Bug#11746)
10172 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10173 (replace-string, replace-regexp): Doc fix.
10174
33e249a2
SM
101752013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10176
8e399682
SM
10177 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10178
33e249a2 10179 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 10180 prog-mode-map (bug#14504).
33e249a2 10181
f236dd84
LL
101822013-05-29 Leo Liu <sdl.web@gmail.com>
10183
10184 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10185 (octave-help): Small simplification.
10186
10187 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10188 off the highlight first.
10189
3694d13f
GM
101902013-05-29 Glenn Morris <rgm@gnu.org>
10191
03983bdc
GM
10192 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10193 Handle idlwave-last-system-routine-info-cons-cell being nil.
10194
bc74a74a
GM
10195 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10196 (idlwave-write-paths): Simplify via with-temp-buffer.
10197
8b394200
GM
10198 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10199 * emulation/cua-rect.el: Also load cua-base at run time.
10200
3694d13f
GM
10201 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10202 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10203 (cperl-imenu-on-info): Require imenu.
10204
336d7284
AM
102052013-05-28 Alan Mackenzie <acm@muc.de>
10206
10207 Handle "capitalised keywords" correctly.
33e249a2 10208 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 10209
cb29c582
AG
102102013-05-28 Aidan Gauland <aidalgol@amuri.net>
10211
781b4af6 10212 * eshell/em-unix.el: Add -r option to cp.
cb29c582 10213
690e44b2
GM
102142013-05-28 Glenn Morris <rgm@gnu.org>
10215
e658d75c
GM
10216 * vc/vc-arch.el (vc-exec-after): Declare.
10217 (vc-switches): Autoload.
10218 * vc/vc-bzr.el: No need to require vc when compiling.
10219 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10220 (vc-resynch-buffer, vc-dir-refresh): Declare.
10221 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
10222 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10223 (vc-resynch-buffer): Declare.
10224 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 10225 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
10226 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10227 (grep-read-regexp, grep-read-files, grep-expand-template)
10228 (vc-dir-refresh): Declare.
10229 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10230 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10231 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
10232 * vc/vc-mtn.el (vc-exec-after): Declare.
10233 (vc-switches): Autoload.
10234 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10235 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10236 (vc-file-tree-walk): Declare.
712b9732
GM
10237 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10238 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10239 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
10240 * vc/vc-svn.el (vc-exec-after): Declare.
10241 (vc-switches, vc-setup-buffer): Autoload.
10242 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10243 Autoload.
10244 (vc-resynch-buffer): Declare.
10245
98e87fb3
GM
10246 * obsolete/fast-lock.el (byte-compile-warnings):
10247 Don't warn about obsolete features in this obsolete file.
10248
f5379553
GM
10249 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10250 Move definition before use.
10251
7a20ef83
GM
10252 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10253 (dun-unix-verbs): Remove dun-zippy.
10254 (dun-zippy): Remove function.
10255
690e44b2
GM
10256 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10257
3a52ccf7
JL
102582013-05-27 Juri Linkov <juri@jurta.org>
10259
10260 * replace.el (replace-search): New function with code moved out
10261 from `perform-replace'.
10262 (replace-highlight, replace-dehighlight): Move function definitions
10263 up closer to `replace-search'. (Bug#11746)
10264
d289938a
JL
102652013-05-27 Juri Linkov <juri@jurta.org>
10266
10267 * replace.el (perform-replace): Ignore invisible matches.
10268 In addition to checking `query-replace-skip-read-only', also
10269 filter out matches by calling `run-hook-with-args-until-failure'
10270 on `isearch-filter-predicates', and also check `search-invisible'
10271 for t or call `isearch-range-invisible'.
10272 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10273
66fc57e3
JL
102742013-05-27 Juri Linkov <juri@jurta.org>
10275
10276 * isearch.el (isearch-filter-predicates): Rename from
10277 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10278 (isearch-message-prefix): Display text from the property
10279 `isearch-message-prefix' of the currently active filters.
10280 (isearch-search): Don't compare `isearch-filter-predicate' with
10281 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10282 on `isearch-filter-predicates'. Also check `search-invisible' for t
10283 or call `isearch-range-invisible'.
10284 (isearch-filter-visible): Make obsolete.
10285 (isearch-lazy-highlight-search):
10286 Call `run-hook-with-args-until-failure' on
10287 `isearch-filter-predicates' and use `isearch-range-invisible'.
10288
10289 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10290 `isearch-filter-predicates' instead of `funcall'ing
10291 `isearch-filter-predicate'.
10292 (Info-mode): Set `Info-isearch-filter' to
10293 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10294
10295 * dired-aux.el (dired-isearch-filter-predicate-orig):
10296 Remove variable.
10297 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10298 (dired-isearch-filenames-end): Add and remove
10299 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10300 instead of changing the value of `isearch-filter-predicate'.
10301 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10302 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10303 Put property `isearch-message-prefix' to "filename " on
10304 `dired-isearch-filter-filenames'.
10305
10306 * wdired.el (wdired-change-to-wdired-mode):
10307 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10308 locally instead of changing `isearch-filter-predicate'.
10309 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10310
f1a60a0f
DG
103112013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10312
10313 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10314 return the commit hash (Bug#14459). Also set the
10315 `vc-git-detached' property.
10316 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10317 (vc-git-mode-line-string): Use the same help-echo format whether
10318 in detached mode or not, because we know the actual revision now.
10319 When in detached mode, shorten the revision to 7 chars.
10320
7f17cc40
SM
103212013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10322
10323 * emacs-lisp/easy-mmode.el (define-minor-mode):
10324 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10325 mode hook and provide a docstring.
10326
25c8401c
AM
103272013-05-27 Alan Mackenzie <acm@muc.de>
10328
10329 Remove spurious syntax-table text properties inserted by C-y.
10330 * progmodes/cc-mode.el (c-after-change): Also clear hard
10331 syntax-table property with value nil.
10332
dde84790
MA
103332013-05-27 Michael Albinus <michael.albinus@gmx.de>
10334
10335 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10336 when reading the events; the buffer layout shall not be changed.
10337
837fd9af
LL
103382013-05-27 Leo Liu <sdl.web@gmail.com>
10339
10340 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10341 New variable.
10342 (inferior-octave-directory-tracker): Automatically re-sync
10343 default-directory.
10344 (octave-help): Improve handling of 'See also'.
10345
4fd996b3
SM
103462013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10347
416f1802
SM
10348 * doc-view.el: Minor naming convention tweaks.
10349 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10350
4fd996b3
SM
10351 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10352 even if there's no `display' property yet (bug#14435).
10353
a052ef3b
EZ
103542013-05-25 Eli Zaretskii <eliz@gnu.org>
10355
4fd996b3 10356 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
10357
10358 * Makefile.in (custom-deps, finder-data, autoloads)
10359 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10360 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10361 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10362
c9023370
SM
103632013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10364
10365 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10366 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 10367 Don't burp at EOB.
c9023370 10368
24d699fa
LL
103692013-05-25 Leo Liu <sdl.web@gmail.com>
10370
10371 * comint.el (comint-previous-matching-input): Do not flood the
10372 *Messages* buffer with trivial messages.
10373
17e5c0cc
SM
103742013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10375
10376 * progmodes/flymake.el (flymake-nop): Don't return a string.
10377 (flymake-set-at): Fix typo.
10378
10379 * simple.el (read--expression): New function, extracted from
10380 eval-expression. Set completion-at-point-functions (bug#14465).
10381 (eval-expression, eval-minibuffer): Use it.
10382
5d028165
XF
103832013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10384
10385 * progmodes/flymake.el (flymake-save-buffer-in-file)
10386 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10387 (flymake-selected-frame, flymake-log, flymake-ins-after)
10388 (flymake-set-at, flymake-get-buildfile-from-cache)
10389 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10390 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10391 Refine the doc string.
10392 (flymake-get-file-name-mode-and-masks): Reformat.
10393 (flymake-get-real-file-name-function): Fix a minor bug.
10394
7a1d7ba7
JL
103952013-05-24 Juri Linkov <juri@jurta.org>
10396
10397 * progmodes/grep.el (grep-mode-font-lock-keywords):
10398 Support =linenumber= format used by git-grep for lines with
10399 function names. (Bug#13549)
10400
650cff3d
SM
104012013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10402
10403 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10404 0 after a semi-colon; it works better for smie-auto-fill.
10405 (octave--indent-new-comment-line): New function.
10406 (octave-indent-new-comment-line): Use it (indirectly).
10407 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10408 modify comment-line-break-function.
10409
10410 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10411 (smie-setup): Use add-function to set it.
10412
9631677d
SS
104132013-05-24 Sam Steingold <sds@gnu.org>
10414
10415 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10416 argument (before the `interactive' argument).
10417
50105835
SM
104182013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10419
10420 * image-mode.el (image-mode-winprops): Add winprops to
10421 image-mode-winprops-alist before running
10422 image-mode-new-window-functions.
10423 * doc-view.el (doc-view-new-window-function): Don't delay
10424 doc-view-goto-page via timers (bug#14435).
10425
57b9823e
TH
104262013-05-24 Tassilo Horn <tsdh@gnu.org>
10427
10428 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10429 (doc-view-desktop-save-buffer): New function.
10430 (doc-view-restore-desktop-buffer): New function.
50105835
SM
10431 (desktop-buffer-mode-handlers):
10432 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
10433 handler.
10434 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10435 `desktop-save-buffer' function.
10436
91aafa16
MA
104372013-05-24 Michael Albinus <michael.albinus@gmx.de>
10438
10439 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10440 (tramp-gvfs-file-name-handler): Raise a user error when
10441 `tramp-gvfs-enabled' is nil.
10442 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10443 Do not raise a user error when loading package. (Bug#14447)
10444
ec076379
MA
10445 * net/xesam.el: Move to obsolete/.
10446
db785726
GM
104472013-05-24 Glenn Morris <rgm@gnu.org>
10448
af5c7606
GM
10449 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10450
e5d1916a
GM
10451 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10452
ded62b08
GM
10453 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10454 (Info-find-node, Man-getpage-in-background): Declare.
10455
9e614a3f
GM
10456 * mail/unrmail.el (unrmail):
10457 Replace obsolete detect-coding-with-priority.
10458
892f8ca3
GM
10459 * net/socks.el (socks-split-string): Use this rather than split-string.
10460 (socks-nslookup-host): Update for above change.
10461 (dynamic-choice, s5-dynamic-choice-match)
10462 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10463 Comment out unused code.
10464
3c291973
GM
10465 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10466 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10467 (gud-tooltip-echo-area): Make obsolete.
10468 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10469
43cc956b
GM
10470 * progmodes/js.el (js--optimize-arglist): Declare.
10471
dab49a3b
GM
10472 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10473
36b9d085
GM
10474 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10475 (ediff-window-C): Declare.
10476
e354ae76
GM
10477 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10478 Tweak requires to silence compiler.
10479
b8e57bf4
GM
10480 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10481 (he-search-string, he-tried-table, he-expand-list)
10482 (he-init-string, he-string-member, he-substitute-string)
10483 (he-reset-string): Declare.
10484
db785726
GM
10485 * obsolete/options.el (list-options): Use custom-variable-p,
10486 rather than obsolete alias.
10487
b3531901
SS
104882013-05-23 Sam Steingold <sds@gnu.org>
10489
10490 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 10491 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
10492 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10493
bdda4c66
SM
104942013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10495
10496 * emacs-lisp/smie.el (smie-indent-forward-token)
10497 (smie-indent-backward-token): Handle string tokens (bug#14381).
10498
c43d45f9
TH
104992013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10500
fe1eb856
RS
10501 * ielm.el (ielm-menu): New menu.
10502 (inferior-emacs-lisp-mode): Set comment-start.
96172128 10503
fe1eb856
RS
105042013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10505
a12bf61e 10506 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
10507 Fix deactivate action.
10508
a12bf61e 10509 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 10510 Add cleveref macros.
074dd971 10511
a12bf61e 10512 * textmodes/reftex-parse.el
c43d45f9
TH
10513 (reftex-locate-bibliography-files): Accept options for
10514 bibliography commands.
a12bf61e 10515 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
10516 Add addbibresource. Basic Biblatex support.
10517
7764286e
MA
105182013-05-23 Michael Albinus <michael.albinus@gmx.de>
10519
10520 * net/tramp-gvfs.el (top):
10521 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10522 when loading package. (Bug#14447)
10523
d361bc10
GM
105242013-05-23 Glenn Morris <rgm@gnu.org>
10525
8fa23984
GM
10526 * progmodes/js.el: No need to load comint when compiling.
10527 (ring-insert, comint-send-string, comint-send-input)
10528 (comint-last-input-end, ido-chop): Declare.
10529
a5c7df1a
GM
10530 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10531 * vc/ediff-mult.el: Adjust requires.
10532 (ediff-directories-internal, ediff-directory-revisions-internal)
10533 (ediff-patch-file-internal): Declare.
10534 * vc/ediff-ptch.el: Adjust requires.
10535 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10536 (ediff-find-file): Autoload.
10537 * vc/ediff-util.el: No need to load ediff when compiling.
10538 (ediff-regions-internal): Declare.
10539 * vc/ediff-wind.el: Adjust requires.
10540 (ediff-compute-toolbar-width): Define when compiling.
10541 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10542 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10543 (dired-get-filename, dired-get-marked-files)
10544 (ediff-last-dir-patch, ediff-patch-default-directory)
10545 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10546 (ediff-patch-buffer-internal): Declare.
10547
e2aec513
GM
10548 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10549 (ispell-process, ispell-buffer-local-words, lm-summary)
10550 (lm-section-start, lm-section-end): Declare.
10551 (checkdoc-ispell-init): Simplify.
10552
e68bbd7c
GM
10553 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10554 (he-string-member, he-reset-string, he-substitute-string): Declare.
10555
7efe0991
GM
10556 * eshell/em-ls.el: Adjust requires.
10557 (eshell-glob-regexp): Declare.
f87b1284
GM
10558 * eshell/em-tramp.el: Adjust requires.
10559 (eshell-parse-command): Autoload.
10560 * eshell/em-xtra.el: Adjust requires.
10561 (eshell-parse-command): Autoload.
10562 * eshell/esh-ext.el: Adjust requires.
10563 (eshell-parse-command, eshell-close-handles): Autoload.
10564 * eshell/esh-io.el: Adjust requires.
10565 (eshell-output-filter): Autoload.
10566 * eshell/esh-util.el: No need to load tramp when compiling.
10567 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10568 Declare.
10569 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10570 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10571 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10572 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10573 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10574 * eshell/esh-opt.el, eshell/esh-proc.el:
10575 * eshell/esh-var.el: Adjust requires.
10576 * eshell/eshell.el: Do not require esh-util twice.
10577 (eshell-add-input-to-history): Declare.
10578 (eshell-command): Check history module is active before using it.
10579
d361bc10
GM
10580 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10581
85d090a9
LL
105822013-05-22 Leo Liu <sdl.web@gmail.com>
10583
10584 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10585
5d0acd9d
MA
105862013-05-22 Michael Albinus <michael.albinus@gmx.de>
10587
10588 * autorevert.el (auto-revert-notify-add-watch)
10589 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10590 it indicates changes in file modification time.
10591
0cdffd7d
GM
105922013-05-22 Glenn Morris <rgm@gnu.org>
10593
ca5995ec
GM
10594 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10595 Always delete the autoloaded function from the noruntime and
10596 unresolved functions lists.
10597
6450907e
GM
10598 * allout.el: No need to load epa, epg, overlay when compiling.
10599 (epg-context-set-passphrase-callback, epg-list-keys)
10600 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10601 (epg-key-user-id-list): Declare.
10602
9c6906f6
GM
10603 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10604 (viper-set-parsing-style-toggling-macro)
10605 (viper-set-emacs-state-searchstyle-macros):
10606 Use called-interactively-p on Emacs.
10607 (viper-looking-back): Make it an obsolete alias. Update callers.
10608 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10609 Use looking-back rather than viper-looking-back.
10610 (viper-tmp-insert-at-eob, viper-enlarge-region)
10611 (viper-read-string-with-history, viper-register-to-point)
10612 (viper-append-to-register, viper-change-state-to-vi)
10613 (viper-backward-char-carefully, viper-forward-char-carefully)
10614 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10615 (viper-change-state-to-emacs): Declare.
10616 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10617 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10618 * emulation/viper-mous.el: Do not load viper-cmd.
10619 (viper-backward-char-carefully, viper-forward-char-carefully)
10620 (viper-forward-word, viper-adjust-window): Declare.
10621
5f70c169
GM
10622 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10623
b1b7f300
GM
10624 * progmodes/idlw-help.el (idlwave-help-fontify):
10625 Use called-interactively-p.
10626
f6ebbb46
GM
10627 * term/w32console.el (w32-get-console-codepage)
10628 (w32-get-console-output-codepage): Declare.
10629
0cdffd7d
GM
10630 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10631 Remove unnecessary declarations.
10632 (dframe-message): Doc fix.
10633
10634 * info.el (dframe-select-attached-frame, dframe-current-frame):
10635 Declare.
10636
10637 * speedbar.el (speedbar-message): Make it an obsolete alias.
10638 Update all callers.
10639 (speedbar-with-attached-buffer)
10640 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10641 (speedbar-with-writable): Use backquote.
10642 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10643 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10644 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10645 rather than speedbar- aliases.
10646 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10647 (speedbar-make-specialized-keymap, speedbar-insert-button)
10648 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10649 (speedbar-do-function-pointer): Declare.
10650 (rmail-speedbar-button, rmail-speedbar-find-file)
10651 (rmail-speedbar-move-message):
10652 Use dframe-with-attached-buffer rather than speedbar- alias.
10653 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10654 (dframe-message, speedbar-make-specialized-keymap)
10655 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10656 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10657 (speedbar-insert-button, dframe-select-attached-frame)
10658 (dframe-maybee-jump-to-attached-frame)
10659 (speedbar-change-initial-expansion-list)
10660 (speedbar-previously-used-expansion-list-name): Declare.
10661 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10662 Use dframe-message, dframe-with-attached-buffer rather than
10663 speedbar- aliases.
10664 (gud-sentinel): Silence compiler.
10665 * progmodes/vhdl-mode.el (speedbar-refresh)
10666 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10667 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10668 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10669 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10670 (speedbar-file-lists, speedbar-make-tag-line)
10671 (speedbar-line-directory, speedbar-goto-this-file)
10672 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10673 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10674 (speedbar-make-button, speedbar-reset-scanners)
10675 (speedbar-files-item-info, speedbar-line-text)
10676 (speedbar-find-file-in-frame, speedbar-set-timer)
10677 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10678 (speedbar-with-writable): Do not (re)define it.
10679 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10680 rather than speedbar- alias.
10681
ee44b62a
LL
106822013-05-21 Leo Liu <sdl.web@gmail.com>
10683
10684 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10685 menu items.
10686 (octave-mode): Tweak fill-nobreak-predicate.
10687 (inferior-octave-startup): Check process to avoid infinite loop.
10688 (inferior-octave): Pop to buffer first to show abornmal process
10689 exit information.
10690
640f050f
GM
106912013-05-21 Glenn Morris <rgm@gnu.org>
10692
79458038
GM
10693 * printing.el (pr-menu-bar): Define when compiling.
10694
9cc3e83f
LL
106952013-05-21 Leo Liu <sdl.web@gmail.com>
10696
10697 * progmodes/octave.el (octave-auto-fill): Remove.
10698 (octave-indent-new-comment-line): Improve.
10699 (octave-mode): Use auto fill mode through
4f405069 10700 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 10701 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 10702 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
10703 (octave-help): Show parent directory.
10704
f440830d
GM
107052013-05-21 Glenn Morris <rgm@gnu.org>
10706
10707 * files.el (dired-unmark):
10708 * progmodes/gud.el (gdb-input): Update declarations.
10709
10710 * calculator.el (electric, ehelp): No need to load when compiling.
10711 (Electric-command-loop, electric-describe-mode): Declare.
10712
10713 * doc-view.el (doc-view-current-converter-processes): Move before use.
10714
10715 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10716 Move MODE-set-explicitly definition before use.
10717
10718 * international/mule-diag.el (mule-diag):
10719 Don't use obsolete window-system-version.
10720
10721 * mail/feedmail.el (smtpmail): No need to load when compiling.
10722 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10723
10724 * mail/mail-utils.el (rfc822): No need to load when compiling.
10725 (rfc822-addresses): Autoload it.
10726 (mail-strip-quoted-names): Trivial simplification.
10727
10728 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10729 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10730
10731 * net/snmp-mode.el (tempo): Don't duplicate requires.
10732
10733 * progmodes/prolog.el (info): No need to load when compiling.
10734 (comint): Require before shell requires it.
10735 (Info-goto-node): Autoload it.
10736 (Info-follow-nearest-node): Declare.
10737 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10738
10739 * textmodes/artist.el (picture-mode-exit): Declare.
10740
10741 * textmodes/reftex-parse.el (reftex-parse-from-file):
10742 Trivial rewrite so the compiler can parse it better.
10743
b4da2cbb
LL
107442013-05-20 Leo Liu <sdl.web@gmail.com>
10745
10746 * progmodes/octave.el (octave-help-mode-map)
10747 (octave-help-mode-finish-hook): New variables.
10748 (octave-help-mode, octave-help-mode-finish): New functions.
10749 (octave-help): Use octave-help-mode.
10750
33c0f65b
GM
107512013-05-20 Glenn Morris <rgm@gnu.org>
10752
10753 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10754
1a0a0a8a
DG
107552013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10756
10757 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10758 start at point, so that expansion starting right after opening
10759 slash in a regexp is recognized.
10760 (ruby-syntax-before-regexp-re): New defvar, extracted from
10761 ruby-syntax-propertize-function. Since the value of this regexp
10762 is looked up at runtime now, we should be able to turn
10763 `ruby-syntax-methods-before-regexp' into a defcustom later.
10764 (ruby-syntax-propertize-function): Split regexp matching into two
10765 parts, for opening and closing slashes. That allows us to skip
10766 over string interpolations and support multiline regexps.
10767 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10768 for them, which calls `ruby-syntax-propertize-expansion'.
10769 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10770 call to `ruby-syntax-propertize-function'.
10771 (ruby-syntax-propertize-expansion): Extracted from
10772 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
10773 (ruby-syntax-propertize-percent-literal): Leave point right after
10774 the percent symbol, so that the expression expansion rule can
10775 propertize the contents.
462388b6
DG
10776 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10777 heredoc openers.
10778 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 10779
c1a6c0a4
JL
107802013-05-18 Juri Linkov <juri@jurta.org>
10781
10782 * man.el (Man-default-man-entry): Remove `-' from the end
10783 of the default value. (Bug#14400)
10784
8051fccd
GM
107852013-05-18 Glenn Morris <rgm@gnu.org>
10786
10787 * comint.el (comint-password-prompt-regexp):
10788 Allow "password for XXX" where XXX contains colons (eg https://...).
10789
5e80b74f
LL
107902013-05-18 Leo Liu <sdl.web@gmail.com>
10791
10792 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 10793 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
10794 (octave-source-directories): Don't check process.
10795 (octave-source-directories, octave-find-definition): Doc fix.
10796
521a54c5
GM
107972013-05-18 Glenn Morris <rgm@gnu.org>
10798
86a94b05
GM
10799 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10800 Remove backspace/delete bindings. (Bug#14392)
10801
521a54c5
GM
10802 * cus-dep.el (custom-make-dependencies): Sort the output.
10803 (custom-versions-load-alist): Convert comment to doc.
10804
42caeb89
LL
108052013-05-17 Leo Liu <sdl.web@gmail.com>
10806
10807 * newcomment.el (comment-search-backward): Stricter in finding
10808 comment start. (Bug#14303)
10809
10810 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10811 (octave-comment-start-skip): Properly anchored.
10812
e219dd97
LL
108132013-05-17 Leo Liu <sdl.web@gmail.com>
10814
fe1eb856
RS
10815 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10816 Clean up when turned off. (Bug#14395)
e219dd97
LL
10817 (smie--highlight-matching-block-overlay): No longer buffer-local.
10818 (smie-highlight-matching-block): Adjust.
10819
dc5dcb4b
PE
108202013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10821
10822 Doc string fix for "nanoseconds" (Bug#14406).
10823 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10824 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10825
1db165f0
JB
108262013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10827
10828 * calc/calc-units.el (math-extract-units): Preserve powers
10829 of units.
10830
c7a8fcac
LL
108312013-05-17 Leo Liu <sdl.web@gmail.com>
10832
10833 * subr.el (delete-consecutive-dups): New function.
10834 * ido.el (ido-set-matches-1): Use it.
10835 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10836 * ido.el (ido-remove-consecutive-dups): Remove.
10837
f678b18a
SM
108382013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10839
10840 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10841 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10842 regexp-opt's `words'.
10843
ebfe68e8
LL
108442013-05-16 Leo Liu <sdl.web@gmail.com>
10845
10846 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10847 (smie--highlight-matching-block-overlay)
10848 (smie--highlight-matching-block-lastpos)
10849 (smie--highlight-matching-block-timer): New variables.
10850 (smie-highlight-matching-block): New function.
10851 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10852 (smie-setup): Conditionally enable smie-blink-matching-open.
10853
bc8bc17d
WS
108542013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10855
10856 Sync with upstream verilog-mode r840.
10857 * progmodes/verilog-mode.el (verilog-mode-version)
10858 (verilog-mode-release-date): Update.
10859 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10860 (verilog-sig-tieoff): Fix string error on
10861 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10862 (verilog-read-decls): Fix parameters confusing
10863 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10864
df065a0b
EZ
108652013-05-16 Eli Zaretskii <eliz@gnu.org>
10866
10867 * subr.el (reveal-filename): New function.
10868
10869 * loadup.el: Compute Emacs executable versions on MS-Windows,
10870 where executables have the .exe extension. Add a hard link
10871 emacs-XX.YY.ZZ.exe on MS-Windows.
10872
10873 * Makefile.in (XARGS_LIMIT): New variable.
10874 (custom-deps, finder-data, autoloads)
10875 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10876 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10877 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10878 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10879
2d4bf34b
LL
108802013-05-16 Leo Liu <sdl.web@gmail.com>
10881
10882 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10883 (octave-mode-menu, octave-mode-map): Remove its uses.
10884
6b9c2d85
RZ
108852013-05-16 Reto Zimmermann <reto@gnu.org>
10886
10887 Sync with upstream vhdl mode v3.34.2.
10888 * progmodes/vhdl-mode.el: Use `push' throughout.
10889 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10890 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10891 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10892 (vhdl-actual-generic-name): New option to derive actual generic name.
10893 (vhdl-port-paste-signals): Replace formal by actual generics.
10894 (vhdl-beautify): New name for old group vhdl-align. Update users.
10895 (vhdl-beautify-options): New option.
10896 (vhdl-last-input-event): New compat alias. Use throughout.
10897 (vhdl-goto-line): Replace user level function `goto-line'.
10898 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10899 vhdl-fix-statement-buffer.
10900 (vhdl-create-mode-menu): Add some entries.
10901 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10902 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10903 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10904 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10905 to force statements on one line.
10906 (vhdl-remove-trailing-spaces-region):
10907 New, split from vhdl-remove-trailing-spaces.
10908 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10909 Respect vhdl-beautify-options.
10910 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10911 (vhdl-update-sensitivity-list): Not add with index if exists without.
10912 Not include array index with signal. Ignore keywords in comments.
10913 (vhdl-get-visible-signals): Regexp tweaks.
10914 (vhdl-template-component-inst): Handle empty library.
10915 (vhdl-template-type): Add template for 'enum' type.
10916 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10917 Use vhdl-replace-string.
10918 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10919 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10920 (vhdl-speedbar-initialize): Update for above name change.
10921 (vhdl-compose-wire-components): Fix in handling of constants.
10922 (vhdl-error-regexp-emacs-alist): New variable.
10923 (vhdl-error-regexp-add-emacs): New function;
10924 adds support for new compile.el (Emacs 22+)
10925 (vhdl-generate-makefile-1): Change target order for single lib. units.
10926 Allow use of absolute file names.
10927
9df4ec5e
LL
109282013-05-16 Leo Liu <sdl.web@gmail.com>
10929
10930 * simple.el (prog-indent-sexp): Indent enclosing defun.
10931
f5ba00a6
GM
109322013-05-15 Glenn Morris <rgm@gnu.org>
10933
ed8be7ff
GM
10934 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10935 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10936 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10937 (whitespace-highlight): Move to whitespace group.
10938
10939 * comint.el (comint-source):
10940 * pcmpl-linux.el (pcmpl-linux):
10941 * shell.el (shell-faces):
10942 * eshell/esh-opt.el (eshell-opt):
10943 * international/ccl.el (ccl): Remove empty custom groups.
10944
10945 * completion.el (dynamic-completion-mode):
10946 * jit-lock.el (jit-lock-debug-mode):
10947 * minibuffer.el (completion-in-region-mode):
10948 * type-break.el (type-break-mode-line-message-mode)
10949 (type-break-query-mode):
10950 * emulation/tpu-edt.el (tpu-edt-mode):
10951 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10952 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10953 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10954
10955 * term/xterm.el (xterm): Change parent group to terminals.
10956
10957 * master.el (master): Remove empty custom group.
10958 (master-mode): Remove unused :group argument.
10959 * textmodes/refill.el (refill): Remove empty custom group.
10960 (refill-mode): Remove unused :group argument.
10961
10962 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10963
82a7c41b
GM
10964 * cus-dep.el: Provide a feature.
10965 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
10966 Don't mistakenly ignore files whose basenames match a basename
10967 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 10968 Add a fallback method for getting :group.
f5ba00a6 10969
6d65486d
JL
109702013-05-15 Juri Linkov <juri@jurta.org>
10971
da547b32
JL
10972 * isearch.el (isearch-char-by-name): Rename from
10973 `isearch-insert-char-by-name'. Doc fix.
10974 (isearch-forward): Mention `isearch-char-by-name' in
10975 the docstring. (Bug#13348)
10976
6d65486d
JL
10977 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10978 `exit-minibuffer' instead of
10979 `isearch-nonincremental-exit-minibuffer'.
10980 (isearch-edit-string): Remove mention of
10981 `isearch-nonincremental-exit-minibuffer' from docstring.
10982 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10983 (isearch-forward-exit-minibuffer)
10984 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10985
c9990474
SM
109862013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10987
6e911150
SM
10988 * loadup.el: Just use unversioned DOC.
10989
c9990474
SM
10990 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10991 literals as extending to EOB.
10992 (nxml-last-fontify-end): Remove unused variable.
10993 (nxml-after-change1): Use with-silent-modifications.
10994 (nxml-extend-after-change-region): Simplify.
10995 (nxml-extend-after-change-region1): Remove function.
10996 (nxml-after-change1): Don't adjust for dependent regions.
10997 (nxml-fontify-matcher): Simplify.
10998 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10999 (xmltok-add-dependent): Remove function.
11000 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11001 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11002 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11003 unclosed <[[, <?, comment, and other literals as extending to EOB.
11004 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11005 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11006 Remove functions.
11007 (rng-do-some-validation-1): Don't mark dependent regions.
11008 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11009 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11010 (nxml-clear-dependent-regions): Remove functions.
11011 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11012 (nxml-ensure-scan-up-to-date):
11013 Don't clear&mark dependent regions.
11014
e3772e98
LL
110152013-05-15 Leo Liu <sdl.web@gmail.com>
11016
c9990474
SM
11017 * progmodes/octave.el (octave-goto-function-definition):
11018 Improve and fix callers.
e3772e98 11019
5ac2eb34
SM
110202013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11021
c46c57b0
SM
11022 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11023 the setter (bug#14387).
11024
5ac2eb34
SM
11025 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11026 surrounding group (bug#14402).
11027
180ed218
JL
110282013-05-14 Juri Linkov <juri@jurta.org>
11029
11030 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11031 (Bug#14390)
11032
0ac0fecb
GM
110332013-05-14 Glenn Morris <rgm@gnu.org>
11034
11035 * progmodes/f90.el (f90-imenu-generic-expression):
11036 Fix typo in 2013-05-08 change. (Bug#14402)
11037
2e78e6a7
JPG
110382013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11039
5ac2eb34
SM
11040 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11041 Remove signals for which replies are never received.
2e78e6a7 11042
53267cca
JPG
110432013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11044
11045 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11046 (gdb-handler-alist, gdb-handler-number): Remove variables.
11047 (gdb-handler-list): New variable.
11048 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11049 (gdb-pending-handler-p, gdb-handle-reply)
11050 (gdb-remove-all-pending-triggers): New functions.
11051 (gdb-discard-unordered-replies): New defcustom.
11052 (gdb-handler): New defstruct.
11053 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11054 instead of gdb-pending-triggers. Update docstring.
11055 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11056 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11057 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11058 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11059 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11060 (gdb-frame-handler): Pending triggers are now automatically managed.
11061 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11062 Remove argument.
11063 (gdb-input): Automatically handles pending triggers. Update docstring.
11064 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11065 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11066 Update comments.
11067 (gdb-done-or-error): Now use gdb-handle-reply.
11068
d04ce803
JPG
110692013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11070
11071 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11072 gdb-debug-log.
11073
0114073a
GM
110742013-05-14 Glenn Morris <rgm@gnu.org>
11075
11076 * subr.el (user-emacs-directory-warning): New option.
11077 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11078
4d25fd7e
LL
110792013-05-14 Leo Liu <sdl.web@gmail.com>
11080
11081 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11082 during redisplay.
11083 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
11084 (octave-font-lock-texinfo-comment): Fix invalid search bound
11085 error: wrong side of point.
4d25fd7e 11086
27c8b6eb
GM
110872013-05-14 Glenn Morris <rgm@gnu.org>
11088
61aaeb01
GM
11089 * progmodes/flymake.el (flymake-xml-program): New option.
11090 (flymake-xml-init): Use it.
11091
5bf90bc5
GM
11092 * term/xterm.el: Provide a feature.
11093
11094 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 11095
f4c7dfd2
GM
110962013-05-13 Glenn Morris <rgm@gnu.org>
11097
11098 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11099 Add compat aliases as a hack workaround. (Bug#14384)
11100
2aeb3a1d
LL
111012013-05-13 Leo Liu <sdl.web@gmail.com>
11102
b0e069c2
LL
11103 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11104 ###, and %!.
f5a9432f
LL
11105 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11106 C-M-q.
b0e069c2
LL
11107 (octave-comment-start-skip): Include %!.
11108 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 11109
30ea8374
LL
111102013-05-12 Leo Liu <sdl.web@gmail.com>
11111
11112 * progmodes/octave.el (inferior-octave-startup): Store the value
11113 of __octave_srcdir__ for octave-source-directories.
11114 (inferior-octave-check-process): New function refactored out of
11115 inferior-octave-send-list-and-digest.
11116 (octave-source-directories)
11117 (octave-find-definition-filename-function): New variables.
11118 (octave-source-directories)
11119 (octave-find-definition-default-filename): New functions.
11120 (octave-find-definition): Improve to find functions implemented in C++.
11121
472a3834
GM
111222013-05-12 Glenn Morris <rgm@gnu.org>
11123
11124 * calendar/diary-lib.el (diary-outlook-format-1):
11125 Don't include dayname in the output. (Bug#14349)
11126
3191b52f
GM
111272013-05-11 Glenn Morris <rgm@gnu.org>
11128
0060ac73
GM
11129 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11130
3191b52f
GM
11131 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11132 Treat cc-provide like provide.
11133
e065ba74
KR
111342013-05-11 Kevin Ryde <user42@zip.com.au>
11135
11136 * cus-dep.el (custom-make-dependencies):
11137 Use generated-autoload-load-name for the sake of files such
11138 such cedet/semantic/bovine/c.el, where the base file name
11139 is not in load-path. (Bug#5277)
11140
36f84c37
GM
111412013-05-11 Glenn Morris <rgm@gnu.org>
11142
11143 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11144 Provide features.
11145
c8730c3a
LL
111462013-05-11 Leo Liu <sdl.web@gmail.com>
11147
11148 * progmodes/octave.el (octave-indent-comment): Improve.
11149 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
11150 (octave-eldoc-function-signatures, octave-eldoc-function):
11151 New functions.
c8730c3a
LL
11152 (octave-mode, inferior-octave-mode): Add eldoc support.
11153
212e29f2
RS
111542013-05-11 Richard Stallman <rms@gnu.org>
11155
11156 * epa.el (epa-decrypt-file): Take output file name as argument
11157 and read it using `interactive'.
11158
083fe0d7
LL
111592013-05-11 Leo Liu <sdl.web@gmail.com>
11160
11161 * progmodes/octave.el (octave-beginning-of-line)
11162 (octave-end-of-line): Check before using up-list because it jumps
11163 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
11164 (octave-indent-comment): New function.
11165 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
11166 (octave-begin-keywords, octave-end-keywords)
11167 (octave-reserved-words, octave-smie-bnf-table)
11168 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 11169
8582e4c4
GM
111702013-05-11 Glenn Morris <rgm@gnu.org>
11171
f20def1f
GM
11172 * faces.el (internal-face-x-get-resource):
11173 * frame.el (ns-display-monitor-attributes-list):
d78abe37 11174 * calc/calc-aent.el (math-to-radians-2):
f20def1f 11175 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 11176 Fix declarations.
f20def1f 11177
445f95e2
GM
11178 * calc/calc-menu.el: Make it loadable in isolation.
11179
11180 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11181 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11182 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11183 (eudc-bbdb-query-internal): Require 'bbdb.
11184
99fb2756
GM
11185 * lpr.el (lpr-headers-switches):
11186 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11187
11188 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11189
0da7ad96
GM
11190 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11191
8582e4c4
GM
11192 * term.el (term-set-escape-char): Make it idempotent.
11193
f71c50d0
LL
111942013-05-10 Leo Liu <sdl.web@gmail.com>
11195
5ac2eb34
SM
11196 * progmodes/octave.el (inferior-octave-completion-table):
11197 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
11198 completion due to bug#11906.
11199 (octave-beginning-of-defun): Re-write to be more general.
11200
d5837773
GM
112012013-05-10 Glenn Morris <rgm@gnu.org>
11202
11203 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11204
027c0f75
SM
112052013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11206
11207 * comint.el (comint-redirect-send-command-to-process): Use :around
11208 rather than :override for comint-redirect-filter.
11209 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11210 Call it instead of comint-redirect-original-filter-function (which
11211 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11212
4465bfb4
JD
112132013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11214
11215 * frame.el (display-monitor-attributes-list): Add NS case.
11216 (ns-display-monitor-attributes-list): Declare.
11217
2d809ffa 112182013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
11219
11220 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11221
e54eeb9b
GM
112222013-05-09 Glenn Morris <rgm@gnu.org>
11223
56cd351d
GM
11224 * international/fontset.el (vertical-centering-font-regexp):
11225 Set standard-value.
11226
d84b6108
GM
11227 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11228
a931698a
GM
11229 * bookmark.el (bookmark-search-delay):
11230 * cus-start.el (vertical-centering-font-regexp):
11231 * ps-mule.el (ps-mule-font-info-database-default):
11232 * ps-print.el (ps-default-fg, ps-default-bg):
11233 * type-break.el (type-break-good-break-interval):
11234 * whitespace.el (whitespace-indentation-regexp)
11235 (whitespace-space-after-tab-regexp):
11236 * emacs-lisp/testcover.el (testcover-1value-functions)
11237 (testcover-noreturn-functions, testcover-progn-functions)
11238 (testcover-prog1-functions):
11239 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11240 * eshell/em-glob.el (eshell-glob-translate-alist):
11241 * play/tetris.el (tetris-tty-colors):
11242 * progmodes/cpp.el (cpp-face-default-list):
11243 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11244 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11245 (idlwave-help-browser-generic-args):
11246 * progmodes/make-mode.el (makefile-special-targets-list):
11247 * progmodes/python.el (python-shell-virtualenv-path):
11248 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11249 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11250 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11251 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11252 * textmodes/reftex-vars.el (reftex-format-label-function):
11253 * textmodes/remember.el (remember-diary-file): Fix custom types.
11254
e54eeb9b
GM
11255 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11256 Add :version.
11257
455851dd
LL
112582013-05-09 Leo Liu <sdl.web@gmail.com>
11259
11260 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 11261 Restore file completion. (Bug#14300)
455851dd
LL
11262 (inferior-octave-startup): Fix incorrect highlighting for the
11263 first prompt.
11264
a9e4425b
SM
112652013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11266
11267 * progmodes/ruby-mode.el: First cut at SMIE support.
11268 (ruby-use-smie): New var.
11269 (ruby-smie-grammar): New constant.
11270 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11271 (ruby-smie--forward-token, ruby-smie--backward-token)
11272 (ruby-smie-rules): New functions.
11273 (ruby-mode-variables): Setup SMIE if applicable.
11274
060ca408
EZ
112752013-05-08 Eli Zaretskii <eliz@gnu.org>
11276
11277 * simple.el (line-move-visual): Signal beginning/end of buffer
11278 only if vertical-motion moved less than it was requested. Avoids
11279 silly incorrect error messages when there are display strings with
11280 multiple newlines at EOL.
11281
1d5963cc
SM
112822013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11283
11284 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11285 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11286 (prolog-char-quote-workaround):
11287 * progmodes/cperl-mode.el (cperl-under-as-char):
11288 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
11289 Mark as obsolete.
11290 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
11291 their declaration.
11292 (vhdl-mode-syntax-table-init): Remove.
11293
c9990474
SM
11294 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11295 last change.
1d5963cc
SM
11296
11297 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11298 syntax for "_".
11299 (ld-script-font-lock-keywords):
11300 Change regexps to use things like \_< and \_>.
11301
11302 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11303 Change all regexps to use things like \_< and \_>.
11304
11305 * progmodes/autoconf.el (autoconf-definition-regexp)
11306 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11307 Handle a _ with symbol syntax.
11308 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11309
c9990474
SM
11310 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11311 Consolidate declaration.
1d5963cc
SM
11312 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11313 the declaration.
11314 (ada-create-syntax-table): Remove.
11315 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11316 already has the right syntax nowadays.
11317 (ada-goto-next-word): Don't change the syntax of "_".
11318
11319 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11320 with-wrapper-hook.
11321
72d3cfca
SS
113222013-05-08 Sam Steingold <sds@gnu.org>
11323
11324 * thingatpt.el (thing-at-point): Accept optional second argument
11325 NO-PROPERTIES to strip the text properties from the return value.
11326 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11327 to `thing-at-point' instead of stripping the properties ourselves.
11328 Also, when `thing-at-point' fails to find a url, prepend "http://"
11329 to the filename at point on the assumption that the user is
11330 pointing at something like gnu.org/gnu.
11331
5cb15713
JB
113322013-05-08 Juanma Barranquero <lekktu@gmail.com>
11333
11334 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11335 * faces.el (crm-separator):
11336 Silence byte-compiler.
11337
11338 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11339 (tool-bar-map): Remove unneeded defvars.
11340
ea78b95b
LL
113412013-05-08 Leo Liu <sdl.web@gmail.com>
11342
11343 Re-work a fix for bug#10994 based on Le Wang's patch.
11344 * ido.el (ido-remove-consecutive-dups): New helper.
11345 (ido-completing-read): Use it.
11346 (ido-chop): Revert fix for bug#10994.
11347
dc7466df
AS
113482013-05-08 Adam Spiers <emacs@adamspiers.org>
11349
11350 * cus-edit.el (custom-save-variables):
11351 Pretty-print long values. (Bug#14187)
11352
9ecf672a
GM
113532013-05-08 Glenn Morris <rgm@gnu.org>
11354
11355 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11356 (m4-mode-syntax-table): Init in the defvar.
11357 (m4-mode-abbrev-table): Let define-derived-mode define it.
11358
3f555be8
TT
113592013-05-08 Tom Tromey <tromey@redhat.com>
11360
11361 * progmodes/m4-mode.el (m4-mode-syntax-table):
11362 Do not treat "_" as word constituent. (Bug#14167)
11363
7cc8ae06
GM
113642013-05-07 Glenn Morris <rgm@gnu.org>
11365
4f58bc06
GM
11366 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11367 Remove explicit eshell-isearch-cancel-map.
11368
7cc8ae06
GM
11369 * progmodes/f90.el (f90-smart-end-names): New option.
11370 (f90-smart-end): Doc fix.
11371 (f90-end-block-optional-name): New constant.
11372 (f90-block-match): Respect f90-smart-end-names.
11373
ceb57e59
SM
113742013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11375
11376 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11377 about implicit semi-colons (bug#14218).
11378
4e3f9230
YM
113792013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11380
11381 * frame.el (display-monitor-attributes-list)
11382 (frame-monitor-attributes): New functions.
11383
203a5572
LL
113842013-05-06 Leo Liu <sdl.web@gmail.com>
11385
11386 * progmodes/octave.el (octave-syntax-propertize-function): Change
11387 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11388 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 11389 (octave-completion-at-point): Rename from
203a5572
LL
11390 octave-completion-at-point-function.
11391 (inferior-octave-directory-tracker): Robustify.
11392 (octave-text-functions): Remove and fix its uses. No such things
11393 any more.
11394
ee6cff99
SM
113952013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11396
11397 * emacs-lisp/trace.el (trace--display-buffer): New function.
11398 (trace-make-advice): Use it.
11399
32985194
JL
114002013-05-06 Juri Linkov <juri@jurta.org>
11401
11402 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11403 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11404 Doc fix.
11405 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11406 in the help string. (Bug#12985)
11407
a1c700de
KD
114082013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11409
11410 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11411
c67c0839
SM
114122013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11413
323885fd
SM
11414 * progmodes/perl-mode.el: Add support for here documents.
11415 (perl-syntax-propertize-function): Match here-doc markers.
11416 (perl-syntax-propertize-special-constructs): Find their end.
11417 (perl-imenu-generic-expression): Use [:alnum:].
11418
c67c0839
SM
11419 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11420 (advice--add-function): Refresh the advice if already present
11421 (bug#14317).
11422
d491e7a8
IA
114232013-05-06 Ivan Andrus <darthandrus@gmail.com>
11424
11425 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11426
ddf9925e
GM
114272013-05-06 Glenn Morris <rgm@gnu.org>
11428
7cc3af27
GM
11429 * w32-fns.el (w32-charset-info-alist): Declare.
11430
16e343d6
GM
11431 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11432 of its defcustom properties.
11433 (eshell-cmpl-initialize): No need to load pcomplete.
11434
7d889a47
GM
11435 * generic-x.el: No need to require comint when compiling.
11436
ddf9925e
GM
11437 * net/eudc-export.el: Make it loadable without bbdb.
11438 (top-level): Use require rather than load-library.
11439 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11440 (eudc-batch-export-records-to-bbdb)
11441 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11442 Require bbdb.
11443
1e2c18df
SM
114442013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11445
11446 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11447 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11448 some tweaks, instead.
11449
02502a5f
LL
114502013-05-05 Leo Liu <sdl.web@gmail.com>
11451
11452 * progmodes/octave.el (octave-font-lock-keywords)
11453 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11454 (inferior-octave-send-list-and-digest): Improve error message.
11455 (octave-mode, inferior-octave-mode): Use setq-local.
11456 (octave-help): Set info-lookup-mode.
11457
0dc04f42
RS
114582013-05-05 Richard Stallman <rms@gnu.org>
11459
6c54491c
RS
11460 * vc/compare-w.el (compare-windows-whitespace):
11461 Treat no-break space as whitespace.
11462
0dc04f42
RS
11463 * mail/rmailsum.el (rmail-summary-rmail-update):
11464 Detect empty summary and don't change selected message.
11465 (rmail-summary-goto-msg): Likewise.
11466
df8f35df
RS
11467 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11468 Doc fixes, rename args.
11469
5356e1a3
AM
114702013-05-05 Alan Mackenzie <acm@muc.de>
11471
11472 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11473
d44014cb
JL
114742013-05-05 Juri Linkov <juri@jurta.org>
11475
11476 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11477 to not add the length of the summary segment to the return value.
11478 (Bug#14125)
11479
c129b51f
LL
114802013-05-05 Leo Liu <sdl.web@gmail.com>
11481
11482 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11483 (inferior-octave-output-filter): Remove.
11484 (octave-send-region, inferior-octave-startup): Fix callers.
11485 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11486 (octave-binary-file-extensions): New user variable.
11487 (octave-find-definition): Confirm if opening binary files.
11488 (octave-help-file): Use octave-find-definition to get the binary
11489 confirmation.
11490 (octave-help): Adjust for octave-help-file change.
11491
aa7dab97
SM
114922013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11493
11494 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11495 Merge the two entries that handle function definitions.
11496 (pascal--syntax-propertize): New const.
11497 (pascal-mode): Use it. Use setq-local.
11498
fd3a9a6b
GM
114992013-05-04 Glenn Morris <rgm@gnu.org>
11500
11501 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11502 (diary-from-outlook): Respect diary-from-outlook-function.
11503
30c7e542
SM
115042013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11505
11506 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11507 Move the declaration from C.
11508 (read-minibuffer, eval-minibuffer): Move from C.
11509 (completion-setup-function): Avoid minibuffer-completion-contents.
11510
b54f978b
LL
115112013-05-03 Leo Liu <sdl.web@gmail.com>
11512
11513 * progmodes/octave.el (octave-font-lock-keywords): Do not
11514 dehighlight 'end' in comments or strings.
30c7e542
SM
11515 (octave-completing-read, octave-goto-function-definition):
11516 New helpers.
d4d0f9b3
LL
11517 (octave-help-buffer): New user variable.
11518 (octave-help-file, octave-help-function): New button types.
11519 (octave-help): New command and bind it to C-h ;.
11520 (octave-find-definition): New command and bind it to M-.
d74a1581 11521 (user-error): Alias to error if not defined.
b54f978b 11522
27135018
LL
115232013-05-02 Leo Liu <sdl.web@gmail.com>
11524
11525 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11526 for \. (bug#14332)
11527 (octave-font-lock-keywords): Include [ and {.
11528
0d634d3a
LL
115292013-05-02 Leo Liu <sdl.web@gmail.com>
11530
11531 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11532 (inferior-octave): Remove calling comint-mode and return the buffer.
11533 (inferior-octave-startup): Cosmetic changes.
11534
b4c8295e
LL
115352013-05-02 Leo Liu <sdl.web@gmail.com>
11536
30c7e542
SM
11537 * progmodes/octave.el (octave-syntax-propertize-function):
11538 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 11539
f12ad6ec
GM
115402013-05-02 Glenn Morris <rgm@gnu.org>
11541
11542 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11543 * desktop.el (vc-dir-mode): Just autoload it here.
11544
30cac1e0
AM
115452013-05-02 Alan Mackenzie <acm@muc.de>
11546
11547 Eliminate variable c-standard-font-lock-fontify-region-function.
11548 * progmodes/cc-mode.el
11549 (c-standard-font-lock-fontify-region-function): Remove.
11550 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11551
d8ef28b1
LL
115522013-05-01 Leo Liu <sdl.web@gmail.com>
11553
2640d52e 11554 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 11555 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 11556 variables were removed from Octave in 2007.
d8ef28b1
LL
11557 (inferior-octave-startup): Fix uses.
11558 (comint-line-beginning-position): Remove compatibility code for
11559 emacs 21.
11560
ac63ec89
JL
115612013-05-01 Juri Linkov <juri@jurta.org>
11562
11563 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11564
9e9be37c
JL
115652013-05-01 Juri Linkov <juri@jurta.org>
11566
11567 * comint.el (comint-previous-matching-input): Don't print message
11568 "History item: %d" when `isearch-mode' is active.
11569 (comint-history-isearch-message): Print message "History item: %d"
11570 when `comint-input-ring-index' is not empty and this function is
11571 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11572
9b92c13b
LL
115732013-05-01 Leo Liu <sdl.web@gmail.com>
11574
11575 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11576 definitions. Use completion-at-point to insert keywords.
11577 (octave-abbrev-start): Remove.
11578 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11579
b12d33d7
LL
115802013-04-30 Leo Liu <sdl.web@gmail.com>
11581
11582 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11583 change.
11584
3d1c39fa
AM
115852013-04-30 Alan Mackenzie <acm@muc.de>
11586
11587 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
11588 * progmodes/cc-engine.el (c-back-over-member-initializers):
11589 new function.
3d1c39fa
AM
11590 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11591 (most) member init lists.
11592
5147fc17
RS
115932013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11594
11595 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11596 variable.
11597
5b78d7fc
LL
115982013-04-30 Leo Liu <sdl.web@gmail.com>
11599
11600 * progmodes/octave.el (octave-variables): Remove. No builtin
11601 variables any more. All converted to functions.
11602 (octave-font-lock-keywords, octave-completion-at-point-function):
11603 Fix uses.
11604 (octave-font-lock-texinfo-comment): New user variable.
11605 (octave-texinfo-font-lock-keywords): New variable for texinfo
11606 comment block.
11607 (octave-function-comment-block): New face.
11608 (octave-font-lock-texinfo-comment): New function.
11609 (octave-mode): Font lock texinfo comment block.
11610
38d8527b
LL
116112013-04-29 Leo Liu <sdl.web@gmail.com>
11612
11613 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11614 indexing expression.
11615 (octave-continuation-string): Do not use \.
11616 (inferior-octave-complete-impossible): Remove.
11617 (inferior-octave-completion-table)
11618 (inferior-octave-completion-at-point): Remove its uses.
11619 (inferior-octave-startup): completion_matches was introduced to
11620 Octave in 1996 so safe to assume it.
11621 (octave-function-file-comment): Improve to follow how Octave does it.
11622 (octave-update-function-file-comment): Tweak.
11623
2ec12cb0
LL
116242013-04-29 Leo Liu <sdl.web@gmail.com>
11625
11626 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11627 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11628 (octave-function-file-comment): Fix typo.
11629 (octave-sync-function-file-names): Use read-char-choice.
11630
6eaed048
JB
116312013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11632
11633 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11634 to t for the less important warnings.
11635
3ffa2d4f
DH
116362013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11637
11638 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11639
685c9501
GM
116402013-04-27 Glenn Morris <rgm@gnu.org>
11641
11642 * vc/log-view.el (log-view-current-entry):
11643 Treat "---" separator lines as part of the following rev. (Bug#14169)
11644
0208ede7
JL
116452013-04-27 Juri Linkov <juri@jurta.org>
11646
11647 * subr.el (read-number): Doc fix about using it by interactive
11648 code letter `n'. (Bug#14254)
11649
5db9dace
JL
116502013-04-27 Juri Linkov <juri@jurta.org>
11651
11652 * desktop.el (desktop-auto-save-timeout): New option.
11653 (desktop-file-checksum): New variable.
11654 (desktop-save): Add optional arg `auto-save' and don't auto-save
11655 if nothing changed.
11656 (desktop-auto-save-timer): New variable.
11657 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11658 (after-init-hook): Call `desktop-auto-save-set-timer'.
11659 Suggested by Reuben Thomas <rrt@sc3d.org> in
11660 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11661
b7260dd4
LL
116622013-04-27 Leo Liu <sdl.web@gmail.com>
11663
11664 * progmodes/octave.el (octave-function-file-p)
11665 (octave-skip-comment-forward, octave-function-file-comment)
11666 (octave-update-function-file-comment): New functions.
11667 (octave-mode-map): Bind C-c ; to
11668 octave-update-function-file-comment.
11669 (octave-mode-menu): Add octave-update-function-file-comment.
11670 (octave-mode, inferior-octave-mode): Fix doc-string.
11671 (octave-insert-defun): Conform to Octave's coding convention.
11672 (Bug#14285)
11673
11674 * files.el (basic-save-buffer): Don't let errors in
11675 before-save-hook prevent saving buffer.
11676
c46da669
RW
116772013-04-20 Roland Winkler <winkler@gnu.org>
11678
11679 * faces.el (read-face-name): Use completing-read if arg multiple
11680 is nil.
11681
a81ee1eb
IL
116822013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11683
11684 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
11685 displayed, move point to after the totals line.
11686 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
11687 for the details.
11688
4fac34ce
SM
116892013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11690
11691 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11692 Add current dir to the load-path.
11693 (package-generate-autoloads): Don't rely on
11694 autoload-ensure-default-file.
11695
f6bfc063
RT
116962013-04-26 Reuben Thomas <rrt@sc3d.org>
11697
d40ab5cf
BG
11698 * textmodes/remember.el (remember-store-in-files): Document that
11699 the file name format is passed to `format-time-string'.
f6bfc063 11700
e55d3b04
LL
117012013-04-26 Leo Liu <sdl.web@gmail.com>
11702
11703 * progmodes/octave.el (octave-sync-function-file-names): New function.
11704 (octave-mode): Use it in before-save-hook.
11705
e53052d3
SM
117062013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11707
140ef50c
SM
11708 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11709 (bug#14274).
11710
e53052d3
SM
11711 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11712 \n and comment, even if it's not an implicit ; (bug#14218).
11713
af80458d 117142013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
11715
11716 * subr.el (read-number): Once more use `read' rather than
11717 `string-to-number', to trap non-numeric input. (Bug#14254)
11718
af80458d 117192013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
11720
11721 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11722 Use `syntax-multiline' text property consistently instead of
8a621d53 11723 `font-lock-multiline'. (Bug#14237)
70203c2e 11724
e6ea1f6c
GM
117252013-04-26 Glenn Morris <rgm@gnu.org>
11726
11727 * emacs-lisp/shadow.el (list-load-path-shadows):
11728 No longer necessary to check for duplicate simple.el, since
11729 2012-07-07 change to init_lread to not include installation lisp
11730 directories in load-path when running uninstalled. (Bug#14270)
11731
070ccca4
LL
117322013-04-26 Leo Liu <sdl.web@gmail.com>
11733
11734 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11735 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 11736 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
11737 octave-in-string-or-comment-p.
11738 (octave-in-comment-p, octave-in-string-p)
11739 (octave-in-string-or-comment-p): Replace defsubst with defun.
11740
9d1c5fb6
PE
117412013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11742
11743 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11744
c034abda
BG
117452013-04-25 Bastien Guerry <bzg@gnu.org>
11746
11747 * textmodes/remember.el (remember-data-directory)
11748 (remember-directory-file-name-format): Fix custom types.
11749
584ea277
LL
117502013-04-25 Leo Liu <sdl.web@gmail.com>
11751
e53052d3
SM
11752 * progmodes/octave.el (octave-completion-at-point-function):
11753 Make use of inferior octave process.
584ea277
LL
11754 (octave-initialize-completions): Remove.
11755 (inferior-octave-completion-table): New function.
11756 (inferior-octave-completion-at-point): Use it.
11757 (octave-completion-alist): Remove.
11758
1693b06a
SM
117592013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11760
11761 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11762 (opascal-mode-syntax-table): New var.
11763 (opascal-literal-kind, opascal-is-literal-end)
11764 (opascal-literal-token-at): Rewrite.
11765 (opascal--literal-start-re, opascal-font-lock-keywords)
11766 (opascal--syntax-propertize): New constants.
11767 (opascal-font-lock-defaults): Adjust.
11768 (opascal-mode): Use them. Set comment-<foo> variables as well.
11769 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11770 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11771 (delphi-other-face, opascal-other-face): Remove face variables.
11772 (opascal-save-state): Remove macro.
11773 (opascal-fontifying-progress-step): Remove constant.
11774 (opascal--ignore-changes): Remove var.
11775 (opascal-set-token-property, opascal-parse-next-literal)
11776 (opascal-is-stable-literal, opascal-complete-literal)
11777 (opascal-is-literal-start, opascal-face-of)
11778 (opascal-parse-region, opascal-parse-region-until-stable)
11779 (opascal-fontify-region, opascal-after-change)
11780 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11781 (opascal-debug-parse-region, opascal-debug-parse-window)
11782 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11783 (opascal-debug-fontify-buffer): Remove.
11784 (opascal-debug-mode-map): Adjust accordingly.
11785
be64c05d
LL
117862013-04-25 Leo Liu <sdl.web@gmail.com>
11787
11788 Merge octave-mod.el and octave-inf.el into octave.el with some
11789 cleanups.
11790 * progmodes/octave.el: New file renamed from octave-mod.el.
11791 * progmodes/octave-inf.el: Merged into octave.el.
11792 * progmodes/octave-mod.el: Renamed to octave.el.
11793
d79d37bd
TH
117942013-04-25 Tassilo Horn <tsdh@gnu.org>
11795
11796 * textmodes/reftex-vars.el
11797 (reftex-label-ignored-macros-and-environments): New defcustom.
11798
11799 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11800
ced3fc5d
SM
118012013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11802
11803 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11804 (smie-indent-keyword): Improve the check to ensure that the next
11805 comment is really on the same line.
11806 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11807
11808 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11809 semi-colons if the line is not otherwise empty (bug#14218).
11810
1c141dad
GM
118112013-04-25 Glenn Morris <rgm@gnu.org>
11812
11813 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11814
5058062a
SM
118152013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11816
11817 * progmodes/opascal.el (opascal-set-token-property): Rename from
11818 opascal-set-text-properties and only set `token' (bug#14134).
11819 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11820 (opascal-literal-text-properties): Remove.
11821 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11822 Adjust callers.
11823
5db9dace 118242013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
11825
11826 * textmodes/remember.el (remember-handler-functions): Add an
11827 option for a new handler `remember-store-in-files'.
11828 (remember-data-directory, remember-directory-file-name-format):
11829 New options.
11830 (remember-store-in-files): New function to store remember notes
11831 as separate files within a directory.
11832
4391916c
MH
118332013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11834
11835 * progmodes/compile.el (compilation-next-error-function):
11836 Pass "formats" to compilation-find-file (bug#11777).
11837
bb7cdf58
GM
118382013-04-24 Glenn Morris <rgm@gnu.org>
11839
3b8fe752 11840 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
11841 * vc/vc-hg.el (vc-hg-print-log):
11842 * vc/vc-svn.el (vc-svn-print-log):
11843 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11844
bb7cdf58
GM
11845 * vc/vc-bzr.el (vc-bzr-print-log):
11846 * vc/vc-cvs.el (vc-cvs-print-log):
11847 * vc/vc-git.el (vc-git-print-log):
11848 * vc/vc-hg.el (vc-hg-print-log):
11849 * vc/vc-mtn.el (vc-mtn-print-log):
11850 * vc/vc-rcs.el (vc-rcs-print-log):
11851 * vc/vc-sccs.el (vc-sccs-print-log):
11852 * vc/vc-svn.el (vc-svn-print-log):
11853 * vc/vc.el (vc-print-log-internal): Doc fixes.
11854
b46a056e
GM
118552013-04-23 Glenn Morris <rgm@gnu.org>
11856
11857 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11858 Remove venerable code attempting to avoid substitute-command-keys.
11859
0aecf718
TH
118602013-04-23 Tassilo Horn <tsdh@gnu.org>
11861
4391916c
MH
11862 * textmodes/reftex-vars.el (reftex-label-regexps):
11863 Call `reftex-compile-variables' after changes to this variable.
0aecf718 11864
117f94cf
SM
118652013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11866
4391916c 11867 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
11868 Use lexical-binding.
11869 (jit-lock-force-redisplay): Use markers, check buffer's continued
11870 existence and beware narrowed buffers.
11871 (jit-lock-fontify-now): Adjust call accordingly.
11872
1d829c64
SM
118732013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11874
11875 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11876 to avoid misleading the user.
11877
72d548a9
LL
118782013-04-22 Leo Liu <sdl.web@gmail.com>
11879
11880 * info-look.el: Prefer latex2e.info. (Bug#14240)
11881
d0853629
MA
118822013-04-22 Michael Albinus <michael.albinus@gmx.de>
11883
11884 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11885
11886 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 11887 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
11888 (tramp-set-completion-function, tramp-parse-putty):
11889 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11890 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11891 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11892 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11893 (tramp-call-local-coding-command): Use `tramp-call-process'
11894 instead of `tramp-compat-call-process'.
11895
11896 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11897 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11898 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 11899 (tramp-find-inline-compress): Improve traces.
d0853629
MA
11900 (tramp-maybe-send-script): Check for Perl binary.
11901 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11902
38cc0210
DU
119032013-04-22 Daiki Ueno <ueno@gnu.org>
11904
11905 * epg.el (epg-context-pinentry-mode): New function.
11906 (epg-context-set-pinentry-mode): New function.
11907 (epg--start): Pass --pinentry-mode option to gpg command.
11908
cc641ee1
XF
119092013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11910
02d844b5 11911 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 11912 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 11913 `completion-at-point'. (Bug#13774)
5d4e5c31 11914
cc641ee1
XF
11915 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11916 default key binding for `describe-distribution' has been moved to
11917 `C-h C-o'. (Bug#13970)
11918
1b42ee43
GM
119192013-04-21 Glenn Morris <rgm@gnu.org>
11920
11921 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11922 Add doc strings.
11923 (vc-print-log): Clarify interactive prompt.
11924
a6d63d97
GM
119252013-04-20 Glenn Morris <rgm@gnu.org>
11926
11927 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11928 No longer include timestamp etc information.
11929
d7f5c16f
RW
119302013-04-20 Roland Winkler <winkler@gnu.org>
11931
11932 * faces.el (read-face-name): Bug fix, return just one face if arg
11933 multiple is nil. (Bug#14209)
11934
bcd7a0a4
SM
119352013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11936
11937 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11938 (remove-function): Autoload.
11939
11940 * comint.el (comint-redirect-original-filter-function): Remove.
11941 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
11942 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11943 (vc-cvs-annotate-command):
bcd7a0a4
SM
11944 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11945 * progmodes/prolog.el (prolog-consult-compile):
11946 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11947 Use add/remove-function instead.
11948 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11949 (gud-tooltip-process-output, gud-tooltip-tips):
11950 Use add/remove-function instead.
11951 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11952 (scheme-interaction-mode, exit-scheme-interaction-mode):
11953 Use add/remove-function instead.
11954
11955 * vc/vc-dispatcher.el: Use lexical-binding.
11956 (vc--process-sentinel): Rename from vc-process-sentinel.
11957 Change last arg to be the code to run. Don't use vc-previous-sentinel
11958 and vc-sentinel-commands any more.
11959 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11960 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11961
e36b2d20 119622013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 11963
bcd7a0a4 11964 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 11965 Handle function names with a single character. (Bug#14111)
4d3268ba 11966
781b4af6 119672013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
11968
11969 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11970 for subroutines defined in an eval (bug#14182).
11971
7d688336
TV
119722013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11973
11974 * bookmark.el (bookmark-completing-read): Improve handling of empty
11975 string (bug#14176).
11976
31dcede0
SM
119772013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11978
11979 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11980
adc31213
FEG
119812013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11982
11983 New faster Imenu implementation (bug#14058).
11984 * progmodes/python.el:
11985 (python-imenu-prev-index-position):
11986 (python-imenu-format-item-label-function)
11987 (python-imenu-format-parent-item-label-function)
11988 (python-imenu-format-parent-item-jump-label-function):
11989 New vars.
11990 (python-imenu-format-item-label)
11991 (python-imenu-format-parent-item-label)
11992 (python-imenu-format-parent-item-jump-label)
11993 (python-imenu--put-parent, python-imenu--build-tree)
11994 (python-imenu-create-index, python-imenu-create-flat-index)
11995 (python-util-popn): New functions.
11996 (python-mode): Set imenu-create-index-function to
11997 python-imenu-create-index.
11998
cdca8255
SM
119992013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12000
12001 * winner.el (winner-active-region): Use region-active-p, activate-mark
12002 and deactivate-mark (bug#14225).
12003
12004 * simple.el (deactivate-mark): Don't inline it.
12005
beb42340
MA
120062013-04-18 Michael Albinus <michael.albinus@gmx.de>
12007
12008 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12009
fc7f4d7e
TH
120102013-04-18 Tassilo Horn <tsdh@gnu.org>
12011
12012 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12013 file extensions from the archive-mode entry in order to prefer
12014 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12015
29f47822
LL
120162013-04-18 Leo Liu <sdl.web@gmail.com>
12017
12018 * bindings.el (help-event-list): Add ?\?.
12019
d36ed1c8
SM
120202013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12021
12022 * subr.el (with-wrapper-hook): Declare obsolete.
12023 * simple.el (filter-buffer-substring-function): New hook.
12024 (filter-buffer-substring): Use it.
12025 (filter-buffer-substring-functions): Mark obsolete.
12026 * minibuffer.el (completion-in-region-function): New hook.
12027 (completion-in-region): Use it.
12028 (completion-in-region-functions): Mark obsolete.
12029 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12030 * abbrev.el (abbrev-expand-function): New hook.
12031 (expand-abbrev): Use it.
12032 (abbrev-expand-functions): Mark obsolete.
12033 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12034 and :filter-return.
12035
04754d36
FEG
120362013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12037
12038 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12039 and do not care about match data.
12040
dd8791e9
SM
120412013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12042
12043 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12044 completion tables when completing error conditions and
12045 `declare' arguments.
12046 (lisp-complete-symbol, field-complete): Mark as obsolete.
12047 (check-parens): Unmatched parens are user errors.
12048 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12049
ffe54a13
AM
120502013-04-17 Michal Nazarewicz <mina86@mina86.com>
12051
dd8791e9
SM
12052 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12053 command changed buffer (ie. `flyspell-pre-buffer' is not current
12054 buffer), which prevents making decisions based on invalid value of
12055 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12056 cause an error when `flyspell-pre-point' was nil after switching
12057 buffers.
12058 (flyspell-post-command-hook): No longer needs to change buffers when
12059 checking pre-word. While at it remove unnecessary progn.
ffe54a13 12060
ec7e39f2
AM
120612013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12062
12063 * textmodes/ispell.el (ispell-add-per-file-word-list):
12064 Fix `flyspell-correct-word-before-point' error when accepting
12065 words and `coment-padding' is an integer by using
12066 `comment-normalize-vars' (Bug #14214).
12067
083850a6
FEG
120682013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12069
12070 New defun movement commands.
12071 * progmodes/python.el (python-nav--syntactically)
12072 (python-nav--forward-defun, python-nav-backward-defun)
12073 (python-nav-forward-defun): New functions.
12074
619ed6e1
FEG
120752013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12076
12077 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12078 (python-syntax-context): Use named compiler-macro for backwards
12079 compatibility with Emacs 24.x.
12080
7a1beb6c
LL
120812013-04-17 Leo Liu <sdl.web@gmail.com>
12082
12083 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12084 octave-hide-process-buffer.
12085
2d3fa3e5
SM
120862013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12087
12088 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12089 (bug#14216).
12090
7ce5be54
JPG
120912013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12092
12093 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12094 Fix adjustment of offset when receiving incomplete responses from GDB
12095 (bug#14129).
12096
351edece
SM
120972013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12098
12099 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12100 python-mode-abbrev-table.
12101 (python-skeleton-define): Adjust accordingly.
12102 (python-mode-abbrev-table): New table that inherits from it so that
12103 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12104
12105 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12106 (abbrev-symbol): Use it.
12107 (abbrev--before-point): Use it since we already handle inheritance.
12108
613f9481
LL
121092013-04-16 Leo Liu <sdl.web@gmail.com>
12110
12111 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12112 binding to info-lookup-symbol.
12113
51646b62
JB
121142013-04-16 Juanma Barranquero <lekktu@gmail.com>
12115
12116 * minibuffer.el (completion--twq-all):
12117 * term/ns-win.el (ns-initialize-window-system):
12118 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12119
efb3f01d
SM
121202013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12121
36c0a301
SM
12122 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12123 global bindings.
12124
efb3f01d
SM
12125 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12126
fb549d64
DG
121272013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12128
12129 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12130 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12131 to nil.
12132 (ruby-end-of-defun): Remove the unused arg, change the docstring
12133 to reflect that this function is only used as the value of
12134 `end-of-defun-function'.
12135 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12136 to reflect an earlier change that beginning/end-of-defun functions
12137 jump between methods in a class definition, as well as top-level
12138 functions.
12139
21e8fe2f
SM
121402013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12141
12142 * minibuffer.el (minibuffer-complete): Don't just scroll
12143 a *Completions* that's been iconified.
12144 (minibuffer-force-complete): Make sure repetitions do cycle when going
12145 through completion-in-region -> minibuffer-complete.
12146
20e527d0
AM
121472013-04-15 Alan Mackenzie <acm@muc.de>
12148
12149 Correct the placement of c-cpp-delimiters when there're #s not at
12150 col 0.
12151
12152 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12153 place a submatch around the #.
21e8fe2f
SM
12154 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12155 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
12156 on the #, not BOL.
12157
dabefae5
SM
121582013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12159
12160 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12161 (advice--member-p): New arg `name'.
12162 (advice--add-function, advice-member-p): Use it (bug#14202).
12163
85c9ab64
AM
121642013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12165
12166 Reformulate java imenu-generic-expression.
12167 The old expression contained ill formed regexps.
12168
12169 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12170 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12171 (cc-imenu-java-method-arg-regexp): New defconsts.
12172 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 12173 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
12174 handling of spaces in the regexp.
12175
0f821d99
AM
121762013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12177
12178 * textmodes/ispell.el (ispell-command-loop): Remove
12179 flyspell highlight of a word when ispell accepts it (bug #14178).
12180
eb922adf
MA
121812013-04-15 Michael Albinus <michael.albinus@gmx.de>
12182
12183 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12184 uses code from the previous `ange-ftp-run-real-handler'.
12185 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12186 only in case that function exist. This is needed for proper
12187 unloading of Tramp.
12188
4d9a0979
TH
121892013-04-15 Tassilo Horn <tsdh@gnu.org>
12190
12191 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12192
12193 * textmodes/reftex.el (reftex-compile-variables): Use it.
12194
a829b0dc
SM
121952013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12196
91e8293c
SM
12197 * files.el (normal-mode): Only use default major-mode if no other mode
12198 was specified.
12199
830aed4d
SM
12200 * emacs-lisp/trace.el (trace-values): New function.
12201
a829b0dc
SM
12202 * files.el: Allow : in local variables (bug#14089).
12203 (hack-local-variable-regexp): New var.
12204 (hack-local-variables-prop-line, hack-local-variables): Use it.
12205
7ae9f0fb
RW
122062013-04-13 Roland Winkler <winkler@gnu.org>
12207
12208 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12209 data before it gets modified by bibtex-beginning-of-entry.
12210
6646e848
RW
122112013-04-13 Roland Winkler <winkler@gnu.org>
12212
12213 * textmodes/bibtex.el (bibtex-url): Doc fix.
12214
122152013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
12216
12217 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12218 does not visit a BibTeX file, exclude it from the list of buffers
12219 returned by bibtex-initialize.
12220
0aa3616e
SB
122212013-04-13 Stephen Berman <stephen.berman@gmx.net>
12222
12223 * window.el (split-window): Remove interactive form, since as a
12224 command this function is a special case of split-window-below.
12225 Correct doc string.
12226
011cddd6
RW
122272013-04-12 Roland Winkler <winkler@gnu.org>
12228
12229 * faces.el (read-face-name): Do not override value of arg default.
12230 Allow single faces and strings as default values. Remove those
12231 elements from return value that are not faces.
12232 (describe-face): Simplify.
12233 (face-at-point): New optional args thing and multiple so that this
12234 function can provide the same functionality previously provided by
12235 read-face-name.
12236 (make-face-bold, make-face-unbold, make-face-italic)
12237 (make-face-unitalic, make-face-bold-italic, invert-face)
12238 (modify-face, read-face-and-attribute): Use face-at-point.
12239
12240 * cus-edit.el (customize-face, customize-face-other-window)
12241 * cus-theme.el (custom-theme-add-face)
12242 * face-remap.el (buffer-face-set)
12243 * facemenu.el (facemenu-set-face): Use face-at-point.
12244
f24e0036
MA
122452013-04-12 Michael Albinus <michael.albinus@gmx.de>
12246
12247 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12248
da3cda2d
TH
122492013-04-10 Tassilo Horn <tsdh@gnu.org>
12250
12251 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12252 off leading { and trailing } from field values.
12253
15e54145
SM
122542013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12255
78ce603d
SM
12256 * emacs-lisp/timer.el (timer--check): New function.
12257 (timer--time, timer-set-function, timer-event-handler): Use it.
12258 (timer-set-idle-time): Simplify.
12259 (timer--activate): CSE.
12260 (timer-event-handler): Give more info in error message.
12261 (internal-timer-start-idle): New function, moved from C.
12262
15e54145
SM
12263 * mpc.el (mpc-proc): Add `restart' argument.
12264 (mpc-proc-cmd): Use it.
12265 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12266 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12267 less often.
12268
7144c627
MY
122692013-04-10 Masatake YAMATO <yamato@redhat.com>
12270
12271 * progmodes/sh-script.el: Implement `sh-mode' own
12272 `add-log-current-defun-function' (bug#14112).
12273 (sh-current-defun-name): New function.
12274 (sh-mode): Use the function.
12275
b39792eb
BG
122762013-04-09 Bastien Guerry <bzg@gnu.org>
12277
12278 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12279
8acdeb71
SM
122802013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12281
6fcdab68
SM
12282 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12283
8acdeb71
SM
12284 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12285 timer (bug#14156).
12286
e3e7b504
NF
122872013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12288
12289 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12290 declaration.
12291
201bb296
LL
122922013-04-07 Leo Liu <sdl.web@gmail.com>
12293
12294 * pcmpl-x.el: New file.
12295
ebb19708
DA
122962013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12297
12298 Do not set x-display-name until X connection is established.
12299 This is needed to prevent from weird situation described at
12300 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12301 * frame.el (make-frame): Set x-display-name after call to
12302 window system initialization function, not before.
12303 * term/x-win.el (x-initialize-window-system): Add optional
12304 display argument and use it.
12305 * term/w32-win.el (w32-initialize-window-system):
12306 * term/ns-win.el (ns-initialize-window-system):
12307 * term/pc-win.el (msdos-initialize-window-system):
12308 Add compatible optional display argument.
12309
33bb237a
EZ
123102013-04-06 Eli Zaretskii <eliz@gnu.org>
12311
12312 * files.el (normal-backup-enable-predicate): On MS-Windows and
12313 MS-DOS compare truenames of temporary-file-directory and of the
12314 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12315 don't fail comparison by compare-strings. Also, compare file
12316 names case-insensitively on MS-Windows and MS-DOS.
12317
134abf1f
SM
123182013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12319
12320 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12321 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12322
d695cb94
DG
123232013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12324
e3e7b504
NF
12325 * whitespace.el (whitespace-color-on, whitespace-color-off):
12326 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 12327
f4ad7ea1 123282013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
12329
12330 * ispell.el (ispell-set-spellchecker-params):
12331 Really set `ispell-args' for all equivs.
12332
632556e4
SM
123332013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12334
12335 * ido.el (ido-completions): Use extra elements of ido-decorations
12336 (bug#14143).
12337 (ido-decorations): Update docstring.
12338
2a417372
MA
123392013-04-05 Michael Albinus <michael.albinus@gmx.de>
12340
12341 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12342 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12343 nil during initialization, in order not to miss changes since the
12344 file was opened. (Bug#14140)
12345
fc164b0c
LL
123462013-04-05 Leo Liu <sdl.web@gmail.com>
12347
12348 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12349
0ccecc08
JB
123502013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12351
12352 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12353
51af1aa2
GM
123542013-04-04 Glenn Morris <rgm@gnu.org>
12355
12356 * electric.el (electric-pair-inhibit-predicate): Add :version.
12357
b208ebc6
SM
123582013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12359
12360 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12361 when a package is required several times (bug#14082).
12362
f3d3eaf0
RW
123632013-04-04 Roland Winkler <winkler@gnu.org>
12364
12365 * faces.el (read-face-name): Behave as promised by the docstring.
12366 Assume that arg default is a list of faces.
12367 (describe-face): Call read-face-name with list of default faces.
12368
2575da50
TV
123692013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12370
12371 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12372 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12373 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12374 the header.
12375 (bookmark-exit-hook-internal): Save even if list is empty.
12376
397703b4
YH
123772013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12378
12379 * emacs-lisp/package.el (package-pinned-packages): New var.
12380 (package--add-to-archive-contents): Obey it (bug#14118).
12381
691e26ae
AM
123822013-04-03 Alan Mackenzie <acm@muc.de>
12383
8a621d53
JB
12384 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12385 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
12386
12387 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12388 parameter `not-in-delimiter'. Handle being inside comment opener.
12389 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12390 character in case we're typing a '*' after a '/'.
12391 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12392 instead by passing the parameter to c-state-pp-to-literal.
12393
12394 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12395 for elt. 7 of a parse state.
12396
4b725a70
PE
123972013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12398
12399 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12400 * international/latin1-disp.el, international/mule-util.el:
12401 * language/cyril-util.el, language/european.el, language/ind-util.el:
12402 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12403 * language/tibetan.el, language/viet-util.el:
12404 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12405
15c579f0
SM
124062013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12407
12408 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12409 (electric-pair-post-self-insert-function): Use it.
12410 (electric-pair-default-inhibit): New function, extracted from
12411 electric-pair-post-self-insert-function.
12412
a77e2924
RW
124132013-03-31 Roland Winkler <winkler@gnu.org>
12414
12415 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12416
2bd8a4a8
SM
124172013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12418
12419 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12420
8d3655be 124212013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
12422
12423 Un-indent after "pass" and "return" statements (Bug#13888)
12424 * progmodes/python.el (python-indent-block-enders): New var.
12425 (python-indent-calculate-indentation): Use it.
12426
8d3655be 124272013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
12428
12429 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12430 defun. Defining it as defalias could introduce too eager
12431 byte-compiler optimization. (Bug#14030)
12432
8d3655be 124332013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
12434
12435 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12436
0b1619da
LL
124372013-03-30 Leo Liu <sdl.web@gmail.com>
12438
12439 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12440 (kmacro-execute-from-register): Pass the keyboard macro to
12441 kmacro-call-macro or repeating won't work correctly.
12442
0b938190
TZ
124432013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12444
12445 * progmodes/subword.el: Back to using `forward-symbol'.
12446
12447 * subr.el (forward-whitespace, forward-symbol)
12448 (forward-same-syntax): Move from thingatpt.el.
12449
35710234
LL
124502013-03-29 Leo Liu <sdl.web@gmail.com>
12451
12452 * kmacro.el (kmacro-to-register): New command.
12453 (kmacro-execute-from-register): New function.
12454 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12455
efc0bb73
SM
124562013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12457
12458 * mpc.el: Use defvar-local and setq-local.
12459 (mpc--proc-connect): Connection failures are not bugs.
12460 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12461 (mpc-volume-map): Bind to the up-events.
12462
75a2f981
TZ
124632013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12464
12465 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12466 instead of `forward-symbol'.
12467
17c781d1
SM
124682013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12469
12470 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12471 (edebug--recursive-edit): Use it.
12472 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12473 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12474
f67bfbcf
LL
124752013-03-28 Leo Liu <sdl.web@gmail.com>
12476
12477 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12478
b59f639d
EZ
124792013-03-27 Eli Zaretskii <eliz@gnu.org>
12480
12481 * facemenu.el (list-colors-callback): New defvar.
12482 (list-colors-redisplay): New function.
12483 (list-colors-display): Install list-colors-redisplay as the
12484 revert-buffer-function. (Bug#14063)
12485
f557c1b1
SM
124862013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12487
b1da2957
SM
12488 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12489 and suffixes don't overlap (bug#14061).
12490
f557c1b1
SM
12491 * case-table.el: Use lexical-binding.
12492 (case-table-get-table): New function.
12493 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12494
002668e1
TZ
124952013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12496
12497 * progmodes/subword.el: Add `superword-mode' to do word motion
12498 over symbol_words (parallels and leverages `subword-mode' which
12499 does word motion inside MixedCaseWords).
12500
73572c72
AG
125012013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12502
78b8f320 12503 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 12504 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 12505
69b2c07e
SM
125062013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12507
12508 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12509 Change return value to be a sexp. Delay `get-buffer' to after
12510 restoring the desktop (bug#13951).
12511
08bb5ee2
LL
125122013-03-26 Leo Liu <sdl.web@gmail.com>
12513
12514 * register.el: Move semantic tag handling back to
12515 cedet/semantic/senator.el. (Bug#14052)
12516
8d4c974e
SM
125172013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12518
12519 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12520 into the prompt either (bug#13963).
12521
b234d92c
SM
125222013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12523
12524 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12525 part of "(error-foo)".
12526
ddfa3cb4
JL
125272013-03-24 Juri Linkov <juri@jurta.org>
12528
12529 * replace.el (list-matching-lines-prefix-face): New defcustom.
12530 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12531 `occur-engine' if `face-differs-from-default-p' returns t.
12532 (occur-engine): Add `,' inside backquote construct to evaluate
12533 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12534 Pass `prefix-face' to the functions `occur-context-lines' and
12535 `occur-engine-add-prefix'.
12536 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12537 `prefix-face' and propertize the prefix with `prefix-face'.
12538 (Bug#14017)
12539
7b0e2f85
LL
125402013-03-24 Leo Liu <sdl.web@gmail.com>
12541
12542 * nxml/rng-valid.el (rng-validate-while-idle)
12543 (rng-validate-quick-while-idle): Guard against deleted buffer.
12544 (Bug#13999)
12545
12546 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12547 is the last entry in kill-buffer-hook.
12548
12549 * files.el (kill-buffer-hook): Doc fix.
12550
b3082f49
DG
125512013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12552
b234d92c
SM
12553 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12554 Make it safe-local.
bde73d27 12555
b3082f49
DG
12556 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12557
a320a2db
LL
125582013-03-23 Leo Liu <sdl.web@gmail.com>
12559
7e74b0fb
LL
12560 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12561 Remove.
12562
12563 * nxml/rng-valid.el (rng-validate-mode)
12564 (rng-after-change-function, rng-do-some-validation):
12565 * nxml/rng-maint.el (rng-validate-buffer):
12566 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12567 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12568 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12569 (nxml-extend-after-change-region): Use with-silent-modifications.
12570
a320a2db
LL
12571 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12572 timer-idle-list.
12573
12574 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12575 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12576 timer-idle-list. (Bug#13999)
12577
e38e6780
JL
125782013-03-23 Juri Linkov <juri@jurta.org>
12579
12580 * info.el (info-index-match): New face.
12581 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12582 main pattern and add text properties with the new face to matches
12583 in index entries relative to the beginning of the index entry.
12584 (Bug#14015)
12585
e8cc7880
DE
125862013-03-21 Eric Ludlam <zappo@gnu.org>
12587
39c87140 12588 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
12589 Inhibit read only while inserting objects.
12590
9bb0d822
TZ
125912013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12592
12593 * progmodes/cfengine.el: Update docs to mention
12594 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12595 symbol motion. Remove "_" from the word syntax.
12596
aa703640
TZ
125972013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12598
12599 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12600 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12601
afff09d0
JL
126022013-03-20 Juri Linkov <juri@jurta.org>
12603
12604 * info.el (Info-next-reference-or-link)
12605 (Info-prev-reference-or-link): New functions.
12606 (Info-next-reference, Info-prev-reference): Use them.
12607 (Info-try-follow-nearest-node): Handle footnote navigation.
12608 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12609
9a1ff164
SM
126102013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12611
12612 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12613 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12614
2667d15d
PE
126152013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12616
12617 Suppress unnecessary non-ASCII chatter during build process.
12618 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12619 (batch-skkdic-convert): Suppress most of the chatter.
12620 It's not needed so much now that machines are faster,
12621 and its non-ASCII component was confusing; see Dmitry Gutov in
12622 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12623
438b0579
LL
126242013-03-20 Leo Liu <sdl.web@gmail.com>
12625
12626 * ido.el (ido-chop): Fix bug#10994.
12627
c128ab07
DG
126282013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12629
12630 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12631 Remove vars.
9a1ff164
SM
12632 (whitespace-color-on, whitespace-color-off):
12633 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 12634
0e6008c5
SM
126352013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12636
12637 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12638 remapping in mode-line.
12639 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12640
627b52b0
DG
126412013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12642
12643 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12644 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
12645 (whitespace-font-lock-keywords): Change description.
12646 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12647 the constructed keywords instead.
12648 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 12649
50c3a20b
LL
126502013-03-19 Leo Liu <sdl.web@gmail.com>
12651
12652 * progmodes/compile.el (compilation-display-error): New command.
12653 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12654 C-o. (Bug#13992)
12655
2aa2157b
PE
126562013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12657
12658 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12659
e477dbfa
JD
126602013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12661
12662 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12663
64ab82d1
MA
126642013-03-18 Michael Albinus <michael.albinus@gmx.de>
12665
12666 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12667
12668 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12669 * net/tramp-gvfs.el (top):
12670 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12671 (tramp-handle-shell-command): Use it.
12672 (tramp-dissect-file-name): Raise an error when hostname is a
12673 method name, and neither method nor user is specified.
12674
12675 * net/trampver.el: Update release number.
12676
33cef733
LL
126772013-03-18 Leo Liu <sdl.web@gmail.com>
12678
12679 Make sure eldoc can be turned off properly.
12680 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12681 eldoc-mode.
12682 (eldoc-display-message-p): Revert last change.
12683 (eldoc-display-message-no-interference-p)
12684 (eldoc-print-current-symbol-info): Tweak.
12685
2167b7b2
TH
126862013-03-18 Tassilo Horn <tsdh@gnu.org>
12687
12688 * doc-view.el (doc-view-new-window-function): Check the new window
12689 overlay's display property instead the char property of the
12690 buffer's first char. Use `with-selected-window' instead of
12691 `save-window-excursion' with `select-window'.
12692 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 12693 display property instead the char property of the buffer's first char.
2167b7b2 12694
982efbcd
PE
126952013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12696
12697 Automate the build of ja-dic.el (Bug#13984).
12698 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12699 from the input, rather than assume that it's been done for us by the
12700 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12701 the current date into a ja-dic.el comment, as that complicates
12702 regression testing.
12703
2fcc7665
SM
127042013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12705
12706 * whitespace.el: Fix double evaluation.
12707 (whitespace-space, whitespace-hspace, whitespace-tab)
12708 (whitespace-newline, whitespace-trailing, whitespace-line)
12709 (whitespace-space-before-tab, whitespace-indentation)
12710 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12711 obsolete defvars.
12712 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12713 (whitespace-color-on): Use a single font-lock-add-keywords call.
12714 Fix double-evaluation of face variables.
12715
67c0a6e6
MA
127162013-03-17 Michael Albinus <michael.albinus@gmx.de>
12717
2fcc7665
SM
12718 * net/tramp-adb.el (tramp-adb-parse-device-names):
12719 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 12720 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 12721
69489f1d
LL
127222013-03-17 Leo Liu <sdl.web@gmail.com>
12723
12724 Extend eldoc to display info in the mode-line. (Bug#13978)
12725 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12726 (eldoc-mode-line-string): New variable.
12727 (eldoc-minibuffer-message): New function.
12728 (eldoc-message-function): New variable.
12729 (eldoc-message): Use it.
12730 (eldoc-display-message-p)
2fcc7665
SM
12731 (eldoc-display-message-no-interference-p):
12732 Support eldoc-post-insert-mode.
69489f1d
LL
12733
12734 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12735 (eval-expression): Run it.
12736
9c44569e
RW
127372013-03-17 Roland Winkler <winkler@gnu.org>
12738
12739 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12740 strings in the list of return values.
12741
327f1f6f
JB
127422013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12743
12744 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12745 radix before checking for HMS forms.
12746
67ed8fcd
LL
127472013-03-16 Leo Liu <sdl.web@gmail.com>
12748
12749 * progmodes/scheme.el: Add indentation and font-locking for λ.
12750 (Bug#13975)
12751
78be8b64 127522013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
12753
12754 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12755 token before point (bug#13942).
12756
78be8b64 127572013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 12758
95b43468 12759 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 12760
98e775e6
EZ
127612013-03-16 Eli Zaretskii <eliz@gnu.org>
12762
12763 * startup.el (command-line-normalize-file-name): Fix handling of
12764 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12765 <xfq.free@gmail.com> in
12766 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12767
2edd6029
MA
127682013-03-15 Michael Albinus <michael.albinus@gmx.de>
12769
12770 Sync with Tramp 2.2.7.
12771
12772 * net/trampver.el: Update release number.
12773
d35f5864
TH
127742013-03-14 Tassilo Horn <tsdh@gnu.org>
12775
e903c210 12776 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
12777 (doc-view-insert-image): Don't modify overlay associated to
12778 non-live windows, and implement horizontal centering of image in
12779 case it's smaller than the window.
12780 (doc-view-new-window-function): Force redisplay of new windows on
12781 doc-view buffers.
d35f5864 12782
1c4a85ed
KF
127832013-03-13 Karl Fogel <kfogel@red-bean.com>
12784
12785 * saveplace.el (save-place-alist-to-file): Don't sort
12786 `save-place-alist', just pretty-print it (bug#13882).
12787
85b66a21
MA
127882013-03-13 Michael Albinus <michael.albinus@gmx.de>
12789
a020afb9
JB
12790 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12791 Check whether `default-file-name-coding-system' is bound.
12792 It isn't in XEmacs.
85b66a21 12793
175600da
SM
127942013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12795
e7f7cb1a
SM
12796 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12797 backquotes for `obsolete' (bug#13929).
12798
175600da
SM
12799 * international/mule.el (find-auto-coding): Include file name in
12800 obsolescence warning (bug#13922).
12801
ca68a22e
TZ
128022013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12803
12804 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12805 for CFEngine 3-specific indentation.
12806 (cfengine3-indent-line): Use it. Fix up category regex.
12807 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12808
940e5099
SM
128092013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12810
12811 * type-break.el (type-break-file-name):
12812 * textmodes/remember.el (remember-data-file):
12813 * strokes.el (strokes-file):
12814 * shadowfile.el (shadow-initialize):
12815 * saveplace.el (save-place-file):
12816 * ps-bdf.el (bdf-cache-file):
12817 * progmodes/idlwave.el (idlwave-config-directory):
12818 * net/quickurl.el (quickurl-url-file):
12819 * international/kkc.el (kkc-init-file-name):
12820 * ido.el (ido-save-directory-list-file):
12821 * emulation/viper.el (viper-custom-file-name):
12822 * emulation/vip.el (vip-startup-file):
12823 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12824 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12825
cc725808
PE
128262013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12827
12828 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12829 * language/thai-word.el: Switch to UTF-8.
12830
a020afb9 12831See ChangeLog.16 for earlier changes.
e3d51b27
MR
12832
12833;; Local Variables:
12834;; coding: utf-8
e3d51b27
MR
12835;; End:
12836
ba318903 12837 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
12838
12839 This file is part of GNU Emacs.
12840
12841 GNU Emacs is free software: you can redistribute it and/or modify
12842 it under the terms of the GNU General Public License as published by
12843 the Free Software Foundation, either version 3 of the License, or
12844 (at your option) any later version.
12845
12846 GNU Emacs is distributed in the hope that it will be useful,
12847 but WITHOUT ANY WARRANTY; without even the implied warranty of
12848 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12849 GNU General Public License for more details.
12850
12851 You should have received a copy of the GNU General Public License
12852 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.