* menu.c (Fx_popup_dialog): Remove label 'dialog_via_menu'.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
08e41897
AL
12014-02-04 Anders Lindgren <andlind@gmail.com>
2
3 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4 the names (bug#16620).
5
764ec9e5
MR
62014-02-03 Martin Rudalics <rudalics@gmx.at>
7
08e41897
AL
8 * faces.el (window-divider): New default value. Rewrite doc-string.
9 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 10
6da8227c
DG
112014-02-03 Dmitry Gutov <dgutov@yandex.ru>
12
13 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
14 `protected' and `public' can also be called without arguments.
15
6a6b8e40
GM
162014-02-03 Glenn Morris <rgm@gnu.org>
17
7bcbca40
GM
18 * register.el (window-configuration-to-register)
19 (frame-configuration-to-register): Unadvertise unused argument.
20 * frameset.el (frameset-to-register): Remove unused argument.
21
6a6b8e40
GM
22 * kmacro.el (kmacro-to-register):
23 * register.el (increment-register):
24 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
25 (calc-append-to-register, calc-prepend-to-register):
26 * play/gametree.el (gametree-layout-to-register)
27 (gametree-apply-register-layout):
28 * textmodes/picture.el (picture-clear-rectangle-to-register)
29 (picture-yank-rectangle-from-register):
30 * vc/emerge.el (emerge-combine-versions-register):
31 Use register-read-with-preview to read registers.
32
5dca7759
JT
332014-02-03 João Távora <joaotavora@gmail.com>
34
35 * elec-pair.el (electric-pair-backward-delete-char): Don't error
36 when at beginning of (possibly narrowed) buffer.
37
709085b9
DC
382014-02-02 Daniel Colascione <dancol@dancol.org>
39
08e41897
AL
40 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
41 Also try to display local help from just before point.
709085b9 42
99f7b0a6
AM
432014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
44
45 c-parse-state. Don't "append-lower-brace-pair" in certain
46 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
47 recognised as a comment.
48
49 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
50 as well as normal comment starter.
51 (c-parse-state-get-strategy): Extra return possibility
52 'back-and-forward.
53 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
54 return value list to indicate replacement of a brace-pair cons
55 with its car.
56 (c-parse-state-1): With 'back-and-forward, only call
57 c-append-lower-brace-pair-to state-cache when cons-separated.
58
f0a10576
JD
592014-02-02 Jan Djärv <jan.h.d@swipnet.se>
60
61 * term/ns-win.el (ns-suspend-error): New function.
62 (ns-initialize-window-system): Add ns-suspend-error to
63 suspend-hook (Bug#16612).
64
b8d552c2
DC
652014-02-02 Daniel Colascione <dancol@dancol.org>
66
67 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
68
f2b7d123
DC
692014-02-02 Daniel Colascione <dancol@dancol.org>
70
71 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
72
4472a196
GM
732014-02-02 Glenn Morris <rgm@gnu.org>
74
75 * register.el (register-read-with-preview, point-to-register)
76 (window-configuration-to-register, frame-configuration-to-register)
77 (jump-to-register, number-to-register, view-register, insert-register)
78 (copy-to-register, append-to-register, prepend-to-register)
79 (copy-rectangle-to-register): Doc fixes.
80
70e5a261
SM
812014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
82
83 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
84 * emacs-lisp/find-func.el (find-function-C-source): Idem.
85 * emacs-lisp/nadvice.el (advice--cd*r): New function.
86 * help-fns.el (describe-function-1): Use it.
87
7c324762
GM
882014-02-02 Glenn Morris <rgm@gnu.org>
89
90 * register.el (register-preview-default): New function,
91 split from register-preview.
92 (register-preview-function): Rename from register-preview-functions,
93 make it not a hook.
94 (register-preview): Use register-preview-function.
95 (register-read-with-preview): Error on non-character event. (Bug#16595)
96
a09beb3d
DG
972014-02-01 Dmitry Gutov <dgutov@yandex.ru>
98
99 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
100 `:' before binary operators (bug#16609). Don't check for `:'
101 before `[' and `(', or their syntax status. A percent literal
102 can't end with either.
68e004e0
DG
103 (ruby-font-lock-keywords): For built-ins that require arguments,
104 check that they're followed by something that looks like argument
105 (bug#16610).
a09beb3d 106
ed4d2875
LI
1072014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
108
109 * subr.el (butlast): Document what an omitted N means (bug#13437).
110 (nbutlast): Ditto.
111
dba6e3ec
LI
1122014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
113
114 * net/shr.el (shr-generic): Make into a defsubst to make the stack
115 depth shallower (bug#16587).
cc477daa
LI
116 (shr-tag-svg): Respect `shr-inhibit-images'.
117 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 118
e2a67bd0
DG
1192014-01-31 Dmitry Gutov <dgutov@yandex.ru>
120
121 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
122 (ruby-smie-grammar): Make "." right-associative. Make its priority
123 lower than the ternary and all binary operators.
124 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
125 parent, or the first "." parent at indentation.
126 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
127 (Bug#16593)
128
bd21bf41
JL
1292014-01-31 Juri Linkov <juri@jurta.org>
130
131 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
132 from `make-hash-table'.
133
134 * textmodes/ispell.el (ispell-init-process): Change message format
135 to be consistent with other messages.
136
b7e615b9
GM
1372014-01-31 Glenn Morris <rgm@gnu.org>
138
a69ecd19
GM
139 * delsel.el (delete-selection-mode): Doc fix.
140
9997d7e3
GM
141 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
142 (trace-function-background): Doc fixes.
143
fbb764b8
GM
144 * ido.el (ido-use-virtual-buffers): Doc fix.
145 Reset :version, since the default value has not changed.
146
da942af1
GM
147 * register.el (register-preview-delay, register-read-with-preview):
148 Doc fixes.
149
b7e615b9
GM
150 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
151 do not mess with mail-buffer position (fixes 2009-11-03 change).
152 * progmodes/cc-mode.el (c-submit-bug-report):
153 Check auto-fill-mode is bound. (Bug#16592)
154
0a25002d
DH
1552014-01-31 Darren Hoo <darren.hoo@gmail.com>
156
157 * startup.el (fancy-splash-image-file): New function,
158 split from fancy-splash-head.
159 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
160 so that we are both using the same image. (Bug#16574)
161
ad78f432
GM
1622014-01-30 Glenn Morris <rgm@gnu.org>
163
6bbc0c84
GM
164 * simple.el (eval-expression): Doc fix.
165
ad78f432
GM
166 * hexl.el (hexl-mode-hook):
167 * ielm.el (ielm-mode-hook):
168 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
169 (lisp-interaction-mode-hook):
170 * progmodes/cfengine.e (cfengine3-documentation-function):
171 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
172
7b2f049c
SM
1732014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
174
175 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
176 is a symbol (bug#16584).
177
0c633f13
GM
1782014-01-30 Glenn Morris <rgm@gnu.org>
179
180 * help.el (help-for-help-internal): Add "P" to text.
181
5e61c1ef
GM
1822014-01-29 Glenn Morris <rgm@gnu.org>
183
184 * simple.el (just-one-space, cycle-spacing): Doc fixes.
185
1dcb169c
MR
1862014-01-28 Martin Rudalics <rudalics@gmx.at>
187
188 * window.el (fit-frame-to-buffer): Fix calculations for margins and
189 height constraints.
190
a9128931
LL
1912014-01-28 Luke Lee <luke.yx.lee@gmail.com>
192
193 * progmodes/hideif.el: Extend to full CPP expression syntax.
194 (hif-token-alist): Add missing tokens.
195 (hif-token-regexp): Add support for float/octal/hex immediates.
196 (hif-string-literal-regexp): New const.
197 (hif-tokenize): Recognize strings and float/octal/hex immediates.
198 (hif-exprlist): New function.
199 (hif-parse-if-exp): Use it.
200 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
201 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
202 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
203 (hif-logxor, hif-comma): New functions.
204
a22359a7
GM
2052014-01-28 Glenn Morris <rgm@gnu.org>
206
793ffe81
GM
207 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
208
e3bd7eed
GM
209 * indent.el (tab-stop-list): Doc fix. Add :version.
210
a22359a7
GM
211 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
212 (cvs-append-to-ignore): Add compatibility alias.
213
52695556 2142014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 215
bac524e0
GM
216 * dired.el (dired-hide-details-mode): Don't autoload it,
217 since it cannot be used outside Dired buffers anyway.
218
52695556 219 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 220
52695556
GM
221 * dired.el (dired-hide-details-hide-symlink-targets)
222 (dired-hide-details-hide-information-lines)
223 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
224
225 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
226 * strokes.el (strokes-file): Doc fix. Bump :version.
227 (strokes-help): Doc fix.
228 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
229 * emulation/viper.el (viper): Doc fix for custom group.
230 (top-level): Remove oh-so-no-longer-relevant text about vip.
231 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
232
233 * ido.el (ido-save-directory-list-file):
234 * saveplace.el (save-place-file):
235 * calendar/timeclock.el (timeclock-file):
236 * net/quickurl.el (quickurl-url-file):
237 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
238 * progmodes/idlwave.el (idlwave-config-directory):
239 * textmodes/remember.el (remember-data-file):
240 Bump :version.
241
169d6004
GM
2422014-01-26 Glenn Morris <rgm@gnu.org>
243
de6a923b
GM
244 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
245 Doc fix. Make obsolete.
246 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
247
169d6004
GM
248 * sort.el (delete-duplicate-lines): Doc fix.
249
ed85dee6
RS
2502014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
251
252 * progmodes/ada-mode.el (ada):
253 * woman.el (woman): Link to info manual and Commentary section.
254
255 * progmodes/flymake.el (flymake):
256 * nxml/nxml-mode.el (nxml):
257 * net/eww.el (eww):
258 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
259 * htmlfontify.el (htmlfontify):
260 * ses.el (ses):
261 * epa.el (epa):
262 * ido.el (ido): Link to info manual.
263
e0c67e1d
LL
2642014-01-25 Leo Liu <sdl.web@gmail.com>
265
266 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
267
35408b1a
AS
2682014-01-25 Adam Sjøgren <asjo@koldfront.dk>
269
270 * net/shr.el (shr-tag-img): Prefer the title over the alt text
271 (bug#16537).
272
76c3fa95
JB
2732014-01-24 Juanma Barranquero <lekktu@gmail.com>
274
f77c7a99
JB
275 * net/eww.el (eww-download-callback):
276 Fix reference to eww-download-directory.
277
76c3fa95
JB
278 * emacs-lisp/bytecomp.el (byte-compile-file):
279 Remove unused local variable `file-name'.
280
1e548e40
GM
2812014-01-24 Glenn Morris <rgm@gnu.org>
282
03f3b318
GM
283 * woman.el (woman-default-faces, woman-monochrome-faces):
284 Fix obsolescence specification.
285
1e548e40
GM
286 * subr.el (with-demoted-errors): Doc fix.
287
d4f0427b
SM
2882014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
289
290 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
291 (cl--macroexp-fboundp): New function.
292 (cl--make-type-test): Use it.
293
1670e27f
GM
2942014-01-23 Glenn Morris <rgm@gnu.org>
295
296 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
297 * simple.el (eval-expression): Doc fixes.
298
80efa207
GM
2992014-01-22 Glenn Morris <rgm@gnu.org>
300
301 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
302
29afcbab
SM
3032014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
304
305 * emacs-lisp/package.el: Write files silently.
306 (package-autoload-ensure-default-file, package--write-file-no-coding)
307 (package-generate-description-file, package--download-one-archive)
308 (package-install-from-archive): Tell `write-region' to stay quiet.
309 (package-menu-mode, package-menu--print-info): Omit the Archive column
310 if there's only one archive.
311 (package-all-keywords, package--has-keyword-p): Remove dead code.
312
2a5bce4f
GM
3132014-01-22 Glenn Morris <rgm@gnu.org>
314
edace89f
GM
315 * version.el (emacs-bzr-version-bzr): Fix typo.
316
2a5bce4f
GM
317 * version.el (emacs-repository-get-version):
318 Check either .bzr or .git, but not both.
319 Make the git case actually use the DIR argument, and return nil
320 rather than the empty string.
983664c0 321 Avoid error if .git exists but the git executable is not found.
2a5bce4f 322
6cb4da45
MR
3232014-01-22 Martin Rudalics <rudalics@gmx.at>
324
325 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
326 * window.el (window-total-size, window-size): New argument ROUND.
327 (window--min-delta-1, window-min-delta, window--max-delta-1):
328 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
329 columns a window can shrink (Bug#16430).
330 (fit-window-to-buffer): Simplify code.
331 * term.el (term-window-width): Call window-body-width again.
332
cc0f2ece
GM
3332014-01-22 Glenn Morris <rgm@gnu.org>
334
7b997b14
GM
335 * image.el (image-format-suffixes): Doc fix.
336
44e76f9d
GM
337 * international/quail.el (quail-define-package): Doc fix.
338
73c1c6d7
GM
339 * emacs-lisp/authors.el (authors-valid-file-names):
340 (authors-renamed-files-alist): Additions.
7bfc1caa 341
85a5f61f
GM
342 * vc/vc-git.el (vc-git-print-log): Remove --follow;
343 reverts 2014-01-09 change. (Bug#16422)
344
cc0f2ece
GM
345 * calc/calc-embed.el (thing-at-point-looking-at):
346 * emacs-lisp/map-ynp.el (x-popup-dialog):
347 * obsolete/lmenu.el (x-popup-dialog):
348 * emacs-lisp/package.el (url-recreate-url):
349 * mail/mailclient.el (clipboard-kill-ring-save):
350 * subr.el (x-popup-dialog): Update declaration.
351 * mail/rmail.el (rmail-mime-message-p):
352 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
353
00d2a6bb
DC
3542014-01-21 Daniel Colascione <dancol@dancol.org>
355
356 * progmodes/sh-script.el (sh--inside-noncommand-expression):
357 Correctly detect when we're inside an arithmetic expansion form
358 containing nested parenthesis.
359 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
360 to detect cases where we shouldn't expand "<<" to a heredoc
361 skeleton.
362
dd9d2e9d
SM
3632014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
364
365 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
366 (eldoc--message-command-p): New function.
367 (eldoc-display-message-p): Use it.
368 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
369 message is not automatically erased for us.
370 (eldoc-print-current-symbol-info): Erase previous message, if any.
371
e7d807ca
TH
3722014-01-21 Tassilo Horn <tsdh@gnu.org>
373
4ff0a0e5
TH
374 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
375 specify it's an interactive function.
376
dd9d2e9d
SM
377 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
378 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
379 citations with optional arguments.
380
87503791
LL
3812014-01-21 Leo Liu <sdl.web@gmail.com>
382
383 * simple.el (read--expression): Don't enable eldoc-mode.
384
6cc750ee
SM
3852014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
386
387 * simple.el (move-beginning-of-line): Make sure we don't move forward
388 (bug#16497).
389
71f16bda
JL
3902014-01-20 Juri Linkov <juri@jurta.org>
391
392 * saveplace.el (toggle-save-place, save-place-to-alist)
393 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
394 'dired-mode) before checking for dired-directory. (Bug#16477)
395
3c5a4839
JL
3962014-01-20 Juri Linkov <juri@jurta.org>
397
398 * indent.el (indent-line-to): Use backward-to-indentation
399 instead of back-to-indentation. (Bug#16461)
400
f952002e
PE
4012014-01-20 Paul Eggert <eggert@cs.ucla.edu>
402
403 Revert some of the CANNOT_DUMP fix (Bug#16494).
404 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
405 but fixing this can wait until after the next release.
406 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
407
93675500
MA
4082014-01-19 Michael Albinus <michael.albinus@gmx.de>
409
410 * eshell/esh-mode.el (eshell-password-prompt-regexp):
411 Use `password-word-equivalents'.
412 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
413 to t. (Bug#5664, Bug#13124)
414
e3af763f
AM
4152014-01-19 Alan Mackenzie <acm@muc.de>
416
417 Bind open-paren-in-column-0-is-defun-start to nil at some entry
418 points.
419 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 420 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
421 * progmodes/cc-mode.el (c-before-change, c-after-change)
422 (c-font-lock-fontify-region): Bind it here.
423
4ff6d92d
MR
4242014-01-19 Martin Rudalics <rudalics@gmx.at>
425
426 * term.el (term-window-width): Call window-text-width instead of
427 window-width (Bug#16470).
428
9a685cf6
PE
4292014-01-18 Paul Eggert <eggert@cs.ucla.edu>
430
431 * simple.el (password-word-equivalents): Remove duplicates.
432 Sort, to make this easier next time.
433 Downcase. Omit ": " after "jelszó".
434
5aa78c2d
JD
4352014-01-18 Jan Djärv <jan.h.d@swipnet.se>
436
437 * term/common-win.el (saved-region-selection): Defvar it.
438 (x-select-text): Set saved-region-selection (Bug#16382).
439
cabb250c
GM
4402014-01-18 Glenn Morris <rgm@gnu.org>
441
442 * emacs-lisp/authors.el (authors-aliases)
443 (authors-renamed-files-alist): Add some entries.
444
a1340440
MA
4452014-01-17 Michael Albinus <michael.albinus@gmx.de>
446
93675500
MA
447 * net/tramp.el (tramp-password-prompt-regexp):
448 Use `password-word-equivalents' if available.
a1340440
MA
449 (tramp-action-password, tramp-process-one-action)
450 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
451
681ce5d2
CY
4522014-01-17 Chong Yidong <cyd@gnu.org>
453
454 * simple.el (password-word-equivalents): New defcustom.
455 * comint.el (comint-password-prompt-regexp): Use it. Bump version
456 to 24.4.
457 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
458 to t. (Bug#13124)
459
fb3d479c
DG
4602014-01-17 Dmitry Gutov <dgutov@yandex.ru>
461
462 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
463 (ruby-align-to-stmt-keywords): Change the default value.
464 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
465 choices.
466 (ruby-smie-rules): Instead of using a hardcoded list of alignable
467 keywords, check against the value of `ruby-alignable-keywords'
468 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
469
0d613483
GM
4702014-01-17 Glenn Morris <rgm@gnu.org>
471
fc23fe2d
GM
472 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
473
0d613483
GM
474 Make M-x authors return zero *Authors Errors* from current logs.
475 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
476 (authors-ignored-files): Add some entries, remove others.
477 (authors-ambiguous-files, authors-valid-file-names):
478 Add some entries.
479 (authors-renamed-files-alist): Add, remove, and adjust entries.
480 (authors-renamed-files-regexps): Add some entries.
481 Remove some very broad ones. Make some entries `lax'.
482 (authors-lax-changelogs): New constant.
483 (authors-disambiguate-file-name): Treat top-level specially.
484 (authors-lax-changelog-p): New function.
485 (authors-canonical-file-name): Check file as written against
486 authors-valid-file-names. Do not special-case etc/.
487 Handle `lax' logs and authors-renamed-files-regexps elements.
488
2dbf4ffd
DG
4892014-01-16 Dmitry Gutov <dgutov@yandex.ru>
490
491 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
492 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
493 callers.
2dbf4ffd 494
87b2a7f2
SM
4952014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
496
497 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
498 Assume we're already in the proper buffer.
499 Inspired by Anders Lindgren <andlind@gmail.com>.
500 (follow-post-command-hook): Call it from the right buffer.
501 (follow-comint-scroll-to-bottom): Adjust call.
502 (follow-all-followers): Use get-buffer-window-list.
503
93acfb0e
DC
5042014-01-15 Daniel Colascione <dancol@dancol.org>
505
506 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
507 `buffer-file-name' in interactive-form so that we don't leave
508 pathless file names in `file-name-history'.
509
ccc6b208
JL
5102014-01-15 Juri Linkov <juri@jurta.org>
511
512 * indent.el (indent-rigidly): Set deactivate-mark to nil
513 in transient indentation mode. (Bug#16438)
514
5c92e00d
DG
5152014-01-15 Dmitry Gutov <dgutov@yandex.ru>
516
517 * emacs-lisp/package.el (package-desc-keywords): New function
518 (Bug#16222).
519 (describe-package-1, package-all-keywords)
520 (package--has-keyword-p): Use it.
521
dac69660
NR
5222014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
523
524 * simple.el (define-alternatives): When creating the
525 COMMAND-alternatives variable, assign COMMAND as its definition
526 name so that `describe-variable' can relocate it.
527
8b63edf8
ML
5282014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
529
530 * font-lock.el (font-lock-keywords): Fix typo in docstring
531 (bug#16307).
532
c6a0b8eb
AM
5332014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
534
535 * ispell.el (ispell-region): Reset `in-comment' for new line
536 instead of wrongly reset `add-coment' (bug#13577).
537
02bf443d
DU
5382014-01-14 Daiki Ueno <ueno@gnu.org>
539
540 * epa-file.el (epa-file-write-region): Encode the region according
541 to `buffer-file-format'. Problem reported at:
542 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
543
fd7fde15
SM
5442014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
545
546 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
547 so it applies in the right buffer (bug#16410).
548
c176054f
DC
5492014-01-13 Daniel Colascione <dancol@dancol.org>
550
551 * textmodes/rst.el (rst-define-key): Provide deprecated
552 keybindings through named functions instead of anonymous ones so
553 that "??" doesn't appear in describe-mode output.
554
e3f33e5d
BG
5552014-01-13 Bastien Guerry <bzg@gnu.org>
556
557 * simple.el (define-alternatives): Call the selected command
558 interactively. When setting `COMMAND--implementation' for the
559 first time, tell the user how to chose another implementation.
560 Enhance the docstring.
561
c055d654
SM
5622014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
563
564 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
565 (log-edit--match-first-line): New function.
566 (log-edit-font-lock-keywords): Use it.
567 (log-edit-mode): Make jit-lock-defer-multiline work.
568
d791cc3b
BG
5692014-01-13 Bastien Guerry <bzg@gnu.org>
570
571 * rect.el (rectangle-mark-mode): When the region is not active,
572 display a message saying that the mark as been set and that
573 rectangle mode is in use.
574 (rectangle--highlight-for-redisplay): Only put an overlay with a
575 visible vertical bar when (display-graphic-p) is non-nil.
576 This partially fixes Bug#16403.
577
3c0c4562
JL
5782014-01-13 Juri Linkov <juri@jurta.org>
579
580 * info.el (Info-find-file): Go to DIR before displaying the error
581 about a nonexistent file if no previous Info file is visited.
582 Use `user-error' instead of `error' for "Info file %s does not exist".
583 (Info-find-node-2): In case of a nonexistent node in unwind forms
584 go to the Top node if there is no previous node to revert to.
585 (Bug#16405)
586
25a700d0
MR
5872014-01-13 Martin Rudalics <rudalics@gmx.at>
588
589 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
590 * window.el (fit-frame-to-buffer): Fix doc-string.
591 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
592 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
593 when avoiding that frame goes partially off-screen.
594 (fit-window-to-buffer): Respect window-min-height/-width
595 (Bug#14096).
596
6ae948d8
SM
5972014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
598
599 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
600 after an empty line.
601
6137cb82
SM
6022014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
603
604 * net/shr.el (shr-render-region): Autoload.
605
e6344e17
XF
6062014-01-12 Xue Fuqiao <xfq.free@gmail.com>
607
608 * net/eww.el (eww-download-directory): Rename from
609 `eww-download-path' (Bug#16419).
610
3b922c70
LL
6112014-01-12 Leo Liu <sdl.web@gmail.com>
612
613 * dired-x.el (dired-mode-map): Fix last change.
614
615 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
616
4fa51741
PE
6172014-01-12 Paul Eggert <eggert@cs.ucla.edu>
618
619 Spelling fixes.
620 * emacs-lisp/generic.el (generic--normalize-comments):
621 Rename from generic--normalise-comments. All uses changed.
622 * play/bubbles.el (bubbles--neighborhood-score):
623 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
624 (bubbles--neighborhood-available)
625 (bubbles--update-neighborhood-score):
626 Rename from names with 'neighbourhood'. All uses changed.
627
9b335362
LL
6282014-01-12 Leo Liu <sdl.web@gmail.com>
629
630 Re-implement the feature of showing eldoc info after editing.
631 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
632 (eldoc-edit-message-commands): New function.
633 (eldoc-print-after-edit): New variable.
634 (eldoc-pre-command-refresh-echo-area): Emit message only by
635 eldoc-message-commands.
636 (eldoc-mode): Restrict eldoc-message-commands to editing commands
637 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 638 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 639 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 640
e2a095b1
GM
6412014-01-11 Dani Moncayo <dmoncayo@gmail.com>
642 Eric S. Raymond <esr@thyrsus.com>
9685190b 643
841a6d0c 644 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 645 function works correctly in either a Bazaar or Git repo.
0abf4134 646
e2a095b1
GM
6472014-01-11 Eric S. Raymond <esr@thyrsus.com>
648
6137cb82
SM
649 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
650 Goes with removal of the joke manpages from /etc.
9685190b 651
3923e7bd
KH
6522014-01-10 K. Handa <handa@gnu.org>
653
6137cb82
SM
654 * mail/rmail.el (rmail-get-coding-system):
655 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 656
d2f16e93
GM
6572014-01-10 Glenn Morris <rgm@gnu.org>
658
659 * emacs-lisp/authors.el (authors-fixed-entries):
660 Update for files that no longer exist.
661
7e03bb32
ER
6622014-01-10 Eric S. Raymond <esr@thyrsus.com>
663
664 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 665 24.3 (Tested).
7e03bb32 666
dd806710
BB
6672014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
668
669 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
670 and Podfile.
671
ed6ec139
EZ
6722014-01-10 Eli Zaretskii <eliz@gnu.org>
673
674 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
675
cc33cac9
CY
6762014-01-10 Chong Yidong <cyd@gnu.org>
677
6137cb82 678 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 679
d9d836b5
AL
6802014-01-10 Anders Lindgren <andlind@gmail.com>
681
682 * follow.el (follow-cache-command-list): Include right-char and
683 left-char.
684
06827ec8
PE
6852014-01-10 Paul Eggert <eggert@cs.ucla.edu>
686
687 Spelling fixes.
688 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
689 * woman.el (woman-mark-horizontal-position):
690 Rename from woman-mark-horizonal-position. Use changed.
691
458dbf5e
GM
6922014-01-10 Glenn Morris <rgm@gnu.org>
693
dad6fae7
GM
694 * info.el (info-initialize): If running uninstalled, ensure our
695 own info files are always found first, even if INFOPATH is set.
696
458dbf5e
GM
697 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
698
05e0afce
DE
6992014-01-09 David Engster <deng@randomsample.de>
700
701 * emacs-lisp/eieio-custom.el:
702 * emacs-lisp/eieio-opt.el: Set generated autoload file to
703 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
704 * emacs-lisp/eieio.el: Regenerate autoloads.
705
f29778b3
ER
7062014-01-09 Eric S. Raymond <esr@thyrsus.com>
707
708 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 709 following renames. (Bug#8756)
f29778b3 710
684d44ef
SM
7112014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
712
713 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
714 (bug#16382).
715 (activate-mark): Add `no-tmm' argument.
716 (set-mark, push-mark-command): Use it instead of running
717 activate-mark-hook by hand.
718
9475054f
ER
7192014-01-08 Eric S. Raymond <esr@thyrsus.com>
720
721 In preparation for the move to git, sanitize out some
722 Bazaar-specific names.
723
38942b9c
GM
724 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
725
9475054f 726 * version.el (emacs-bzr-version): Name changed to
689c9ca5 727 emacs-repository-version. Obsolete-variable alias made.
9475054f 728 * loadup.el: Follow through on this name change.
a12bf61e 729 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
730 assumption about the version control system in use.
731
0f918d96 7322014-01-08 David Engster <deng@randomsample.de>
abb82152 733
684d44ef
SM
734 * help-fns.el (help-fns-describe-function-functions):
735 New variable to call functions for augmenting help buffers.
abb82152
DE
736 (describe-function-1): Remove explicit calls to
737 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
738 `help-fns--obsolete'. Put them in above new variable instead, and
739 call them through `run-hook-with-args'.
740 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
741 `eieio-describe-class'. Not meant for interactive use anymore,
742 but to augment existing help buffers. Remove optional second
684d44ef
SM
743 argument. Create proper button for file location.
744 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
745 possible.
746 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
747 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
748 (describe-method, describe-generic, eieio-describe-method):
749 Remove aliases.
0f918d96
DE
750 (eieio-help-constructor, eieio-help-generic): Rename from
751 `eieio-describe-constructor' and `eieio-describe-generic', resp.
752 Rewrite to use `insert' in the current buffer and use proper help
753 buttons.
754 (eieio-help-find-method-definition)
755 (eieio-help-find-class-definition): Also accept symbols as
756 arguments.
757 (eieio-help-mode-augmentation-maybee): Remove.
758 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
759 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
760 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 761
136b74c5
PE
7622014-01-08 Paul Eggert <eggert@cs.ucla.edu>
763
764 Spelling fixes.
765 * language/china-util.el (hz-ascii-designation):
766 Rename from hz-ascii-designnation.
767 (hz-ascii-designation): Rename from hz-ascii-designnation.
768 All uses changed.
769
ec6c7de2
SM
7702014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
771
772 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
773 package-alist.
774
d6262c7c
BG
7752014-01-08 Bastien Guerry <bzg@gnu.org>
776
4b9e6087
GM
777 * emacs-lisp/package.el (package-delete):
778 Correctly delete the package from package-alist.
d6262c7c 779
0a3eec32
DU
7802014-01-08 Daiki Ueno <ueno@gnu.org>
781
782 * emacs-lisp/package.el (url-recreate-url): Declare.
783 (url-http-target-url): Declare.
4b9e6087 784 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
785 (package--check-signature): Don't re-signal errors from
786 package--with-work-buffer. Suggested by Stefan Monnier.
787
68f0bb97
BG
7882014-01-07 Bastien Guerry <bzg@gnu.org>
789
790 * minibuffer.el (completion--try-word-completion): When both a
791 hyphen and a space are possible candidates for the character
792 following a word, display both candidates. (Bug#15980)
793
7e1899d7
MR
7942014-01-07 Martin Rudalics <rudalics@gmx.at>
795
796 * window.el (balance-windows-2): While rounding don't give a
797 window more than the remainder. Bug#16351, Bug#16383.
798
0030ec15
GM
7992014-01-07 Glenn Morris <rgm@gnu.org>
800
801 * menu-bar.el (menu-bar-help-extra-packages): Remove.
802 (menu-bar-help-menu): Use view-external-packages instead.
803
2b6b4f20
BG
8042014-01-07 Bastien Guerry <bzg@gnu.org>
805
806 * emacs-lisp/package.el (package-delete): Also delete the package
807 name from `package-alist', not its description only.
808
e9be0a13
GM
8092014-01-07 Glenn Morris <rgm@gnu.org>
810
811 * help.el (view-external-packages):
812 * menu-bar.el (menu-bar-help-extra-packages):
813 Visit efaq.info rather than etc/MORE.STUFF.
814
e4f74da9
JL
8152014-01-07 Juri Linkov <juri@jurta.org>
816
817 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
818 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
819
820 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
821 that shadows RET. (Bug#16342)
822
de7ce2d1
CY
8232014-01-07 Chong Yidong <cyd@gnu.org>
824
825 * isearch.el (isearch-yank-char, isearch-yank-word)
826 (isearch-yank-line): Doc fix.
827
6bdd9204
SM
8282014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
829
830 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
831 * emacs-lisp/elint.el (elint-find-builtins):
832 * emacs-lisp/eldoc.el (eldoc-symbol-function):
833 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
834 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
835 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
836 * apropos.el (apropos-safe-documentation):
837 * subr.el (symbol-file): Remove redundant fboundp.
838 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
839
daccca97
BG
8402014-01-06 Bastien Guerry <bzg@gnu.org>
841
842 * hl-line.el (global-hl-line-overlay): Make a local variable.
843 (global-hl-line-overlays): New variable to store all overlays.
844 (global-hl-line-mode): Don't delete overlays from the current
845 buffer when `global-hl-line-sticky-flag' is non-nil.
846 (global-hl-line-highlight): Add new overlays to
847 `global-hl-line-overlays'.
848 (global-hl-line-unhighlight-all): New function to delete all
849 overlays when turning off `global-hl-line-mode'.
850 This fixes Bug#16183.
851
ec00f20f
SM
8522014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
853
854 * subr.el (set-transient-map): Fix nested case and docstring.
855
a0031f97
TH
8562014-01-06 Tassilo Horn <tsdh@gnu.org>
857
858 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
859 `Texinfo' entry.
860
bf6a77f3
DC
8612014-01-06 Daniel Colascione <dancol@dancol.org>
862
863 Fix defun navigation in vc log view.
864
865 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
866 like `beginning-of-defun'.
867 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
ec00f20f
SM
868 log-view-end-of-defun to log-view-end-of-defun-1. Replace
869 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 870 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 871 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 872
d5081c1e
PE
8732014-01-06 Paul Eggert <eggert@cs.ucla.edu>
874
875 Spelling fixes.
876 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
877 * emacs-lisp/debug.el (cancel-debug-on-entry):
878 * epg.el (epg-error-to-string):
879 * files.el (recover-file):
880 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
881 * mail/emacsbug.el (report-emacs-bug-hook):
882 * mail/sendmail.el (mail-recover):
883 * ses.el (ses-yank-resize):
884 * term/ns-win.el (ns-print-buffer):
885 Spelling fixes in diagnostics, mostly for "canceled" with one L.
886 * epg.el (epg-key-capability-alist): Rename from misspelled version.
887 All uses changed.
888 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
889
53f6b148
LL
8902014-01-06 Leo Liu <sdl.web@gmail.com>
891
892 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 893 to avoid shadowing global key. (Bug#16354)
53f6b148 894
b82ace2f
DC
8952014-01-06 Daniel Colascione <dancol@dancol.org>
896
897 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
898 rst-mode.
899
3669b636
MR
9002014-01-05 Martin Rudalics <rudalics@gmx.at>
901
902 * window.el (balance-windows): Add mising t to fix Bug#16351.
903
1a29adc2
LMI
9042014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
905
906 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
907 (bug#16285).
3d95a0f4
LMI
908 (shr-insert): If we have a word that's longer than `shr-width',
909 break after it anyway. Otherwise we'll do no breaking once we get
910 such a long word.
1a29adc2 911
f4018140
KN
9122014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
913
3fcfc4ee 914 * net/eww.el (eww): Support single/double quote for search.
189340f5
KN
915 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
916 (eww-history-quit): Delete and use quit-window.
917 (eww-history-kill): Delete, because it doesn't work well and
918 not necessary.
919 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 920
4e619754
PE
9212014-01-05 Paul Eggert <eggert@cs.ucla.edu>
922
73dbf960
PE
923 Fix misspelling of 'chinese' in rx (Bug#16237).
924 * emacs-lisp/rx.el (rx-categories): Correct spelling of
925 chinese-two-byte.
926
4e619754
PE
927 Change subword regexps back to vars (Bug#16296).
928 * progmodes/subword.el (subword-forward-regexp)
929 (subword-backward-regexp): Change these back to variables.
930
e18b70fc
SM
9312014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
932
933 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
934 syntax-begin-function (bug#16247).
935
0d53f628
CY
9362014-01-03 Chong Yidong <cyd@gnu.org>
937
938 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
939 (advice--docstring): Delete variable.
940 (advice--make-1): Leave the docstring empty.
941 (advice-add): Use function-documentation for advised docstring.
942
943 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
944 Ignore function-documentation property when getting documentation.
945 (ad-activate-advised-definition): Use function-documentation
946 generate the docstring.
947 (ad-make-advised-definition): Don't call
948 ad-make-advised-definition-docstring.
949 (ad-make-advised-definition-docstring, ad-advised-definition-p):
950 Delete functions.
951
952 * progmodes/sql.el (sql-help): Use function-documentation instead
953 of dynamic-docstring-function property. No need to autoload now.
954 (sql--help-docstring): New variable.
955 (sql--make-help-docstring): Use it.
956
6f547583
SM
9572014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
958
6ef9aed8
SM
959 * ielm.el (ielm-tab): Retarget.
960 (ielm-map): Use ielm-tab for tab.
961 (ielm-complete-filename): Use comint-filename-completion.
962 (ielm-complete-symbol): Remove.
963 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
964 remove ielm-tab from completion-at-point-functions (bug#16224).
965
6f547583
SM
966 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
967 Beware signals raised by predicates (bug#16201).
968
a574edbe
RS
9692014-01-02 Richard Stallman <rms@gnu.org>
970
e831604d
RS
971 * dired-aux.el (dired-do-print): Handle printer-name.
972
6f547583
SM
973 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
974 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
975 (rmail-epa-decrypt): Turn off mime processing.
976
3fcfc4ee 977 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
978 Add parens in message-id.
979
980 * mail/rmail.el (rmail-get-coding-function): Variable.
981 (rmail-get-coding-system): Use it.
982
04311a16
KH
9832013-12-31 Eli Zaretskii <eliz@gnu.org>
984
985 * international/mule-conf.el: Unify the charset indian-is13194.
986 (indian-is13194): Specify unify-map.
987
c8d89778
LL
9882013-12-31 Leo Liu <sdl.web@gmail.com>
989
990 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
991
e63ace37
DC
9922013-12-30 Daniel Colascione <dancol@dancol.org>
993
9e0bf19a
DC
994 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
995 of printing a useless when we resume from sleep.
996
e63ace37
DC
997 * progmodes/sh-script.el
998 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
999 in indentation code. (Bug#16233)
1000
e9d6c46a
JT
10012013-12-28 João Távora <joaotavora@gmail.com>
1002
6f547583
SM
1003 * elec-pair.el (electric-pair-post-self-insert-function):
1004 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 1005
bf7bea5d
EZ
10062013-12-28 Eli Zaretskii <eliz@gnu.org>
1007
1008 * frame.el (window-system-for-display): Don't allow to create a
1009 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1010
8449dd1f
GM
10112013-12-28 Glenn Morris <rgm@gnu.org>
1012
9c5a5c77
GM
1013 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1014 Update callers.
1015
1016 * apropos.el (apropos-match-face):
1017 * calculator.el (calculator-displayer):
1018 * dabbrev.el (dabbrev-search-these-buffers-only):
1019 * face-remap.el (buffer-face-mode-face):
1020 * simple.el (yank-handled-properties):
1021 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1022 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1023 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1024 (hashcash-double-spend-database):
1025 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1026 (ruby-deep-indent-paren-style):
1027 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1028 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1029 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1030 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1031 Specify custom types.
1032
bb098075
GM
1033 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1034 * bookmark.el (bookmark-bmenu-use-header-line):
1035 * doc-view.el (doc-view-scale-internally):
1036 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1037 * register.el (register-preview-delay):
1038 * net/shr.el (shr-bullet):
1039 * progmodes/cfengine.el (cfengine-cf-promises)
1040 (cfengine-parameters-indent):
1041 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1042 * textmodes/reftex-vars.el (reftex-label-regexps):
1043 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1044
9c61f806
GM
1045 * net/tls.el (tls-certtool-program): Fix default value.
1046
1047 * desktop.el (desktop-restore-in-current-display):
1048 * newcomment.el (comment-empty-lines):
1049 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1050 (idlwave-pad-keyword):
1051 * progmodes/tcl.el (tcl-tab-always-indent):
1052 * textmodes/reftex-vars.el (reftex-index-default-tag):
1053 * elec-pair.el (electric-pair-skip-whitespace):
1054 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1055
8449dd1f
GM
1056 * emacs-lisp/authors.el (authors-ignored-files)
1057 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1058
fdadeb49
JC
10592013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1060
72140a0f
GM
1061 * shell.el (shell-dynamic-complete-command): Doc fix.
1062 (shell--command-completion-data): Shell completion now matches
1063 executable filenames from the current buffer's directory, on
da5ecfa9 1064 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 1065
e572a7d8
LI
10662013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1067
1068 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1069
7514d3f8
SM
10702013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1071
a4151f3b
SM
1072 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1073 (bug#16251).
1074
7514d3f8
SM
1075 * electric.el: Move all electric-pair-* to elec-pair.el.
1076 * elec-pair.el: New file, split from electric.el.
1077
ac5758d1
LI
10782013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1079
1080 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1081 indentation level is larger than the width, because that will
1082 infloop.
1083 (shr-insert): Fill repeatedly long texts, so that Japanese is
1084 formatted correctly (bug#16263).
24a6b65e
LI
1085 (shr-find-fill-point): Off by one error in comparison with the
1086 indentation.
ac5758d1 1087
7514d3f8 10882013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
1089
1090 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 1091 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
1092 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1093 if that keeps or improves their balance in buffers.
1094 (electric-pair-delete-adjacent-pairs): Delete the pair when
1095 backspacing over adjacent matched delimiters.
1096 (electric-pair-open-extra-newline): Open extra newline when
1097 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
1098 (electric--sort-post-self-insertion-hook):
1099 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
1100 minor-modes are activated.
1101 * simple.el (newline-and-indent): Call newline with interactive
1102 set to t.
1103 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
1104 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1105 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1106 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
1107 electric-pair-open-newline-between-pairs to nil.
1108
fbcc63a3
FEG
11092013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1110
1111 * progmodes/python.el: Use lexical-binding.
1112 (python-nav-beginning-of-defun): Stop searching ASAP.
1113
ed78d16c
XF
11142013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1115
1116 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1117 Fix interactive spec. Doc fix. (Bug#15754)
1118
38b2c142
KY
11192013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1120
1121 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 1122 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
1123 Fix edebug spec (bug#16184).
1124
3c856c14
LI
11252013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1126
83fa295c 1127 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
1128 (shr-insert): Don't infloop if we can't find a good place to break
1129 the line (bug#16256).
3c856c14 1130
01379221
FEG
11312013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1132
1133 * progmodes/python.el:
1134 (python-nav--lisp-forward-sexp): New function.
1135 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1136 python-nav-lisp-forward-sexp-safe.
1137 (python-nav--forward-sexp): New argument SAFE allows switching
1138 forward sexp movement behavior for parens.
1139 (python-nav-forward-sexp): Throw errors on unterminated parens
1140 (Bug#16191).
1141 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1142 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
1143 (python-shell-buffer-substring):
1144 Use `python-nav-forward-sexp-safe'.
01379221 1145
99e4926f
LI
11462013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1147
1148 * net/shr.el (shr-find-fill-point): Don't break lines before a
1149 quotation mark.
c6c20584
LI
1150 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1151 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 1152 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 1153
fec0e828
KN
11542013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1155
1156 * net/eww.el (eww-form-textarea): Use a different face for
1157 textareas than text input since they have different keymaps
1158 (bug#16142).
1159
89c868ad
FEG
11602013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1161
7514d3f8
SM
1162 * progmodes/python.el (python-nav-beginning-of-statement):
1163 Speed up (Bug#15295).
89c868ad 1164
eeef121a
LI
11652013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1166
1167 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1168 the window configuration.
1169
121ea65f
EZ
11702013-12-24 Eli Zaretskii <eliz@gnu.org>
1171
1172 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1173 we run on MS-Windows or MS-DOS.
1174
18cee9ec
MR
11752013-12-24 Martin Rudalics <rudalics@gmx.at>
1176
1177 * window.el (balance-windows-area): Call window-size instead of
1178 window-height and window-width. Bug#16241.
1179
58f2b9a5
LI
11802013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1181
1182 * net/eww.el (eww-bookmark-quit): Remove.
1183 (eww-bookmark-browse): Restore the window configuration when you
1184 choose a bookmark (bug#16144).
1185
d64b6308
DC
11862013-12-24 Daniel Colascione <dancol@dancol.org>
1187
1188 * icomplete.el: Remove redundant :group arguments to `defcustom'
1189 throughout.
1190 (icomplete-show-matches-on-no-input): New customizable variable.
1191 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1192 we have something to show.
7514d3f8 1193 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 1194
0da54898
DC
11952013-12-23 Daniel Colascione <dancol@dancol.org>
1196
1197 * icomplete.el: Move `provide' to end of file.
1198
b90aa4f4
TZ
11992013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1200
1201 * net/gnutls.el (gnutls-verify-error): Add version tag.
1202
8cd22a08
CY
12032013-12-23 Chong Yidong <cyd@gnu.org>
1204
1205 * subr.el (set-transient-map): Rename from
1206 set-temporary-overlay-map. Doc fix.
1207
1208 * face-remap.el (text-scale-adjust):
1209 * indent.el (indent-rigidly):
1210 * kmacro.el (kmacro-call-macro):
1211 * minibuffer.el (minibuffer-force-complete):
1212 * repeat.el (repeat):
1213 * simple.el (universal-argument--mode):
1214 * calendar/todo-mode.el (todo-insert-item--next-param):
1215 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1216
7510b021
CY
1217 * indent.el (indent-rigidly): Use substitute-command-keys.
1218
72140a0f 12192013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
1220
1221 * net/eww.el (eww-tag-select): Add text-property to jump to next
1222 select field.
e9dc713d 1223 (eww): Add non-supported ftp error.
56890ecd 1224
1f87a56c
DG
12252013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1226
1227 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1228 comments. Handle electric indent after typing `?' and `!'.
1229
dca38cf9
CY
12302013-12-22 Chong Yidong <cyd@gnu.org>
1231
1232 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
1233 applicable to a frame, fall back on the defface spec.
1234 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 1235
f2351498
DG
12362013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1237
1238 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1239 after `{'. We need it after block openers, and it doesn't seem
1240 to hurt after hash openers.
1241
6cddebc1
DG
12422013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1243
1244 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1245 extracted from `ruby-smie-rules'.
1246 (ruby--electric-indent-chars): New variable.
1247 (ruby--electric-indent-p): New function.
1248 (ruby-mode): Use `electric-indent-functions' instead of
1249 `electric-indent-chars'.
1250
65a1da00
DG
12512013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1252
1253 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1254 docstring.
1255 (ruby-smie-rules): Indent plus one level after `=>'.
1256
b51ad4cf
RS
12572013-12-21 Richard Stallman <rms@gnu.org>
1258
1259 * simple.el (newline): Doc fix.
1260
72140a0f 12612013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 1262
e9dc713d 1263 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
1264 (eww-history-browse, eww-history-quit, eww-history-kill)
1265 (eww-history-mode-map, eww-history-mode): New command and
1266 functions to list browser histories.
e9dc713d
JB
1267 (eww-form-text): Support text form with disabled
1268 and readonly attributes.
1269 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 1270
5e1901c1
RS
12712013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1272
1273 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1274 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1275 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1276 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1277 Use `user-error'.
1278 (eww-bookmark-mode-map): Add menu.
1279 (eww-render, eww-mode): Use `setq-local'.
1280 (eww-tool-bar-map): New variable.
1281 (eww-mode): Set `tool-bar-map'.
1282 (eww-view-source): Check for `html-mode' with `fboundp'.
1283
073d5cfd
LMI
12842013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1285
1286 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1287 elements with text inside. Also remove debugging.
1288
41cf3d11
JD
12892013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1290
1291 * cus-start.el (all): Add ns-use-srgb-colorspace.
1292
aac2b673
CY
12932013-12-21 Chong Yidong <cyd@gnu.org>
1294
1295 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1296 undefined. Thus, theme settings for undefined faces do not take
1297 effect until the faces are defined with defface, the same as with
1298 theme variables.
1299
1300 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1301 (face-spec-reset-face): Don't assign extra properties in temacs.
1302 (face-spec-recalc): Apply X resources too.
1303
bacb0e77
CY
13042013-12-21 Chong Yidong <cyd@gnu.org>
1305
1306 * faces.el (face-spec-set):
1307 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1308 * custom.el (defface): Doc fixes (Bug#16203).
1309
77221051
CY
1310 * indent.el (indent-rigidly-map): Add docstring, and move commands
1311 into named functions.
1312 (indent-rigidly-left, indent-rigidly-right)
1313 (indent-rigidly-left-to-tab-stop)
1314 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1315 indentation direction based on bidi direction, and accumulate
1316 sequential commands in a single undo boundary.
1317 (indent-rigidly--pop-undo): New utility function.
1318
e0eb0550
JB
13192013-12-20 Juanma Barranquero <lekktu@gmail.com>
1320
1321 * faces.el (read-face-name): Require crm.el when using crm-separator.
1322
3282bd2e
DC
13232013-12-20 Daniel Colascione <dancol@dancol.org>
1324
1325 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1326 so that we don't reflow comments into the shebang line.
1327
1d42e5b6
JL
13282013-12-20 Juri Linkov <juri@jurta.org>
1329
1330 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1331 a position when `dired-directory' is non-nil. Check integer
1332 positions with `integerp'.
1333 (toggle-save-place, save-places-to-alist): Add check for
1334 `dired-directory'.
1335 (save-place-find-file-hook): Check integer positions with
1336 `integerp'.
1337 (save-place-dired-hook): Use `dired-goto-file' when
1338 `dired-filename' is found in the assoc list. Check integer
1339 positions with `integerp'.
1340 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1341
1342 * dired.el (dired-initial-position-hook): Rename back from
1343 `dired-initial-point-hook'.
1344 (dired-initial-position): Rename `dired-initial-point-hook' to
1345 `dired-initial-position-hook'.
1346 (dired-file-name-at-point): Doc fix. (Bug#15329)
1347
24da7273
JL
13482013-12-20 Juri Linkov <juri@jurta.org>
1349
1350 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1351 (read-regexp-suggestions): New function.
1352 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1353 Use `read-regexp-suggestions'. Add non-empty default to history
1354 for empty input.
1355 (occur-read-regexp-defaults-function): Remove function.
1356 (occur-read-primary-args): Use `regexp-history-last' instead of
1357 `occur-read-regexp-defaults-function'.
1358
1359 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1360 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1361 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1362 `hi-lock-read-regexp-defaults-function'. Doc fix.
1363 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1364 with `find-tag-default-as-symbol-regexp'. Doc fix.
1365 (hi-lock-read-regexp-defaults): Remove function.
1366 (hi-lock-regexp-okay): Add check for null.
1367
1368 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1369 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1370
1371 * subr.el (find-tag-default-as-symbol-regexp): New function.
1372 (find-tag-default-as-regexp): Move symbol regexp formatting to
1373 `find-tag-default-as-symbol-regexp'.
1374
137f57c8
S
13752013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1376
1377 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1378 (Bug#14179)
1379
f3a66082
SB
13802013-12-20 Stephen Berman <stephen.berman@gmx.net>
1381
1382 * calendar/todo-mode.el: New implementation of item insertion
1383 commands and key bindings.
1384 (todo-key-prompt): New face.
1385 (todo-insert-item): New command.
1386 (todo-insert-item--parameters): New defconst, replacing defvar
1387 todo-insertion-commands-args-genlist.
1388 (todo-insert-item--param-key-alist): New defconst, replacing
1389 defvar todo-insertion-commands-arg-key-list.
1390 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1391 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1392 (todo-insert-item--next-param): New functions.
1393 (todo-insert-item--args, todo-insert-item--argleft)
1394 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1395 New variables.
1396 (todo-key-bindings-t): Change binding of "i" from
1397 todo-insertion-map to todo-insert-item.
1398 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1399 (todo-insertion-command-name, todo-insertion-commands-names)
1400 (todo-define-insertion-command, todo-insertion-commands)
1401 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1402
2f99433b
SB
14032013-12-20 Stephen Berman <stephen.berman@gmx.net>
1404
1405 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1406 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1407 eval-when-compile.
1408 (todo-move-category): Allow choosing a non-existing todo file to
1409 move the category to, and create that file.
1410 (todo-default-priority): New user option.
1411 (todo-set-item-priority): Use it.
1412 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1413 (desktop-restore-file-buffer): Declare.
1414 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1415 (todo-modes-set-2): Locally set desktop-save-buffer to
1416 todo-desktop-save-buffer.
1417 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1418 (auto-mode-alist): Add autoload cookie.
1419
131e4695
BB
14202013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1421
1422 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1423 helpers.el was a poor choice of name.
3cbfb935
BB
1424 (string-remove-prefix): New function.
1425 (string-remove-suffix): New function.
131e4695 1426
c44de18d
MR
14272013-12-20 Martin Rudalics <rudalics@gmx.at>
1428
1429 Fix assignment for new window total sizes.
1430 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
1431 (window--pixel-to-total-1, window--pixel-to-total):
1432 Fix calculation of new total sizes.
c44de18d 1433
ca65efcc
VS
14342013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1435
1436 * comint.el (comint-output-filter): Fix rear-nonsticky property
1437 placement (Bug#16010).
1438
a9574eb7
CY
14392013-12-20 Chong Yidong <cyd@gnu.org>
1440
1441 * faces.el (read-color): Minor fix for completion function.
1442
b520f210
DG
14432013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1444
e0eb0550
JB
1445 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1446 New option. (Bug#16182)
b520f210
DG
1447 (ruby-smie--indent-to-stmt-p): Use it.
1448 (ruby-smie-rules): Revert the logic in the handling of `when'.
1449 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1450 (ruby-deep-arglist, ruby-deep-indent-paren)
1451 (ruby-deep-indent-paren-style): Update docstrings to note that the
1452 vars don't have any effect with SMIE.
1453
26b75b45
JB
14542013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1455
1456 * calc/calc.el (calc-enter, calc-pop): Use the variable
1457 `calc-context-sensitive-enter'.
1458
cf91cee7
LMI
14592013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1460
1461 * net/shr.el (shr-insert): Protect against infloops in degenerate
1462 tables.
1463
51d971b4
RS
14642013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1465
1466 * progmodes/octave.el (octave): Add link to manual and octave
1467 homepage.
1468 (octave-mode-menu): Link to octave-mode manual.
1469
8c2e462a
LL
14702013-12-20 Leo Liu <sdl.web@gmail.com>
1471
1472 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1473 insertion using skeleton-end-newline. (Bug#16138)
1474
501158bc
JL
14752013-12-20 Juri Linkov <juri@jurta.org>
1476
1477 * replace.el (occur-engine): Use `add-face-text-property'
1478 to add the face property to matches and titles. (Bug#14645)
1479
1480 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1481 the palette of other hi-lock colors.
1482 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1483
50ab1da6
JL
14842013-12-19 Juri Linkov <juri@jurta.org>
1485
1486 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1487 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1488 (minibuffer-history-symbol): Move variable declaration closer to
1489 its usage.
1490
1491 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1492 (Bug#14785)
1493
3d6e95e7
JL
14942013-12-19 Juri Linkov <juri@jurta.org>
1495
1496 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1497 New function.
1498 (log-edit-hook): Add it to :options. (Bug#16170)
1499
b41594fd
JL
15002013-12-19 Juri Linkov <juri@jurta.org>
1501
1502 * simple.el (eval-expression-print-format): Don't check for
1503 command names and the last command. Always display additional
1504 formats of the integer result in the echo area, and insert them
1505 to the current buffer only with a zero prefix arg.
1506 Display character when char-displayable-p is non-nil.
1507 (eval-expression): With a zero prefix arg, set `print-length' and
1508 `print-level' to nil, and insert the integer values from
1509 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1510
1511 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1512 `eval-last-sexp-arg-internal'. Doc fix.
1513 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1514 `eval-last-sexp-print-value'. Doc fix.
1515 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1516 Set `print-length' and `print-level' to nil when arg is zero.
1517 (eval-last-sexp): Doc fix.
1518 (eval-defun-2): Print the integer values from
1519 `eval-expression-print-format' at the end.
1520
1521 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1522 values from `eval-expression-print-format' at the end.
1523
1524 * ielm.el (ielm-eval-input): Print the integer
1525 values from `eval-expression-print-format' at the end.
1526
8f2be364
TZ
15272013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1528
1529 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1530 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1531
2230a6e3
SM
15322013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1533
1534 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1535 (hl-line-highlight, global-hl-line-highlight): Use it.
1536 (hl-line-overlay): Use defvar-local.
1537
1269a680
JD
15382013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1539
1540 * term/ns-win.el: Require dnd.
1541 (global-map): Remove drag items.
1542 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
1543 (ns-set-background-at-mouse):
1544 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1545 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1546 New functions.
1269a680 1547
049638ad
GM
15482013-12-19 Glenn Morris <rgm@gnu.org>
1549
1550 * emacs-lisp/ert.el (ert-select-tests):
1551 Fix string/symbol mixup. (Bug#16121)
1552
ce41edb4
DG
15532013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1554
1555 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1556 keywords to their parent.
1557
7e1549c9
DG
15582013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1559
1560 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1561 first arg to be a string (fixed dead code), or an operator symbol.
1562 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1563 operator symbols.
1564 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1565 did nothing. Don't respond to `(:after ".")', it will be called
1566 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1567 change anything. Only return indentation for binary operators
1568 when they are hanging. De-dent opening paren when its parent is
1569 `.', otherwise it looks bad when the dot is not at bol or eol
1570 (bug#16182).
1571
3ee4cd64
JL
15722013-12-19 Juri Linkov <juri@jurta.org>
1573
1574 * replace.el (query-replace-read-args): Split a non-negative arg
1575 and a negative arg into separate elements.
1576 (query-replace, query-replace-regexp, replace-string)
1577 (replace-regexp): Add arg `backward'. Doc fix.
1578 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1579 move point to the beginning of the match.
1580 (replace-search, replace-highlight): Use new arg `backward'
1581 to set the value of `isearch-forward'.
1582 (perform-replace): Add arg `backward' and use it to perform
1583 replacement backward. (Bug#14979)
1584
1585 * isearch.el (isearch-query-replace): Use a negative prefix arg
1586 to call `perform-replace' with a non-nil arg `backward'.
1587
0cda6b7b
JL
15882013-12-18 Juri Linkov <juri@jurta.org>
1589
1590 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1591 to the default list. Move `log-edit-show-files' to the end.
1592 Add more available functions to options.
1593 (log-edit): Move default specific settings to
1594 `log-edit-insert-message-template'. Don't move point.
1595 (log-edit-insert-message-template): New function.
1596 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1597 (Bug#16170)
1598
b216f0a6
JL
15992013-12-18 Juri Linkov <juri@jurta.org>
1600
1601 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1602 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1603
1d1c55dc
LL
16042013-12-18 Leo Liu <sdl.web@gmail.com>
1605
e9dc713d
JB
1606 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1607 (Bug#16186)
1d1c55dc 1608
64e4c76e
EZ
16092013-12-18 Eli Zaretskii <eliz@gnu.org>
1610
1611 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1612 formats for displaying file sizes when the -s switch is given.
1613 Instead, compute a separate format for displaying the size in
1614 blocks, which is displayed in addition to the "regular" size.
1615 When -h is given in addition to -s, produce size in blocks in
1616 human-readable form as well. (Bug#16179)
1617
b2984e39
TH
16182013-12-18 Tassilo Horn <tsdh@gnu.org>
1619
2230a6e3
SM
1620 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1621 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 1622
50ff2e06
CY
16232013-12-18 Chong Yidong <cyd@gnu.org>
1624
0081bc84
CY
1625 * cus-edit.el (custom-magic-alist): Fix "themed" description
1626 (Bug#14348).
1627
a7ee9424
CY
1628 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1629 is non-nil, do not create a new entry in the symbol's theme-value
1630 or theme-face property; update theme-settings only (Bug#14664).
18874304 1631 (custom-available-themes): Doc fix.
a7ee9424 1632
8f942537
CY
1633 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1634 (Bug#15674).
1635
50ff2e06
CY
1636 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1637
83c60f60
KI
16382013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1639
1640 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1641 (Bug#13914).
1642
e0eb0550 16432013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
1644
1645 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1646
1f41ee56
GM
16472013-12-18 Glenn Morris <rgm@gnu.org>
1648
1649 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 1650 * cus-start.el (load-prefer-newer): New option.
1f41ee56 1651
e82134b1
LW
16522013-12-18 Le Wang <l26wang@gmail.com>
1653
2230a6e3
SM
1654 * comint.el (comint-previous-matching-input-from-input):
1655 Retain point (Bug#13404).
e82134b1 1656
33f5d4c1
CY
16572013-12-18 Chong Yidong <cyd@gnu.org>
1658
1659 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1660
ccc9f6dc
GM
16612013-12-18 Glenn Morris <rgm@gnu.org>
1662
1663 * mail/emacsbug.el (report-emacs-bug):
1664 Only mention enable-multibyte-characters if non-standard.
1665
33dd8e95
JL
16662013-12-17 Juri Linkov <juri@jurta.org>
1667
1668 * arc-mode.el (archive-extract-by-file): Check if directory exists
1669 before deletion to not show irrelevant errors if it doesn't exist.
1670
7a409b30
JL
16712013-12-17 Juri Linkov <juri@jurta.org>
1672
1673 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1674 (Bug#14751)
1675
1676 * net/eww.el (browse-web): Add alias to `eww'.
1677 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1678 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1679
1680 * net/browse-url.el (browse-url-browser-function): Move `eww'
1681 closer to similar functions.
1682
1683 * startup.el (fancy-startup-screen, fancy-about-screen):
1684 Set browse-url-browser-function to eww-browse-url locally.
1685 (Bug#14751)
1686
2d6b6005
SM
16872013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1688
1689 * window.el (window--pixel-to-total): Remove unused `mini' var.
1690 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1691 (split-window): Remove unused `new' var.
1692 (window--display-buffer): Remove unused `frame' and `delta' vars.
1693 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1694 and display-width'.
1695
cf2b7efc
MR
16962013-12-17 Martin Rudalics <rudalics@gmx.at>
1697
1698 * dired.el (dired-mark-pop-up):
1699 * register.el (register-preview): Don't bind
1700 split-height-threshold here since it's now done in
1701 display-buffer-below-selected.
1702
ed3af8a7 17032013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1704
1705 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1706 xterm-rgb-convert-to-16bit.
1707 (rxvt-register-default-colors): Standardize with
1708 xterm-register-default-colors (Bug#14078).
1709
76da3455
DK
17102013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1711
1712 * simple.el (kill-region): Pass mark first, then point, so that
1713 kill-append works right (Bug#12819).
1714 (copy-region-as-kill, kill-ring-save): Likewise.
1715
2b84d763
LL
17162013-12-17 Leo Liu <sdl.web@gmail.com>
1717
1718 * net/rcirc.el (rcirc-add-face):
1719 * eshell/em-prompt.el (eshell-emit-prompt):
1720 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1721 (Bug#16167)
1722
e2f6a0bc
CY
17232013-12-17 Chong Yidong <cyd@gnu.org>
1724
1725 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1726 Suggested by Xue Fuqiao.
1727
35b249a6
DG
17282013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1729
1730 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1731
e9145444
SM
17322013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1733
1734 * net/shr.el (shr-insert-document): Remove unused var
1735 `shr-preliminary-table-render'.
1736 (shr-rescale-image): Remove unused arg `force'.
1737 (shr-put-image): Update calls accordingly.
1738 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1739
5556c0ce
DG
17402013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1741
1742 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1743 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1744 :close-all, to see which indentation method to use (Bug#16116).
1745 (smie-rules-function): Document the method :close-all.
1746
11bade0a
LMI
17472013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1748
1c4b1e61
LMI
1749 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1750
11bade0a
LMI
1751 * net/eww.el (eww-display-html): If we can't find the anchor we're
1752 looking for, then go to point-min.
1753
8fb8c4f3
PE
17542013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1755
1756 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1757 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1758 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1759 Expand dir too, in case it's relative.
1760
6c8e0ae6
JL
17612013-12-16 Juri Linkov <juri@jurta.org>
1762
1763 * desktop.el (desktop-auto-save-timeout): Change default to
1764 `auto-save-timeout'. Doc fix.
1765 (desktop-save): Skip the timestamp in desktop-saved-frameset
1766 when checking for auto-save changes.
1767 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1768 `desktop-auto-save' is called repeatedly by the idle timer.
1769 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1770 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1771 (Bug#15331)
1772
2178e858
JL
17732013-12-16 Juri Linkov <juri@jurta.org>
1774
1775 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1776 (Bug#16035)
1777 (isearch-pre-command-hook): Check `this-command' for symbolp.
1778
39cb42c6
SM
17792013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1780
1781 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1782
5b9b750a
TZ
17832013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1784
1785 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1786 (cfengine3--current-function): Bring in the current-function
1787 functionality from `cfengine3--current-word'.
1788 (cfengine3-completion-function): Bring in the
1789 bounds-of-current-word functionality from
1790 `cfengine3--current-word'.
1791
d144ef06
MR
17922013-12-16 Martin Rudalics <rudalics@gmx.at>
1793
39cb42c6
SM
1794 * window.el (display-buffer-below-selected):
1795 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 1796
a8bbe298
LL
17972013-12-16 Leo Liu <sdl.web@gmail.com>
1798
1799 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1800 Remove NOMSG arg and all uses changed.
1801
2013a2f9
SM
18022013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1803
1804 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1805 (cua--deactivate-rectangle): Don't deactivate the mark.
1806 (cua-set-rectangle-mark): Don't set mark-active since
1807 cua--activate-rectangle already does it for us.
1808 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1809 non-rectangular region.
1810
1811 * emulation/cua-base.el (cua-repeat-replace-region):
1812 Use with-current-buffer.
1813
1814 * net/gnutls.el: Use cl-lib.
1815 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1816
5ae811dd
TZ
18172013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1818
1819 * emacs-lisp/package.el (package-built-in-p): Support both
1820 built-in and the package.el converted package descriptions.
1821 (package-show-package-list): Allow keywords.
1822 (package-keyword-button-action): Use it instead of
1823 `finder-list-matches'.
1824 (package-menu-filter-interactive): Interactive filtering (by
1825 keyword) function.
1826 (package-menu--generate): Support keywords and change keymappings
1827 and headers when they are given.
1828 (package--has-keyword-p): Helper function.
1829 (package-menu--refresh): Use it.
1830 (package--mapc): Helper function.
1831 (package-all-keywords): Use it.
1832 (package-menu-mode-map): Set up menu items and keybindings to
1833 provide a filtering UI.
1834
31b4827e
TZ
18352013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1836
1837 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1838 the behavior when a certificate fails validation. Defaults to
1839 old behavior: never abort, just warn.
1840 (gnutls-negotiate): Use it.
1841
f93cc74f
MR
18422013-12-14 Martin Rudalics <rudalics@gmx.at>
1843
1844 * window.el (display-buffer-below-selected): Never split window
1845 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1846
f77d7d17
TW
18472013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1848
1849 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1850 (package-buffer-info): Use it (bug#15108).
aa2bddd7 1851
7514d3f8
SM
18522013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1853
aa2bddd7 1854 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 1855 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 1856
276bc333
DG
18572013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1858
1859 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1860 open-paren tokens when preceded by a open-paren, too.
1861 (ruby-smie-rules): Handle virtual indentation after open-paren
1862 tokens specially. If there is code between it and eol, return the
1863 column where is starts (Bug#16118).
1864
d43957f3
TZ
18652013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1866
a5c1ac0c 1867 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 1868 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
1869 (cfengine3--current-word): Fix parameters.
1870 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
1871 (cfengine3-completion-function, cfengine3--current-function):
1872 Use `assq' for symbols.
d43957f3
TZ
1873 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1874
06a4f110
GM
18752013-12-13 Glenn Morris <rgm@gnu.org>
1876
1877 * loadup.el (load-path): Warn if site-load or site-init changes it.
1878 No more need to reset it when bootstrapping.
1879
978a5fda
TZ
18802013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1881
1882 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1883 locations for cf-promises.
1884 (cfengine-mode-syntax-functions-regex): New caching variable.
1885 (cfengine3-fallback-syntax): Fallback syntax for cases where
1886 cf-promises doesn't run.
1887 (cfengine3--current-word): Reimplement using
1888 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
1889 (cfengine3-completion-function, cfengine3--current-function):
1890 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
1891 (cfengine3-clear-syntax-cache): New function.
1892 (cfengine3-make-syntax-cache): Simplify and create
1893 `cfengine-mode-syntax-functions-regex' on demand.
1894 (cfengine3-format-function-docstring): Don't call
1895 `cfengine3-make-syntax-cache' explicitly.
1896
71e6691e
MR
18972013-12-13 Martin Rudalics <rudalics@gmx.at>
1898
1899 Fix windmove-find-other-window broken after pixelwise resizing
1900 (Bug#16017).
1901 * windmove.el (windmove-other-window-loc): Revert change from
1902 2013-12-04.
1903 (windmove-find-other-window): Call window-in-direction.
1904 * window.el (window-in-direction): New arguments SIGN, WRAP and
1905 MINI to emulate original windmove-find-other-window behavior.
1906
84c73ba0
DG
19072013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1908
1909 * simple.el (blink-matching--overlay): New variable.
1910 (blink-matching-open): Instead of moving point, highlight the
1911 matching paren with an overlay
1912 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1913
1914 * faces.el (paren-showing-faces, show-paren-match)
1915 (show-paren-mismatch): Move from paren.el.
1916
b9e20952
LL
19172013-12-13 Leo Liu <sdl.web@gmail.com>
1918
1919 * indent.el (indent-region): Disable progress reporter in
1920 minibuffer. (Bug#16108)
1921
1922 * bindings.el (visual-order-cursor-movement): Fix version.
1923
ce030451
FEG
19242013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1925
1926 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1927 Also match after beginning of line.
1928 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 1929 files. Thanks to Russell Sim. (Bug#15378)
ce030451 1930
4a9c6865
JL
19312013-12-13 Juri Linkov <juri@jurta.org>
1932
1933 * simple.el <Keypad support>: Remove key bindings duplicated
1934 with bindings.el. (Bug#14397)
1935
2bc170c3
JL
19362013-12-13 Juri Linkov <juri@jurta.org>
1937
1938 * comint.el (comint-mode-map): Replace `delete-char' with
1939 `delete-forward-char'. (Bug#16109)
1940
bc9222c9
FEG
19412013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1942
aa2bddd7 1943 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 1944 Fix de-denters cornercase. (Bug#15731)
bc9222c9 1945
cb3a1380
SM
19462013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1947
1948 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1949 (advice--make): Pay attention to `depth'.
1950 (advice--make-1): Don't autoload commands eagerly.
1951 * emacs-lisp/elp.el (elp-instrument-function):
1952 * emacs-lisp/trace.el (trace-function-internal):
1953 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1954
1955 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1956
01633a17
EZ
19572013-12-12 Eli Zaretskii <eliz@gnu.org>
1958
1959 * term/w32-win.el (w32-handle-dropped-file):
1960 * startup.el (normal-top-level):
1961 * net/browse-url.el (browse-url-file-url):
1962 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1963 decode file names using 'utf-8' rather than
1964 file-name-coding-system.
1965
09faee72
FEG
19662013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1967
1968 * progmodes/python.el (python-indent-context)
1969 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 1970 behavior for comment blocks. (Bug#15916)
09faee72 1971
f4f84024 19722013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 1973
cb3a1380
SM
1974 * progmodes/python.el (python-indent-calculate-indentation):
1975 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
1976 operators when they are just string constituents. (Bug#15812)
1977
d5ccb7be
JL
19782013-12-12 Juri Linkov <juri@jurta.org>
1979
1980 * uniquify.el (uniquify-buffer-name-style): Change default to
1981 `post-forward-angle-brackets'.
1982
1983 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1984 `uniquify'. Change default to `post-forward-angle-brackets'.
1985
7b3f5679
GM
19862013-12-11 Glenn Morris <rgm@gnu.org>
1987
1988 * emacs-lisp/package.el (finder-list-matches):
1989 Autoload rather than falsely declaring.
1990
f4fe8fdd
TZ
19912013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1992
1993 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1994 (eww-mode-map): Use them.
1995
3c29190f
MR
19962013-12-11 Martin Rudalics <rudalics@gmx.at>
1997
1998 * window.el (display-buffer-in-side-window): Fix doc-string
1999 (Bug#16115).
2000
0cd616a2
JB
20012013-12-11 Juanma Barranquero <lekktu@gmail.com>
2002
2003 * vc/vc-git.el: Silence byte-compiler warnings.
2004 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2005 (log-edit-set-header): Declare.
2006
3ef8e0d1
EZ
20072013-12-11 Eli Zaretskii <eliz@gnu.org>
2008
2009 * Makefile.in (custom-deps, finder-data): Run output file names
2010 through unmsys--file-name. (Bug#16099)
2011
afdadaf7
SM
20122013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2013
7ae3ae39 2014 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 2015 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 2016
5b4f37ab
SM
2017 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2018 instead of deleting the selection "by hand" (bug#16098).
2019 Rely on insert-for-yank to yank rectangles.
2020 (cua-highlight-region-shift-only): Mark obsolete.
2021 (cua-mode): Don't enable/disable transient-mark-mode,
2022 shift-select-mode (cua-mode works both with and without them), and
2023 pc-selection-mode (obsolete).
2024 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2025 (cua--deactivate-rectangle): Deactivate it.
2026
4b72c12b
SM
2027 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2028 (delete-selection-helper): Make sure yank starts at the top of the
2029 deleted region.
2030 (minibuffer-keyboard-quit): Use region-active-p.
2031
e82af72d
SM
2032 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2033
afdadaf7
SM
2034 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2035 to `delete' (bug#16109).
2036
ed4bc201
RS
20372013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2038
2039 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2040 info manual and show keybindings and set `:group' keyword.
2041
bb8097b9
JL
20422013-12-11 Juri Linkov <juri@jurta.org>
2043
2044 * delsel.el (delete-active-region): Let-bind `this-command'
2045 to prevent `kill-region' from changing its original value.
2046 (delete-selection-helper): Handle `overwrite-mode' for the type
2047 `kill' exactly the same way as for the type `t'.
2048 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2049 Support more commands. (Bug#13312)
2050
c1916ff5
JL
20512013-12-11 Juri Linkov <juri@jurta.org>
2052
2053 * bindings.el: Map kp keys to non-kp keys systematically
2054 with basic modifiers control, meta and shift. (Bug#14397)
2055
7514d3f8 20562013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
2057
2058 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2059 "Close browser" menu items. Fix wrong function of "List
2060 bookmarks".
2061
4cc51eaf
JL
20622013-12-11 Juri Linkov <juri@jurta.org>
2063
2064 * misearch.el (multi-isearch-buffers): Set the value of
2065 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2066 arg of isearch-forward to t.
2067 (multi-isearch-buffers-regexp): Set the value of
2068 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2069 arg of isearch-forward-regexp to t.
2070 (multi-isearch-files): Set the value of
2071 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2072 arg of isearch-forward to t.
2073 (multi-isearch-files-regexp): Set the value of
2074 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2075 arg of isearch-forward-regexp to t. (Bug#16035)
2076
2077 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2078 arg of isearch-forward to t.
2079 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2080 arg of isearch-forward-regexp to t.
2081 (dired-isearch-filter-filenames): Remove unnecessary check for
2082 `dired-isearch-filenames'.
2083
2084 * comint.el (comint-history-isearch-backward):
2085 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2086 (comint-history-isearch-backward-regexp):
2087 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2088
ceac12b7
EZ
20892013-12-10 Eli Zaretskii <eliz@gnu.org>
2090
2091 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2092 unmsys--file-name. (Bug#16099)
2093
5a565782
TZ
20942013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2095
cb3a1380
SM
2096 * emacs-lisp/package.el (package-keyword-button-action):
2097 Remove finder.el require dependency.
5a565782 2098
a81fc7ba
TZ
20992013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2100
2101 * emacs-lisp/package.el: Require finder.el.
2102 (describe-package-1): Add keyword buttons.
2103 (package-make-button): New convenience function.
2104 (package-keyword-button-action): Keyword button action using
e0eb0550 2105 `finder-list-matches'.
a81fc7ba 2106
6aaca951
EZ
21072013-12-09 Eli Zaretskii <eliz@gnu.org>
2108
2109 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2110 last commit.
2111
a1099a91
MA
21122013-12-09 Michael Albinus <michael.albinus@gmx.de>
2113
2114 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2115 symlinked files.
2116
8212d9c0
DG
21172013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2118
2119 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2120 after the end of a percent literal.
2121
8f48d131
CD
21222013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2123
cb3a1380
SM
2124 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2125 Handle caret-delimited strings (Bug#16079).
8f48d131 2126
ff8c9764
DG
21272013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2128
cb3a1380
SM
2129 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2130 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
2131 `ruby-parse-partial' (Bug#16078).
2132
d64643b4
LL
21332013-12-09 Leo Liu <sdl.web@gmail.com>
2134
2135 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2136
47e59c66
DG
21372013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2138
2139 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2140 (js-switch-indent-offset): New option.
2141 (js--proper-indentation): Use it. And handle the case when
2142 "default" is actually a key in an object literal.
2143 (js--same-line): New function.
2144 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
2145 (js--indent-in-array-comp, js--array-comp-indentation):
2146 New functions.
47e59c66
DG
2147 (js--proper-indentation): Use them, to handle array comprehension
2148 continuations.
2149
974ebc9c
LL
21502013-12-08 Leo Liu <sdl.web@gmail.com>
2151
2152 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2153 (flymake-make-overlay): Remove arg MOUSE-FACE.
2154 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2155
27262e39
SM
21562013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2157
2158 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2159 New function.
2160 (redisplay-highlight-region-function): Use it.
2161
2162 * emulation/cua-base.el (cua--explicit-region-start)
2163 (cua--last-region-shifted): Remove.
2164 (cua--deactivate): Use deactivate-mark.
2165 (cua--pre-command-handler-1): Don't handle shift-selection.
2166 (cua--post-command-handler-1): Don't change transient-mark-mode.
2167 (cua--select-keymaps): Use region-active-p rather than
2168 cua--explicit-region-start or cua--last-region-shifted.
2169 (cua-mode): Enable shift-select-mode.
2170
6407822c
LL
21712013-12-08 Leo Liu <sdl.web@gmail.com>
2172
27262e39
SM
2173 * progmodes/flymake.el (flymake-popup-current-error-menu):
2174 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
2175 (flymake-posn-at-point-as-event, flymake-popup-menu)
2176 (flymake-make-emacs-menu): Remove. (Bug#16077)
2177
00a2b823
SM
21782013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2179
02033d49
SM
2180 * rect.el (rectangle-mark-mode): Activate mark even if
2181 transient-mark-mode is off (bug#16066).
2182 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2183 is > mark and at bolp.
2184
6f8dfccf
SM
2185 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2186 (region-extract-function): Use it.
2187 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2188 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2189 Delete functions.
2190 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2191 kill-ring-save, kill-region, delete-char, delete-forward-char.
2192 Ignore self-insert-iso.
2193
2194 * emulation/cua-gmrk.el (cua--init-global-mark):
2195 Ignore `self-insert-iso'.
2196
2197 * emulation/cua-base.el (cua--prefix-copy-handler)
2198 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2199 checking cua--rectangle.
2200 (cua-delete-region): Use region-extract-function.
2201 (cua-replace-region): Delete function.
2202 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2203 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2204 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2205 (cua--init-keymaps): Don't remap delete-selection commands.
2206 (cua-mode): Use delete-selection-mode instead of rolling our own
2207 (bug#16085).
2208
2209 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2210 Obey region-extract-function.
2211
00a2b823
SM
2212 Make registers and delete-selection-mode work on rectangles.
2213 * register.el (describe-register-1): Don't modify the register's value.
2214 (copy-to-register): Obey region-extract-function.
2215 * delsel.el (delete-active-region): Obey region-extract-function.
2216
a92fa5f1
LL
22172013-12-08 Leo Liu <sdl.web@gmail.com>
2218
2219 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2220 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2221 (flymake-compilation-prevents-syntax-check)
2222 (flymake-start-syntax-check-on-newline)
2223 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2224 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2225 (flymake-xml-program, flymake-master-file-dirs)
2226 (flymake-master-file-count-limit)
2227 (flymake-allowed-file-name-masks): Relocate.
2228 (flymake-makehash, flymake-float-time)
2229 (flymake-replace-regexp-in-string, flymake-split-string)
2230 (flymake-get-temp-dir): Remove.
2231 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2232 (flymake-current-row, flymake-selected-frame)
2233 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2234 related functions. (Bug#16077)
2235
73c8ceea
BB
22362013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2237
2238 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2239
faec28d9
TH
22402013-12-07 Tassilo Horn <tsdh@gnu.org>
2241
2242 * help-fns.el (describe-function-1): Use new advice-* functions
2243 rather than old ad-* functions. Fix function type description and
2244 source links for advised functions and subrs.
2245
e330b646
LMI
22462013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2247
00a2b823 2248 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 2249
4803595d
MA
22502013-12-06 Michael Albinus <michael.albinus@gmx.de>
2251
2252 * progmodes/compile.el (compilation-start):
2253 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2254
2255 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2256 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2257
fa834a93
DG
22582013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2259
00a2b823
SM
2260 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2261 Touch up the last change.
fa834a93 2262
b2856a6f
LL
22632013-12-06 Leo Liu <sdl.web@gmail.com>
2264
2265 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2266 (inferior-octave-startup): Always use "octave> " for prompt.
2267 (octave-goto-function-definition)
2268 (octave-sync-function-file-names)
2269 (octave-find-definition-default-filename): Remove redundant backquotes.
2270
af67e79a
DG
22712013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2272
2273 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2274 syntax for `?'.
2275 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2276 where appropriate already.
2277 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2278 end of method names (Bug#15874).
2279
bf093209
JL
22802013-12-06 Juri Linkov <juri@jurta.org>
2281
2282 * isearch.el (isearch--saved-overriding-local-map):
2283 New internal variable.
2284 (isearch-mode): Set it to the initial value of
2285 `overriding-terminal-local-map'.
2286 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2287 with `isearch--saved-overriding-local-map'. (Bug#16035)
2288
16588fad
DG
22892013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2290
00a2b823
SM
2291 * progmodes/octave.el (inferior-octave-completion-table):
2292 Turn back into function, use `completion-table-with-cache'
16588fad
DG
2293 (Bug#11906). Update all references.
2294
2295 * minibuffer.el (completion-table-with-cache): New function.
2296
bf4906d7
CD
22972013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2298
2299 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2300
ff69c18f
TZ
23012013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2302
2303 * net/eww.el (eww-current-source): New variable to store page
2304 source.
2305 (eww-display-html, eww-mode, eww-save-history)
2306 (eww-restore-history): Use it.
2307 (eww-view-source): New command to view page source.
2308 Opportunistically uses `html-mode' to highlight the buffer.
2309 (eww-mode-map): Install it.
2310
b85eff45
MA
23112013-12-05 Michael Albinus <michael.albinus@gmx.de>
2312
2313 * net/dbus.el (dbus-unregister-service)
2314 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2315 Fix docstring.
2316 (dbus-unregister-service): Skip :serial entries in
2317 `dbus-registered-objects-table'.
2318 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2319
39eb0899
TZ
23202013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2321
2322 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2323 around keywords with extra `split-string' argument.
2324
456760a5
MR
23252013-12-04 Martin Rudalics <rudalics@gmx.at>
2326
2327 * windmove.el (windmove-other-window-loc): Handle navigation
2328 between windows (excluding the minibuffer window - Bug#16017).
2329
81961e4c
MA
23302013-12-04 Michael Albinus <michael.albinus@gmx.de>
2331
2332 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2333 in D-Bus type syntax.
2334 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2335 preserve unibyte strings. (Bug#16048)
2336
8497f938
SM
23372013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2338
2339 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2340 Call force-mode-line-update is the proper buffer (bug#16042).
2341
dda61916
DG
23422013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2343
2344 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2345 `log-edit-remember-comment', make argument optional. Adjust all
2346 callers.
2347 (log-edit-mode): Add `log-edit-remember-comment' to
2348 `kill-buffer-hook' locally.
2349 (log-edit-kill-buffer): Don't remember comment explicitly since
2350 the buffer is killed anyway.
2351
c085e5b9
JL
23522013-12-04 Juri Linkov <juri@jurta.org>
2353
2354 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2355 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2356
e0eb0550 23572013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
2358
2359 * notifications.el (notifications-close-notification): Call the
81961e4c 2360 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 2361
39fa32d6
KY
23622013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2363
2364 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2365
9139632a
JL
23662013-12-03 Juri Linkov <juri@jurta.org>
2367
2368 * progmodes/compile.el (compilation-start): Rename window alist
2369 entry `no-display-ok' to `allow-no-window'.
2370
2371 * simple.el (shell-command): Add window alist entry
2372 `allow-no-window' to `display-buffer'.
2373 (async-shell-command): Doc fix.
2374
2375 * window.el (display-buffer-no-window): New action function.
2376 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2377
0f457a37
DG
23782013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2379
2380 * vc/log-edit.el (log-edit-set-header): Extract from
2381 `log-edit-toggle-header'.
2382 (log-edit-extract-headers): Separate the summary, when extracted
2383 from header, from the rest of the message with an empty line.
2384
2385 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2386 line, if present, to the Summary header.
2387
0962f376
SM
23882013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2389
2390 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2391 in current-buffer (bug#16029).
2392
f345395c
HE
23932013-12-02 Helmut Eller <eller.helmut@gmail.com>
2394
2395 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2396 (debugger-mode-map): Bind it.
2397 (debugger--backtrace-base): New function.
2398 (debugger-eval-expression): Use it.
2399 (debugger-frame-number): Skip local vars when present.
2400 (debugger--locals-visible-p, debugger--insert-locals)
2401 (debugger--show-locals, debugger--hide-locals): New functions.
2402
a8a15d9d
MA
24032013-12-02 Michael Albinus <michael.albinus@gmx.de>
2404
2405 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2406 "LC_ALL".
2407 (tramp-get-remote-locale): New defun.
2408 (tramp-open-connection-setup-interactive-shell): Use it.
2409
0518b057
LL
24102013-12-02 Leo Liu <sdl.web@gmail.com>
2411
2412 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2413
2414 * progmodes/sh-script.el (sh-shell-process):
2415 * progmodes/octave.el (inferior-octave-process-live-p):
2416 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2417 (gdb-inferior-io-sentinel):
2418 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2419
3adc9c6d
DG
24202013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2421
2422 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2423 `save-selected-window' to `log-edit-hide-buf'. This makes
2424 `log-edit-show-files' idempotent.
2425 (log-edit-show-files): Mark the new window as dedicated.
2426
47e8b74e
DG
24272013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2428
2429 * vc/log-edit.el (log-edit-mode-map): Add binding for
2430 `log-edit-kill-biffer'.
2431 (log-edit-hide-buf): Add a FIXME comment.
2432 (log-edit-add-new-comment): New function, extracted from
2433 `log-edit-done'.
2434 (log-edit-done, log-edit-add-to-changelog): Use it.
2435 (log-edit-kill-buffer): New command.
2436
1f6e1bb0
LMI
24372013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2438
2439 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2440 instead of killing the buffer.
2441
fb651d15
SM
24422013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2443
2444 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2445
8feacce0
RS
24462013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2447
fb651d15 2448 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 2449 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
2450 (eww-form-checkbox, eww-toggle-checkbox):
2451 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2452
e0eb0550 2453 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 2454 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 2455 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
2456 no :src tag was specified.
2457
fb651d15 2458 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
2459 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2460 Use \\` to match beginning of string instead of ^.
2461 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 2462 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 2463
177948a5
RS
2464 * net/shr.el (shr-tag-video): Display content for video if no
2465 poster is available.
eb2dd24d 2466 (shr-tag-audio): Add support for <audio> tag.
177948a5 2467
e0eb0550 2468 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
2469 (eww-process-text-input): Treat input types in
2470 `eww-text-input-types' as text.
2471
8feacce0
RS
2472 * net/shr.el (shr-tag-table): Fix comment typo.
2473
513562a1
LMI
24742013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2475
2476 * net/eww.el (eww-follow-link): New command to avoid reloading
2477 pages when we follow #target links (bug#15243).
de8a5633 2478 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 2479
9dd99753
KN
24802013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2481
2482 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2483 forms.
2484
3e9876de
LMI
24852013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2486
2487 * net/eww.el (eww-restore-history): Update the window title after
2488 moving in the history.
ab6dea82 2489 (eww-current-dom): New variable used to save the current DOM.
3e9876de 2490
52789f7f
DG
24912013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2492
2493 * vc/log-edit.el (log-edit-mode-map): Add binding for
2494 `log-edit-beginning-of-line'.
2495 (log-edit-setup-add-author): New user option.
2496 (log-edit-beginning-of-line): New command.
2497 (log-edit): Move major mode call above the contents setup so that
2498 the local variable values are already applied.
2499 (log-edit): Only insert "Author: " when
2500 `log-edit-setup-add-author' is non-nil.
2501 (log-edit): When SETUP is non-nil, position point after ": "
2502 instead of point-min.
2503
2e6710c3
GM
25042013-12-01 Glenn Morris <rgm@gnu.org>
2505
2506 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2507
fadec31f
EZ
25082013-11-30 Eli Zaretskii <eliz@gnu.org>
2509
2510 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 2511 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
2512 visible. (Bug#16014)
2513
10634b40 25142013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
2515
2516 Support resizing frames and windows pixelwise.
2517 * cus-start.el (frame-resize-pixelwise)
2518 (window-resize-pixelwise): New entries.
2519 * emacs-lisp/debug.el (debug): Use window-total-height instead
2520 of window-total-size.
2521 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2522 * help.el (describe-bindings-internal): Call help-buffer
2523 (temp-buffer-max-width): New option.
2524 (resize-temp-buffer-window, help-window-setup)
2525 (with-help-window): Rewrite.
2526 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2527 dragging dividers.
2528 * window.el (frame-char-size, window-min-pixel-height)
2529 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2530 (window-min-pixel-width, window-safe-min-pixel-size)
2531 (window-combination-p, window-safe-min-size)
2532 (window-resizable-p, window--size-to-pixel)
2533 (window--pixel-to-size, window--resize-apply-p): New functions.
2534 (window-safe-min-height): Fix doc-string.
2535 (window-size, window-min-size, window--min-size-1)
2536 (window-sizable, window-sizable-p, window--min-delta-1)
2537 (window-min-delta, window--max-delta-1, window-max-delta)
2538 (window--resizable, window--resizable-p, window-resizable)
2539 (window-full-height-p, window-full-width-p, window-at-side-p)
2540 (window--in-direction-2, window-in-direction)
2541 (window--resize-reset-1, window--resize-mini-window)
2542 (window-resize, window-resize-no-error)
2543 (window--resize-child-windows-normal)
2544 (window--resize-child-windows, window--resize-siblings)
2545 (window--resize-this-window, window--resize-root-window)
2546 (window--resize-root-window-vertically)
2547 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2548 (maximize-window, minimize-window, delete-window)
2549 (quit-restore-window, window-split-min-size, split-window)
2550 (balance-windows-2, balance-windows)
2551 (balance-windows-area-adjust, balance-windows-area)
2552 (window--state-get-1, window-state-get, window--state-put-1)
2553 (window--state-put-2, window-state-put)
fb651d15
SM
2554 (display-buffer-record-window, window--display-buffer):
2555 Make functions handle pixelwise sizing of windows.
880e6158 2556 (display-buffer--action-function-custom-type)
fb651d15
SM
2557 (display-buffer-fallback-action):
2558 Add display-buffer-in-previous-window.
880e6158
MR
2559 (display-buffer-use-some-window): Resize window to height it had
2560 before.
2561 (fit-window-to-buffer-horizontally): New option.
2562 (fit-frame-to-buffer): Describe new values.
2563 (fit-frame-to-buffer-bottom-margin): Replace with
2564 fit-frame-to-buffer-margins.
2565 (window--sanitize-margin): New function.
2566 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2567 using window-text-pixel-size.
2568
f9b697dd
GM
25692013-11-30 Glenn Morris <rgm@gnu.org>
2570
3e2fb4db
GM
2571 * emacs-lisp/bytecomp.el (byte-compile-form):
2572 Make the `interactive-only' warning like the `obsolete' one.
2573 * comint.el (comint-run):
2574 * files.el (insert-file-literally, insert-file):
2575 * replace.el (replace-string, replace-regexp):
2576 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2577 (goto-line, insert-buffer, next-line, previous-line):
2578 Tweak `interactive-only' spec.
2579
f9b697dd
GM
2580 Stop keeping (most) generated cedet grammar files in the repository.
2581 * Makefile.in (semantic): New.
2582 (compile-main): Depend on semantic.
2583
da048127
SM
25842013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2585
7784b779
SM
2586 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2587 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2588
4e36a6a6
SM
2589 * uniquify.el (uniquify-buffer-name-style): Change default.
2590
2591 * loadup.el: Preload "uniquify".
2592
e0ba1308
SM
2593 * time.el (display-time-update): Update all mode lines (bug#15999).
2594
da048127
SM
2595 * electric.el (electric-indent-mode): Enable by default.
2596 * loadup.el: Preload "electric".
2597
015b3b3e
BB
25982013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2599
2600 * emacs-lisp/helpers.el (string-empty-p): New function.
2601 (string-blank-p): New function.
2602
7efb806d
AP
26032013-11-29 Andreas Politz <politza@hochschule-trier.de>
2604
2605 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2606 (Bug#14029).
2607
c8f0efc2
AP
26082013-11-29 Andreas Politz <politza@fh-trier.de>
2609 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2610 allow non-lambda lists as functions.
2611 (imenu--in-alist): Don't recurse into non-subalists.
2612 (imenu): Don't pass function itself as an argument (Bug#14029).
2613
bd15d9d1
SM
26142013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2615
2616 * progmodes/python.el (python-mode-map): Remove binding for ":".
2617 (python-indent-electric-colon): Remove command.
2618 (python-indent-post-self-insert-function): Integrate the previous code
2619 of python-indent-electric-colon. Make it conditional on
2620 electric-indent-mode.
2621 (python-mode): Add ?: to electric-indent-chars.
2622 Move python-indent-post-self-insert-function to the end of
2623 post-self-insert-hook.
2624
1b10adb6
SM
26252013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2626
655ab9a3
SM
2627 * doc-view.el (doc-view-goto-page): Update mode-line.
2628
1b10adb6
SM
2629 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2630
7e3bf78c
GM
26312013-11-27 Glenn Morris <rgm@gnu.org>
2632
2633 * international/charprop.el, international/uni-bidi.el:
2634 * international/uni-category.el, international/uni-combining.el:
2635 * international/uni-comment.el, international/uni-decimal.el:
2636 * international/uni-decomposition.el, international/uni-digit.el:
2637 * international/uni-lowercase.el, international/uni-mirrored.el:
2638 * international/uni-name.el, international/uni-numeric.el:
2639 * international/uni-old-name.el, international/uni-titlecase.el:
2640 * international/uni-uppercase.el:
2641 Remove generated files from VCS repository.
2642
fb6a5d68
EZ
26432013-11-27 Eli Zaretskii <eliz@gnu.org>
2644
2645 * filenotify.el (file-notify-add-watch): Don't special-case
2646 w32notify when computing the directory to watch.
2647
cb6c95a3
GM
26482013-11-27 Glenn Morris <rgm@gnu.org>
2649
20372d0c
GM
2650 Make bootstrap without generated uni-*.el files possible again.
2651 * loadup.el: Update command-line-args checking for unidata-gen.
2652 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2653 * composite.el, international/characters.el:
2654 Handle unicode tables being undefined.
2655
52d6635f 2656 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
2657 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2658 (compile-main): Depend on leim rule.
2659 (leim): New rule.
2660 * loadup.el: Move leim-list.el to leim/ subdirectory.
2661 * startup.el (normal-top-level): No more leim directory.
2662 * international/ja-dic-cnv.el (skkdic-convert):
2663 Disable version-control and autoloads in output files.
2664 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2665 Disable version-control and autoloads in output files.
2666 * leim/quail: Move here from ../leim.
2667 * leim/quail/hangul.el (hangul-input-method-activate):
2668 Add autoload cookie.
2669 (generated-autoload-load-name): Set file-local value.
2670 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2671 (generated-autoload-load-name): Set file-local value.
2672
7514d3f8 26732013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 2674
e0eb0550 2675 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 2676 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 2677 (eww-quit): Ask confirmation before quitting eww.
e47112ee 2678
0e2c793f
EZ
26792013-11-26 Eli Zaretskii <eliz@gnu.org>
2680
2681 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2682 reading output from Diff on MS-Windows and MS-DOS.
2683
447bdcb8
BB
26842013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2685
2686 * emacs-lisp/helpers.el (string-reverse): New function.
2687
5fbf6856
MA
26882013-11-26 Michael Albinus <michael.albinus@gmx.de>
2689
2690 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2691 names on MS Windows, like "/[::1]:".
2692
2693 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2694 SWITCHES.
2695
624780f0
GM
26962013-11-26 Glenn Morris <rgm@gnu.org>
2697
0bf3f0fa
GM
2698 * progmodes/python.el (python-indent-guess-indent-offset):
2699 Avoid corner-case error. (Bug#15975)
2700
624780f0
GM
2701 Preload leim-list.el. (Bug#4789)
2702 * loadup.el: Load leim-list.el when found.
2703 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2704
4301875e 27052013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
2706
2707 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2708
4301875e
BB
2709 * emacs-lisp/helpers.el (string-join): New function.
2710
1633a815 27112013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
2712
2713 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2714 Mark as obsolete and replace it with a symbol property.
2715 (byte-compile-form): Use new 'interactive-only property.
2716 * comint.el, files.el, replace.el, simple.el:
2717 Apply new 'interactive-only properly.
2718
00139435
MR
27192013-11-25 Martin Rudalics <rudalics@gmx.at>
2720
2721 * window.el (display-buffer-at-bottom): Make sure that
2722 split-window-sensibly creates the new window on bottom
2723 (Bug#15961).
2724
5f5b128d
DK
27252013-11-23 David Kastrup <dak@gnu.org>
2726
2727 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2728 on the conflict markers when available.
2729 (smerge--get-marker): New function.
2730 (smerge-end-re, smerge-base-re): Add subgroup.
2731
623891e5
SM
27322013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2733
2734 * frame.el (handle-focus-in, handle-focus-out): Add missing
2735 interactive spec.
2736
05ca27d8
MA
27372013-11-25 Michael Albinus <michael.albinus@gmx.de>
2738
2739 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2740 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2741
511fa0d3
SM
27422013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2743
e82ad66c
SM
2744 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2745 (gomoku--last-pos): New var.
2746 (gomoku--intangible-chars): New const.
2747 (gomoku--intangible): New function.
2748 (gomoku-mode): Use it. Derive from special-mode.
2749 (gomoku-move-up): Adjust line count.
2750 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2751 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2752 Simplify accordingly.
2753
511fa0d3
SM
2754 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2755 Remove blink-cursor code.
2756 (blink-cursor-timer-function, blink-cursor-suspend):
2757 Don't special-case GUIs.
2758 (blink-cursor-mode): Use focus-in/out-hook.
2759
6f20dd03
DG
27602013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2761
2762 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2763 work when annotation is invisible (Bug#13886).
2764
431dec31 27652013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
2766
2767 * json.el (json-alist-p): Only return non-nil if the alist has
2768 simple keys (Bug#13518).
2769
431dec31 27702013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
2771
2772 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2773 when control-statement is the first statement in a buffer (Bug#15956).
2774
ee4f0261
DG
27752013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2776
2777 * imenu.el (imenu-generic-skip-comments-and-strings):
2778 New option (Bug#15560).
2779 (imenu--generic-function): Use it.
2780
c484f866
JS
27812013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2782
e9dc713d
JB
2783 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2784 (Bug#13898)
c484f866 2785
41ce6f70
BB
27862013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2787
b55aea38
BB
2788 * emacs-lisp/helpers.el: Add some string helpers.
2789 (string-trim-left): Removes leading whitespace.
2790 (string-trim-right): Removes trailing whitespace.
2791 (string-trim): Removes leading and trailing whitespace.
2792
41ce6f70
BB
2793 * subr.el (string-suffix-p): New function.
2794
3cfb6af3
GM
27952013-11-23 Glenn Morris <rgm@gnu.org>
2796
2797 * progmodes/python.el (python-shell-send-file):
2798 Add option to delete file when done. (Bug#15647)
2799 (python-shell-send-string, python-shell-send-region): Use it.
2800
c27924b7
IS
28012013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2802
e1b01c7f
IS
2803 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2804 to set buffer-read-only to t, never to nil. (Bug#15938)
2805
c27924b7
IS
2806 * textmodes/tex-mode.el (latex-noindent-environments):
2807 Add safe-local-variable property. (Bug#15936)
2808
17e0445b
GM
28092013-11-23 Glenn Morris <rgm@gnu.org>
2810
92f78ea3
GM
2811 * textmodes/enriched.el (enriched-mode): Doc fix.
2812 * emacs-lisp/authors.el (authors-renamed-files-alist):
2813 Add enriched.doc -> enriched.txt.
2814
17e0445b
GM
2815 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2816
965bb23a
LL
28172013-11-22 Leo Liu <sdl.web@gmail.com>
2818
2819 * progmodes/octave.el (inferior-octave-startup): Spit out error
2820 message.
2821
d19ffd64
BB
28222013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2823
2824 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2825 Improve docstring.
15ba2182
BB
2826 Add :version.
2827 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 2828
7a7567d2
LL
28292013-11-22 Leo Liu <sdl.web@gmail.com>
2830
2831 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2832 (Bug#15076)
8c09f64b
LL
2833 (octave-help-mode): Adapt to change to help-mode-finish to use
2834 derived-mode-p on 2013-09-17.
2835 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 2836 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 2837
724bc265
LL
28382013-11-22 Leo Liu <sdl.web@gmail.com>
2839
2840 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2841 (inferior-octave-startup, inferior-octave-check-process)
2842 (inferior-octave-track-window-width-change)
2843 (octave-completion-at-point, octave-eldoc-function): Use it.
2844 (octave-kill-process): Provide confirmation. (Bug#10564)
2845
38637cca
LL
28462013-11-21 Leo Liu <sdl.web@gmail.com>
2847
511fa0d3
SM
2848 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2849 Fix obsolete variable comment-use-global-state.
38637cca 2850
06e752b4
RS
28512013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2852
511fa0d3
SM
2853 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2854 Add `octave-source-file'.
06e752b4
RS
2855 (octave-source-file): New function. (Bug#15935)
2856
7514d3f8 28572013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
2858
2859 * net/eww.el (eww-local-regex): New variable.
2860 (eww): Use it to detect localhost and similar.
2861
b6ffa04a
LL
28622013-11-21 Leo Liu <sdl.web@gmail.com>
2863
2864 Add completion for command `ag'.
2021a200
LL
2865 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2866 (pcomplete/ag): New function.
e9dc713d 2867 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 2868
d1a6bccc
SM
28692013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2870
2871 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2872 (bug#14646).
2873 (make-obsolete): Remove interactive spec.
2874
2df10228
GM
28752013-11-21 Glenn Morris <rgm@gnu.org>
2876
2877 * startup.el (command-line-1): Use path-separator with -L.
2878
86fd16b6
TZ
28792013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2880
2881 * emacs-lisp/package.el (describe-package-1): Add package archive
2882 to shown fields.
2883
0449d6cd 28842013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
2885
2886 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2887 Change default to "# encoding: %s" to differentiate it from the
2888 default Ruby encoding comment template.
2889
dc7e8c17 28902013-11-20 era eriksson <era+emacsbugs@iki.fi>
2891
2892 * ses.el (ses-mode): Doc fix. (Bug#14748)
2893
f0cfa5fe
LL
28942013-11-20 Leo Liu <sdl.web@gmail.com>
2895
2896 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2897
826dc7b6
DN
28982013-11-19 Dan Nicolaescu <dann@gnu.org>
2899
2900 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2901 when rebase or bisect are in progress.
2902
a6e3a5d5
XF
29032013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2904
2905 * filenotify.el (file-notify-add-watch): Doc fix.
2906
f130cb76
LL
29072013-11-19 Leo Liu <sdl.web@gmail.com>
2908
e0855d7d
LL
2909 * obsolete/rcompile.el: Mark obsolete.
2910
f130cb76 2911 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
2912 (compilation-goto-locus, compilation-find-file):
2913 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
2914 (Bug#13594)
2915
2916 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
2917 new parameter no-display-ok. Return either a window or nil
2918 but never a non-window value.
f130cb76 2919
1f35d401
SM
29202013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2921
25158c76
SM
2922 * electric.el (electric-indent-mode-map): Remove.
2923 (electric-indent-mode): Change the global-map instead (bug#15915).
2924
2925 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2926 Use add-function.
1f35d401 2927
9bc67baa
SM
29282013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2929
986545b5
SM
2930 * emacs-lisp/nadvice.el (remove-function): Align with
2931 add-function's behavior.
2932
9bc67baa
SM
2933 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2934 (gdb--string-regexp): New constant.
2935 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2936 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2937 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2938 submatch 1.
2939 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2940 Adjust use accordingly.
2941 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2942
56cd894e
AS
29432013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2944
2945 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2946 interpolation curlies (Bug#15914).
2947
014690de
JB
29482013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2949
2950 * calc/calc.el (calc-context-sensitive-enter): New variable.
2951 (calc-enter): Use `calc-context-sensitive-enter'.
2952
7e26a6c3
TZ
29532013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2954
2955 * progmodes/cfengine.el: Version bump.
2956 (cfengine-cf-promises): New defcustom to locate cf-promises.
2957 (cfengine3-vartypes): Add new "data" type.
2958 (cfengine3--current-word): New function to get current name-like
2959 word or its bounds.
2960 (cfengine3--current-function): New function to look up a CFEngine
2961 function's definition.
2962 (cfengine3-format-function-docstring): New function.
2963 (cfengine3-make-syntax-cache): New function.
2964 (cfengine3-documentation-function): New function: ElDoc glue.
2965 (cfengine3-completion-function): New function: completion glue.
2966 (cfengine3-mode): Set `compile-command',
2967 `eldoc-documentation-function', and add to
2968 `completion-at-point-functions'.
2969
355204dd
MA
29702013-11-16 Michael Albinus <michael.albinus@gmx.de>
2971
2972 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2973 `tramp-current-connection'.
2974
43cebc23
DG
29752013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2976
2977 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2978 nil/self/true/false with "end of symbol".
2979
a3fed6ff
BB
29802013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2981
2982 * subr.el (version-regexp-alist): Fix a typo.
2983
e675b3e4
MA
29842013-11-15 Michael Albinus <michael.albinus@gmx.de>
2985
2986 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2987 "en_US.utf8" and "LC_CTYPE" to "".
2988 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2989 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2990
a1f03e89
LL
29912013-11-15 Leo Liu <sdl.web@gmail.com>
2992
2993 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2994
5d9d9451
SM
29952013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2996
58362662
CS
2997 * progmodes/gud.el (ctl-x-map):
2998 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
2999 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3000
6c1bf086
BB
30012013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3002
0d5363c4
BB
3003 * subr.el (version-regexp-alist):
3004 Recognize hg, svn and darcs versions as snapshot versions.
3005
4e9fc48c
BB
3006 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3007 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3008 (ruby--encoding-comment-required-p): Extract from
3009 `ruby-mode-set-encoding'.
3010 (ruby-mode-set-encoding): Add the ability to always insert an
3011 utf-8 encoding comment. Fix and simplify coding comment update
3012 logic.
6c1bf086 3013
2f7e72f8
MA
30142013-11-14 Michael Albinus <michael.albinus@gmx.de>
3015
3016 * net/tramp-gvfs.el (top): Run init code only when
3017 `tramp-gvfs-enabled' is not nil.
3018 (tramp-gvfs-enabled): Check also :system bus.
3019
0f137a73
SM
30202013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3021
3022 Sync with upstream verilog-mode revision 78e66ba.
3023 * progmodes/verilog-mode.el (verilog-end-of-defun)
3024 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3025 (verilog-get-end-of-defun): Remove unused argument.
3026 (verilog-comment-depth): Remove unused local `e'.
3027 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3028 Don't pass arg to verilog-get-end-of-defun.
3029
1c276bdd
GM
30302013-11-14 Glenn Morris <rgm@gnu.org>
3031
3032 * obsolete/assoc.el (aget): Prefix dynamic variable.
3033
3034 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3035
ff6ec81d
SM
30362013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3037
3038 * widget.el, hfy-cmap.el: Remove bogus package version number.
3039
75f777b6
GM
30402013-11-13 Glenn Morris <rgm@gnu.org>
3041
1d43dba1
GM
3042 * replace.el (replace-eval-replacement):
3043 Try to give more helpful error message. (Bug#15836)
3044
ff4b7bd5
GM
3045 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3046 (archive-7z-update): Avoid custom type mismatches.
3047
75f777b6
GM
3048 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3049
11151a06
MA
30502013-11-13 Michael Albinus <michael.albinus@gmx.de>
3051
e675b3e4 3052 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
3053 address can be empty.
3054
3055 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3056 Accept nil SWITCHES.
3057 (tramp-gvfs-handle-write-region): Implement APPEND.
3058
7b08f97e
DG
30592013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3060
3061 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
3062 binary "|" operator and closing block args delimiter.
3063 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
3064 (ruby-smie--implicit-semi-p): Not after "|" operator.
3065 (ruby-smie--closing-pipe-p): New function.
3066 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3067 (ruby-smie-rules): Indent after "|".
3068
f201cf3a
GM
30692013-11-12 Glenn Morris <rgm@gnu.org>
3070
3071 * ps-print.el (ps-face-attribute-list):
3072 Handle anonymous faces. (Bug#15827)
3073
e6f759f9
MR
30742013-11-12 Martin Rudalics <rudalics@gmx.at>
3075
3076 * window.el (display-buffer-other-frame): Fix doc-string.
3077 (Bug#15868)
3078
ecda65d4
SM
30792013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3080
3081 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3082
7ce8fcc3
MA
30832013-11-11 Michael Albinus <michael.albinus@gmx.de>
3084
3085 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3086 (tramp-sh-handle-file-local-copy): Don't write a message when
3087 saving temporary files.
3088
3089 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3090 both directories are remote.
3091 (tramp-smb-handle-directory-files): Do not return double entries.
3092 Do not expand full file names.
3093 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3094 (tramp-smb-handle-write-region): Implement APPEND.
3095 (tramp-smb-get-stat-capability): Fix a stupid bug.
3096
7818df11
SM
30972013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3098
3099 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3100
608c2085
NT
31012013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3102
3103 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3104 throwing error over malformed let/let* (bug#15814).
3105
122a7e46
SM
31062013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3107
3108 * iswitchb.el (iswitchb-mode): Mark obsolete.
3109
766284d9
GM
31102013-11-11 Glenn Morris <rgm@gnu.org>
3111
3112 * international/uni-bidi.el, international/uni-category.el:
3113 * international/uni-name.el, international/uni-numeric.el:
3114 Regenerate for Unicode 6.3.0.
3115
7072a4e9
MA
31162013-11-10 Michael Albinus <michael.albinus@gmx.de>
3117
3118 * net/tramp.el (tramp-methods):
3119 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3120 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3121
c9df215b
AS
31222013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3123
608c2085
NT
3124 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3125 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 3126
fa47d796
DG
31272013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3128
3129 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 3130 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
3131 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3132 (ispell-complete-word): Call `ispell-lookup-words' with the value
3133 independent of `ispell-look-p'.
3134
1629a329
DG
31352013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3136
3137 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3138 Not after "||".
3139 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3140 their parent.
3141
ad16897c
SM
31422013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3143
3144 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3145 (ruby-font-lock-keywords): Use backquote.
3146
ffa2df72
DG
31472013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3148
3149 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3150 (ruby-smie--backward-token): Only consider full-string matches.
3151
5b97b4c0
JD
31522013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3153
3154 * faces.el (describe-face): Add distant-foreground.
3155
71731c03
BB
31562013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3157
4e9fc48c
BB
3158 * progmodes/ruby-mode.el: Improve encoding comment handling.
3159 (ruby-encoding-magic-comment-style): New option.
3160 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
3161 (ruby--insert-coding-comment, ruby--detect-encoding):
3162 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
3163 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3164 to control the style of the auto-inserted encoding comment.
71731c03 3165
da3b328d
DG
31662013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3167
ad16897c
SM
3168 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3169 Use `smie-backward-sexp' with token argument.
da3b328d 3170
1606c2d3
MA
31712013-11-08 Michael Albinus <michael.albinus@gmx.de>
3172
3173 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3174 Remove instrumentation code.
3175
b0f4c320
GM
31762013-11-08 Glenn Morris <rgm@gnu.org>
3177
3178 * progmodes/autoconf.el (autoconf-mode):
3179 Tweak comment-start-skip. (Bug#15822)
3180
43668fb1
SM
31812013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3182
3183 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3184 at bobp (bug#15826).
3185 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3186
daddb3fd
DH
31872013-11-08 Darren Hoo <darren.hoo@gmail.com>
3188
3189 * man.el (Man-start-calling): New macro, extracted from
3190 Man-getpage-in-background.
3191 (Man-getpage-in-background): Use it.
3192 (Man-update-manpage): New command.
3193 (Man-mode-map): Bind it.
3194
1f923923
DG
31952013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3196
3197 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3198 of "and", "or", "&&" and "||".
3199 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3200 argument. Prohibit opening curly brace because it could only be a
3201 block opener in that position.
daddb3fd
DH
3202 (ruby-smie--forward-token, ruby-smie--backward-token):
3203 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
3204 arguments.
3205 (ruby-smie--indent-to-stmt): New function, seeks the end of
3206 previous statement or beginning of buffer.
3207 (ruby-smie-rules): Use it.
3208 (ruby-smie-rules): Check if there's a ":" before a curly block
3209 opener candidate; if there is, it's a hash.
3210
3220d527
SM
32112013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3212
3213 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3214 (cl--block-wrapper): Fix last accidental change.
3215
1eb1f9e0
MA
32162013-11-07 Michael Albinus <michael.albinus@gmx.de>
3217
3218 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3219 Instrument, in order to hunt failure on hydra.
3220
e6e4db3c
NT
32212013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3222
3223 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3224 malformed bindings form (bug#15814).
3225
b420ccfc
DG
32262013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3227
3228 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
3229 "." compared to " @ ". This incidentally fixes some indentation
3230 examples with "do".
e6e4db3c 3231 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
3232 (ruby-smie-grammar): New tokens: "and" and "or".
3233 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3234 Exclude "and" and "or". Remove "do" in order to work around token
3235 priorities.
3236 (ruby-smie-rules): Add all infix tokens. Handle the case of
3237 beginning-of-buffer.
b420ccfc 3238
6b4ac03e
GM
32392013-11-06 Glenn Morris <rgm@gnu.org>
3240
3241 * Makefile.in (setwins_almost, setwins_for_subdirs):
3242 Avoid accidental matches.
3243
5ca114d1
SM
32442013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3245
3246 * menu-bar.el (popup-menu): Use key-binding.
3247
f72552bd
EZ
32482013-11-06 Eli Zaretskii <eliz@gnu.org>
3249
3250 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3251 menus, support also the menus produced by minor modes.
3252 (Bug#15817)
3253
5d5c701e
LL
32542013-11-06 Leo Liu <sdl.web@gmail.com>
3255
3256 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 3257 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 3258
0a8b75e2
GM
32592013-11-06 Glenn Morris <rgm@gnu.org>
3260
3261 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
3262 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3263 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 3264
a35287ea
SM
32652013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3266
feca4e2d
SM
3267 * electric.el (electric-indent-just-newline): New command.
3268 (electric-indent-mode-map): New keymap.
3269 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3270 Re-add :group which weren't redundant.
3271
a35287ea
SM
3272 * electric.el (electric-indent-local-mode): New minor mode.
3273 (electric-indent-functions-without-reindent): New var.
3274 (electric-indent-post-self-insert-function): Use it.
3275 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3276
375761b2
EZ
32772013-11-05 Eli Zaretskii <eliz@gnu.org>
3278
9a6ad735
EZ
3279 * international/quail.el (quail-help): Be more explicit about the
3280 meaning of the labels shown on the keys. (Bug#15800)
3281
375761b2
EZ
3282 * startup.el (normal-top-level): Load the subdirs.el files before
3283 setting the locale environment. (Bug#15805)
3284
520a6e4a
SM
32852013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3286
0acfafef
SM
3287 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3288 via arguments so as to get the right ones (bug#15418).
3289
520a6e4a
SM
3290 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3291
15826261
MA
32922013-11-05 Michael Albinus <michael.albinus@gmx.de>
3293
3294 Fix problems found while writing a test suite.
3295
3296 * net/tramp-compat.el (tramp-compat-load): New defun.
3297 * net/tramp.el (tramp-handle-load): Use it.
3298
3299 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3300 "(numberp ok-if-already-exists)" correctly.
3301
d35f31a4
XF
33022013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3303
3304 * international/characters.el (glyphless-char-display-control):
3305 Add usage note.
3306
ae93bc74
BB
33072013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3308
520a6e4a
SM
3309 * progmodes/python.el (python-mode):
3310 * progmodes/scheme.el (scheme-mode):
3311 * progmodes/prolog.el (prolog-mode):
3312 * progmodes/ruby-mode.el (ruby-mode):
3313 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3314 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 3315
0ade65b5
SM
33162013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3317
a0d5f7a4
SM
3318 * rect.el (rectangle--highlight-for-redisplay):
3319 * emacs-lisp/smie.el (smie--next-indent-change):
3320 Use buffer-chars-modified-tick.
3321
c93f3f5c
SM
3322 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3323
0ade65b5
SM
3324 * electric.el (electric-indent-post-self-insert-function):
3325 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3326
ef9dd188
HE
33272013-11-04 Helmut Eller <eller.helmut@gmail.com>
3328
3329 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3330
306e7308
NT
33312013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3332
3333 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3334 (bug#15786).
3335
e5afbcac
SM
33362013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3337
1d01ad41
SM
3338 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3339
e5afbcac
SM
3340 * progmodes/python.el: Fix up last change.
3341 (python-shell--save-temp-file): New function.
3342 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3343 `string' comes from the current buffer.
3344 (python-shell-send-string-no-output): Remove `msg' arg.
3345 (python--use-fake-loc): New var.
3346 (python-shell-buffer-substring): Obey it. Try to compensate for the
3347 extra coding line added by python-shell--save-temp-file.
3348 (python-shell-send-region): Use python-shell--save-temp-file and
3349 python-shell-send-file directly. Add `nomain' argument.
3350 (python-shell-send-buffer): Use python-shell-send-region.
3351 (python-electric-pair-string-delimiter): New function.
3352 (python-mode): Use it.
3353
d0065ff1
EZ
33542013-11-04 Eli Zaretskii <eliz@gnu.org>
3355
3356 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3357 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3358 environment and decoding all of the default-directory's to here
3359 from command-line.
3360 (command-line): Decode also argv[0].
3361
3362 * loadup.el: Error out if default-directory is a multibyte string
3363 when we are dumping.
3364
3365 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3366
7397c587
TZ
33672013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3368
3369 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
3370 (package-menu--print-info, package-menu--archive-predicate):
3371 Add Archive column to package list.
7397c587 3372
b27cc9fc
MA
33732013-11-04 Michael Albinus <michael.albinus@gmx.de>
3374
3375 Fix problems found while writing a test suite.
3376
3377 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3378 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3379 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3380 to nil when running original file name handler. Otherwise,
3381 there are problems with constructs like "$$FOO".
3382
3383 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3384 for `localname'.
3385
d8c4f18a
BB
33862013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3387
7b530552
BB
3388 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3389
3390 * subr.el (version<, version<=, version=):
3391 Update docstrings with information for snapshot versions.
3392
d8c4f18a
BB
3393 * helpers.el: New library for misc helper functions.
3394 (hash-table-keys): New function returning a list of hash keys.
3395 (hash-table-values): New function returning a list of hash values.
3396
dca01b09
DG
33972013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3398
3399 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3400 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3401
0a749fa0
MN
34022013-11-04 Michal Nazarewicz <mina86@mina86.com>
3403
3404 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3405 checking whether point is after a 1-letter word.
3406
34072013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
3408
3409 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3410 Don't infloop when expanding region over `multiline' syntax-type that
3411 begins a line (bug#15778).
3412
4aca7145
SM
34132013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3414
3415 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3416 Make it into a proper minor mode.
3417 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3418 (rectangle-mark-mode-map): New keymap.
3419 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3420
a0833f62
GM
34212013-11-04 Glenn Morris <rgm@gnu.org>
3422
3423 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3424
e61845c1
SM
34252013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3426
3427 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3428 (ruby-smie-rules): Use smie-rule-parent instead.
3429
3430 * emacs-lisp/smie.el (smie-rule-parent): Always call
3431 smie-indent-virtual rather than only for hanging tokens.
3432 (smie--next-indent-change): New helper command.
3433
62942f89
GM
34342013-11-03 Glenn Morris <rgm@gnu.org>
3435
3436 * Makefile.in (abs_srcdir): Remove.
3437 (emacs): Unset EMACSLOADPATH.
3438
b0b9e592
GM
34392013-11-02 Glenn Morris <rgm@gnu.org>
3440
18ba6a33 3441 * Makefile.in (EMACS): Use a relative filename.
8061810d 3442 (abs_top_builddir): Remove.
18ba6a33
GM
3443 (custom-deps, finder-data, autoloads): Use --chdir.
3444
6a8b929e
GM
3445 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3446
c617f3d0
GM
3447 Use relative filenames in TAGS files.
3448 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3449 (lisptagsfiles4, TAGS): Use relative file names.
3450 (TAGS-LISP): Remove.
3451 (maintainer-clean): No more TAGS-LISP file.
3452
b0b9e592
GM
3453 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3454 (lisptagsfiles4): Use absolute filenames again.
3455 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3456 Remove all *loaddefs files, not just the first. Remove esh-groups.
3457 (maintainer-clean): Delete TAGS, TAGS-LISP.
3458
d1c0ea6a
BB
34592013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3460
e61845c1
SM
3461 * emacs-lisp/package.el (package-version-join):
3462 Recognize snapshot versions.
d1c0ea6a 3463
684d71c6
BB
34642013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3465
3466 * subr.el (version-regexp-alist): Add support for snapshot versions.
3467
3d42b968
DG
34682013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3469
e61845c1
SM
3470 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3471 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
3472 skip over our direct parent if it's an assignment token..
3473 (ruby-smie-rules): Use it.
3474
7ffd3721
DG
34752013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3476
8449dd1f 3477 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
3478 unconditionally. Remove now unnecessary forward declarations.
3479 Remove XEmacs-specific setup.
3480 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3481 (ruby-font-lock-syntactic-keywords)
3482 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3483 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3484 (ruby-here-doc-end-syntax): Remove.
3485 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3486 defined as function.
3487
a3996a2e
BB
34882013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3489
3490 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3491
6f9260e8
BB
34922013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3493
3494 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3495 table and abbrev table, `define-derived-mode' does that for us
3496 anyway.
3497
6014de84
GM
34982013-11-01 Glenn Morris <rgm@gnu.org>
3499
3500 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3501 files is atomic for some time, so no parallel compilation issues).
3502
3c334c14
JD
35032013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3504
3505 * faces.el (face-x-resources): Add :distant-foreground.
3506 (region): Use :distant-foreground for gtk and ns.
3507
9bc236c8
TH
35082013-11-01 Tassilo Horn <tsdh@gnu.org>
3509
5246583b 3510 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
3511 BibTeX.
3512 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3513 (reftex-locate-bibliography-files): Us it.
3514
d14c81ee
CB
35152013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3516
0e7690de
CB
3517 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3518 allow comments in pbm files.
3519
d14c81ee
CB
3520 * term/w32-win.el (dynamic-library-alist): Support newer versions
3521 of libjpeg starting with v7: look only for the DLL from the
3522 version against which Emacs was built.
ac1bf374 3523 Support versions of libpng beyond 1.4.x.
019c8218 3524 Support libtiff v4.x.
d14c81ee 3525
983d0df5
BB
35262013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3527
3528 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3529 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3530 Add property :safe.
3531 (ruby-deep-arglist): Add property :type.
3532
47f58d85
GM
35332013-10-31 Glenn Morris <rgm@gnu.org>
3534
3535 * Makefile.in (custom-deps, finder-data): No need to setq the target
3536 variables, we are in the right directory and the defaults work fine.
3537
4f85b479
GM
35382013-10-30 Glenn Morris <rgm@gnu.org>
3539
ca7dd4cd
GM
3540 * Makefile.in (autoloads): Do not use abs_lisp.
3541
4f85b479
GM
3542 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3543 `newline' does not respect `standard-output', so use `princ'.
3544
cf59e41c
AA
35452013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3546
3547 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3548 * buff-menu.el (Buffer-menu--unmark): New function.
3549 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3550
74cf04fb
GM
35512013-10-30 Glenn Morris <rgm@gnu.org>
3552
b040b60e
GM
3553 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3554
f53d3815
GM
3555 * emacs-lisp/package.el (lm-homepage): Declare.
3556
5413d873
GM
3557 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3558 Fix doc typos.
3559
cecedb36
GM
3560 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3561
74cf04fb
GM
3562 * Makefile.in (finder-data, autoloads, update-subdirs)
3563 (compile-main, compile-clean, compile-always, bootstrap-clean):
3564 Check return value of cd.
3565 (compile-calc): Remove.
3566
195ee2f0
SM
35672013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3568
ae4002ce
SM
3569 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3570
3571 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3572 (byte-compile-and-folded): New function.
3573 (=, <, >, <=, >=): Use it.
3574
3575 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3576 (path-separator, null-device, buffer-file-coding-system)
3577 (lpr-headers-switches): Check system-type before modifying them.
3578 (find-buffer-file-type-coding-system): Mark obsolete.
3579 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3580 find-file-not-found-set-buffer-file-coding-system.
3581 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3582 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3583 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3584 (w32-direct-print-region-helper, w32-direct-print-region-function)
3585 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3586 * startup.el (normal-top-level-add-subdirs-to-load-path):
3587 * ps-print.el (ps-print-region-function):
3588 * lpr.el (print-region-function): Use new name.
3589
53b39e89
SM
3590 * subr.el (custom-declare-variable-early): Remove function.
3591 (custom-declare-variable-list): Remove var.
3592 (error, user-error): Remove `while' loop.
3593 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3594 (user-emacs-directory-warning, locate-user-emacs-file):
3595 Move to files.el.
3596 * simple.el (read-quoted-char-radix, read-quoted-char):
3597 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3598 Move from subr.el.
3599 * custom.el (custom-declare-variable-list): Don't process
3600 custom-declare-variable-list.
3601
195ee2f0
SM
3602 * progmodes/python.el (python-shell-get-buffer): New function.
3603 (python-shell-get-process): Use it.
3604 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3605 Python which encoding was used. Don't split-string since we only care
3606 about the first line. Return the temp-file, if applicable.
3607 (python-shell-send-region): Tell compile.el how to turn locations in
3608 the temp-file into locations in the source buffer.
3609
7e3561ee
SM
36102013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3611
4c9797cb
SM
3612 * subr.el (undefined): Add missing behavior from the C code for
3613 unbound keys.
3614
3472b6c6
SM
3615 * rect.el: Use lexical-binding. Add new rectangular region support.
3616 (rectangle-mark): New command.
3617 (rectangle--region): New var.
3618 (deactivate-mark-hook): Reset rectangle--region.
3619 (rectangle--extract-region, rectangle--insert-for-yank)
3620 (rectangle--highlight-for-redisplay)
3621 (rectangle--unhighlight-for-redisplay): New functions.
3622 (region-extract-function, redisplay-unhighlight-region-function)
3623 (redisplay-highlight-region-function): Use them to handle
3624 rectangular region.
3625 * simple.el (region-extract-function): New var.
3626 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3627 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3628 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3629 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3630 (redisplay-unhighlight-region-function)
3631 (redisplay-highlight-region-function): New vars.
3632 (redisplay--update-region-highlight): New function.
3633 (pre-redisplay-function): Use it.
3634 (exchange-point-and-mark): Don't deactivate the mark before
3635 reactivate-it anyway.
3636 * comint.el (comint-kill-region): Remove yank-handler argument.
3637 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3638 (delete-char): Remove property, since it's now part of their
3639 default behavior.
3640 (self-insert-iso): Remove property since this command doesn't exist.
3641
7e3561ee
SM
3642 * emacs-lisp/package.el (package--download-one-archive)
3643 (describe-package-1): Don't query the user about final newline.
3644
b9bef71f
DC
36452013-10-29 Daniel Colascione <dancol@dancol.org>
3646
3647 * net/tramp.el (tramp-methods): Document new functionality.
3648 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3649 tramp-hostname-checker if method provides one instead of scanning
3650 argument list for "%h" to decide hostname acceptability.
3651
4efc33f0
MA
36522013-10-28 Michael Albinus <michael.albinus@gmx.de>
3653
3654 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3655 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3656 Handle COPY-CONTENTS. (Bug#15737)
3657
ed42a877
DU
36582013-10-28 Daiki Ueno <ueno@gnu.org>
3659
3660 * epa-file.el
7e3561ee
SM
3661 (epa-file-cache-passphrase-for-symmetric-encryption):
3662 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 3663
18c9f8a2
XF
36642013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3665
7a4bc7be
XF
3666 * image.el (defimage):
3667 (image-load-path): Doc fixes.
18c9f8a2 3668
b1e8e010
AM
36692013-10-27 Alan Mackenzie <acm@muc.de>
3670
3671 Indent statements in macros following "##" correctly.
7e3561ee
SM
3672 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3673 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 3674
73d40d1e 36752013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
3676
3677 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3678
c8c605ac
DG
36792013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3680
3681 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3682 after `=' is probably a new expression.
3683
ca7e59d4
RS
36842013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3685
3686 * man.el (man-imenu-title): New option.
3687 (Man-mode-map): Add menu. (Bug#15722)
3688 (Man-mode): Add imenu to menu.
3689
bae91342
DG
36902013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3691
3692 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3693 specific in what the first arg can be: a non-keyword word,
3694 string/regexp/percent literal opener, opening paren, or unary
3695 operator followed directly by word.
3696
eb89dc14
SM
36972013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3698
3699 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3700 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3701 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3702 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3703 Remove vars, they do not apply any more.
3704 (prolog-mode-abbrev-table): Remove redundant declaration.
3705 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3706 (prolog-use-smie): Remove.
3707 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3708 supported by prolog-electric-if-then-else-flag.
3709 (prolog-mode-variables, prolog-menu): Use setq-local.
3710 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3711 Remove binding to `Backspace' since this key doesn't exist anyway.
3712 Remove bindings for electric self-inserting keys.
3713 (prog-mode): Assume it's defined.
3714 (prolog-post-self-insert): New function.
3715 (prolog-mode): Use it.
3716 (prolog-indent-line, prolog-indent-level)
3717 (prolog-find-indent-of-matching-paren)
3718 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3719 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3720 (prolog-goto-next-paren, prolog-in-string-or-comment)
3721 (prolog-tokenize, prolog-inside-mline-comment)
3722 (prolog-find-start-of-mline-comment): Remove functions.
3723 (prolog-find-unmatched-paren, prolog-clause-end)
3724 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3725 (prolog-electric--if-then-else): Rename from
3726 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3727 (prolog-tokenize-searchkey): Remove const.
3728 (prolog-clause-info): Use forward-sexp.
3729 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3730 (prolog-electric-if-then-else): Remove commands.
3731 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3732 for use in post-self-insert-hook.
3733 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3734 for use in post-self-insert-hook.
3735 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3736 for use in post-self-insert-hook.
3737 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3738 adapt it for use in post-self-insert-hook.
3739
3dab0a83
MA
37402013-10-25 Michael Albinus <michael.albinus@gmx.de>
3741
3742 * emacs-lisp/ert.el (ert-run-tests-interactively):
3743 Use `completing-read'. (Bug#9756)
3744
fbfd0e1d
EZ
37452013-10-25 Eli Zaretskii <eliz@gnu.org>
3746
3747 * simple.el (line-move): Call line-move-1 instead of
3748 line-move-visual when the current window hscroll is zero, but
3749 temporary-goal-column indicates we will need to hscroll as result
3750 of the movement. (Bug#15712)
3751
963ce636
DG
37522013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3753
3754 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
3755 capitalization. Use :visible instead of :active.
3756 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
3757 commands that are used with SMIE.
3758 (ruby-do-end-to-brace): Insert space after `{'.
3759
a0be396a
JA
37602013-10-25 John Anthony <john@jo.hnanthony.com>
3761
f73754c9
JA
3762 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3763
3764 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 3765
f5bf77df
GM
37662013-10-25 Glenn Morris <rgm@gnu.org>
3767
3768 * vc/vc.el (vc-print-log): Don't use a working revision unless
3769 one was explicitly specified. (Bug#15322)
3770
37241f62
SM
37712013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3772
3773 * subr.el (add-to-list): Preserve return value in compiler-macro
3774 (bug#15692).
3775
6408a65d
RS
37762013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3777
3778 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3779 result. Ask user to retry using '-all' flag. (Bug#15701)
3780
71e3276b
SM
37812013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3782
3783 * emacs-lisp/smie.el: New smie-config system.
3784 (smie-config): New defcustom.
3785 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3786 (smie-config-guess, smie-config-save): New commands.
3787 (smie-config--mode-local, smie-config--buffer-local)
3788 (smie-config--trace, smie-config--modefuns): New vars.
3789 (smie-config--advice, smie-config--mode-hook)
3790 (smie-config--setter, smie-config-local, smie-config--get-trace)
3791 (smie-config--guess-value, smie-config--guess): New functions.
3792 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3793 text properties. Treat "string fence" syntax like string syntax.
3794
3795 * progmodes/sh-script.el (sh-use-smie): Change default.
3796 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3797 (sh-var-value): Simplify by CSE.
3798 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3799 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3800 is used.
3801 (sh-guess-basic-offset): Use cl-incf.
3802 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3803
60db713e
HE
38042013-10-24 Helmut Eller <eller.helmut@gmail.com>
3805
3806 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3807 (bug#15699).
3808
8b251df6
GM
38092013-10-24 Glenn Morris <rgm@gnu.org>
3810
3811 * Makefile.in (abs_top_srcdir): Remove.
3812 (update-subdirs): Use relative path to update-subdirs.
3813
6be0e22b
EZ
38142013-10-24 Eli Zaretskii <eliz@gnu.org>
3815
3816 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3817 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
3818 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3819 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 3820
50b5b857
MA
38212013-10-24 Michael Albinus <michael.albinus@gmx.de>
3822
3823 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3824 (ert-test-skipped): New error.
3825 (ert-skip, ert-stats-skipped): New defuns.
3826 (ert--skip-unless): New macro.
3827 (ert-test-skipped): New struct.
3828 (ert--run-test-debugger, ert-test-result-type-p)
3829 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3830 (ert--stats-set-test-and-result, ert-char-for-test-result)
3831 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 3832 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 3833 Handle skipped tests. (Bug#9803)
50b5b857 3834
6f317c2f
GM
38352013-10-24 Glenn Morris <rgm@gnu.org>
3836
e43817c1
GM
3837 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3838
6f317c2f
GM
3839 * Makefile.in (abs_top_srcdir): New, set by configure.
3840 (update-subdirs): Correct build-aux location.
3841
369bbf71
DG
38422013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3843
8297b2cf
DG
3844 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3845 value, whether we could auto-deduce `backend', or not.
3846
369bbf71
DG
3847 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3848 with parameters" example. Simplify the "is it block or is it
3849 hash" check, but also make it more thorough.
3850
d5f1282f
MF
38512013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3852
3853 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3854
bc4aaa31
SM
38552013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3856
03d44565
SM
3857 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3858 { if it is hanging.
3859
bc4aaa31
SM
3860 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3861 :before ";".
3862
f493ff19
JB
38632013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3864
3865 * progmodes/compile.el (compilation-directory-matcher)
3866 (compilation-page-delimiter):
3867 Support GNU Make-4.0 directory quoting. (Bug#15678)
3868
c744a3b9
LL
38692013-10-23 Leo Liu <sdl.web@gmail.com>
3870
3871 * ido.el (ido-tidy): Handle read-only text.
3872
b8e3b0a9
GM
38732013-10-23 Glenn Morris <rgm@gnu.org>
3874
3875 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3876 (emacs, compile, compile-always):
3877 Quote entities that might contain whitespace.
3878 (custom-deps, finder-data, autoloads): Use abs_lisp.
3879 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3880 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3881 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3882
ee4282cd
DG
38832013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3884
bc4aaa31
SM
3885 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3886 Use `following-char'.
7790a270 3887
ee4282cd 38882013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
3889
3890 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3891 * progmodes/ruby-mode.el (ruby-smie-rules):
3892 Remove corresponding workaround. Fix indentation rule of ";" so it
3893 also applies when ";" is the parent.
3894
d40a46d7
XF
38952013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3896
3897 * frame.el (display-screens, display-pixel-height)
3898 (display-pixel-width, display-mm-width, display-backing-store)
3899 (display-save-under, display-planes, display-color-cells)
7790a270
SM
3900 (display-visual-class, display-monitor-attributes-list):
3901 Mention the optional ‘display’ argument in doc strings.
d40a46d7 3902
a0f143c9
MG
39032013-10-22 Michael Gauland <mikelygee@amuri.net>
3904
3905 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3906 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3907
18cacc39
DG
39082013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3909
3910 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3911 TODO. Add "." after " @ ".
3912 (ruby-smie--at-dot-call): New function. Checks if point at method
3913 call with explicit target.
3914 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3915 to the method name tokens when it precedes them.
3916 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3917 (ruby-smie-rules): Add rule for indentation before and after "."
3918 token.
3919
df74c4be
SM
39202013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3921
c6dab55f
SM
3922 * textmodes/remember.el (remember-diary-extract-entries):
3923 Avoid add-to-list.
3924
df74c4be
SM
3925 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3926 an instruction.
3927
8c1ae481
DG
39282013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3929
e9dc713d
JB
3930 * progmodes/ruby-mode.el (ruby-smie-grammar):
3931 Add (almost) all infix operators.
cfef16c0
DG
3932 (ruby-smie--implicit-semi-p): Add new operator chars.
3933
8c1ae481
DG
3934 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3935 `smie-down-list'.
3936 (ruby-smie--args-separator-p): Check that there's no newline
3937 between method call and its arguments.
3938
87756ca9
AM
39392013-10-20 Alan Mackenzie <acm@muc.de>
3940
3941 Allow comma separated lists after Java "implements".
3942
df74c4be
SM
3943 * progmodes/cc-engine.el (c-backward-over-enum-header):
3944 Parse commas.
87756ca9
AM
3945 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3946 from a "disallowed" list in enum fontification.
3947
c25f8957
JB
39482013-10-20 Johan Bockgård <bojohan@gnu.org>
3949
df74c4be 3950 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 3951
c25f8957
JB
3952 * progmodes/verilog-mode.el (verilog-mode): Don't set
3953 comment-indent-function globally.
3954
aca5fcdc
JD
39552013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3956
5f161884
JD
3957 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3958 Move Info menu item creation to ns-win.el.
3959
3960 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3961 in menu bar.
3962
a6c4680a 3963 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
3964
3965 * term/ns-win.el (ns-initialize-window-system): ... to here.
3966
914b7f98
SM
39672013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3968
3969 * simple.el (newline): Only run post-self-insert-hook when
3970 called interactively.
3971
846ffe77
JB
39722013-10-19 Johan Bockgård <bojohan@gnu.org>
3973
3974 * icomplete.el (icomplete-with-completion-tables): Add :version.
3975
033f22dd
AM
39762013-10-19 Alan Mackenzie <acm@muc.de>
3977
3978 Fix fontification bugs with constructors and const.
3979
3980 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3981 CASE 2) Remove the check for the absence of a suffix construct
3982 after a function declaration with only types (no identifiers) in
3983 the parentheses. Also, accept a function declaration with just a
3984 type inside the parentheses, if this type can be positively
3985 recognised as such, or if a prefix keyword like "explicit" nails
3986 down the construct as a declaration.
3987
58ce0cfc
EZ
39882013-10-19 Eli Zaretskii <eliz@gnu.org>
3989
3990 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3991 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3992 the problem whereby selecting a menu item that leads to a
3993 minibuffer prompt moves the cursor out of the minibuffer window,
3994 making it hard to type at the prompt. Suggested by Stefan Monnier
3995 <monnier@iro.umontreal.ca>.
3996
50e28e7d
JD
39972013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3998
3999 * menu-bar.el: Don't make Services menu.
4000
7deed4bf
RS
40012013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4002
4003 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4004 (ffap-alist): Use ffap-c++-mode for c++-mode.
4005 (ffap-c++-path): New variable.
4006 (ffap-c++-mode): New function.
4007
7bcb455b
JVJ
40082013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4009
4010 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4011
f0ff1cd5
MA
40122013-10-18 Michael Albinus <michael.albinus@gmx.de>
4013
4014 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4015 introduced on 2013-09-08, which results in an infinite loop
4016 requesting a password.
4017
d64da4b7
GM
40182013-10-18 Glenn Morris <rgm@gnu.org>
4019
4020 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4021
ea89ff08
WS
40222013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4023
4024 Sync with upstream verilog-mode revision 1a6ecec7.
4025 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4026 (verilog-mode-release-date): Remove.
4027 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4028 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4029 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4030 (verilog-auto-tieoff-ignore-regexp)
4031 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4032 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4033 (verilog-signals-with, verilog-dir-cache-preserving)
4034 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4035 Doc fixes.
4036 (verilog-case-fold): New option, to control case folding in
4037 regexp searches, bug597.
4038 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4039 (verilog-string-match-fold, verilog-in-paren-count)
4040 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4041 (verilog-at-close-struct-p): New functions.
4042 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4043 (verilog-forward-sexp, verilog-set-auto-endcomments):
4044 (verilog-leap-to-case-head): Handle "unique0" case.
4045 (verilog-in-constraint-re): New constant.
4046 (verilog-keywords, verilog-type-font-keywords):
4047 Add some SystemVerilog 1800-2012 keywords.
4048 (verilog-label-be): Remove unimplemented argument, bug669.
4049 (verilog-batch-execute-func): When batch expanding clear
4050 create-lockfiles to prevent spurious user locks when a file ends
4051 up not changing.
4052 (verilog-calculate-indent, verilog-calc-1)
4053 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4054 (verilog-do-indent): Fix indentation of nested constraints
4055 and structures.
4056 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4057 (verilog-auto-inst-param): Use verilog-string-match-fold.
4058 (verilog-read-inst-module-matcher):
4059 Fix AUTOINST on gate primitives with #1.
4060 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4061 Reads all user-defined typed variables.
4062 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4063 (verilog-signals-matching-regexp)
4064 (verilog-signals-not-matching-regexp, verilog-auto):
4065 Respect verilog-case-fold.
4066 (verilog-diff-report): Fix line count.
4067 (verilog-auto-assign-modport): Remove unused local `modi'.
4068 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4069 better handle multidimensional arrays.
4070 Fix packed array ports misadding bit index in AUTOINST, bug637.
4071 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4072 to not double-declare existing outputs and inputs, respectively.
4073 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4074 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4075 (verilog-sk-uvm-component): New skeleton.
4076 (verilog-submit-bug-report): Add verilog-case-fold,
4077 remove verilog-mode-release-date.
4078
ef566920
BR
40792013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4080
a12bf61e 4081 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
4082 as before.
4083
29df8a0b
RT
40842013-10-18 Reuben Thomas <rrt@sc3d.org>
4085
e0eb0550 4086 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
4087 remember buffers (bug#13566).
4088
04a19a79
DC
40892013-10-18 Daniel Colascione <dancol@dancol.org>
4090
4091 When evaluating forms in ielm, direct standard output to ielm
4092 buffer. Add new ielm-return-for-effect command. Remove trailing
4093 whitespace throughout.
4094
4095 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4096 (ielm-return-for-effect): New command.
4097 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
4098 (ielm-eval-input): Accept optional `for-effect' parameter.
4099 Bind `standard-output' to stream we create using
04a19a79
DC
4100 `ielm-standard-output-impl'. Suppress printing result when
4101 `for-effect'.
4102 (ielm-standard-output-impl): New function.
4103 (inferior-emacs-lisp-mode): Explain new features in documentation.
4104
4c1f03ef
MA
41052013-10-17 Michael Albinus <michael.albinus@gmx.de>
4106
4107 Code cleanup.
4108
4109 * net/tramp.el (tramp-debug-message): Do not check for connection
4110 buffer.
4111 (tramp-message): Use "vector" connection property.
4112
4113 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4114 (tramp-equal-remote, tramp-eshell-directory-change)
4115 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4116 (tramp-adb-handle-rename-file)
4117 * net/tramp-cmds.el (tramp-list-remote-buffers)
4118 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4119 * net/tramp-compat.el (tramp-compat-process-running-p)
4120 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4121 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4122 (tramp-gvfs-handle-rename-file)
4123 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4124 (tramp-set-file-uid-gid)
4125 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4126 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4127 of `file-remote-p'.
4128
4129 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4130 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4131 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4132 (tramp-gw-open-network-stream): Suppress unrelated traces.
4133
4134 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4135 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4136 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4137 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4138 connection property.
4139
4140 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 4141 persistency file.
4c1f03ef
MA
4142
4143 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4144 Refactor common code. Improve debug message.
4145 (tramp-maybe-open-connection)
4146 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4147 connection buffer too early.
4148
4149 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4150 from `tramp-smb-actions-with-acl'.
4151 (tramp-smb-actions-set-acl): New defconst.
4152 (tramp-smb-handle-copy-directory)
4153 (tramp-smb-action-get-acl): New defun, renamed from
4154 `tramp-smb-action-with-acl'.
4155 (tramp-smb-action-set-acl): New defun.
4156 (tramp-smb-handle-set-file-acl): Rewrite.
4157
642eb8b6
GM
41582013-10-17 Glenn Morris <rgm@gnu.org>
4159
4160 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4161
85527ff3
SM
41622013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4163
921c1d62
SM
4164 * skeleton.el (skeleton-newline): Remove.
4165 (skeleton-internal-1): Use (insert "\n") instead.
4166
e333fb10
SM
4167 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4168 let-bindings.
4169
85527ff3
SM
4170 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4171 forward-sexp-function while we redo its job (bug#15613).
4172
c8722a97
JB
41732013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4174
4175 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4176 represented by lists.
4177
7a550bbb
GM
41782013-10-16 Glenn Morris <rgm@gnu.org>
4179
4180 * tmm.el (tmm--history): New dynamic variable.
4181 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4182
f19da8ad
MA
41832013-10-16 Michael Albinus <michael.albinus@gmx.de>
4184
4185 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4186 (tramp-smb-errors): Add error messages.
4187 (tramp-smb-actions-with-acl): New defconst.
4188 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4189 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4190 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4191 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4192 (tramp-smb-get-stat-capability): Fix tests.
4193
a24b9961
DK
41942013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4195
4196 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4197 (bug#15580).
4198
62ad85e6
GM
41992013-10-16 Glenn Morris <rgm@gnu.org>
4200
0283d6b0
GM
4201 * ansi-color.el (ansi-color-drop-regexp):
4202 Add 1J, 1K, 2K. (Bug#15617)
4203
012e2f9f
GM
4204 * files.el (hack-local-variables--warned-lexical): New.
4205 (hack-local-variables):
4206 Warn about misplaced lexical-binding. (Bug#15616)
4207
62ad85e6
GM
4208 * net/eww.el (eww-render): Always set eww-current-url,
4209 and update header line. (Bug#15622)
4210 (eww-display-html): ... Rather than just doing it here.
4211
6456c0ea
EZ
42122013-10-15 Eli Zaretskii <eliz@gnu.org>
4213
4214 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4215 menu navigations commands.
4216
c2de5588
DK
42172013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4218
4219 * progmodes/subword.el (subword-capitalize): Be careful when
4220 the search for [[:alpha:]] fails (bug#15580).
4221
ccd4a783
EZ
42222013-10-14 Eli Zaretskii <eliz@gnu.org>
4223
4224 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4225 to commands that scroll the menu.
4226
1eda1d8d
DG
42272013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4228
c2de5588
DK
4229 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4230 Handle methods ending with `?' and `!'.
1eda1d8d 4231
e70181b8
AM
42322013-10-14 Akinori MUSHA <knu@iDaemons.org>
4233
4234 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4235 `japanese-cp932' to `cp932' to fix the problem where saving a
4236 source file written in Shift_JIS twice would end up having
4237 `coding: japanese-cp932' which Ruby could not recognize.
4238 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4239 in `ruby-encoding-map'.
4240 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4241 doesn't need to be explicitly declared in magic comment.
4242 (ruby-encoding-map): Add type declaration for better customize UI.
4243
9148ee92
GM
42442013-10-13 Glenn Morris <rgm@gnu.org>
4245
a5d38e34
GM
4246 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4247 Occur buffers are read-only. http://bugs.debian.org/720775
4248
9148ee92
GM
4249 * emacs-lisp/authors.el (authors-fixed-entries):
4250 Comment out old alpha stuff.
4251
a9ba094b
DG
42522013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4253
4254 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4255 to `after-save-hook' instead of `before-save-hook'.
4256 (ruby-mode-set-encoding): Use the value of coding system used to
4257 write the file. Call `basic-save-buffer-1' after modifying the
4258 buffer.
4259
7a068717
AM
42602013-10-13 Alan Mackenzie <acm@muc.de>
4261
4262 Fix indentation/fontification of Java enum with
4263 "implements"/generic.
4264
c2de5588
DK
4265 * progmodes/cc-engine.el (c-backward-over-enum-header):
4266 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
4267 (c-inside-bracelist-p): Uses new function above.
4268 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4269 function above.
4270 (c-font-lock-enum-tail): Uses new function above.
4271
85b64f02
KH
42722013-10-13 Kenichi Handa <handa@gnu.org>
4273
4274 * international/mule-cmds.el (select-safe-coding-system): Remove a
4275 superfluous condition in chekcing whether a coding system is safe
4276 or not.
4277
fc7f501b
OK
42782013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4279
4280 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4281
fdcb2049
AP
42822013-10-13 Andreas Politz <politza@hochschule-trier.de>
4283
4284 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4285
8c106d17
GM
42862013-10-13 Glenn Morris <rgm@gnu.org>
4287
feab892d
GM
4288 * menu-bar.el (menu-bar-update-buffers):
4289 Unify Buffers menu prompt string. (Bug#15576)
4290
b22d0686
GM
4291 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4292
8c106d17
GM
4293 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4294 Add some entries.
4295 (authors-fixed-entries): Use accented form of name.
4296
1b12c797
SM
42972013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4298
650fa7bf 4299 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 4300 method calls (bug#15594).
650fa7bf
SM
4301 (ruby-smie--args-separator-p): New function.
4302 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4303 recognize paren-free method calls.
4304
1b12c797
SM
4305 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4306 internals of universal-argument.
4307
029619c8
EZ
43082013-10-11 Eli Zaretskii <eliz@gnu.org>
4309
4310 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
4311 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4312 dropped menu on second mouse click on the menu bar.
029619c8 4313
dd070019
SM
43142013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4315
4316 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4317 (explicit-shell-file-name): Declare.
4318 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4319 (sh-completion-at-point-function): New function.
4320 (sh-mode): Use it.
4321 (sh-smie--keyword-p): Remove unused argument.
4322 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4323 vars.
4324 (sh-set-shell): Always setup SMIE, even if we use the
4325 old indentation code.
4326
0922b826
DG
43272013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4328
b68e2926
DG
4329 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4330 cases of ? and =.
4331 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4332 predicate would return nil are almost non-existent.
4333 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4334
0922b826
DG
4335 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4336 cache also after commands that modify the buffer but don't move
4337 point.
4338
ee041f2d
SM
43392013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4340
4341 * env.el (substitute-env-in-file-name): New function.
4342 (substitute-env-vars): Extend the meaning of the optional arg.
4343
a5dab159
EZ
43442013-10-10 Eli Zaretskii <eliz@gnu.org>
4345
4346 * term/w32-win.el (dynamic-library-alist): Define separate lists
4347 of GIF DLLs for versions before and after 5.0.0 of giflib.
4348 (Bug#15531)
4349
0449d6cd 43502013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
4351
4352 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4353 not locked, use last revision and current source as
4354 defaults. (Bug#15569)
4355
2f6e161e
MY
43562013-10-10 Masatake YAMATO <yamato@redhat.com>
4357
4358 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4359 menu-bar is hidden.
4360
6c8413fc
MR
43612013-10-10 Martin Rudalics <rudalics@gmx.at>
4362
4363 * window.el (pop-to-buffer-same-window): Fix doc-string.
4364 (Bug#15492)
4365
20832de0
SM
43662013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4367
4368 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4369
c6e8ae77
AC
43702013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4371
4372 * calendar/icalendar.el (icalendar-import-file):
4373 Fix interactive spec. (Bug#15482)
4374
9db13baf
GM
43752013-10-10 Glenn Morris <rgm@gnu.org>
4376
9271e90e
GM
4377 * desktop.el (desktop-save): Default to saving in .emacs.d,
4378 since PWD is no longer in desktop-path by default. (Bug#15319)
4379
9db13baf
GM
4380 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4381 now that text mode has a menu with the same entry.
4382 (menu-bar-text-mode-auto-fill): Remove now unused func.
4383 * textmodes/text-mode.el (text-mode-map):
4384 Use auto-fill help text from menu-bar.el.
4385
a0be396a 43862013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
4387
4388 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4389
2edcd3c7
JL
43902013-10-09 Juri Linkov <juri@jurta.org>
4391
4392 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4393 instead of this-command-keys. Add universal-argument-more and
4394 universal-argument-minus to the list of prefix commands. (Bug#15568)
4395
574411d0
GM
43962013-10-09 Glenn Morris <rgm@gnu.org>
4397
14afa541
GM
4398 * vc/vc-svn.el (vc-svn-create-repo):
4399 Expand paths in file://... url. (Bug#15446)
4400
574411d0
GM
4401 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4402 Add some entries.
4403 (authors): Remove unused local variables.
4404
79804536
SM
44052013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4406
4407 * profiler.el: Create a more coherent calltree from partial backtraces.
4408 (profiler-format): Hide the tail with `invisible' so that C-s can still
4409 find the hidden elements.
4410 (profiler-calltree-depth): Don't recurse so enthusiastically.
4411 (profiler-function-equal): New hash-table-test.
4412 (profiler-calltree-build-unified): New function.
4413 (profiler-calltree-build): Use it.
4414 (profiler-report-make-name-part): Indent the calltree less.
4415 (profiler-report-mode): Add visibility specs for profiler-format.
4416 (profiler-report-expand-entry, profiler-report-toggle-entry):
4417 Expand the whole subtree when provided with a prefix arg.
4418
238150c8
DG
44192013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4420
4421 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4422 iuwu-mod token.
4423 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4424 hanging iuwu-mod token.
4425 (ruby-smie--forward-token): Do not include a dot after a token in
4426 that token.
4427 (ruby-smie--backward-token): Likewise.
4428
b0949cc4
JL
44292013-10-08 Juri Linkov <juri@jurta.org>
4430
4431 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4432 to isearch-other-control-char.
4433 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4434 and isearch-post-command-hook to post-command-hook.
4435 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4436 and isearch-post-command-hook from post-command-hook.
4437 (isearch-unread-key-sequence)
4438 (isearch-reread-key-sequence-naturally)
4439 (isearch-lookup-scroll-key, isearch-other-control-char)
4440 (isearch-other-meta-char): Remove functions.
4441 (isearch-pre-command-hook, isearch-post-command-hook):
4442 New functions based on isearch-other-meta-char rewritten
4443 relying on the new behavior of overriding-terminal-local-map
4444 that does not replace the local keymaps any more. (Bug#15200)
4445
4ed77415
EZ
44462013-10-08 Eli Zaretskii <eliz@gnu.org>
4447
4448 Support menus on text-mode terminals.
4449 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4450 functionality.
4451
4452 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4453
c2de5588
DK
4454 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4455 Move here from mouse.el.
4ed77415
EZ
4456 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4457 and arrow keys.
4458 (tty-menu-navigation-map): New map for TTY menu navigation.
4459
4460 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4461
4462 * frame.el (display-mouse-p): Report text-mode mouse as available
4463 on w32.
4464 (display-popup-menus-p): Report availability if mouse is
4465 available; don't condition on window-system.
4466
4467 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4468 (tty-menu-selected-face): New faces.
4469
b7d5bd82
TL
44702013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4471
06286513
SM
4472 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4473 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4474 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4475 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4476 New constants.
4477 (lisp-mode-variables): New `elisp' argument.
4478 (emacs-lisp-mode): Use it.
4479 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4480 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4481
b7d5bd82
TL
4482 * indent.el: Use lexical-binding.
4483 (indent-region): Add progress reporter.
4484 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4485 last step.
4486 (indent--next-tab-stop): New function to implement this behavior.
4487 (tab-to-tab-stop, move-to-tab-stop): Use it.
4488
44892013-10-08 Teemu Likonen <tlikonen@iki.fi>
4490
4491 * indent.el (indent-rigidly--current-indentation): New function.
4492 (indent-rigidly-map): New var.
4493 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4494
5ea75d23
BG
44952013-10-08 Bastien Guerry <bzg@gnu.org>
4496
f2726fa2 4497 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 4498
cc5da1ec
SM
44992013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4500
8ffa1a0b
SM
4501 * progmodes/perl-mode.el: Use lexical-binding.
4502 Remove redundant :group args.
4503 (perl-nochange): Change default to be closer to other major modes's
4504 standard behavior.
4505 (perl-indent-line): Don't consider text on current line as a
4506 valid beginning of function from which to indent.
4507
f2223371
SM
4508 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4509 with more than one argument (bug#15538).
4510
44256060
SM
4511 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4512
cc5da1ec
SM
4513 * vc/pcvs.el: Use lexical-binding.
4514 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4515 environment of `eval'.
4516 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4517 than a list of expressions. Adjust callers.
4518 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4519
0ea1599d
DG
45202013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4521
4522 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 4523 case of the dot in a chained method call being on the following line.
0ea1599d 4524
da3e5ebb
SM
45252013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4526
2abb4e65
SM
4527 * electric.el (electric-indent-inhibit): New var.
4528 (electric-indent-post-self-insert-function): Use it.
4529 * progmodes/python.el (python-mode): Set it.
4530
d2e0e795
SM
4531 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4532 open braces.
4533
4534 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4535
bdc6b4c8
SM
4536 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4537 (css-mode): Use electric-indent-chars.
4538
da3e5ebb
SM
4539 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4540 (font-lock-beg, font-lock-end): Move before first use.
4541 (nxml-mode): Use syntax-propertize-function.
4542 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4543 (nxml-extend-after-change-region): Remove.
4544 * nxml/xmltok.el: Use lexical-binding.
4545 (xmltok-save): Use `declare'.
4546 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4547 * nxml/nxml-util.el: Use lexical-binding.
4548 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4549 Use `declare'.
4550 * nxml/nxml-ns.el: Use lexical-binding.
4551 (nxml-ns-save): Use `declare'.
4552 (nxml-ns-prefixes-for): Avoid add-to-list.
4553 * nxml/rng-match.el: Use lexical-binding.
4554 (rng--ipattern): Use cl-defstruct.
4555 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4556 (rng-cons-group-after, rng-subst-group-after)
4557 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4558 Use closures instead of `(lambda...).
4559
f8f91d5d
MA
45602013-10-07 Michael Albinus <michael.albinus@gmx.de>
4561
4562 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4563 of BEG and END.
4564
da3e5ebb
SM
4565 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4566 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
4567 (tramp-gvfs-handle-insert-file-contents): Remove function.
4568
da3e5ebb
SM
4569 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4570 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
4571
4572 * net/trampver.el: Update release number.
4573
7ccae3b1
SM
45742013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4575
55ca2c0d
SM
4576 * progmodes/compile.el (compilation-parse-errors):
4577 Use compilation--put-prop.
4578 (compilation--ensure-parse): Check compilation-multiline.
4579
731fc3ae
SM
4580 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4581
da3e5ebb
SM
4582 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4583 lexical-binding.
a5833280 4584
2e7ba2c2
SM
4585 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4586
7ccae3b1
SM
4587 * progmodes/ruby-mode.el: Fix recently added tests.
4588 (ruby-smie-grammar): Add - and +.
4589 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4590 (ruby-smie--backward-id): New functions.
4591 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4592 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4593 any more.
4594
85698d63
LL
45952013-10-07 Leo Liu <sdl.web@gmail.com>
4596
4597 * register.el (register-preview-delay)
4598 (register-preview-functions): New variables.
4599 (register-read-with-preview, register-preview)
4600 (register-describe-oneline): New functions.
4601 (point-to-register, window-configuration-to-register)
4602 (frame-configuration-to-register, jump-to-register)
4603 (number-to-register, view-register, insert-register)
4604 (copy-to-register, append-to-register, prepend-to-register)
4605 (copy-rectangle-to-register): Use register-read-with-preview to
4606 read register. (Bug#15525)
4607
3986af6c
DS
46082013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4609
4610 * net/network-stream.el (network-stream-open-starttls): Don't add
4611 --insecure if it's already present, because that gnutls-cli
4612 rejects getting that parameter twice.
4613
5cd9cda9
DG
46142013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4615
4616 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4617 keyword, too.
4618
da9ea6d9
DG
46192013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4620
4621 * newcomment.el (comment-use-global-state): Change default value
4622 to t, mark obsolete (Bug#15251).
4623 (comment-beginning): In addition to `comment-to-syntax', check the
4624 value of `comment-use-global-state'.
4625
34d1a133
SM
46262013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4627
4628 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4629 (ruby-comment-column): Follow the global default, by default.
4630 (ruby-smie-grammar): Add assignment syntax.
4631 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4632 open-paren, a comma, or a \.
4633 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4634 and line continuations.
4635 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4636 followed by implicit semi-colons. Add rule for string concatenation
4637 and for indentation at BOB.
4638 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4639
4640 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4641 calling next-sexp, since next-token may have skipped chars which
4642 next-sexp doesn't know should be skipped!
4643
6f6ab820
LL
46442013-10-05 Leo Liu <sdl.web@gmail.com>
4645
34d1a133
SM
4646 * progmodes/octave.el (octave-send-region):
4647 Call compilation-forget-errors.
6f6ab820 4648
34ca0f4c
XF
46492013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4650
4651 * vc/vc-svn.el (vc-svn-find-admin-dir):
4652 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4653 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4654 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4655 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4656
a27c1b72
SM
46572013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4658
4659 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4660
258ab3bc
SM
46612013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4662
4663 * subr.el (read-passwd): Hide chars even when called within a context
4664 where after-change-functions is disabled (bug#15501).
4665 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4666 until we removed ourself from overriding-terminal-local-map.
4667
939fb29c
LL
46682013-10-04 Leo Liu <sdl.web@gmail.com>
4669
258ab3bc
SM
4670 * progmodes/octave.el (inferior-octave-mode):
4671 Call compilation-forget-errors.
939fb29c 4672
63bd7f35
XF
46732013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4674
4675 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4676
9e6229fa
MA
46772013-10-04 Michael Albinus <michael.albinus@gmx.de>
4678
4679 * net/secrets.el (secrets-create-collection): Add optional
4680 argument ALIAS. Use proper Label keyword. Append ALIAS as
4681 dbus-call-method argument. (Bug#15516)
4682
1dab32a3
LL
46832013-10-04 Leo Liu <sdl.web@gmail.com>
4684
4685 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4686 (inferior-octave-compilation-font-lock-keywords): New variables.
4687 (compilation-error-regexp-alist)
4688 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4689 (inferior-octave-mode): Use compilation-shell-minor-mode.
4690
6cad7ba3
JS
46912013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4692
4693 * minibuffer.el (completion--replace): Be careful that `end' might be
4694 a marker.
4695
acbadd00
DU
46962013-10-03 Daiki Ueno <ueno@gnu.org>
4697
4698 Add support for package signature checking.
4699 * emacs-lisp/package.el (url-http-file-exists-p)
4700 (epg-make-context, epg-context-set-home-directory)
4701 (epg-verify-string, epg-context-result-for)
4702 (epg-signature-status, epg-signature-to-string)
4703 (epg-check-configuration, epg-configuration)
4704 (epg-import-keys-from-file): Declare.
4705 (package-check-signature): New user option.
4706 (package-unsigned-archives): New user option.
4707 (package-desc): Add `signed' field.
4708 (package-load-descriptor): Set `signed' field if .signed file exists.
4709 (package--archive-file-exists-p): New function.
4710 (package--check-signature): New function.
4711 (package-install-from-archive): Check package signature.
4712 (package--download-one-archive): Check archive signature.
4713 (package-delete): Remove .signed file.
4714 (package-import-keyring): New command.
4715 (package-refresh-contents): Import default keyring.
4716 (package-desc-status): Add "unsigned" status.
4717 (describe-package-1, package-menu--print-info)
4718 (package-menu-mark-delete, package-menu--find-upgrades)
4719 (package-menu--status-predicate): Support "unsigned" status.
4720
adf2aa61
SM
47212013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4722
4723 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4724 the new compilation scheme using the new byte-codes.
4725
4726 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4727 (byte-pophandler): New byte codes.
4728 (byte-goto-ops): Adjust accordingly.
4729 (byte-compile--use-old-handlers): New var.
4730 (byte-compile-catch): Use new byte codes depending on
4731 byte-compile--use-old-handlers.
4732 (byte-compile-condition-case--old): Rename from
4733 byte-compile-condition-case.
4734 (byte-compile-condition-case--new): New function.
4735 (byte-compile-condition-case): New function that dispatches depending
4736 on byte-compile--use-old-handlers.
4737 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4738 when we can.
4739
4740 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4741 Optimize under `condition-case' and `catch' if
4742 byte-compile--use-old-handlers is nil.
4743 (disassemble-offset): Handle new bytecodes.
4744
328a8179
SM
47452013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4746
4747 * subr.el (error): Use `declare'.
4748 (decode-char, encode-char): Use advertised-calling-convention instead
4749 of the docstring to discourage use of the `restriction' arg.
4750
15a1e936
DU
47512013-10-03 Daiki Ueno <ueno@gnu.org>
4752
4753 * epg.el (epg-verify-file): Add a comment saying that it does not
4754 notify verification error as a return value nor a signal.
4755 (epg-verify-string): Ditto.
4756
376f862a
KR
47572013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4758
4759 * progmodes/compile.el (compilation-start): Try globbing the arg to
4760 `cd' (bug#15417).
4761
a2f93a5f
MA
47622013-10-02 Michael Albinus <michael.albinus@gmx.de>
4763
4764 Sync with Tramp 2.2.8.
4765
4766 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4767 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4768 * net/trampver.el: Update release number.
4769
0daa0804
JD
47702013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4771
4772 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4773 and default-process-coding-system for darwin only.
4774
abd1ae34
SM
47752013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4776
4777 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4778
be4e325d
MH
47792013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4780
4781 * vc/vc-git.el (vc-git-grep): Disable pager.
4782
e9155c4a
DG
47832013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4784
494e898b
DG
4785 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4786 Use :url instead of :homepage, as per
4787 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4788
e9155c4a
DG
4789 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4790 non-nil, use `syntax-ppss' (Bug#15251).
4791
481a8e0f
RS
47922013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4793
be4e325d
MH
4794 * progmodes/octave.el (inferior-octave-startup-file):
4795 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 4796
056453c6
DG
47972013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4798
be4e325d
MH
4799 * emacs-lisp/package.el (package-desc-from-define):
4800 Accept additional arguments as plist, convert them to an alist and store
4801 them in the `extras' slot.
056453c6
DG
4802 (package-generate-description-file): Convert extras alist back to
4803 plist and append to the `define-package' form arguments.
4804 (package--alist-to-plist): New function.
4805 (package--ac-desc): Add `extras' slot.
4806 (package--add-to-archive-contents): Check if the archive-contents
4807 vector is long enough, and if it is, pass its `extras' slot value
4808 to `package-desc-create'.
4809 (package-buffer-info): Call `lm-homepage', pass the returned value
4810 to `package-desc-from-define'.
4811 (describe-package-1): Render the homepage button (Bug#13291).
4812
be4e325d
MH
4813 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4814 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 4815
832966e5
JD
48162013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4817
4818 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4819 and default-process-coding-system to utf-8-unix (Bug#15402).
4820
6cfe977d
XF
48212013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4822
4823 * subr.el (looking-back): Do not recommend using looking-back.
4824
38de11bd
AM
48252013-09-28 Alan Mackenzie <acm@muc.de>
4826
4827 Fix indentation/fontification of Java enum with "implements".
4828
4829 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4830 regexp which matches "implements", etc., in Java.
4831 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4832 specifier clauses coming after "enum".
4833 * progmodes/cc-fonts.el (c-font-lock-declarations)
4834 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4835 after "enum".
4836
1610938f
JD
48372013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4838
4839 * faces.el (region): Change ns_selection_color to
4840 ns_selection_fg_color, add ns_selection_bg_color.
4841
e090f499
LL
48422013-09-28 Leo Liu <sdl.web@gmail.com>
4843
4d2e94d1
LL
4844 * progmodes/octave.el (inferior-octave-completion-table)
4845 (inferior-octave-completion-at-point): Minor tweaks.
4846
e090f499
LL
4847 * textmodes/ispell.el (ispell-lookup-words): Rename from
4848 lookup-words. (Bug#15460)
4849 (lookup-words): Obsolete.
4850 (ispell-complete-word, ispell-command-loop): All uses changed.
4851
7e138a62
RS
48522013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4853
a12bf61e 4854 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
4855 (octave-mode-menu): Add octave-send-buffer.
4856 (octave-send-buffer): New function.
4857
5af5ed08
RS
48582013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4859
a12bf61e 4860 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
4861 octave-lookfor.
4862 (octave-mode-menu): Add octave-lookfor.
4863 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4864 octave-lookfor.
4865 (octave-lookfor): New function.
4866
3b7b2692
SM
48672013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4868
4869 * emacs-lisp/cl-macs.el:
4870 (cl--loop-destr-temps): Remove.
4871 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4872 its convention.
4873 (cl--loop-set-iterator-function): New function.
4874 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4875 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4876 Bind `it' with `let' instead of substituting it with `cl-subst'.
4877 (cl--unused-var-p): New function.
4878 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4879 Eliminate some unused variable warnings (bug#15326).
4880
529fb53f
TH
48812013-09-27 Tassilo Horn <tsdh@gnu.org>
4882
4883 * doc-view.el (doc-view-scale-reset): Rename from
4884 `doc-view-reset-zoom-level'.
4885 (doc-view-scale-adjust): New command.
4886 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4887 `doc-view-scale-adjust'.
4888
0550c95a
TH
48892013-09-26 Tassilo Horn <tsdh@gnu.org>
4890
4891 * doc-view.el (doc-view-reset-zoom-level): New command.
4892 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4893 zoom commands (bug#15466).
4894
6950f152
KH
48952013-09-26 Kenichi Handa <handa@gnu.org>
4896
4897 * international/quail.el (quail-help): Make it not a command.
4898
39587580
LL
48992013-09-26 Leo Liu <sdl.web@gmail.com>
4900
4901 * minibuffer.el (completion-all-sorted-completions): Make args
4902 optional as they are.
4903
00578659
DC
49042013-09-25 Daniel Colascione <dancol@dancol.org>
4905
4906 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4907 specs are and that they're not evaluated.
4908
0c173878
SS
49092013-09-24 Sam Steingold <sds@gnu.org>
4910
4911 * midnight.el (clean-buffer-list-kill-regexps)
4912 (clean-buffer-list-kill-buffer-names): Update for the new Man
4913 buffer naming which includes the object name.
4914
84998447
SM
49152013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4916
4917 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4918 (eshell-parse-command, eshell-parse-pipeline): Use it since
4919 eshell-separate-commands requires a dynamic scoped var.
4920 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4921
33215353
LL
49222013-09-23 Leo Liu <sdl.web@gmail.com>
4923
4924 * autoinsert.el (auto-insert-alist): Make the value of
4925 lexical-binding match its file setting.
4926
57b16162
JB
49272013-09-23 Juanma Barranquero <lekktu@gmail.com>
4928
c8af4e67
JB
4929 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4930
57b16162
JB
4931 * autoarg.el (autoarg-kp-digit-argument):
4932 * electric.el (Electric-command-loop):
4933 * kmacro.el (kmacro-step-edit-insert):
4934 Do not set universal-argument-num-events.
4935
7186ba60
LL
49362013-09-22 Leo Liu <sdl.web@gmail.com>
4937
4938 * files.el (interpreter-mode-alist): Add octave.
4939
ece15004
AM
49402013-09-21 Alan Mackenzie <acm@muc.de>
4941
4942 C++: fontify identifier in declaration following "public:" correctly.
4943 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4944 to match "public", etc.
4945 (c-decl-prefix-re): Add ":" into the C++ value.
4946 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4947 bit. Add a check for a ":" preceded by "public", etc.
4948
75d83e22
EZ
49492013-09-21 Eli Zaretskii <eliz@gnu.org>
4950
4951 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4952 recognized by GDB 7.5 and later.
4953
d052d3bd
XF
49542013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4955
4956 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4957
31dca772
R
49582013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4959
4960 * subr.el (internal--call-interactively): New const.
4961 (called-interactively-p): Use it (bug#3984).
4962
98ccf24e
XF
49632013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4964
4965 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
4966 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4967 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 4968
c39cc7d1
SM
49692013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4970
4971 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4972 (eshell-ls-orig-insert-directory): Remove.
4973 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4974 (eshell-ls-use-in-dired): Use advice-add/remove.
4975 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4976 Add `orig-fun' arg for use in :around advice.
4977 Make it check (redundantly) eshell-ls-use-in-dired.
4978
9a0289a2
GM
49792013-09-19 Glenn Morris <rgm@gnu.org>
4980
a2c501b8
GM
4981 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4982
c440407a
GM
4983 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4984
9a0289a2
GM
4985 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4986
85e05915
MA
49872013-09-19 Michael Albinus <michael.albinus@gmx.de>
4988
4989 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4990 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4991 (tramp-get-remote-python): New defuns.
4992 (tramp-get-remote-uid-with-perl)
4993 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4994 contributed by yary <not.com@gmail.com> (tiny change).
4995 (tramp-get-remote-uid-with-python)
4996 (tramp-get-remote-gid-with-python): New defuns. Python code
4997 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4998 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4999
ce503312
GM
50002013-09-19 Glenn Morris <rgm@gnu.org>
5001
f7544773
GM
5002 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5003
72fd2877
GM
5004 * eshell/em-unix.el (eshell-remove-entries):
5005 Rename argument to avoid name-clash with global `top-level'.
5006
336b5a56
GM
5007 * eshell/esh-proc.el (eshell-kill-process-function):
5008 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5009 (eshell-reset-after-proc): Remove unused arg `proc'.
5010
57a3a53d
GM
5011 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5012 (directory-files-and-attributes): Mark unused arg.
5013
3261d4af
GM
5014 * eshell/em-unix.el (eshell-remove-entries):
5015 Remove unused arg `path'. Update callers.
5016
8e51b5d0
GM
5017 * eshell/em-hist.el (eshell-hist-parse-arguments):
5018 Remove unused arg `silent'. Update callers.
5019
ce503312
GM
5020 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5021 Fix (f)boundp mix-up.
5022
5023 * eshell/em-smart.el (eshell-smart-scroll-window)
5024 (eshell-disable-after-change):
336b5a56 5025 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 5026
ee3ce8a7
AM
50272013-09-18 Alan Mackenzie <acm@muc.de>
5028
5029 Fix fontification of type when followed by "const".
5030 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5031 "known" types from fontification.
5032
ec9177ba
GM
50332013-09-18 Glenn Morris <rgm@gnu.org>
5034
7bb3e768
GM
5035 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5036 (chart-face-list): Drop Emacsen without display-color-p.
5037
5148da15
GM
5038 * net/eww.el (libxml-parse-html-region): Declare.
5039 (eww-display-html): Explicit error if no libxml2 support.
5040
2f68e157
GM
5041 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5042
9019d095
GM
5043 * image.el (image-type-from-buffer, image-multi-frame-p):
5044 Remove --without-x warning/error.
67645389 5045
5f30349b 5046 * mouse.el (mouse-yank-primary):
45069b2e 5047 * term.el (term-mouse-paste):
5f30349b
GM
5048 Reorder to silence --without-x compilation.
5049
cd8edbbe
GM
5050 * mpc.el (doc-view-mode): Silence --without-x compilation.
5051
8a78544e
GM
5052 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5053 Silence --without-x compilation.
5054
12679bfd
GM
5055 * progmodes/gud.el (gud-find-file, gud-mode):
5056 Silence --without-x compilation.
5057 (tooltip-mode): Declare.
30810a05 5058
f0047cb9
GM
5059 * wdired.el (dired-backup-overwrite): Remove declaration.
5060 (wdired-mode-map): Add doc string.
5061
e740f9d2
GM
5062 * custom.el (x-get-resource): Declare.
5063
92d77c89
GM
5064 * eshell/em-glob.el (ange-cache):
5065 * eshell/em-unix.el (ange-cache): Declare.
5066
76e69577
GM
5067 * faces.el (x-display-list, x-open-connection, x-get-resource):
5068 Declare.
7e58af4b
GM
5069
5070 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5071 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5072 Declare.
76e69577 5073
4bd4c0af 5074 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 5075
ffb82dbd
GM
5076 * net/gnutls.el (gnutls-log-level): Declare.
5077
986ed135
GM
5078 * net/shr.el (image-size, image-animate): Declare.
5079
e740f9d2
GM
5080 * simple.el (font-info): Declare.
5081
d2f3e9f8
GM
5082 * subr.el (x-popup-dialog): Declare.
5083
047a1a4c
GM
5084 * term/common-win.el (x-select-enable-primary)
5085 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5086 Declare.
5087
f4a1d572
GM
5088 * term/ns-win.el (x-handle-args): Declare.
5089
e843de77
GM
5090 * term/x-win.el (x-select-enable-clipboard): Declare.
5091
5fa89513
GM
5092 * term/w32-win.el (create-default-fontset): Declare.
5093
38702b5b
GM
5094 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5095 Declare.
5096
e740f9d2
GM
5097 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5098 (fit-frame-to-buffer): Explicit error if --without-x.
5099 (mouse-autoselect-window-select): Silence compiler.
5100
49a053fc
GM
5101 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5102
5103 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5104 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5105 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 5106 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
5107 Remove unused local variables.
5108
5109 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5110
ec9177ba
GM
5111 * textmodes/two-column.el: Make 2C-split work for --without-x.
5112 (scroll-bar-columns): Autoload.
5113 (top-level): Require fringe when compiling.
5114
9f25cb77
LL
51152013-09-18 Leo Liu <sdl.web@gmail.com>
5116
5117 * subr.el (add-hook): Robustify to handle closure as well.
5118
2b42da98
GM
51192013-09-17 Glenn Morris <rgm@gnu.org>
5120
5121 * simple.el (messages-buffer-mode-map): Unbind "g".
5122
e8b66a6a
SM
51232013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5124
9c0ad4f7
SM
5125 * help-mode.el (help-mode-finish): Use derived-mode-p.
5126 Remove obsolete highlighting.
5127
7a806dfb
SM
5128 * play/life.el (life-mode): Use define-derived-mode. Derive from
5129 special-mode.
5130 (life): Let-bind inhibit-read-only.
5131 (life-setup): Avoid `setq'. Use `life-mode'.
5132
96dbf5a8
SM
5133 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5134 which should not be needed any more.
5135 (package-menu-refresh, package-menu-describe-package): Use user-error.
5136
e8b66a6a
SM
5137 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5138 (eshell-post-rewrite-command-hook): Make obsolete.
5139 (eshell-parse-command): Simplify.
5140 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5141 (eshell--cmd): Declare.
5142 (eshell-parse-pipeline): Remove unused var `final-p'.
5143 Pass a dynvar to eshell-post-rewrite-command-hook.
5144 Implement the new eshell-post-rewrite-command-function.
5145 (eshell-invoke-directly): Remove unused arg `input'.
5146 * eshell/esh-io.el (eshell-io-initialize):
5147 Use eshell-post-rewrite-command-function (bug#15399).
5148 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5149 adjust to new calling convention.
5150 (eshell-create-handles): Rename args to avoid clashing with dynvar
5151 `standard-output'.
5152
90582f05
GM
51532013-09-17 Glenn Morris <rgm@gnu.org>
5154
5155 * simple.el (messages-buffer-mode): New major mode.
5156 (messages-buffer): New function.
5157 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5158 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 5159 (ert-run-test): Use `messages-buffer' function.
90582f05 5160 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
5161 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5162 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 5163
39eb0cb5 51642013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
5165
5166 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5167
1d42e5b6 5168 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 5169
70568a90
SM
51702013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5171
504a0381
SM
5172 * icomplete.el (icomplete-in-buffer): New var.
5173 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5174 vars and replace them with functions.
5175 (icomplete-minibuffer-setup): Adjust accordingly.
5176 (icomplete--completion-table, icomplete--completion-predicate)
5177 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5178 New functions.
5179 (icomplete-forward-completions, icomplete-backward-completions)
5180 (icomplete-simple-completing-p, icomplete-exhibit)
5181 (icomplete-completions): Use them.
5182 (icomplete--in-region-buffer): New var.
5183 (icomplete--in-region-setup): New function.
5184 (icomplete-mode): Use it.
5185
70568a90
SM
5186 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5187 (bug#15379).
5188 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5189 return args and options.
5190 (eshell-eval-using-options): Use the new return value of
5191 eshell--do-opts to set the options's vars in their scope.
5192 (eshell--set-option): Rename from eshell-set-option.
5193 Add arg `opt-vals'.
5194 (eshell--process-option): Rename from eshell-process-option.
5195 Add arg `opt-vals'.
5196 (eshell--process-args): Use an `opt-vals' alist to store the options's
5197 values during their processing and return them additionally to the
5198 remaining args.
5199
578c21bc
DG
52002013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5201
5202 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5203 continuation character an operator, as far as indentation is
5204 concerned (Bug#15369).
5205
c089653d
MR
52062013-09-15 Martin Rudalics <rudalics@gmx.at>
5207
5208 * window.el (window--state-put-2): Don't process buffer state
5209 when buffer doesn't exist any more (Bug#15382).
5210
1e53bb4b
GM
52112013-09-15 Glenn Morris <rgm@gnu.org>
5212
30753242
GM
5213 * eshell/em-unix.el (eshell/rm):
5214 Make -f ignore missing files. (Bug#15373)
5215
1e53bb4b
GM
5216 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5217 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5218 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5219
0d8863b3
GM
52202013-09-14 Glenn Morris <rgm@gnu.org>
5221
5222 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5223
d3fc6549
GM
52242013-09-13 Glenn Morris <rgm@gnu.org>
5225
5226 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5227 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5228
fcd42c11
DA
52292013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5230
5231 * frame.el (x-focus-frame): Mark as declared in frame.c.
5232
7830899f
SM
52332013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5234
5235 * ls-lisp.el: Use advice-add.
5236 (original-insert-directory): Remove.
5237 (ls-lisp--insert-directory): Rename from insert-directory; add
5238 `orig-fun' argument.
5239 (insert-directory): Advise.
5240
84387cd2
EZ
52412013-09-13 Eli Zaretskii <eliz@gnu.org>
5242
5243 * term.el (term-emulate-terminal): Decode the command string
5244 before passing it to term-command-hook. (Bug#15337)
5245
35ffc6ba
GM
52462013-09-13 Glenn Morris <rgm@gnu.org>
5247
5c3f9bcc
GM
5248 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5249
2ada368a
GM
5250 * eshell/esh-ext.el (eshell-search-path): Declare.
5251
fcef2e13
GM
5252 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5253 Otherwise an error occurs if eshell-dirs module not loaded.
5254
35ffc6ba
GM
5255 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5256
35c3d36e
MA
52572013-09-13 Michael Albinus <michael.albinus@gmx.de>
5258
5259 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5260 `tramp-check-proper-host'. Check for a valid method name.
5261
5262 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5263 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5264 * net/tramp-sh.el (tramp-maybe-open-connection):
5265 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5266
5267 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5268 also for hash values.
5269
ae5e4c48
SM
52702013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5271
379add74
SM
5272 * term/ns-win.el (parameters): Don't declare as dynamic.
5273 (before-make-frame-hook): Don't add ineffective function.
5274
ae5e4c48
SM
5275 * eshell/*.el: Use lexical-binding (bug#15231).
5276
b5623270
KH
52772013-09-12 Kenichi Handa <handa@gnu.org>
5278
ae5e4c48 5279 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 5280
30213927
GM
52812013-09-12 Glenn Morris <rgm@gnu.org>
5282
be94d713 5283 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 5284 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 5285
44915370
GM
5286 * subr.el (do-after-load-evaluation): Also give compiler warnings
5287 when obsolete files are used (except by obsolete files).
5288
a6ae021f
GM
5289 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5290 in the status output, assume `filename' is the first. (Bug#15322)
5291
40e64f0c
GM
5292 * vc/vc.el (vc-deduce-fileset): Doc fix.
5293
16d9f896
GM
5294 * calc/calc-help.el (Info-goto-node):
5295 * progmodes/cperl-mode.el (Info-find-node):
5296 * vc/ediff.el (Info-goto-node): Update declarations.
5297
dea01c6e
GM
5298 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5299
759880bf 5300 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
5301 (vc-bzr-pull): Require vc-dispatcher.
5302 * vc/vc-git.el (vc-compilation-mode): Declare.
5303 (vc-git-pull): Require vc-dispatcher.
5304
08d66420
GM
5305 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5306
30b626e9
GM
5307 * progmodes/octave.el (help-button-action): Declare.
5308
8c05cb10
GM
5309 * shell.el (shell-directory-tracker): Output error as a message
5310 rather than just returning it as a string.
5311 (shell-process-pushd): Remove useless use of message.
5312
30213927
GM
5313 * dframe.el (dframe-timer-fn):
5314 * files.el (dir-locals-read-from-file):
5315 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5316 (mpc-format):
5317 * reveal.el (reveal-post-command):
5318 * saveplace.el (load-save-place-alist-from-file):
5319 * shell.el (shell-resync-dirs):
5320 * w32-common-fns.el (x-get-selection-value):
5321 * emacs-lisp/copyright.el (copyright-find-copyright):
5322 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5323 * emulation/tpu-edt.el (tpu-copy-keyfile):
5324 * play/bubbles.el (bubbles--mark-neighbourhood):
5325 * progmodes/executable.el
5326 (executable-make-buffer-file-executable-if-script-p):
5327 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5328
d3b049e6
SM
53292013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5330
170266d0
SM
5331 Cleanup Eshell to rely less on dynamic scoping.
5332 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5333 last-value, and ext-command here. Bind `args' closer to `body'.
5334 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5335 (eshell--args): Declare new dynamic var.
5336 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5337 last-value, and ext-command. Pass `args' to `body'.
5338 (eshell-process-args): Bind eshell--args.
5339 (eshell-set-option): Use eshell--args.
5340 * eshell/eshell.el (eshell): Use derived-mode-p.
5341 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5342 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5343 (eshell-glob-function): Declare.
5344 * eshell/esh-util.el: Require cl-lib.
5345 (eshell-read-hosts-file): Avoid add-to-list.
5346 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5347 `err'.
5348 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5349 Declare.
5350 (eshell/diff): Remove unused var `err'.
5351 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5352 `killflag'.
5353 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5354 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5355 first use.
5356 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5357 Move declaration before first use.
5358 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
5359 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5360 rely on cl-return.
5361
56834f3b
GM
53622013-09-12 Glenn Morris <rgm@gnu.org>
5363
5364 * term/ns-win.el (global-map): Remove binding for ispell-next,
5365 deleted 1999-05-29. (Bug#15357)
5366
5c91a2b8
GM
53672013-09-11 Glenn Morris <rgm@gnu.org>
5368
da712f22
GM
5369 * echistory.el (electric-command-history): Remove call to deleted func.
5370
512e4cdc
GM
5371 * play/landmark.el (landmark-mode): Fix typos.
5372
d3506ca5
GM
5373 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5374 Check cvs-sort-ignore-file is bound.
5375
5c91a2b8
GM
5376 * savehist.el: No need for cl when compiling on Emacs.
5377
feeff482
SM
53782013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5379
656bd483
SM
5380 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5381 (bug#15338).
d3b049e6
SM
5382 (eshell-self-insert-command, eshell-send-invisible):
5383 Remove unused argument.
656bd483
SM
5384 (eshell-handle-control-codes): Remove unused var `orig'.
5385 Avoid delete-backward-char.
5386
feeff482
SM
5387 * files.el (set-auto-mode): Simplify a bit further.
5388
2a08047a
GM
53892013-09-11 Glenn Morris <rgm@gnu.org>
5390
5391 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5392 (set-auto-mode): Don't regexp-quote elements.
5393 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5394 * progmodes/cc-mode.el (interpreter-mode-alist):
5395 * progmodes/ruby-mode.el (interpreter-mode-alist):
5396 Revert previous change.
5397
34675540
SM
53982013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5399
1b3b87df
SM
5400 * play/snake.el (snake-mode):
5401 * play/mpuz.el (mpuz-mode):
5402 * play/landmark.el (lm-mode):
5403 * play/blackbox.el (blackbox-mode):
5404 * play/5x5.el (5x5-mode):
5405 * obsolete/options.el (Edit-options-mode):
5406 * net/quickurl.el (quickurl-list-mode):
5407 * net/newst-treeview.el (newsticker-treeview-mode):
5408 * mail/rmailsum.el (rmail-summary-mode):
5409 * mail/mspools.el (mspools-mode):
5410 * locate.el (locate-mode):
5411 * ibuffer.el (ibuffer-mode):
5412 * emulation/ws-mode.el (wordstar-mode):
5413 * emacs-lisp/debug.el (debugger-mode):
5414 * array.el (array-mode):
5415 * net/eudc.el (eudc-mode): Use define-derived-mode.
5416 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5417 Move initialization into declaration.
5418 (mairix-searches-mode): Use define-derived-mode.
5419 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5420 (eudc-edit-hotlist): Use dolist.
5421 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5422 (Man-mode): Use define-derived-mode.
5423 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5424 (Info-edit-mode): Use define-derived-mode.
5425 (Info-cease-edit): Use Info-mode.
5426 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5427 into declaration.
5428 (eshell-mode): Use define-derived-mode.
5429 * chistory.el (command-history-mode-map): Rename from
5430 command-history-map.
5431 (command-history-mode): Use define-derived-mode.
da712f22 5432 (Command-history-setup): Remove function.
1b3b87df
SM
5433 * calc/calc.el (calc-trail-mode-map): New var.
5434 (calc-trail-mode): Use define-derived-mode.
5435 (calc-trail-buffer): Set calc-main-buffer manually.
5436 * bookmark.el (bookmark-insert-annotation): New function.
5437 (bookmark-edit-annotation): Use it.
5438 (bookmark-edit-annotation-mode): Make it a proper major mode.
5439 (bookmark-send-edited-annotation): Use derived-mode-p.
5440 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5441 closer to its ideal place. Use \' to match EOS.
5442
34675540
SM
5443 * profiler.el (profiler-calltree-find): Use function-equal.
5444
6a5c15d9
GM
54452013-09-10 Glenn Morris <rgm@gnu.org>
5446
1af4c220
GM
5447 * files.el (interpreter-mode-alist): Convert to regexps.
5448 (set-auto-mode): Adapt for this. (Bug#15306)
5449 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5450 Comment out unused variable.
5451 * progmodes/cc-mode.el (interpreter-mode-alist):
5452 * progmodes/python.el (interpreter-mode-alist):
5453 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5454 * progmodes/sh-script.el (sh-set-shell):
5455 No longer use interpreter-mode-alist to get list of shells.
5456
6a5c15d9
GM
5457 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5458
8c27f5ff
SM
54592013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5460
02ef6c1a 5461 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 5462 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
5463 Bind switch-frame explicitly. Replace universal-argument-minus with
5464 a conditional binding.
5465 (universal-argument-num-events, saved-overriding-map): Remove.
5466 (restore-overriding-map): Remove.
5467 (universal-argument--mode): Rename from save&set-overriding-map,
5468 and rewrite.
5469 (universal-argument, universal-argument-more, negative-argument)
5470 (digit-argument): Adjust accordingly.
5471 (universal-argument-minus): Remove.
5472 (universal-argument-other-key): Remove.
5473
8c27f5ff
SM
5474 * subr.el (with-demoted-errors): Add `format' argument.
5475
6480194c
MA
54762013-09-10 Michael Albinus <michael.albinus@gmx.de>
5477
5478 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5479 `tramp-cleanup-connection'.
5480
5481 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5482 parameters KEEP-DEBUG and KEEP-PASSWORD.
5483
5484 * net/tramp.el (tramp-file-name-handler):
5485 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5486 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5487 (tramp-maybe-open-connection):
8c27f5ff
SM
5488 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5489 Use `tramp-cleanup-connection'.
6480194c 5490
8c27f5ff
SM
5491 * net/tramp-sh.el (tramp-maybe-open-connection):
5492 Catch 'uname-changed inside the progress reporter.
6480194c 5493
e5e916d8
GM
54942013-09-10 Glenn Morris <rgm@gnu.org>
5495
9a2c9b47
GM
5496 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5497
e5e916d8
GM
5498 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5499 returns "alternate access method" in mode (eg "-rw-r--r--.").
5500
144e38fe
GM
55012013-09-08 Glenn Morris <rgm@gnu.org>
5502
5503 * saveplace.el (load-save-place-alist-from-file):
5504 Demote errors. (Bug#15305)
5505
af9ff9e8
MA
55062013-09-08 Michael Albinus <michael.albinus@gmx.de>
5507
5508 Improve compatibility with older Emacsen, and XEmacs.
5509
5510 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5511 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
5512 (with-tramp-progress-reporter): Do not let-bind `result'.
5513 This yields to scoping errors in XEmacs.
af9ff9e8
MA
5514 (tramp-handle-make-auto-save-file-name): New function, moved from
5515 tramp-sh.el.
5516
5517 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5518 for `make-auto-save-file-name'.
8c27f5ff
SM
5519 (tramp-adb--gnu-switches-to-ash):
5520 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5521
5522 * net/tramp-cache.el (tramp-cache-print): Call
5523 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5524
5525 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5526 bound. It isn't for XEmacs.
5527
8c27f5ff
SM
5528 * net/tramp-compat.el (tramp-compat-copy-file):
5529 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
5530 (tramp-compat-replace-regexp-in-string): New defun.
5531
5532 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5533 for `make-auto-save-file-name'.
5534 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5535 `copy-file'.
5536 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5537 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5538 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5539
8c27f5ff
SM
5540 * net/tramp-gw.el (tramp-gw-open-network-stream):
5541 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 5542
8c27f5ff
SM
5543 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5544 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
5545 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5546 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
5547 (tramp-sh-file-inotifywait-process-filter):
5548 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5549 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5550
5551 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5552 for `make-auto-save-file-name'.
8c27f5ff
SM
5553 (tramp-smb-handle-copy-directory):
5554 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5555 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5556 (tramp-smb-handle-copy-file): Improve error message.
5557 (tramp-smb-handle-rename-file): Rename directly only in case
5558 `newname' does not exist yet. This is a restriction of smbclient.
5559 (tramp-smb-maybe-open-connection): Rerun the function only when
5560 `auth-sources' is non-nil.
5561
0ca754d0
KH
55622013-09-08 Kenichi Handa <handa@gnu.org>
5563
e0eb0550 5564 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
5565 more characters.
5566
e8dd0787
AM
55672013-09-07 Alan Mackenzie <acm@muc.de>
5568
5569 Correctly fontify Java class constructors.
5570 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5571 in Java Mode.
5572 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
5573 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5574 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
5575 "typeless" declaration there.
5576
f2f248e7
RW
55772013-09-07 Roland Winkler <winkler@gnu.org>
5578
5579 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5580 field subtitle for entry type book.
5581
67982e2b
SM
55822013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5583
5584 * minibuffer.el: Make minibuffer-complete call completion-in-region
5585 rather than other way around.
5586 (completion--some, completion-pcm--find-all-completions):
5587 Don't delay signals when debugging.
5588 (minibuffer-completion-contents): Beware fields within the
5589 minibuffer contents.
5590 (completion-all-sorted-completions): Use defvar-local.
5591 (completion--do-completion, completion--cache-all-sorted-completions)
5592 (completion-all-sorted-completions, minibuffer-force-complete):
5593 Add args `beg' and `end'.
5594 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5595 (minibuffer-complete): Use completion-in-region.
5596 (completion-complete-and-exit): New fun, extracted from
5597 minibuffer-complete-and-exit.
5598 (minibuffer-complete-and-exit): Use it.
5599 (completion--complete-and-exit): Rename from
5600 minibuffer--complete-and-exit.
5601 (completion-in-region--single-word): New function, extracted from
5602 minibuffer-complete-word.
5603 (minibuffer-complete-word): Use it.
5604 (display-completion-list): Make `common-substring' argument obsolete.
5605 (completion--in-region): Call completion--in-region-1 instead of
5606 minibuffer-complete.
5607 (completion-help-at-point): Pass boundaries to
5608 minibuffer-completion-help as args rather than via an overlay.
5609 (completion-pcm--string->pattern): Use `any-delim'.
5610 (completion-pcm--optimize-pattern): New function.
5611 (completion-pcm--pattern->regex): Handle `any-delim'.
5612 * icomplete.el (icomplete-forward-completions)
5613 (icomplete-backward-completions, icomplete-completions):
5614 Adjust calls to completion-all-sorted-completions and
5615 completion--cache-all-sorted-completions.
5616 (icomplete-with-completion-tables): Default to t.
5617 * emacs-lisp/crm.el (crm--current-element): Rename from
5618 crm--select-current-element. Don't put an overlay but return the
5619 boundaries instead.
5620 (crm--completion-command): Take two new args to bind to the boundaries.
5621 (crm-completion-help): Adjust accordingly.
5622 (crm-complete): Use completion-in-region.
5623 (crm-complete-word): Use completion-in-region--single-word.
5624 (crm-complete-and-exit): Use completion-complete-and-exit.
5625
e17d94a5
SM
56262013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5627
5628 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5629 than dynamically.
5630
96727100
JL
56312013-09-06 Juri Linkov <juri@jurta.org>
5632
5633 * info.el (Info-display-images-node): When image file doesn't exist
5634 display text version of the image if it's provided in the Info file.
5635 Otherwise, display the location of missing image from SRC attribute.
5636 Add help-echo text property from ALT attribute. (Bug#15279)
5637
86cf7329
SM
56382013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5639
5640 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5641 (edit-abbrevs-mode): Use define-derived-mode.
5642
5643 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5644 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5645 that it's defined.
5646 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5647 Use define-derived-mode.
5648
5649 * epg.el (epg-start-encrypt): Minor CSE simplification.
5650
816244a2
WX
56512013-09-06 William Xu <william.xwl@gmail.com>
5652
5653 * arc-mode.el: Add support for 7za (bug#15264).
5654 (archive-7z-program): New var.
5655 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5656 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5657 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5658
1486fa31
MA
56592013-09-06 Michael Albinus <michael.albinus@gmx.de>
5660
5661 Remove URL syntax.
5662
5663 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5664 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5665 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5666 (tramp-postfix-host-format, tramp-file-name-regexp)
5667 (tramp-completion-file-name-regexp)
5668 (tramp-completion-dissect-file-name)
5669 (tramp-handle-substitute-in-file-name): Remove 'url case.
5670 (tramp-file-name-regexp-url)
5671 (tramp-completion-file-name-regexp-url): Remove constants.
5672
39785324
GM
56732013-09-06 Glenn Morris <rgm@gnu.org>
5674
5675 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5676
1f896cb7
DG
56772013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5678
5679 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5680 keywords" below "here-doc beginnings" (Bug#15270).
5681
c0458e0b
SM
56822013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5683
5684 * subr.el (pop): Use `car-safe'.
5685 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5686 to detect unused `pop' return value.
5687
5688 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5689 var `block-regexp'.
5690 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5691 (python-fill-string): Remove unused var `marker'.
5692 (python-skeleton-add-menu-items): Remove unused var `items'.
5693
5694 * international/mule-cmds.el: Require CL.
5695 (find-coding-systems-for-charsets): Avoid add-to-list.
5696 (sanitize-coding-system-list): New function, extracted from
5697 select-safe-coding-system-interactively.
5698 (select-safe-coding-system-interactively): Use it.
5699 (read-input-method-name): Accept symbols for `default'.
5700
5701 * emacs-lisp/advice.el (defadvice): Add indent rule.
5702
6c42fc3e
DH
57032013-09-05 Daniel Hackney <dan@haxney.org>
5704
5705 * dired-x.el:
5706 * net/ange-ftp.el:
5707 * net/browse-url.el:
5708 * net/dbus.el:
5709 * net/eudc.el:
5710 * net/eudcb-ldap.el:
5711 * net/eww.el:
5712 * net/imap.el:
5713 * printing.el:
5714 * vc/ediff-diff.el:
5715 * vc/ediff-init.el:
5716 * vc/ediff-merg.el:
5717 * vc/ediff-mult.el:
5718 * vc/ediff-util.el:
5719 * vc/ediff-wind.el:
5720 * vc/ediff.el:
5721 * vc/emerge.el:
5722 * vc/pcvs.el:
5723 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5724 byte compiler. Remove some unused let-bound variables.
5725
4c528aab
SM
57262013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5727
5728 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5729 a "ref-cell", since it gets better optimized (bug#14883).
5730
bd15c390
GM
57312013-09-05 Glenn Morris <rgm@gnu.org>
5732
5733 * progmodes/cc-awk.el (c-forward-sws): Declare.
5734
1c3ac2e5
GM
57352013-09-04 Glenn Morris <rgm@gnu.org>
5736
5737 * generic-x.el [rul-generic-mode]: Require cc-mode.
5738 (c++-mode-syntax-table): Declare.
5739 (rul-generic-mode-syntax-table): Init in the defvar.
5740
52b1cc79
SM
57412013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5742
c828af56
SM
5743 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5744 (vc-do-command, vc-set-async-update):
5745 * vc/vc-mtn.el (vc-mtn-dir-status):
5746 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5747 (vc-hg-pull, vc-hg-merge-branch):
5748 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5749 (vc-git-merge-branch):
5750 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5751 (vc-cvs-dir-status-files):
5752 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5753 (vc-bzr-dir-status-files):
5754 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5755 * vc/vc-annotate.el: Use lexical-binding.
5756 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5757 (vc-sentinel-movepoint): Declare.
5758 (vc-annotate): Don't use `goto-line'.
5759 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5760 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5761 (vc-sentinel-movepoint): Declare.
5762 * vc/vc-svn.el: Use lexical-binding.
5763 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5764 * vc/vc-sccs.el:
5765 * vc/vc-rcs.el: Use lexical-binding.
5766
abae272c
SM
5767 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5768 `deleted'. Don't drop errors silently.
5769
52b1cc79
SM
5770 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5771
63191d9f
XF
57722013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5773
5774 * vc/vc.el (vc-ignore): Rewrite.
5775 (vc-default-ignore): New function.
5776 (vc-default-ignore-completion-table): Use find-ignore-file.
5777
5778 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5779 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5780 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5781 Remove. Most code moved to vc.el.
5782
9d3f707c
SM
57832013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5784
abae272c 5785 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
5786 * net/tramp-smb.el (tramp-smb-get-file-entries):
5787 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5788 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5789
fde38d49
SM
5790 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5791 Update call to it.
5792 (eww-change-select): Remove unused var `properties'.
5793 (eww-make-unique-file-name): Remove unused var `base'.
5794
5795 * finder.el (finder-compile-keywords): Don't mess with windows.
5796
84032db7
SM
5797 * calculator.el (calculator-funcall): Fix typo in last change.
5798
724f5e41
SM
5799 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5800
14b511d4
SM
5801 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5802 <pkg>-autoloads.el file stop us.
5803
9d3f707c 5804 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 5805 warnings, and factor out common code.
9d3f707c 5806
88527bc0
DG
58072013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5808
5809 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5810 two-character operators and whether the character preceding them
5811 changes their meaning (Bug#15208).
5812
96edb677
FEG
58132013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5814
5815 Format code sent to Python shell for robustness.
9d3f707c
SM
5816 * progmodes/python.el (python-shell-buffer-substring):
5817 New function.
96edb677
FEG
5818 (python-shell-send-region, python-shell-send-buffer): Use it.
5819
95beaef3
MA
58202013-09-02 Michael Albinus <michael.albinus@gmx.de>
5821
5822 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5823 * net/tramp.el (tramp-user-error): ... here.
5824 (tramp-find-method, tramp-check-proper-host)
5825 (tramp-dissect-file-name, tramp-debug-message)
5826 (tramp-handle-shell-command):
5827 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5828 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5829
5830 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5831
f167c27b
MR
58322013-09-02 Martin Rudalics <rudalics@gmx.at>
5833
5834 * avoid.el (mouse-avoidance-point-position)
5835 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5836 returns nil.
5837
cd16c5f1
FEG
58382013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5839
5840 * progmodes/python.el (python-shell-completion-get-completions):
5841 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 5842 (python-nav-if-name-main): New command.
cd16c5f1 5843
e73c3a0d
GM
58442013-09-01 Glenn Morris <rgm@gnu.org>
5845
f8ccce03
GM
5846 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5847 Avoid leading space in $wins. Otherwise the sed command used by
5848 eg compile-main ends up containing "/*.el". (Bug#15170)
5849
e73c3a0d
GM
5850 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5851
415f808e
GM
58522013-08-30 Glenn Morris <rgm@gnu.org>
5853
5854 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5855 Fix is-this-a-directory logic. (Bug#15220)
5856
f069bba8
SM
58572013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5858
112798c1
SM
5859 * textmodes/css-mode.el: Use SMIE.
5860 (css-smie-grammar): New var.
5861 (css-smie--forward-token, css-smie--backward-token)
5862 (css-smie-rules): New functions.
5863 (css-mode): Use them.
5864 (css-navigation-syntax-table): Remove var.
5865 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5866 (css-indent-calculate, css-indent-line): Remove functions.
5867
5868 Misc changes to reduce use of `(lambda...); and other cleanups.
5869 * cus-edit.el: Use lexical-binding.
5870 (customize-push-and-save, customize-apropos)
5871 (custom-buffer-create-internal): Use closures.
5872 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5873 * progmodes/ada-xref.el: Use setq.
5874 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5875 * dframe.el: Use lexical-binding.
5876 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5877 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5878 * descr-text.el: Use lexical-binding.
5879 (describe-text-widget, describe-text-sexp, describe-property-list):
5880 Use closures.
5881 * comint.el (comint-history-isearch-push-state): Use a closure.
5882 * calculator.el: Use lexical-binding.
5883 (calculator-number-to-string): Make it work with lexical-binding.
5884 (calculator-funcall): Same and use cl-letf.
5885
2da4c3ab
SM
5886 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5887 (lisp--company-doc-string, lisp--company-location): New functions.
5888 (lisp-completion-at-point): Use them to improve Company support.
5889
f069bba8
SM
5890 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5891 params of lambda expressions.
5892 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5893 (ruby-smie--opening-pipe-p): New function.
5894 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5895 symbols and matched |...| for formal params.
5896 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5897 from being treated as hanging. Handle "rescue".
5898
6758b6a8
GM
58992013-08-29 Glenn Morris <rgm@gnu.org>
5900
5901 * progmodes/cc-engine.el (c-pull-open-brace):
5902 Move definition before use.
5903
e8dfd197
SM
59042013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5905
5906 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5907 are immutable. Don't use `unsafe' any more.
5908 (cl--defsubst-expand): Don't substitute at the same time as keeping
5909 a residual unused let-binding. Don't use `unsafe' any more.
5910
cc585c96
GM
59112013-08-29 Glenn Morris <rgm@gnu.org>
5912
ba579ea6
GM
5913 * calendar/cal-china.el (calendar-chinese-year-cache):
5914 Recenter on 2015.
5915
8201a87e
GM
5916 * nxml/nxml-util.el (nxml-debug-clear-inside):
5917 Use cl-loop rather than loop.
5918
6ee877c7
GM
5919 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5920
cc585c96
GM
5921 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5922
27be8d39
GM
59232013-08-28 Glenn Morris <rgm@gnu.org>
5924
397440a1
GM
5925 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5926
2bb762d4
GM
5927 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5928
27be8d39
GM
5929 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5930
2d69b99e
SM
59312013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5932
f663baa7
SM
5933 * simple.el (repeat-complex-command--called-interactively-skip):
5934 New function.
5935 (repeat-complex-command): Use it (bug#14136).
5936
dd4f8b74
SM
5937 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5938 (c-define-abbrev-table): Add `doc' argument.
5939 (c-mode-abbrev-table, c++-mode-abbrev-table)
5940 (objc-mode-abbrev-table, java-mode-abbrev-table)
5941 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5942 (awk-mode-abbrev-table): Use it.
5943 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5944 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5945 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5946 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5947 Move initialization into the declaration; and remove any
5948 autoload cookie.
5949
b58969f7
SM
5950 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5951 and dynamic let binding.
5952
4021d6a6
SM
5953 * vc/smerge-mode.el: Remove redundant :group args.
5954
2d69b99e
SM
5955 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5956 to load-path.
5957
274919fd
JL
59582013-08-28 Juri Linkov <juri@jurta.org>
5959
5960 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5961 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5962 (isearch-other-meta-char): Handle an undefined shifted printing
5963 character by downshifting it. (Bug#15200)
5964
121f8c95
JL
59652013-08-28 Juri Linkov <juri@jurta.org>
5966
5967 * isearch.el (isearch-search): Change regexp error message for
5968 non-regexp searches. (Bug#15166)
5969
50b13cde
PE
59702013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5971
5972 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5973 for portability to hosts where /bin/sh has problems.
5974
95888bca
SM
59752013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5976
5977 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5978
bbe558f1
JL
59792013-08-27 Juri Linkov <juri@jurta.org>
5980
5981 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5982 in the keyboard macro. (Bug#15126)
5983
26f98a7d
JL
59842013-08-27 Juri Linkov <juri@jurta.org>
5985
5986 * isearch.el (isearch-quote-char): Comment out converting unibyte
5987 to multibyte, thus syncing with its `quoted-insert' counterpart.
5988 (Bug#15166)
5989
7c97d35e
MR
59902013-08-27 Martin Rudalics <rudalics@gmx.at>
5991
5992 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
5993 argument in call of get-largest-window (Bug#15185).
5994 Reported by Stephen Leake.
7c97d35e 5995
a0b5606e 59962013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
5997
5998 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5999
9e89d835
SM
60002013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6001
6002 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6003 from a matcher-function unless there's no more matches (bug#15161).
6004
78fc2530
MA
60052013-08-26 Michael Albinus <michael.albinus@gmx.de>
6006
6007 * minibuffer.el: Revert change from 2013-08-20.
6008
6009 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6010 with text property `tramp-default', if appropriate.
6011 (tramp-check-proper-host): New defun.
6012 (tramp-dissect-file-name): Do not check hostname. Revert change
6013 of 2013-03-18.
6014 (tramp-backtrace): Make VEC-OR-PROC optional.
6015
6016 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6017 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6018 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
6019 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6020 Apply `tramp-check-proper-host'.
78fc2530 6021
edca97cd
TH
60222013-08-26 Tassilo Horn <tsdh@gnu.org>
6023
6024 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6025 lambda expression in order to have `describe-variable' display it.
6026
df54bcbd
MA
60272013-08-26 Michael Albinus <michael.albinus@gmx.de>
6028
6029 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6030 BUF can be optional. (Bug#15186)
6031
eed99101
XF
60322013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6033
6034 * progmodes/flymake.el (flymake-get-real-file-name-function):
6035 Fix broken customization. (Bug#15184)
6036
b5eb9035
AM
60372013-08-25 Alan Mackenzie <acm@muc.de>
6038
8a51e842
AM
6039 Improve indentation of bracelists defined by macros (without "=").
6040
6041 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6042 expansion begins with "{", regard it as bracelist when it doesn't
6043 contain a ";".
6044
869455d4
AM
6045 Parse C++ inher-intro when there's a template split over 2 lines.
6046
6047 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6048 rigorously the search for "class" etc. followed by ":".
6049
6050 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6051 random languages a regexp which never matches rather than nil.
6052
b5eb9035
AM
6053 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6054
6055 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6056 (c-awk-regexp-one-line-possibly-open-char-list-re)
6057 (c-awk-one-line-possibly-open-regexp-re)
6058 (c-awk-one-line-non-syn-ws*-re): Remove.
6059 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6060 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6061 (c-awk-space*-unclosed-regexp-/-re): New constants.
6062 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6063 aren't regexp delimiters.
6064
6065 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6066 handling for a rare situation in AWK Mode involving unterminated
6067 strings/regexps.
6068
61611d54
GM
60692013-08-23 Glenn Morris <rgm@gnu.org>
6070
2d85dc34
GM
6071 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6072
cb8d2612
GM
6073 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6074
bb35f42f
GM
6075 * files.el (create-file-buffer): If the result would begin with
6076 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 6077
b9808e77
SM
60782013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6079
e3a66363
SM
6080 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6081 text-properties (bug#15155).
6082
b9808e77
SM
6083 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6084 exist any more.
6085 (calc-keypad-redraw): Remove unused var `pad'.
6086 (calc-keypad-press): Remove unused var `menu'.
6087
7fd5f65e
MR
60882013-08-23 Martin Rudalics <rudalics@gmx.at>
6089
b9808e77
SM
6090 * window.el (display-buffer-pop-up-frame):
6091 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
6092 use it as the new frame's buffer (Bug#15133).
6093
8352b530
SM
60942013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6095
6096 * calendar/timeclock.el: Minor cleanups.
6097 (timeclock-ask-before-exiting, timeclock-use-display-time):
6098 Use `symbol'.
6099 (timeclock-modeline-display): Define as alias before the
6100 actual definition.
6101 (timeclock-mode-line-display): Use define-minor-mode.
6102 (timeclock-day-list-template): Make it a function, add an argument.
6103 (timeclock-day-list-required, timeclock-day-list-length)
6104 (timeclock-day-list-debt, timeclock-day-list-span)
6105 (timeclock-day-list-break): Adjust calls accordingly.
6106
9f7b1925
SM
61072013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6108
6109 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6110 Use read--expression so that completion works again.
6111
6e50e983
SS
61122013-08-21 Sam Steingold <sds@gnu.org>
6113
6114 Add rudimentary inferior shell interaction
6115 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6116 (sh-set-shell): Reset it.
9f7b1925
SM
6117 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6118 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 6119
dbb0d350
SM
61202013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6121
6122 * align.el: Use lexical-binding.
6123 (align-region): Simplify accordingly.
6124
c88586a9
MA
61252013-08-20 Michael Albinus <michael.albinus@gmx.de>
6126
6127 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6128
6129 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6130 `non-essential' up.
6131
f95527c8
MA
61322013-08-17 Michael Albinus <michael.albinus@gmx.de>
6133
6134 * net/tramp.el:
6135 * net/tramp-adb.el:
6136 * net/tramp-cmds.el:
6137 * net/tramp-ftp.el:
6138 * net/tramp-gvfs.el:
6139 * net/tramp-gw.el:
6140 * net/tramp-sh.el: Don't wrap external variable declarations by
6141 `eval-when-compile'.
6142
4b5fe4ee
LMI
61432013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6144
6145 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6146 now that Emacs supports ImageMagick animations.
6147
13c366c9
MA
61482013-08-16 Michael Albinus <michael.albinus@gmx.de>
6149
6150 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6151 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6152
3dfc5cd6
MR
61532013-08-16 Martin Rudalics <rudalics@gmx.at>
6154
6155 * window.el (mouse-autoselect-window-select): Do autoselect when
6156 mouse pointer is on margin.
6157
4bbb4381
WP
61582013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6159
6160 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6161
3a2ddc2d
GM
61622013-08-16 Glenn Morris <rgm@gnu.org>
6163
e8bedf5a
GM
6164 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6165 Handle "Remote Directory" response of some clients. (Bug#15058)
6166
58c4682f
GM
6167 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6168 Tweak warning. (Bug#14926)
6169
57953f49
GM
6170 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6171 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6172
3a2ddc2d
GM
6173 * image-mode.el (image-mode-map): Add menu items to reverse,
6174 increase, decrease, reset animation speed.
6175 (image--set-speed, image-increase-speed, image-decrease-speed)
6176 (image-reverse-speed, image-reset-speed): New functions.
6177 (image-mode-map): Add bindings for speed commands.
6178
6179 * image.el (image-animate-get-speed, image-animate-set-speed):
6180 New functions.
6181 (image-animate-timeout): Respect image :speed property.
6182
10fa0ed3
SM
61832013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6184
6185 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6186 previous line (bug#15101).
6187 (debugger-eval-expression, debugger-record-expression):
6188 Use read--expression (bug#15102).
6189
5d89d9d2
MA
61902013-08-15 Michael Albinus <michael.albinus@gmx.de>
6191
6192 Remove byte compiler warnings, visible when compiling with
6193 `byte-compile-force-lexical-warnings' set to t.
6194
6195 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6196 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6197 (tramp-handle-unhandled-file-name-directory)
6198 (tramp-handle-file-notify-add-watch, tramp-action-login)
6199 (tramp-action-succeed, tramp-action-permission-denied)
6200 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6201 arguments with "_".
6202
6203 * net/tramp-adb.el (tramp-adb-parse-device-names)
6204 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6205 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6206 (tramp-adb-handle-file-truename): Remove unused arguments.
6207
6208 * net/tramp-cache.el (tramp-flush-directory-property)
6209 (tramp-flush-connection-property, tramp-list-connections)
6210 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6211
10fa0ed3
SM
6212 * net/tramp-compat.el (tramp-compat-make-temp-file):
6213 Rename FILENAME to F.
5d89d9d2
MA
6214
6215 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6216 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6217 (tramp-zeroconf-parse-workstation-device-names)
6218 (tramp-zeroconf-parse-webdav-device-names)
6219 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6220
6221 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6222 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6223
6224 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6225 arguments.
6226 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6227 (tramp-sh-handle-insert-file-contents-literally)
6228 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6229 with "_".
6230 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6231 Remove unused variables.
6232
6233 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6234 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6235 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6236
6237 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6238 Make them a defconst.
6239 (tramp-uuencode-region): Remove unused variable.
6240
62f33bae
JB
62412013-08-14 Juanma Barranquero <lekktu@gmail.com>
6242
6243 * frameset.el (frameset--prop-setter): New function.
6244 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
6245 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6246 parameter was already set in FILTERED. Doc fix.
6247 (frameset--record-minibuffer-relationships): Allow saving a
6248 minibufferless frame without its corresponding minibuffer frame.
6249 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6250 frame, if the frame id matches.
6251 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6252 frames before orphaned ones.
6253 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 6254
c660a885
MR
62552013-08-14 Martin Rudalics <rudalics@gmx.at>
6256
6257 * window.el (window-make-atom): Don't overwrite parameter
6258 already present.
6259 (display-buffer-in-atom-window): Handle special case where we
6260 split an already atomic window.
6261 (window--major-non-side-window, display-buffer-in-side-window)
6262 (window--side-check): Ignore minibuffer window when walking
6263 window tree.
6264 (window-deletable-p): Return 'frame only if no other frame uses
6265 our minibuffer window.
6266 (record-window-buffer): Run buffer-list-update-hook.
6267 (split-window): Make sure window--check-frame won't destroy an
6268 existing atomic window in case the new window gets nested
6269 inside.
6270 (display-buffer-at-bottom): Ignore minibuffer window when
6271 walking window tree. Don't split a side window.
6272 (pop-to-buffer): Don't set-buffer here, the select-window call
6273 should do that.
6274 (mouse-autoselect-window-select): Autoselect only if we are in the
6275 text portion of the window.
6276
8259030d
LMI
62772013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6278
21c58ae2
LMI
6279 * net/shr.el (shr-parse-image-data): New function to grab both the
6280 data itself and the Content-Type.
6281 (shr-put-image): Use it.
6282
6283 * net/eww.el (eww-display-image): Ditto.
6284
8259030d
LMI
6285 * image.el (image-content-type-suffixes): New variable.
6286
ad756449
FEG
62872013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6288
6289 * progmodes/python.el (python-imenu--build-tree)
6290 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6291
f73f4ce6
XF
62922013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6293
6294 * simple.el (backward-word): Mention the optional argument.
6295
1f585e65
SM
62962013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6297
6298 * frameset.el (frameset--make): Rename constructor from make-frameset.
6299 (frameset-p, frameset-valid-p): Don't autoload.
6300 (frameset-valid-p): Use normal accessors.
6301
af1c6c84
GM
63022013-08-13 Glenn Morris <rgm@gnu.org>
6303
55e47f95
GM
6304 * progmodes/compile.el (compile-command): Tweak example in doc.
6305 * obsolete/scribe.el (scribe-mode):
6306 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6307
f0024d8c
GM
6308 * mail/feedmail.el (feedmail-confirm-outgoing)
6309 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6310
6311 * cus-start.el (truncate-partial-width-windows): Fix type.
6312
6313 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6314
af1c6c84
GM
6315 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6316
5514cc4c
SM
63172013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6318
6319 * emacs-lisp/timer.el (timer--time-setter): New function.
6320 (timer--time): Use it as gv-setter.
6321
6322 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6323 setter is not a symbol.
6324
7997a2f1
GJ
63252013-08-12 Grégoire Jadi <daimrod@gmail.com>
6326
6327 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6328 if sending fails. This makes debugging easier.
6329
01f1a9ab
JB
63302013-08-12 Juanma Barranquero <lekktu@gmail.com>
6331
6332 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6333 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6334 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6335
594a4307
EZ
63362013-08-12 Eli Zaretskii <eliz@gnu.org>
6337
6338 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6339
7a22490f 63402013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
6341
6342 * format.el (format-annotate-function):
6343 Handle read-only text properties in the source. (Bug#14887)
6344
3e41a054
LMI
63452013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6346
5514cc4c
SM
6347 * net/eww.el (eww-display-html): Ignore coding system errors.
6348 One web site uses "utf-8lias" as the coding system.
3e41a054 6349
7ec326db
JB
63502013-08-11 Juanma Barranquero <lekktu@gmail.com>
6351
6352 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6353
5660113b
JB
63542013-08-10 Juanma Barranquero <lekktu@gmail.com>
6355
9a4ebc74
JB
6356 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6357 (tutorial--detailed-help): Remove unused local variables.
6358 (tutorial--save-tutorial-to): Use ignore-errors.
6359 (help-with-tutorial): Use looking-at-p.
6360
6361 * view.el (view-buffer-other-window, view-buffer-other-frame):
6362 Mark unused arguments.
6363
6364 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6365 (woman-select-symbol-fonts, woman, woman-find-file)
6366 (woman-insert-file-contents, woman-non-underline-faces):
6367 Use string-match-p.
6368 (woman1-unquote): Move declaration.
6369
6370 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6371 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6372 argument. Remove unused local variable.
6373 (xml-parse-elem-type): Use string-match-p.
6374 (xml-substitute-numeric-entities): Use ignore-errors.
6375
45fdb482
JB
6376 * calculator.el (calculator): Mark unused argument.
6377 (calculator-paste, calculator-quit, calculator-integer-p):
6378 Use ignore-errors.
6379 (calculator-string-to-number, calculator-decimal, calculator-exp)
6380 (calculator-op-or-exp): Use string-match-p.
6381
6382 * dired.el (dired-buffer-more-recently-used-p): Declare.
6383 (dired-insert-set-properties, dired-insert-old-subdirs):
6384 Use ignore-errors.
6385
6386 * dired-aux.el (dired-compress): Use ignore-errors.
6387 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6388 (dired-do-async-shell-command, dired-do-shell-command)
6389 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6390 (dired-insert-subdir-validate): Use string-match-p.
6391 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6392 (dired-add-entry): Use string-match-p, looking-at-p.
6393 (dired-insert-subdir-newpos): Remove unused local variable.
6394
6395 * filenotify.el (file-notify-callback): Remove unused local variable.
6396
6397 * filesets.el (filesets-error): Mark unused argument.
6398 (filesets-which-command-p, filesets-filter-dir-names)
6399 (filesets-directory-files, filesets-get-external-viewer)
6400 (filesets-ingroup-get-data): Use string-match-p.
6401
6402 * find-file.el (ff-other-file-name, ff-other-file-name)
6403 (ff-find-the-other-file, ff-cc-hh-converter):
6404 Remove unused local variables.
6405 (ff-get-file-name): Use string-match-p.
6406 (ff-all-dirs-under): Use ignore-errors.
6407
6408 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6409 (follow-select-if-visible): Remove unused local variable.
6410
6411 * forms.el (read-file-filter): Move declaration.
6412 (forms--make-format, forms--make-parser, forms-insert-record):
6413 Quote function with #'.
6414 (forms--update): Use string-match-p. Quote function with #'.
6415
6416 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6417 (help-make-xrefs): Use looking-at-p.
6418 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6419
6420 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6421 (ibuffer-confirm-operation-on): Use string-match-p.
6422
6423 * msb.el (msb-item-handler, msb-dired-item-handler):
6424 Mark unused arguments.
6425
6426 * ses.el (ses-decode-cell-symbol)
6427 (ses-kill-override): Remove unused local variable.
6428 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6429 (ses-load): Use ignore-errors, looking-at-p.
6430 (ses-jump-safe): Use ignore-errors.
6431 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6432
6433 * tabify.el (untabify, tabify): Mark unused arguments.
6434
6435 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6436 Mark unused argument.
6437 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6438 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6439
c880af52
JB
6440 * emacs-lisp/timer.el (timer--time): Define setter with
6441 gv-define-setter to avoid deprecation warning.
6442
5660113b 6443 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 6444 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
6445 (cmpl-statistics-block): Remove (body was commented out).
6446 All callers changed.
6447 (add-completions-from-buffer, load-completions-from-file):
6448 Remove unused variables.
6449
156aab80
JB
64502013-08-09 Juanma Barranquero <lekktu@gmail.com>
6451
5c5dee78
JB
6452 * filecache.el (file-cache-delete-file-list):
6453 Print message only when told so.
6454 (file-cache-files-matching): Use #' in mapconcat argument.
6455
156aab80
JB
6456 * ffap.el (ffap-url-at-point): Fix reference to variable
6457 thing-at-point-default-mail-uri-scheme.
6458
ad9dcd70
SM
64592013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6460
54bd972f
SM
6461 * subr.el (define-error): New function.
6462 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6463 error-file-not-found and define with define-error.
6464 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6465 and define with define-error.
6466 * userlock.el (file-locked, file-supersession):
6467 * simple.el (mark-inactive):
6468 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6469 * progmodes/ada-mode.el (ada-mode-errors):
6470 * play/life.el (life-extinct):
6471 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6472 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6473 * nxml/rng-util.el (rng-error):
6474 * nxml/rng-uri.el (rng-uri-error):
6475 * nxml/rng-match.el (rng-compile-error):
6476 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6477 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6478 * nxml/nxml-rap.el (nxml-scan-error):
6479 * nxml/nxml-outln.el (nxml-outline-error):
6480 * net/soap-client.el (soap-error):
6481 * net/gnutls.el (gnutls-error):
6482 * net/ange-ftp.el (ftp-error):
6483 * mpc.el (mpc-proc-error):
6484 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6485 (json-number-format, json-string-escape, json-string-format)
6486 (json-key-format, json-object-format):
6487 * jka-compr.el (compression-error):
6488 * international/quail.el (quail-error):
6489 * international/kkc.el (kkc-error):
6490 * emacs-lisp/ert.el (ert-test-failed):
6491 * calc/calc.el (calc-error, inexact-result, math-overflow)
6492 (math-underflow):
6493 * bookmark.el (bookmark-error-no-filename):
6494 * epg.el (epg-error): Define with define-error.
6495
0ea9e53a
SM
6496 * time.el (display-time-event-handler)
6497 (display-time-next-load-average): Don't call sit-for since it seems
6498 unnecessary (bug#15045).
6499
b0429158
SM
6500 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6501 Use #' instead of ' to quote functions.
6502 (checkdoc-output-mode): Use setq-local.
6503 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6504 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6505 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6506 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6507 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6508 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6509 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6510 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6511
ad9dcd70
SM
6512 * ido.el (ido-completion-help): Fix up compiler warning.
6513
77187e6f
JB
65142013-08-09 Juanma Barranquero <lekktu@gmail.com>
6515
6516 * frameset.el (frameset-p): Add autoload cookie.
6517 (frameset--jump-to-register): New function, based on code moved from
6518 register.el.
6519 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6520
6521 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6522 (frameset-restore, frameset-save, frameset-session-filter-alist):
6523 Remove declarations.
6524 (register-alist): Doc fix.
6525 (frameset-to-register): Move to frameset.el.
6526 (jump-to-register, describe-register-1): Remove frameset-specific code.
6527
9d3aa82c
JB
65282013-08-08 Juanma Barranquero <lekktu@gmail.com>
6529
6530 * allout-widgets.el (allout-widgets-pre-command-business)
6531 (allout-widgets-post-command-business)
6532 (allout-widgets-after-change-handler)
6533 (allout-decorate-item-and-context, allout-set-boundary-marker)
6534 (allout-body-modification-handler)
6535 (allout-graphics-modification-handler): Mark ignored arguments.
6536 (allout-widgets-post-command-business)
6537 (allout-widgets-exposure-change-processor)
6538 (allout-widgets-exposure-undo-processor)
6539 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6540 (allout-parse-item-at-point, allout-decorate-item-guides)
6541 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6542 * allout.el (epa-passphrase-callback-function): Declare.
6543 (allout-overlay-insert-in-front-handler)
6544 (allout-overlay-interior-modification-handler)
6545 (allout-isearch-end-handler, allout-chart-siblings)
6546 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6547 (allout-yank-processing, allout-process-exposed)
6548 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 6549 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
6550 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6551 (lisp-indent-defform): Mark ignored arguments.
6552 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6553 (calculate-lisp-indent): Remove unused variables.
6554 * international/characters.el (indian-2-column, arabic-2-column)
6555 (tibetan): Mark ignored arguments.
6556 (use-cjk-char-width-table): Mark ignored arguments.
6557 Remove unused variables.
6558 * international/fontset.el (build-default-fontset-data)
6559 (x-compose-font-name, create-fontset-from-fontset-spec):
6560 Mark ignored arguments.
6561 (fontset-plain-name): Remove unused variables.
6562 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6563 (keyboard-coding-system): Mark ignored arguments.
6564 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6565 * help.el (resize-temp-buffer-window):
6566 * window.el (display-buffer-in-major-side-window)
6567 (display-buffer-in-side-window, display-buffer-in-previous-window):
6568 Remove unused variables.
6569 * isearch.el (isearch-forward-symbol):
6570 * version.el (emacs-bzr-version-bzr):
6571 * international/mule-cmds.el (current-language-environment):
6572 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6573 (x-handle-display):
6574 * term/pc-win.el (x-list-fonts, x-display-planes)
6575 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6576 (x-server-version, x-display-screens, x-display-mm-height)
6577 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6578 (x-selection-owner-p, x-own-selection-internal)
6579 (x-disown-selection-internal, x-get-selection-internal)
6580 (msdos-initialize-window-system):
6581 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6582 * term/x-win.el (x-handle-no-bitmap-icon):
6583 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6584 (vc-default-find-file-hook, vc-default-extra-menu):
6585 Mark ignored arguments.
6586
0ca3f70e
SM
65872013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6588
6589 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6590 break-condition in the context of the debugged code (bug#12685).
6591
74c5d24c
CS
65922013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6593
6594 * comint.el:
6595 Do not use an overlay to highlight the last prompt. (Bug#14744)
6596 (comint-mode): Make comint-last-prompt buffer local.
6597 (comint-last-prompt): New variable.
6598 (comint-last-prompt-overlay): Remove. Superseded by
6599 comint-last-prompt.
0ca3f70e
SM
6600 (comint-snapshot-last-prompt, comint-output-filter):
6601 Use comint-last-prompt.
74c5d24c 6602
c03c02ee
JB
66032013-08-08 Juanma Barranquero <lekktu@gmail.com>
6604
a3738d20 6605 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
6606 (frameset-save): Check validity of the resulting frameset.
6607
04263d23
XF
66082013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6609
6610 * ido.el (ido-record-command): Add doc string.
6611
76c5e5ab
JB
66122013-08-08 Juanma Barranquero <lekktu@gmail.com>
6613
6614 * frameset.el (frameset): Do not disable creation of the default
6615 frameset-p predicate. Doc fix.
6616 (frameset-valid-p): New function, copied from the old predicate-p.
6617 Add additional checks.
6618 (frameset-restore): Check with frameset-valid-p.
6619 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6620 (frameset-name, frameset-description, frameset-properties)
6621 (frameset-states): Add docstring.
f9dbf1cb
JB
6622 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6623 (frameset-filter-alist): Doc fixes.
76c5e5ab 6624
bd0c3c0b
JB
66252013-08-08 Juanma Barranquero <lekktu@gmail.com>
6626
6627 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6628
c735544c
SM
66292013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6630
6631 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6632 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6633 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6634 (byte-compile-normal-call): Remove obsolescence check.
6635
2805a651
JB
66362013-08-08 Juanma Barranquero <lekktu@gmail.com>
6637
3677ffeb
JB
6638 * frameset.el (frameset-restore): Doc fix.
6639
2805a651
JB
6640 * register.el (frameset-frame-id, frameset-frame-with-id)
6641 (frameset-p, frameset-restore, frameset-save): Declare.
6642 (register-alist): Document framesets.
6643 (frameset-session-filter-alist): Declare.
6644 (frameset-to-register): New function.
6645 (jump-to-register): Implement jumping to framesets. Doc fix.
6646 (describe-register-1): Describe framesets.
6647
6648 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6649
a912c016
JB
66502013-08-07 Juanma Barranquero <lekktu@gmail.com>
6651
6652 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6653 Use lexical-binding.
6654
6655 * frameset.el (frameset): Use type vector, not list (incompatible
6656 change). Do not declare a new constructor, use the default one.
6657 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6658 `name' and `description', respectively, and add read-only slot
6659 `timestamp'. Doc fixes.
6660 (frameset-copy, frameset-persistent-filter-alist)
6661 (frameset-filter-alist, frameset-switch-to-gui-p)
6662 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6663 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6664 (frameset-filter-iconified, frameset-keep-original-display-p):
6665 Doc fixes.
6666 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6667 Rename from frameset-filter-(save|restore)-param. All callers changed.
6668 Doc fix.
6669 (frameset-p): Adapt to change to vector and be more thorough.
6670 Change arg name to OBJECT. Doc fix.
6671 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6672 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6673 All callers changed.
6674 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6675 All callers changed.
6676 (frameset--record-minibuffer-relationships): Rename from
6677 frameset--process-minibuffer-frames. All callers changed.
6678 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6679 Use new default constructor (again). Doc fix.
6680 (frameset--find-frame-if): Rename from `frameset--find-frame.
6681 All callers changed.
6682 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6683 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6684 Doc fix.
6685 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6686 PARAMETERS and WINDOW-STATE, respectively.
6687 (frameset-restore): Add new keyword argument PREDICATE.
6688 Reset frameset--target-display to nil. Doc fix.
6689
bb41480a
SM
66902013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6691
f001e98e
SM
6692 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6693 (bat-mode): Use it.
6694 (bat-mode-syntax-table): Mark \n as end-of-comment.
6695 (bat-font-lock-keywords): Remove comment rule.
6696
7679edb1
SM
6697 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6698 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6699
bb41480a
SM
6700 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6701 (byte-compile-callargs-warn): Use `push'.
6702 (byte-compile-arglist-warn): Ignore higher-order "calls".
6703 (byte-compile-file-form-autoload): Use `pcase'.
6704 (byte-compile-function-form): If quoting a symbol, check that it exists.
6705
cdc1ebb9
EZ
67062013-08-07 Eli Zaretskii <eliz@gnu.org>
6707
6708 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6709 and add a few popular commands found in batch files.
6710 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6711 (dos-mode): Doc fixes.
6712
312b1740
SM
67132013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6714
6715 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6716 (dos-mode): Use setq-local. Add space after "rem".
6717 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6718 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6719
400a3178
AM
67202013-08-07 Arni Magnusson <arnima@hafro.is>
6721
6722 * progmodes/dos.el: New file.
6723 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6724 dos-mode.
6725
3b5c03d3
GM
67262013-08-06 Glenn Morris <rgm@gnu.org>
6727
6728 * calendar/calendar.el: Add new faces, and day-header-array.
6729 (calendar-weekday-header, calendar-weekend-header)
6730 (calendar-month-header): New faces.
6731 (calendar-day-header-construct): New function.
6732 (calendar-day-header-width): Also :set calendar-day-header-array.
6733 (calendar-american-month-header, calendar-european-month-header)
6734 (calendar-iso-month-header): Use calendar- faces.
6735 (calendar-generate-month):
6736 Use calendar-day-header-array for day headers; apply faces to them.
6737 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6738 (calendar-abbrev-construct): Add optional maxlen argument.
6739 (calendar-day-name-array): Doc fix.
6740 (calendar-day-name-array, calendar-abbrev-length)
6741 (calendar-day-abbrev-array):
6742 Also :set calendar-day-header-array, and maybe redraw.
6743 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 6744 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
6745 (calendar-day-name): Add option to use header array.
6746
ec6a2d7a
LMI
67472013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6748
6749 * net/shr.el (shr-render-td): Remove debugging.
6750 (shr-render-td): Make width computation consistent by defaulting
6751 all zero-width columns to 10 characters. This may not be optimal,
6752 but it's at least consistent.
2122cb6d
LMI
6753 (shr-make-table-1): Redo last change to fix the real problem in
6754 colspan handling.
ec6a2d7a 6755
ed4fd9c5
DA
67562013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6757
0ca3f70e
SM
6758 * files.el (cache-long-line-scans):
6759 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 6760
64e22afe
JB
67612013-08-06 Juanma Barranquero <lekktu@gmail.com>
6762
024b38fc
JB
6763 * frameset.el (frameset, frameset-filter-alist)
6764 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6765 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6766 (frameset-compute-pos): Rename from frameset--compute-pos,
6767 and add docstring.
6768 (frameset-move-onscreen): Use frameset-compute-pos.
6769 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6770
64e22afe
JB
6771 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6772 Fix typos in docstrings.
6773
c8c2aca8
DA
67742013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6775
6776 * frame.el (get-other-frame): Tiny cleanup.
6777
1d237bba
JB
67782013-08-06 Juanma Barranquero <lekktu@gmail.com>
6779
8951efef
JB
6780 * vc/vc.el (vc-default-ignore-completion-table):
6781 Silence byte-compiler warning.
6782
307764cc 6783 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 6784 slot, which can indeed be nil.
307764cc
JB
6785 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6786 Move entry for `left' from persistent to live filter alist.
6787 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6788 Doc fixes.
6789 (frameset-filter-params): When restoring a frame, copy items added to
6790 `filtered', to avoid unwittingly modifying the original parameters.
6791 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6792 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6793
1d237bba
JB
6794 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6795 to use looking-at-p instead of looking-at. (Bug#15028)
6796
dc6c0eda
SM
67972013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6798
6799 Revert introduction of isearch-filter-predicates (bug#14714).
6800 Rely on add-function instead.
6801 * isearch.el (isearch-filter-predicates): Rename it back to
6802 isearch-filter-predicate.
6803 (isearch-message-prefix): Use advice-function-mapc and advice
6804 properties to get the isearch-message-prefix.
6805 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6806 instead of run-hook-with-args-until-failure.
6807 (isearch-filter-visible): Not obsolete any more.
6808 * loadup.el: Preload nadvice.
6809 * replace.el (perform-replace): Revert to funcall
6810 instead of run-hook-with-args-until-failure.
6811 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6812 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6813 dired-isearch-filenames-toggle; make it into a proper minor mode.
6814 Use add/remove-function.
6815 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6816 Call the minor-mode rather than add/remove-hook.
6817 (dired-isearch-filter-filenames):
6818 Remove isearch-message-prefix property.
6819 * info.el (Info--search-loop): New function, extracted from Info-search.
6820 Funcall isearch-filter-predicate instead of
6821 run-hook-with-args-until-failure isearch-filter-predicates.
6822 (Info-search): Use it.
6823 (Info-mode): Use isearch-filter-predicate instead of
6824 isearch-filter-predicates.
6825
290d5b58
DA
68262013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6827
6828 Do not call to `selected-window' where it is assumed by default.
6829 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6830 `window-hscroll', `window-width', `window-height', `window-buffer',
6831 `window-frame', `window-start', `window-point', `next-window'
6832 and `window-display-table'.
6833 * abbrev.el (abbrev--default-expand):
6834 * bs.el (bs--show-with-configuration):
6835 * buff-menu.el (Buffer-menu-mouse-select):
6836 * calc/calc.el (calc):
6837 * calendar/calendar.el (calendar-generate-window):
6838 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6839 (diary-make-entry):
6840 * comint.el (send-invisible, comint-dynamic-complete-filename)
6841 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6842 * completion.el (complete):
6843 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6844 * disp-table.el (describe-current-display-table):
6845 * doc-view.el (doc-view-insert-image):
6846 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6847 * ehelp.el (with-electric-help):
6848 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6849 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6850 * emacs-lisp/helper.el (Helper-help-scroller):
6851 * emulation/cua-base.el (cua--post-command-handler-1):
6852 * eshell/esh-mode.el (eshell-output-filter):
6853 * ffap.el (ffap-gnus-wrapper):
6854 * help-macro.el (make-help-screen):
6855 * hilit-chg.el (highlight-compare-buffers):
6856 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6857 * hl-line.el (global-hl-line-highlight):
6858 * icomplete.el (icomplete-simple-completing-p):
6859 * isearch.el (isearch-done):
6860 * jit-lock.el (jit-lock-stealth-fontify):
6861 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 6862 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
6863 * mpc.el (mpc-tagbrowser, mpc):
6864 * net/rcirc.el (rcirc-any-buffer):
6865 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6866 * play/landmark.el (landmark-max-width, landmark-max-height):
6867 * play/zone.el (zone):
6868 * progmodes/compile.el (compilation-goto-locus):
6869 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6870 * progmodes/etags.el (find-tag-other-window):
6871 * progmodes/fortran.el (fortran-column-ruler):
6872 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6873 * progmodes/verilog-mode.el (verilog-point-text):
6874 * reposition.el (reposition-window):
6875 * rot13.el (toggle-rot13-mode):
6876 * server.el (server-switch-buffer):
6877 * shell.el (shell-dynamic-complete-command)
6878 (shell-dynamic-complete-environment-variable):
6879 * simple.el (insert-buffer, set-selective-display)
6880 (delete-completion-window):
6881 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6882 (speedbar-recenter):
6883 * startup.el (fancy-splash-head):
6884 * textmodes/ispell.el (ispell-command-loop):
6885 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6886 * tutorial.el (help-with-tutorial):
6887 * vc/add-log.el (add-change-log-entry):
6888 * vc/compare-w.el (compare-windows):
6889 * vc/ediff-help.el (ediff-indent-help-message):
6890 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6891 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6892 (ediff-setup-control-frame):
6893 * vc/emerge.el (emerge-position-region):
6894 * vc/pcvs-util.el (cvs-bury-buffer):
6895 * window.el (walk-windows, mouse-autoselect-window-select):
6896 * winner.el (winner-set-conf, winner-undo): Related users changed.
6897
38276e01
JB
68982013-08-05 Juanma Barranquero <lekktu@gmail.com>
6899
6900 * frameset.el (frameset--set-id): Doc fix.
6901 (frameset-frame-id, frameset-frame-id-equal-p)
6902 (frameset-locate-frame-id): New functions.
6903 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6904 (frameset-restore): Use them.
6905
12b4c0ea
DA
69062013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6907
6908 Do not call to `selected-frame' where it is assumed by default.
6909 Affected functions are `raise-frame', `redraw-frame',
6910 `frame-first-window', `frame-terminal' and `delete-frame'.
6911 * calendar/appt.el (appt-disp-window):
6912 * epg.el (epg-wait-for-completion):
6913 * follow.el (follow-delete-other-windows-and-split)
6914 (follow-avoid-tail-recenter):
6915 * international/mule.el (set-terminal-coding-system):
6916 * mail/rmail.el (rmail-mail-return):
6917 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6918 * progmodes/f90.el (f90-add-imenu-menu):
6919 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6920 * server.el (server-switch-buffer):
6921 * simple.el (delete-completion-window):
6922 * talk.el (talk):
6923 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6924 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6925 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6926 * vc/ediff.el (ediff-documentation): Related users changed.
6927 * frame.el (selected-terminal): Remove the leftover.
6928
17f25e76
GM
69292013-08-05 Glenn Morris <rgm@gnu.org>
6930
6931 * calendar/calendar.el (calendar-generate-month):
6932 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
6933 (calendar-generate-month, calendar-font-lock-keywords):
6934 Fix for calendar-day-header-width > length of any day name.
17f25e76 6935
063233c3
JB
69362013-08-05 Juanma Barranquero <lekktu@gmail.com>
6937
6938 * desktop.el (desktop-clear): Use new name of sort predicate.
6939
6940 * frameset.el (frameset): Add docstring. Move :version property to its
6941 own `version' slot.
6942 (frameset-copy): Rename from copy-frameset.
6943 (frameset-p): Check more thoroughly.
6944 (frameset-prop): Do not check for :version, which is no longer a prop.
6945 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6946 Use new :never value instead of t.
6947 (frameset-filter-alist): Expand and clarify docstring.
6948 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6949 (frameset-filter-minibuffer, frameset-filter-save-param)
6950 (frameset-filter-restore-param, frameset-filter-iconified):
6951 Add pointer to docstring of frameset-filter-alist.
6952 (frameset-filter-params): Rename filter values to be more meaningful:
6953 :never instead of t, and reverse the meanings of :save and :restore.
6954 (frameset--process-minibuffer-frames): Clarify error message.
6955 (frameset-save): Avoid unnecessary and confusing call to framep.
6956 Use new BOA constructor for framesets.
6957 (frameset--reuse-list): Doc fix.
6958 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6959 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6960 (frameset-minibufferless-first-p): Doc fix.
6961 Rename from frameset-sort-frames-for-deletion.
6962 (frameset-restore): Doc fixes. Use new function names.
6963 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6964
d5671a82
JB
69652013-08-04 Juanma Barranquero <lekktu@gmail.com>
6966
6967 * desktop.el (desktop-restore-forces-onscreen)
6968 (desktop-restore-reuses-frames): Document :keyword constant values.
6969 (desktop-filter-parameters-alist): Remove, now identical to
6970 frameset-filter-alist.
6971 (desktop--filter-tty*): Remove, moved to frameset.el.
6972 (desktop-save-frameset, desktop-restore-frameset):
6973 Do not pass :filters argument.
6974
6975 * frameset.el (frameset-live-filter-alist)
6976 (frameset-persistent-filter-alist): New variables.
6977 (frameset-filter-alist): Use them. Add autoload cookie.
6978 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6979 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6980 `frameset--id' (it's supposed to be internal to frameset.el).
6981 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6982 (frameset--initial-params): New function.
6983 (frameset--get-frame): Use it. Doc fix.
6984 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6985 Accept :all, not 'all.
6986 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6987 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6988 with fbound symbols. Fix frame id matching, and remove matching ids if
6989 the frame being restored is deleted. Obey :delete.
6990
671d5c16
SM
69912013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6992
6993 * subr.el (macrop): New function.
6994 (text-clone--maintaining): New var.
6995 (text-clone--maintain): Rename from text-clone-maintain. Use it
6996 instead of inhibit-modification-hooks.
6997
6998 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6999 a proxy, so as handle autoloads and redefinitions of the target.
7000 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7001
7002 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7003 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7004 (pcase--mutually-exclusive-p): New function.
7005 (pcase--split-consp): Use it.
7006 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7007 mutually exclusive with the current predicate.
7008
7009 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7010 (edebug-macrop): Remove. Use `macrop' instead.
7011 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7012 (ad-macro-p):
7013 * eshell/esh-cmd.el (eshell-macrop):
7014 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7015
1d44e9dc
SM
70162013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7017
7018 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7019 (advice-mapc): New function, using it.
7020 (advice-function-member-p): New function.
7021 (advice--normalize): Store the cdr in advice--saved-rewrite since
7022 that's the part that will be changed.
7023 (advice--symbol-function): New function.
7024 (advice-remove): Handle removal before the function is defined.
7025 Adjust to new advice--saved-rewrite.
7026 (advice-member-p): Use advice-function-member-p and
7027 advice--symbol-function.
7028
5414a283
JB
70292013-08-04 Juanma Barranquero <lekktu@gmail.com>
7030
51d30f2c
JB
7031 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7032 (frameset-filter-minibuffer): Doc fix.
7033 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
7034 (frameset--set-id, frameset--process-minibuffer-frames)
7035 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7036 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 7037
5414a283
JB
7038 * desktop.el (desktop-clear): Only delete frames when called
7039 interactively and desktop-restore-frames is non-nil. Doc fix.
7040 (desktop-read): Set desktop-saved-frameset to nil.
7041
ab419665
XF
70422013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7043
7044 * vc/vc.el (vc-ignore): Rewrite.
7045 (vc-default-ignore-completion-table):
7046 (vc--read-lines):
7047 (vc--add-line, vc--remove-regexp): New functions.
7048
7049 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7050 (vc-svn-ignore-completion-table): New function.
7051
7052 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7053 (vc-hg-ignore-completion-table):
7054 (vc-hg-find-ignore-file): New functions.
7055
7056 * vc/vc-git.el (vc-git-ignore): Rewrite.
7057 (vc-git-ignore-completion-table):
7058 (vc-git-find-ignore-file): New functions.
7059
7060 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7061
7062 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7063 (vc-bzr-ignore-completion-table):
7064 (vc-bzr-find-ignore-file): New functions.
7065
2613dea2
JB
70662013-08-03 Juanma Barranquero <lekktu@gmail.com>
7067
7068 * frameset.el (frameset-prop): New function and setter.
7069 (frameset-save): Do not modify frame list passed by the caller.
7070
9c959872
SM
70712013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7072
7073 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7074
a104f656
SM
70752013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7076
70122acf
SM
7077 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7078 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7079
a104f656
SM
7080 * custom.el (custom-initialize-default, custom-initialize-set)
7081 (custom-initialize-reset, custom-initialize-changed): Affect the
7082 toplevel-default-value (bug#6275, bug#14586).
7083 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7084 for bug#6275.
7085
f078d570
JB
70862013-08-02 Juanma Barranquero <lekktu@gmail.com>
7087
185e3b5a
JB
7088 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7089 Add cl-def* expressions.
7090
f078d570
JB
7091 * frameset.el (frameset-filter-params): Fix order of arguments.
7092
9421876d
JB
70932013-08-02 Juanma Barranquero <lekktu@gmail.com>
7094
7095 Move code related to saving frames to frameset.el.
7096 * desktop.el: Require frameset.
7097 (desktop-restore-frames): Doc fix.
7098 (desktop-restore-reuses-frames): Rename from
7099 desktop-restoring-reuses-frames.
7100 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7101 (desktop-clear): Clear frames too.
7102 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7103 (desktop--filter-tty*, desktop-save, desktop-read):
7104 Use frameset functions.
7105 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7106 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7107 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7108 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7109 (desktop--process-minibuffer-frames, desktop-save-frames)
7110 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7111 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7112 (desktop--sort-states, desktop-restoring-frames-p)
7113 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7114 (desktop-restoring-frameset-p, desktop-restore-frameset)
7115 (desktop--check-dont-save, desktop-save-frameset): New functions.
7116 (desktop--app-id): New constant.
7117 (desktop-first-buffer, desktop-buffer-ok-count)
7118 (desktop-buffer-fail-count): Move before first use.
7119 * frameset.el: New file.
7120
76dc5996
SM
71212013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7122
7123 * files.el: Use lexical-binding.
7124 (dir-locals-read-from-file): Remove unused `err' variable.
7125 (hack-dir-local-variables--warned-coding): New var.
7126 (hack-dir-local-variables): Use it to avoid repeated warnings.
7127 (make-backup-file-name--default-function): New function.
7128 (make-backup-file-name-function): Use it as default.
7129 (buffer-stale--default-function): New function.
7130 (buffer-stale-function): Use it as default.
7131 (revert-buffer-insert-file-contents--default-function): New function.
7132 (revert-buffer-insert-file-contents-function): Use it as default.
7133 (insert-directory): Avoid add-to-list.
7134
7135 * autorevert.el (auto-revert-handler): Simplify.
7136 Use buffer-stale--default-function.
7137
06d36e2b
TH
71382013-08-01 Tassilo Horn <tsdh@gnu.org>
7139
5f648ab4
TH
7140 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7141
06d36e2b
TH
7142 * whitespace.el (whitespace-ensure-local-variables): New function.
7143 (whitespace-cleanup-region): Call it.
7144 (whitespace-turn-on): Call it.
7145
a43dc424
MA
71462013-08-01 Michael Albinus <michael.albinus@gmx.de>
7147
7148 Complete file name handlers.
7149
7150 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7151 (tramp-handle-verify-visited-file-modtime)
7152 (tramp-handle-file-notify-rm-watch): New functions.
7153 (tramp-call-process): Do not bind `default-directory'.
7154
44e18199
JB
7155 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7156 Order alphabetically.
a43dc424
MA
7157 [access-file, add-name-to-file, dired-call-process]:
7158 [dired-compress-file, file-acl, file-notify-rm-watch]:
7159 [file-ownership-preserved-p, file-selinux-context]:
7160 [make-directory-internal, make-symbolic-link, set-file-acl]:
7161 [set-file-selinux-context, set-visited-file-modtime]:
7162 [verify-visited-file-modtime]: Add handler.
7163 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7164
7165 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7166 [file-notify-add-watch, file-notify-rm-watch]:
7167 [set-file-times, set-visited-file-modtime]:
7168 [verify-visited-file-modtime]: Add handler.
7169 (with-tramp-gvfs-error-message)
7170 (tramp-gvfs-handle-set-visited-file-modtime)
7171 (tramp-gvfs-fuse-file-name): Remove.
7172 (tramp-gvfs-handle-file-notify-add-watch)
7173 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7174 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7175
44e18199
JB
7176 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7177 Order alphabetically.
a43dc424
MA
7178 [file-notify-rm-watch ]: Use default Tramp handler.
7179 [executable-find]: Remove private handler.
7180 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7181 `default-directory'.
7182 (tramp-sh-handle-executable-find)
7183 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7184 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7185 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7186 Do not use `format' in `tramp-message'.
7187
7188 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7189 [file-notify-rm-watch, set-visited-file-modtime]:
7190 [verify-visited-file-modtime]: Add handler.
7191 (tramp-smb-call-winexe): Do not bind `default-directory'.
7192
7188b515
XF
71932013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7194
7195 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7196
2412ee1a
DG
71972013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7198
7199 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7200 use it.
7201 (log-view-diff-changeset): Same.
7202 (log-view-diff-common): Call backend command `previous-revision'
7203 to find out the previous revision, in both cases. Swap the
7204 variables `to' and `fr', so that `fr' usually refers to the
7205 earlier revision (Bug#14989).
7206
5002a754
KRC
72072013-07-31 Kan-Ru Chen <kanru@kanru.info>
7208
7209 * ibuf-ext.el (ibuffer-filter-by-filename):
7210 Make it work with dired buffers too.
7211
44e18199 72122013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
7213
7214 * emacs-lisp/re-builder.el (reb-color-display-p):
7215 * files.el (save-buffers-kill-terminal):
7216 * net/browse-url.el (browse-url):
7217 * server.el (server-save-buffers-kill-terminal):
7218 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7219 Prefer nil to selected-frame for the first arg of frame-parameter.
7220
aeca3fbb
XF
72212013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7222
7223 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7224
158bc55c
SB
72252013-07-30 Stephen Berman <stephen.berman@gmx.net>
7226
7227 * minibuffer.el (completion--twq-all): Try and preserve each
7228 completion's case choice (bug#14907).
7229
d50fceab
LMI
72302013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7231
ac38e731
LMI
7232 * net/network-stream.el (open-network-stream): Mention the new
7233 :nogreeting parameter.
7234 (network-stream-open-starttls): Use the :nogreeting parameter
7235 (bug#14938).
7236
1211de50
LMI
7237 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7238
997798bf
LMI
7239 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7240 more natural than popping.
7241
d50fceab 7242 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 7243 (shr-urlify): Highlight under mouse.
d50fceab 7244
5c09de04
XF
72452013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7246
207d1d04
XF
7247 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7248
7249 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7250
5c09de04
XF
7251 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7252 buffer for output.
7253
3cd51eaa
XF
7254 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7255 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 7256
44e18199 7257 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 7258 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
7259
7260 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7261
7262 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7263 buffer for output.
7264
35a89bdd
EZ
72652013-07-29 Eli Zaretskii <eliz@gnu.org>
7266
7267 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7268 initial frame is minibuffer-less. (Bug#14841)
7269
78822e94
MA
72702013-07-29 Michael Albinus <michael.albinus@gmx.de>
7271
7272 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7273 option.
7274
7275 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7276 (tramp-maybe-open-connection): Use it.
7277
9503c190
JB
72782013-07-28 Juanma Barranquero <lekktu@gmail.com>
7279
7280 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7281 minimal set of parameters passed when creating a frame, because
7282 the minibuffer status of a frame cannot be changed later.
7283
d5a845b4
SB
72842013-07-28 Stephen Berman <stephen.berman@gmx.net>
7285
7286 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7287 replace-regexp-in-string and inadvertent omissions in previous change.
7288 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 7289 name of filtered items buffer.
d5a845b4 7290
ddeffb17
JB
72912013-07-28 Juanma Barranquero <lekktu@gmail.com>
7292
7293 * desktop.el: Optionally force offscreen frames back onscreen.
7294 (desktop-restoring-reuses-frames): New option.
7295 (desktop--compute-pos, desktop--move-onscreen): New functions.
7296 (desktop--make-frame): Use desktop--move-onscreen.
7297
f5950f7a
AM
72982013-07-27 Alan Mackenzie <acm@muc.de>
7299
7300 Fontify a Java generic method as a function.
7301 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7302 value to t.
7303
ae43b66a
SB
73042013-07-27 Stephen Berman <stephen.berman@gmx.net>
7305
7306 * calendar/todo-mode.el: Add command to rename todo files.
7307 (todo-rename-file): New command.
7308 (todo-key-bindings-t): Add key binding for it. Change the
7309 bindings of todo-filter-regexp-items(-multifile) to use `x'
7310 instead of `r', since the latter is better suited to the new
7311 renaming command.
7312
5ab78d3d
AM
73132013-07-27 Alan Mackenzie <acm@muc.de>
7314
7315 Make Java try-with-resources statement parse properly.
7316 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7317 (c-block-stmt-1-2-key): New language constants/variables.
7318 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7319 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7320 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 7321 with c-block-stmt-1-2-key.
5ab78d3d 7322
d85c4d50
JB
73232013-07-27 Juanma Barranquero <lekktu@gmail.com>
7324
7325 * desktop.el (desktop--make-frame): Apply most frame parameters after
7326 creating the frame to force (partially or totally) offscreen frames to
7327 be restored as such.
7328
e4c467f9
XF
73292013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7330
7331 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 7332 (Bug#14948)
e4c467f9 7333
7ced0d04
SM
73342013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7335
7336 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7337 `base' arg of backtrace-frame.
7338
fec92060
EZ
73392013-07-26 Eli Zaretskii <eliz@gnu.org>
7340
7341 * simple.el (list-processes): Doc fix.
7342
d58d31fb
JB
73432013-07-26 Juanma Barranquero <lekktu@gmail.com>
7344
7345 * desktop.el (desktop--select-frame):
d85c4d50 7346 Try harder to reuse existing frames.
d58d31fb 7347
53ff3e77
SM
73482013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7349
7350 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7351 (edebug-eval): Use backtrace-eval.
7352 (edebug--display, edebug--recursive-edit): Don't let-bind the
7353 edebug-outer-* vars that keep track of variables we locally let-bind.
7354 (edebug-outside-excursion): Don't restore outside values of locally
7355 let-bound vars.
7356 (edebug--display): Use user-error.
7357 (cl-lexical-debug, cl-debug-env): Remove.
7358
045f7a53
JB
73592013-07-26 Juanma Barranquero <lekktu@gmail.com>
7360
7361 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7362 are restored to be sure that they are visible before deleting any
7363 remaining ones.
7364
59070b32
MM
73652013-07-26 Matthias Meulien <orontee@gmail.com>
7366
742a3501
XF
7367 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7368 vc-print-root-log. (Bug#14948)
59070b32 7369
b1fb3596
RS
73702013-07-26 Richard Stallman <rms@gnu.org>
7371
7372 Add aliases for encrypting mail.
7373 * epa.el (epa-mail-aliases): New option.
7374 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7375 Bind inhibit-read-only so read-only text doesn't ruin everything.
7376 (epa-mail-default-recipients): New subroutine broken out.
7377 Handle epa-mail-aliases.
7378
56ea7291
SM
73792013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7380
7381 Add support for lexical variables to the debugger's `e' command.
7382 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7383 vars, except for debugger-outer-match-data.
7384 (debugger-frame-number): Move check for "on a function call" from
7385 callers into it. Add `skip-base' argument.
7386 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7387 (debugger-env-macro): Only reset the state stored in non-variables,
7388 i.e. current-buffer and match-data.
7389 (debugger-eval-expression): Rewrite using backtrace-eval.
7390 * subr.el (internal--called-interactively-p--get-frame): Remove.
7391 (called-interactively-p):
7392 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7393 `base' arg of backtrace-frame instead.
7394
15ac32d5
GM
73952013-07-26 Glenn Morris <rgm@gnu.org>
7396
8358a09d
GM
7397 * align.el (align-regexp): Doc fix. (Bug#14857)
7398 (align-region): Explicit error if subexpression missing/does not match.
7399
15ac32d5
GM
7400 * simple.el (global-visual-line-mode):
7401 Do not duplicate the mode lighter. (Bug#14858)
7402
f47ad11b
MR
74032013-07-25 Martin Rudalics <rudalics@gmx.at>
7404
7405 * window.el (display-buffer): In display-buffer bind
7406 split-window-keep-point to t, bug#14829.
7407
02530987
JB
74082013-07-25 Juanma Barranquero <lekktu@gmail.com>
7409
7410 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7411 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7412 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7413 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7414 Change accordingly.
f63ebeb5
JB
7415 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7416 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 7417
6ccb9cab 74182013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 7419
6ccb9cab 7420 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 7421
cb3a56d2
JB
74222013-07-25 Juanma Barranquero <lekktu@gmail.com>
7423
7424 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7425 parameter to modify-frame-parameters if the value has not changed;
7426 this is a workaround for bug#14949.
7427 (desktop--make-frame): On cl-delete-if call, check parameter name,
7428 not full parameter.
7429
7aa7fff0
XF
74302013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7431
7432 * vc/vc.el (vc-ignore): New function.
7433
7434 * vc/vc-svn.el (vc-svn-ignore): New function.
7435
7436 * vc/vc-hg.el (vc-hg-ignore): New function.
7437
7438 * vc/vc-git.el (vc-git-ignore): New function.
7439
7440 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7441 (vc-dir-ignore): New function.
7442
7443 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 7444 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
7445
7446 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7447
7448 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7449
889acc5c
JB
74502013-07-24 Juanma Barranquero <lekktu@gmail.com>
7451
7452 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7453 (desktop-restore-frames): Warn when deleting an existing frame failed.
7454
86c40970
GM
74552013-07-24 Glenn Morris <rgm@gnu.org>
7456
7457 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7458
d5d3c58a
MA
74592013-07-24 Michael Albinus <michael.albinus@gmx.de>
7460
7461 * filenotify.el (file-notify-supported-p):
7462 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7463 Remove functions.
7464
7465 * autorevert.el (auto-revert-use-notify):
7466 (auto-revert-notify-add-watch):
7467 * net/tramp.el (tramp-file-name-for-operation):
7468 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7469 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7470 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7471 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7472 Remove `file-notify-supported-p' entry.
7473
d100084b
GM
74742013-07-24 Glenn Morris <rgm@gnu.org>
7475
7476 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 7477 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 7478
ac93e56b
SM
74792013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7480
249eea30
SM
7481 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7482 checked with memq (bug#14935).
7483
ac93e56b
SM
7484 * files.el (revert-buffer-function): Use a non-nil default.
7485 (revert-buffer-preserve-modes): Declare var to
7486 provide access to the `preserve-modes' argument.
7487 (revert-buffer): Let-bind it.
7488 (revert-buffer--default): New function, extracted from revert-buffer.
7489
2cdeb903
SM
74902013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7491
7492 * lpr.el: Signal print errors more prominently.
7493 (print-region-function): Don't default to nil.
7494 (lpr-print-region): New function, extracted from print-region-1.
7495 Check lpr's return value and signal an error in case of problem.
7496 (print-region-1): Use it.
7497 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7498 versions instead.
7499 (ps-printer-name): Default to nil.
7500 (ps-printer-name-option): Default to lpr-printer-switch.
7501 (ps-print-region-function): Don't default to nil.
7502 (ps-postscript-code-directory): Simplify default.
7503 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7504 (ps-string-list, ps-eval-switch, ps-flatten-list)
7505 (ps-flatten-list-1): Remove.
7506 (ps-multibyte-buffer): Avoid setq.
7507 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7508 (print-region-function, ps-print-region-function): Don't set them here.
7509
73600831
XF
75102013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7511
0e55c076
XF
7512 * ido.el (ido-fractionp):
7513 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7514 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7515 (ido-max-directory-size, ido-max-dir-file-cache)
7516 (ido-decorations): Doc fix.
7517
73600831
XF
7518 * ansi-color.el: Fix old URL.
7519
3d012865
MM
75202013-07-23 Michael R. Mauger <michael@mauger.com>
7521
e903c210 7522 * progmodes/sql.el: Version 3.3
3d012865
MM
7523 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7524 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7525 (sql-interactive-remove-continuation-prompt): Rewrite, use
7526 functions above. Fix continuation prompt and complete output line
7527 handling.
7528 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7529 redirected output buffer.
7530 (sql-mode): Restore deleted code (Bug#13591).
7531
da77a2e2
JB
75322013-07-23 Juanma Barranquero <lekktu@gmail.com>
7533
7534 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7535
80ff0c71
MA
75362013-07-23 Michael Albinus <michael.albinus@gmx.de>
7537
7538 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7539
7540 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7541 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7542 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7543
b61d71e4
JB
75442013-07-23 Juanma Barranquero <lekktu@gmail.com>
7545
7546 * desktop.el (desktop-clear): Simplify; remove useless checks
7547 against invalid buffer names.
7548 (desktop-list*): Use cl-list*.
7549 (desktop-buffer-info, desktop-create-buffer): Simplify.
7550
c3512092
LL
75512013-07-23 Leo Liu <sdl.web@gmail.com>
7552
7553 * bookmark.el (bookmark-make-record): Restore NAME as a default
7554 value. (Bug#14933)
7555
0ac26976
SM
75562013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7557
7d22ce18
SM
7558 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7559 extracted from autoload--insert-text.
7560 (autoload--insert-text): Remove.
7561 (autoload--print-cookie-text): New function, extracted from
7562 autoload--insert-cookie-text.
7563 (autoload--insert-cookie-text): Remove.
7564 (autoload-generate-file-autoloads): Adjust calls accordingly.
7565
9b2607e8
SM
7566 * winner.el (winner-hook-installed-p): Remove.
7567 (winner-mode): Simplify accordingly.
7568
c43a8618
SM
7569 * subr.el (add-to-list): Fix compiler-macro when `append' is
7570 not constant. Don't use `cl-member' for the base case.
7571
0ac26976
SM
7572 * progmodes/subword.el: Fix boundary case (bug#13758).
7573 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7574 own group.
7575 (subword-backward-regexp): Make it a constant.
7576 (subword-forward-internal): Don't treat a trailing capital as the
7577 beginning of a word.
7578
6874724a
AR
75792013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7580
7581 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7582 global value of tabulated-list-revert-hook (bug#14930).
7583
70f1b5e8
JB
75842013-07-22 Juanma Barranquero <lekktu@gmail.com>
7585
a1c80d9d
JB
7586 * desktop.el: Require 'cl-lib.
7587 (desktop-before-saving-frames-functions): New hook.
7588 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7589 for frames being saved. Rename from desktop--save-minibuffer-frames.
7590 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
7591 Do not save frames with non-nil `desktop-dont-save' parameter.
7592 Filter out deleted frames.
a1c80d9d
JB
7593 (desktop--find-frame): Use cl-find-if.
7594 (desktop--select-frame): Use cl-(first|second|third) to access values
7595 of desktop-mini.
7596 (desktop--make-frame): Use cl-delete-if.
7597 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7598 (desktop-restore-frames): Use cl-(first|second|third) to access values
7599 of desktop-mini. Look for visible frame at the end, not while
7600 restoring frames.
7601
70f1b5e8
JB
7602 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7603 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7604 Use string-match-p, looking-at-p (bug#14927).
7605
728dc3cc
JB
76062013-07-21 Juanma Barranquero <lekktu@gmail.com>
7607
56bc453c
JB
7608 * desktop.el (desktop-saved-frame-states):
7609 Rename from desktop--saved-states; all users changed.
7610 (desktop-save-frames): Rename from desktop--save-frames.
7611 Do not save state to desktop file.
7612 (desktop-save): Save desktop-saved-frame-states to desktop file
7613 and reset to nil.
7614 (desktop-restoring-frames-p): New function.
7615 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7616 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7617 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7618
728dc3cc
JB
7619 * desktop.el: Correctly restore iconified frames.
7620 (desktop--filter-iconified-position): New function.
7621 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7622
862f1c9c
GM
76232013-07-20 Glenn Morris <rgm@gnu.org>
7624
c4074c9f
GM
7625 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7626 Let `message' do the formatting.
7627 (def-gdb-preempt-display-buffer): Add explicit format.
7628
d828e5f9
GM
7629 * image-dired.el (image-dired-track-original-file):
7630 Use with-current-buffer.
7631 (image-dired-track-thumbnail): Use with-current-buffer.
7632 Avoid changing point of wrong window.
7633
862f1c9c
GM
7634 * image-dired.el (image-dired-track-original-file):
7635 Avoid changing point of wrong window. (Bug#14909)
7636
f0398ec1 76372013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
7638
7639 * progmodes/gdb-mi.el (gdb-done-or-error):
7640 Guard against "%" in gdb output. (Bug#14127)
7641
1451928f
AS
76422013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7643
763a086d
JB
7644 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7645 (Bug#14826)
f7a03897 7646
1451928f
AS
7647 * international/mule.el (coding-system-iso-2022-flags): Fix last
7648 change.
7649
99107004
KH
76502013-07-20 Kenichi Handa <handa@gnu.org>
7651
763a086d
JB
7652 * international/mule.el (coding-system-iso-2022-flags):
7653 Add `8-bit-level-4'. (Bug#8522)
99107004 7654
48494e06
LMI
76552013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7656
8ba8eec5
LMI
7657 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7658 (bug#14815).
7659
dfbc66e3
LMI
7660 * net/eww.el (eww-process-text-input): Allow inputting when the
7661 point is at the start of the line, as the properties aren't
7662 front-sticky.
7663
48494e06
LMI
7664 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7665 degenerate widths.
7666
77c92cb9
RS
76672013-07-19 Richard Stallman <rms@gnu.org>
7668
aec7da77
RS
7669 * epa.el (epa-popup-info-window): Doc fix.
7670
77c92cb9
RS
7671 * subr.el (split-string): New arg TRIM.
7672
945c5bb1
JB
76732013-07-18 Juanma Barranquero <lekktu@gmail.com>
7674
7675 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7676 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7677
e06ec67f
MA
76782013-07-18 Michael Albinus <michael.albinus@gmx.de>
7679
c7064f05 7680 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
7681 `file-notify-support'. Do not autoload. Adapt all uses.
7682 (file-notify-supported-p): New defun.
7683
c7064f05
JB
7684 * autorevert.el (auto-revert-use-notify):
7685 Use `file-notify-supported-p' instead of `file-notify-support'.
7686 Adapt docstring.
e06ec67f
MA
7687 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7688
7689 * net/tramp.el (tramp-file-name-for-operation):
7690 Add `file-notify-supported-p'.
7691
7692 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7693 New defun.
7694 (tramp-sh-file-name-handler-alist): Add it as handler for
7695 `file-notify-supported-p '.
7696
7697 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7698 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7699 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7700 Add `ignore' as handler for `file-notify-*' functions.
7701
5dc8a629
EZ
77022013-07-17 Eli Zaretskii <eliz@gnu.org>
7703
7704 * simple.el (line-move-partial, line-move): Don't start vscroll or
7705 scroll-up if the current line is not taller than the window.
7706 (Bug#14881)
7707
77aea2fb
DG
77082013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7709
7710 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7711 highlight question marks in the method names as strings.
ac72c08d
DG
7712 (ruby-block-beg-keywords): Inline.
7713 (ruby-font-lock-keyword-beg-re): Extract from
7714 `ruby-font-lock-keywords'.
77aea2fb 7715
18c26d81
JD
77162013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7717
7718 * frame.el (blink-cursor-blinks): New defcustom.
7719 (blink-cursor-blinks-done): New defvar.
7720 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7721 (blink-cursor-timer-function): Check if number of blinks has been
7722 done on X and NS.
7723 (blink-cursor-suspend, blink-cursor-check): New defuns.
7724
da48522e
GM
77252013-07-15 Glenn Morris <rgm@gnu.org>
7726
7727 * edmacro.el (edmacro-format-keys): Fix previous change.
7728
0463c1ef
PE
77292013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7730
7731 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7732 The hack didn't work outside English locales anyway.
7733
b43f6451
JB
77342013-07-15 Juanma Barranquero <lekktu@gmail.com>
7735
7736 * simple.el (define-alternatives): Rename from alternatives-define,
7737 per RMS' suggestion.
7738
b958c0ad
JB
77392013-07-14 Juanma Barranquero <lekktu@gmail.com>
7740
7741 * desktop.el (desktop-restore-frames): Change default to t.
7742 (desktop-restore-in-current-display): Now offer more options.
7743 (desktop-restoring-reuses-frames): New customization option.
7744 (desktop--saved-states): Doc fix.
7745 (desktop-filter-parameters-alist): New variable, renamed and expanded
7746 from desktop--excluded-frame-parameters.
7747 (desktop--target-display): New variable.
7748 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7749 (desktop--filter-tty*, desktop--filter-*-color)
7750 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7751 (desktop--filter-save-desktop-parm)
7752 (desktop-restore-in-original-display-p): New functions.
7753 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7754 (desktop--save-minibuffer-frames): New function, inspired by a similar
7755 function from Martin Rudalics.
7756 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7757 (desktop--restore-in-this-display-p): Remove.
7758 (desktop--find-frame): Rename from desktop--find-frame-in-display
7759 and add predicate argument.
7760 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7761 (desktop--reuse-list): New variable.
7762 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7763 New functions.
7764 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7765
f6dd8b36
MA
77662013-07-14 Michael Albinus <michael.albinus@gmx.de>
7767
7768 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7769
2ce3c565
DG
77702013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7771
763a086d
JB
7772 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7773 Highlight conversion methods on Kernel.
2ce3c565 7774
2cdb7698
AM
77752013-07-13 Alan Mackenzie <acm@muc.de>
7776
7777 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7778 and comment it out. This out-commenting enables certain C++
7779 declarations to be parsed correctly.
7780
1a67b811
EZ
77812013-07-13 Eli Zaretskii <eliz@gnu.org>
7782
1b796d6b
EZ
7783 * international/mule.el (define-coding-system): Doc fix.
7784
1a67b811
EZ
7785 * simple.el (default-font-height): Don't call font-info if the
7786 frame's default font didn't change since the frame was created.
7787 (Bug#14838)
7788
58fbe886
LL
77892013-07-13 Leo Liu <sdl.web@gmail.com>
7790
7791 * ido.el (ido-read-file-name): Guard against non-symbol value.
7792
1f0480d4
FEG
77932013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7794
7795 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7796 in nested defuns.
7797
97ead0e5
LL
77982013-07-13 Leo Liu <sdl.web@gmail.com>
7799
7800 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7801 ido-set-matches call. (Bug#6852)
7802
0880a952
DG
78032013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7804
7805 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7806 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7807 Ruby 2.0.
7808 (ruby-font-lock-keywords): Distinguish calls to functions with
7809 module-like names from module references. Highlight character
7810 literals.
7811
a7d8babb
SDJ
78122013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7813
7814 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 7815 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 7816
acfcc8c5
JB
78172013-07-12 Juanma Barranquero <lekktu@gmail.com>
7818
7819 * desktop.el (desktop--v2s): Remove unused local variable.
7820 (desktop-save-buffer): Make defvar-local; adjust docstring.
7821 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7822 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7823
051f2775
AS
78242013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7825
7826 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7827
f24e7572
GM
78282013-07-12 Eli Zaretskii <eliz@gnu.org>
7829
7830 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7831 (Bug#14842)
7832
539a920c
GM
78332013-07-12 Glenn Morris <rgm@gnu.org>
7834
7835 * doc-view.el: Require cl-lib at runtime too.
7836 (doc-view-remove-if): Remove.
7837 (doc-view-search-next-match, doc-view-search-previous-match):
7838 Use cl-remove-if.
7839
7840 * edmacro.el: Require cl-lib at runtime too.
7841 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7842 (edmacro-mismatch, edmacro-subseq): Remove.
7843
7844 * shadowfile.el: Require cl-lib.
7845 (shadow-remove-if): Remove.
7846 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7847 Use cl-remove-if.
7848
7849 * wid-edit.el: Require cl-lib.
7850 (widget-choose): Use cl-remove-if.
7851 (widget-remove-if): Remove.
7852
7853 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7854 (ebrowse-delete-if-not): Remove.
7855 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7856 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7857 Use cl-delete-if-not.
7858
1048af7c
JB
78592013-07-12 Juanma Barranquero <lekktu@gmail.com>
7860
7861 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7862 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7863
6c0674ee
LL
78642013-07-12 Leo Liu <sdl.web@gmail.com>
7865
7866 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7867
a19b3c2d
GM
78682013-07-11 Glenn Morris <rgm@gnu.org>
7869
4582a01c
GM
7870 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7871 (edebug-gensym-index, edebug-gensym):
7872 Remove reimplementation of cl-gensym.
7873 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7874
7875 * thumbs.el: Require cl-lib at run-time too.
7876 (thumbs-gensym-counter, thumbs-gensym):
7877 Remove reimplementation of cl-gensym.
7878 (thumbs-temp-file): Use cl-gensym.
7879
a19b3c2d
GM
7880 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7881 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7882 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7883 (ert--union, ert--gensym-counter, ert--gensym-counter)
7884 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7885 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7886 (ert-make-test-unbound, ert--expand-should-1)
7887 (ert--expand-should, ert--should-error-handle-error)
7888 (should-error, ert--explain-equal-rec)
7889 (ert--plist-difference-explanation, ert-select-tests)
7890 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7891 Use cl-lib functions rather than reimplementations.
7892
88f6a933
MA
78932013-07-11 Michael Albinus <michael.albinus@gmx.de>
7894
7895 * net/tramp.el (tramp-methods): Extend docstring.
7896 (tramp-connection-timeout): New defcustom.
7897 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7898 (with-tramp-progress-reporter): Simplify.
7899 (tramp-process-actions): Improve messages.
7900
7901 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7902 * net/tramp-sh.el (tramp-maybe-open-connection):
7903 Use `tramp-connection-timeout'.
7904 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7905 (Bug#14808)
7906
a43d577e
LL
79072013-07-11 Leo Liu <sdl.web@gmail.com>
7908
7909 * ido.el (ido-read-file-name): Conform to the requirements of
7910 read-file-name. (Bug#11861)
7911 (ido-read-directory-name): Conform to the requirements of
7912 read-directory-name.
7913
d77974bf
JB
79142013-07-11 Juanma Barranquero <lekktu@gmail.com>
7915
7916 * subr.el (delay-warning): New function.
7917
35cb8a3e
EZ
79182013-07-10 Eli Zaretskii <eliz@gnu.org>
7919
7920 * simple.el (default-line-height): New function.
7921 (line-move-partial, line-move): Use it instead of computing the
7922 line height inline.
7923 (line-move-partial): Always compute ROWH. If the last line is
7924 partially-visible, but its text is completely visible, allow
7925 cursor to enter such a partially-visible line.
7926
525c5c77
MA
79272013-07-10 Michael Albinus <michael.albinus@gmx.de>
7928
7929 Improve error messages. (Bug#14808)
7930
7931 * net/tramp.el (tramp-current-connection): New defvar, moved from
7932 tramp-sh.el.
0ac26976 7933 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 7934 needed anymore.
0ac26976
SM
7935 (tramp-error-with-buffer): Show message in minibuffer.
7936 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
7937 (with-tramp-progress-reporter): Improve messages.
7938 (tramp-process-actions): Use progress reporter. Delete process in
7939 case of error. Improve messages.
7940
763a086d
JB
7941 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7942 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 7943 (tramp-current-connection): Remove.
525c5c77
MA
7944 (tramp-maybe-open-connection): The car of
7945 `tramp-current-connection' are the first 3 slots of the vector.
7946
c7a4d368
TZ
79472013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7948
7949 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7950 inside continued strings.
7951
954b166e
PE
79522013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7953
7954 Timestamp fixes for undo (Bug#14824).
7955 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7956
56973319
LL
79572013-07-10 Leo Liu <sdl.web@gmail.com>
7958
7959 * files.el (require-final-newline): Allow safe local value.
7960 (Bug#14834)
7961
5550a72c
LL
79622013-07-09 Leo Liu <sdl.web@gmail.com>
7963
7964 * ido.el (ido-read-directory-name): Handle fallback.
7965 (ido-read-file-name): Update DIR to ido-current-directory.
7966 (Bug#1516)
c28b9050 7967 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 7968
70c46b28
DG
79692013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7970
7971 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7972 "autoload". Remove "warn lower camel case" section, previously
7973 commented out. Highlight negation char. Do not highlight the
7974 target in singleton method definitions.
7975
0b64b838
SM
79762013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7977
7fd72e2c
SM
7978 * faces.el (tty-setup-hook): Declare the hook.
7979
0b64b838
SM
7980 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7981 and detect when a guard/pred depends on local vars (bug#14773).
7982 (pcase--u1): Adjust caller.
7983
ab49d60b
EZ
79842013-07-08 Eli Zaretskii <eliz@gnu.org>
7985
7986 * simple.el (line-move-partial, line-move): Account for
7987 line-spacing.
701d79aa
EZ
7988 (line-move-partial): Avoid setting vscroll when the last
7989 partially-visible line in window is of default height.
ab49d60b 7990
2d756ae0
LMI
79912013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7992
7993 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7994 been used a while.
7995
ed095bd7
JB
79962013-07-07 Juanma Barranquero <lekktu@gmail.com>
7997
7998 * subr.el (read-quoted-char): Remove unused local variable `char'.
7999
f1e6674b
MK
80002013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8001
584ee3fc
GM
8002 * ediff.el (ediff-version): Version update.
8003 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8004 (ediff-merge-with-ancestor-command, ediff-directories-command)
8005 (ediff-directories3-command, ediff-merge-directories-command)
8006 (ediff-merge-directories-with-ancestor-command): New functions.
8007 All are command-line interfaces to ediff: to facilitate calling
8008 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
8009
8010 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8011 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 8012
584ee3fc
GM
8013 * viper.el (viper-version): Version update.
8014 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 8015
584ee3fc
GM
80162013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8017
8018 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8019 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8020 (viper-intercept-ESC-key): Simplify.
8021 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8022 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8023 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8024 (viper-setup-ESC-to-escape): New functions.
8025 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8026 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 8027
9aff9b38
EZ
80282013-07-07 Eli Zaretskii <eliz@gnu.org>
8029
5165d44a
JB
8030 * simple.el (default-font-height, window-screen-lines):
8031 New functions.
9aff9b38
EZ
8032 (line-move, line-move-partial): Use them instead of
8033 frame-char-height and window-text-height. This makes scrolling
8034 text smoother when the buffer's default face uses a font that is
8035 different from the frame's default font.
8036
1afb1d07
JD
80372013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8038
8039 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 8040 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 8041
23de972a
EZ
80422013-07-06 Eli Zaretskii <eliz@gnu.org>
8043
8044 * simple.el (line-move-partial): Adjust the row returned by
8045 posn-at-point for the current window-vscroll. (Bug#14567)
8046
54a42486
MA
80472013-07-06 Michael Albinus <michael.albinus@gmx.de>
8048
8049 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8050 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8051 spaces.
8052
34ada5f4
MR
80532013-07-06 Martin Rudalics <rudalics@gmx.at>
8054
8055 * window.el (window-state-put-stale-windows): New variable.
8056 (window--state-put-2): Save list of windows without matching buffer.
8057 (window-state-put): Remove "bufferless" windows if possible.
8058
11e03d89
JB
80592013-07-06 Juanma Barranquero <lekktu@gmail.com>
8060
8061 * simple.el (alternatives-define): Remove leftover :group keyword.
8062 Tweak docstring.
8063
3504a4be
LL
80642013-07-06 Leo Liu <sdl.web@gmail.com>
8065
8066 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8067 (ido-enable-virtual-buffers): New variable.
8068 (ido-buffer-internal, ido-toggle-virtual-buffers)
8069 (ido-make-buffer-list): Use it.
8070 (ido-exhibit): Support turning on and off virtual buffers
8071 automatically.
8072
61e56e2c
JB
80732013-07-06 Juanma Barranquero <lekktu@gmail.com>
8074
8075 * simple.el (alternatives-define): New macro.
8076
321e1a9c
SM
80772013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8078
8079 * subr.el (read-quoted-char): Use read-key.
8080 (sit-for): Let read-event decode tty input (bug#14782).
8081
d610f6dd
SB
80822013-07-05 Stephen Berman <stephen.berman@gmx.net>
8083
8084 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
8085 mode command and externally. Fix various related bugs.
8086 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
8087 (todo-delete-file): New command.
8088 (todo-check-file): New function.
8089 (todo-show): Handle external deletion of the file we're trying to
8090 show (bug#14688). Replace called-interactively-p by an optional
8091 prefix argument to avoid problematic interaction with catch form
8092 when byte compiled (bug#14702).
8093 (todo-quit): Handle external deletion of the archive's todo file.
8094 Make sure the buffer that was visiting the archive file is still
8095 live before trying to bury it.
8096 (todo-category-completions): Handle external deletion of any
8097 category completion files.
8098 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8099 of todo files, in case of external deletion.
8100 (todo-add-file): Replace unnecessary setq by let-binding.
8101 (todo-find-archive): Check whether there are any archives.
8102 Replace unnecessary setq by let-binding.
8103 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
8104 archive buffer whether or not the archive already exists.
8105 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
8106 check if the archive is new; if it is, update list of archives.
8107 (todo-default-todo-file): Allow nil to be a valid value for when
8108 there are no todo files.
8109 (todo-reevaluate-default-file-defcustom): Use corrected definition
8110 of todo-default-todo-file.
8111 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8112 (todo-delete-category, todo-show-categories-table)
8113 (todo-category-number): Clarify comment.
8114 (todo-filter-items): Clarify documentation string.
8115 (todo-show-current-file, todo-display-as-todo-file)
8116 (todo-reset-and-enable-done-separator): Tweak documentation string.
8117 (todo-done-separator): Make separator length window-width, since
8118 bug#2749 is now fixed.
8119
ddbdfd6f
MA
81202013-07-05 Michael Albinus <michael.albinus@gmx.de>
8121
321e1a9c
SM
8122 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8123 Support both "gvfs-monitor-dir" and "inotifywait".
8124 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
8125 `tramp-sh-file-notify-process-filter'.
8126 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8127 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8128
96eb829a
LL
81292013-07-05 Leo Liu <sdl.web@gmail.com>
8130
8131 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8132
cf13177e
YM
81332013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8134
8135 * frame.el (display-pixel-height, display-pixel-width)
8136 (display-mm-height, display-mm-width): Mention behavior on
8137 multi-monitor setups in docstrings.
8138 (w32-display-monitor-attributes-list): Declare function.
8139 (display-monitor-attributes-list): Use it.
8140
864c58ca
MA
81412013-07-04 Michael Albinus <michael.albinus@gmx.de>
8142
8143 * filenotify.el: New package.
8144
8145 * autorevert.el (top): Require filenotify.el.
8146 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8147 instead.
8148 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8149 (auto-revert-notify-handler): Use `file-notify-*' functions.
8150
8151 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8152
321e1a9c
SM
8153 * net/tramp.el (tramp-file-name-for-operation):
8154 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
8155
8156 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8157 for `file-notify-add-watch' and `file-notify-rm-watch'.
8158 (tramp-process-sentinel): Improve trace.
8159 (tramp-sh-handle-file-notify-add-watch)
8160 (tramp-sh-file-notify-process-filter)
8161 (tramp-sh-handle-file-notify-rm-watch)
8162 (tramp-get-remote-inotifywait): New defuns.
8163
96673afe
JL
81642013-07-03 Juri Linkov <juri@jurta.org>
8165
8166 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8167 call of `occur-read-primary-args' to interactive spec.
8168
8169 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8170 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8171
924494f4
MM
81722013-07-03 Matthias Meulien <orontee@gmail.com>
8173
8174 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8175 `Buffer-menu-multi-occur'. Add it to the menu.
8176 (Buffer-menu-mode): Document it in docstring.
8177 (Buffer-menu-multi-occur): New command. (Bug#14673)
8178
56f75efc
DG
81792013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8180
8181 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8182 keywords and built-ins.
8183
9b057d61
GM
81842013-07-03 Glenn Morris <rgm@gnu.org>
8185
208dee4d
GM
8186 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8187
9b057d61
GM
8188 Make info-xref checks case-sensitive by default
8189 * info.el (Info-find-node, Info-find-in-tag-table)
8190 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8191 Add option for exact case matching of nodes.
8192 * info-xref.el (info-xref): New custom group.
8193 (info-xref-case-fold): New option.
8194 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8195
e01aa29c
LL
81962013-07-03 Leo Liu <sdl.web@gmail.com>
8197
8198 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8199
3086ca2e
DG
82002013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8201
8202 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8203 middle of block statement initially, lower the depth. Remove
8204 FIXME comment, not longer valid. Remove middle of block statement
8205 detection, no need to do that anymore since we've been using
8206 `ruby-parse-region' here.
8207
a3b49114
JD
82082013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8209
8210 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8211
08e5c823 82122013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
8213
8214 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8215
2addf922
JB
82162013-07-01 Juanma Barranquero <lekktu@gmail.com>
8217
8218 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8219 (desktop-restore-in-current-display): New customization option.
8220 (desktop--excluded-frame-parameters): Add `font'.
8221 (desktop--save-frames): Rename from desktop--save-windows.
8222 (desktop--restore-in-this-display-p): New function.
8223 (desktop--make-full-frame): Remove unwanted width/height from
8224 full(width|height) frames.
8225 (desktop--restore-frames): Rename from desktop--restore-windows.
8226 Obey desktop-restore-current-display. Do not delete old frames or
8227 select a new frame unless we were able to restore at least one frame.
8228
ef099a94
MN
82292013-06-30 Michal Nazarewicz <mina86@mina86.com>
8230
8231 * files.el (find-file-noselect): Simplify conditional expression.
8232
a12bf61e 8233 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
8234 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8235
8236 Add `remember-notes' function to store random notes across Emacs
8237 restarts.
3fcfc4ee
JB
8238 * textmodes/remember.el (remember-data-file): Add :set callback to
8239 affect notes buffer (if any).
ef099a94
MN
8240 (remember-notes): New command.
8241 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8242 New defcustoms for the `remember-notes' function.
8243 (remember-notes-save-and-bury-buffer): New command.
8244 (remember-notes-mode-map): New variable.
8245 (remember-mode): New minor mode.
8246 (remember-notes--kill-buffer-query): New function.
8247 * startup.el (initial-buffer-choice): Add notes to custom type.
8248
0865d506
EZ
82492013-06-30 Eli Zaretskii <eliz@gnu.org>
8250
0ba54312
EZ
8251 * bindings.el (right-char, left-char): Don't call sit-for, this is
8252 no longer needed. Use arithmetic comparison only for numerical
8253 arguments.
8254
ef099a94
MN
8255 * international/mule-cmds.el (select-safe-coding-system):
8256 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 8257
2fae38e5
LMI
82582013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8259
8260 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8261 progression on degenerate tables.
ef099a94 8262 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 8263
a47cbd64
JB
82642013-06-30 Juanma Barranquero <lekktu@gmail.com>
8265
8266 Some fixes and improvements for desktop frame restoration.
8267 It is still experimental and disabled by default.
8268 * desktop.el (desktop--save-windows): Put the selected frame at
8269 the head of the list.
8270 (desktop--make-full-frame): New function.
8271 (desktop--restore-windows): Try to re-select the frame that was
8272 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
8273 just show an error message and continue. Set up maximized frames
8274 so they have default non-maximized dimensions.
a47cbd64 8275
6dbafa30
DG
82762013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8277
ef099a94
MN
8278 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8279 Don't start heredoc inside a string or comment.
6dbafa30 8280
4c672a0f
EZ
82812013-06-29 Eli Zaretskii <eliz@gnu.org>
8282
8283 * bindings.el (visual-order-cursor-movement): New defcustom.
8284 (right-char, left-char): Provide visual-order cursor motion by
8285 calling move-point-visually. Update the doc strings.
8286
50960f36
KH
82872013-06-28 Kenichi Handa <handa@gnu.org>
8288
8289 * international/mule.el (define-coding-system): New coding system
8290 properties :inhibit-null-byte-detection,
8291 :inhibit-iso-escape-detection, and :prefer-utf-8.
8292 (set-buffer-file-coding-system): If :charset-list property of
8293 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8294 appropriate for setting.
8295
c1ea3abf
JB
8296 * international/mule-cmds.el (select-safe-coding-system):
8297 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8298 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
8299
8300 * international/mule-conf.el (prefer-utf-8): New coding system.
8301 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8302 files.
8303
75dbaf9d
IK
83042013-06-28 Ivan Kanis <ivan@kanis.fr>
8305
eadb6068
IK
8306 * net/shr.el (shr-render-region): New function.
8307
75dbaf9d
IK
8308 * net/eww.el: Autoload `eww-browse-url'.
8309
9ea5cf9f
DG
83102013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8311
c1ea3abf
JB
8312 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8313 Adapt to `package-desc-version' being a list.
8314 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
8315 archive element.
8316
39c0e36f
JB
83172013-06-27 Juanma Barranquero <lekktu@gmail.com>
8318
8319 New experimental feature to save&restore window and frame setup.
8320 * desktop.el (desktop-save-windows): New defcustom.
8321 (desktop--saved-states): New var.
8322 (desktop--excluded-frame-parameters): New defconst.
8323 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8324 (desktop--restore-windows, desktop--save-windows): New functions.
8325 (desktop-save): Call `desktop--save-windows'.
8326 (desktop-read): Call `desktop--restore-windows'.
8327
7f13406b
LMI
83282013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8329
ef099a94 8330 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 8331
1e072639
SB
83322013-06-27 Stephen Berman <stephen.berman@gmx.net>
8333
8334 * info.el (Info-try-follow-nearest-node): Move search for footnote
8335 above search for node name to prevent missing a footnote (bug#14717).
8336
f3e2cbde
SB
83372013-06-27 Stephen Berman <stephen.berman@gmx.net>
8338
8339 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8340
99906aa0
LL
83412013-06-27 Leo Liu <sdl.web@gmail.com>
8342
8343 * net/eww.el (eww-read-bookmarks): Check file size.
8344
539f75f4
SM
83452013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8346
8347 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8348 advice--pending if newdef is nil or an autoload (bug#13820).
8349 (advice-mapc): New function.
8350
843571cb
LMI
83512013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8352
8353 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8354 probably.
23a75d7f 8355 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
8356 (eww-add-bookmark): New command.
8357 (eww-bookmark-mode): New mode and commands.
a285ce99 8358 (eww-add-bookmark): Remove newlines from the title.
47fd571b 8359 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 8360
f2136e1e
GM
83612013-06-26 Glenn Morris <rgm@gnu.org>
8362
eab35f39
GM
8363 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8364 (hfy-size): Handle ttys. (Bug#14668)
8365
f2136e1e
GM
8366 * info-xref.el: Update for Texinfo 5 change in *note format.
8367 (info-xref-node-re, info-xref-note-re): New constants.
8368 (info-xref-check-buffer): Use info-xref-note-re.
8369
a49ff80c
SM
83702013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8371
a343d218
SM
8372 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8373
a49ff80c
SM
8374 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8375 nil terminate the loop (bug#14718).
8376
8308f184
LMI
83772013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8378
8379 * net/eww.el: Rework history traversal. When going forward/back,
8380 put these actions into the history, too, so that they can be
8381 replayed.
26bf2b82 8382 (eww-render): Move the history reset to the correct buffer.
8308f184 8383
ec64c273
JL
83842013-06-25 Juri Linkov <juri@jurta.org>
8385
8386 * files-x.el (modify-dir-local-variable): Change the header comment
8387 in the file with directory local variables. (Bug#14692)
8388
e080a9d7
JL
8389 * files-x.el (read-file-local-variable-value): Add `default'.
8390 (Bug#14710)
8391
bfbc93a1
IK
83922013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8393
8394 * net/eww.el (eww-make-unique-file-name): Create a unique file
8395 name before saving to entering `y' accidentally asynchronously.
8396
83972013-06-25 Ivan Kanis <ivan@kanis.fr>
8398
8399 * net/eww.el (eww-download): New command and keystroke.
8400
16f74f10
LMI
84012013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8402
a49ff80c 8403 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
8404
8405 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8406 be more consistent with Info and dired.
8407
8408 * net/eww.el (eww-mode-map): Ditto.
8409
12059709
SM
84102013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8411
8412 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8413 packages from archives.
8414 (package-archive-contents): Change format; include obsolete packages.
8415 (package-desc): Use `dir' to mark builtin packages.
8416 (package--from-builtin): Set the `dir' field to `builtin'.
8417 (generated-autoload-file, version-control): Declare.
8418 (package-compute-transaction): Change first arg and return value to be
8419 lists of package-descs. Adjust to new package-archive-contents format.
8420 (package--add-to-archive-contents): Adjust to new
8421 package-archive-contents format.
8422 (package-download-transaction): Arg is now a list of package-descs.
8423 (package-install): If `pkg' is a package name, pass it as
8424 a requirement, so it is subject to the usual (e.g. disabled) checks.
8425 (describe-package): Accept package-desc as well.
8426 (describe-package-1): Describe a specific package-desc. Add links to
8427 other package-descs for the same package name.
8428 (package-menu-describe-package): Pass the actual package-desc.
8429 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8430 works correctly.
8431 (package-desc-status): New function.
8432 (package-menu--refresh): New function, extracted
8433 from package-menu--generate.
8434 (package-menu--generate): Use it.
8435 (package-delete): Update package-alist.
8436 (package-menu-execute): Don't call package-initialize.
8437
8438 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8439 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8440 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8441 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8442 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8443 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8444
8bbdea0f
MR
84452013-06-25 Martin Rudalics <rudalics@gmx.at>
8446
8447 * window.el (window--state-get-1): Workaround for bug#14527.
8448 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8449
e82b0991
LMI
84502013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8451
8452 * net/eww.el (eww-back-url): Implement the history by stashing all
8453 the data into a list.
d3f0f918 8454 (eww-forward-url): Allow going forward in the history, too.
e82b0991 8455
c763842b
SM
84562013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8457
8458 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8459 for values and use read--expression for expressions (bug#14710).
8460 (read-file-local-variable): Avoid setq.
8461 (read-file-local-variable-mode): Use minor-mode-list.
8462
bceff189
RW
84632013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8464
864c58ca 8465 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
8466 for DOI URLs.
8467
45f431c6
RW
84682013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8469
864c58ca 8470 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
8471 Update imenu-support when dialect changes.
8472
f42d8237
LL
84732013-06-25 Leo Liu <sdl.web@gmail.com>
8474
8475 * ido.el (ido-read-internal): Allow forward slash on windows.
8476
be549ce6
LMI
84772013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8478
8479 * net/eww.el (eww): Start of strings is \\`, not ^.
8480
71d4c19d
IK
84812013-06-24 Ivan Kanis <ivan@kanis.fr>
8482
5196f88a
IK
8483 * net/shr.el (shr-browse-url): Fix interactive spec.
8484
71d4c19d
IK
8485 * net/eww.el (eww): Add a trailing slash to domain names.
8486
ae36ca55
JB
84872013-06-24 Juanma Barranquero <lekktu@gmail.com>
8488
8489 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8490
0ebd92a3
LMI
84912013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8492
bdaa086b
LMI
8493 * net/shr.el (shr-browse-url): Use an external browser if given a
8494 prefix.
8495
c763842b 8496 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 8497
b89fc156
IK
84982013-06-24 Ivan Kanis <ivan@kanis.fr>
8499
8500 * net/eww.el (eww): Work more correctly for file: URLs.
8501 (eww-detect-charset): Allow quoted charsets.
8502 (eww-yank-page-url): New command and keystroke.
8503
18eb4bca
DU
85042013-06-24 Daiki Ueno <ueno@gnu.org>
8505
8506 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8507 file name of gpg executable.
8508 (epg-context-program): New function.
8509 (epg-context-home-directory): New function.
8510 (epg-context-set-program): New function.
8511 (epg-context-set-home-directory): New function.
8512 (epg--start): Use `epg-context-program' instead of
8513 'epg-gpg-program'.
8514 (epg--list-keys-1): Likewise.
8515
6c6268c8
LL
85162013-06-24 Leo Liu <sdl.web@gmail.com>
8517
8518 * ido.el (ido-read-internal): Fix bug#14620.
8519
5e400cb3
JB
85202013-06-23 Juanma Barranquero <lekktu@gmail.com>
8521
8522 * faces.el (face-documentation): Simplify.
8523 (read-face-attribute, tty-find-type, x-resolve-font-name):
8524 Use `string-match-p'.
8525 (list-faces-display): Use `string-match-p'. Simplify.
8526 (face-spec-recalc): Check face to avoid face alias loops.
8527 (read-color): Use `string-match-p' and non-capturing parenthesis.
8528
f3f9606c
LMI
85292013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8530
8531 * net/shr.el (shr-rescale-image): Use the new
8532 :max-width/:max-height functionality.
8533
a3ca09b9
IK
85342013-06-23 Ivan Kanis <ivan@kanis.fr>
8535
8536 * net/eww.el (eww-search-prefix): New variable.
8537 (eww): Use it.
f865b474
IK
8538 (eww-external-browser): New variable.
8539 (eww-mode-map): New keystroke.
8540 (eww-browse-with-external-browser): New command.
a3ca09b9 8541
e854cfc7
IK
8542 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8543
18bb9e21
JB
85442013-06-23 Juanma Barranquero <lekktu@gmail.com>
8545
8546 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8547 Don't skip aligning the next header field when padding is 0;
8548 otherwise, field width is not respected unless the title is as
8549 wide as the field.
8550
5b165ade
SM
85512013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8552
8553 * emacs-lisp/package.el (package-el-version): Remove.
8554 (package-process-define-package): Fix inf-loop.
8555 (package-install): Allow symbols as arguments again.
8556
12adebe9
DG
85572013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8558
8559 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8560 add some more keyword-like methods.
8561 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8562
388573ee
JB
85632013-06-22 Juanma Barranquero <lekktu@gmail.com>
8564
8565 * bs.el (bs-buffer-show-mark): Make defvar-local.
8566 (bs-mode): Use setq-local.
8567
8568 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8569 (emacs-lock--try-unlocking): Make defvar-local.
8570
4582a01c 85712013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 8572
2663dd23
GM
8573 * play/cookie1.el (cookie-apropos): Minor simplification.
8574
3d94f3ad
GM
8575 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8576
f72e2fdb
DG
85772013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8578
8579 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8580 `regexp-opt', it breaks the build during dumping.
8581
73eab938
DG
85822013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8583
c763842b
SM
8584 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8585 Highlight keyword-like methods on Kernel and Module with
73eab938 8586 font-lock-builtin-face.
5cf8176d
DG
8587 (auto-mode-alist): Consolidate different entries into one regexp
8588 and add more *file-s.
73eab938 8589
d26255f6
SB
85902013-06-21 Stephen Berman <stephen.berman@gmx.net>
8591
8592 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8593
8594 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8595 (diary-entry): Use it in the action of this button type instead of
8596 diary-goto-entry.
8597
8598 * calendar/todo-mode.el: New version.
8599 (todo-add-category): Append new category to end of file and give
8600 it the highest number, instead of putting it at the beginning and
8601 giving it 0. Incorporate noninteractive functionality.
8602 (todo-forward-category): Adapt to 1-based category numbering.
8603 Allow skipping over archived categories.
8604 (todo-backward-category): Derive from todo-forward-category.
8605 (todo-backward-item, todo-forward-item): Make noninteractive and
8606 delegate interactive part to new commands. Make sensitive to done items.
8607 (todo-categories): Make value an alist of category names and
8608 vectors of item counts.
8609 (todo-category-beg): Make a defconst.
8610 (todo-category-number): Use 1 instead of 0 as initial value.
8611 (todo-category-select): Make sensitive to overlays, optional item
8612 highlighting and done items.
8613 (todo-delete-item): Make sensitive to overlays and marked and done items.
8614 (todo-edit-item): Make sensitive to overlays and editing of
8615 date/time header optional. Add format checks.
8616 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8617 no-op if point is not on an item. Advertise using todo-edit-quit.
8618 (todo-edit-mode): Make sensitive to new format, font-locking, and
8619 multiple todo files.
8620 (todo-insert-item, todo-insert-item-here): Derive from
8621 todo-basic-insert-item and extend functionality.
8622 (todo-item-end, todo-item-start): Make sensitive to done items.
8623 (todo-item-string): Don't return text properties. Restore point.
8624 (todo-jump-to-category): Make sensitive to multiple todo files and
8625 todo archives. Use extended category completion.
8626 (todo-lower-item, todo-raise-item): Rename to *-priority and
8627 derive from todo-set-item-priority.
8628 (todo-mode): Derive from special-mode. Make sensitive to new
8629 format, font-locking and multiple todo files. Make read-only.
8630 (todo-mode-map): Don't suppress digit keys, so they can supply
8631 prefix arguments. Add many new key bindings.
8632 (todo-prefix): Insert as an overlay instead of file text.
8633 Change semantics from diary date expression to purely visual mark.
8634 (todo-print): Rename to todo-print-buffer. Make buffer display
8635 features printable. Remove option to restrict number of items
8636 printed. Add option to print to file.
8637 (todo-print-function): Rename to todo-print-buffer-function.
8638 (todo-quit): Extend to handle exiting new todo modes.
8639 (todo-remove-item): Make sensitive to overlays.
8640 (todo-save): Extend to buffers of filtered items.
8641 (todo-show): Make sensitive to done items, multiple todo files and
8642 new todo modes. Offer to convert legacy todo file before creating
8643 first new todo file.
8644 (todo-show-priorities): Rename to todo-top-priorities.
8645 Change semantics of value 0.
8646 (todo-top-priorities): Rename to todo-filter-top-priorities,
8647 derive from todo-filter-items and extend functionality.
8648 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8649 and extend functionality to other types of filtered items.
8650 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8651 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8652 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8653 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8654 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8655 (todo-edit-mode-hook, todo-entry-prefix-function)
8656 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8657 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8658 (todo-initials, todo-insert-threshold, todo-item-string-start)
8659 (todo-line-string, todo-menu, todo-mode-hook)
8660 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8661 (todo-print-priorities, todo-remove-separator)
8662 (todo-save-top-priorities-too, todo-string-count-lines)
8663 (todo-string-multiline-p, todo-time-string-format)
8664 (todo-tmp-buffer-name): Remove.
8665 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8666 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8667 (todo-edit-category-diary-inclusion)
8668 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8669 (todo-edit-file, todo-edit-item-date-day)
8670 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8671 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8672 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8673 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8674 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8675 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8676 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8677 (todo-filter-top-priorities-multifile, todo-find-archive)
8678 (todo-find-filtered-items-file, todo-go-to-source-item)
8679 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8680 (todo-jump-to-archive-category, todo-lower-category)
8681 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8682 (todo-move-category, todo-move-item, todo-next-button)
8683 (todo-next-item, todo-padded-string, todo-powerset)
8684 (todo-previous-button, todo-previous-item)
8685 (todo-print-buffer-to-file, todo-raise-category)
8686 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8687 (todo-set-category-number, todo-set-item-priority)
8688 (todo-set-top-priorities-in-category)
8689 (todo-set-top-priorities-in-file, todo-show-categories-table)
8690 (todo-sort-categories-alphabetically-or-numerically)
8691 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8692 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8693 (todo-toggle-item-header, todo-toggle-item-highlighting)
8694 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8695 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8696 (todo-unarchive-items, todo-unmark-category): New commands.
8697 (todo-absolute-file-name, todo-add-to-buffer-list)
8698 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8699 (todo-basic-insert-item, todo-category-completions)
8700 (todo-category-number, todo-category-string-matcher-1)
8701 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8702 (todo-check-format, todo-clear-matches)
8703 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8704 (todo-current-category, todo-date-string-matcher)
8705 (todo-define-insertion-command, todo-diary-expired-matcher)
8706 (todo-diary-goto-entry, todo-diary-item-p)
8707 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8708 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8709 (todo-done-item-section-p, todo-done-separator)
8710 (todo-done-string-matcher, todo-files, todo-filter-items)
8711 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8712 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8713 (todo-insert-category-line, todo-insert-item-from-calendar)
8714 (todo-insert-sort-button, todo-insert-with-overlays)
8715 (todo-insertion-command-name, todo-insertion-key-bindings)
8716 (todo-label-to-key, todo-longest-category-name-length)
8717 (todo-make-categories-list, todo-mode-external-set)
8718 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8719 (todo-modes-set-3, todo-multiple-filter-files)
8720 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8721 (todo-read-category, todo-read-date, todo-read-dayname)
8722 (todo-read-file-name, todo-read-time)
8723 (todo-reevaluate-category-completions-files-defcustom)
8724 (todo-reevaluate-default-file-defcustom)
8725 (todo-reevaluate-filelist-defcustoms)
8726 (todo-reevaluate-filter-files-defcustom)
8727 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8728 (todo-reset-done-separator, todo-reset-done-separator-string)
8729 (todo-reset-done-string, todo-reset-global-current-todo-file)
8730 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8731 (todo-reset-prefix, todo-set-categories)
8732 (todo-set-date-from-calendar, todo-set-show-current-file)
8733 (todo-set-top-priorities, todo-short-file-name)
8734 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8735 (todo-total-item-counts, todo-update-buffer-list)
8736 (todo-update-categories-display, todo-update-categories-sexp)
8737 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8738 New functions.
8739 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8740 New major modes.
8741 (todo-categories, todo-display, todo-edit, todo-faces)
8742 (todo-filtered): New defgroups.
8743 (todo-archived-only, todo-button, todo-category-string, todo-date)
8744 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8745 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8746 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8747 (todo-add-item-if-new-category, todo-always-add-time-string)
8748 (todo-categories-align, todo-categories-archived-label)
8749 (todo-categories-category-label, todo-categories-diary-label)
8750 (todo-categories-done-label, todo-categories-number-separator)
8751 (todo-categories-todo-label, todo-categories-totals-label)
8752 (todo-category-completions-files, todo-completion-ignore-case)
8753 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8754 (todo-done-separator-string, todo-done-string)
8755 (todo-files-function, todo-filter-done-items, todo-filter-files)
8756 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8757 (todo-initial-category, todo-initial-file, todo-item-mark)
8758 (todo-legacy-date-time-regexp, todo-mode-line-function)
8759 (todo-nondiary-marker, todo-number-prefix)
8760 (todo-print-buffer-function, todo-show-current-file)
8761 (todo-show-done-only, todo-show-first, todo-show-with-done)
8762 (todo-skip-archived-categories, todo-top-priorities-overrides)
8763 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8764 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8765 New defcustoms.
8766 (todo-category-done, todo-date-pattern, todo-date-string-start)
8767 (todo-diary-items-buffer, todo-done-string-start)
8768 (todo-filtered-items-buffer, todo-item-start)
8769 (todo-month-abbrev-array, todo-month-name-array)
8770 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8771 (todo-top-priorities-buffer): New defconsts.
8772 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8773 (todo-categories-with-marks, todo-category-string-face)
8774 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8775 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8776 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8777 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8778 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8779 (todo-font-lock-keywords, todo-global-current-todo-file)
8780 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8781 (todo-insertion-commands-args)
8782 (todo-insertion-commands-args-genlist)
8783 (todo-insertion-commands-names, todo-insertion-map)
8784 (todo-key-bindings-t, todo-key-bindings-t+a)
8785 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8786 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8787 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8788 (todo-visited): New variables.
8789
cad5d1cb
GM
87902013-06-21 Glenn Morris <rgm@gnu.org>
8791
8792 * play/cookie1.el (cookie-apropos): Add optional display argument.
8793 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8794 (psychoanalyze-pinhead): Use cookie-doctor.
8795
9e277302
JB
87962013-06-21 Juanma Barranquero <lekktu@gmail.com>
8797
8798 * emacs-lisp/package.el (tar-get-file-descriptor)
8799 (tar--extract): Declare.
8800
c5b0993e
EW
88012013-06-21 Eduard Wiebe <usenet@pusto.de>
8802
8803 Extend flymake's warning predicate to be a function (bug#14217).
8804 * progmodes/flymake.el (flymake-warning-predicate): New.
8805 (flymake-parse-line): Use it.
8806 (flymake-warning-re): Make obsolete alias to
8807 `flymake-warning-predicate'.
8808
a7d2d465
SM
88092013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8810
8811 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8812 (package-obsolete-list): Remove.
8813 (package-activate): Remove min-version argument. Add `force' argument.
8814 Adjust to new package-alist format.
8815 (package-mark-obsolete): Remove.
8816 (package-unpack): Force reload of the package's autoloads.
8817 (package-installed-p): Check builtins if the installed package is not
8818 recent enough.
8819 (package-initialize): Don't reset package-obsolete-list.
8820 Don't specify which package version to activate.
8821 (package-process-define-package, describe-package-1)
8822 (package-menu--generate): Adjust to new package-alist format.
8823
cedf5c9d
JB
88242013-06-21 Juanma Barranquero <lekktu@gmail.com>
8825
8826 * allout-widgets.el (allout-widgets-mode-off)
8827 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8828 (allout-widgets-post-command-business)
8829 (allout-widgets-after-copy-or-kill-function)
8830 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8831 (allout-decorate-item-and-context)
8832 (allout-graphics-modification-handler): Fix typos in docstrings.
8833 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8834
8835 * cmuscheme.el (scheme-start-file): Doc fix.
8836 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8837 (scheme-input-filter): Use `string-match-p'.
8838
8839 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8840
8841 * dired-x.el: Use Dired consistently in docstrings.
8842
8843 * dired.el: Use Dired consistently in docstrings.
8844 (dired-readin, dired-mode): Use `setq-local'.
8845 (dired-switches-alist): Make defvar-local.
8846 (dired-buffers-for-dir): Use `zerop'.
8847 (dired-safe-switches-p, dired-switches-escape-p)
8848 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8849 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8850 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8851 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8852 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8853 (dired-toggle-marks, dired-mark-files-containing-regexp)
8854 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8855 (dired-flag-auto-save-files, dired-flag-backup-files):
8856 Use `looking-at-p'.
8857 (dired-mark-files-regexp, dired-build-subdir-alist):
8858 Use `string-match-p', `looking-at-p'.
8859
8860 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8861 (direct-print-region-helper): Use `string-match-p'.
8862
aed838b5
LL
88632013-06-21 Leo Liu <sdl.web@gmail.com>
8864
cedf5c9d
JB
8865 * comint.el (comint-redirect-results-list-from-process):
8866 Fix infinite loop.
aed838b5 8867
d80a808f
LMI
88682013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8869
8870 * net/eww.el (eww-update-header-line-format): Quote % characters.
8871
e7a526e3
GM
88722013-06-21 Glenn Morris <rgm@gnu.org>
8873
8874 * play/cookie1.el (cookie): New custom group.
8875 (cookie-file): New option.
8876 (cookie-check-file): New function.
8877 (cookie): Make it interactive. Make start and end messages optional.
8878 Interactively, display the result. Default to cookie-file.
8879 (cookie-insert): Default to cookie-file.
8880 (cookie-snarf): Make start and end messages optional.
8881 Default to cookie-file. Use with-temp-buffer.
8882 (cookie-read): Rename from read-cookie.
8883 Make start and end messages optional. Default to cookie-file.
8884 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 8885 Do not autoload it.
e7a526e3
GM
8886 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8887 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8888
62efb35e
LL
88892013-06-21 Leo Liu <sdl.web@gmail.com>
8890
8891 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8892
21e3f963
GM
88932013-06-21 Glenn Morris <rgm@gnu.org>
8894
8895 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8896
fd846ab4
SM
88972013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8898 Daniel Hackney <dan@haxney.org>
8899
8900 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8901 Consolidate the single-file vs tarball code.
8902 (package-desc-suffix): New function.
8903 (package-desc-full-name): Don't bother inlining it.
8904 (package-load-descriptor): Return the new package-desc.
8905 (package-mark-obsolete): Remove unused arg `package'.
8906 (package-unpack): Make it work for single files as well.
8907 Make it update package-alist.
8908 (package--make-autoloads-and-stuff): Rename from
8909 package--make-autoloads-and-compile. Don't compile any more.
8910 (package--compile): New function.
8911 (package-generate-description-file): New function, extracted from
8912 package-unpack-single.
8913 (package-unpack-single): Remove.
8914 (package--with-work-buffer): Add indentation and debugging info.
8915 (package-download-single): Remove.
8916 (package-install-from-archive): Rename from package-download-tar, make
8917 it take a pkg-desc, and make it work for single files as well.
8918 (package-download-transaction): Simplify.
8919 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8920 external tar program.
8921 (package-install-from-buffer): Remove `pkg-desc' argument.
8922 Use package-tar-file-info for tar-mode buffers.
8923 (package-install-file): Simplify accordingly.
8924 (package-archive-base): Change to take a pkg-desc.
8925 * tar-mode.el (tar--check-descriptor): New function, extracted from
8926 tar-get-descriptor.
8927 (tar-get-descriptor): Use it.
8928 (tar-get-file-descriptor): New function.
8929 (tar--extract): New function, extracted from tar-extract.
8930 (tar--extract): Use it.
8931 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8932 case the summary uses non-ascii. Adjust to new calling convention of
8933 package-tar-file-info.
8934
b7deae5e
LL
89352013-06-21 Leo Liu <sdl.web@gmail.com>
8936
fd846ab4
SM
8937 * comint.el (comint-redirect-results-list-from-process):
8938 Fix random delay. (Bug#14681)
b7deae5e 8939
7a65a0b2
JB
89402013-06-21 Juanma Barranquero <lekktu@gmail.com>
8941
8942 * profiler.el (profiler-format-number): Use log, not log10.
8943
1493c2af
JB
89442013-06-20 Juanma Barranquero <lekktu@gmail.com>
8945
8946 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8947
aff6371e
SM
89482013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8949
8950 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8951 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8952 yet available.
8953 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8954 (AUTOGENEL): ... here.
8955 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8956 (cl--defsubst-expand): Use it.
8957
89561f72
PE
89582013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8959
8960 * subr.el (log10): Move here from C code, and declare as obsolete.
8961 All uses of (log10 X) replaced with (log X 10).
8962
47199123
JB
89632013-06-20 Juanma Barranquero <lekktu@gmail.com>
8964
8965 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8966 Declare with `defvar-local'.
8967 (tabulated-list-use-header-line, tabulated-list-entries)
8968 (tabulated-list-padding, tabulated-list-printer)
8969 (tabulated-list-sort-key): Declare with `defvar-local'.
8970 (tabulated-list-init-header, tabulated-list-print-fake-header):
8971 Use `setq-local'.
8972
4a172eab
MA
89732013-06-20 Michael Albinus <michael.albinus@gmx.de>
8974
47199123
JB
8975 * arc-mode.el (archive-mode): Add `archive-write-file' to
8976 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 8977
5fc0acc0
JB
89782013-06-20 Juanma Barranquero <lekktu@gmail.com>
8979
d5b27848
JB
8980 * cus-edit.el (custom-commands): Fix typos.
8981 (custom-display): Fix tooltip text.
8982 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8983 Fix typos in docstrings.
8984 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8985 (custom-unlispify-menu-entry, custom-magic-value-create)
8986 (custom-add-see-also, custom-group-value-create): Use ?\s.
8987 (custom-guess-type, customize-apropos, editable-field)
8988 (custom-face-value-create): Use `string-match-p'.
8989 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8990
8991 * custom.el (custom-load-symbol): Use `string-match-p'.
8992
a5c581d8
JB
8993 * ansi-color.el: Convert to lexical binding.
8994 (ansi-colors): Fix URL.
8995 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8996 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8997 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8998
970ad972
G
89992013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9000
9001 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9002
9003 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9004
90052013-06-19 Tom Tromey <tromey@redhat.com>
9006
9007 * net/eww.el (eww-top-url): Remove.
9008 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9009 (eww-render): Set new variables. Don't set eww-top-url.
9010 (eww-handle-link): Handle "prev", "home", and "contents".
9011 Downcase the rel text.
9012 (eww-top-url): Choose best top URL.
9013
90142013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9015
9016 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9017 relying in widget.el. Using widget.el leads to too many
9018 user interface inconsistencies.
9019 (eww-self-insert): Implement entering commands in text fields.
9020 (eww-process-text-input): New function to make text input field editing
9021 work.
9022 (eww-submit): Rewrite to use the new-style form methods.
9023 (eww-select-display): Display the correct selected item.
9024 (eww-change-select): Implement changing the select value.
9025 (eww-toggle-checkbox): Implement radio/checkboxes.
9026 (eww-update-field): Fix compilation error.
9027 (eww-tag-textarea): Implement <textarea>.
9028
9029 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9030 we don't shadow mode-specific bindings.
9031
9032 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9033 nothing to push.
9034
9035 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9036
4582a01c 90372013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
9038
9039 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9040
15b263dc
MA
90412013-06-19 Michael Albinus <michael.albinus@gmx.de>
9042
9043 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9044 not needed.
9045
9046 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9047
8f5297f7
LMI
90482013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9049
9050 * net/browse-url.el (browse-url-browser-function):
9051 `eww-browse-url' has the right calling signature, `eww' does not.
9052
011c4552
GM
90532013-06-19 Glenn Morris <rgm@gnu.org>
9054
2285bd27
GM
9055 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9056 Only eval autoloaded macros.
9057 (byte-compile-autoload): Only give the macro warning for macros.
9058
1d653303
GM
9059 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9060 (ps-underlined-faces): Declare.
9061
bdd779ec
GM
9062 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9063 (speedbar-add-supported-extension): Declare.
9064
011c4552
GM
9065 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9066 Don't include a date stamp in the header of the generated file;
9067 it leads to needless differences between output files.
9068
e59dfb0e
MA
90692013-06-19 Michael Albinus <michael.albinus@gmx.de>
9070
c763842b
SM
9071 * net/secrets.el (secrets-struct-secret-content-type):
9072 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 9073 Some servers do not offer introspection.
e59dfb0e 9074
102626e2
SM
90752013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9076
9077 * electric.el (electric-pair-mode): Improve interaction with
9078 electric-layout-mode.
9079 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9080 (electric-pair-syntax): Use text-mode-syntax-table in comments
9081 and strings.
9082 (electric-pair--insert): New function.
9083 (electric-pair-post-self-insert-function): Use it and
9084 electric--after-char-pos.
9085
ad528125
LL
90862013-06-19 Leo Liu <sdl.web@gmail.com>
9087
9088 * progmodes/octave.el (octave-help): Fix regexp.
9089
924d6997
G
90902013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9091
9092 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9093 (shr-table-horizontal-line): Allow nil as a value, and change the
9094 default.
9095 (shr-insert-table-ruler): Respect the nil value.
9096
90972013-06-18 Tom Tromey <tromey@barimba>
9098
9099 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9100 New defvars.
9101 (eww-open-file): New defun.
9102 (eww-render): Initialize new variables.
9103 (eww-display-html): Handle "link" and "a".
9104 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9105 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9106 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
9107 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9108 New defuns.
924d6997 9109
d1bbba4f
DG
91102013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9111
9112 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9113 Distinguish ternary operator tokens from slash symbol and slash
9114 char literal.
9115
14dd22d2
JB
91162013-06-18 Juanma Barranquero <lekktu@gmail.com>
9117
9118 Convert symbol prettification into minor mode and global minor mode.
9119
9120 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9121 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9122 (prettify-symbols--keywords): Rename from
9123 `prog-prettify-symbols-alist' and make a local defvar.
9124 (prettify-symbols--compose-symbol): Rename from
9125 `prog--prettify-font-lock-compose-symbol'.
9126 (prettify-symbols--make-keywords): Rename from
9127 `prog-prettify-font-lock-symbols-keywords' and simplify.
9128 (prog-prettify-install): Remove.
9129 (prettify-symbols-mode): New minor mode, based on
9130 `prog-prettify-install'.
9131 (turn-on-prettify-symbols-mode): New function.
9132 (global-prettify-symbols-mode): New globalized minor mode.
9133
9134 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9135 * progmodes/cfengine.el (cfengine3-mode):
9136 * progmodes/perl-mode.el (perl-mode): Don't call
9137 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9138
292c880c
JL
91392013-06-18 Juri Linkov <juri@jurta.org>
9140
9141 * files-x.el (modify-file-local-variable-message): New function.
9142 (modify-file-local-variable)
9143 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9144 and call `modify-file-local-variable-message' when it's non-nil.
9145 (add-file-local-variable, delete-file-local-variable)
9146 (add-file-local-variable-prop-line)
9147 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9148 and use it. (Bug#9820)
9149
0950aa27
JL
91502013-06-18 Juri Linkov <juri@jurta.org>
9151
9152 * emulation/vi.el (vi-shell-op):
9153 * emulation/vip.el (vip-execute-com, ex-command):
9154 * emulation/viper-cmd.el (viper-exec-bang):
9155 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9156 the call of `shell-command-on-region'. (Bug#14637)
9157
9158 * simple.el (shell-command-on-region): Doc fix.
9159
8fbcca16
SM
91602013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9161
9162 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9163 (bug#14633).
9164
dd7426ea
GM
91652013-06-18 Glenn Morris <rgm@gnu.org>
9166
4ba54f7d
GM
9167 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9168
dd7426ea
GM
9169 * newcomment.el (comment-search-forward, comment-search-backward):
9170 Doc fix. (Bug#14376)
9171
58aa805b
JB
91722013-06-18 Juanma Barranquero <lekktu@gmail.com>
9173
9174 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9175 (buffer-face-mode-invoke): Doc fix.
9176
9a08a617
MM
91772013-06-18 Matthias Meulien <orontee@gmail.com>
9178
9179 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 9180 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 9181
f2f426ca
GM
91822013-06-18 Glenn Morris <rgm@gnu.org>
9183
9445f99b
GM
9184 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9185 Replace obsolete function generic-make-keywords with its expansion.
9186
e0df2d14
GM
9187 * progmodes/python.el (ffap-alist): Declare.
9188
f2f426ca
GM
9189 * textmodes/reftex.el (bibtex-mode-map): Declare.
9190
f7f9a720
SM
91912013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9192
9193 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9194 (package-unpack, package-unpack-single): Return the pkg-dir.
9195 (package-download-transaction): Use it to update package-alist.
9196
57ff04e0
LMI
91972013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9198
9199 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9200 possible choice.
9201
c048c022
JL
92022013-06-17 Juri Linkov <juri@jurta.org>
9203
9204 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9205
b5bcaee5
DG
92062013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9207
a020afb9
JB
9208 * emacs-lisp/package.el (package-load-descriptor):
9209 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
9210 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9211
551e07e5
JB
92122013-06-17 Juanma Barranquero <lekktu@gmail.com>
9213
9214 * startup.el (command-line): Expand package name returned by
9215 `package--description-file' (bug#14639).
9216
d363bffb
DG
92172013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9218
9219 * emacs-lisp/package.el (package-load-descriptor): Do not call
9220 `emacs-lisp-mode', just use its syntax table.
9221
f612933b
JB
92222013-06-17 Juanma Barranquero <lekktu@gmail.com>
9223
9224 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9225 `font-lock-extra-managed-props' if any prettifying keyword is added.
9226 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9227 (prog-mode): Use `setq-local'.
9228
db3b7db5
SM
92292013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9230
9231 * international/characters.el (standard-case-table): Set syntax of ?»
9232 and ?« to punctuation.
9233
f3d674df
JB
92342013-06-16 Juanma Barranquero <lekktu@gmail.com>
9235
9236 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9237 Save relevant match data before calling `syntax-ppss' (bug#14595).
9238
31489a32
JL
92392013-06-15 Juri Linkov <juri@jurta.org>
9240
9241 * files-x.el (modify-file-local-variable-prop-line): Add local
9242 variables to the end of the existing comment on the first line.
9243 Use `file-auto-mode-skip' to skip interpreter magic line,
9244 and also skip XML declaration.
9245
66bd25ab
SM
92462013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9247
9248 * startup.el (package--builtin-versions): New var.
9249 (package-subdirectory-regexp): Remove.
9250 (package--description-file): Hard code its value instead.
9251
9252 * emacs-lisp/package.el: Don't activate packages older than builtin.
9253 (package-obsolete-list): Rename from package-obsolete-alist, and make
9254 it into a simple list of package-desc.
9255 (package-strip-version): Remove.
9256 (package-built-in-p): Use package--builtin-versions.
9257 (package-mark-obsolete): Simplify.
9258 (package-process-define-package): Mark it obsolete if older than the
9259 builtin version.
9260 (package-handle-response): Use line-end-position.
9261 (package-read-archive-contents, package--download-one-archive):
9262 Simplify.
9263 (package--add-to-archive-contents): Skip if older than the builtin or
9264 installed version.
9265 (package-menu-describe-package): Fix last change.
9266 (package-list-unversioned): New var.
9267 (package-menu--generate): Use it.
9268
9269 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9270 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9271 (autoload-builtin-package-versions): New variable.
9272 (autoload-generate-file-autoloads): Use them.
9273 Remove the list of autoloaded functions/macros from the
9274 (autoload...) comments.
9275
9276 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9277
9583ec36
EZ
92782013-06-15 Eli Zaretskii <eliz@gnu.org>
9279
9280 * simple.el (line-move-partial): Don't jump to the next screen
9281 line as soon as it becomes visible. Instead, continue enlarging
9282 the vscroll until the portion of a tall screen line that's left on
9283 display is about the height of the frame's default font.
9284 (Bug#14567)
9285
f0100d8a
GM
92862013-06-15 Glenn Morris <rgm@gnu.org>
9287
b86a85ca
GM
9288 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9289 compilation-error-regexp-alist void, or local while let-bound.
9290
f0100d8a
GM
9291 * progmodes/make-mode.el (makefile-mode-syntax-table):
9292 Treat "=" as punctuation. (Bug#14614)
9293
05e7ce90
JB
92942013-06-15 Juanma Barranquero <lekktu@gmail.com>
9295
9296 * help-fns.el (describe-variable):
9297 Add extra line for permanent-local variables.
9298
12e5e86e
SH
92992013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9300
9301 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9302 Add export, import, library. (Bug#9164)
9303 (library): Set indent function.
9304
230dcbaf
GM
93052013-06-14 Glenn Morris <rgm@gnu.org>
9306
9307 * term/xterm.el (xterm--query):
9308 Stop after first matching handler. (Bug#14615)
9309
e36b2d20 93102013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
9311
9312 Add support for dired in saveplace.
9313 * dired.el (dired-initial-position-hook): New variable.
9314 (dired-initial-position): Call hook to place cursor position.
9315 * saveplace.el (save-place-to-alist): Add dired position.
9316 (save-place-dired-hook): New function.
9317
0b31660d
SM
93182013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9319
bf1e6ae8
SM
9320 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9321 through a symbol rather than letrec.
9322
1b8dff23
SM
9323 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9324 (package-desc): Add `dir' field.
9325 (package-desc-full-name): New function.
9326 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9327 (package-maybe-load-descriptor): Remove.
9328 (package-load-all-descriptors): Just call package-load-descriptor.
9329 (package--disabled-p): New function.
9330 (package-desc-vers, package-desc-doc): Remove aliases.
9331 (package--dir): Remove function.
9332 (package-activate): Check if a package is disabled.
9333 (package-process-define-package): New function, extracted from
9334 define-package.
9335 (define-package): Turn into a place holder.
9336 (package-unpack-single, package-tar-file-info):
9337 Use package--description-file.
9338 (package-compute-transaction): Use package--disabled-p.
9339 (package-download-transaction): Don't call
9340 package-maybe-load-descriptor since they're all loaded anyway.
9341 (package-install): Change argument to be a pkg-desc.
9342 (package-delete): Use a single pkg-desc argument.
9343 (describe-package-1): Use package-desc-dir instead of package--dir.
9344 Use package-desc property instead of package-symbol.
9345 (package-install-button-action): Adjust accordingly.
9346 (package--push): Rewrite.
9347 (package-menu--print-info): Adjust accordingly. Change the ID format
9348 to be a pkg-desc.
9349 (package-menu-describe-package, package-menu-get-status)
9350 (package-menu--find-upgrades, package-menu-mark-upgrades)
9351 (package-menu-execute, package-menu--name-predicate):
9352 Adjust accordingly.
9353 * startup.el (package--description-file): New function.
9354 (command-line): Use it.
9355 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9356 Use package-desc-version.
9357
0b31660d
SM
9358 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9359 (byte-compile-preprocess): Use it.
9360 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9361 can't quite recognize.
9362 (byte-compile-add-to-list): Remove.
9363 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9364 (cconv-closure-convert): Add assertion.
9365
9366 * emacs-lisp/map-ynp.el: Use lexical-binding.
9367 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9368 Factor out some repeated code.
9369
de0503df
SM
93702013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9371
9372 * subr.el (with-eval-after-load): New macro.
9373 (eval-after-load): Allow form to be a function.
9374 take advantage of lexical-binding.
9375 (do-after-load-evaluation): Use dolist and adjust to new format.
9376 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9377
bc5c8c5a
JL
93782013-06-13 Juri Linkov <juri@jurta.org>
9379
9380 * replace.el (perform-replace): Display "symbol " and other search
9381 modes from `isearch-message-prefix' in the *Help* buffer.
9382
9383 * isearch.el (isearch-query-replace): Add " symbol" and other
9384 possible search modes from `isearch-message-prefix' to the prompt.
9385 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9386 when reading a regexp to collect.
9387
a22289f7
JL
93882013-06-13 Juri Linkov <juri@jurta.org>
9389
9390 * isearch.el (word-search-regexp): Match whitespace if the search
9391 string begins or ends in whitespace. The LAX arg is applied to
9392 both ends of the search string. Use `regexp-quote' and explicit
9393 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9394 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9395 boundaries are replaced with symbol boundaries, and characters
9396 between symbols match non-word non-symbol syntax. (Bug#14602)
9397
cb89acab
JL
93982013-06-13 Juri Linkov <juri@jurta.org>
9399
9400 * isearch.el (isearch-del-char): Don't exceed the length of
9401 `isearch-string' by the prefix arg. (Bug#14563)
9402
6e8cfc81
JL
94032013-06-13 Juri Linkov <juri@jurta.org>
9404
9405 * isearch.el (isearch-yank-word, isearch-yank-line)
9406 (isearch-char-by-name, isearch-quote-char)
9407 (isearch-printing-char, isearch-process-search-char):
9408 Add optional count prefix arg. (Bug#14563)
9409
9410 * international/isearch-x.el
9411 (isearch-process-search-multibyte-characters):
9412 Add optional count prefix arg.
9413
c23d55f4
VS
94142013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9415
9416 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9417 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9418 lexical-binding.
9419
94202013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9421
9422 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9423
ba947bc4
GM
94242013-06-13 Glenn Morris <rgm@gnu.org>
9425
8baeb37a
GM
9426 * startup.el (tty-handle-args):
9427 Don't just discard "--" and anything after. (Bug#14608)
9428
ba947bc4
GM
9429 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9430
9abefce4
MA
94312013-06-13 Michael Albinus <michael.albinus@gmx.de>
9432
9433 Implement changes in Secret Service API. Make it backward compatible.
9434 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9435 (secrets-create-item): Use it. Prefix properties with interface.
9436
5755011f
MH
94372013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9438
9439 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9440 (term-emulate-terminal): Respect term-suppress-hard-newline.
9441
1261d2da
S
94422013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9443
9444 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9445 Only remove a `thumb-file' overlay. (Bug#14548)
9446
868490bb
GJ
94472013-06-12 Grégoire Jadi <daimrod@gmail.com>
9448
9449 * mail/reporter.el (reporter-submit-bug-report):
9450 Handle missing package-name. (Bug#14600)
9451
79d7167f
TH
94522013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9453
9454 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9455 (reftex-citation-prompt, reftex-default-bibliography)
9456 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9457 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9458 (reftex-bib-sort-author, reftex-bib-sort-year)
9459 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9460 (reftex-extract-bib-entries-from-thebibliography)
9461 (reftex-get-bibkey-default, reftex-get-bib-names)
9462 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9463 (reftex-format-bib-entry, reftex-parse-bibitem)
9464 (reftex-format-bibitem, reftex-do-citation)
9465 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9466 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9467 (reftex-insert-bib-matches, reftex-format-citation)
9468 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9469 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9470 existing comments into docstrings.
9471
5f9dbd7a
XF
94722013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9473
9474 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9475
94df41ab
AS
94762013-06-12 Andreas Schwab <schwab@suse.de>
9477
9478 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9479 for auto-save files.
9480
a7f3fecc
GM
94812013-06-12 Glenn Morris <rgm@gnu.org>
9482
001809f6
GM
9483 * ido.el (ido-delete-ignored-files): Remove.
9484 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9485 Go back to calling ido-ignore-item-p directly.
a7f3fecc 9486
834b5ded
EL
94872013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9488
08c73ed2
EL
9489 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9490
834b5ded
EL
9491 * ido.el (ido-delete-ignored-files): New function,
9492 split from ido-make-file-list-1.
9493 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9494 (ido-make-file-list-1): Use ido-delete-ignored-files.
9495
daabf15a
LL
94962013-06-12 Leo Liu <sdl.web@gmail.com>
9497
9498 * progmodes/octave.el (inferior-octave-startup)
9499 (inferior-octave-completion-table)
9500 (inferior-octave-track-window-width-change)
9501 (octave-eldoc-function-signatures, octave-help)
9502 (octave-find-definition): Use single quoted strings.
9503 (inferior-octave-startup-args): Change default value.
9504 (inferior-octave-startup): Do not hard code "-i" and
9505 "--no-line-editing".
9506 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9507 (inferior-octave-directory-tracker): Use it.
9508 (octave-goto-function-definition): Robustify.
9509 (octave-help): Support highlighting operators in 'See also'.
9510 (octave-find-definition): Find subfunctions only in Octave mode.
9511
cf4e5178
SM
95122013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9513
9514 * help-fns.el (help-fns--compiler-macro): If the handler function is
9515 named, then put a link to it.
9516 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9517 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9518 (cl-typep): Use it.
9519 (cl-eval-when): Simplify debug spec.
9520 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9521 compiler-macro function instead of setting `compiler-macro-file'.
9522
99c81280 95232013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
9524
9525 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9526 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9527
f56be016
SM
95282013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9529 Daniel Hackney <dan@haxney.org>
9530
9531 First part of Daniel Hackney's patch to package.el.
9532 * emacs-lisp/package.el: Use defstruct.
9533 (package-desc): New, main struct.
9534 (package--bi-desc, package--ac-desc): New structs, used to describe the
9535 format in external files.
9536 (package-desc-vers): Replace with package-desc-version accessor.
9537 (package-desc-doc): Replace with package-desc-summary accessor.
9538 (package-activate-1): Remove `package' arg since the pkg-vec now
9539 includes the name.
9540 (define-package): Use package-desc-from-define.
9541 (package-unpack-single): Change file-name arg to be a symbol.
9542 (package--add-to-archive-contents): Use package-desc-create and new
9543 accessor functions to package--ac-desc.
9544 (package-buffer-info, package-tar-file-info): Return a package-desc.
9545 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9546 arg to be a package-desc.
9547 (package-install-file): Adjust accordingly. Use \' to match EOS.
9548 (package--from-builtin): New function.
9549 (describe-package-1, package-menu--generate): Use it.
9550 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9551 (package-generate-autoloads): Idem and return the name of the file.
9552 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9553 Change pkg-info arg to be a package-desc.
9554 Use package-make-ac-desc.
9555 (package-upload-file): Use \' to match EOS.
9556 * finder.el (finder-compile-keywords): Use package-make-builtin.
9557
31119d63
SM
95582013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9559
931a2762
SM
9560 * vc/vc.el (vc-deduce-fileset): Change error message.
9561 (vc-read-backend): New function.
9562 (vc-next-action): Use it.
9563
5a3eb0c6
SM
9564 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9565
e3eb1bb7
SM
9566 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9567 (prolog-font-lock-keywords): Use regexp-opt instead.
9568 Don't manually highlight strings.
9569 (prolog-mode-variables): Simplify comment-start-skip.
9570 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9571
31119d63
SM
9572 * emacs-lisp/generic.el (generic--normalise-comments)
9573 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9574 (generic-mode-set-comments): Use them.
9575 (generic-bracket-support): Use setq-local.
9576 (generic-make-keywords-list): Declare obsolete.
9577
7de135d0
GM
95782013-06-11 Glenn Morris <rgm@gnu.org>
9579
9580 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9581 Prettify after setting font-lock-defaults. (Bug#14574)
9582
fa6bc6fd
JB
95832013-06-11 Juanma Barranquero <lekktu@gmail.com>
9584
9585 * replace.el (query-replace, occur-read-regexp-defaults-function)
9586 (replace-search):
9587 * subr.el (declare-function, number-sequence, local-set-key)
9588 (substitute-key-definition, locate-user-emacs-file)
9589 (with-silent-modifications, split-string, eval-after-load):
9590 Fix typos, remove unneeded backslashes and reflow some docstrings.
9591
cf1f9b9a
SM
95922013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9593
9594 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9595 default for Elisp files.
9596
56602a4b
GM
95972013-06-11 Glenn Morris <rgm@gnu.org>
9598
9599 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9600 although define-derived-mode was doing this anyway. (Bug#14583)
9601
30ae0b2c
JB
96022013-06-10 Juanma Barranquero <lekktu@gmail.com>
9603
9604 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9605 Fix make-variable-buffer-local call to refer to the correct variable.
9606
fa472906
AG
96072013-06-10 Aidan Gauland <aidalgol@amuri.net>
9608
9609 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
9610 (eshell-visual-subcommands, eshell-visual-options):
9611 Add summary line to docstrings. Add cross-references.
fa472906 9612
ff4871b9
GM
96132013-06-10 Glenn Morris <rgm@gnu.org>
9614
9615 * epa.el (epa-read-file-name): New function. (Bug#14510)
9616 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9617
04fcf1b0
AG
96182013-06-09 Aidan Gauland <aidalgol@amuri.net>
9619
9620 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9621 output redirection to be ignored with visual commands.
9622
88b00caa
AG
96232013-06-09 Aidan Gauland <aidalgol@amuri.net>
9624
9625 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
9626 (eshell-term-initialize): Move long lambda to separate function
9627 eshell-visual-command-p.
e7b41c4c
JB
9628 * eshell/em-dirs.el (eshell-dirs-initialise):
9629 * eshell/em-script.el (eshell-script-initialize):
9630 Add missing #' to lambda.
88b00caa 9631
fda74125
LL
96322013-06-08 Leo Liu <sdl.web@gmail.com>
9633
9634 * progmodes/octave.el (octave-add-log-current-defun): New function.
9635 (octave-mode): Set add-log-current-defun-function.
9636 (octave-goto-function-definition): Do not move point if not found.
9637 (octave-find-definition): Enhance to try subfunctions first.
9638
467f3b33
GM
96392013-06-08 Glenn Morris <rgm@gnu.org>
9640
9641 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9642 (byte-compile-backward-char, byte-compile-backward-word):
9643 Improve previous change, to handle non-explicit nil.
9644
544badc3
SM
96452013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9646
9647 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9648 (smie--opener/closer-at-point): New function.
9649 (smie--matching-block-data): Use it. Don't match from right after an
9650 opener or right before a closer. Obey smie-blink-matching-inners.
9651 Don't signal a mismatch for repeated inners like "switch..case..case".
9652
a175bf33
LL
96532013-06-07 Leo Liu <sdl.web@gmail.com>
9654
9655 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9656 to t. (Bug#14303)
ce8209d4
LL
9657 (octave-function-header-regexp): Fix. (Bug#14570)
9658 (octave-help-mode-finish-hook, octave-help-mode-finish):
9659 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
9660
9661 * newcomment.el (comment-search-backward): Revert last change.
9662 (Bug#14434)
9663
9664 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9665
a822acff
EZ
96662013-06-07 Eli Zaretskii <eliz@gnu.org>
9667
9668 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9669 through xargs, to avoid failure due to MS-Windows limitations on
9670 command-line length.
9671
961166f5
GM
96722013-06-06 Glenn Morris <rgm@gnu.org>
9673
d0341459
GM
9674 * font-lock.el (lisp-font-lock-keywords-2):
9675 Treat user-error like error.
9676
961166f5
GM
9677 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9678 (byte-compile-backward-char, byte-compile-backward-word):
9679 Handle explicit nil arguments. (Bug#14565)
9680
80fa505f
AM
96812013-06-05 Alan Mackenzie <acm@muc.de>
9682
9683 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 9684 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 9685 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 9686 (Bug#9706)
80fa505f 9687
fccdc796
SM
96882013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9689
9690 * autorevert.el (auto-revert-notify-handler): Use memq.
9691 Hide assertion failure.
9692
9693 * skeleton.el: Use cl-lib.
9694 (skeleton-further-elements): Use defvar-local.
9695 (skeleton-insert): Use cl-progv.
9696
9bfff84b
TZ
96972013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9698
9699 * progmodes/prog-mode.el (prog-prettify-symbols)
9700 (prog-prettify-install): Update docstrings.
9701
55577e7c
SM
97022013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9703
9704 * simple.el: Move all the prog-mode code to prog-mode.el.
9705 * progmodes/prog-mode.el: New file.
9706 * loadup.el: Add prog-mode.el.
9707
8fc57765
TZ
97082013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9709
9710 * simple.el (prog-prettify-symbols): Add version.
9711 (prog-prettify-install): Add convenience function to prettify symbols.
9712
9713 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9714 (perl--augmented-font-lock-keywords-1)
9715 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9716 variables and use it.
9717
9718 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9719 (cfengine3-mode): Remove unneeded variable and use it.
9720
9721 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9722 (lisp--augmented-font-lock-keywords-1)
9723 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9724 Remove unneeded variables and use it.
9725
650645d5 97262013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
9727
9728 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 9729 to point when opening the connection. (Bug#14380)
28f5da6d 9730
781b4af6
SM
97312013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9732
9733 * subr.el (load-history-regexp, load-history-filename-element)
9734 (eval-after-load, after-load-functions, do-after-load-evaluation)
9735 (eval-next-after-load, display-delayed-warnings)
9736 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9737 definition of save-match-data.
9738 (overriding-local-map): Remove accidental obsolescence declaration.
9739
9740 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9741
3ca0d0b4
TZ
97422013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9743
9744 Generalize symbol prettify support to prog-mode and implement it
9745 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9746 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9747 (prog--prettify-font-lock-compose-symbol)
9748 (prog-prettify-font-lock-symbols-keywords): New variables and
9749 functions to support symbol prettification.
9750 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9751 (lisp--augmented-font-lock-keywords-1)
9752 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9753 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9754 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
9755 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9756 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
9757 * progmodes/perl-mode.el (perl-prettify-symbols)
9758 (perl--font-lock-compose-symbol)
9759 (perl--font-lock-symbols-keywords): Move to prog-mode.
9760 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9761 (perl-font-lock-keywords-1)
9762 (perl-font-lock-keywords-2): Remove explicit prettify support.
9763 (perl--augmented-font-lock-keywords)
9764 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
9765 (perl--augmented-font-lock-keywords-2, perl-mode):
9766 Implement prettify support.
3ca0d0b4 9767
976cb066
LL
97682013-06-05 Leo Liu <sdl.web@gmail.com>
9769
9770 Re-implement smie matching block highlight using
9771 show-paren-data-function. (Bug#14395)
9772 * emacs-lisp/smie.el (smie-matching-block-highlight)
9773 (smie--highlight-matching-block-overlay)
9774 (smie--highlight-matching-block-lastpos)
9775 (smie-highlight-matching-block)
9776 (smie-highlight-matching-block-mode): Remove.
9777 (smie--matching-block-data-cache): New variable.
9778 (smie--matching-block-data): New function.
9779 (smie-setup): Use smie--matching-block-data for
9780 show-paren-data-function.
9781
9782 * progmodes/octave.el (octave-mode-menu): Fix.
9783 (octave-find-definition): Skip garbage lines.
9784
208d0342
SM
97852013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9786
9787 Fix compilation error with simultaneous dynamic+lexical scoping.
9788 Add warning when a defvar appears after the first let-binding.
9789 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9790 (byte-compile-close-variables): Initialize it.
9791 (byte-compile--declare-var): New function.
9792 (byte-compile-file-form-defvar)
9793 (byte-compile-file-form-define-abbrev-table)
9794 (byte-compile-file-form-custom-declare-variable): Use it.
9795 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9796 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9797 (byte-compile-bind): Handle dynamic bindings that shadow
9798 lexical bindings.
9799 (byte-compile-unbind): Make arg non-optional.
9800 (byte-compile-let): Simplify.
9801 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9802 (cconv--analyse-function, cconv-analyse-form): Populate it.
9803 Protect byte-compile-bound-variables to limit the scope of defvars.
9804 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9805 Remove unneeded rule for `declare'.
9806
9807 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9808 so as to avoid depending on cl-adjoin at run-time.
9809 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9810
9811 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9812 (macroexp--warn-and-return): Use it.
9813
1ac2891e
GM
98142013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9815
a12bf61e 9816 * subr.el: Convert to lexical binding.
1ac2891e
GM
9817 (overriding-local-map): Make obsolete.
9818 (add-to-list): Doc fix. Add compiler macro.
9819 (read-key): Swap values of local maps.
9820
2587b005
LL
98212013-06-05 Leo Liu <sdl.web@gmail.com>
9822
9823 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9824
f1da3c88
LL
98252013-06-04 Leo Liu <sdl.web@gmail.com>
9826
9827 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9828 (compilation-auto-jump): Suppress the "Mark set" message to give
9829 way to exit message.
9830
3caa391f
AM
98312013-06-04 Alan Mackenzie <acm@muc.de>
9832
9833 Remove faulty optimisation from indentation calculation.
9834 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9835 search limit based on 2000 characters back from indent-point.
9836
068922a2
TH
98372013-06-03 Tassilo Horn <tsdh@gnu.org>
9838
9839 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9840
1f8fdd53
SM
98412013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9842
bbcc4d97
SM
9843 * emacs-lisp/lisp.el: Use lexical-binding.
9844 (lisp--local-variables-1, lisp--local-variables): New functions.
9845 (lisp--local-variables-completion-table): New var.
208d0342 9846 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 9847
1f8fdd53
SM
9848 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9849 eagerly (bug#14422).
9850
c9628c79
MA
98512013-06-03 Michael Albinus <michael.albinus@gmx.de>
9852
9853 * autorevert.el (auto-revert-notify-enabled)
9854 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9855 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9856 (auto-revert-notify-handler): Handle also gfilenotify.
9857
e7b41c4c 9858 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 9859 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 9860 Remove.
c9628c79 9861
e5e4a942
JL
98622013-06-03 Juri Linkov <juri@jurta.org>
9863
9864 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9865 `M-s h .'. (Bug#14427)
9866
9867 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9868 command `hi-lock-face-symbol-at-point'.
9869 (hi-lock-face-symbol-at-point): New command.
9870 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9871 (hi-lock-menu): Add `highlight-symbol-at-point'.
9872 (hi-lock-mode): Doc fix.
9873
9874 * isearch.el (isearch-forward-symbol-at-point): New command.
9875 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9876 (isearch-highlight-regexp): Add a regexp which matches
9877 words/symbols for word/symbol mode.
9878
9879 * subr.el (find-tag-default-bounds): New function with the body
9880 mostly moved from `find-tag-default'.
9881 (find-tag-default): Move most code to `find-tag-default-bounds',
9882 call it and apply `buffer-substring-no-properties' afterwards.
9883
26b3353a
TH
98842013-06-03 Tassilo Horn <tsdh@gnu.org>
9885
781b4af6
SM
9886 * eshell/em-term.el (eshell-term-initialize):
9887 Use `cl-intersection' rather than `intersection'.
26b3353a 9888
51b60f53
XF
98892013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9890
fe054b63 9891 * vc/log-view.el: Doc fix.
d3ffe17c 9892 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 9893
a0eb10b3 98942013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
9895
9896 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9897 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9898 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9899 (eieio-unbound, eieio-default-superclass)
9900 (eieio--define-field-accessors, method-static, method-before)
9901 (method-primary, method-after, method-num-lists)
9902 (method-generic-before, method-generic-primary)
9903 (method-generic-after, method-num-slots)
9904 (eieio-specialized-key-to-generic-key)
9905 (eieio--check-type, class-v, class-p)
9906 (eieio-class-name, define-obsolete-function-alias)
9907 (eieio-class-parents-fast, eieio-class-children-fast)
9908 (same-class-fast-p, class-constructor, generic-p)
9909 (generic-primary-only-p, generic-primary-only-one-p)
9910 (class-option-assoc, class-option, eieio-object-p)
9911 (class-abstract-p, class-method-invocation-order)
9912 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9913 (eieio-class-un-autoload, eieio-defclass)
9914 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9915 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9916 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9917 (eieio-defgeneric-reset-generic-form)
9918 (eieio-defgeneric-form-primary-only)
9919 (eieio-defgeneric-reset-generic-form-primary-only)
9920 (eieio-defgeneric-form-primary-only-one)
9921 (eieio-defgeneric-reset-generic-form-primary-only-one)
9922 (eieio-unbind-method-implementations)
9923 (eieio--defmethod, eieio--typep)
9924 (eieio-perform-slot-validation, eieio-validate-slot-value)
9925 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9926 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9927 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9928 (eieio-slot-name-index, eieio-class-slot-name-index)
9929 (eieio-set-defaults, eieio-initarg-to-attribute)
9930 (eieio-attribute-to-initarg, eieio-c3-candidate)
9931 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9932 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9933 (eieio-class-precedence-list, eieio-generic-call-methodname)
9934 (eieio-generic-call-arglst, eieio-generic-call-key)
9935 (eieio-generic-call-next-method-list)
9936 (eieio-pre-method-execution-functions, eieio-generic-call)
9937 (eieio-generic-call-primary-only, eieiomt-method-list)
9938 (eieiomt-optimizing-obarray, eieiomt-install)
9939 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9940 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 9941 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
9942 (defclass): Remove `eval-and-compile' from macro.
9943 (call-next-method, shared-initialize): Instead of using
9944 `scoped-class' variable, use new eieio--scoped-class, and
9945 eieio--with-scoped-class.
9946 (initialize-instance): Rename local variable 'scoped-class' to
9947 'this-class' to remove ambiguitity from old global.
9948
9949 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9950 eieio.el.
4f405069
JB
9951 (eieio--scoped-class-stack): New variable.
9952 (eieio--scoped-class): New fcn.
890f7890
DE
9953 (eieio--with-scoped-class): New scoping macro.
9954 (eieio-defclass): Use pushnew instead of add-to-list.
9955 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9956 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9957 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9958 `scoped-class' variable, use new eieio--scoped-class, and
9959 eieio--with-scoped-class.
9960
9961 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9962
d105b0e2
TH
99632013-06-02 Tassilo Horn <tsdh@gnu.org>
9964
9965 * eshell/esh-ext.el (eshell-external-command): Pass args to
9966 `eshell-find-interpreter'.
9967 (eshell-find-interpreter): Add new second parameter ARGS.
9968
9969 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 9970 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9971
9972 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 9973 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9974
9975 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9976 (eshell-visual-options): New defcustom.
9977 (eshell-escape-control-x): Adapt docstring.
9978 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9979 `eshell-visual-options' in addition to `eshell-visual-commands'.
9980 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9981
f46305c8 99822013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
9983
9984 * progmodes/python.el (python-indent-block-enders): Add break,
9985 continue and raise keywords.
9986
d870df21
GM
99872013-06-01 Glenn Morris <rgm@gnu.org>
9988
9133b82e
GM
9989 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9990
02c992ec 9991 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
9992 * progmodes/cc-cmds.el (delete-forward-p):
9993 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9994 * progmodes/cc-engine.el (buffer-syntactic-context):
9995 * progmodes/cc-fonts.el (face-property-instance):
9996 * progmodes/cc-mode.el (set-keymap-parents):
9997 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9998 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9999 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
10000 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10001 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 10002
31e7b090
GM
10003 * progmodes/cc-vars.el (other): Emacs has this widget since
10004 at least 21.1, so don't (re)define it.
10005
d870df21
GM
10006 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10007 Replace the obsolete alias pcomplete-arg-quote-list.
10008
c75c93c7
LL
100092013-06-01 Leo Liu <sdl.web@gmail.com>
10010
10011 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10012 punctuation syntax.
10013 (inferior-octave-minimal-columns)
10014 (inferior-octave-last-column-width): New variables.
10015 (inferior-octave-track-window-width-change): New function.
10016 (inferior-octave-mode): Adjust column width so that Octave output,
10017 for example from 'ls', can fit into the window nicely.
10018
973d1e12
DG
100192013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10020
10021 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10022 Highlight expansions inside regexp literals.
10023
0888c286
GM
100242013-05-31 Glenn Morris <rgm@gnu.org>
10025
e26aac1f
GM
10026 * obsolete/sym-comp.el (symbol-complete):
10027 Replace obsolete completion-annotate-function.
10028
0888c286
GM
10029 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10030
19bb8e62
DG
100312013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10032
781b4af6
SM
10033 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10034 New function, checks if point is inside a literal that allows
19bb8e62
DG
10035 expression expansion.
10036 (ruby-syntax-propertize-expansion): Use it.
10037 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10038 around the body.
10039
01dea85f
JL
100402013-05-30 Juri Linkov <juri@jurta.org>
10041
10042 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10043 to "\M-si".
10044 (isearch-invisible): New variable.
10045 (isearch-forward): Doc fix.
10046 (isearch-mode): Set `isearch-invisible'
10047 to the value of `search-invisible'.
10048 (isearch-toggle-case-fold): Doc fix.
10049 (isearch-toggle-invisible): New command.
10050 (isearch-query-replace): Let-bind `search-invisible'
10051 to the value of `isearch-invisible'.
10052 (isearch-search): Use `isearch-invisible' instead of
10053 `search-invisible'. Let-bind `search-invisible'
10054 to the value of `isearch-invisible'. (Bug#11378)
10055
ab1bdce5
JL
100562013-05-30 Juri Linkov <juri@jurta.org>
10057
10058 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10059 call when `query-flag' is nil and `search-invisible' is non-nil.
10060 (Bug#11746)
10061
d6d236e2
GM
100622013-05-30 Glenn Morris <rgm@gnu.org>
10063
8accd027
GM
10064 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10065
2a8bed1c
GM
10066 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10067 (cc-require): Suppress spurious "noruntime" warnings.
10068 (cc-require-when-compile): Use fboundp, for sake of compiler.
10069
d6d236e2
GM
10070 * progmodes/cc-mode.el: Move load of cc-vars before that of
10071 cc-langs (which in turn loads cc-vars), to quieten compiler.
10072
9190b35b
SM
100732013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10074
10075 * paren.el: Simplify the code.
10076 (show-paren-mode): Always start the timer.
10077 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10078 (show-paren--overlay, show-paren--overlay-1): Rename from
10079 show-paren-overlay and show-paren-overlay-1, and initialize to an
10080 overlay rather than to nil.
10081 (show-paren-function): Misc cleanup and simplifications.
10082
4f8d1cf6
SM
100832013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10084
10085 * paren.el (show-paren-data-function): New hook.
10086 (show-paren--default): New function, extracted from show-paren-function.
10087 (show-paren-function): Use show-paren-data-function.
10088
02d844b5
GM
100892013-05-30 Glenn Morris <rgm@gnu.org>
10090
d209d4a9
GM
10091 * ielm.el (ielm-map, ielm-complete-symbol):
10092 Use completion-at-point rather than obsolete functions.
10093 (inferior-emacs-lisp-mode): Doc fix.
10094 Set completion-at-point-functions, rather than
10095 comint-dynamic-complete-functions.
10096
2082faa6
GM
10097 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10098 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10099 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10100
dd8620de
GM
10101 * image.el (image-animated-p): Tweak definition.
10102
ceca95b1
GM
10103 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10104 (rlogin-process-connection-type): Tweak default. Add set-after.
10105 (rlogin-host): Doc fix.
10106 (rlogin): Tweak prompt.
10107 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10108
ee9f1acc
GM
10109 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10110 * progmodes/tcl.el (inferior-tcl-mode-map):
10111 Use completion-at-point rather than obsolete alias.
10112
45ce222e
GM
10113 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10114
02d844b5
GM
10115 * minibuffer.el (read-file-name-completion-ignore-case):
10116 Move before completion--in-region, for eager macro expansion.
10117
ac44d6c1
JL
101182013-05-29 Juri Linkov <juri@jurta.org>
10119
10120 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10121 for total count of matching lines. Add `global-matches' for total
10122 count of matches. Rename `matches' to `lines' for count of
10123 matching lines. Add `matches' for count of matches.
10124 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10125 to `prev-line' for line number of prev match endpt.
10126 Increment `matches' for every match. Print the number of
10127 matching lines in the header.
10128 (occur-context-lines): Rename `lines' to `curr-line'.
10129 Rename `prev-lines' to `prev-line'. (Bug#14017)
10130
3c9c9d38
JL
101312013-05-29 Juri Linkov <juri@jurta.org>
10132
10133 * replace.el (perform-replace): Add `skip-read-only-count',
10134 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10135 Increment them for corresponding conditions and report the number
10136 of skipped occurrences in the final message. (Bug#11746)
10137 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10138 (replace-string, replace-regexp): Doc fix.
10139
33e249a2
SM
101402013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10141
8e399682
SM
10142 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10143
33e249a2 10144 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 10145 prog-mode-map (bug#14504).
33e249a2 10146
f236dd84
LL
101472013-05-29 Leo Liu <sdl.web@gmail.com>
10148
10149 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10150 (octave-help): Small simplification.
10151
10152 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10153 off the highlight first.
10154
3694d13f
GM
101552013-05-29 Glenn Morris <rgm@gnu.org>
10156
03983bdc
GM
10157 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10158 Handle idlwave-last-system-routine-info-cons-cell being nil.
10159
bc74a74a
GM
10160 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10161 (idlwave-write-paths): Simplify via with-temp-buffer.
10162
8b394200
GM
10163 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10164 * emulation/cua-rect.el: Also load cua-base at run time.
10165
3694d13f
GM
10166 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10167 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10168 (cperl-imenu-on-info): Require imenu.
10169
336d7284
AM
101702013-05-28 Alan Mackenzie <acm@muc.de>
10171
10172 Handle "capitalised keywords" correctly.
33e249a2 10173 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 10174
cb29c582
AG
101752013-05-28 Aidan Gauland <aidalgol@amuri.net>
10176
781b4af6 10177 * eshell/em-unix.el: Add -r option to cp.
cb29c582 10178
690e44b2
GM
101792013-05-28 Glenn Morris <rgm@gnu.org>
10180
e658d75c
GM
10181 * vc/vc-arch.el (vc-exec-after): Declare.
10182 (vc-switches): Autoload.
10183 * vc/vc-bzr.el: No need to require vc when compiling.
10184 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10185 (vc-resynch-buffer, vc-dir-refresh): Declare.
10186 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
10187 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10188 (vc-resynch-buffer): Declare.
10189 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 10190 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
10191 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10192 (grep-read-regexp, grep-read-files, grep-expand-template)
10193 (vc-dir-refresh): Declare.
10194 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10195 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10196 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
10197 * vc/vc-mtn.el (vc-exec-after): Declare.
10198 (vc-switches): Autoload.
10199 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10200 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10201 (vc-file-tree-walk): Declare.
712b9732
GM
10202 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10203 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10204 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
10205 * vc/vc-svn.el (vc-exec-after): Declare.
10206 (vc-switches, vc-setup-buffer): Autoload.
10207 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10208 Autoload.
10209 (vc-resynch-buffer): Declare.
10210
98e87fb3
GM
10211 * obsolete/fast-lock.el (byte-compile-warnings):
10212 Don't warn about obsolete features in this obsolete file.
10213
f5379553
GM
10214 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10215 Move definition before use.
10216
7a20ef83
GM
10217 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10218 (dun-unix-verbs): Remove dun-zippy.
10219 (dun-zippy): Remove function.
10220
690e44b2
GM
10221 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10222
3a52ccf7
JL
102232013-05-27 Juri Linkov <juri@jurta.org>
10224
10225 * replace.el (replace-search): New function with code moved out
10226 from `perform-replace'.
10227 (replace-highlight, replace-dehighlight): Move function definitions
10228 up closer to `replace-search'. (Bug#11746)
10229
d289938a
JL
102302013-05-27 Juri Linkov <juri@jurta.org>
10231
10232 * replace.el (perform-replace): Ignore invisible matches.
10233 In addition to checking `query-replace-skip-read-only', also
10234 filter out matches by calling `run-hook-with-args-until-failure'
10235 on `isearch-filter-predicates', and also check `search-invisible'
10236 for t or call `isearch-range-invisible'.
10237 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10238
66fc57e3
JL
102392013-05-27 Juri Linkov <juri@jurta.org>
10240
10241 * isearch.el (isearch-filter-predicates): Rename from
10242 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10243 (isearch-message-prefix): Display text from the property
10244 `isearch-message-prefix' of the currently active filters.
10245 (isearch-search): Don't compare `isearch-filter-predicate' with
10246 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10247 on `isearch-filter-predicates'. Also check `search-invisible' for t
10248 or call `isearch-range-invisible'.
10249 (isearch-filter-visible): Make obsolete.
10250 (isearch-lazy-highlight-search):
10251 Call `run-hook-with-args-until-failure' on
10252 `isearch-filter-predicates' and use `isearch-range-invisible'.
10253
10254 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10255 `isearch-filter-predicates' instead of `funcall'ing
10256 `isearch-filter-predicate'.
10257 (Info-mode): Set `Info-isearch-filter' to
10258 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10259
10260 * dired-aux.el (dired-isearch-filter-predicate-orig):
10261 Remove variable.
10262 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10263 (dired-isearch-filenames-end): Add and remove
10264 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10265 instead of changing the value of `isearch-filter-predicate'.
10266 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10267 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10268 Put property `isearch-message-prefix' to "filename " on
10269 `dired-isearch-filter-filenames'.
10270
10271 * wdired.el (wdired-change-to-wdired-mode):
10272 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10273 locally instead of changing `isearch-filter-predicate'.
10274 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10275
f1a60a0f
DG
102762013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10277
10278 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10279 return the commit hash (Bug#14459). Also set the
10280 `vc-git-detached' property.
10281 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10282 (vc-git-mode-line-string): Use the same help-echo format whether
10283 in detached mode or not, because we know the actual revision now.
10284 When in detached mode, shorten the revision to 7 chars.
10285
7f17cc40
SM
102862013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10287
10288 * emacs-lisp/easy-mmode.el (define-minor-mode):
10289 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10290 mode hook and provide a docstring.
10291
25c8401c
AM
102922013-05-27 Alan Mackenzie <acm@muc.de>
10293
10294 Remove spurious syntax-table text properties inserted by C-y.
10295 * progmodes/cc-mode.el (c-after-change): Also clear hard
10296 syntax-table property with value nil.
10297
dde84790
MA
102982013-05-27 Michael Albinus <michael.albinus@gmx.de>
10299
10300 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10301 when reading the events; the buffer layout shall not be changed.
10302
837fd9af
LL
103032013-05-27 Leo Liu <sdl.web@gmail.com>
10304
10305 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10306 New variable.
10307 (inferior-octave-directory-tracker): Automatically re-sync
10308 default-directory.
10309 (octave-help): Improve handling of 'See also'.
10310
4fd996b3
SM
103112013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10312
416f1802
SM
10313 * doc-view.el: Minor naming convention tweaks.
10314 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10315
4fd996b3
SM
10316 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10317 even if there's no `display' property yet (bug#14435).
10318
a052ef3b
EZ
103192013-05-25 Eli Zaretskii <eliz@gnu.org>
10320
4fd996b3 10321 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
10322
10323 * Makefile.in (custom-deps, finder-data, autoloads)
10324 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10325 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10326 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10327
c9023370
SM
103282013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10329
10330 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10331 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 10332 Don't burp at EOB.
c9023370 10333
24d699fa
LL
103342013-05-25 Leo Liu <sdl.web@gmail.com>
10335
10336 * comint.el (comint-previous-matching-input): Do not flood the
10337 *Messages* buffer with trivial messages.
10338
17e5c0cc
SM
103392013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10340
10341 * progmodes/flymake.el (flymake-nop): Don't return a string.
10342 (flymake-set-at): Fix typo.
10343
10344 * simple.el (read--expression): New function, extracted from
10345 eval-expression. Set completion-at-point-functions (bug#14465).
10346 (eval-expression, eval-minibuffer): Use it.
10347
5d028165
XF
103482013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10349
10350 * progmodes/flymake.el (flymake-save-buffer-in-file)
10351 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10352 (flymake-selected-frame, flymake-log, flymake-ins-after)
10353 (flymake-set-at, flymake-get-buildfile-from-cache)
10354 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10355 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10356 Refine the doc string.
10357 (flymake-get-file-name-mode-and-masks): Reformat.
10358 (flymake-get-real-file-name-function): Fix a minor bug.
10359
7a1d7ba7
JL
103602013-05-24 Juri Linkov <juri@jurta.org>
10361
10362 * progmodes/grep.el (grep-mode-font-lock-keywords):
10363 Support =linenumber= format used by git-grep for lines with
10364 function names. (Bug#13549)
10365
650cff3d
SM
103662013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10367
10368 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10369 0 after a semi-colon; it works better for smie-auto-fill.
10370 (octave--indent-new-comment-line): New function.
10371 (octave-indent-new-comment-line): Use it (indirectly).
10372 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10373 modify comment-line-break-function.
10374
10375 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10376 (smie-setup): Use add-function to set it.
10377
9631677d
SS
103782013-05-24 Sam Steingold <sds@gnu.org>
10379
10380 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10381 argument (before the `interactive' argument).
10382
50105835
SM
103832013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10384
10385 * image-mode.el (image-mode-winprops): Add winprops to
10386 image-mode-winprops-alist before running
10387 image-mode-new-window-functions.
10388 * doc-view.el (doc-view-new-window-function): Don't delay
10389 doc-view-goto-page via timers (bug#14435).
10390
57b9823e
TH
103912013-05-24 Tassilo Horn <tsdh@gnu.org>
10392
10393 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10394 (doc-view-desktop-save-buffer): New function.
10395 (doc-view-restore-desktop-buffer): New function.
50105835
SM
10396 (desktop-buffer-mode-handlers):
10397 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
10398 handler.
10399 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10400 `desktop-save-buffer' function.
10401
91aafa16
MA
104022013-05-24 Michael Albinus <michael.albinus@gmx.de>
10403
10404 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10405 (tramp-gvfs-file-name-handler): Raise a user error when
10406 `tramp-gvfs-enabled' is nil.
10407 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10408 Do not raise a user error when loading package. (Bug#14447)
10409
ec076379
MA
10410 * net/xesam.el: Move to obsolete/.
10411
db785726
GM
104122013-05-24 Glenn Morris <rgm@gnu.org>
10413
af5c7606
GM
10414 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10415
e5d1916a
GM
10416 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10417
ded62b08
GM
10418 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10419 (Info-find-node, Man-getpage-in-background): Declare.
10420
9e614a3f
GM
10421 * mail/unrmail.el (unrmail):
10422 Replace obsolete detect-coding-with-priority.
10423
892f8ca3
GM
10424 * net/socks.el (socks-split-string): Use this rather than split-string.
10425 (socks-nslookup-host): Update for above change.
10426 (dynamic-choice, s5-dynamic-choice-match)
10427 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10428 Comment out unused code.
10429
3c291973
GM
10430 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10431 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10432 (gud-tooltip-echo-area): Make obsolete.
10433 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10434
43cc956b
GM
10435 * progmodes/js.el (js--optimize-arglist): Declare.
10436
dab49a3b
GM
10437 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10438
36b9d085
GM
10439 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10440 (ediff-window-C): Declare.
10441
e354ae76
GM
10442 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10443 Tweak requires to silence compiler.
10444
b8e57bf4
GM
10445 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10446 (he-search-string, he-tried-table, he-expand-list)
10447 (he-init-string, he-string-member, he-substitute-string)
10448 (he-reset-string): Declare.
10449
db785726
GM
10450 * obsolete/options.el (list-options): Use custom-variable-p,
10451 rather than obsolete alias.
10452
b3531901
SS
104532013-05-23 Sam Steingold <sds@gnu.org>
10454
10455 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 10456 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
10457 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10458
bdda4c66
SM
104592013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10460
10461 * emacs-lisp/smie.el (smie-indent-forward-token)
10462 (smie-indent-backward-token): Handle string tokens (bug#14381).
10463
c43d45f9
TH
104642013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10465
fe1eb856
RS
10466 * ielm.el (ielm-menu): New menu.
10467 (inferior-emacs-lisp-mode): Set comment-start.
96172128 10468
fe1eb856
RS
104692013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10470
a12bf61e 10471 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
10472 Fix deactivate action.
10473
a12bf61e 10474 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 10475 Add cleveref macros.
074dd971 10476
a12bf61e 10477 * textmodes/reftex-parse.el
c43d45f9
TH
10478 (reftex-locate-bibliography-files): Accept options for
10479 bibliography commands.
a12bf61e 10480 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
10481 Add addbibresource. Basic Biblatex support.
10482
7764286e
MA
104832013-05-23 Michael Albinus <michael.albinus@gmx.de>
10484
10485 * net/tramp-gvfs.el (top):
10486 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10487 when loading package. (Bug#14447)
10488
d361bc10
GM
104892013-05-23 Glenn Morris <rgm@gnu.org>
10490
8fa23984
GM
10491 * progmodes/js.el: No need to load comint when compiling.
10492 (ring-insert, comint-send-string, comint-send-input)
10493 (comint-last-input-end, ido-chop): Declare.
10494
a5c7df1a
GM
10495 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10496 * vc/ediff-mult.el: Adjust requires.
10497 (ediff-directories-internal, ediff-directory-revisions-internal)
10498 (ediff-patch-file-internal): Declare.
10499 * vc/ediff-ptch.el: Adjust requires.
10500 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10501 (ediff-find-file): Autoload.
10502 * vc/ediff-util.el: No need to load ediff when compiling.
10503 (ediff-regions-internal): Declare.
10504 * vc/ediff-wind.el: Adjust requires.
10505 (ediff-compute-toolbar-width): Define when compiling.
10506 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10507 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10508 (dired-get-filename, dired-get-marked-files)
10509 (ediff-last-dir-patch, ediff-patch-default-directory)
10510 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10511 (ediff-patch-buffer-internal): Declare.
10512
e2aec513
GM
10513 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10514 (ispell-process, ispell-buffer-local-words, lm-summary)
10515 (lm-section-start, lm-section-end): Declare.
10516 (checkdoc-ispell-init): Simplify.
10517
e68bbd7c
GM
10518 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10519 (he-string-member, he-reset-string, he-substitute-string): Declare.
10520
7efe0991
GM
10521 * eshell/em-ls.el: Adjust requires.
10522 (eshell-glob-regexp): Declare.
f87b1284
GM
10523 * eshell/em-tramp.el: Adjust requires.
10524 (eshell-parse-command): Autoload.
10525 * eshell/em-xtra.el: Adjust requires.
10526 (eshell-parse-command): Autoload.
10527 * eshell/esh-ext.el: Adjust requires.
10528 (eshell-parse-command, eshell-close-handles): Autoload.
10529 * eshell/esh-io.el: Adjust requires.
10530 (eshell-output-filter): Autoload.
10531 * eshell/esh-util.el: No need to load tramp when compiling.
10532 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10533 Declare.
10534 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10535 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10536 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10537 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10538 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10539 * eshell/esh-opt.el, eshell/esh-proc.el:
10540 * eshell/esh-var.el: Adjust requires.
10541 * eshell/eshell.el: Do not require esh-util twice.
10542 (eshell-add-input-to-history): Declare.
10543 (eshell-command): Check history module is active before using it.
10544
d361bc10
GM
10545 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10546
85d090a9
LL
105472013-05-22 Leo Liu <sdl.web@gmail.com>
10548
10549 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10550
5d0acd9d
MA
105512013-05-22 Michael Albinus <michael.albinus@gmx.de>
10552
10553 * autorevert.el (auto-revert-notify-add-watch)
10554 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10555 it indicates changes in file modification time.
10556
0cdffd7d
GM
105572013-05-22 Glenn Morris <rgm@gnu.org>
10558
ca5995ec
GM
10559 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10560 Always delete the autoloaded function from the noruntime and
10561 unresolved functions lists.
10562
6450907e
GM
10563 * allout.el: No need to load epa, epg, overlay when compiling.
10564 (epg-context-set-passphrase-callback, epg-list-keys)
10565 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10566 (epg-key-user-id-list): Declare.
10567
9c6906f6
GM
10568 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10569 (viper-set-parsing-style-toggling-macro)
10570 (viper-set-emacs-state-searchstyle-macros):
10571 Use called-interactively-p on Emacs.
10572 (viper-looking-back): Make it an obsolete alias. Update callers.
10573 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10574 Use looking-back rather than viper-looking-back.
10575 (viper-tmp-insert-at-eob, viper-enlarge-region)
10576 (viper-read-string-with-history, viper-register-to-point)
10577 (viper-append-to-register, viper-change-state-to-vi)
10578 (viper-backward-char-carefully, viper-forward-char-carefully)
10579 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10580 (viper-change-state-to-emacs): Declare.
10581 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10582 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10583 * emulation/viper-mous.el: Do not load viper-cmd.
10584 (viper-backward-char-carefully, viper-forward-char-carefully)
10585 (viper-forward-word, viper-adjust-window): Declare.
10586
5f70c169
GM
10587 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10588
b1b7f300
GM
10589 * progmodes/idlw-help.el (idlwave-help-fontify):
10590 Use called-interactively-p.
10591
f6ebbb46
GM
10592 * term/w32console.el (w32-get-console-codepage)
10593 (w32-get-console-output-codepage): Declare.
10594
0cdffd7d
GM
10595 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10596 Remove unnecessary declarations.
10597 (dframe-message): Doc fix.
10598
10599 * info.el (dframe-select-attached-frame, dframe-current-frame):
10600 Declare.
10601
10602 * speedbar.el (speedbar-message): Make it an obsolete alias.
10603 Update all callers.
10604 (speedbar-with-attached-buffer)
10605 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10606 (speedbar-with-writable): Use backquote.
10607 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10608 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10609 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10610 rather than speedbar- aliases.
10611 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10612 (speedbar-make-specialized-keymap, speedbar-insert-button)
10613 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10614 (speedbar-do-function-pointer): Declare.
10615 (rmail-speedbar-button, rmail-speedbar-find-file)
10616 (rmail-speedbar-move-message):
10617 Use dframe-with-attached-buffer rather than speedbar- alias.
10618 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10619 (dframe-message, speedbar-make-specialized-keymap)
10620 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10621 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10622 (speedbar-insert-button, dframe-select-attached-frame)
10623 (dframe-maybee-jump-to-attached-frame)
10624 (speedbar-change-initial-expansion-list)
10625 (speedbar-previously-used-expansion-list-name): Declare.
10626 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10627 Use dframe-message, dframe-with-attached-buffer rather than
10628 speedbar- aliases.
10629 (gud-sentinel): Silence compiler.
10630 * progmodes/vhdl-mode.el (speedbar-refresh)
10631 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10632 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10633 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10634 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10635 (speedbar-file-lists, speedbar-make-tag-line)
10636 (speedbar-line-directory, speedbar-goto-this-file)
10637 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10638 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10639 (speedbar-make-button, speedbar-reset-scanners)
10640 (speedbar-files-item-info, speedbar-line-text)
10641 (speedbar-find-file-in-frame, speedbar-set-timer)
10642 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10643 (speedbar-with-writable): Do not (re)define it.
10644 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10645 rather than speedbar- alias.
10646
ee44b62a
LL
106472013-05-21 Leo Liu <sdl.web@gmail.com>
10648
10649 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10650 menu items.
10651 (octave-mode): Tweak fill-nobreak-predicate.
10652 (inferior-octave-startup): Check process to avoid infinite loop.
10653 (inferior-octave): Pop to buffer first to show abornmal process
10654 exit information.
10655
640f050f
GM
106562013-05-21 Glenn Morris <rgm@gnu.org>
10657
79458038
GM
10658 * printing.el (pr-menu-bar): Define when compiling.
10659
9cc3e83f
LL
106602013-05-21 Leo Liu <sdl.web@gmail.com>
10661
10662 * progmodes/octave.el (octave-auto-fill): Remove.
10663 (octave-indent-new-comment-line): Improve.
10664 (octave-mode): Use auto fill mode through
4f405069 10665 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 10666 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 10667 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
10668 (octave-help): Show parent directory.
10669
f440830d
GM
106702013-05-21 Glenn Morris <rgm@gnu.org>
10671
10672 * files.el (dired-unmark):
10673 * progmodes/gud.el (gdb-input): Update declarations.
10674
10675 * calculator.el (electric, ehelp): No need to load when compiling.
10676 (Electric-command-loop, electric-describe-mode): Declare.
10677
10678 * doc-view.el (doc-view-current-converter-processes): Move before use.
10679
10680 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10681 Move MODE-set-explicitly definition before use.
10682
10683 * international/mule-diag.el (mule-diag):
10684 Don't use obsolete window-system-version.
10685
10686 * mail/feedmail.el (smtpmail): No need to load when compiling.
10687 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10688
10689 * mail/mail-utils.el (rfc822): No need to load when compiling.
10690 (rfc822-addresses): Autoload it.
10691 (mail-strip-quoted-names): Trivial simplification.
10692
10693 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10694 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10695
10696 * net/snmp-mode.el (tempo): Don't duplicate requires.
10697
10698 * progmodes/prolog.el (info): No need to load when compiling.
10699 (comint): Require before shell requires it.
10700 (Info-goto-node): Autoload it.
10701 (Info-follow-nearest-node): Declare.
10702 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10703
10704 * textmodes/artist.el (picture-mode-exit): Declare.
10705
10706 * textmodes/reftex-parse.el (reftex-parse-from-file):
10707 Trivial rewrite so the compiler can parse it better.
10708
b4da2cbb
LL
107092013-05-20 Leo Liu <sdl.web@gmail.com>
10710
10711 * progmodes/octave.el (octave-help-mode-map)
10712 (octave-help-mode-finish-hook): New variables.
10713 (octave-help-mode, octave-help-mode-finish): New functions.
10714 (octave-help): Use octave-help-mode.
10715
33c0f65b
GM
107162013-05-20 Glenn Morris <rgm@gnu.org>
10717
10718 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10719
1a0a0a8a
DG
107202013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10721
10722 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10723 start at point, so that expansion starting right after opening
10724 slash in a regexp is recognized.
10725 (ruby-syntax-before-regexp-re): New defvar, extracted from
10726 ruby-syntax-propertize-function. Since the value of this regexp
10727 is looked up at runtime now, we should be able to turn
10728 `ruby-syntax-methods-before-regexp' into a defcustom later.
10729 (ruby-syntax-propertize-function): Split regexp matching into two
10730 parts, for opening and closing slashes. That allows us to skip
10731 over string interpolations and support multiline regexps.
10732 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10733 for them, which calls `ruby-syntax-propertize-expansion'.
10734 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10735 call to `ruby-syntax-propertize-function'.
10736 (ruby-syntax-propertize-expansion): Extracted from
10737 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
10738 (ruby-syntax-propertize-percent-literal): Leave point right after
10739 the percent symbol, so that the expression expansion rule can
10740 propertize the contents.
462388b6
DG
10741 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10742 heredoc openers.
10743 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 10744
c1a6c0a4
JL
107452013-05-18 Juri Linkov <juri@jurta.org>
10746
10747 * man.el (Man-default-man-entry): Remove `-' from the end
10748 of the default value. (Bug#14400)
10749
8051fccd
GM
107502013-05-18 Glenn Morris <rgm@gnu.org>
10751
10752 * comint.el (comint-password-prompt-regexp):
10753 Allow "password for XXX" where XXX contains colons (eg https://...).
10754
5e80b74f
LL
107552013-05-18 Leo Liu <sdl.web@gmail.com>
10756
10757 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 10758 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
10759 (octave-source-directories): Don't check process.
10760 (octave-source-directories, octave-find-definition): Doc fix.
10761
521a54c5
GM
107622013-05-18 Glenn Morris <rgm@gnu.org>
10763
86a94b05
GM
10764 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10765 Remove backspace/delete bindings. (Bug#14392)
10766
521a54c5
GM
10767 * cus-dep.el (custom-make-dependencies): Sort the output.
10768 (custom-versions-load-alist): Convert comment to doc.
10769
42caeb89
LL
107702013-05-17 Leo Liu <sdl.web@gmail.com>
10771
10772 * newcomment.el (comment-search-backward): Stricter in finding
10773 comment start. (Bug#14303)
10774
10775 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10776 (octave-comment-start-skip): Properly anchored.
10777
e219dd97
LL
107782013-05-17 Leo Liu <sdl.web@gmail.com>
10779
fe1eb856
RS
10780 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10781 Clean up when turned off. (Bug#14395)
e219dd97
LL
10782 (smie--highlight-matching-block-overlay): No longer buffer-local.
10783 (smie-highlight-matching-block): Adjust.
10784
dc5dcb4b
PE
107852013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10786
10787 Doc string fix for "nanoseconds" (Bug#14406).
10788 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10789 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10790
1db165f0
JB
107912013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10792
10793 * calc/calc-units.el (math-extract-units): Preserve powers
10794 of units.
10795
c7a8fcac
LL
107962013-05-17 Leo Liu <sdl.web@gmail.com>
10797
10798 * subr.el (delete-consecutive-dups): New function.
10799 * ido.el (ido-set-matches-1): Use it.
10800 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10801 * ido.el (ido-remove-consecutive-dups): Remove.
10802
f678b18a
SM
108032013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10804
10805 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10806 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10807 regexp-opt's `words'.
10808
ebfe68e8
LL
108092013-05-16 Leo Liu <sdl.web@gmail.com>
10810
10811 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10812 (smie--highlight-matching-block-overlay)
10813 (smie--highlight-matching-block-lastpos)
10814 (smie--highlight-matching-block-timer): New variables.
10815 (smie-highlight-matching-block): New function.
10816 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10817 (smie-setup): Conditionally enable smie-blink-matching-open.
10818
bc8bc17d
WS
108192013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10820
10821 Sync with upstream verilog-mode r840.
10822 * progmodes/verilog-mode.el (verilog-mode-version)
10823 (verilog-mode-release-date): Update.
10824 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10825 (verilog-sig-tieoff): Fix string error on
10826 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10827 (verilog-read-decls): Fix parameters confusing
10828 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10829
df065a0b
EZ
108302013-05-16 Eli Zaretskii <eliz@gnu.org>
10831
10832 * subr.el (reveal-filename): New function.
10833
10834 * loadup.el: Compute Emacs executable versions on MS-Windows,
10835 where executables have the .exe extension. Add a hard link
10836 emacs-XX.YY.ZZ.exe on MS-Windows.
10837
10838 * Makefile.in (XARGS_LIMIT): New variable.
10839 (custom-deps, finder-data, autoloads)
10840 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10841 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10842 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10843 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10844
2d4bf34b
LL
108452013-05-16 Leo Liu <sdl.web@gmail.com>
10846
10847 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10848 (octave-mode-menu, octave-mode-map): Remove its uses.
10849
6b9c2d85
RZ
108502013-05-16 Reto Zimmermann <reto@gnu.org>
10851
10852 Sync with upstream vhdl mode v3.34.2.
10853 * progmodes/vhdl-mode.el: Use `push' throughout.
10854 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10855 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10856 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10857 (vhdl-actual-generic-name): New option to derive actual generic name.
10858 (vhdl-port-paste-signals): Replace formal by actual generics.
10859 (vhdl-beautify): New name for old group vhdl-align. Update users.
10860 (vhdl-beautify-options): New option.
10861 (vhdl-last-input-event): New compat alias. Use throughout.
10862 (vhdl-goto-line): Replace user level function `goto-line'.
10863 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10864 vhdl-fix-statement-buffer.
10865 (vhdl-create-mode-menu): Add some entries.
10866 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10867 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10868 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10869 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10870 to force statements on one line.
10871 (vhdl-remove-trailing-spaces-region):
10872 New, split from vhdl-remove-trailing-spaces.
10873 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10874 Respect vhdl-beautify-options.
10875 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10876 (vhdl-update-sensitivity-list): Not add with index if exists without.
10877 Not include array index with signal. Ignore keywords in comments.
10878 (vhdl-get-visible-signals): Regexp tweaks.
10879 (vhdl-template-component-inst): Handle empty library.
10880 (vhdl-template-type): Add template for 'enum' type.
10881 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10882 Use vhdl-replace-string.
10883 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10884 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10885 (vhdl-speedbar-initialize): Update for above name change.
10886 (vhdl-compose-wire-components): Fix in handling of constants.
10887 (vhdl-error-regexp-emacs-alist): New variable.
10888 (vhdl-error-regexp-add-emacs): New function;
10889 adds support for new compile.el (Emacs 22+)
10890 (vhdl-generate-makefile-1): Change target order for single lib. units.
10891 Allow use of absolute file names.
10892
9df4ec5e
LL
108932013-05-16 Leo Liu <sdl.web@gmail.com>
10894
10895 * simple.el (prog-indent-sexp): Indent enclosing defun.
10896
f5ba00a6
GM
108972013-05-15 Glenn Morris <rgm@gnu.org>
10898
ed8be7ff
GM
10899 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10900 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10901 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10902 (whitespace-highlight): Move to whitespace group.
10903
10904 * comint.el (comint-source):
10905 * pcmpl-linux.el (pcmpl-linux):
10906 * shell.el (shell-faces):
10907 * eshell/esh-opt.el (eshell-opt):
10908 * international/ccl.el (ccl): Remove empty custom groups.
10909
10910 * completion.el (dynamic-completion-mode):
10911 * jit-lock.el (jit-lock-debug-mode):
10912 * minibuffer.el (completion-in-region-mode):
10913 * type-break.el (type-break-mode-line-message-mode)
10914 (type-break-query-mode):
10915 * emulation/tpu-edt.el (tpu-edt-mode):
10916 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10917 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10918 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10919
10920 * term/xterm.el (xterm): Change parent group to terminals.
10921
10922 * master.el (master): Remove empty custom group.
10923 (master-mode): Remove unused :group argument.
10924 * textmodes/refill.el (refill): Remove empty custom group.
10925 (refill-mode): Remove unused :group argument.
10926
10927 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10928
82a7c41b
GM
10929 * cus-dep.el: Provide a feature.
10930 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
10931 Don't mistakenly ignore files whose basenames match a basename
10932 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 10933 Add a fallback method for getting :group.
f5ba00a6 10934
6d65486d
JL
109352013-05-15 Juri Linkov <juri@jurta.org>
10936
da547b32
JL
10937 * isearch.el (isearch-char-by-name): Rename from
10938 `isearch-insert-char-by-name'. Doc fix.
10939 (isearch-forward): Mention `isearch-char-by-name' in
10940 the docstring. (Bug#13348)
10941
6d65486d
JL
10942 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10943 `exit-minibuffer' instead of
10944 `isearch-nonincremental-exit-minibuffer'.
10945 (isearch-edit-string): Remove mention of
10946 `isearch-nonincremental-exit-minibuffer' from docstring.
10947 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10948 (isearch-forward-exit-minibuffer)
10949 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10950
c9990474
SM
109512013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10952
6e911150
SM
10953 * loadup.el: Just use unversioned DOC.
10954
c9990474
SM
10955 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10956 literals as extending to EOB.
10957 (nxml-last-fontify-end): Remove unused variable.
10958 (nxml-after-change1): Use with-silent-modifications.
10959 (nxml-extend-after-change-region): Simplify.
10960 (nxml-extend-after-change-region1): Remove function.
10961 (nxml-after-change1): Don't adjust for dependent regions.
10962 (nxml-fontify-matcher): Simplify.
10963 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10964 (xmltok-add-dependent): Remove function.
10965 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10966 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10967 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10968 unclosed <[[, <?, comment, and other literals as extending to EOB.
10969 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10970 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10971 Remove functions.
10972 (rng-do-some-validation-1): Don't mark dependent regions.
10973 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10974 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10975 (nxml-clear-dependent-regions): Remove functions.
10976 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10977 (nxml-ensure-scan-up-to-date):
10978 Don't clear&mark dependent regions.
10979
e3772e98
LL
109802013-05-15 Leo Liu <sdl.web@gmail.com>
10981
c9990474
SM
10982 * progmodes/octave.el (octave-goto-function-definition):
10983 Improve and fix callers.
e3772e98 10984
5ac2eb34
SM
109852013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10986
c46c57b0
SM
10987 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10988 the setter (bug#14387).
10989
5ac2eb34
SM
10990 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10991 surrounding group (bug#14402).
10992
180ed218
JL
109932013-05-14 Juri Linkov <juri@jurta.org>
10994
10995 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10996 (Bug#14390)
10997
0ac0fecb
GM
109982013-05-14 Glenn Morris <rgm@gnu.org>
10999
11000 * progmodes/f90.el (f90-imenu-generic-expression):
11001 Fix typo in 2013-05-08 change. (Bug#14402)
11002
2e78e6a7
JPG
110032013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11004
5ac2eb34
SM
11005 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11006 Remove signals for which replies are never received.
2e78e6a7 11007
53267cca
JPG
110082013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11009
11010 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11011 (gdb-handler-alist, gdb-handler-number): Remove variables.
11012 (gdb-handler-list): New variable.
11013 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11014 (gdb-pending-handler-p, gdb-handle-reply)
11015 (gdb-remove-all-pending-triggers): New functions.
11016 (gdb-discard-unordered-replies): New defcustom.
11017 (gdb-handler): New defstruct.
11018 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11019 instead of gdb-pending-triggers. Update docstring.
11020 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11021 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11022 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11023 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11024 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11025 (gdb-frame-handler): Pending triggers are now automatically managed.
11026 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11027 Remove argument.
11028 (gdb-input): Automatically handles pending triggers. Update docstring.
11029 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11030 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11031 Update comments.
11032 (gdb-done-or-error): Now use gdb-handle-reply.
11033
d04ce803
JPG
110342013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11035
11036 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11037 gdb-debug-log.
11038
0114073a
GM
110392013-05-14 Glenn Morris <rgm@gnu.org>
11040
11041 * subr.el (user-emacs-directory-warning): New option.
11042 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11043
4d25fd7e
LL
110442013-05-14 Leo Liu <sdl.web@gmail.com>
11045
11046 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11047 during redisplay.
11048 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
11049 (octave-font-lock-texinfo-comment): Fix invalid search bound
11050 error: wrong side of point.
4d25fd7e 11051
27c8b6eb
GM
110522013-05-14 Glenn Morris <rgm@gnu.org>
11053
61aaeb01
GM
11054 * progmodes/flymake.el (flymake-xml-program): New option.
11055 (flymake-xml-init): Use it.
11056
5bf90bc5
GM
11057 * term/xterm.el: Provide a feature.
11058
11059 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 11060
f4c7dfd2
GM
110612013-05-13 Glenn Morris <rgm@gnu.org>
11062
11063 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11064 Add compat aliases as a hack workaround. (Bug#14384)
11065
2aeb3a1d
LL
110662013-05-13 Leo Liu <sdl.web@gmail.com>
11067
b0e069c2
LL
11068 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11069 ###, and %!.
f5a9432f
LL
11070 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11071 C-M-q.
b0e069c2
LL
11072 (octave-comment-start-skip): Include %!.
11073 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 11074
30ea8374
LL
110752013-05-12 Leo Liu <sdl.web@gmail.com>
11076
11077 * progmodes/octave.el (inferior-octave-startup): Store the value
11078 of __octave_srcdir__ for octave-source-directories.
11079 (inferior-octave-check-process): New function refactored out of
11080 inferior-octave-send-list-and-digest.
11081 (octave-source-directories)
11082 (octave-find-definition-filename-function): New variables.
11083 (octave-source-directories)
11084 (octave-find-definition-default-filename): New functions.
11085 (octave-find-definition): Improve to find functions implemented in C++.
11086
472a3834
GM
110872013-05-12 Glenn Morris <rgm@gnu.org>
11088
11089 * calendar/diary-lib.el (diary-outlook-format-1):
11090 Don't include dayname in the output. (Bug#14349)
11091
3191b52f
GM
110922013-05-11 Glenn Morris <rgm@gnu.org>
11093
0060ac73
GM
11094 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11095
3191b52f
GM
11096 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11097 Treat cc-provide like provide.
11098
e065ba74
KR
110992013-05-11 Kevin Ryde <user42@zip.com.au>
11100
11101 * cus-dep.el (custom-make-dependencies):
11102 Use generated-autoload-load-name for the sake of files such
11103 such cedet/semantic/bovine/c.el, where the base file name
11104 is not in load-path. (Bug#5277)
11105
36f84c37
GM
111062013-05-11 Glenn Morris <rgm@gnu.org>
11107
11108 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11109 Provide features.
11110
c8730c3a
LL
111112013-05-11 Leo Liu <sdl.web@gmail.com>
11112
11113 * progmodes/octave.el (octave-indent-comment): Improve.
11114 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
11115 (octave-eldoc-function-signatures, octave-eldoc-function):
11116 New functions.
c8730c3a
LL
11117 (octave-mode, inferior-octave-mode): Add eldoc support.
11118
212e29f2
RS
111192013-05-11 Richard Stallman <rms@gnu.org>
11120
11121 * epa.el (epa-decrypt-file): Take output file name as argument
11122 and read it using `interactive'.
11123
083fe0d7
LL
111242013-05-11 Leo Liu <sdl.web@gmail.com>
11125
11126 * progmodes/octave.el (octave-beginning-of-line)
11127 (octave-end-of-line): Check before using up-list because it jumps
11128 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
11129 (octave-indent-comment): New function.
11130 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
11131 (octave-begin-keywords, octave-end-keywords)
11132 (octave-reserved-words, octave-smie-bnf-table)
11133 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 11134
8582e4c4
GM
111352013-05-11 Glenn Morris <rgm@gnu.org>
11136
f20def1f
GM
11137 * faces.el (internal-face-x-get-resource):
11138 * frame.el (ns-display-monitor-attributes-list):
d78abe37 11139 * calc/calc-aent.el (math-to-radians-2):
f20def1f 11140 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 11141 Fix declarations.
f20def1f 11142
445f95e2
GM
11143 * calc/calc-menu.el: Make it loadable in isolation.
11144
11145 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11146 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11147 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11148 (eudc-bbdb-query-internal): Require 'bbdb.
11149
99fb2756
GM
11150 * lpr.el (lpr-headers-switches):
11151 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11152
11153 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11154
0da7ad96
GM
11155 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11156
8582e4c4
GM
11157 * term.el (term-set-escape-char): Make it idempotent.
11158
f71c50d0
LL
111592013-05-10 Leo Liu <sdl.web@gmail.com>
11160
5ac2eb34
SM
11161 * progmodes/octave.el (inferior-octave-completion-table):
11162 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
11163 completion due to bug#11906.
11164 (octave-beginning-of-defun): Re-write to be more general.
11165
d5837773
GM
111662013-05-10 Glenn Morris <rgm@gnu.org>
11167
11168 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11169
027c0f75
SM
111702013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11171
11172 * comint.el (comint-redirect-send-command-to-process): Use :around
11173 rather than :override for comint-redirect-filter.
11174 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11175 Call it instead of comint-redirect-original-filter-function (which
11176 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11177
4465bfb4
JD
111782013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11179
11180 * frame.el (display-monitor-attributes-list): Add NS case.
11181 (ns-display-monitor-attributes-list): Declare.
11182
2d809ffa 111832013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
11184
11185 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11186
e54eeb9b
GM
111872013-05-09 Glenn Morris <rgm@gnu.org>
11188
56cd351d
GM
11189 * international/fontset.el (vertical-centering-font-regexp):
11190 Set standard-value.
11191
d84b6108
GM
11192 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11193
a931698a
GM
11194 * bookmark.el (bookmark-search-delay):
11195 * cus-start.el (vertical-centering-font-regexp):
11196 * ps-mule.el (ps-mule-font-info-database-default):
11197 * ps-print.el (ps-default-fg, ps-default-bg):
11198 * type-break.el (type-break-good-break-interval):
11199 * whitespace.el (whitespace-indentation-regexp)
11200 (whitespace-space-after-tab-regexp):
11201 * emacs-lisp/testcover.el (testcover-1value-functions)
11202 (testcover-noreturn-functions, testcover-progn-functions)
11203 (testcover-prog1-functions):
11204 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11205 * eshell/em-glob.el (eshell-glob-translate-alist):
11206 * play/tetris.el (tetris-tty-colors):
11207 * progmodes/cpp.el (cpp-face-default-list):
11208 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11209 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11210 (idlwave-help-browser-generic-args):
11211 * progmodes/make-mode.el (makefile-special-targets-list):
11212 * progmodes/python.el (python-shell-virtualenv-path):
11213 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11214 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11215 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11216 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11217 * textmodes/reftex-vars.el (reftex-format-label-function):
11218 * textmodes/remember.el (remember-diary-file): Fix custom types.
11219
e54eeb9b
GM
11220 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11221 Add :version.
11222
455851dd
LL
112232013-05-09 Leo Liu <sdl.web@gmail.com>
11224
11225 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 11226 Restore file completion. (Bug#14300)
455851dd
LL
11227 (inferior-octave-startup): Fix incorrect highlighting for the
11228 first prompt.
11229
a9e4425b
SM
112302013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11231
11232 * progmodes/ruby-mode.el: First cut at SMIE support.
11233 (ruby-use-smie): New var.
11234 (ruby-smie-grammar): New constant.
11235 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11236 (ruby-smie--forward-token, ruby-smie--backward-token)
11237 (ruby-smie-rules): New functions.
11238 (ruby-mode-variables): Setup SMIE if applicable.
11239
060ca408
EZ
112402013-05-08 Eli Zaretskii <eliz@gnu.org>
11241
11242 * simple.el (line-move-visual): Signal beginning/end of buffer
11243 only if vertical-motion moved less than it was requested. Avoids
11244 silly incorrect error messages when there are display strings with
11245 multiple newlines at EOL.
11246
1d5963cc
SM
112472013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11248
11249 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11250 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11251 (prolog-char-quote-workaround):
11252 * progmodes/cperl-mode.el (cperl-under-as-char):
11253 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
11254 Mark as obsolete.
11255 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
11256 their declaration.
11257 (vhdl-mode-syntax-table-init): Remove.
11258
c9990474
SM
11259 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11260 last change.
1d5963cc
SM
11261
11262 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11263 syntax for "_".
11264 (ld-script-font-lock-keywords):
11265 Change regexps to use things like \_< and \_>.
11266
11267 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11268 Change all regexps to use things like \_< and \_>.
11269
11270 * progmodes/autoconf.el (autoconf-definition-regexp)
11271 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11272 Handle a _ with symbol syntax.
11273 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11274
c9990474
SM
11275 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11276 Consolidate declaration.
1d5963cc
SM
11277 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11278 the declaration.
11279 (ada-create-syntax-table): Remove.
11280 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11281 already has the right syntax nowadays.
11282 (ada-goto-next-word): Don't change the syntax of "_".
11283
11284 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11285 with-wrapper-hook.
11286
72d3cfca
SS
112872013-05-08 Sam Steingold <sds@gnu.org>
11288
11289 * thingatpt.el (thing-at-point): Accept optional second argument
11290 NO-PROPERTIES to strip the text properties from the return value.
11291 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11292 to `thing-at-point' instead of stripping the properties ourselves.
11293 Also, when `thing-at-point' fails to find a url, prepend "http://"
11294 to the filename at point on the assumption that the user is
11295 pointing at something like gnu.org/gnu.
11296
5cb15713
JB
112972013-05-08 Juanma Barranquero <lekktu@gmail.com>
11298
11299 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11300 * faces.el (crm-separator):
11301 Silence byte-compiler.
11302
11303 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11304 (tool-bar-map): Remove unneeded defvars.
11305
ea78b95b
LL
113062013-05-08 Leo Liu <sdl.web@gmail.com>
11307
11308 Re-work a fix for bug#10994 based on Le Wang's patch.
11309 * ido.el (ido-remove-consecutive-dups): New helper.
11310 (ido-completing-read): Use it.
11311 (ido-chop): Revert fix for bug#10994.
11312
dc7466df
AS
113132013-05-08 Adam Spiers <emacs@adamspiers.org>
11314
11315 * cus-edit.el (custom-save-variables):
11316 Pretty-print long values. (Bug#14187)
11317
9ecf672a
GM
113182013-05-08 Glenn Morris <rgm@gnu.org>
11319
11320 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11321 (m4-mode-syntax-table): Init in the defvar.
11322 (m4-mode-abbrev-table): Let define-derived-mode define it.
11323
3f555be8
TT
113242013-05-08 Tom Tromey <tromey@redhat.com>
11325
11326 * progmodes/m4-mode.el (m4-mode-syntax-table):
11327 Do not treat "_" as word constituent. (Bug#14167)
11328
7cc8ae06
GM
113292013-05-07 Glenn Morris <rgm@gnu.org>
11330
4f58bc06
GM
11331 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11332 Remove explicit eshell-isearch-cancel-map.
11333
7cc8ae06
GM
11334 * progmodes/f90.el (f90-smart-end-names): New option.
11335 (f90-smart-end): Doc fix.
11336 (f90-end-block-optional-name): New constant.
11337 (f90-block-match): Respect f90-smart-end-names.
11338
ceb57e59
SM
113392013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11340
11341 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11342 about implicit semi-colons (bug#14218).
11343
4e3f9230
YM
113442013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11345
11346 * frame.el (display-monitor-attributes-list)
11347 (frame-monitor-attributes): New functions.
11348
203a5572
LL
113492013-05-06 Leo Liu <sdl.web@gmail.com>
11350
11351 * progmodes/octave.el (octave-syntax-propertize-function): Change
11352 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11353 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 11354 (octave-completion-at-point): Rename from
203a5572
LL
11355 octave-completion-at-point-function.
11356 (inferior-octave-directory-tracker): Robustify.
11357 (octave-text-functions): Remove and fix its uses. No such things
11358 any more.
11359
ee6cff99
SM
113602013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11361
11362 * emacs-lisp/trace.el (trace--display-buffer): New function.
11363 (trace-make-advice): Use it.
11364
32985194
JL
113652013-05-06 Juri Linkov <juri@jurta.org>
11366
11367 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11368 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11369 Doc fix.
11370 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11371 in the help string. (Bug#12985)
11372
a1c700de
KD
113732013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11374
11375 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11376
c67c0839
SM
113772013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11378
323885fd
SM
11379 * progmodes/perl-mode.el: Add support for here documents.
11380 (perl-syntax-propertize-function): Match here-doc markers.
11381 (perl-syntax-propertize-special-constructs): Find their end.
11382 (perl-imenu-generic-expression): Use [:alnum:].
11383
c67c0839
SM
11384 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11385 (advice--add-function): Refresh the advice if already present
11386 (bug#14317).
11387
d491e7a8
IA
113882013-05-06 Ivan Andrus <darthandrus@gmail.com>
11389
11390 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11391
ddf9925e
GM
113922013-05-06 Glenn Morris <rgm@gnu.org>
11393
7cc3af27
GM
11394 * w32-fns.el (w32-charset-info-alist): Declare.
11395
16e343d6
GM
11396 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11397 of its defcustom properties.
11398 (eshell-cmpl-initialize): No need to load pcomplete.
11399
7d889a47
GM
11400 * generic-x.el: No need to require comint when compiling.
11401
ddf9925e
GM
11402 * net/eudc-export.el: Make it loadable without bbdb.
11403 (top-level): Use require rather than load-library.
11404 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11405 (eudc-batch-export-records-to-bbdb)
11406 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11407 Require bbdb.
11408
1e2c18df
SM
114092013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11410
11411 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11412 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11413 some tweaks, instead.
11414
02502a5f
LL
114152013-05-05 Leo Liu <sdl.web@gmail.com>
11416
11417 * progmodes/octave.el (octave-font-lock-keywords)
11418 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11419 (inferior-octave-send-list-and-digest): Improve error message.
11420 (octave-mode, inferior-octave-mode): Use setq-local.
11421 (octave-help): Set info-lookup-mode.
11422
0dc04f42
RS
114232013-05-05 Richard Stallman <rms@gnu.org>
11424
6c54491c
RS
11425 * vc/compare-w.el (compare-windows-whitespace):
11426 Treat no-break space as whitespace.
11427
0dc04f42
RS
11428 * mail/rmailsum.el (rmail-summary-rmail-update):
11429 Detect empty summary and don't change selected message.
11430 (rmail-summary-goto-msg): Likewise.
11431
df8f35df
RS
11432 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11433 Doc fixes, rename args.
11434
5356e1a3
AM
114352013-05-05 Alan Mackenzie <acm@muc.de>
11436
11437 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11438
d44014cb
JL
114392013-05-05 Juri Linkov <juri@jurta.org>
11440
11441 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11442 to not add the length of the summary segment to the return value.
11443 (Bug#14125)
11444
c129b51f
LL
114452013-05-05 Leo Liu <sdl.web@gmail.com>
11446
11447 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11448 (inferior-octave-output-filter): Remove.
11449 (octave-send-region, inferior-octave-startup): Fix callers.
11450 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11451 (octave-binary-file-extensions): New user variable.
11452 (octave-find-definition): Confirm if opening binary files.
11453 (octave-help-file): Use octave-find-definition to get the binary
11454 confirmation.
11455 (octave-help): Adjust for octave-help-file change.
11456
aa7dab97
SM
114572013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11458
11459 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11460 Merge the two entries that handle function definitions.
11461 (pascal--syntax-propertize): New const.
11462 (pascal-mode): Use it. Use setq-local.
11463
fd3a9a6b
GM
114642013-05-04 Glenn Morris <rgm@gnu.org>
11465
11466 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11467 (diary-from-outlook): Respect diary-from-outlook-function.
11468
30c7e542
SM
114692013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11470
11471 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11472 Move the declaration from C.
11473 (read-minibuffer, eval-minibuffer): Move from C.
11474 (completion-setup-function): Avoid minibuffer-completion-contents.
11475
b54f978b
LL
114762013-05-03 Leo Liu <sdl.web@gmail.com>
11477
11478 * progmodes/octave.el (octave-font-lock-keywords): Do not
11479 dehighlight 'end' in comments or strings.
30c7e542
SM
11480 (octave-completing-read, octave-goto-function-definition):
11481 New helpers.
d4d0f9b3
LL
11482 (octave-help-buffer): New user variable.
11483 (octave-help-file, octave-help-function): New button types.
11484 (octave-help): New command and bind it to C-h ;.
11485 (octave-find-definition): New command and bind it to M-.
d74a1581 11486 (user-error): Alias to error if not defined.
b54f978b 11487
27135018
LL
114882013-05-02 Leo Liu <sdl.web@gmail.com>
11489
11490 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11491 for \. (bug#14332)
11492 (octave-font-lock-keywords): Include [ and {.
11493
0d634d3a
LL
114942013-05-02 Leo Liu <sdl.web@gmail.com>
11495
11496 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11497 (inferior-octave): Remove calling comint-mode and return the buffer.
11498 (inferior-octave-startup): Cosmetic changes.
11499
b4c8295e
LL
115002013-05-02 Leo Liu <sdl.web@gmail.com>
11501
30c7e542
SM
11502 * progmodes/octave.el (octave-syntax-propertize-function):
11503 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 11504
f12ad6ec
GM
115052013-05-02 Glenn Morris <rgm@gnu.org>
11506
11507 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11508 * desktop.el (vc-dir-mode): Just autoload it here.
11509
30cac1e0
AM
115102013-05-02 Alan Mackenzie <acm@muc.de>
11511
11512 Eliminate variable c-standard-font-lock-fontify-region-function.
11513 * progmodes/cc-mode.el
11514 (c-standard-font-lock-fontify-region-function): Remove.
11515 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11516
d8ef28b1
LL
115172013-05-01 Leo Liu <sdl.web@gmail.com>
11518
2640d52e 11519 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 11520 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 11521 variables were removed from Octave in 2007.
d8ef28b1
LL
11522 (inferior-octave-startup): Fix uses.
11523 (comint-line-beginning-position): Remove compatibility code for
11524 emacs 21.
11525
ac63ec89
JL
115262013-05-01 Juri Linkov <juri@jurta.org>
11527
11528 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11529
9e9be37c
JL
115302013-05-01 Juri Linkov <juri@jurta.org>
11531
11532 * comint.el (comint-previous-matching-input): Don't print message
11533 "History item: %d" when `isearch-mode' is active.
11534 (comint-history-isearch-message): Print message "History item: %d"
11535 when `comint-input-ring-index' is not empty and this function is
11536 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11537
9b92c13b
LL
115382013-05-01 Leo Liu <sdl.web@gmail.com>
11539
11540 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11541 definitions. Use completion-at-point to insert keywords.
11542 (octave-abbrev-start): Remove.
11543 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11544
b12d33d7
LL
115452013-04-30 Leo Liu <sdl.web@gmail.com>
11546
11547 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11548 change.
11549
3d1c39fa
AM
115502013-04-30 Alan Mackenzie <acm@muc.de>
11551
11552 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
11553 * progmodes/cc-engine.el (c-back-over-member-initializers):
11554 new function.
3d1c39fa
AM
11555 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11556 (most) member init lists.
11557
5147fc17
RS
115582013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11559
11560 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11561 variable.
11562
5b78d7fc
LL
115632013-04-30 Leo Liu <sdl.web@gmail.com>
11564
11565 * progmodes/octave.el (octave-variables): Remove. No builtin
11566 variables any more. All converted to functions.
11567 (octave-font-lock-keywords, octave-completion-at-point-function):
11568 Fix uses.
11569 (octave-font-lock-texinfo-comment): New user variable.
11570 (octave-texinfo-font-lock-keywords): New variable for texinfo
11571 comment block.
11572 (octave-function-comment-block): New face.
11573 (octave-font-lock-texinfo-comment): New function.
11574 (octave-mode): Font lock texinfo comment block.
11575
38d8527b
LL
115762013-04-29 Leo Liu <sdl.web@gmail.com>
11577
11578 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11579 indexing expression.
11580 (octave-continuation-string): Do not use \.
11581 (inferior-octave-complete-impossible): Remove.
11582 (inferior-octave-completion-table)
11583 (inferior-octave-completion-at-point): Remove its uses.
11584 (inferior-octave-startup): completion_matches was introduced to
11585 Octave in 1996 so safe to assume it.
11586 (octave-function-file-comment): Improve to follow how Octave does it.
11587 (octave-update-function-file-comment): Tweak.
11588
2ec12cb0
LL
115892013-04-29 Leo Liu <sdl.web@gmail.com>
11590
11591 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11592 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11593 (octave-function-file-comment): Fix typo.
11594 (octave-sync-function-file-names): Use read-char-choice.
11595
6eaed048
JB
115962013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11597
11598 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11599 to t for the less important warnings.
11600
3ffa2d4f
DH
116012013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11602
11603 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11604
685c9501
GM
116052013-04-27 Glenn Morris <rgm@gnu.org>
11606
11607 * vc/log-view.el (log-view-current-entry):
11608 Treat "---" separator lines as part of the following rev. (Bug#14169)
11609
0208ede7
JL
116102013-04-27 Juri Linkov <juri@jurta.org>
11611
11612 * subr.el (read-number): Doc fix about using it by interactive
11613 code letter `n'. (Bug#14254)
11614
5db9dace
JL
116152013-04-27 Juri Linkov <juri@jurta.org>
11616
11617 * desktop.el (desktop-auto-save-timeout): New option.
11618 (desktop-file-checksum): New variable.
11619 (desktop-save): Add optional arg `auto-save' and don't auto-save
11620 if nothing changed.
11621 (desktop-auto-save-timer): New variable.
11622 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11623 (after-init-hook): Call `desktop-auto-save-set-timer'.
11624 Suggested by Reuben Thomas <rrt@sc3d.org> in
11625 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11626
b7260dd4
LL
116272013-04-27 Leo Liu <sdl.web@gmail.com>
11628
11629 * progmodes/octave.el (octave-function-file-p)
11630 (octave-skip-comment-forward, octave-function-file-comment)
11631 (octave-update-function-file-comment): New functions.
11632 (octave-mode-map): Bind C-c ; to
11633 octave-update-function-file-comment.
11634 (octave-mode-menu): Add octave-update-function-file-comment.
11635 (octave-mode, inferior-octave-mode): Fix doc-string.
11636 (octave-insert-defun): Conform to Octave's coding convention.
11637 (Bug#14285)
11638
11639 * files.el (basic-save-buffer): Don't let errors in
11640 before-save-hook prevent saving buffer.
11641
c46da669
RW
116422013-04-20 Roland Winkler <winkler@gnu.org>
11643
11644 * faces.el (read-face-name): Use completing-read if arg multiple
11645 is nil.
11646
a81ee1eb
IL
116472013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11648
11649 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
11650 displayed, move point to after the totals line.
11651 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
11652 for the details.
11653
4fac34ce
SM
116542013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11655
11656 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11657 Add current dir to the load-path.
11658 (package-generate-autoloads): Don't rely on
11659 autoload-ensure-default-file.
11660
f6bfc063
RT
116612013-04-26 Reuben Thomas <rrt@sc3d.org>
11662
d40ab5cf
BG
11663 * textmodes/remember.el (remember-store-in-files): Document that
11664 the file name format is passed to `format-time-string'.
f6bfc063 11665
e55d3b04
LL
116662013-04-26 Leo Liu <sdl.web@gmail.com>
11667
11668 * progmodes/octave.el (octave-sync-function-file-names): New function.
11669 (octave-mode): Use it in before-save-hook.
11670
e53052d3
SM
116712013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11672
140ef50c
SM
11673 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11674 (bug#14274).
11675
e53052d3
SM
11676 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11677 \n and comment, even if it's not an implicit ; (bug#14218).
11678
af80458d 116792013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
11680
11681 * subr.el (read-number): Once more use `read' rather than
11682 `string-to-number', to trap non-numeric input. (Bug#14254)
11683
af80458d 116842013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
11685
11686 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11687 Use `syntax-multiline' text property consistently instead of
8a621d53 11688 `font-lock-multiline'. (Bug#14237)
70203c2e 11689
e6ea1f6c
GM
116902013-04-26 Glenn Morris <rgm@gnu.org>
11691
11692 * emacs-lisp/shadow.el (list-load-path-shadows):
11693 No longer necessary to check for duplicate simple.el, since
11694 2012-07-07 change to init_lread to not include installation lisp
11695 directories in load-path when running uninstalled. (Bug#14270)
11696
070ccca4
LL
116972013-04-26 Leo Liu <sdl.web@gmail.com>
11698
11699 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11700 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 11701 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
11702 octave-in-string-or-comment-p.
11703 (octave-in-comment-p, octave-in-string-p)
11704 (octave-in-string-or-comment-p): Replace defsubst with defun.
11705
9d1c5fb6
PE
117062013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11707
11708 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11709
c034abda
BG
117102013-04-25 Bastien Guerry <bzg@gnu.org>
11711
11712 * textmodes/remember.el (remember-data-directory)
11713 (remember-directory-file-name-format): Fix custom types.
11714
584ea277
LL
117152013-04-25 Leo Liu <sdl.web@gmail.com>
11716
e53052d3
SM
11717 * progmodes/octave.el (octave-completion-at-point-function):
11718 Make use of inferior octave process.
584ea277
LL
11719 (octave-initialize-completions): Remove.
11720 (inferior-octave-completion-table): New function.
11721 (inferior-octave-completion-at-point): Use it.
11722 (octave-completion-alist): Remove.
11723
1693b06a
SM
117242013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11725
11726 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11727 (opascal-mode-syntax-table): New var.
11728 (opascal-literal-kind, opascal-is-literal-end)
11729 (opascal-literal-token-at): Rewrite.
11730 (opascal--literal-start-re, opascal-font-lock-keywords)
11731 (opascal--syntax-propertize): New constants.
11732 (opascal-font-lock-defaults): Adjust.
11733 (opascal-mode): Use them. Set comment-<foo> variables as well.
11734 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11735 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11736 (delphi-other-face, opascal-other-face): Remove face variables.
11737 (opascal-save-state): Remove macro.
11738 (opascal-fontifying-progress-step): Remove constant.
11739 (opascal--ignore-changes): Remove var.
11740 (opascal-set-token-property, opascal-parse-next-literal)
11741 (opascal-is-stable-literal, opascal-complete-literal)
11742 (opascal-is-literal-start, opascal-face-of)
11743 (opascal-parse-region, opascal-parse-region-until-stable)
11744 (opascal-fontify-region, opascal-after-change)
11745 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11746 (opascal-debug-parse-region, opascal-debug-parse-window)
11747 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11748 (opascal-debug-fontify-buffer): Remove.
11749 (opascal-debug-mode-map): Adjust accordingly.
11750
be64c05d
LL
117512013-04-25 Leo Liu <sdl.web@gmail.com>
11752
11753 Merge octave-mod.el and octave-inf.el into octave.el with some
11754 cleanups.
11755 * progmodes/octave.el: New file renamed from octave-mod.el.
11756 * progmodes/octave-inf.el: Merged into octave.el.
11757 * progmodes/octave-mod.el: Renamed to octave.el.
11758
d79d37bd
TH
117592013-04-25 Tassilo Horn <tsdh@gnu.org>
11760
11761 * textmodes/reftex-vars.el
11762 (reftex-label-ignored-macros-and-environments): New defcustom.
11763
11764 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11765
ced3fc5d
SM
117662013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11767
11768 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11769 (smie-indent-keyword): Improve the check to ensure that the next
11770 comment is really on the same line.
11771 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11772
11773 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11774 semi-colons if the line is not otherwise empty (bug#14218).
11775
1c141dad
GM
117762013-04-25 Glenn Morris <rgm@gnu.org>
11777
11778 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11779
5058062a
SM
117802013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11781
11782 * progmodes/opascal.el (opascal-set-token-property): Rename from
11783 opascal-set-text-properties and only set `token' (bug#14134).
11784 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11785 (opascal-literal-text-properties): Remove.
11786 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11787 Adjust callers.
11788
5db9dace 117892013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
11790
11791 * textmodes/remember.el (remember-handler-functions): Add an
11792 option for a new handler `remember-store-in-files'.
11793 (remember-data-directory, remember-directory-file-name-format):
11794 New options.
11795 (remember-store-in-files): New function to store remember notes
11796 as separate files within a directory.
11797
4391916c
MH
117982013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11799
11800 * progmodes/compile.el (compilation-next-error-function):
11801 Pass "formats" to compilation-find-file (bug#11777).
11802
bb7cdf58
GM
118032013-04-24 Glenn Morris <rgm@gnu.org>
11804
3b8fe752 11805 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
11806 * vc/vc-hg.el (vc-hg-print-log):
11807 * vc/vc-svn.el (vc-svn-print-log):
11808 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11809
bb7cdf58
GM
11810 * vc/vc-bzr.el (vc-bzr-print-log):
11811 * vc/vc-cvs.el (vc-cvs-print-log):
11812 * vc/vc-git.el (vc-git-print-log):
11813 * vc/vc-hg.el (vc-hg-print-log):
11814 * vc/vc-mtn.el (vc-mtn-print-log):
11815 * vc/vc-rcs.el (vc-rcs-print-log):
11816 * vc/vc-sccs.el (vc-sccs-print-log):
11817 * vc/vc-svn.el (vc-svn-print-log):
11818 * vc/vc.el (vc-print-log-internal): Doc fixes.
11819
b46a056e
GM
118202013-04-23 Glenn Morris <rgm@gnu.org>
11821
11822 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11823 Remove venerable code attempting to avoid substitute-command-keys.
11824
0aecf718
TH
118252013-04-23 Tassilo Horn <tsdh@gnu.org>
11826
4391916c
MH
11827 * textmodes/reftex-vars.el (reftex-label-regexps):
11828 Call `reftex-compile-variables' after changes to this variable.
0aecf718 11829
117f94cf
SM
118302013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11831
4391916c 11832 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
11833 Use lexical-binding.
11834 (jit-lock-force-redisplay): Use markers, check buffer's continued
11835 existence and beware narrowed buffers.
11836 (jit-lock-fontify-now): Adjust call accordingly.
11837
1d829c64
SM
118382013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11839
11840 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11841 to avoid misleading the user.
11842
72d548a9
LL
118432013-04-22 Leo Liu <sdl.web@gmail.com>
11844
11845 * info-look.el: Prefer latex2e.info. (Bug#14240)
11846
d0853629
MA
118472013-04-22 Michael Albinus <michael.albinus@gmx.de>
11848
11849 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11850
11851 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 11852 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
11853 (tramp-set-completion-function, tramp-parse-putty):
11854 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11855 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11856 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11857 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11858 (tramp-call-local-coding-command): Use `tramp-call-process'
11859 instead of `tramp-compat-call-process'.
11860
11861 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11862 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11863 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 11864 (tramp-find-inline-compress): Improve traces.
d0853629
MA
11865 (tramp-maybe-send-script): Check for Perl binary.
11866 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11867
38cc0210
DU
118682013-04-22 Daiki Ueno <ueno@gnu.org>
11869
11870 * epg.el (epg-context-pinentry-mode): New function.
11871 (epg-context-set-pinentry-mode): New function.
11872 (epg--start): Pass --pinentry-mode option to gpg command.
11873
cc641ee1
XF
118742013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11875
02d844b5 11876 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 11877 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 11878 `completion-at-point'. (Bug#13774)
5d4e5c31 11879
cc641ee1
XF
11880 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11881 default key binding for `describe-distribution' has been moved to
11882 `C-h C-o'. (Bug#13970)
11883
1b42ee43
GM
118842013-04-21 Glenn Morris <rgm@gnu.org>
11885
11886 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11887 Add doc strings.
11888 (vc-print-log): Clarify interactive prompt.
11889
a6d63d97
GM
118902013-04-20 Glenn Morris <rgm@gnu.org>
11891
11892 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11893 No longer include timestamp etc information.
11894
d7f5c16f
RW
118952013-04-20 Roland Winkler <winkler@gnu.org>
11896
11897 * faces.el (read-face-name): Bug fix, return just one face if arg
11898 multiple is nil. (Bug#14209)
11899
bcd7a0a4
SM
119002013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11901
11902 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11903 (remove-function): Autoload.
11904
11905 * comint.el (comint-redirect-original-filter-function): Remove.
11906 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
11907 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11908 (vc-cvs-annotate-command):
bcd7a0a4
SM
11909 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11910 * progmodes/prolog.el (prolog-consult-compile):
11911 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11912 Use add/remove-function instead.
11913 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11914 (gud-tooltip-process-output, gud-tooltip-tips):
11915 Use add/remove-function instead.
11916 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11917 (scheme-interaction-mode, exit-scheme-interaction-mode):
11918 Use add/remove-function instead.
11919
11920 * vc/vc-dispatcher.el: Use lexical-binding.
11921 (vc--process-sentinel): Rename from vc-process-sentinel.
11922 Change last arg to be the code to run. Don't use vc-previous-sentinel
11923 and vc-sentinel-commands any more.
11924 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11925 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11926
e36b2d20 119272013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 11928
bcd7a0a4 11929 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 11930 Handle function names with a single character. (Bug#14111)
4d3268ba 11931
781b4af6 119322013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
11933
11934 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11935 for subroutines defined in an eval (bug#14182).
11936
7d688336
TV
119372013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11938
11939 * bookmark.el (bookmark-completing-read): Improve handling of empty
11940 string (bug#14176).
11941
31dcede0
SM
119422013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11943
11944 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11945
adc31213
FEG
119462013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11947
11948 New faster Imenu implementation (bug#14058).
11949 * progmodes/python.el:
11950 (python-imenu-prev-index-position):
11951 (python-imenu-format-item-label-function)
11952 (python-imenu-format-parent-item-label-function)
11953 (python-imenu-format-parent-item-jump-label-function):
11954 New vars.
11955 (python-imenu-format-item-label)
11956 (python-imenu-format-parent-item-label)
11957 (python-imenu-format-parent-item-jump-label)
11958 (python-imenu--put-parent, python-imenu--build-tree)
11959 (python-imenu-create-index, python-imenu-create-flat-index)
11960 (python-util-popn): New functions.
11961 (python-mode): Set imenu-create-index-function to
11962 python-imenu-create-index.
11963
cdca8255
SM
119642013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11965
11966 * winner.el (winner-active-region): Use region-active-p, activate-mark
11967 and deactivate-mark (bug#14225).
11968
11969 * simple.el (deactivate-mark): Don't inline it.
11970
beb42340
MA
119712013-04-18 Michael Albinus <michael.albinus@gmx.de>
11972
11973 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11974
fc7f4d7e
TH
119752013-04-18 Tassilo Horn <tsdh@gnu.org>
11976
11977 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11978 file extensions from the archive-mode entry in order to prefer
11979 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11980
29f47822
LL
119812013-04-18 Leo Liu <sdl.web@gmail.com>
11982
11983 * bindings.el (help-event-list): Add ?\?.
11984
d36ed1c8
SM
119852013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11986
11987 * subr.el (with-wrapper-hook): Declare obsolete.
11988 * simple.el (filter-buffer-substring-function): New hook.
11989 (filter-buffer-substring): Use it.
11990 (filter-buffer-substring-functions): Mark obsolete.
11991 * minibuffer.el (completion-in-region-function): New hook.
11992 (completion-in-region): Use it.
11993 (completion-in-region-functions): Mark obsolete.
11994 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11995 * abbrev.el (abbrev-expand-function): New hook.
11996 (expand-abbrev): Use it.
11997 (abbrev-expand-functions): Mark obsolete.
11998 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11999 and :filter-return.
12000
04754d36
FEG
120012013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12002
12003 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12004 and do not care about match data.
12005
dd8791e9
SM
120062013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12007
12008 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12009 completion tables when completing error conditions and
12010 `declare' arguments.
12011 (lisp-complete-symbol, field-complete): Mark as obsolete.
12012 (check-parens): Unmatched parens are user errors.
12013 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12014
ffe54a13
AM
120152013-04-17 Michal Nazarewicz <mina86@mina86.com>
12016
dd8791e9
SM
12017 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12018 command changed buffer (ie. `flyspell-pre-buffer' is not current
12019 buffer), which prevents making decisions based on invalid value of
12020 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12021 cause an error when `flyspell-pre-point' was nil after switching
12022 buffers.
12023 (flyspell-post-command-hook): No longer needs to change buffers when
12024 checking pre-word. While at it remove unnecessary progn.
ffe54a13 12025
ec7e39f2
AM
120262013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12027
12028 * textmodes/ispell.el (ispell-add-per-file-word-list):
12029 Fix `flyspell-correct-word-before-point' error when accepting
12030 words and `coment-padding' is an integer by using
12031 `comment-normalize-vars' (Bug #14214).
12032
083850a6
FEG
120332013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12034
12035 New defun movement commands.
12036 * progmodes/python.el (python-nav--syntactically)
12037 (python-nav--forward-defun, python-nav-backward-defun)
12038 (python-nav-forward-defun): New functions.
12039
619ed6e1
FEG
120402013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12041
12042 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12043 (python-syntax-context): Use named compiler-macro for backwards
12044 compatibility with Emacs 24.x.
12045
7a1beb6c
LL
120462013-04-17 Leo Liu <sdl.web@gmail.com>
12047
12048 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12049 octave-hide-process-buffer.
12050
2d3fa3e5
SM
120512013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12052
12053 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12054 (bug#14216).
12055
7ce5be54
JPG
120562013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12057
12058 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12059 Fix adjustment of offset when receiving incomplete responses from GDB
12060 (bug#14129).
12061
351edece
SM
120622013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12063
12064 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12065 python-mode-abbrev-table.
12066 (python-skeleton-define): Adjust accordingly.
12067 (python-mode-abbrev-table): New table that inherits from it so that
12068 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12069
12070 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12071 (abbrev-symbol): Use it.
12072 (abbrev--before-point): Use it since we already handle inheritance.
12073
613f9481
LL
120742013-04-16 Leo Liu <sdl.web@gmail.com>
12075
12076 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12077 binding to info-lookup-symbol.
12078
51646b62
JB
120792013-04-16 Juanma Barranquero <lekktu@gmail.com>
12080
12081 * minibuffer.el (completion--twq-all):
12082 * term/ns-win.el (ns-initialize-window-system):
12083 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12084
efb3f01d
SM
120852013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12086
36c0a301
SM
12087 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12088 global bindings.
12089
efb3f01d
SM
12090 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12091
fb549d64
DG
120922013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12093
12094 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12095 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12096 to nil.
12097 (ruby-end-of-defun): Remove the unused arg, change the docstring
12098 to reflect that this function is only used as the value of
12099 `end-of-defun-function'.
12100 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12101 to reflect an earlier change that beginning/end-of-defun functions
12102 jump between methods in a class definition, as well as top-level
12103 functions.
12104
21e8fe2f
SM
121052013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12106
12107 * minibuffer.el (minibuffer-complete): Don't just scroll
12108 a *Completions* that's been iconified.
12109 (minibuffer-force-complete): Make sure repetitions do cycle when going
12110 through completion-in-region -> minibuffer-complete.
12111
20e527d0
AM
121122013-04-15 Alan Mackenzie <acm@muc.de>
12113
12114 Correct the placement of c-cpp-delimiters when there're #s not at
12115 col 0.
12116
12117 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12118 place a submatch around the #.
21e8fe2f
SM
12119 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12120 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
12121 on the #, not BOL.
12122
dabefae5
SM
121232013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12124
12125 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12126 (advice--member-p): New arg `name'.
12127 (advice--add-function, advice-member-p): Use it (bug#14202).
12128
85c9ab64
AM
121292013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12130
12131 Reformulate java imenu-generic-expression.
12132 The old expression contained ill formed regexps.
12133
12134 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12135 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12136 (cc-imenu-java-method-arg-regexp): New defconsts.
12137 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 12138 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
12139 handling of spaces in the regexp.
12140
0f821d99
AM
121412013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12142
12143 * textmodes/ispell.el (ispell-command-loop): Remove
12144 flyspell highlight of a word when ispell accepts it (bug #14178).
12145
eb922adf
MA
121462013-04-15 Michael Albinus <michael.albinus@gmx.de>
12147
12148 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12149 uses code from the previous `ange-ftp-run-real-handler'.
12150 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12151 only in case that function exist. This is needed for proper
12152 unloading of Tramp.
12153
4d9a0979
TH
121542013-04-15 Tassilo Horn <tsdh@gnu.org>
12155
12156 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12157
12158 * textmodes/reftex.el (reftex-compile-variables): Use it.
12159
a829b0dc
SM
121602013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12161
91e8293c
SM
12162 * files.el (normal-mode): Only use default major-mode if no other mode
12163 was specified.
12164
830aed4d
SM
12165 * emacs-lisp/trace.el (trace-values): New function.
12166
a829b0dc
SM
12167 * files.el: Allow : in local variables (bug#14089).
12168 (hack-local-variable-regexp): New var.
12169 (hack-local-variables-prop-line, hack-local-variables): Use it.
12170
7ae9f0fb
RW
121712013-04-13 Roland Winkler <winkler@gnu.org>
12172
12173 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12174 data before it gets modified by bibtex-beginning-of-entry.
12175
6646e848
RW
121762013-04-13 Roland Winkler <winkler@gnu.org>
12177
12178 * textmodes/bibtex.el (bibtex-url): Doc fix.
12179
121802013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
12181
12182 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12183 does not visit a BibTeX file, exclude it from the list of buffers
12184 returned by bibtex-initialize.
12185
0aa3616e
SB
121862013-04-13 Stephen Berman <stephen.berman@gmx.net>
12187
12188 * window.el (split-window): Remove interactive form, since as a
12189 command this function is a special case of split-window-below.
12190 Correct doc string.
12191
011cddd6
RW
121922013-04-12 Roland Winkler <winkler@gnu.org>
12193
12194 * faces.el (read-face-name): Do not override value of arg default.
12195 Allow single faces and strings as default values. Remove those
12196 elements from return value that are not faces.
12197 (describe-face): Simplify.
12198 (face-at-point): New optional args thing and multiple so that this
12199 function can provide the same functionality previously provided by
12200 read-face-name.
12201 (make-face-bold, make-face-unbold, make-face-italic)
12202 (make-face-unitalic, make-face-bold-italic, invert-face)
12203 (modify-face, read-face-and-attribute): Use face-at-point.
12204
12205 * cus-edit.el (customize-face, customize-face-other-window)
12206 * cus-theme.el (custom-theme-add-face)
12207 * face-remap.el (buffer-face-set)
12208 * facemenu.el (facemenu-set-face): Use face-at-point.
12209
f24e0036
MA
122102013-04-12 Michael Albinus <michael.albinus@gmx.de>
12211
12212 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12213
da3cda2d
TH
122142013-04-10 Tassilo Horn <tsdh@gnu.org>
12215
12216 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12217 off leading { and trailing } from field values.
12218
15e54145
SM
122192013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12220
78ce603d
SM
12221 * emacs-lisp/timer.el (timer--check): New function.
12222 (timer--time, timer-set-function, timer-event-handler): Use it.
12223 (timer-set-idle-time): Simplify.
12224 (timer--activate): CSE.
12225 (timer-event-handler): Give more info in error message.
12226 (internal-timer-start-idle): New function, moved from C.
12227
15e54145
SM
12228 * mpc.el (mpc-proc): Add `restart' argument.
12229 (mpc-proc-cmd): Use it.
12230 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12231 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12232 less often.
12233
7144c627
MY
122342013-04-10 Masatake YAMATO <yamato@redhat.com>
12235
12236 * progmodes/sh-script.el: Implement `sh-mode' own
12237 `add-log-current-defun-function' (bug#14112).
12238 (sh-current-defun-name): New function.
12239 (sh-mode): Use the function.
12240
b39792eb
BG
122412013-04-09 Bastien Guerry <bzg@gnu.org>
12242
12243 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12244
8acdeb71
SM
122452013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12246
6fcdab68
SM
12247 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12248
8acdeb71
SM
12249 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12250 timer (bug#14156).
12251
e3e7b504
NF
122522013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12253
12254 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12255 declaration.
12256
201bb296
LL
122572013-04-07 Leo Liu <sdl.web@gmail.com>
12258
12259 * pcmpl-x.el: New file.
12260
ebb19708
DA
122612013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12262
12263 Do not set x-display-name until X connection is established.
12264 This is needed to prevent from weird situation described at
12265 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12266 * frame.el (make-frame): Set x-display-name after call to
12267 window system initialization function, not before.
12268 * term/x-win.el (x-initialize-window-system): Add optional
12269 display argument and use it.
12270 * term/w32-win.el (w32-initialize-window-system):
12271 * term/ns-win.el (ns-initialize-window-system):
12272 * term/pc-win.el (msdos-initialize-window-system):
12273 Add compatible optional display argument.
12274
33bb237a
EZ
122752013-04-06 Eli Zaretskii <eliz@gnu.org>
12276
12277 * files.el (normal-backup-enable-predicate): On MS-Windows and
12278 MS-DOS compare truenames of temporary-file-directory and of the
12279 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12280 don't fail comparison by compare-strings. Also, compare file
12281 names case-insensitively on MS-Windows and MS-DOS.
12282
134abf1f
SM
122832013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12284
12285 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12286 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12287
d695cb94
DG
122882013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12289
e3e7b504
NF
12290 * whitespace.el (whitespace-color-on, whitespace-color-off):
12291 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 12292
f4ad7ea1 122932013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
12294
12295 * ispell.el (ispell-set-spellchecker-params):
12296 Really set `ispell-args' for all equivs.
12297
632556e4
SM
122982013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12299
12300 * ido.el (ido-completions): Use extra elements of ido-decorations
12301 (bug#14143).
12302 (ido-decorations): Update docstring.
12303
2a417372
MA
123042013-04-05 Michael Albinus <michael.albinus@gmx.de>
12305
12306 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12307 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12308 nil during initialization, in order not to miss changes since the
12309 file was opened. (Bug#14140)
12310
fc164b0c
LL
123112013-04-05 Leo Liu <sdl.web@gmail.com>
12312
12313 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12314
0ccecc08
JB
123152013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12316
12317 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12318
51af1aa2
GM
123192013-04-04 Glenn Morris <rgm@gnu.org>
12320
12321 * electric.el (electric-pair-inhibit-predicate): Add :version.
12322
b208ebc6
SM
123232013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12324
12325 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12326 when a package is required several times (bug#14082).
12327
f3d3eaf0
RW
123282013-04-04 Roland Winkler <winkler@gnu.org>
12329
12330 * faces.el (read-face-name): Behave as promised by the docstring.
12331 Assume that arg default is a list of faces.
12332 (describe-face): Call read-face-name with list of default faces.
12333
2575da50
TV
123342013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12335
12336 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12337 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12338 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12339 the header.
12340 (bookmark-exit-hook-internal): Save even if list is empty.
12341
397703b4
YH
123422013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12343
12344 * emacs-lisp/package.el (package-pinned-packages): New var.
12345 (package--add-to-archive-contents): Obey it (bug#14118).
12346
691e26ae
AM
123472013-04-03 Alan Mackenzie <acm@muc.de>
12348
8a621d53
JB
12349 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12350 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
12351
12352 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12353 parameter `not-in-delimiter'. Handle being inside comment opener.
12354 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12355 character in case we're typing a '*' after a '/'.
12356 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12357 instead by passing the parameter to c-state-pp-to-literal.
12358
12359 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12360 for elt. 7 of a parse state.
12361
4b725a70
PE
123622013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12363
12364 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12365 * international/latin1-disp.el, international/mule-util.el:
12366 * language/cyril-util.el, language/european.el, language/ind-util.el:
12367 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12368 * language/tibetan.el, language/viet-util.el:
12369 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12370
15c579f0
SM
123712013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12372
12373 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12374 (electric-pair-post-self-insert-function): Use it.
12375 (electric-pair-default-inhibit): New function, extracted from
12376 electric-pair-post-self-insert-function.
12377
a77e2924
RW
123782013-03-31 Roland Winkler <winkler@gnu.org>
12379
12380 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12381
2bd8a4a8
SM
123822013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12383
12384 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12385
8d3655be 123862013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
12387
12388 Un-indent after "pass" and "return" statements (Bug#13888)
12389 * progmodes/python.el (python-indent-block-enders): New var.
12390 (python-indent-calculate-indentation): Use it.
12391
8d3655be 123922013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
12393
12394 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12395 defun. Defining it as defalias could introduce too eager
12396 byte-compiler optimization. (Bug#14030)
12397
8d3655be 123982013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
12399
12400 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12401
0b1619da
LL
124022013-03-30 Leo Liu <sdl.web@gmail.com>
12403
12404 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12405 (kmacro-execute-from-register): Pass the keyboard macro to
12406 kmacro-call-macro or repeating won't work correctly.
12407
0b938190
TZ
124082013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12409
12410 * progmodes/subword.el: Back to using `forward-symbol'.
12411
12412 * subr.el (forward-whitespace, forward-symbol)
12413 (forward-same-syntax): Move from thingatpt.el.
12414
35710234
LL
124152013-03-29 Leo Liu <sdl.web@gmail.com>
12416
12417 * kmacro.el (kmacro-to-register): New command.
12418 (kmacro-execute-from-register): New function.
12419 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12420
efc0bb73
SM
124212013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12422
12423 * mpc.el: Use defvar-local and setq-local.
12424 (mpc--proc-connect): Connection failures are not bugs.
12425 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12426 (mpc-volume-map): Bind to the up-events.
12427
75a2f981
TZ
124282013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12429
12430 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12431 instead of `forward-symbol'.
12432
17c781d1
SM
124332013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12434
12435 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12436 (edebug--recursive-edit): Use it.
12437 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12438 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12439
f67bfbcf
LL
124402013-03-28 Leo Liu <sdl.web@gmail.com>
12441
12442 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12443
b59f639d
EZ
124442013-03-27 Eli Zaretskii <eliz@gnu.org>
12445
12446 * facemenu.el (list-colors-callback): New defvar.
12447 (list-colors-redisplay): New function.
12448 (list-colors-display): Install list-colors-redisplay as the
12449 revert-buffer-function. (Bug#14063)
12450
f557c1b1
SM
124512013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12452
b1da2957
SM
12453 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12454 and suffixes don't overlap (bug#14061).
12455
f557c1b1
SM
12456 * case-table.el: Use lexical-binding.
12457 (case-table-get-table): New function.
12458 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12459
002668e1
TZ
124602013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12461
12462 * progmodes/subword.el: Add `superword-mode' to do word motion
12463 over symbol_words (parallels and leverages `subword-mode' which
12464 does word motion inside MixedCaseWords).
12465
73572c72
AG
124662013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12467
78b8f320 12468 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 12469 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 12470
69b2c07e
SM
124712013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12472
12473 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12474 Change return value to be a sexp. Delay `get-buffer' to after
12475 restoring the desktop (bug#13951).
12476
08bb5ee2
LL
124772013-03-26 Leo Liu <sdl.web@gmail.com>
12478
12479 * register.el: Move semantic tag handling back to
12480 cedet/semantic/senator.el. (Bug#14052)
12481
8d4c974e
SM
124822013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12483
12484 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12485 into the prompt either (bug#13963).
12486
b234d92c
SM
124872013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12488
12489 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12490 part of "(error-foo)".
12491
ddfa3cb4
JL
124922013-03-24 Juri Linkov <juri@jurta.org>
12493
12494 * replace.el (list-matching-lines-prefix-face): New defcustom.
12495 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12496 `occur-engine' if `face-differs-from-default-p' returns t.
12497 (occur-engine): Add `,' inside backquote construct to evaluate
12498 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12499 Pass `prefix-face' to the functions `occur-context-lines' and
12500 `occur-engine-add-prefix'.
12501 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12502 `prefix-face' and propertize the prefix with `prefix-face'.
12503 (Bug#14017)
12504
7b0e2f85
LL
125052013-03-24 Leo Liu <sdl.web@gmail.com>
12506
12507 * nxml/rng-valid.el (rng-validate-while-idle)
12508 (rng-validate-quick-while-idle): Guard against deleted buffer.
12509 (Bug#13999)
12510
12511 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12512 is the last entry in kill-buffer-hook.
12513
12514 * files.el (kill-buffer-hook): Doc fix.
12515
b3082f49
DG
125162013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12517
b234d92c
SM
12518 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12519 Make it safe-local.
bde73d27 12520
b3082f49
DG
12521 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12522
a320a2db
LL
125232013-03-23 Leo Liu <sdl.web@gmail.com>
12524
7e74b0fb
LL
12525 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12526 Remove.
12527
12528 * nxml/rng-valid.el (rng-validate-mode)
12529 (rng-after-change-function, rng-do-some-validation):
12530 * nxml/rng-maint.el (rng-validate-buffer):
12531 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12532 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12533 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12534 (nxml-extend-after-change-region): Use with-silent-modifications.
12535
a320a2db
LL
12536 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12537 timer-idle-list.
12538
12539 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12540 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12541 timer-idle-list. (Bug#13999)
12542
e38e6780
JL
125432013-03-23 Juri Linkov <juri@jurta.org>
12544
12545 * info.el (info-index-match): New face.
12546 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12547 main pattern and add text properties with the new face to matches
12548 in index entries relative to the beginning of the index entry.
12549 (Bug#14015)
12550
e8cc7880
DE
125512013-03-21 Eric Ludlam <zappo@gnu.org>
12552
39c87140 12553 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
12554 Inhibit read only while inserting objects.
12555
9bb0d822
TZ
125562013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12557
12558 * progmodes/cfengine.el: Update docs to mention
12559 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12560 symbol motion. Remove "_" from the word syntax.
12561
aa703640
TZ
125622013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12563
12564 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12565 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12566
afff09d0
JL
125672013-03-20 Juri Linkov <juri@jurta.org>
12568
12569 * info.el (Info-next-reference-or-link)
12570 (Info-prev-reference-or-link): New functions.
12571 (Info-next-reference, Info-prev-reference): Use them.
12572 (Info-try-follow-nearest-node): Handle footnote navigation.
12573 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12574
9a1ff164
SM
125752013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12576
12577 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12578 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12579
2667d15d
PE
125802013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12581
12582 Suppress unnecessary non-ASCII chatter during build process.
12583 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12584 (batch-skkdic-convert): Suppress most of the chatter.
12585 It's not needed so much now that machines are faster,
12586 and its non-ASCII component was confusing; see Dmitry Gutov in
12587 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12588
438b0579
LL
125892013-03-20 Leo Liu <sdl.web@gmail.com>
12590
12591 * ido.el (ido-chop): Fix bug#10994.
12592
c128ab07
DG
125932013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12594
12595 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12596 Remove vars.
9a1ff164
SM
12597 (whitespace-color-on, whitespace-color-off):
12598 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 12599
0e6008c5
SM
126002013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12601
12602 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12603 remapping in mode-line.
12604 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12605
627b52b0
DG
126062013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12607
12608 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12609 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
12610 (whitespace-font-lock-keywords): Change description.
12611 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12612 the constructed keywords instead.
12613 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 12614
50c3a20b
LL
126152013-03-19 Leo Liu <sdl.web@gmail.com>
12616
12617 * progmodes/compile.el (compilation-display-error): New command.
12618 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12619 C-o. (Bug#13992)
12620
2aa2157b
PE
126212013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12622
12623 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12624
e477dbfa
JD
126252013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12626
12627 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12628
64ab82d1
MA
126292013-03-18 Michael Albinus <michael.albinus@gmx.de>
12630
12631 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12632
12633 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12634 * net/tramp-gvfs.el (top):
12635 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12636 (tramp-handle-shell-command): Use it.
12637 (tramp-dissect-file-name): Raise an error when hostname is a
12638 method name, and neither method nor user is specified.
12639
12640 * net/trampver.el: Update release number.
12641
33cef733
LL
126422013-03-18 Leo Liu <sdl.web@gmail.com>
12643
12644 Make sure eldoc can be turned off properly.
12645 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12646 eldoc-mode.
12647 (eldoc-display-message-p): Revert last change.
12648 (eldoc-display-message-no-interference-p)
12649 (eldoc-print-current-symbol-info): Tweak.
12650
2167b7b2
TH
126512013-03-18 Tassilo Horn <tsdh@gnu.org>
12652
12653 * doc-view.el (doc-view-new-window-function): Check the new window
12654 overlay's display property instead the char property of the
12655 buffer's first char. Use `with-selected-window' instead of
12656 `save-window-excursion' with `select-window'.
12657 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 12658 display property instead the char property of the buffer's first char.
2167b7b2 12659
982efbcd
PE
126602013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12661
12662 Automate the build of ja-dic.el (Bug#13984).
12663 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12664 from the input, rather than assume that it's been done for us by the
12665 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12666 the current date into a ja-dic.el comment, as that complicates
12667 regression testing.
12668
2fcc7665
SM
126692013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12670
12671 * whitespace.el: Fix double evaluation.
12672 (whitespace-space, whitespace-hspace, whitespace-tab)
12673 (whitespace-newline, whitespace-trailing, whitespace-line)
12674 (whitespace-space-before-tab, whitespace-indentation)
12675 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12676 obsolete defvars.
12677 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12678 (whitespace-color-on): Use a single font-lock-add-keywords call.
12679 Fix double-evaluation of face variables.
12680
67c0a6e6
MA
126812013-03-17 Michael Albinus <michael.albinus@gmx.de>
12682
2fcc7665
SM
12683 * net/tramp-adb.el (tramp-adb-parse-device-names):
12684 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 12685 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 12686
69489f1d
LL
126872013-03-17 Leo Liu <sdl.web@gmail.com>
12688
12689 Extend eldoc to display info in the mode-line. (Bug#13978)
12690 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12691 (eldoc-mode-line-string): New variable.
12692 (eldoc-minibuffer-message): New function.
12693 (eldoc-message-function): New variable.
12694 (eldoc-message): Use it.
12695 (eldoc-display-message-p)
2fcc7665
SM
12696 (eldoc-display-message-no-interference-p):
12697 Support eldoc-post-insert-mode.
69489f1d
LL
12698
12699 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12700 (eval-expression): Run it.
12701
9c44569e
RW
127022013-03-17 Roland Winkler <winkler@gnu.org>
12703
12704 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12705 strings in the list of return values.
12706
327f1f6f
JB
127072013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12708
12709 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12710 radix before checking for HMS forms.
12711
67ed8fcd
LL
127122013-03-16 Leo Liu <sdl.web@gmail.com>
12713
12714 * progmodes/scheme.el: Add indentation and font-locking for λ.
12715 (Bug#13975)
12716
78be8b64 127172013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
12718
12719 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12720 token before point (bug#13942).
12721
78be8b64 127222013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 12723
95b43468 12724 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 12725
98e775e6
EZ
127262013-03-16 Eli Zaretskii <eliz@gnu.org>
12727
12728 * startup.el (command-line-normalize-file-name): Fix handling of
12729 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12730 <xfq.free@gmail.com> in
12731 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12732
2edd6029
MA
127332013-03-15 Michael Albinus <michael.albinus@gmx.de>
12734
12735 Sync with Tramp 2.2.7.
12736
12737 * net/trampver.el: Update release number.
12738
d35f5864
TH
127392013-03-14 Tassilo Horn <tsdh@gnu.org>
12740
e903c210 12741 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
12742 (doc-view-insert-image): Don't modify overlay associated to
12743 non-live windows, and implement horizontal centering of image in
12744 case it's smaller than the window.
12745 (doc-view-new-window-function): Force redisplay of new windows on
12746 doc-view buffers.
d35f5864 12747
1c4a85ed
KF
127482013-03-13 Karl Fogel <kfogel@red-bean.com>
12749
12750 * saveplace.el (save-place-alist-to-file): Don't sort
12751 `save-place-alist', just pretty-print it (bug#13882).
12752
85b66a21
MA
127532013-03-13 Michael Albinus <michael.albinus@gmx.de>
12754
a020afb9
JB
12755 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12756 Check whether `default-file-name-coding-system' is bound.
12757 It isn't in XEmacs.
85b66a21 12758
175600da
SM
127592013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12760
e7f7cb1a
SM
12761 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12762 backquotes for `obsolete' (bug#13929).
12763
175600da
SM
12764 * international/mule.el (find-auto-coding): Include file name in
12765 obsolescence warning (bug#13922).
12766
ca68a22e
TZ
127672013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12768
12769 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12770 for CFEngine 3-specific indentation.
12771 (cfengine3-indent-line): Use it. Fix up category regex.
12772 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12773
940e5099
SM
127742013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12775
12776 * type-break.el (type-break-file-name):
12777 * textmodes/remember.el (remember-data-file):
12778 * strokes.el (strokes-file):
12779 * shadowfile.el (shadow-initialize):
12780 * saveplace.el (save-place-file):
12781 * ps-bdf.el (bdf-cache-file):
12782 * progmodes/idlwave.el (idlwave-config-directory):
12783 * net/quickurl.el (quickurl-url-file):
12784 * international/kkc.el (kkc-init-file-name):
12785 * ido.el (ido-save-directory-list-file):
12786 * emulation/viper.el (viper-custom-file-name):
12787 * emulation/vip.el (vip-startup-file):
12788 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12789 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12790
cc725808
PE
127912013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12792
12793 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12794 * language/thai-word.el: Switch to UTF-8.
12795
a020afb9 12796See ChangeLog.16 for earlier changes.
e3d51b27
MR
12797
12798;; Local Variables:
12799;; coding: utf-8
e3d51b27
MR
12800;; End:
12801
ba318903 12802 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
12803
12804 This file is part of GNU Emacs.
12805
12806 GNU Emacs is free software: you can redistribute it and/or modify
12807 it under the terms of the GNU General Public License as published by
12808 the Free Software Foundation, either version 3 of the License, or
12809 (at your option) any later version.
12810
12811 GNU Emacs is distributed in the hope that it will be useful,
12812 but WITHOUT ANY WARRANTY; without even the implied warranty of
12813 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12814 GNU General Public License for more details.
12815
12816 You should have received a copy of the GNU General Public License
12817 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.