* doc/misc/efaq-w32.texi (Tramp ssh): Remove deleted tramp methods.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
7c324762
GM
12014-02-02 Glenn Morris <rgm@gnu.org>
2
3 * register.el (register-preview-default): New function,
4 split from register-preview.
5 (register-preview-function): Rename from register-preview-functions,
6 make it not a hook.
7 (register-preview): Use register-preview-function.
8 (register-read-with-preview): Error on non-character event. (Bug#16595)
9
a09beb3d
DG
102014-02-01 Dmitry Gutov <dgutov@yandex.ru>
11
12 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
13 `:' before binary operators (bug#16609). Don't check for `:'
14 before `[' and `(', or their syntax status. A percent literal
15 can't end with either.
68e004e0
DG
16 (ruby-font-lock-keywords): For built-ins that require arguments,
17 check that they're followed by something that looks like argument
18 (bug#16610).
a09beb3d 19
ed4d2875
LI
202014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
21
22 * subr.el (butlast): Document what an omitted N means (bug#13437).
23 (nbutlast): Ditto.
24
dba6e3ec
LI
252014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
26
27 * net/shr.el (shr-generic): Make into a defsubst to make the stack
28 depth shallower (bug#16587).
cc477daa
LI
29 (shr-tag-svg): Respect `shr-inhibit-images'.
30 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 31
e2a67bd0
DG
322014-01-31 Dmitry Gutov <dgutov@yandex.ru>
33
34 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
35 (ruby-smie-grammar): Make "." right-associative. Make its priority
36 lower than the ternary and all binary operators.
37 (ruby-smie-rules): Indent "(" relative to the first non-"."
38 parent, or the first "." parent at indentation. Use
39 `ruby-align-chained-calls' for indentation of "." tokens.
40 (Bug#16593)
41
bd21bf41
JL
422014-01-31 Juri Linkov <juri@jurta.org>
43
44 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
45 from `make-hash-table'.
46
47 * textmodes/ispell.el (ispell-init-process): Change message format
48 to be consistent with other messages.
49
b7e615b9
GM
502014-01-31 Glenn Morris <rgm@gnu.org>
51
a69ecd19
GM
52 * delsel.el (delete-selection-mode): Doc fix.
53
9997d7e3
GM
54 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
55 (trace-function-background): Doc fixes.
56
fbb764b8
GM
57 * ido.el (ido-use-virtual-buffers): Doc fix.
58 Reset :version, since the default value has not changed.
59
da942af1
GM
60 * register.el (register-preview-delay, register-read-with-preview):
61 Doc fixes.
62
b7e615b9
GM
63 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
64 do not mess with mail-buffer position (fixes 2009-11-03 change).
65 * progmodes/cc-mode.el (c-submit-bug-report):
66 Check auto-fill-mode is bound. (Bug#16592)
67
0a25002d
DH
682014-01-31 Darren Hoo <darren.hoo@gmail.com>
69
70 * startup.el (fancy-splash-image-file): New function,
71 split from fancy-splash-head.
72 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
73 so that we are both using the same image. (Bug#16574)
74
ad78f432
GM
752014-01-30 Glenn Morris <rgm@gnu.org>
76
6bbc0c84
GM
77 * simple.el (eval-expression): Doc fix.
78
ad78f432
GM
79 * hexl.el (hexl-mode-hook):
80 * ielm.el (ielm-mode-hook):
81 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
82 (lisp-interaction-mode-hook):
83 * progmodes/cfengine.e (cfengine3-documentation-function):
84 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
85
7b2f049c
SM
862014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
87
88 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
89 is a symbol (bug#16584).
90
0c633f13
GM
912014-01-30 Glenn Morris <rgm@gnu.org>
92
93 * help.el (help-for-help-internal): Add "P" to text.
94
5e61c1ef
GM
952014-01-29 Glenn Morris <rgm@gnu.org>
96
97 * simple.el (just-one-space, cycle-spacing): Doc fixes.
98
1dcb169c
MR
992014-01-28 Martin Rudalics <rudalics@gmx.at>
100
101 * window.el (fit-frame-to-buffer): Fix calculations for margins and
102 height constraints.
103
a9128931
LL
1042014-01-28 Luke Lee <luke.yx.lee@gmail.com>
105
106 * progmodes/hideif.el: Extend to full CPP expression syntax.
107 (hif-token-alist): Add missing tokens.
108 (hif-token-regexp): Add support for float/octal/hex immediates.
109 (hif-string-literal-regexp): New const.
110 (hif-tokenize): Recognize strings and float/octal/hex immediates.
111 (hif-exprlist): New function.
112 (hif-parse-if-exp): Use it.
113 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
114 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
115 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
116 (hif-logxor, hif-comma): New functions.
117
a22359a7
GM
1182014-01-28 Glenn Morris <rgm@gnu.org>
119
793ffe81
GM
120 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
121
e3bd7eed
GM
122 * indent.el (tab-stop-list): Doc fix. Add :version.
123
a22359a7
GM
124 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
125 (cvs-append-to-ignore): Add compatibility alias.
126
52695556 1272014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 128
bac524e0
GM
129 * dired.el (dired-hide-details-mode): Don't autoload it,
130 since it cannot be used outside Dired buffers anyway.
131
52695556 132 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 133
52695556
GM
134 * dired.el (dired-hide-details-hide-symlink-targets)
135 (dired-hide-details-hide-information-lines)
136 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
137
138 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
139 * strokes.el (strokes-file): Doc fix. Bump :version.
140 (strokes-help): Doc fix.
141 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
142 * emulation/viper.el (viper): Doc fix for custom group.
143 (top-level): Remove oh-so-no-longer-relevant text about vip.
144 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
145
146 * ido.el (ido-save-directory-list-file):
147 * saveplace.el (save-place-file):
148 * calendar/timeclock.el (timeclock-file):
149 * net/quickurl.el (quickurl-url-file):
150 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
151 * progmodes/idlwave.el (idlwave-config-directory):
152 * textmodes/remember.el (remember-data-file):
153 Bump :version.
154
169d6004
GM
1552014-01-26 Glenn Morris <rgm@gnu.org>
156
de6a923b
GM
157 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
158 Doc fix. Make obsolete.
159 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
160
169d6004
GM
161 * sort.el (delete-duplicate-lines): Doc fix.
162
ed85dee6
RS
1632014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
164
165 * progmodes/ada-mode.el (ada):
166 * woman.el (woman): Link to info manual and Commentary section.
167
168 * progmodes/flymake.el (flymake):
169 * nxml/nxml-mode.el (nxml):
170 * net/eww.el (eww):
171 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
172 * htmlfontify.el (htmlfontify):
173 * ses.el (ses):
174 * epa.el (epa):
175 * ido.el (ido): Link to info manual.
176
e0c67e1d
LL
1772014-01-25 Leo Liu <sdl.web@gmail.com>
178
179 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
180
35408b1a
AS
1812014-01-25 Adam Sjøgren <asjo@koldfront.dk>
182
183 * net/shr.el (shr-tag-img): Prefer the title over the alt text
184 (bug#16537).
185
76c3fa95
JB
1862014-01-24 Juanma Barranquero <lekktu@gmail.com>
187
f77c7a99
JB
188 * net/eww.el (eww-download-callback):
189 Fix reference to eww-download-directory.
190
76c3fa95
JB
191 * emacs-lisp/bytecomp.el (byte-compile-file):
192 Remove unused local variable `file-name'.
193
1e548e40
GM
1942014-01-24 Glenn Morris <rgm@gnu.org>
195
03f3b318
GM
196 * woman.el (woman-default-faces, woman-monochrome-faces):
197 Fix obsolescence specification.
198
1e548e40
GM
199 * subr.el (with-demoted-errors): Doc fix.
200
d4f0427b
SM
2012014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
202
203 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
204 (cl--macroexp-fboundp): New function.
205 (cl--make-type-test): Use it.
206
1670e27f
GM
2072014-01-23 Glenn Morris <rgm@gnu.org>
208
209 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
210 * simple.el (eval-expression): Doc fixes.
211
80efa207
GM
2122014-01-22 Glenn Morris <rgm@gnu.org>
213
214 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
215
29afcbab
SM
2162014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
217
218 * emacs-lisp/package.el: Write files silently.
219 (package-autoload-ensure-default-file, package--write-file-no-coding)
220 (package-generate-description-file, package--download-one-archive)
221 (package-install-from-archive): Tell `write-region' to stay quiet.
222 (package-menu-mode, package-menu--print-info): Omit the Archive column
223 if there's only one archive.
224 (package-all-keywords, package--has-keyword-p): Remove dead code.
225
2a5bce4f
GM
2262014-01-22 Glenn Morris <rgm@gnu.org>
227
edace89f
GM
228 * version.el (emacs-bzr-version-bzr): Fix typo.
229
2a5bce4f
GM
230 * version.el (emacs-repository-get-version):
231 Check either .bzr or .git, but not both.
232 Make the git case actually use the DIR argument, and return nil
233 rather than the empty string.
983664c0 234 Avoid error if .git exists but the git executable is not found.
2a5bce4f 235
6cb4da45
MR
2362014-01-22 Martin Rudalics <rudalics@gmx.at>
237
238 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
239 * window.el (window-total-size, window-size): New argument ROUND.
240 (window--min-delta-1, window-min-delta, window--max-delta-1):
241 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
242 columns a window can shrink (Bug#16430).
243 (fit-window-to-buffer): Simplify code.
244 * term.el (term-window-width): Call window-body-width again.
245
cc0f2ece
GM
2462014-01-22 Glenn Morris <rgm@gnu.org>
247
7b997b14
GM
248 * image.el (image-format-suffixes): Doc fix.
249
44e76f9d
GM
250 * international/quail.el (quail-define-package): Doc fix.
251
73c1c6d7
GM
252 * emacs-lisp/authors.el (authors-valid-file-names):
253 (authors-renamed-files-alist): Additions.
7bfc1caa 254
85a5f61f
GM
255 * vc/vc-git.el (vc-git-print-log): Remove --follow;
256 reverts 2014-01-09 change. (Bug#16422)
257
cc0f2ece
GM
258 * calc/calc-embed.el (thing-at-point-looking-at):
259 * emacs-lisp/map-ynp.el (x-popup-dialog):
260 * obsolete/lmenu.el (x-popup-dialog):
261 * emacs-lisp/package.el (url-recreate-url):
262 * mail/mailclient.el (clipboard-kill-ring-save):
263 * subr.el (x-popup-dialog): Update declaration.
264 * mail/rmail.el (rmail-mime-message-p):
265 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
266
00d2a6bb
DC
2672014-01-21 Daniel Colascione <dancol@dancol.org>
268
269 * progmodes/sh-script.el (sh--inside-noncommand-expression):
270 Correctly detect when we're inside an arithmetic expansion form
271 containing nested parenthesis.
272 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
273 to detect cases where we shouldn't expand "<<" to a heredoc
274 skeleton.
275
dd9d2e9d
SM
2762014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
277
278 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
279 (eldoc--message-command-p): New function.
280 (eldoc-display-message-p): Use it.
281 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
282 message is not automatically erased for us.
283 (eldoc-print-current-symbol-info): Erase previous message, if any.
284
e7d807ca
TH
2852014-01-21 Tassilo Horn <tsdh@gnu.org>
286
4ff0a0e5
TH
287 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
288 specify it's an interactive function.
289
dd9d2e9d
SM
290 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
291 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
292 citations with optional arguments.
293
87503791
LL
2942014-01-21 Leo Liu <sdl.web@gmail.com>
295
296 * simple.el (read--expression): Don't enable eldoc-mode.
297
6cc750ee
SM
2982014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
299
300 * simple.el (move-beginning-of-line): Make sure we don't move forward
301 (bug#16497).
302
71f16bda
JL
3032014-01-20 Juri Linkov <juri@jurta.org>
304
305 * saveplace.el (toggle-save-place, save-place-to-alist)
306 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
307 'dired-mode) before checking for dired-directory. (Bug#16477)
308
3c5a4839
JL
3092014-01-20 Juri Linkov <juri@jurta.org>
310
311 * indent.el (indent-line-to): Use backward-to-indentation
312 instead of back-to-indentation. (Bug#16461)
313
f952002e
PE
3142014-01-20 Paul Eggert <eggert@cs.ucla.edu>
315
316 Revert some of the CANNOT_DUMP fix (Bug#16494).
317 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
318 but fixing this can wait until after the next release.
319 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
320
93675500
MA
3212014-01-19 Michael Albinus <michael.albinus@gmx.de>
322
323 * eshell/esh-mode.el (eshell-password-prompt-regexp):
324 Use `password-word-equivalents'.
325 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
326 to t. (Bug#5664, Bug#13124)
327
e3af763f
AM
3282014-01-19 Alan Mackenzie <acm@muc.de>
329
330 Bind open-paren-in-column-0-is-defun-start to nil at some entry
331 points.
332 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 333 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
334 * progmodes/cc-mode.el (c-before-change, c-after-change)
335 (c-font-lock-fontify-region): Bind it here.
336
4ff6d92d
MR
3372014-01-19 Martin Rudalics <rudalics@gmx.at>
338
339 * term.el (term-window-width): Call window-text-width instead of
340 window-width (Bug#16470).
341
9a685cf6
PE
3422014-01-18 Paul Eggert <eggert@cs.ucla.edu>
343
344 * simple.el (password-word-equivalents): Remove duplicates.
345 Sort, to make this easier next time.
346 Downcase. Omit ": " after "jelszó".
347
5aa78c2d
JD
3482014-01-18 Jan Djärv <jan.h.d@swipnet.se>
349
350 * term/common-win.el (saved-region-selection): Defvar it.
351 (x-select-text): Set saved-region-selection (Bug#16382).
352
cabb250c
GM
3532014-01-18 Glenn Morris <rgm@gnu.org>
354
355 * emacs-lisp/authors.el (authors-aliases)
356 (authors-renamed-files-alist): Add some entries.
357
a1340440
MA
3582014-01-17 Michael Albinus <michael.albinus@gmx.de>
359
93675500
MA
360 * net/tramp.el (tramp-password-prompt-regexp):
361 Use `password-word-equivalents' if available.
a1340440
MA
362 (tramp-action-password, tramp-process-one-action)
363 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
364
681ce5d2
CY
3652014-01-17 Chong Yidong <cyd@gnu.org>
366
367 * simple.el (password-word-equivalents): New defcustom.
368 * comint.el (comint-password-prompt-regexp): Use it. Bump version
369 to 24.4.
370 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
371 to t. (Bug#13124)
372
fb3d479c
DG
3732014-01-17 Dmitry Gutov <dgutov@yandex.ru>
374
375 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
376 (ruby-align-to-stmt-keywords): Change the default value.
377 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
378 choices.
379 (ruby-smie-rules): Instead of using a hardcoded list of alignable
380 keywords, check against the value of `ruby-alignable-keywords'
381 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
382
0d613483
GM
3832014-01-17 Glenn Morris <rgm@gnu.org>
384
fc23fe2d
GM
385 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
386
0d613483
GM
387 Make M-x authors return zero *Authors Errors* from current logs.
388 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
389 (authors-ignored-files): Add some entries, remove others.
390 (authors-ambiguous-files, authors-valid-file-names):
391 Add some entries.
392 (authors-renamed-files-alist): Add, remove, and adjust entries.
393 (authors-renamed-files-regexps): Add some entries.
394 Remove some very broad ones. Make some entries `lax'.
395 (authors-lax-changelogs): New constant.
396 (authors-disambiguate-file-name): Treat top-level specially.
397 (authors-lax-changelog-p): New function.
398 (authors-canonical-file-name): Check file as written against
399 authors-valid-file-names. Do not special-case etc/.
400 Handle `lax' logs and authors-renamed-files-regexps elements.
401
2dbf4ffd
DG
4022014-01-16 Dmitry Gutov <dgutov@yandex.ru>
403
404 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
405 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
406 callers.
2dbf4ffd 407
87b2a7f2
SM
4082014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
409
410 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
411 Assume we're already in the proper buffer.
412 Inspired by Anders Lindgren <andlind@gmail.com>.
413 (follow-post-command-hook): Call it from the right buffer.
414 (follow-comint-scroll-to-bottom): Adjust call.
415 (follow-all-followers): Use get-buffer-window-list.
416
93acfb0e
DC
4172014-01-15 Daniel Colascione <dancol@dancol.org>
418
419 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
420 `buffer-file-name' in interactive-form so that we don't leave
421 pathless file names in `file-name-history'.
422
ccc6b208
JL
4232014-01-15 Juri Linkov <juri@jurta.org>
424
425 * indent.el (indent-rigidly): Set deactivate-mark to nil
426 in transient indentation mode. (Bug#16438)
427
5c92e00d
DG
4282014-01-15 Dmitry Gutov <dgutov@yandex.ru>
429
430 * emacs-lisp/package.el (package-desc-keywords): New function
431 (Bug#16222).
432 (describe-package-1, package-all-keywords)
433 (package--has-keyword-p): Use it.
434
dac69660
NR
4352014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
436
437 * simple.el (define-alternatives): When creating the
438 COMMAND-alternatives variable, assign COMMAND as its definition
439 name so that `describe-variable' can relocate it.
440
8b63edf8
ML
4412014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
442
443 * font-lock.el (font-lock-keywords): Fix typo in docstring
444 (bug#16307).
445
c6a0b8eb
AM
4462014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
447
448 * ispell.el (ispell-region): Reset `in-comment' for new line
449 instead of wrongly reset `add-coment' (bug#13577).
450
02bf443d
DU
4512014-01-14 Daiki Ueno <ueno@gnu.org>
452
453 * epa-file.el (epa-file-write-region): Encode the region according
454 to `buffer-file-format'. Problem reported at:
455 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
456
fd7fde15
SM
4572014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
458
459 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
460 so it applies in the right buffer (bug#16410).
461
c176054f
DC
4622014-01-13 Daniel Colascione <dancol@dancol.org>
463
464 * textmodes/rst.el (rst-define-key): Provide deprecated
465 keybindings through named functions instead of anonymous ones so
466 that "??" doesn't appear in describe-mode output.
467
e3f33e5d
BG
4682014-01-13 Bastien Guerry <bzg@gnu.org>
469
470 * simple.el (define-alternatives): Call the selected command
471 interactively. When setting `COMMAND--implementation' for the
472 first time, tell the user how to chose another implementation.
473 Enhance the docstring.
474
c055d654
SM
4752014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
476
477 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
478 (log-edit--match-first-line): New function.
479 (log-edit-font-lock-keywords): Use it.
480 (log-edit-mode): Make jit-lock-defer-multiline work.
481
d791cc3b
BG
4822014-01-13 Bastien Guerry <bzg@gnu.org>
483
484 * rect.el (rectangle-mark-mode): When the region is not active,
485 display a message saying that the mark as been set and that
486 rectangle mode is in use.
487 (rectangle--highlight-for-redisplay): Only put an overlay with a
488 visible vertical bar when (display-graphic-p) is non-nil.
489 This partially fixes Bug#16403.
490
3c0c4562
JL
4912014-01-13 Juri Linkov <juri@jurta.org>
492
493 * info.el (Info-find-file): Go to DIR before displaying the error
494 about a nonexistent file if no previous Info file is visited.
495 Use `user-error' instead of `error' for "Info file %s does not exist".
496 (Info-find-node-2): In case of a nonexistent node in unwind forms
497 go to the Top node if there is no previous node to revert to.
498 (Bug#16405)
499
25a700d0
MR
5002014-01-13 Martin Rudalics <rudalics@gmx.at>
501
502 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
503 * window.el (fit-frame-to-buffer): Fix doc-string.
504 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
505 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
506 when avoiding that frame goes partially off-screen.
507 (fit-window-to-buffer): Respect window-min-height/-width
508 (Bug#14096).
509
6ae948d8
SM
5102014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
511
512 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
513 after an empty line.
514
6137cb82
SM
5152014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
516
517 * net/shr.el (shr-render-region): Autoload.
518
e6344e17
XF
5192014-01-12 Xue Fuqiao <xfq.free@gmail.com>
520
521 * net/eww.el (eww-download-directory): Rename from
522 `eww-download-path' (Bug#16419).
523
3b922c70
LL
5242014-01-12 Leo Liu <sdl.web@gmail.com>
525
526 * dired-x.el (dired-mode-map): Fix last change.
527
528 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
529
4fa51741
PE
5302014-01-12 Paul Eggert <eggert@cs.ucla.edu>
531
532 Spelling fixes.
533 * emacs-lisp/generic.el (generic--normalize-comments):
534 Rename from generic--normalise-comments. All uses changed.
535 * play/bubbles.el (bubbles--neighborhood-score):
536 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
537 (bubbles--neighborhood-available)
538 (bubbles--update-neighborhood-score):
539 Rename from names with 'neighbourhood'. All uses changed.
540
9b335362
LL
5412014-01-12 Leo Liu <sdl.web@gmail.com>
542
543 Re-implement the feature of showing eldoc info after editing.
544 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
545 (eldoc-edit-message-commands): New function.
546 (eldoc-print-after-edit): New variable.
547 (eldoc-pre-command-refresh-echo-area): Emit message only by
548 eldoc-message-commands.
549 (eldoc-mode): Restrict eldoc-message-commands to editing commands
550 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 551 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 552 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 553
e2a095b1
GM
5542014-01-11 Dani Moncayo <dmoncayo@gmail.com>
555 Eric S. Raymond <esr@thyrsus.com>
9685190b 556
841a6d0c 557 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 558 function works correctly in either a Bazaar or Git repo.
0abf4134 559
e2a095b1
GM
5602014-01-11 Eric S. Raymond <esr@thyrsus.com>
561
6137cb82
SM
562 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
563 Goes with removal of the joke manpages from /etc.
9685190b 564
3923e7bd
KH
5652014-01-10 K. Handa <handa@gnu.org>
566
6137cb82
SM
567 * mail/rmail.el (rmail-get-coding-system):
568 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 569
d2f16e93
GM
5702014-01-10 Glenn Morris <rgm@gnu.org>
571
572 * emacs-lisp/authors.el (authors-fixed-entries):
573 Update for files that no longer exist.
574
7e03bb32
ER
5752014-01-10 Eric S. Raymond <esr@thyrsus.com>
576
577 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 578 24.3 (Tested).
7e03bb32 579
dd806710
BB
5802014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
581
582 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
583 and Podfile.
584
ed6ec139
EZ
5852014-01-10 Eli Zaretskii <eliz@gnu.org>
586
587 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
588
cc33cac9
CY
5892014-01-10 Chong Yidong <cyd@gnu.org>
590
6137cb82 591 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 592
d9d836b5
AL
5932014-01-10 Anders Lindgren <andlind@gmail.com>
594
595 * follow.el (follow-cache-command-list): Include right-char and
596 left-char.
597
06827ec8
PE
5982014-01-10 Paul Eggert <eggert@cs.ucla.edu>
599
600 Spelling fixes.
601 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
602 * woman.el (woman-mark-horizontal-position):
603 Rename from woman-mark-horizonal-position. Use changed.
604
458dbf5e
GM
6052014-01-10 Glenn Morris <rgm@gnu.org>
606
dad6fae7
GM
607 * info.el (info-initialize): If running uninstalled, ensure our
608 own info files are always found first, even if INFOPATH is set.
609
458dbf5e
GM
610 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
611
05e0afce
DE
6122014-01-09 David Engster <deng@randomsample.de>
613
614 * emacs-lisp/eieio-custom.el:
615 * emacs-lisp/eieio-opt.el: Set generated autoload file to
616 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
617 * emacs-lisp/eieio.el: Regenerate autoloads.
618
f29778b3
ER
6192014-01-09 Eric S. Raymond <esr@thyrsus.com>
620
621 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 622 following renames. (Bug#8756)
f29778b3 623
684d44ef
SM
6242014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
625
626 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
627 (bug#16382).
628 (activate-mark): Add `no-tmm' argument.
629 (set-mark, push-mark-command): Use it instead of running
630 activate-mark-hook by hand.
631
9475054f
ER
6322014-01-08 Eric S. Raymond <esr@thyrsus.com>
633
634 In preparation for the move to git, sanitize out some
635 Bazaar-specific names.
636
38942b9c
GM
637 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
638
9475054f 639 * version.el (emacs-bzr-version): Name changed to
689c9ca5 640 emacs-repository-version. Obsolete-variable alias made.
9475054f 641 * loadup.el: Follow through on this name change.
a12bf61e 642 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
643 assumption about the version control system in use.
644
0f918d96 6452014-01-08 David Engster <deng@randomsample.de>
abb82152 646
684d44ef
SM
647 * help-fns.el (help-fns-describe-function-functions):
648 New variable to call functions for augmenting help buffers.
abb82152
DE
649 (describe-function-1): Remove explicit calls to
650 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
651 `help-fns--obsolete'. Put them in above new variable instead, and
652 call them through `run-hook-with-args'.
653 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
654 `eieio-describe-class'. Not meant for interactive use anymore,
655 but to augment existing help buffers. Remove optional second
684d44ef
SM
656 argument. Create proper button for file location.
657 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
658 possible.
659 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
660 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
661 (describe-method, describe-generic, eieio-describe-method):
662 Remove aliases.
0f918d96
DE
663 (eieio-help-constructor, eieio-help-generic): Rename from
664 `eieio-describe-constructor' and `eieio-describe-generic', resp.
665 Rewrite to use `insert' in the current buffer and use proper help
666 buttons.
667 (eieio-help-find-method-definition)
668 (eieio-help-find-class-definition): Also accept symbols as
669 arguments.
670 (eieio-help-mode-augmentation-maybee): Remove.
671 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
672 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
673 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 674
136b74c5
PE
6752014-01-08 Paul Eggert <eggert@cs.ucla.edu>
676
677 Spelling fixes.
678 * language/china-util.el (hz-ascii-designation):
679 Rename from hz-ascii-designnation.
680 (hz-ascii-designation): Rename from hz-ascii-designnation.
681 All uses changed.
682
ec6c7de2
SM
6832014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
684
685 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
686 package-alist.
687
d6262c7c
BG
6882014-01-08 Bastien Guerry <bzg@gnu.org>
689
4b9e6087
GM
690 * emacs-lisp/package.el (package-delete):
691 Correctly delete the package from package-alist.
d6262c7c 692
0a3eec32
DU
6932014-01-08 Daiki Ueno <ueno@gnu.org>
694
695 * emacs-lisp/package.el (url-recreate-url): Declare.
696 (url-http-target-url): Declare.
4b9e6087 697 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
698 (package--check-signature): Don't re-signal errors from
699 package--with-work-buffer. Suggested by Stefan Monnier.
700
68f0bb97
BG
7012014-01-07 Bastien Guerry <bzg@gnu.org>
702
703 * minibuffer.el (completion--try-word-completion): When both a
704 hyphen and a space are possible candidates for the character
705 following a word, display both candidates. (Bug#15980)
706
7e1899d7
MR
7072014-01-07 Martin Rudalics <rudalics@gmx.at>
708
709 * window.el (balance-windows-2): While rounding don't give a
710 window more than the remainder. Bug#16351, Bug#16383.
711
0030ec15
GM
7122014-01-07 Glenn Morris <rgm@gnu.org>
713
714 * menu-bar.el (menu-bar-help-extra-packages): Remove.
715 (menu-bar-help-menu): Use view-external-packages instead.
716
2b6b4f20
BG
7172014-01-07 Bastien Guerry <bzg@gnu.org>
718
719 * emacs-lisp/package.el (package-delete): Also delete the package
720 name from `package-alist', not its description only.
721
e9be0a13
GM
7222014-01-07 Glenn Morris <rgm@gnu.org>
723
724 * help.el (view-external-packages):
725 * menu-bar.el (menu-bar-help-extra-packages):
726 Visit efaq.info rather than etc/MORE.STUFF.
727
e4f74da9
JL
7282014-01-07 Juri Linkov <juri@jurta.org>
729
730 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
731 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
732
733 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
734 that shadows RET. (Bug#16342)
735
de7ce2d1
CY
7362014-01-07 Chong Yidong <cyd@gnu.org>
737
738 * isearch.el (isearch-yank-char, isearch-yank-word)
739 (isearch-yank-line): Doc fix.
740
6bdd9204
SM
7412014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
742
743 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
744 * emacs-lisp/elint.el (elint-find-builtins):
745 * emacs-lisp/eldoc.el (eldoc-symbol-function):
746 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
747 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
748 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
749 * apropos.el (apropos-safe-documentation):
750 * subr.el (symbol-file): Remove redundant fboundp.
751 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
752
daccca97
BG
7532014-01-06 Bastien Guerry <bzg@gnu.org>
754
755 * hl-line.el (global-hl-line-overlay): Make a local variable.
756 (global-hl-line-overlays): New variable to store all overlays.
757 (global-hl-line-mode): Don't delete overlays from the current
758 buffer when `global-hl-line-sticky-flag' is non-nil.
759 (global-hl-line-highlight): Add new overlays to
760 `global-hl-line-overlays'.
761 (global-hl-line-unhighlight-all): New function to delete all
762 overlays when turning off `global-hl-line-mode'.
763 This fixes Bug#16183.
764
ec00f20f
SM
7652014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
766
767 * subr.el (set-transient-map): Fix nested case and docstring.
768
a0031f97
TH
7692014-01-06 Tassilo Horn <tsdh@gnu.org>
770
771 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
772 `Texinfo' entry.
773
bf6a77f3
DC
7742014-01-06 Daniel Colascione <dancol@dancol.org>
775
776 Fix defun navigation in vc log view.
777
778 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
779 like `beginning-of-defun'.
780 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
ec00f20f
SM
781 log-view-end-of-defun to log-view-end-of-defun-1. Replace
782 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 783 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 784 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 785
d5081c1e
PE
7862014-01-06 Paul Eggert <eggert@cs.ucla.edu>
787
788 Spelling fixes.
789 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
790 * emacs-lisp/debug.el (cancel-debug-on-entry):
791 * epg.el (epg-error-to-string):
792 * files.el (recover-file):
793 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
794 * mail/emacsbug.el (report-emacs-bug-hook):
795 * mail/sendmail.el (mail-recover):
796 * ses.el (ses-yank-resize):
797 * term/ns-win.el (ns-print-buffer):
798 Spelling fixes in diagnostics, mostly for "canceled" with one L.
799 * epg.el (epg-key-capability-alist): Rename from misspelled version.
800 All uses changed.
801 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
802
53f6b148
LL
8032014-01-06 Leo Liu <sdl.web@gmail.com>
804
805 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 806 to avoid shadowing global key. (Bug#16354)
53f6b148 807
b82ace2f
DC
8082014-01-06 Daniel Colascione <dancol@dancol.org>
809
810 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
811 rst-mode.
812
3669b636
MR
8132014-01-05 Martin Rudalics <rudalics@gmx.at>
814
815 * window.el (balance-windows): Add mising t to fix Bug#16351.
816
1a29adc2
LMI
8172014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
818
819 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
820 (bug#16285).
3d95a0f4
LMI
821 (shr-insert): If we have a word that's longer than `shr-width',
822 break after it anyway. Otherwise we'll do no breaking once we get
823 such a long word.
1a29adc2 824
f4018140
KN
8252014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
826
3fcfc4ee 827 * net/eww.el (eww): Support single/double quote for search.
189340f5
KN
828 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
829 (eww-history-quit): Delete and use quit-window.
830 (eww-history-kill): Delete, because it doesn't work well and
831 not necessary.
832 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 833
4e619754
PE
8342014-01-05 Paul Eggert <eggert@cs.ucla.edu>
835
73dbf960
PE
836 Fix misspelling of 'chinese' in rx (Bug#16237).
837 * emacs-lisp/rx.el (rx-categories): Correct spelling of
838 chinese-two-byte.
839
4e619754
PE
840 Change subword regexps back to vars (Bug#16296).
841 * progmodes/subword.el (subword-forward-regexp)
842 (subword-backward-regexp): Change these back to variables.
843
e18b70fc
SM
8442014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
845
846 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
847 syntax-begin-function (bug#16247).
848
0d53f628
CY
8492014-01-03 Chong Yidong <cyd@gnu.org>
850
851 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
852 (advice--docstring): Delete variable.
853 (advice--make-1): Leave the docstring empty.
854 (advice-add): Use function-documentation for advised docstring.
855
856 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
857 Ignore function-documentation property when getting documentation.
858 (ad-activate-advised-definition): Use function-documentation
859 generate the docstring.
860 (ad-make-advised-definition): Don't call
861 ad-make-advised-definition-docstring.
862 (ad-make-advised-definition-docstring, ad-advised-definition-p):
863 Delete functions.
864
865 * progmodes/sql.el (sql-help): Use function-documentation instead
866 of dynamic-docstring-function property. No need to autoload now.
867 (sql--help-docstring): New variable.
868 (sql--make-help-docstring): Use it.
869
6f547583
SM
8702014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
871
6ef9aed8
SM
872 * ielm.el (ielm-tab): Retarget.
873 (ielm-map): Use ielm-tab for tab.
874 (ielm-complete-filename): Use comint-filename-completion.
875 (ielm-complete-symbol): Remove.
876 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
877 remove ielm-tab from completion-at-point-functions (bug#16224).
878
6f547583
SM
879 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
880 Beware signals raised by predicates (bug#16201).
881
a574edbe
RS
8822014-01-02 Richard Stallman <rms@gnu.org>
883
e831604d
RS
884 * dired-aux.el (dired-do-print): Handle printer-name.
885
6f547583
SM
886 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
887 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
888 (rmail-epa-decrypt): Turn off mime processing.
889
3fcfc4ee 890 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
891 Add parens in message-id.
892
893 * mail/rmail.el (rmail-get-coding-function): Variable.
894 (rmail-get-coding-system): Use it.
895
04311a16
KH
8962013-12-31 Eli Zaretskii <eliz@gnu.org>
897
898 * international/mule-conf.el: Unify the charset indian-is13194.
899 (indian-is13194): Specify unify-map.
900
c8d89778
LL
9012013-12-31 Leo Liu <sdl.web@gmail.com>
902
903 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
904
e63ace37
DC
9052013-12-30 Daniel Colascione <dancol@dancol.org>
906
9e0bf19a
DC
907 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
908 of printing a useless when we resume from sleep.
909
e63ace37
DC
910 * progmodes/sh-script.el
911 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
912 in indentation code. (Bug#16233)
913
e9d6c46a
JT
9142013-12-28 João Távora <joaotavora@gmail.com>
915
6f547583
SM
916 * elec-pair.el (electric-pair-post-self-insert-function):
917 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 918
bf7bea5d
EZ
9192013-12-28 Eli Zaretskii <eliz@gnu.org>
920
921 * frame.el (window-system-for-display): Don't allow to create a
922 GUI frame from a -nw session on MS-Windows. (Bug#14739)
923
8449dd1f
GM
9242013-12-28 Glenn Morris <rgm@gnu.org>
925
9c5a5c77
GM
926 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
927 Update callers.
928
929 * apropos.el (apropos-match-face):
930 * calculator.el (calculator-displayer):
931 * dabbrev.el (dabbrev-search-these-buffers-only):
932 * face-remap.el (buffer-face-mode-face):
933 * simple.el (yank-handled-properties):
934 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
935 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
936 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
937 (hashcash-double-spend-database):
938 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
939 (ruby-deep-indent-paren-style):
940 * textmodes/flyspell.el (flyspell-auto-correct-binding):
941 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
942 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
943 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
944 Specify custom types.
945
bb098075
GM
946 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
947 * bookmark.el (bookmark-bmenu-use-header-line):
948 * doc-view.el (doc-view-scale-internally):
949 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
950 * register.el (register-preview-delay):
951 * net/shr.el (shr-bullet):
952 * progmodes/cfengine.el (cfengine-cf-promises)
953 (cfengine-parameters-indent):
954 * progmodes/octave.el (inferior-octave-error-regexp-alist):
955 * textmodes/reftex-vars.el (reftex-label-regexps):
956 * vc/log-edit.el (log-edit-setup-add-author): Add version.
957
9c61f806
GM
958 * net/tls.el (tls-certtool-program): Fix default value.
959
960 * desktop.el (desktop-restore-in-current-display):
961 * newcomment.el (comment-empty-lines):
962 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
963 (idlwave-pad-keyword):
964 * progmodes/tcl.el (tcl-tab-always-indent):
965 * textmodes/reftex-vars.el (reftex-index-default-tag):
966 * elec-pair.el (electric-pair-skip-whitespace):
967 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
968
8449dd1f
GM
969 * emacs-lisp/authors.el (authors-ignored-files)
970 (authors-valid-file-names, authors-renamed-files-alist): Additions.
971
fdadeb49
JC
9722013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
973
72140a0f
GM
974 * shell.el (shell-dynamic-complete-command): Doc fix.
975 (shell--command-completion-data): Shell completion now matches
976 executable filenames from the current buffer's directory, on
da5ecfa9 977 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 978
e572a7d8
LI
9792013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
980
981 * net/shr.el (shr-insert): Don't infloop if the width is zero.
982
7514d3f8
SM
9832013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
984
a4151f3b
SM
985 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
986 (bug#16251).
987
7514d3f8
SM
988 * electric.el: Move all electric-pair-* to elec-pair.el.
989 * elec-pair.el: New file, split from electric.el.
990
ac5758d1
LI
9912013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
992
993 * net/shr.el (shr-find-fill-point): Don't try to fill if the
994 indentation level is larger than the width, because that will
995 infloop.
996 (shr-insert): Fill repeatedly long texts, so that Japanese is
997 formatted correctly (bug#16263).
24a6b65e
LI
998 (shr-find-fill-point): Off by one error in comparison with the
999 indentation.
ac5758d1 1000
7514d3f8 10012013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
1002
1003 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 1004 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
1005 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1006 if that keeps or improves their balance in buffers.
1007 (electric-pair-delete-adjacent-pairs): Delete the pair when
1008 backspacing over adjacent matched delimiters.
1009 (electric-pair-open-extra-newline): Open extra newline when
1010 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
1011 (electric--sort-post-self-insertion-hook):
1012 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
1013 minor-modes are activated.
1014 * simple.el (newline-and-indent): Call newline with interactive
1015 set to t.
1016 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
1017 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1018 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1019 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
1020 electric-pair-open-newline-between-pairs to nil.
1021
fbcc63a3
FEG
10222013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1023
1024 * progmodes/python.el: Use lexical-binding.
1025 (python-nav-beginning-of-defun): Stop searching ASAP.
1026
ed78d16c
XF
10272013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1028
1029 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1030 Fix interactive spec. Doc fix. (Bug#15754)
1031
38b2c142
KY
10322013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1033
1034 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 1035 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
1036 Fix edebug spec (bug#16184).
1037
3c856c14
LI
10382013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1039
83fa295c 1040 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
1041 (shr-insert): Don't infloop if we can't find a good place to break
1042 the line (bug#16256).
3c856c14 1043
01379221
FEG
10442013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1045
1046 * progmodes/python.el:
1047 (python-nav--lisp-forward-sexp): New function.
1048 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1049 python-nav-lisp-forward-sexp-safe.
1050 (python-nav--forward-sexp): New argument SAFE allows switching
1051 forward sexp movement behavior for parens.
1052 (python-nav-forward-sexp): Throw errors on unterminated parens
1053 (Bug#16191).
1054 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1055 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
1056 (python-shell-buffer-substring):
1057 Use `python-nav-forward-sexp-safe'.
01379221 1058
99e4926f
LI
10592013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1060
1061 * net/shr.el (shr-find-fill-point): Don't break lines before a
1062 quotation mark.
c6c20584
LI
1063 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1064 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 1065 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 1066
fec0e828
KN
10672013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1068
1069 * net/eww.el (eww-form-textarea): Use a different face for
1070 textareas than text input since they have different keymaps
1071 (bug#16142).
1072
89c868ad
FEG
10732013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1074
7514d3f8
SM
1075 * progmodes/python.el (python-nav-beginning-of-statement):
1076 Speed up (Bug#15295).
89c868ad 1077
eeef121a
LI
10782013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1079
1080 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1081 the window configuration.
1082
121ea65f
EZ
10832013-12-24 Eli Zaretskii <eliz@gnu.org>
1084
1085 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1086 we run on MS-Windows or MS-DOS.
1087
18cee9ec
MR
10882013-12-24 Martin Rudalics <rudalics@gmx.at>
1089
1090 * window.el (balance-windows-area): Call window-size instead of
1091 window-height and window-width. Bug#16241.
1092
58f2b9a5
LI
10932013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1094
1095 * net/eww.el (eww-bookmark-quit): Remove.
1096 (eww-bookmark-browse): Restore the window configuration when you
1097 choose a bookmark (bug#16144).
1098
d64b6308
DC
10992013-12-24 Daniel Colascione <dancol@dancol.org>
1100
1101 * icomplete.el: Remove redundant :group arguments to `defcustom'
1102 throughout.
1103 (icomplete-show-matches-on-no-input): New customizable variable.
1104 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1105 we have something to show.
7514d3f8 1106 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 1107
0da54898
DC
11082013-12-23 Daniel Colascione <dancol@dancol.org>
1109
1110 * icomplete.el: Move `provide' to end of file.
1111
b90aa4f4
TZ
11122013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1113
1114 * net/gnutls.el (gnutls-verify-error): Add version tag.
1115
8cd22a08
CY
11162013-12-23 Chong Yidong <cyd@gnu.org>
1117
1118 * subr.el (set-transient-map): Rename from
1119 set-temporary-overlay-map. Doc fix.
1120
1121 * face-remap.el (text-scale-adjust):
1122 * indent.el (indent-rigidly):
1123 * kmacro.el (kmacro-call-macro):
1124 * minibuffer.el (minibuffer-force-complete):
1125 * repeat.el (repeat):
1126 * simple.el (universal-argument--mode):
1127 * calendar/todo-mode.el (todo-insert-item--next-param):
1128 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1129
7510b021
CY
1130 * indent.el (indent-rigidly): Use substitute-command-keys.
1131
72140a0f 11322013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
1133
1134 * net/eww.el (eww-tag-select): Add text-property to jump to next
1135 select field.
e9dc713d 1136 (eww): Add non-supported ftp error.
56890ecd 1137
1f87a56c
DG
11382013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1139
1140 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1141 comments. Handle electric indent after typing `?' and `!'.
1142
dca38cf9
CY
11432013-12-22 Chong Yidong <cyd@gnu.org>
1144
1145 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
1146 applicable to a frame, fall back on the defface spec.
1147 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 1148
f2351498
DG
11492013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1150
1151 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1152 after `{'. We need it after block openers, and it doesn't seem
1153 to hurt after hash openers.
1154
6cddebc1
DG
11552013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1156
1157 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1158 extracted from `ruby-smie-rules'.
1159 (ruby--electric-indent-chars): New variable.
1160 (ruby--electric-indent-p): New function.
1161 (ruby-mode): Use `electric-indent-functions' instead of
1162 `electric-indent-chars'.
1163
65a1da00
DG
11642013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1165
1166 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1167 docstring.
1168 (ruby-smie-rules): Indent plus one level after `=>'.
1169
b51ad4cf
RS
11702013-12-21 Richard Stallman <rms@gnu.org>
1171
1172 * simple.el (newline): Doc fix.
1173
72140a0f 11742013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 1175
e9dc713d 1176 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
1177 (eww-history-browse, eww-history-quit, eww-history-kill)
1178 (eww-history-mode-map, eww-history-mode): New command and
1179 functions to list browser histories.
e9dc713d
JB
1180 (eww-form-text): Support text form with disabled
1181 and readonly attributes.
1182 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 1183
5e1901c1
RS
11842013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1185
1186 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1187 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1188 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1189 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1190 Use `user-error'.
1191 (eww-bookmark-mode-map): Add menu.
1192 (eww-render, eww-mode): Use `setq-local'.
1193 (eww-tool-bar-map): New variable.
1194 (eww-mode): Set `tool-bar-map'.
1195 (eww-view-source): Check for `html-mode' with `fboundp'.
1196
073d5cfd
LMI
11972013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1198
1199 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1200 elements with text inside. Also remove debugging.
1201
41cf3d11
JD
12022013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1203
1204 * cus-start.el (all): Add ns-use-srgb-colorspace.
1205
aac2b673
CY
12062013-12-21 Chong Yidong <cyd@gnu.org>
1207
1208 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1209 undefined. Thus, theme settings for undefined faces do not take
1210 effect until the faces are defined with defface, the same as with
1211 theme variables.
1212
1213 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1214 (face-spec-reset-face): Don't assign extra properties in temacs.
1215 (face-spec-recalc): Apply X resources too.
1216
bacb0e77
CY
12172013-12-21 Chong Yidong <cyd@gnu.org>
1218
1219 * faces.el (face-spec-set):
1220 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1221 * custom.el (defface): Doc fixes (Bug#16203).
1222
77221051
CY
1223 * indent.el (indent-rigidly-map): Add docstring, and move commands
1224 into named functions.
1225 (indent-rigidly-left, indent-rigidly-right)
1226 (indent-rigidly-left-to-tab-stop)
1227 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1228 indentation direction based on bidi direction, and accumulate
1229 sequential commands in a single undo boundary.
1230 (indent-rigidly--pop-undo): New utility function.
1231
e0eb0550
JB
12322013-12-20 Juanma Barranquero <lekktu@gmail.com>
1233
1234 * faces.el (read-face-name): Require crm.el when using crm-separator.
1235
3282bd2e
DC
12362013-12-20 Daniel Colascione <dancol@dancol.org>
1237
1238 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1239 so that we don't reflow comments into the shebang line.
1240
1d42e5b6
JL
12412013-12-20 Juri Linkov <juri@jurta.org>
1242
1243 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1244 a position when `dired-directory' is non-nil. Check integer
1245 positions with `integerp'.
1246 (toggle-save-place, save-places-to-alist): Add check for
1247 `dired-directory'.
1248 (save-place-find-file-hook): Check integer positions with
1249 `integerp'.
1250 (save-place-dired-hook): Use `dired-goto-file' when
1251 `dired-filename' is found in the assoc list. Check integer
1252 positions with `integerp'.
1253 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1254
1255 * dired.el (dired-initial-position-hook): Rename back from
1256 `dired-initial-point-hook'.
1257 (dired-initial-position): Rename `dired-initial-point-hook' to
1258 `dired-initial-position-hook'.
1259 (dired-file-name-at-point): Doc fix. (Bug#15329)
1260
24da7273
JL
12612013-12-20 Juri Linkov <juri@jurta.org>
1262
1263 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1264 (read-regexp-suggestions): New function.
1265 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1266 Use `read-regexp-suggestions'. Add non-empty default to history
1267 for empty input.
1268 (occur-read-regexp-defaults-function): Remove function.
1269 (occur-read-primary-args): Use `regexp-history-last' instead of
1270 `occur-read-regexp-defaults-function'.
1271
1272 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1273 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1274 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1275 `hi-lock-read-regexp-defaults-function'. Doc fix.
1276 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1277 with `find-tag-default-as-symbol-regexp'. Doc fix.
1278 (hi-lock-read-regexp-defaults): Remove function.
1279 (hi-lock-regexp-okay): Add check for null.
1280
1281 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1282 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1283
1284 * subr.el (find-tag-default-as-symbol-regexp): New function.
1285 (find-tag-default-as-regexp): Move symbol regexp formatting to
1286 `find-tag-default-as-symbol-regexp'.
1287
137f57c8
S
12882013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1289
1290 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1291 (Bug#14179)
1292
f3a66082
SB
12932013-12-20 Stephen Berman <stephen.berman@gmx.net>
1294
1295 * calendar/todo-mode.el: New implementation of item insertion
1296 commands and key bindings.
1297 (todo-key-prompt): New face.
1298 (todo-insert-item): New command.
1299 (todo-insert-item--parameters): New defconst, replacing defvar
1300 todo-insertion-commands-args-genlist.
1301 (todo-insert-item--param-key-alist): New defconst, replacing
1302 defvar todo-insertion-commands-arg-key-list.
1303 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1304 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1305 (todo-insert-item--next-param): New functions.
1306 (todo-insert-item--args, todo-insert-item--argleft)
1307 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1308 New variables.
1309 (todo-key-bindings-t): Change binding of "i" from
1310 todo-insertion-map to todo-insert-item.
1311 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1312 (todo-insertion-command-name, todo-insertion-commands-names)
1313 (todo-define-insertion-command, todo-insertion-commands)
1314 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1315
2f99433b
SB
13162013-12-20 Stephen Berman <stephen.berman@gmx.net>
1317
1318 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1319 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1320 eval-when-compile.
1321 (todo-move-category): Allow choosing a non-existing todo file to
1322 move the category to, and create that file.
1323 (todo-default-priority): New user option.
1324 (todo-set-item-priority): Use it.
1325 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1326 (desktop-restore-file-buffer): Declare.
1327 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1328 (todo-modes-set-2): Locally set desktop-save-buffer to
1329 todo-desktop-save-buffer.
1330 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1331 (auto-mode-alist): Add autoload cookie.
1332
131e4695
BB
13332013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1334
1335 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1336 helpers.el was a poor choice of name.
3cbfb935
BB
1337 (string-remove-prefix): New function.
1338 (string-remove-suffix): New function.
131e4695 1339
c44de18d
MR
13402013-12-20 Martin Rudalics <rudalics@gmx.at>
1341
1342 Fix assignment for new window total sizes.
1343 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
1344 (window--pixel-to-total-1, window--pixel-to-total):
1345 Fix calculation of new total sizes.
c44de18d 1346
ca65efcc
VS
13472013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1348
1349 * comint.el (comint-output-filter): Fix rear-nonsticky property
1350 placement (Bug#16010).
1351
a9574eb7
CY
13522013-12-20 Chong Yidong <cyd@gnu.org>
1353
1354 * faces.el (read-color): Minor fix for completion function.
1355
b520f210
DG
13562013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1357
e0eb0550
JB
1358 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1359 New option. (Bug#16182)
b520f210
DG
1360 (ruby-smie--indent-to-stmt-p): Use it.
1361 (ruby-smie-rules): Revert the logic in the handling of `when'.
1362 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1363 (ruby-deep-arglist, ruby-deep-indent-paren)
1364 (ruby-deep-indent-paren-style): Update docstrings to note that the
1365 vars don't have any effect with SMIE.
1366
26b75b45
JB
13672013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1368
1369 * calc/calc.el (calc-enter, calc-pop): Use the variable
1370 `calc-context-sensitive-enter'.
1371
cf91cee7
LMI
13722013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1373
1374 * net/shr.el (shr-insert): Protect against infloops in degenerate
1375 tables.
1376
51d971b4
RS
13772013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1378
1379 * progmodes/octave.el (octave): Add link to manual and octave
1380 homepage.
1381 (octave-mode-menu): Link to octave-mode manual.
1382
8c2e462a
LL
13832013-12-20 Leo Liu <sdl.web@gmail.com>
1384
1385 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1386 insertion using skeleton-end-newline. (Bug#16138)
1387
501158bc
JL
13882013-12-20 Juri Linkov <juri@jurta.org>
1389
1390 * replace.el (occur-engine): Use `add-face-text-property'
1391 to add the face property to matches and titles. (Bug#14645)
1392
1393 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1394 the palette of other hi-lock colors.
1395 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1396
50ab1da6
JL
13972013-12-19 Juri Linkov <juri@jurta.org>
1398
1399 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1400 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1401 (minibuffer-history-symbol): Move variable declaration closer to
1402 its usage.
1403
1404 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1405 (Bug#14785)
1406
3d6e95e7
JL
14072013-12-19 Juri Linkov <juri@jurta.org>
1408
1409 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1410 New function.
1411 (log-edit-hook): Add it to :options. (Bug#16170)
1412
b41594fd
JL
14132013-12-19 Juri Linkov <juri@jurta.org>
1414
1415 * simple.el (eval-expression-print-format): Don't check for
1416 command names and the last command. Always display additional
1417 formats of the integer result in the echo area, and insert them
1418 to the current buffer only with a zero prefix arg.
1419 Display character when char-displayable-p is non-nil.
1420 (eval-expression): With a zero prefix arg, set `print-length' and
1421 `print-level' to nil, and insert the integer values from
1422 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1423
1424 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1425 `eval-last-sexp-arg-internal'. Doc fix.
1426 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1427 `eval-last-sexp-print-value'. Doc fix.
1428 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1429 Set `print-length' and `print-level' to nil when arg is zero.
1430 (eval-last-sexp): Doc fix.
1431 (eval-defun-2): Print the integer values from
1432 `eval-expression-print-format' at the end.
1433
1434 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1435 values from `eval-expression-print-format' at the end.
1436
1437 * ielm.el (ielm-eval-input): Print the integer
1438 values from `eval-expression-print-format' at the end.
1439
8f2be364
TZ
14402013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1441
1442 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1443 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1444
2230a6e3
SM
14452013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1446
1447 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1448 (hl-line-highlight, global-hl-line-highlight): Use it.
1449 (hl-line-overlay): Use defvar-local.
1450
1269a680
JD
14512013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1452
1453 * term/ns-win.el: Require dnd.
1454 (global-map): Remove drag items.
1455 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
1456 (ns-set-background-at-mouse):
1457 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1458 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1459 New functions.
1269a680 1460
049638ad
GM
14612013-12-19 Glenn Morris <rgm@gnu.org>
1462
1463 * emacs-lisp/ert.el (ert-select-tests):
1464 Fix string/symbol mixup. (Bug#16121)
1465
ce41edb4
DG
14662013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1467
1468 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1469 keywords to their parent.
1470
7e1549c9
DG
14712013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1472
1473 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1474 first arg to be a string (fixed dead code), or an operator symbol.
1475 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1476 operator symbols.
1477 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1478 did nothing. Don't respond to `(:after ".")', it will be called
1479 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1480 change anything. Only return indentation for binary operators
1481 when they are hanging. De-dent opening paren when its parent is
1482 `.', otherwise it looks bad when the dot is not at bol or eol
1483 (bug#16182).
1484
3ee4cd64
JL
14852013-12-19 Juri Linkov <juri@jurta.org>
1486
1487 * replace.el (query-replace-read-args): Split a non-negative arg
1488 and a negative arg into separate elements.
1489 (query-replace, query-replace-regexp, replace-string)
1490 (replace-regexp): Add arg `backward'. Doc fix.
1491 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1492 move point to the beginning of the match.
1493 (replace-search, replace-highlight): Use new arg `backward'
1494 to set the value of `isearch-forward'.
1495 (perform-replace): Add arg `backward' and use it to perform
1496 replacement backward. (Bug#14979)
1497
1498 * isearch.el (isearch-query-replace): Use a negative prefix arg
1499 to call `perform-replace' with a non-nil arg `backward'.
1500
0cda6b7b
JL
15012013-12-18 Juri Linkov <juri@jurta.org>
1502
1503 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1504 to the default list. Move `log-edit-show-files' to the end.
1505 Add more available functions to options.
1506 (log-edit): Move default specific settings to
1507 `log-edit-insert-message-template'. Don't move point.
1508 (log-edit-insert-message-template): New function.
1509 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1510 (Bug#16170)
1511
b216f0a6
JL
15122013-12-18 Juri Linkov <juri@jurta.org>
1513
1514 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1515 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1516
1d1c55dc
LL
15172013-12-18 Leo Liu <sdl.web@gmail.com>
1518
e9dc713d
JB
1519 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1520 (Bug#16186)
1d1c55dc 1521
64e4c76e
EZ
15222013-12-18 Eli Zaretskii <eliz@gnu.org>
1523
1524 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1525 formats for displaying file sizes when the -s switch is given.
1526 Instead, compute a separate format for displaying the size in
1527 blocks, which is displayed in addition to the "regular" size.
1528 When -h is given in addition to -s, produce size in blocks in
1529 human-readable form as well. (Bug#16179)
1530
b2984e39
TH
15312013-12-18 Tassilo Horn <tsdh@gnu.org>
1532
2230a6e3
SM
1533 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1534 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 1535
50ff2e06
CY
15362013-12-18 Chong Yidong <cyd@gnu.org>
1537
0081bc84
CY
1538 * cus-edit.el (custom-magic-alist): Fix "themed" description
1539 (Bug#14348).
1540
a7ee9424
CY
1541 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1542 is non-nil, do not create a new entry in the symbol's theme-value
1543 or theme-face property; update theme-settings only (Bug#14664).
18874304 1544 (custom-available-themes): Doc fix.
a7ee9424 1545
8f942537
CY
1546 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1547 (Bug#15674).
1548
50ff2e06
CY
1549 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1550
83c60f60
KI
15512013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1552
1553 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1554 (Bug#13914).
1555
e0eb0550 15562013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
1557
1558 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1559
1f41ee56
GM
15602013-12-18 Glenn Morris <rgm@gnu.org>
1561
1562 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 1563 * cus-start.el (load-prefer-newer): New option.
1f41ee56 1564
e82134b1
LW
15652013-12-18 Le Wang <l26wang@gmail.com>
1566
2230a6e3
SM
1567 * comint.el (comint-previous-matching-input-from-input):
1568 Retain point (Bug#13404).
e82134b1 1569
33f5d4c1
CY
15702013-12-18 Chong Yidong <cyd@gnu.org>
1571
1572 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1573
ccc9f6dc
GM
15742013-12-18 Glenn Morris <rgm@gnu.org>
1575
1576 * mail/emacsbug.el (report-emacs-bug):
1577 Only mention enable-multibyte-characters if non-standard.
1578
33dd8e95
JL
15792013-12-17 Juri Linkov <juri@jurta.org>
1580
1581 * arc-mode.el (archive-extract-by-file): Check if directory exists
1582 before deletion to not show irrelevant errors if it doesn't exist.
1583
7a409b30
JL
15842013-12-17 Juri Linkov <juri@jurta.org>
1585
1586 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1587 (Bug#14751)
1588
1589 * net/eww.el (browse-web): Add alias to `eww'.
1590 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1591 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1592
1593 * net/browse-url.el (browse-url-browser-function): Move `eww'
1594 closer to similar functions.
1595
1596 * startup.el (fancy-startup-screen, fancy-about-screen):
1597 Set browse-url-browser-function to eww-browse-url locally.
1598 (Bug#14751)
1599
2d6b6005
SM
16002013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1601
1602 * window.el (window--pixel-to-total): Remove unused `mini' var.
1603 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1604 (split-window): Remove unused `new' var.
1605 (window--display-buffer): Remove unused `frame' and `delta' vars.
1606 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1607 and display-width'.
1608
cf2b7efc
MR
16092013-12-17 Martin Rudalics <rudalics@gmx.at>
1610
1611 * dired.el (dired-mark-pop-up):
1612 * register.el (register-preview): Don't bind
1613 split-height-threshold here since it's now done in
1614 display-buffer-below-selected.
1615
ed3af8a7 16162013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1617
1618 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1619 xterm-rgb-convert-to-16bit.
1620 (rxvt-register-default-colors): Standardize with
1621 xterm-register-default-colors (Bug#14078).
1622
76da3455
DK
16232013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1624
1625 * simple.el (kill-region): Pass mark first, then point, so that
1626 kill-append works right (Bug#12819).
1627 (copy-region-as-kill, kill-ring-save): Likewise.
1628
2b84d763
LL
16292013-12-17 Leo Liu <sdl.web@gmail.com>
1630
1631 * net/rcirc.el (rcirc-add-face):
1632 * eshell/em-prompt.el (eshell-emit-prompt):
1633 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1634 (Bug#16167)
1635
e2f6a0bc
CY
16362013-12-17 Chong Yidong <cyd@gnu.org>
1637
1638 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1639 Suggested by Xue Fuqiao.
1640
35b249a6
DG
16412013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1642
1643 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1644
e9145444
SM
16452013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1646
1647 * net/shr.el (shr-insert-document): Remove unused var
1648 `shr-preliminary-table-render'.
1649 (shr-rescale-image): Remove unused arg `force'.
1650 (shr-put-image): Update calls accordingly.
1651 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1652
5556c0ce
DG
16532013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1654
1655 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1656 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1657 :close-all, to see which indentation method to use (Bug#16116).
1658 (smie-rules-function): Document the method :close-all.
1659
11bade0a
LMI
16602013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1661
1c4b1e61
LMI
1662 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1663
11bade0a
LMI
1664 * net/eww.el (eww-display-html): If we can't find the anchor we're
1665 looking for, then go to point-min.
1666
8fb8c4f3
PE
16672013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1668
1669 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1670 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1671 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1672 Expand dir too, in case it's relative.
1673
6c8e0ae6
JL
16742013-12-16 Juri Linkov <juri@jurta.org>
1675
1676 * desktop.el (desktop-auto-save-timeout): Change default to
1677 `auto-save-timeout'. Doc fix.
1678 (desktop-save): Skip the timestamp in desktop-saved-frameset
1679 when checking for auto-save changes.
1680 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1681 `desktop-auto-save' is called repeatedly by the idle timer.
1682 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1683 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1684 (Bug#15331)
1685
2178e858
JL
16862013-12-16 Juri Linkov <juri@jurta.org>
1687
1688 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1689 (Bug#16035)
1690 (isearch-pre-command-hook): Check `this-command' for symbolp.
1691
39cb42c6
SM
16922013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1693
1694 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1695
5b9b750a
TZ
16962013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1697
1698 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1699 (cfengine3--current-function): Bring in the current-function
1700 functionality from `cfengine3--current-word'.
1701 (cfengine3-completion-function): Bring in the
1702 bounds-of-current-word functionality from
1703 `cfengine3--current-word'.
1704
d144ef06
MR
17052013-12-16 Martin Rudalics <rudalics@gmx.at>
1706
39cb42c6
SM
1707 * window.el (display-buffer-below-selected):
1708 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 1709
a8bbe298
LL
17102013-12-16 Leo Liu <sdl.web@gmail.com>
1711
1712 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1713 Remove NOMSG arg and all uses changed.
1714
2013a2f9
SM
17152013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1716
1717 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1718 (cua--deactivate-rectangle): Don't deactivate the mark.
1719 (cua-set-rectangle-mark): Don't set mark-active since
1720 cua--activate-rectangle already does it for us.
1721 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1722 non-rectangular region.
1723
1724 * emulation/cua-base.el (cua-repeat-replace-region):
1725 Use with-current-buffer.
1726
1727 * net/gnutls.el: Use cl-lib.
1728 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1729
5ae811dd
TZ
17302013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1731
1732 * emacs-lisp/package.el (package-built-in-p): Support both
1733 built-in and the package.el converted package descriptions.
1734 (package-show-package-list): Allow keywords.
1735 (package-keyword-button-action): Use it instead of
1736 `finder-list-matches'.
1737 (package-menu-filter-interactive): Interactive filtering (by
1738 keyword) function.
1739 (package-menu--generate): Support keywords and change keymappings
1740 and headers when they are given.
1741 (package--has-keyword-p): Helper function.
1742 (package-menu--refresh): Use it.
1743 (package--mapc): Helper function.
1744 (package-all-keywords): Use it.
1745 (package-menu-mode-map): Set up menu items and keybindings to
1746 provide a filtering UI.
1747
31b4827e
TZ
17482013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1749
1750 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1751 the behavior when a certificate fails validation. Defaults to
1752 old behavior: never abort, just warn.
1753 (gnutls-negotiate): Use it.
1754
f93cc74f
MR
17552013-12-14 Martin Rudalics <rudalics@gmx.at>
1756
1757 * window.el (display-buffer-below-selected): Never split window
1758 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1759
f77d7d17
TW
17602013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1761
1762 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1763 (package-buffer-info): Use it (bug#15108).
aa2bddd7 1764
7514d3f8
SM
17652013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1766
aa2bddd7 1767 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 1768 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 1769
276bc333
DG
17702013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1771
1772 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1773 open-paren tokens when preceded by a open-paren, too.
1774 (ruby-smie-rules): Handle virtual indentation after open-paren
1775 tokens specially. If there is code between it and eol, return the
1776 column where is starts (Bug#16118).
1777
d43957f3
TZ
17782013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1779
a5c1ac0c 1780 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 1781 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
1782 (cfengine3--current-word): Fix parameters.
1783 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
1784 (cfengine3-completion-function, cfengine3--current-function):
1785 Use `assq' for symbols.
d43957f3
TZ
1786 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1787
06a4f110
GM
17882013-12-13 Glenn Morris <rgm@gnu.org>
1789
1790 * loadup.el (load-path): Warn if site-load or site-init changes it.
1791 No more need to reset it when bootstrapping.
1792
978a5fda
TZ
17932013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1794
1795 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1796 locations for cf-promises.
1797 (cfengine-mode-syntax-functions-regex): New caching variable.
1798 (cfengine3-fallback-syntax): Fallback syntax for cases where
1799 cf-promises doesn't run.
1800 (cfengine3--current-word): Reimplement using
1801 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
1802 (cfengine3-completion-function, cfengine3--current-function):
1803 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
1804 (cfengine3-clear-syntax-cache): New function.
1805 (cfengine3-make-syntax-cache): Simplify and create
1806 `cfengine-mode-syntax-functions-regex' on demand.
1807 (cfengine3-format-function-docstring): Don't call
1808 `cfengine3-make-syntax-cache' explicitly.
1809
71e6691e
MR
18102013-12-13 Martin Rudalics <rudalics@gmx.at>
1811
1812 Fix windmove-find-other-window broken after pixelwise resizing
1813 (Bug#16017).
1814 * windmove.el (windmove-other-window-loc): Revert change from
1815 2013-12-04.
1816 (windmove-find-other-window): Call window-in-direction.
1817 * window.el (window-in-direction): New arguments SIGN, WRAP and
1818 MINI to emulate original windmove-find-other-window behavior.
1819
84c73ba0
DG
18202013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1821
1822 * simple.el (blink-matching--overlay): New variable.
1823 (blink-matching-open): Instead of moving point, highlight the
1824 matching paren with an overlay
1825 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1826
1827 * faces.el (paren-showing-faces, show-paren-match)
1828 (show-paren-mismatch): Move from paren.el.
1829
b9e20952
LL
18302013-12-13 Leo Liu <sdl.web@gmail.com>
1831
1832 * indent.el (indent-region): Disable progress reporter in
1833 minibuffer. (Bug#16108)
1834
1835 * bindings.el (visual-order-cursor-movement): Fix version.
1836
ce030451
FEG
18372013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1838
1839 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1840 Also match after beginning of line.
1841 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 1842 files. Thanks to Russell Sim. (Bug#15378)
ce030451 1843
4a9c6865
JL
18442013-12-13 Juri Linkov <juri@jurta.org>
1845
1846 * simple.el <Keypad support>: Remove key bindings duplicated
1847 with bindings.el. (Bug#14397)
1848
2bc170c3
JL
18492013-12-13 Juri Linkov <juri@jurta.org>
1850
1851 * comint.el (comint-mode-map): Replace `delete-char' with
1852 `delete-forward-char'. (Bug#16109)
1853
bc9222c9
FEG
18542013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1855
aa2bddd7 1856 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 1857 Fix de-denters cornercase. (Bug#15731)
bc9222c9 1858
cb3a1380
SM
18592013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1860
1861 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1862 (advice--make): Pay attention to `depth'.
1863 (advice--make-1): Don't autoload commands eagerly.
1864 * emacs-lisp/elp.el (elp-instrument-function):
1865 * emacs-lisp/trace.el (trace-function-internal):
1866 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1867
1868 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1869
01633a17
EZ
18702013-12-12 Eli Zaretskii <eliz@gnu.org>
1871
1872 * term/w32-win.el (w32-handle-dropped-file):
1873 * startup.el (normal-top-level):
1874 * net/browse-url.el (browse-url-file-url):
1875 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1876 decode file names using 'utf-8' rather than
1877 file-name-coding-system.
1878
09faee72
FEG
18792013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1880
1881 * progmodes/python.el (python-indent-context)
1882 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 1883 behavior for comment blocks. (Bug#15916)
09faee72 1884
f4f84024 18852013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 1886
cb3a1380
SM
1887 * progmodes/python.el (python-indent-calculate-indentation):
1888 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
1889 operators when they are just string constituents. (Bug#15812)
1890
d5ccb7be
JL
18912013-12-12 Juri Linkov <juri@jurta.org>
1892
1893 * uniquify.el (uniquify-buffer-name-style): Change default to
1894 `post-forward-angle-brackets'.
1895
1896 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1897 `uniquify'. Change default to `post-forward-angle-brackets'.
1898
7b3f5679
GM
18992013-12-11 Glenn Morris <rgm@gnu.org>
1900
1901 * emacs-lisp/package.el (finder-list-matches):
1902 Autoload rather than falsely declaring.
1903
f4fe8fdd
TZ
19042013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1905
1906 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1907 (eww-mode-map): Use them.
1908
3c29190f
MR
19092013-12-11 Martin Rudalics <rudalics@gmx.at>
1910
1911 * window.el (display-buffer-in-side-window): Fix doc-string
1912 (Bug#16115).
1913
0cd616a2
JB
19142013-12-11 Juanma Barranquero <lekktu@gmail.com>
1915
1916 * vc/vc-git.el: Silence byte-compiler warnings.
1917 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1918 (log-edit-set-header): Declare.
1919
3ef8e0d1
EZ
19202013-12-11 Eli Zaretskii <eliz@gnu.org>
1921
1922 * Makefile.in (custom-deps, finder-data): Run output file names
1923 through unmsys--file-name. (Bug#16099)
1924
afdadaf7
SM
19252013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1926
7ae3ae39 1927 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 1928 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 1929
5b4f37ab
SM
1930 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1931 instead of deleting the selection "by hand" (bug#16098).
1932 Rely on insert-for-yank to yank rectangles.
1933 (cua-highlight-region-shift-only): Mark obsolete.
1934 (cua-mode): Don't enable/disable transient-mark-mode,
1935 shift-select-mode (cua-mode works both with and without them), and
1936 pc-selection-mode (obsolete).
1937 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1938 (cua--deactivate-rectangle): Deactivate it.
1939
4b72c12b
SM
1940 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1941 (delete-selection-helper): Make sure yank starts at the top of the
1942 deleted region.
1943 (minibuffer-keyboard-quit): Use region-active-p.
1944
e82af72d
SM
1945 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1946
afdadaf7
SM
1947 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1948 to `delete' (bug#16109).
1949
ed4bc201
RS
19502013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1951
1952 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1953 info manual and show keybindings and set `:group' keyword.
1954
bb8097b9
JL
19552013-12-11 Juri Linkov <juri@jurta.org>
1956
1957 * delsel.el (delete-active-region): Let-bind `this-command'
1958 to prevent `kill-region' from changing its original value.
1959 (delete-selection-helper): Handle `overwrite-mode' for the type
1960 `kill' exactly the same way as for the type `t'.
1961 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1962 Support more commands. (Bug#13312)
1963
c1916ff5
JL
19642013-12-11 Juri Linkov <juri@jurta.org>
1965
1966 * bindings.el: Map kp keys to non-kp keys systematically
1967 with basic modifiers control, meta and shift. (Bug#14397)
1968
7514d3f8 19692013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
1970
1971 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1972 "Close browser" menu items. Fix wrong function of "List
1973 bookmarks".
1974
4cc51eaf
JL
19752013-12-11 Juri Linkov <juri@jurta.org>
1976
1977 * misearch.el (multi-isearch-buffers): Set the value of
1978 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1979 arg of isearch-forward to t.
1980 (multi-isearch-buffers-regexp): Set the value of
1981 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1982 arg of isearch-forward-regexp to t.
1983 (multi-isearch-files): Set the value of
1984 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1985 arg of isearch-forward to t.
1986 (multi-isearch-files-regexp): Set the value of
1987 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1988 arg of isearch-forward-regexp to t. (Bug#16035)
1989
1990 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1991 arg of isearch-forward to t.
1992 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1993 arg of isearch-forward-regexp to t.
1994 (dired-isearch-filter-filenames): Remove unnecessary check for
1995 `dired-isearch-filenames'.
1996
1997 * comint.el (comint-history-isearch-backward):
1998 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1999 (comint-history-isearch-backward-regexp):
2000 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2001
ceac12b7
EZ
20022013-12-10 Eli Zaretskii <eliz@gnu.org>
2003
2004 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2005 unmsys--file-name. (Bug#16099)
2006
5a565782
TZ
20072013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2008
cb3a1380
SM
2009 * emacs-lisp/package.el (package-keyword-button-action):
2010 Remove finder.el require dependency.
5a565782 2011
a81fc7ba
TZ
20122013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2013
2014 * emacs-lisp/package.el: Require finder.el.
2015 (describe-package-1): Add keyword buttons.
2016 (package-make-button): New convenience function.
2017 (package-keyword-button-action): Keyword button action using
e0eb0550 2018 `finder-list-matches'.
a81fc7ba 2019
6aaca951
EZ
20202013-12-09 Eli Zaretskii <eliz@gnu.org>
2021
2022 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2023 last commit.
2024
a1099a91
MA
20252013-12-09 Michael Albinus <michael.albinus@gmx.de>
2026
2027 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2028 symlinked files.
2029
8212d9c0
DG
20302013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2031
2032 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2033 after the end of a percent literal.
2034
8f48d131
CD
20352013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2036
cb3a1380
SM
2037 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2038 Handle caret-delimited strings (Bug#16079).
8f48d131 2039
ff8c9764
DG
20402013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2041
cb3a1380
SM
2042 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2043 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
2044 `ruby-parse-partial' (Bug#16078).
2045
d64643b4
LL
20462013-12-09 Leo Liu <sdl.web@gmail.com>
2047
2048 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2049
47e59c66
DG
20502013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2051
2052 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2053 (js-switch-indent-offset): New option.
2054 (js--proper-indentation): Use it. And handle the case when
2055 "default" is actually a key in an object literal.
2056 (js--same-line): New function.
2057 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
2058 (js--indent-in-array-comp, js--array-comp-indentation):
2059 New functions.
47e59c66
DG
2060 (js--proper-indentation): Use them, to handle array comprehension
2061 continuations.
2062
974ebc9c
LL
20632013-12-08 Leo Liu <sdl.web@gmail.com>
2064
2065 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2066 (flymake-make-overlay): Remove arg MOUSE-FACE.
2067 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2068
27262e39
SM
20692013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2070
2071 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2072 New function.
2073 (redisplay-highlight-region-function): Use it.
2074
2075 * emulation/cua-base.el (cua--explicit-region-start)
2076 (cua--last-region-shifted): Remove.
2077 (cua--deactivate): Use deactivate-mark.
2078 (cua--pre-command-handler-1): Don't handle shift-selection.
2079 (cua--post-command-handler-1): Don't change transient-mark-mode.
2080 (cua--select-keymaps): Use region-active-p rather than
2081 cua--explicit-region-start or cua--last-region-shifted.
2082 (cua-mode): Enable shift-select-mode.
2083
6407822c
LL
20842013-12-08 Leo Liu <sdl.web@gmail.com>
2085
27262e39
SM
2086 * progmodes/flymake.el (flymake-popup-current-error-menu):
2087 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
2088 (flymake-posn-at-point-as-event, flymake-popup-menu)
2089 (flymake-make-emacs-menu): Remove. (Bug#16077)
2090
00a2b823
SM
20912013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2092
02033d49
SM
2093 * rect.el (rectangle-mark-mode): Activate mark even if
2094 transient-mark-mode is off (bug#16066).
2095 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2096 is > mark and at bolp.
2097
6f8dfccf
SM
2098 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2099 (region-extract-function): Use it.
2100 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2101 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2102 Delete functions.
2103 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2104 kill-ring-save, kill-region, delete-char, delete-forward-char.
2105 Ignore self-insert-iso.
2106
2107 * emulation/cua-gmrk.el (cua--init-global-mark):
2108 Ignore `self-insert-iso'.
2109
2110 * emulation/cua-base.el (cua--prefix-copy-handler)
2111 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2112 checking cua--rectangle.
2113 (cua-delete-region): Use region-extract-function.
2114 (cua-replace-region): Delete function.
2115 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2116 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2117 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2118 (cua--init-keymaps): Don't remap delete-selection commands.
2119 (cua-mode): Use delete-selection-mode instead of rolling our own
2120 (bug#16085).
2121
2122 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2123 Obey region-extract-function.
2124
00a2b823
SM
2125 Make registers and delete-selection-mode work on rectangles.
2126 * register.el (describe-register-1): Don't modify the register's value.
2127 (copy-to-register): Obey region-extract-function.
2128 * delsel.el (delete-active-region): Obey region-extract-function.
2129
a92fa5f1
LL
21302013-12-08 Leo Liu <sdl.web@gmail.com>
2131
2132 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2133 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2134 (flymake-compilation-prevents-syntax-check)
2135 (flymake-start-syntax-check-on-newline)
2136 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2137 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2138 (flymake-xml-program, flymake-master-file-dirs)
2139 (flymake-master-file-count-limit)
2140 (flymake-allowed-file-name-masks): Relocate.
2141 (flymake-makehash, flymake-float-time)
2142 (flymake-replace-regexp-in-string, flymake-split-string)
2143 (flymake-get-temp-dir): Remove.
2144 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2145 (flymake-current-row, flymake-selected-frame)
2146 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2147 related functions. (Bug#16077)
2148
73c8ceea
BB
21492013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2150
2151 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2152
faec28d9
TH
21532013-12-07 Tassilo Horn <tsdh@gnu.org>
2154
2155 * help-fns.el (describe-function-1): Use new advice-* functions
2156 rather than old ad-* functions. Fix function type description and
2157 source links for advised functions and subrs.
2158
e330b646
LMI
21592013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2160
00a2b823 2161 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 2162
4803595d
MA
21632013-12-06 Michael Albinus <michael.albinus@gmx.de>
2164
2165 * progmodes/compile.el (compilation-start):
2166 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2167
2168 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2169 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2170
fa834a93
DG
21712013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2172
00a2b823
SM
2173 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2174 Touch up the last change.
fa834a93 2175
b2856a6f
LL
21762013-12-06 Leo Liu <sdl.web@gmail.com>
2177
2178 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2179 (inferior-octave-startup): Always use "octave> " for prompt.
2180 (octave-goto-function-definition)
2181 (octave-sync-function-file-names)
2182 (octave-find-definition-default-filename): Remove redundant backquotes.
2183
af67e79a
DG
21842013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2185
2186 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2187 syntax for `?'.
2188 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2189 where appropriate already.
2190 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2191 end of method names (Bug#15874).
2192
bf093209
JL
21932013-12-06 Juri Linkov <juri@jurta.org>
2194
2195 * isearch.el (isearch--saved-overriding-local-map):
2196 New internal variable.
2197 (isearch-mode): Set it to the initial value of
2198 `overriding-terminal-local-map'.
2199 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2200 with `isearch--saved-overriding-local-map'. (Bug#16035)
2201
16588fad
DG
22022013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2203
00a2b823
SM
2204 * progmodes/octave.el (inferior-octave-completion-table):
2205 Turn back into function, use `completion-table-with-cache'
16588fad
DG
2206 (Bug#11906). Update all references.
2207
2208 * minibuffer.el (completion-table-with-cache): New function.
2209
bf4906d7
CD
22102013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2211
2212 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2213
ff69c18f
TZ
22142013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2215
2216 * net/eww.el (eww-current-source): New variable to store page
2217 source.
2218 (eww-display-html, eww-mode, eww-save-history)
2219 (eww-restore-history): Use it.
2220 (eww-view-source): New command to view page source.
2221 Opportunistically uses `html-mode' to highlight the buffer.
2222 (eww-mode-map): Install it.
2223
b85eff45
MA
22242013-12-05 Michael Albinus <michael.albinus@gmx.de>
2225
2226 * net/dbus.el (dbus-unregister-service)
2227 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2228 Fix docstring.
2229 (dbus-unregister-service): Skip :serial entries in
2230 `dbus-registered-objects-table'.
2231 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2232
39eb0899
TZ
22332013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2234
2235 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2236 around keywords with extra `split-string' argument.
2237
456760a5
MR
22382013-12-04 Martin Rudalics <rudalics@gmx.at>
2239
2240 * windmove.el (windmove-other-window-loc): Handle navigation
2241 between windows (excluding the minibuffer window - Bug#16017).
2242
81961e4c
MA
22432013-12-04 Michael Albinus <michael.albinus@gmx.de>
2244
2245 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2246 in D-Bus type syntax.
2247 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2248 preserve unibyte strings. (Bug#16048)
2249
8497f938
SM
22502013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2251
2252 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2253 Call force-mode-line-update is the proper buffer (bug#16042).
2254
dda61916
DG
22552013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2256
2257 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2258 `log-edit-remember-comment', make argument optional. Adjust all
2259 callers.
2260 (log-edit-mode): Add `log-edit-remember-comment' to
2261 `kill-buffer-hook' locally.
2262 (log-edit-kill-buffer): Don't remember comment explicitly since
2263 the buffer is killed anyway.
2264
c085e5b9
JL
22652013-12-04 Juri Linkov <juri@jurta.org>
2266
2267 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2268 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2269
e0eb0550 22702013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
2271
2272 * notifications.el (notifications-close-notification): Call the
81961e4c 2273 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 2274
39fa32d6
KY
22752013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2276
2277 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2278
9139632a
JL
22792013-12-03 Juri Linkov <juri@jurta.org>
2280
2281 * progmodes/compile.el (compilation-start): Rename window alist
2282 entry `no-display-ok' to `allow-no-window'.
2283
2284 * simple.el (shell-command): Add window alist entry
2285 `allow-no-window' to `display-buffer'.
2286 (async-shell-command): Doc fix.
2287
2288 * window.el (display-buffer-no-window): New action function.
2289 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2290
0f457a37
DG
22912013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2292
2293 * vc/log-edit.el (log-edit-set-header): Extract from
2294 `log-edit-toggle-header'.
2295 (log-edit-extract-headers): Separate the summary, when extracted
2296 from header, from the rest of the message with an empty line.
2297
2298 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2299 line, if present, to the Summary header.
2300
0962f376
SM
23012013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2302
2303 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2304 in current-buffer (bug#16029).
2305
f345395c
HE
23062013-12-02 Helmut Eller <eller.helmut@gmail.com>
2307
2308 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2309 (debugger-mode-map): Bind it.
2310 (debugger--backtrace-base): New function.
2311 (debugger-eval-expression): Use it.
2312 (debugger-frame-number): Skip local vars when present.
2313 (debugger--locals-visible-p, debugger--insert-locals)
2314 (debugger--show-locals, debugger--hide-locals): New functions.
2315
a8a15d9d
MA
23162013-12-02 Michael Albinus <michael.albinus@gmx.de>
2317
2318 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2319 "LC_ALL".
2320 (tramp-get-remote-locale): New defun.
2321 (tramp-open-connection-setup-interactive-shell): Use it.
2322
0518b057
LL
23232013-12-02 Leo Liu <sdl.web@gmail.com>
2324
2325 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2326
2327 * progmodes/sh-script.el (sh-shell-process):
2328 * progmodes/octave.el (inferior-octave-process-live-p):
2329 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2330 (gdb-inferior-io-sentinel):
2331 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2332
3adc9c6d
DG
23332013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2334
2335 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2336 `save-selected-window' to `log-edit-hide-buf'. This makes
2337 `log-edit-show-files' idempotent.
2338 (log-edit-show-files): Mark the new window as dedicated.
2339
47e8b74e
DG
23402013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2341
2342 * vc/log-edit.el (log-edit-mode-map): Add binding for
2343 `log-edit-kill-biffer'.
2344 (log-edit-hide-buf): Add a FIXME comment.
2345 (log-edit-add-new-comment): New function, extracted from
2346 `log-edit-done'.
2347 (log-edit-done, log-edit-add-to-changelog): Use it.
2348 (log-edit-kill-buffer): New command.
2349
1f6e1bb0
LMI
23502013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2351
2352 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2353 instead of killing the buffer.
2354
fb651d15
SM
23552013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2356
2357 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2358
8feacce0
RS
23592013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2360
fb651d15 2361 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 2362 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
2363 (eww-form-checkbox, eww-toggle-checkbox):
2364 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2365
e0eb0550 2366 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 2367 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 2368 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
2369 no :src tag was specified.
2370
fb651d15 2371 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
2372 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2373 Use \\` to match beginning of string instead of ^.
2374 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 2375 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 2376
177948a5
RS
2377 * net/shr.el (shr-tag-video): Display content for video if no
2378 poster is available.
eb2dd24d 2379 (shr-tag-audio): Add support for <audio> tag.
177948a5 2380
e0eb0550 2381 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
2382 (eww-process-text-input): Treat input types in
2383 `eww-text-input-types' as text.
2384
8feacce0
RS
2385 * net/shr.el (shr-tag-table): Fix comment typo.
2386
513562a1
LMI
23872013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2388
2389 * net/eww.el (eww-follow-link): New command to avoid reloading
2390 pages when we follow #target links (bug#15243).
de8a5633 2391 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 2392
9dd99753
KN
23932013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2394
2395 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2396 forms.
2397
3e9876de
LMI
23982013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2399
2400 * net/eww.el (eww-restore-history): Update the window title after
2401 moving in the history.
ab6dea82 2402 (eww-current-dom): New variable used to save the current DOM.
3e9876de 2403
52789f7f
DG
24042013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2405
2406 * vc/log-edit.el (log-edit-mode-map): Add binding for
2407 `log-edit-beginning-of-line'.
2408 (log-edit-setup-add-author): New user option.
2409 (log-edit-beginning-of-line): New command.
2410 (log-edit): Move major mode call above the contents setup so that
2411 the local variable values are already applied.
2412 (log-edit): Only insert "Author: " when
2413 `log-edit-setup-add-author' is non-nil.
2414 (log-edit): When SETUP is non-nil, position point after ": "
2415 instead of point-min.
2416
2e6710c3
GM
24172013-12-01 Glenn Morris <rgm@gnu.org>
2418
2419 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2420
fadec31f
EZ
24212013-11-30 Eli Zaretskii <eliz@gnu.org>
2422
2423 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 2424 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
2425 visible. (Bug#16014)
2426
10634b40 24272013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
2428
2429 Support resizing frames and windows pixelwise.
2430 * cus-start.el (frame-resize-pixelwise)
2431 (window-resize-pixelwise): New entries.
2432 * emacs-lisp/debug.el (debug): Use window-total-height instead
2433 of window-total-size.
2434 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2435 * help.el (describe-bindings-internal): Call help-buffer
2436 (temp-buffer-max-width): New option.
2437 (resize-temp-buffer-window, help-window-setup)
2438 (with-help-window): Rewrite.
2439 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2440 dragging dividers.
2441 * window.el (frame-char-size, window-min-pixel-height)
2442 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2443 (window-min-pixel-width, window-safe-min-pixel-size)
2444 (window-combination-p, window-safe-min-size)
2445 (window-resizable-p, window--size-to-pixel)
2446 (window--pixel-to-size, window--resize-apply-p): New functions.
2447 (window-safe-min-height): Fix doc-string.
2448 (window-size, window-min-size, window--min-size-1)
2449 (window-sizable, window-sizable-p, window--min-delta-1)
2450 (window-min-delta, window--max-delta-1, window-max-delta)
2451 (window--resizable, window--resizable-p, window-resizable)
2452 (window-full-height-p, window-full-width-p, window-at-side-p)
2453 (window--in-direction-2, window-in-direction)
2454 (window--resize-reset-1, window--resize-mini-window)
2455 (window-resize, window-resize-no-error)
2456 (window--resize-child-windows-normal)
2457 (window--resize-child-windows, window--resize-siblings)
2458 (window--resize-this-window, window--resize-root-window)
2459 (window--resize-root-window-vertically)
2460 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2461 (maximize-window, minimize-window, delete-window)
2462 (quit-restore-window, window-split-min-size, split-window)
2463 (balance-windows-2, balance-windows)
2464 (balance-windows-area-adjust, balance-windows-area)
2465 (window--state-get-1, window-state-get, window--state-put-1)
2466 (window--state-put-2, window-state-put)
fb651d15
SM
2467 (display-buffer-record-window, window--display-buffer):
2468 Make functions handle pixelwise sizing of windows.
880e6158 2469 (display-buffer--action-function-custom-type)
fb651d15
SM
2470 (display-buffer-fallback-action):
2471 Add display-buffer-in-previous-window.
880e6158
MR
2472 (display-buffer-use-some-window): Resize window to height it had
2473 before.
2474 (fit-window-to-buffer-horizontally): New option.
2475 (fit-frame-to-buffer): Describe new values.
2476 (fit-frame-to-buffer-bottom-margin): Replace with
2477 fit-frame-to-buffer-margins.
2478 (window--sanitize-margin): New function.
2479 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2480 using window-text-pixel-size.
2481
f9b697dd
GM
24822013-11-30 Glenn Morris <rgm@gnu.org>
2483
3e2fb4db
GM
2484 * emacs-lisp/bytecomp.el (byte-compile-form):
2485 Make the `interactive-only' warning like the `obsolete' one.
2486 * comint.el (comint-run):
2487 * files.el (insert-file-literally, insert-file):
2488 * replace.el (replace-string, replace-regexp):
2489 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2490 (goto-line, insert-buffer, next-line, previous-line):
2491 Tweak `interactive-only' spec.
2492
f9b697dd
GM
2493 Stop keeping (most) generated cedet grammar files in the repository.
2494 * Makefile.in (semantic): New.
2495 (compile-main): Depend on semantic.
2496
da048127
SM
24972013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2498
7784b779
SM
2499 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2500 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2501
4e36a6a6
SM
2502 * uniquify.el (uniquify-buffer-name-style): Change default.
2503
2504 * loadup.el: Preload "uniquify".
2505
e0ba1308
SM
2506 * time.el (display-time-update): Update all mode lines (bug#15999).
2507
da048127
SM
2508 * electric.el (electric-indent-mode): Enable by default.
2509 * loadup.el: Preload "electric".
2510
015b3b3e
BB
25112013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2512
2513 * emacs-lisp/helpers.el (string-empty-p): New function.
2514 (string-blank-p): New function.
2515
7efb806d
AP
25162013-11-29 Andreas Politz <politza@hochschule-trier.de>
2517
2518 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2519 (Bug#14029).
2520
c8f0efc2
AP
25212013-11-29 Andreas Politz <politza@fh-trier.de>
2522 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2523 allow non-lambda lists as functions.
2524 (imenu--in-alist): Don't recurse into non-subalists.
2525 (imenu): Don't pass function itself as an argument (Bug#14029).
2526
bd15d9d1
SM
25272013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2528
2529 * progmodes/python.el (python-mode-map): Remove binding for ":".
2530 (python-indent-electric-colon): Remove command.
2531 (python-indent-post-self-insert-function): Integrate the previous code
2532 of python-indent-electric-colon. Make it conditional on
2533 electric-indent-mode.
2534 (python-mode): Add ?: to electric-indent-chars.
2535 Move python-indent-post-self-insert-function to the end of
2536 post-self-insert-hook.
2537
1b10adb6
SM
25382013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2539
655ab9a3
SM
2540 * doc-view.el (doc-view-goto-page): Update mode-line.
2541
1b10adb6
SM
2542 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2543
7e3bf78c
GM
25442013-11-27 Glenn Morris <rgm@gnu.org>
2545
2546 * international/charprop.el, international/uni-bidi.el:
2547 * international/uni-category.el, international/uni-combining.el:
2548 * international/uni-comment.el, international/uni-decimal.el:
2549 * international/uni-decomposition.el, international/uni-digit.el:
2550 * international/uni-lowercase.el, international/uni-mirrored.el:
2551 * international/uni-name.el, international/uni-numeric.el:
2552 * international/uni-old-name.el, international/uni-titlecase.el:
2553 * international/uni-uppercase.el:
2554 Remove generated files from VCS repository.
2555
fb6a5d68
EZ
25562013-11-27 Eli Zaretskii <eliz@gnu.org>
2557
2558 * filenotify.el (file-notify-add-watch): Don't special-case
2559 w32notify when computing the directory to watch.
2560
cb6c95a3
GM
25612013-11-27 Glenn Morris <rgm@gnu.org>
2562
20372d0c
GM
2563 Make bootstrap without generated uni-*.el files possible again.
2564 * loadup.el: Update command-line-args checking for unidata-gen.
2565 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2566 * composite.el, international/characters.el:
2567 Handle unicode tables being undefined.
2568
52d6635f 2569 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
2570 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2571 (compile-main): Depend on leim rule.
2572 (leim): New rule.
2573 * loadup.el: Move leim-list.el to leim/ subdirectory.
2574 * startup.el (normal-top-level): No more leim directory.
2575 * international/ja-dic-cnv.el (skkdic-convert):
2576 Disable version-control and autoloads in output files.
2577 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2578 Disable version-control and autoloads in output files.
2579 * leim/quail: Move here from ../leim.
2580 * leim/quail/hangul.el (hangul-input-method-activate):
2581 Add autoload cookie.
2582 (generated-autoload-load-name): Set file-local value.
2583 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2584 (generated-autoload-load-name): Set file-local value.
2585
7514d3f8 25862013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 2587
e0eb0550 2588 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 2589 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 2590 (eww-quit): Ask confirmation before quitting eww.
e47112ee 2591
0e2c793f
EZ
25922013-11-26 Eli Zaretskii <eliz@gnu.org>
2593
2594 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2595 reading output from Diff on MS-Windows and MS-DOS.
2596
447bdcb8
BB
25972013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2598
2599 * emacs-lisp/helpers.el (string-reverse): New function.
2600
5fbf6856
MA
26012013-11-26 Michael Albinus <michael.albinus@gmx.de>
2602
2603 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2604 names on MS Windows, like "/[::1]:".
2605
2606 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2607 SWITCHES.
2608
624780f0
GM
26092013-11-26 Glenn Morris <rgm@gnu.org>
2610
0bf3f0fa
GM
2611 * progmodes/python.el (python-indent-guess-indent-offset):
2612 Avoid corner-case error. (Bug#15975)
2613
624780f0
GM
2614 Preload leim-list.el. (Bug#4789)
2615 * loadup.el: Load leim-list.el when found.
2616 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2617
4301875e 26182013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
2619
2620 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2621
4301875e
BB
2622 * emacs-lisp/helpers.el (string-join): New function.
2623
1633a815 26242013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
2625
2626 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2627 Mark as obsolete and replace it with a symbol property.
2628 (byte-compile-form): Use new 'interactive-only property.
2629 * comint.el, files.el, replace.el, simple.el:
2630 Apply new 'interactive-only properly.
2631
00139435
MR
26322013-11-25 Martin Rudalics <rudalics@gmx.at>
2633
2634 * window.el (display-buffer-at-bottom): Make sure that
2635 split-window-sensibly creates the new window on bottom
2636 (Bug#15961).
2637
5f5b128d
DK
26382013-11-23 David Kastrup <dak@gnu.org>
2639
2640 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2641 on the conflict markers when available.
2642 (smerge--get-marker): New function.
2643 (smerge-end-re, smerge-base-re): Add subgroup.
2644
623891e5
SM
26452013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2646
2647 * frame.el (handle-focus-in, handle-focus-out): Add missing
2648 interactive spec.
2649
05ca27d8
MA
26502013-11-25 Michael Albinus <michael.albinus@gmx.de>
2651
2652 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2653 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2654
511fa0d3
SM
26552013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2656
e82ad66c
SM
2657 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2658 (gomoku--last-pos): New var.
2659 (gomoku--intangible-chars): New const.
2660 (gomoku--intangible): New function.
2661 (gomoku-mode): Use it. Derive from special-mode.
2662 (gomoku-move-up): Adjust line count.
2663 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2664 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2665 Simplify accordingly.
2666
511fa0d3
SM
2667 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2668 Remove blink-cursor code.
2669 (blink-cursor-timer-function, blink-cursor-suspend):
2670 Don't special-case GUIs.
2671 (blink-cursor-mode): Use focus-in/out-hook.
2672
6f20dd03
DG
26732013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2674
2675 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2676 work when annotation is invisible (Bug#13886).
2677
431dec31 26782013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
2679
2680 * json.el (json-alist-p): Only return non-nil if the alist has
2681 simple keys (Bug#13518).
2682
431dec31 26832013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
2684
2685 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2686 when control-statement is the first statement in a buffer (Bug#15956).
2687
ee4f0261
DG
26882013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2689
2690 * imenu.el (imenu-generic-skip-comments-and-strings):
2691 New option (Bug#15560).
2692 (imenu--generic-function): Use it.
2693
c484f866
JS
26942013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2695
e9dc713d
JB
2696 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2697 (Bug#13898)
c484f866 2698
41ce6f70
BB
26992013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2700
b55aea38
BB
2701 * emacs-lisp/helpers.el: Add some string helpers.
2702 (string-trim-left): Removes leading whitespace.
2703 (string-trim-right): Removes trailing whitespace.
2704 (string-trim): Removes leading and trailing whitespace.
2705
41ce6f70
BB
2706 * subr.el (string-suffix-p): New function.
2707
3cfb6af3
GM
27082013-11-23 Glenn Morris <rgm@gnu.org>
2709
2710 * progmodes/python.el (python-shell-send-file):
2711 Add option to delete file when done. (Bug#15647)
2712 (python-shell-send-string, python-shell-send-region): Use it.
2713
c27924b7
IS
27142013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2715
e1b01c7f
IS
2716 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2717 to set buffer-read-only to t, never to nil. (Bug#15938)
2718
c27924b7
IS
2719 * textmodes/tex-mode.el (latex-noindent-environments):
2720 Add safe-local-variable property. (Bug#15936)
2721
17e0445b
GM
27222013-11-23 Glenn Morris <rgm@gnu.org>
2723
92f78ea3
GM
2724 * textmodes/enriched.el (enriched-mode): Doc fix.
2725 * emacs-lisp/authors.el (authors-renamed-files-alist):
2726 Add enriched.doc -> enriched.txt.
2727
17e0445b
GM
2728 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2729
965bb23a
LL
27302013-11-22 Leo Liu <sdl.web@gmail.com>
2731
2732 * progmodes/octave.el (inferior-octave-startup): Spit out error
2733 message.
2734
d19ffd64
BB
27352013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2736
2737 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2738 Improve docstring.
15ba2182
BB
2739 Add :version.
2740 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 2741
7a7567d2
LL
27422013-11-22 Leo Liu <sdl.web@gmail.com>
2743
2744 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2745 (Bug#15076)
8c09f64b
LL
2746 (octave-help-mode): Adapt to change to help-mode-finish to use
2747 derived-mode-p on 2013-09-17.
2748 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 2749 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 2750
724bc265
LL
27512013-11-22 Leo Liu <sdl.web@gmail.com>
2752
2753 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2754 (inferior-octave-startup, inferior-octave-check-process)
2755 (inferior-octave-track-window-width-change)
2756 (octave-completion-at-point, octave-eldoc-function): Use it.
2757 (octave-kill-process): Provide confirmation. (Bug#10564)
2758
38637cca
LL
27592013-11-21 Leo Liu <sdl.web@gmail.com>
2760
511fa0d3
SM
2761 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2762 Fix obsolete variable comment-use-global-state.
38637cca 2763
06e752b4
RS
27642013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2765
511fa0d3
SM
2766 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2767 Add `octave-source-file'.
06e752b4
RS
2768 (octave-source-file): New function. (Bug#15935)
2769
7514d3f8 27702013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
2771
2772 * net/eww.el (eww-local-regex): New variable.
2773 (eww): Use it to detect localhost and similar.
2774
b6ffa04a
LL
27752013-11-21 Leo Liu <sdl.web@gmail.com>
2776
2777 Add completion for command `ag'.
2021a200
LL
2778 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2779 (pcomplete/ag): New function.
e9dc713d 2780 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 2781
d1a6bccc
SM
27822013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2783
2784 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2785 (bug#14646).
2786 (make-obsolete): Remove interactive spec.
2787
2df10228
GM
27882013-11-21 Glenn Morris <rgm@gnu.org>
2789
2790 * startup.el (command-line-1): Use path-separator with -L.
2791
86fd16b6
TZ
27922013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2793
2794 * emacs-lisp/package.el (describe-package-1): Add package archive
2795 to shown fields.
2796
0449d6cd 27972013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
2798
2799 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2800 Change default to "# encoding: %s" to differentiate it from the
2801 default Ruby encoding comment template.
2802
dc7e8c17 28032013-11-20 era eriksson <era+emacsbugs@iki.fi>
2804
2805 * ses.el (ses-mode): Doc fix. (Bug#14748)
2806
f0cfa5fe
LL
28072013-11-20 Leo Liu <sdl.web@gmail.com>
2808
2809 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2810
826dc7b6
DN
28112013-11-19 Dan Nicolaescu <dann@gnu.org>
2812
2813 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2814 when rebase or bisect are in progress.
2815
a6e3a5d5
XF
28162013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2817
2818 * filenotify.el (file-notify-add-watch): Doc fix.
2819
f130cb76
LL
28202013-11-19 Leo Liu <sdl.web@gmail.com>
2821
e0855d7d
LL
2822 * obsolete/rcompile.el: Mark obsolete.
2823
f130cb76 2824 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
2825 (compilation-goto-locus, compilation-find-file):
2826 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
2827 (Bug#13594)
2828
2829 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
2830 new parameter no-display-ok. Return either a window or nil
2831 but never a non-window value.
f130cb76 2832
1f35d401
SM
28332013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2834
25158c76
SM
2835 * electric.el (electric-indent-mode-map): Remove.
2836 (electric-indent-mode): Change the global-map instead (bug#15915).
2837
2838 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2839 Use add-function.
1f35d401 2840
9bc67baa
SM
28412013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2842
986545b5
SM
2843 * emacs-lisp/nadvice.el (remove-function): Align with
2844 add-function's behavior.
2845
9bc67baa
SM
2846 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2847 (gdb--string-regexp): New constant.
2848 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2849 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2850 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2851 submatch 1.
2852 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2853 Adjust use accordingly.
2854 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2855
56cd894e
AS
28562013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2857
2858 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2859 interpolation curlies (Bug#15914).
2860
014690de
JB
28612013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2862
2863 * calc/calc.el (calc-context-sensitive-enter): New variable.
2864 (calc-enter): Use `calc-context-sensitive-enter'.
2865
7e26a6c3
TZ
28662013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2867
2868 * progmodes/cfengine.el: Version bump.
2869 (cfengine-cf-promises): New defcustom to locate cf-promises.
2870 (cfengine3-vartypes): Add new "data" type.
2871 (cfengine3--current-word): New function to get current name-like
2872 word or its bounds.
2873 (cfengine3--current-function): New function to look up a CFEngine
2874 function's definition.
2875 (cfengine3-format-function-docstring): New function.
2876 (cfengine3-make-syntax-cache): New function.
2877 (cfengine3-documentation-function): New function: ElDoc glue.
2878 (cfengine3-completion-function): New function: completion glue.
2879 (cfengine3-mode): Set `compile-command',
2880 `eldoc-documentation-function', and add to
2881 `completion-at-point-functions'.
2882
355204dd
MA
28832013-11-16 Michael Albinus <michael.albinus@gmx.de>
2884
2885 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2886 `tramp-current-connection'.
2887
43cebc23
DG
28882013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2889
2890 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2891 nil/self/true/false with "end of symbol".
2892
a3fed6ff
BB
28932013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2894
2895 * subr.el (version-regexp-alist): Fix a typo.
2896
e675b3e4
MA
28972013-11-15 Michael Albinus <michael.albinus@gmx.de>
2898
2899 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2900 "en_US.utf8" and "LC_CTYPE" to "".
2901 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2902 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2903
a1f03e89
LL
29042013-11-15 Leo Liu <sdl.web@gmail.com>
2905
2906 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2907
5d9d9451
SM
29082013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2909
58362662
CS
2910 * progmodes/gud.el (ctl-x-map):
2911 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
2912 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2913
6c1bf086
BB
29142013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2915
0d5363c4
BB
2916 * subr.el (version-regexp-alist):
2917 Recognize hg, svn and darcs versions as snapshot versions.
2918
4e9fc48c
BB
2919 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2920 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2921 (ruby--encoding-comment-required-p): Extract from
2922 `ruby-mode-set-encoding'.
2923 (ruby-mode-set-encoding): Add the ability to always insert an
2924 utf-8 encoding comment. Fix and simplify coding comment update
2925 logic.
6c1bf086 2926
2f7e72f8
MA
29272013-11-14 Michael Albinus <michael.albinus@gmx.de>
2928
2929 * net/tramp-gvfs.el (top): Run init code only when
2930 `tramp-gvfs-enabled' is not nil.
2931 (tramp-gvfs-enabled): Check also :system bus.
2932
0f137a73
SM
29332013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2934
2935 Sync with upstream verilog-mode revision 78e66ba.
2936 * progmodes/verilog-mode.el (verilog-end-of-defun)
2937 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2938 (verilog-get-end-of-defun): Remove unused argument.
2939 (verilog-comment-depth): Remove unused local `e'.
2940 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2941 Don't pass arg to verilog-get-end-of-defun.
2942
1c276bdd
GM
29432013-11-14 Glenn Morris <rgm@gnu.org>
2944
2945 * obsolete/assoc.el (aget): Prefix dynamic variable.
2946
2947 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2948
ff6ec81d
SM
29492013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2950
2951 * widget.el, hfy-cmap.el: Remove bogus package version number.
2952
75f777b6
GM
29532013-11-13 Glenn Morris <rgm@gnu.org>
2954
1d43dba1
GM
2955 * replace.el (replace-eval-replacement):
2956 Try to give more helpful error message. (Bug#15836)
2957
ff4b7bd5
GM
2958 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2959 (archive-7z-update): Avoid custom type mismatches.
2960
75f777b6
GM
2961 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2962
11151a06
MA
29632013-11-13 Michael Albinus <michael.albinus@gmx.de>
2964
e675b3e4 2965 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
2966 address can be empty.
2967
2968 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2969 Accept nil SWITCHES.
2970 (tramp-gvfs-handle-write-region): Implement APPEND.
2971
7b08f97e
DG
29722013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2973
2974 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
2975 binary "|" operator and closing block args delimiter.
2976 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
2977 (ruby-smie--implicit-semi-p): Not after "|" operator.
2978 (ruby-smie--closing-pipe-p): New function.
2979 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2980 (ruby-smie-rules): Indent after "|".
2981
f201cf3a
GM
29822013-11-12 Glenn Morris <rgm@gnu.org>
2983
2984 * ps-print.el (ps-face-attribute-list):
2985 Handle anonymous faces. (Bug#15827)
2986
e6f759f9
MR
29872013-11-12 Martin Rudalics <rudalics@gmx.at>
2988
2989 * window.el (display-buffer-other-frame): Fix doc-string.
2990 (Bug#15868)
2991
ecda65d4
SM
29922013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2993
2994 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2995
7ce8fcc3
MA
29962013-11-11 Michael Albinus <michael.albinus@gmx.de>
2997
2998 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2999 (tramp-sh-handle-file-local-copy): Don't write a message when
3000 saving temporary files.
3001
3002 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3003 both directories are remote.
3004 (tramp-smb-handle-directory-files): Do not return double entries.
3005 Do not expand full file names.
3006 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3007 (tramp-smb-handle-write-region): Implement APPEND.
3008 (tramp-smb-get-stat-capability): Fix a stupid bug.
3009
7818df11
SM
30102013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3011
3012 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3013
608c2085
NT
30142013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3015
3016 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3017 throwing error over malformed let/let* (bug#15814).
3018
122a7e46
SM
30192013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3020
3021 * iswitchb.el (iswitchb-mode): Mark obsolete.
3022
766284d9
GM
30232013-11-11 Glenn Morris <rgm@gnu.org>
3024
3025 * international/uni-bidi.el, international/uni-category.el:
3026 * international/uni-name.el, international/uni-numeric.el:
3027 Regenerate for Unicode 6.3.0.
3028
7072a4e9
MA
30292013-11-10 Michael Albinus <michael.albinus@gmx.de>
3030
3031 * net/tramp.el (tramp-methods):
3032 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3033 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3034
c9df215b
AS
30352013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3036
608c2085
NT
3037 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3038 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 3039
fa47d796
DG
30402013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3041
3042 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 3043 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
3044 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3045 (ispell-complete-word): Call `ispell-lookup-words' with the value
3046 independent of `ispell-look-p'.
3047
1629a329
DG
30482013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3049
3050 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3051 Not after "||".
3052 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3053 their parent.
3054
ad16897c
SM
30552013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3056
3057 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3058 (ruby-font-lock-keywords): Use backquote.
3059
ffa2df72
DG
30602013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3061
3062 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3063 (ruby-smie--backward-token): Only consider full-string matches.
3064
5b97b4c0
JD
30652013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3066
3067 * faces.el (describe-face): Add distant-foreground.
3068
71731c03
BB
30692013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3070
4e9fc48c
BB
3071 * progmodes/ruby-mode.el: Improve encoding comment handling.
3072 (ruby-encoding-magic-comment-style): New option.
3073 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
3074 (ruby--insert-coding-comment, ruby--detect-encoding):
3075 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
3076 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3077 to control the style of the auto-inserted encoding comment.
71731c03 3078
da3b328d
DG
30792013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3080
ad16897c
SM
3081 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3082 Use `smie-backward-sexp' with token argument.
da3b328d 3083
1606c2d3
MA
30842013-11-08 Michael Albinus <michael.albinus@gmx.de>
3085
3086 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3087 Remove instrumentation code.
3088
b0f4c320
GM
30892013-11-08 Glenn Morris <rgm@gnu.org>
3090
3091 * progmodes/autoconf.el (autoconf-mode):
3092 Tweak comment-start-skip. (Bug#15822)
3093
43668fb1
SM
30942013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3095
3096 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3097 at bobp (bug#15826).
3098 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3099
daddb3fd
DH
31002013-11-08 Darren Hoo <darren.hoo@gmail.com>
3101
3102 * man.el (Man-start-calling): New macro, extracted from
3103 Man-getpage-in-background.
3104 (Man-getpage-in-background): Use it.
3105 (Man-update-manpage): New command.
3106 (Man-mode-map): Bind it.
3107
1f923923
DG
31082013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3109
3110 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3111 of "and", "or", "&&" and "||".
3112 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3113 argument. Prohibit opening curly brace because it could only be a
3114 block opener in that position.
daddb3fd
DH
3115 (ruby-smie--forward-token, ruby-smie--backward-token):
3116 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
3117 arguments.
3118 (ruby-smie--indent-to-stmt): New function, seeks the end of
3119 previous statement or beginning of buffer.
3120 (ruby-smie-rules): Use it.
3121 (ruby-smie-rules): Check if there's a ":" before a curly block
3122 opener candidate; if there is, it's a hash.
3123
3220d527
SM
31242013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3125
3126 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3127 (cl--block-wrapper): Fix last accidental change.
3128
1eb1f9e0
MA
31292013-11-07 Michael Albinus <michael.albinus@gmx.de>
3130
3131 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3132 Instrument, in order to hunt failure on hydra.
3133
e6e4db3c
NT
31342013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3135
3136 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3137 malformed bindings form (bug#15814).
3138
b420ccfc
DG
31392013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3140
3141 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
3142 "." compared to " @ ". This incidentally fixes some indentation
3143 examples with "do".
e6e4db3c 3144 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
3145 (ruby-smie-grammar): New tokens: "and" and "or".
3146 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3147 Exclude "and" and "or". Remove "do" in order to work around token
3148 priorities.
3149 (ruby-smie-rules): Add all infix tokens. Handle the case of
3150 beginning-of-buffer.
b420ccfc 3151
6b4ac03e
GM
31522013-11-06 Glenn Morris <rgm@gnu.org>
3153
3154 * Makefile.in (setwins_almost, setwins_for_subdirs):
3155 Avoid accidental matches.
3156
5ca114d1
SM
31572013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3158
3159 * menu-bar.el (popup-menu): Use key-binding.
3160
f72552bd
EZ
31612013-11-06 Eli Zaretskii <eliz@gnu.org>
3162
3163 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3164 menus, support also the menus produced by minor modes.
3165 (Bug#15817)
3166
5d5c701e
LL
31672013-11-06 Leo Liu <sdl.web@gmail.com>
3168
3169 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 3170 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 3171
0a8b75e2
GM
31722013-11-06 Glenn Morris <rgm@gnu.org>
3173
3174 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
3175 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3176 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 3177
a35287ea
SM
31782013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3179
feca4e2d
SM
3180 * electric.el (electric-indent-just-newline): New command.
3181 (electric-indent-mode-map): New keymap.
3182 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3183 Re-add :group which weren't redundant.
3184
a35287ea
SM
3185 * electric.el (electric-indent-local-mode): New minor mode.
3186 (electric-indent-functions-without-reindent): New var.
3187 (electric-indent-post-self-insert-function): Use it.
3188 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3189
375761b2
EZ
31902013-11-05 Eli Zaretskii <eliz@gnu.org>
3191
9a6ad735
EZ
3192 * international/quail.el (quail-help): Be more explicit about the
3193 meaning of the labels shown on the keys. (Bug#15800)
3194
375761b2
EZ
3195 * startup.el (normal-top-level): Load the subdirs.el files before
3196 setting the locale environment. (Bug#15805)
3197
520a6e4a
SM
31982013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3199
0acfafef
SM
3200 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3201 via arguments so as to get the right ones (bug#15418).
3202
520a6e4a
SM
3203 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3204
15826261
MA
32052013-11-05 Michael Albinus <michael.albinus@gmx.de>
3206
3207 Fix problems found while writing a test suite.
3208
3209 * net/tramp-compat.el (tramp-compat-load): New defun.
3210 * net/tramp.el (tramp-handle-load): Use it.
3211
3212 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3213 "(numberp ok-if-already-exists)" correctly.
3214
d35f31a4
XF
32152013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3216
3217 * international/characters.el (glyphless-char-display-control):
3218 Add usage note.
3219
ae93bc74
BB
32202013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3221
520a6e4a
SM
3222 * progmodes/python.el (python-mode):
3223 * progmodes/scheme.el (scheme-mode):
3224 * progmodes/prolog.el (prolog-mode):
3225 * progmodes/ruby-mode.el (ruby-mode):
3226 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3227 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 3228
0ade65b5
SM
32292013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3230
a0d5f7a4
SM
3231 * rect.el (rectangle--highlight-for-redisplay):
3232 * emacs-lisp/smie.el (smie--next-indent-change):
3233 Use buffer-chars-modified-tick.
3234
c93f3f5c
SM
3235 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3236
0ade65b5
SM
3237 * electric.el (electric-indent-post-self-insert-function):
3238 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3239
ef9dd188
HE
32402013-11-04 Helmut Eller <eller.helmut@gmail.com>
3241
3242 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3243
306e7308
NT
32442013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3245
3246 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3247 (bug#15786).
3248
e5afbcac
SM
32492013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3250
1d01ad41
SM
3251 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3252
e5afbcac
SM
3253 * progmodes/python.el: Fix up last change.
3254 (python-shell--save-temp-file): New function.
3255 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3256 `string' comes from the current buffer.
3257 (python-shell-send-string-no-output): Remove `msg' arg.
3258 (python--use-fake-loc): New var.
3259 (python-shell-buffer-substring): Obey it. Try to compensate for the
3260 extra coding line added by python-shell--save-temp-file.
3261 (python-shell-send-region): Use python-shell--save-temp-file and
3262 python-shell-send-file directly. Add `nomain' argument.
3263 (python-shell-send-buffer): Use python-shell-send-region.
3264 (python-electric-pair-string-delimiter): New function.
3265 (python-mode): Use it.
3266
d0065ff1
EZ
32672013-11-04 Eli Zaretskii <eliz@gnu.org>
3268
3269 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3270 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3271 environment and decoding all of the default-directory's to here
3272 from command-line.
3273 (command-line): Decode also argv[0].
3274
3275 * loadup.el: Error out if default-directory is a multibyte string
3276 when we are dumping.
3277
3278 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3279
7397c587
TZ
32802013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3281
3282 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
3283 (package-menu--print-info, package-menu--archive-predicate):
3284 Add Archive column to package list.
7397c587 3285
b27cc9fc
MA
32862013-11-04 Michael Albinus <michael.albinus@gmx.de>
3287
3288 Fix problems found while writing a test suite.
3289
3290 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3291 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3292 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3293 to nil when running original file name handler. Otherwise,
3294 there are problems with constructs like "$$FOO".
3295
3296 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3297 for `localname'.
3298
d8c4f18a
BB
32992013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3300
7b530552
BB
3301 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3302
3303 * subr.el (version<, version<=, version=):
3304 Update docstrings with information for snapshot versions.
3305
d8c4f18a
BB
3306 * helpers.el: New library for misc helper functions.
3307 (hash-table-keys): New function returning a list of hash keys.
3308 (hash-table-values): New function returning a list of hash values.
3309
dca01b09
DG
33102013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3311
3312 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3313 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3314
0a749fa0
MN
33152013-11-04 Michal Nazarewicz <mina86@mina86.com>
3316
3317 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3318 checking whether point is after a 1-letter word.
3319
33202013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
3321
3322 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3323 Don't infloop when expanding region over `multiline' syntax-type that
3324 begins a line (bug#15778).
3325
4aca7145
SM
33262013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3327
3328 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3329 Make it into a proper minor mode.
3330 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3331 (rectangle-mark-mode-map): New keymap.
3332 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3333
a0833f62
GM
33342013-11-04 Glenn Morris <rgm@gnu.org>
3335
3336 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3337
e61845c1
SM
33382013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3339
3340 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3341 (ruby-smie-rules): Use smie-rule-parent instead.
3342
3343 * emacs-lisp/smie.el (smie-rule-parent): Always call
3344 smie-indent-virtual rather than only for hanging tokens.
3345 (smie--next-indent-change): New helper command.
3346
62942f89
GM
33472013-11-03 Glenn Morris <rgm@gnu.org>
3348
3349 * Makefile.in (abs_srcdir): Remove.
3350 (emacs): Unset EMACSLOADPATH.
3351
b0b9e592
GM
33522013-11-02 Glenn Morris <rgm@gnu.org>
3353
18ba6a33 3354 * Makefile.in (EMACS): Use a relative filename.
8061810d 3355 (abs_top_builddir): Remove.
18ba6a33
GM
3356 (custom-deps, finder-data, autoloads): Use --chdir.
3357
6a8b929e
GM
3358 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3359
c617f3d0
GM
3360 Use relative filenames in TAGS files.
3361 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3362 (lisptagsfiles4, TAGS): Use relative file names.
3363 (TAGS-LISP): Remove.
3364 (maintainer-clean): No more TAGS-LISP file.
3365
b0b9e592
GM
3366 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3367 (lisptagsfiles4): Use absolute filenames again.
3368 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3369 Remove all *loaddefs files, not just the first. Remove esh-groups.
3370 (maintainer-clean): Delete TAGS, TAGS-LISP.
3371
d1c0ea6a
BB
33722013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3373
e61845c1
SM
3374 * emacs-lisp/package.el (package-version-join):
3375 Recognize snapshot versions.
d1c0ea6a 3376
684d71c6
BB
33772013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3378
3379 * subr.el (version-regexp-alist): Add support for snapshot versions.
3380
3d42b968
DG
33812013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3382
e61845c1
SM
3383 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3384 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
3385 skip over our direct parent if it's an assignment token..
3386 (ruby-smie-rules): Use it.
3387
7ffd3721
DG
33882013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3389
8449dd1f 3390 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
3391 unconditionally. Remove now unnecessary forward declarations.
3392 Remove XEmacs-specific setup.
3393 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3394 (ruby-font-lock-syntactic-keywords)
3395 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3396 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3397 (ruby-here-doc-end-syntax): Remove.
3398 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3399 defined as function.
3400
a3996a2e
BB
34012013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3402
3403 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3404
6f9260e8
BB
34052013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3406
3407 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3408 table and abbrev table, `define-derived-mode' does that for us
3409 anyway.
3410
6014de84
GM
34112013-11-01 Glenn Morris <rgm@gnu.org>
3412
3413 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3414 files is atomic for some time, so no parallel compilation issues).
3415
3c334c14
JD
34162013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3417
3418 * faces.el (face-x-resources): Add :distant-foreground.
3419 (region): Use :distant-foreground for gtk and ns.
3420
9bc236c8
TH
34212013-11-01 Tassilo Horn <tsdh@gnu.org>
3422
5246583b 3423 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
3424 BibTeX.
3425 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3426 (reftex-locate-bibliography-files): Us it.
3427
d14c81ee
CB
34282013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3429
0e7690de
CB
3430 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3431 allow comments in pbm files.
3432
d14c81ee
CB
3433 * term/w32-win.el (dynamic-library-alist): Support newer versions
3434 of libjpeg starting with v7: look only for the DLL from the
3435 version against which Emacs was built.
ac1bf374 3436 Support versions of libpng beyond 1.4.x.
019c8218 3437 Support libtiff v4.x.
d14c81ee 3438
983d0df5
BB
34392013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3440
3441 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3442 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3443 Add property :safe.
3444 (ruby-deep-arglist): Add property :type.
3445
47f58d85
GM
34462013-10-31 Glenn Morris <rgm@gnu.org>
3447
3448 * Makefile.in (custom-deps, finder-data): No need to setq the target
3449 variables, we are in the right directory and the defaults work fine.
3450
4f85b479
GM
34512013-10-30 Glenn Morris <rgm@gnu.org>
3452
ca7dd4cd
GM
3453 * Makefile.in (autoloads): Do not use abs_lisp.
3454
4f85b479
GM
3455 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3456 `newline' does not respect `standard-output', so use `princ'.
3457
cf59e41c
AA
34582013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3459
3460 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3461 * buff-menu.el (Buffer-menu--unmark): New function.
3462 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3463
74cf04fb
GM
34642013-10-30 Glenn Morris <rgm@gnu.org>
3465
b040b60e
GM
3466 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3467
f53d3815
GM
3468 * emacs-lisp/package.el (lm-homepage): Declare.
3469
5413d873
GM
3470 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3471 Fix doc typos.
3472
cecedb36
GM
3473 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3474
74cf04fb
GM
3475 * Makefile.in (finder-data, autoloads, update-subdirs)
3476 (compile-main, compile-clean, compile-always, bootstrap-clean):
3477 Check return value of cd.
3478 (compile-calc): Remove.
3479
195ee2f0
SM
34802013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3481
ae4002ce
SM
3482 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3483
3484 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3485 (byte-compile-and-folded): New function.
3486 (=, <, >, <=, >=): Use it.
3487
3488 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3489 (path-separator, null-device, buffer-file-coding-system)
3490 (lpr-headers-switches): Check system-type before modifying them.
3491 (find-buffer-file-type-coding-system): Mark obsolete.
3492 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3493 find-file-not-found-set-buffer-file-coding-system.
3494 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3495 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3496 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3497 (w32-direct-print-region-helper, w32-direct-print-region-function)
3498 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3499 * startup.el (normal-top-level-add-subdirs-to-load-path):
3500 * ps-print.el (ps-print-region-function):
3501 * lpr.el (print-region-function): Use new name.
3502
53b39e89
SM
3503 * subr.el (custom-declare-variable-early): Remove function.
3504 (custom-declare-variable-list): Remove var.
3505 (error, user-error): Remove `while' loop.
3506 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3507 (user-emacs-directory-warning, locate-user-emacs-file):
3508 Move to files.el.
3509 * simple.el (read-quoted-char-radix, read-quoted-char):
3510 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3511 Move from subr.el.
3512 * custom.el (custom-declare-variable-list): Don't process
3513 custom-declare-variable-list.
3514
195ee2f0
SM
3515 * progmodes/python.el (python-shell-get-buffer): New function.
3516 (python-shell-get-process): Use it.
3517 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3518 Python which encoding was used. Don't split-string since we only care
3519 about the first line. Return the temp-file, if applicable.
3520 (python-shell-send-region): Tell compile.el how to turn locations in
3521 the temp-file into locations in the source buffer.
3522
7e3561ee
SM
35232013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3524
4c9797cb
SM
3525 * subr.el (undefined): Add missing behavior from the C code for
3526 unbound keys.
3527
3472b6c6
SM
3528 * rect.el: Use lexical-binding. Add new rectangular region support.
3529 (rectangle-mark): New command.
3530 (rectangle--region): New var.
3531 (deactivate-mark-hook): Reset rectangle--region.
3532 (rectangle--extract-region, rectangle--insert-for-yank)
3533 (rectangle--highlight-for-redisplay)
3534 (rectangle--unhighlight-for-redisplay): New functions.
3535 (region-extract-function, redisplay-unhighlight-region-function)
3536 (redisplay-highlight-region-function): Use them to handle
3537 rectangular region.
3538 * simple.el (region-extract-function): New var.
3539 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3540 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3541 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3542 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3543 (redisplay-unhighlight-region-function)
3544 (redisplay-highlight-region-function): New vars.
3545 (redisplay--update-region-highlight): New function.
3546 (pre-redisplay-function): Use it.
3547 (exchange-point-and-mark): Don't deactivate the mark before
3548 reactivate-it anyway.
3549 * comint.el (comint-kill-region): Remove yank-handler argument.
3550 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3551 (delete-char): Remove property, since it's now part of their
3552 default behavior.
3553 (self-insert-iso): Remove property since this command doesn't exist.
3554
7e3561ee
SM
3555 * emacs-lisp/package.el (package--download-one-archive)
3556 (describe-package-1): Don't query the user about final newline.
3557
b9bef71f
DC
35582013-10-29 Daniel Colascione <dancol@dancol.org>
3559
3560 * net/tramp.el (tramp-methods): Document new functionality.
3561 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3562 tramp-hostname-checker if method provides one instead of scanning
3563 argument list for "%h" to decide hostname acceptability.
3564
4efc33f0
MA
35652013-10-28 Michael Albinus <michael.albinus@gmx.de>
3566
3567 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3568 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3569 Handle COPY-CONTENTS. (Bug#15737)
3570
ed42a877
DU
35712013-10-28 Daiki Ueno <ueno@gnu.org>
3572
3573 * epa-file.el
7e3561ee
SM
3574 (epa-file-cache-passphrase-for-symmetric-encryption):
3575 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 3576
18c9f8a2
XF
35772013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3578
7a4bc7be
XF
3579 * image.el (defimage):
3580 (image-load-path): Doc fixes.
18c9f8a2 3581
b1e8e010
AM
35822013-10-27 Alan Mackenzie <acm@muc.de>
3583
3584 Indent statements in macros following "##" correctly.
7e3561ee
SM
3585 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3586 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 3587
73d40d1e 35882013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
3589
3590 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3591
c8c605ac
DG
35922013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3593
3594 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3595 after `=' is probably a new expression.
3596
ca7e59d4
RS
35972013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3598
3599 * man.el (man-imenu-title): New option.
3600 (Man-mode-map): Add menu. (Bug#15722)
3601 (Man-mode): Add imenu to menu.
3602
bae91342
DG
36032013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3604
3605 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3606 specific in what the first arg can be: a non-keyword word,
3607 string/regexp/percent literal opener, opening paren, or unary
3608 operator followed directly by word.
3609
eb89dc14
SM
36102013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3611
3612 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3613 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3614 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3615 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3616 Remove vars, they do not apply any more.
3617 (prolog-mode-abbrev-table): Remove redundant declaration.
3618 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3619 (prolog-use-smie): Remove.
3620 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3621 supported by prolog-electric-if-then-else-flag.
3622 (prolog-mode-variables, prolog-menu): Use setq-local.
3623 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3624 Remove binding to `Backspace' since this key doesn't exist anyway.
3625 Remove bindings for electric self-inserting keys.
3626 (prog-mode): Assume it's defined.
3627 (prolog-post-self-insert): New function.
3628 (prolog-mode): Use it.
3629 (prolog-indent-line, prolog-indent-level)
3630 (prolog-find-indent-of-matching-paren)
3631 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3632 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3633 (prolog-goto-next-paren, prolog-in-string-or-comment)
3634 (prolog-tokenize, prolog-inside-mline-comment)
3635 (prolog-find-start-of-mline-comment): Remove functions.
3636 (prolog-find-unmatched-paren, prolog-clause-end)
3637 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3638 (prolog-electric--if-then-else): Rename from
3639 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3640 (prolog-tokenize-searchkey): Remove const.
3641 (prolog-clause-info): Use forward-sexp.
3642 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3643 (prolog-electric-if-then-else): Remove commands.
3644 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3645 for use in post-self-insert-hook.
3646 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3647 for use in post-self-insert-hook.
3648 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3649 for use in post-self-insert-hook.
3650 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3651 adapt it for use in post-self-insert-hook.
3652
3dab0a83
MA
36532013-10-25 Michael Albinus <michael.albinus@gmx.de>
3654
3655 * emacs-lisp/ert.el (ert-run-tests-interactively):
3656 Use `completing-read'. (Bug#9756)
3657
fbfd0e1d
EZ
36582013-10-25 Eli Zaretskii <eliz@gnu.org>
3659
3660 * simple.el (line-move): Call line-move-1 instead of
3661 line-move-visual when the current window hscroll is zero, but
3662 temporary-goal-column indicates we will need to hscroll as result
3663 of the movement. (Bug#15712)
3664
963ce636
DG
36652013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3666
3667 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
3668 capitalization. Use :visible instead of :active.
3669 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
3670 commands that are used with SMIE.
3671 (ruby-do-end-to-brace): Insert space after `{'.
3672
a0be396a
JA
36732013-10-25 John Anthony <john@jo.hnanthony.com>
3674
f73754c9
JA
3675 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3676
3677 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 3678
f5bf77df
GM
36792013-10-25 Glenn Morris <rgm@gnu.org>
3680
3681 * vc/vc.el (vc-print-log): Don't use a working revision unless
3682 one was explicitly specified. (Bug#15322)
3683
37241f62
SM
36842013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3685
3686 * subr.el (add-to-list): Preserve return value in compiler-macro
3687 (bug#15692).
3688
6408a65d
RS
36892013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3690
3691 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3692 result. Ask user to retry using '-all' flag. (Bug#15701)
3693
71e3276b
SM
36942013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3695
3696 * emacs-lisp/smie.el: New smie-config system.
3697 (smie-config): New defcustom.
3698 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3699 (smie-config-guess, smie-config-save): New commands.
3700 (smie-config--mode-local, smie-config--buffer-local)
3701 (smie-config--trace, smie-config--modefuns): New vars.
3702 (smie-config--advice, smie-config--mode-hook)
3703 (smie-config--setter, smie-config-local, smie-config--get-trace)
3704 (smie-config--guess-value, smie-config--guess): New functions.
3705 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3706 text properties. Treat "string fence" syntax like string syntax.
3707
3708 * progmodes/sh-script.el (sh-use-smie): Change default.
3709 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3710 (sh-var-value): Simplify by CSE.
3711 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3712 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3713 is used.
3714 (sh-guess-basic-offset): Use cl-incf.
3715 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3716
60db713e
HE
37172013-10-24 Helmut Eller <eller.helmut@gmail.com>
3718
3719 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3720 (bug#15699).
3721
8b251df6
GM
37222013-10-24 Glenn Morris <rgm@gnu.org>
3723
3724 * Makefile.in (abs_top_srcdir): Remove.
3725 (update-subdirs): Use relative path to update-subdirs.
3726
6be0e22b
EZ
37272013-10-24 Eli Zaretskii <eliz@gnu.org>
3728
3729 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3730 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
3731 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3732 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 3733
50b5b857
MA
37342013-10-24 Michael Albinus <michael.albinus@gmx.de>
3735
3736 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3737 (ert-test-skipped): New error.
3738 (ert-skip, ert-stats-skipped): New defuns.
3739 (ert--skip-unless): New macro.
3740 (ert-test-skipped): New struct.
3741 (ert--run-test-debugger, ert-test-result-type-p)
3742 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3743 (ert--stats-set-test-and-result, ert-char-for-test-result)
3744 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 3745 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 3746 Handle skipped tests. (Bug#9803)
50b5b857 3747
6f317c2f
GM
37482013-10-24 Glenn Morris <rgm@gnu.org>
3749
e43817c1
GM
3750 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3751
6f317c2f
GM
3752 * Makefile.in (abs_top_srcdir): New, set by configure.
3753 (update-subdirs): Correct build-aux location.
3754
369bbf71
DG
37552013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3756
8297b2cf
DG
3757 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3758 value, whether we could auto-deduce `backend', or not.
3759
369bbf71
DG
3760 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3761 with parameters" example. Simplify the "is it block or is it
3762 hash" check, but also make it more thorough.
3763
d5f1282f
MF
37642013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3765
3766 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3767
bc4aaa31
SM
37682013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3769
03d44565
SM
3770 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3771 { if it is hanging.
3772
bc4aaa31
SM
3773 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3774 :before ";".
3775
f493ff19
JB
37762013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3777
3778 * progmodes/compile.el (compilation-directory-matcher)
3779 (compilation-page-delimiter):
3780 Support GNU Make-4.0 directory quoting. (Bug#15678)
3781
c744a3b9
LL
37822013-10-23 Leo Liu <sdl.web@gmail.com>
3783
3784 * ido.el (ido-tidy): Handle read-only text.
3785
b8e3b0a9
GM
37862013-10-23 Glenn Morris <rgm@gnu.org>
3787
3788 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3789 (emacs, compile, compile-always):
3790 Quote entities that might contain whitespace.
3791 (custom-deps, finder-data, autoloads): Use abs_lisp.
3792 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3793 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3794 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3795
ee4282cd
DG
37962013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3797
bc4aaa31
SM
3798 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3799 Use `following-char'.
7790a270 3800
ee4282cd 38012013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
3802
3803 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3804 * progmodes/ruby-mode.el (ruby-smie-rules):
3805 Remove corresponding workaround. Fix indentation rule of ";" so it
3806 also applies when ";" is the parent.
3807
d40a46d7
XF
38082013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3809
3810 * frame.el (display-screens, display-pixel-height)
3811 (display-pixel-width, display-mm-width, display-backing-store)
3812 (display-save-under, display-planes, display-color-cells)
7790a270
SM
3813 (display-visual-class, display-monitor-attributes-list):
3814 Mention the optional ‘display’ argument in doc strings.
d40a46d7 3815
a0f143c9
MG
38162013-10-22 Michael Gauland <mikelygee@amuri.net>
3817
3818 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3819 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3820
18cacc39
DG
38212013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3822
3823 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3824 TODO. Add "." after " @ ".
3825 (ruby-smie--at-dot-call): New function. Checks if point at method
3826 call with explicit target.
3827 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3828 to the method name tokens when it precedes them.
3829 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3830 (ruby-smie-rules): Add rule for indentation before and after "."
3831 token.
3832
df74c4be
SM
38332013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3834
c6dab55f
SM
3835 * textmodes/remember.el (remember-diary-extract-entries):
3836 Avoid add-to-list.
3837
df74c4be
SM
3838 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3839 an instruction.
3840
8c1ae481
DG
38412013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3842
e9dc713d
JB
3843 * progmodes/ruby-mode.el (ruby-smie-grammar):
3844 Add (almost) all infix operators.
cfef16c0
DG
3845 (ruby-smie--implicit-semi-p): Add new operator chars.
3846
8c1ae481
DG
3847 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3848 `smie-down-list'.
3849 (ruby-smie--args-separator-p): Check that there's no newline
3850 between method call and its arguments.
3851
87756ca9
AM
38522013-10-20 Alan Mackenzie <acm@muc.de>
3853
3854 Allow comma separated lists after Java "implements".
3855
df74c4be
SM
3856 * progmodes/cc-engine.el (c-backward-over-enum-header):
3857 Parse commas.
87756ca9
AM
3858 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3859 from a "disallowed" list in enum fontification.
3860
c25f8957
JB
38612013-10-20 Johan Bockgård <bojohan@gnu.org>
3862
df74c4be 3863 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 3864
c25f8957
JB
3865 * progmodes/verilog-mode.el (verilog-mode): Don't set
3866 comment-indent-function globally.
3867
aca5fcdc
JD
38682013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3869
5f161884
JD
3870 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3871 Move Info menu item creation to ns-win.el.
3872
3873 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3874 in menu bar.
3875
a6c4680a 3876 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
3877
3878 * term/ns-win.el (ns-initialize-window-system): ... to here.
3879
914b7f98
SM
38802013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3881
3882 * simple.el (newline): Only run post-self-insert-hook when
3883 called interactively.
3884
846ffe77
JB
38852013-10-19 Johan Bockgård <bojohan@gnu.org>
3886
3887 * icomplete.el (icomplete-with-completion-tables): Add :version.
3888
033f22dd
AM
38892013-10-19 Alan Mackenzie <acm@muc.de>
3890
3891 Fix fontification bugs with constructors and const.
3892
3893 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3894 CASE 2) Remove the check for the absence of a suffix construct
3895 after a function declaration with only types (no identifiers) in
3896 the parentheses. Also, accept a function declaration with just a
3897 type inside the parentheses, if this type can be positively
3898 recognised as such, or if a prefix keyword like "explicit" nails
3899 down the construct as a declaration.
3900
58ce0cfc
EZ
39012013-10-19 Eli Zaretskii <eliz@gnu.org>
3902
3903 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3904 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3905 the problem whereby selecting a menu item that leads to a
3906 minibuffer prompt moves the cursor out of the minibuffer window,
3907 making it hard to type at the prompt. Suggested by Stefan Monnier
3908 <monnier@iro.umontreal.ca>.
3909
50e28e7d
JD
39102013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3911
3912 * menu-bar.el: Don't make Services menu.
3913
7deed4bf
RS
39142013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3915
3916 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3917 (ffap-alist): Use ffap-c++-mode for c++-mode.
3918 (ffap-c++-path): New variable.
3919 (ffap-c++-mode): New function.
3920
7bcb455b
JVJ
39212013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3922
3923 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3924
f0ff1cd5
MA
39252013-10-18 Michael Albinus <michael.albinus@gmx.de>
3926
3927 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3928 introduced on 2013-09-08, which results in an infinite loop
3929 requesting a password.
3930
d64da4b7
GM
39312013-10-18 Glenn Morris <rgm@gnu.org>
3932
3933 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3934
ea89ff08
WS
39352013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3936
3937 Sync with upstream verilog-mode revision 1a6ecec7.
3938 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3939 (verilog-mode-release-date): Remove.
3940 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3941 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3942 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3943 (verilog-auto-tieoff-ignore-regexp)
3944 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3945 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3946 (verilog-signals-with, verilog-dir-cache-preserving)
3947 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3948 Doc fixes.
3949 (verilog-case-fold): New option, to control case folding in
3950 regexp searches, bug597.
3951 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3952 (verilog-string-match-fold, verilog-in-paren-count)
3953 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3954 (verilog-at-close-struct-p): New functions.
3955 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3956 (verilog-forward-sexp, verilog-set-auto-endcomments):
3957 (verilog-leap-to-case-head): Handle "unique0" case.
3958 (verilog-in-constraint-re): New constant.
3959 (verilog-keywords, verilog-type-font-keywords):
3960 Add some SystemVerilog 1800-2012 keywords.
3961 (verilog-label-be): Remove unimplemented argument, bug669.
3962 (verilog-batch-execute-func): When batch expanding clear
3963 create-lockfiles to prevent spurious user locks when a file ends
3964 up not changing.
3965 (verilog-calculate-indent, verilog-calc-1)
3966 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3967 (verilog-do-indent): Fix indentation of nested constraints
3968 and structures.
3969 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3970 (verilog-auto-inst-param): Use verilog-string-match-fold.
3971 (verilog-read-inst-module-matcher):
3972 Fix AUTOINST on gate primitives with #1.
3973 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3974 Reads all user-defined typed variables.
3975 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3976 (verilog-signals-matching-regexp)
3977 (verilog-signals-not-matching-regexp, verilog-auto):
3978 Respect verilog-case-fold.
3979 (verilog-diff-report): Fix line count.
3980 (verilog-auto-assign-modport): Remove unused local `modi'.
3981 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3982 better handle multidimensional arrays.
3983 Fix packed array ports misadding bit index in AUTOINST, bug637.
3984 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3985 to not double-declare existing outputs and inputs, respectively.
3986 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3987 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3988 (verilog-sk-uvm-component): New skeleton.
3989 (verilog-submit-bug-report): Add verilog-case-fold,
3990 remove verilog-mode-release-date.
3991
ef566920
BR
39922013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3993
a12bf61e 3994 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
3995 as before.
3996
29df8a0b
RT
39972013-10-18 Reuben Thomas <rrt@sc3d.org>
3998
e0eb0550 3999 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
4000 remember buffers (bug#13566).
4001
04a19a79
DC
40022013-10-18 Daniel Colascione <dancol@dancol.org>
4003
4004 When evaluating forms in ielm, direct standard output to ielm
4005 buffer. Add new ielm-return-for-effect command. Remove trailing
4006 whitespace throughout.
4007
4008 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4009 (ielm-return-for-effect): New command.
4010 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
4011 (ielm-eval-input): Accept optional `for-effect' parameter.
4012 Bind `standard-output' to stream we create using
04a19a79
DC
4013 `ielm-standard-output-impl'. Suppress printing result when
4014 `for-effect'.
4015 (ielm-standard-output-impl): New function.
4016 (inferior-emacs-lisp-mode): Explain new features in documentation.
4017
4c1f03ef
MA
40182013-10-17 Michael Albinus <michael.albinus@gmx.de>
4019
4020 Code cleanup.
4021
4022 * net/tramp.el (tramp-debug-message): Do not check for connection
4023 buffer.
4024 (tramp-message): Use "vector" connection property.
4025
4026 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4027 (tramp-equal-remote, tramp-eshell-directory-change)
4028 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4029 (tramp-adb-handle-rename-file)
4030 * net/tramp-cmds.el (tramp-list-remote-buffers)
4031 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4032 * net/tramp-compat.el (tramp-compat-process-running-p)
4033 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4034 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4035 (tramp-gvfs-handle-rename-file)
4036 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4037 (tramp-set-file-uid-gid)
4038 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4039 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4040 of `file-remote-p'.
4041
4042 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4043 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4044 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4045 (tramp-gw-open-network-stream): Suppress unrelated traces.
4046
4047 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4048 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4049 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4050 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4051 connection property.
4052
4053 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 4054 persistency file.
4c1f03ef
MA
4055
4056 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4057 Refactor common code. Improve debug message.
4058 (tramp-maybe-open-connection)
4059 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4060 connection buffer too early.
4061
4062 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4063 from `tramp-smb-actions-with-acl'.
4064 (tramp-smb-actions-set-acl): New defconst.
4065 (tramp-smb-handle-copy-directory)
4066 (tramp-smb-action-get-acl): New defun, renamed from
4067 `tramp-smb-action-with-acl'.
4068 (tramp-smb-action-set-acl): New defun.
4069 (tramp-smb-handle-set-file-acl): Rewrite.
4070
642eb8b6
GM
40712013-10-17 Glenn Morris <rgm@gnu.org>
4072
4073 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4074
85527ff3
SM
40752013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4076
921c1d62
SM
4077 * skeleton.el (skeleton-newline): Remove.
4078 (skeleton-internal-1): Use (insert "\n") instead.
4079
e333fb10
SM
4080 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4081 let-bindings.
4082
85527ff3
SM
4083 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4084 forward-sexp-function while we redo its job (bug#15613).
4085
c8722a97
JB
40862013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4087
4088 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4089 represented by lists.
4090
7a550bbb
GM
40912013-10-16 Glenn Morris <rgm@gnu.org>
4092
4093 * tmm.el (tmm--history): New dynamic variable.
4094 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4095
f19da8ad
MA
40962013-10-16 Michael Albinus <michael.albinus@gmx.de>
4097
4098 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4099 (tramp-smb-errors): Add error messages.
4100 (tramp-smb-actions-with-acl): New defconst.
4101 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4102 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4103 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4104 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4105 (tramp-smb-get-stat-capability): Fix tests.
4106
a24b9961
DK
41072013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4108
4109 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4110 (bug#15580).
4111
62ad85e6
GM
41122013-10-16 Glenn Morris <rgm@gnu.org>
4113
0283d6b0
GM
4114 * ansi-color.el (ansi-color-drop-regexp):
4115 Add 1J, 1K, 2K. (Bug#15617)
4116
012e2f9f
GM
4117 * files.el (hack-local-variables--warned-lexical): New.
4118 (hack-local-variables):
4119 Warn about misplaced lexical-binding. (Bug#15616)
4120
62ad85e6
GM
4121 * net/eww.el (eww-render): Always set eww-current-url,
4122 and update header line. (Bug#15622)
4123 (eww-display-html): ... Rather than just doing it here.
4124
6456c0ea
EZ
41252013-10-15 Eli Zaretskii <eliz@gnu.org>
4126
4127 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4128 menu navigations commands.
4129
c2de5588
DK
41302013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4131
4132 * progmodes/subword.el (subword-capitalize): Be careful when
4133 the search for [[:alpha:]] fails (bug#15580).
4134
ccd4a783
EZ
41352013-10-14 Eli Zaretskii <eliz@gnu.org>
4136
4137 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4138 to commands that scroll the menu.
4139
1eda1d8d
DG
41402013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4141
c2de5588
DK
4142 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4143 Handle methods ending with `?' and `!'.
1eda1d8d 4144
e70181b8
AM
41452013-10-14 Akinori MUSHA <knu@iDaemons.org>
4146
4147 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4148 `japanese-cp932' to `cp932' to fix the problem where saving a
4149 source file written in Shift_JIS twice would end up having
4150 `coding: japanese-cp932' which Ruby could not recognize.
4151 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4152 in `ruby-encoding-map'.
4153 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4154 doesn't need to be explicitly declared in magic comment.
4155 (ruby-encoding-map): Add type declaration for better customize UI.
4156
9148ee92
GM
41572013-10-13 Glenn Morris <rgm@gnu.org>
4158
a5d38e34
GM
4159 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4160 Occur buffers are read-only. http://bugs.debian.org/720775
4161
9148ee92
GM
4162 * emacs-lisp/authors.el (authors-fixed-entries):
4163 Comment out old alpha stuff.
4164
a9ba094b
DG
41652013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4166
4167 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4168 to `after-save-hook' instead of `before-save-hook'.
4169 (ruby-mode-set-encoding): Use the value of coding system used to
4170 write the file. Call `basic-save-buffer-1' after modifying the
4171 buffer.
4172
7a068717
AM
41732013-10-13 Alan Mackenzie <acm@muc.de>
4174
4175 Fix indentation/fontification of Java enum with
4176 "implements"/generic.
4177
c2de5588
DK
4178 * progmodes/cc-engine.el (c-backward-over-enum-header):
4179 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
4180 (c-inside-bracelist-p): Uses new function above.
4181 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4182 function above.
4183 (c-font-lock-enum-tail): Uses new function above.
4184
85b64f02
KH
41852013-10-13 Kenichi Handa <handa@gnu.org>
4186
4187 * international/mule-cmds.el (select-safe-coding-system): Remove a
4188 superfluous condition in chekcing whether a coding system is safe
4189 or not.
4190
fc7f501b
OK
41912013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4192
4193 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4194
fdcb2049
AP
41952013-10-13 Andreas Politz <politza@hochschule-trier.de>
4196
4197 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4198
8c106d17
GM
41992013-10-13 Glenn Morris <rgm@gnu.org>
4200
feab892d
GM
4201 * menu-bar.el (menu-bar-update-buffers):
4202 Unify Buffers menu prompt string. (Bug#15576)
4203
b22d0686
GM
4204 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4205
8c106d17
GM
4206 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4207 Add some entries.
4208 (authors-fixed-entries): Use accented form of name.
4209
1b12c797
SM
42102013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4211
650fa7bf 4212 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 4213 method calls (bug#15594).
650fa7bf
SM
4214 (ruby-smie--args-separator-p): New function.
4215 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4216 recognize paren-free method calls.
4217
1b12c797
SM
4218 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4219 internals of universal-argument.
4220
029619c8
EZ
42212013-10-11 Eli Zaretskii <eliz@gnu.org>
4222
4223 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
4224 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4225 dropped menu on second mouse click on the menu bar.
029619c8 4226
dd070019
SM
42272013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4228
4229 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4230 (explicit-shell-file-name): Declare.
4231 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4232 (sh-completion-at-point-function): New function.
4233 (sh-mode): Use it.
4234 (sh-smie--keyword-p): Remove unused argument.
4235 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4236 vars.
4237 (sh-set-shell): Always setup SMIE, even if we use the
4238 old indentation code.
4239
0922b826
DG
42402013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4241
b68e2926
DG
4242 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4243 cases of ? and =.
4244 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4245 predicate would return nil are almost non-existent.
4246 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4247
0922b826
DG
4248 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4249 cache also after commands that modify the buffer but don't move
4250 point.
4251
ee041f2d
SM
42522013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4253
4254 * env.el (substitute-env-in-file-name): New function.
4255 (substitute-env-vars): Extend the meaning of the optional arg.
4256
a5dab159
EZ
42572013-10-10 Eli Zaretskii <eliz@gnu.org>
4258
4259 * term/w32-win.el (dynamic-library-alist): Define separate lists
4260 of GIF DLLs for versions before and after 5.0.0 of giflib.
4261 (Bug#15531)
4262
0449d6cd 42632013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
4264
4265 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4266 not locked, use last revision and current source as
4267 defaults. (Bug#15569)
4268
2f6e161e
MY
42692013-10-10 Masatake YAMATO <yamato@redhat.com>
4270
4271 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4272 menu-bar is hidden.
4273
6c8413fc
MR
42742013-10-10 Martin Rudalics <rudalics@gmx.at>
4275
4276 * window.el (pop-to-buffer-same-window): Fix doc-string.
4277 (Bug#15492)
4278
20832de0
SM
42792013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4280
4281 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4282
c6e8ae77
AC
42832013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4284
4285 * calendar/icalendar.el (icalendar-import-file):
4286 Fix interactive spec. (Bug#15482)
4287
9db13baf
GM
42882013-10-10 Glenn Morris <rgm@gnu.org>
4289
9271e90e
GM
4290 * desktop.el (desktop-save): Default to saving in .emacs.d,
4291 since PWD is no longer in desktop-path by default. (Bug#15319)
4292
9db13baf
GM
4293 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4294 now that text mode has a menu with the same entry.
4295 (menu-bar-text-mode-auto-fill): Remove now unused func.
4296 * textmodes/text-mode.el (text-mode-map):
4297 Use auto-fill help text from menu-bar.el.
4298
a0be396a 42992013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
4300
4301 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4302
2edcd3c7
JL
43032013-10-09 Juri Linkov <juri@jurta.org>
4304
4305 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4306 instead of this-command-keys. Add universal-argument-more and
4307 universal-argument-minus to the list of prefix commands. (Bug#15568)
4308
574411d0
GM
43092013-10-09 Glenn Morris <rgm@gnu.org>
4310
14afa541
GM
4311 * vc/vc-svn.el (vc-svn-create-repo):
4312 Expand paths in file://... url. (Bug#15446)
4313
574411d0
GM
4314 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4315 Add some entries.
4316 (authors): Remove unused local variables.
4317
79804536
SM
43182013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4319
4320 * profiler.el: Create a more coherent calltree from partial backtraces.
4321 (profiler-format): Hide the tail with `invisible' so that C-s can still
4322 find the hidden elements.
4323 (profiler-calltree-depth): Don't recurse so enthusiastically.
4324 (profiler-function-equal): New hash-table-test.
4325 (profiler-calltree-build-unified): New function.
4326 (profiler-calltree-build): Use it.
4327 (profiler-report-make-name-part): Indent the calltree less.
4328 (profiler-report-mode): Add visibility specs for profiler-format.
4329 (profiler-report-expand-entry, profiler-report-toggle-entry):
4330 Expand the whole subtree when provided with a prefix arg.
4331
238150c8
DG
43322013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4333
4334 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4335 iuwu-mod token.
4336 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4337 hanging iuwu-mod token.
4338 (ruby-smie--forward-token): Do not include a dot after a token in
4339 that token.
4340 (ruby-smie--backward-token): Likewise.
4341
b0949cc4
JL
43422013-10-08 Juri Linkov <juri@jurta.org>
4343
4344 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4345 to isearch-other-control-char.
4346 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4347 and isearch-post-command-hook to post-command-hook.
4348 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4349 and isearch-post-command-hook from post-command-hook.
4350 (isearch-unread-key-sequence)
4351 (isearch-reread-key-sequence-naturally)
4352 (isearch-lookup-scroll-key, isearch-other-control-char)
4353 (isearch-other-meta-char): Remove functions.
4354 (isearch-pre-command-hook, isearch-post-command-hook):
4355 New functions based on isearch-other-meta-char rewritten
4356 relying on the new behavior of overriding-terminal-local-map
4357 that does not replace the local keymaps any more. (Bug#15200)
4358
4ed77415
EZ
43592013-10-08 Eli Zaretskii <eliz@gnu.org>
4360
4361 Support menus on text-mode terminals.
4362 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4363 functionality.
4364
4365 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4366
c2de5588
DK
4367 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4368 Move here from mouse.el.
4ed77415
EZ
4369 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4370 and arrow keys.
4371 (tty-menu-navigation-map): New map for TTY menu navigation.
4372
4373 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4374
4375 * frame.el (display-mouse-p): Report text-mode mouse as available
4376 on w32.
4377 (display-popup-menus-p): Report availability if mouse is
4378 available; don't condition on window-system.
4379
4380 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4381 (tty-menu-selected-face): New faces.
4382
b7d5bd82
TL
43832013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4384
06286513
SM
4385 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4386 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4387 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4388 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4389 New constants.
4390 (lisp-mode-variables): New `elisp' argument.
4391 (emacs-lisp-mode): Use it.
4392 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4393 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4394
b7d5bd82
TL
4395 * indent.el: Use lexical-binding.
4396 (indent-region): Add progress reporter.
4397 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4398 last step.
4399 (indent--next-tab-stop): New function to implement this behavior.
4400 (tab-to-tab-stop, move-to-tab-stop): Use it.
4401
44022013-10-08 Teemu Likonen <tlikonen@iki.fi>
4403
4404 * indent.el (indent-rigidly--current-indentation): New function.
4405 (indent-rigidly-map): New var.
4406 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4407
5ea75d23
BG
44082013-10-08 Bastien Guerry <bzg@gnu.org>
4409
f2726fa2 4410 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 4411
cc5da1ec
SM
44122013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4413
8ffa1a0b
SM
4414 * progmodes/perl-mode.el: Use lexical-binding.
4415 Remove redundant :group args.
4416 (perl-nochange): Change default to be closer to other major modes's
4417 standard behavior.
4418 (perl-indent-line): Don't consider text on current line as a
4419 valid beginning of function from which to indent.
4420
f2223371
SM
4421 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4422 with more than one argument (bug#15538).
4423
44256060
SM
4424 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4425
cc5da1ec
SM
4426 * vc/pcvs.el: Use lexical-binding.
4427 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4428 environment of `eval'.
4429 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4430 than a list of expressions. Adjust callers.
4431 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4432
0ea1599d
DG
44332013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4434
4435 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 4436 case of the dot in a chained method call being on the following line.
0ea1599d 4437
da3e5ebb
SM
44382013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4439
2abb4e65
SM
4440 * electric.el (electric-indent-inhibit): New var.
4441 (electric-indent-post-self-insert-function): Use it.
4442 * progmodes/python.el (python-mode): Set it.
4443
d2e0e795
SM
4444 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4445 open braces.
4446
4447 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4448
bdc6b4c8
SM
4449 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4450 (css-mode): Use electric-indent-chars.
4451
da3e5ebb
SM
4452 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4453 (font-lock-beg, font-lock-end): Move before first use.
4454 (nxml-mode): Use syntax-propertize-function.
4455 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4456 (nxml-extend-after-change-region): Remove.
4457 * nxml/xmltok.el: Use lexical-binding.
4458 (xmltok-save): Use `declare'.
4459 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4460 * nxml/nxml-util.el: Use lexical-binding.
4461 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4462 Use `declare'.
4463 * nxml/nxml-ns.el: Use lexical-binding.
4464 (nxml-ns-save): Use `declare'.
4465 (nxml-ns-prefixes-for): Avoid add-to-list.
4466 * nxml/rng-match.el: Use lexical-binding.
4467 (rng--ipattern): Use cl-defstruct.
4468 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4469 (rng-cons-group-after, rng-subst-group-after)
4470 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4471 Use closures instead of `(lambda...).
4472
f8f91d5d
MA
44732013-10-07 Michael Albinus <michael.albinus@gmx.de>
4474
4475 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4476 of BEG and END.
4477
da3e5ebb
SM
4478 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4479 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
4480 (tramp-gvfs-handle-insert-file-contents): Remove function.
4481
da3e5ebb
SM
4482 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4483 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
4484
4485 * net/trampver.el: Update release number.
4486
7ccae3b1
SM
44872013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4488
55ca2c0d
SM
4489 * progmodes/compile.el (compilation-parse-errors):
4490 Use compilation--put-prop.
4491 (compilation--ensure-parse): Check compilation-multiline.
4492
731fc3ae
SM
4493 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4494
da3e5ebb
SM
4495 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4496 lexical-binding.
a5833280 4497
2e7ba2c2
SM
4498 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4499
7ccae3b1
SM
4500 * progmodes/ruby-mode.el: Fix recently added tests.
4501 (ruby-smie-grammar): Add - and +.
4502 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4503 (ruby-smie--backward-id): New functions.
4504 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4505 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4506 any more.
4507
85698d63
LL
45082013-10-07 Leo Liu <sdl.web@gmail.com>
4509
4510 * register.el (register-preview-delay)
4511 (register-preview-functions): New variables.
4512 (register-read-with-preview, register-preview)
4513 (register-describe-oneline): New functions.
4514 (point-to-register, window-configuration-to-register)
4515 (frame-configuration-to-register, jump-to-register)
4516 (number-to-register, view-register, insert-register)
4517 (copy-to-register, append-to-register, prepend-to-register)
4518 (copy-rectangle-to-register): Use register-read-with-preview to
4519 read register. (Bug#15525)
4520
3986af6c
DS
45212013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4522
4523 * net/network-stream.el (network-stream-open-starttls): Don't add
4524 --insecure if it's already present, because that gnutls-cli
4525 rejects getting that parameter twice.
4526
5cd9cda9
DG
45272013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4528
4529 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4530 keyword, too.
4531
da9ea6d9
DG
45322013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4533
4534 * newcomment.el (comment-use-global-state): Change default value
4535 to t, mark obsolete (Bug#15251).
4536 (comment-beginning): In addition to `comment-to-syntax', check the
4537 value of `comment-use-global-state'.
4538
34d1a133
SM
45392013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4540
4541 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4542 (ruby-comment-column): Follow the global default, by default.
4543 (ruby-smie-grammar): Add assignment syntax.
4544 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4545 open-paren, a comma, or a \.
4546 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4547 and line continuations.
4548 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4549 followed by implicit semi-colons. Add rule for string concatenation
4550 and for indentation at BOB.
4551 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4552
4553 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4554 calling next-sexp, since next-token may have skipped chars which
4555 next-sexp doesn't know should be skipped!
4556
6f6ab820
LL
45572013-10-05 Leo Liu <sdl.web@gmail.com>
4558
34d1a133
SM
4559 * progmodes/octave.el (octave-send-region):
4560 Call compilation-forget-errors.
6f6ab820 4561
34ca0f4c
XF
45622013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4563
4564 * vc/vc-svn.el (vc-svn-find-admin-dir):
4565 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4566 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4567 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4568 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4569
a27c1b72
SM
45702013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4571
4572 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4573
258ab3bc
SM
45742013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4575
4576 * subr.el (read-passwd): Hide chars even when called within a context
4577 where after-change-functions is disabled (bug#15501).
4578 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4579 until we removed ourself from overriding-terminal-local-map.
4580
939fb29c
LL
45812013-10-04 Leo Liu <sdl.web@gmail.com>
4582
258ab3bc
SM
4583 * progmodes/octave.el (inferior-octave-mode):
4584 Call compilation-forget-errors.
939fb29c 4585
63bd7f35
XF
45862013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4587
4588 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4589
9e6229fa
MA
45902013-10-04 Michael Albinus <michael.albinus@gmx.de>
4591
4592 * net/secrets.el (secrets-create-collection): Add optional
4593 argument ALIAS. Use proper Label keyword. Append ALIAS as
4594 dbus-call-method argument. (Bug#15516)
4595
1dab32a3
LL
45962013-10-04 Leo Liu <sdl.web@gmail.com>
4597
4598 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4599 (inferior-octave-compilation-font-lock-keywords): New variables.
4600 (compilation-error-regexp-alist)
4601 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4602 (inferior-octave-mode): Use compilation-shell-minor-mode.
4603
6cad7ba3
JS
46042013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4605
4606 * minibuffer.el (completion--replace): Be careful that `end' might be
4607 a marker.
4608
acbadd00
DU
46092013-10-03 Daiki Ueno <ueno@gnu.org>
4610
4611 Add support for package signature checking.
4612 * emacs-lisp/package.el (url-http-file-exists-p)
4613 (epg-make-context, epg-context-set-home-directory)
4614 (epg-verify-string, epg-context-result-for)
4615 (epg-signature-status, epg-signature-to-string)
4616 (epg-check-configuration, epg-configuration)
4617 (epg-import-keys-from-file): Declare.
4618 (package-check-signature): New user option.
4619 (package-unsigned-archives): New user option.
4620 (package-desc): Add `signed' field.
4621 (package-load-descriptor): Set `signed' field if .signed file exists.
4622 (package--archive-file-exists-p): New function.
4623 (package--check-signature): New function.
4624 (package-install-from-archive): Check package signature.
4625 (package--download-one-archive): Check archive signature.
4626 (package-delete): Remove .signed file.
4627 (package-import-keyring): New command.
4628 (package-refresh-contents): Import default keyring.
4629 (package-desc-status): Add "unsigned" status.
4630 (describe-package-1, package-menu--print-info)
4631 (package-menu-mark-delete, package-menu--find-upgrades)
4632 (package-menu--status-predicate): Support "unsigned" status.
4633
adf2aa61
SM
46342013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4635
4636 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4637 the new compilation scheme using the new byte-codes.
4638
4639 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4640 (byte-pophandler): New byte codes.
4641 (byte-goto-ops): Adjust accordingly.
4642 (byte-compile--use-old-handlers): New var.
4643 (byte-compile-catch): Use new byte codes depending on
4644 byte-compile--use-old-handlers.
4645 (byte-compile-condition-case--old): Rename from
4646 byte-compile-condition-case.
4647 (byte-compile-condition-case--new): New function.
4648 (byte-compile-condition-case): New function that dispatches depending
4649 on byte-compile--use-old-handlers.
4650 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4651 when we can.
4652
4653 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4654 Optimize under `condition-case' and `catch' if
4655 byte-compile--use-old-handlers is nil.
4656 (disassemble-offset): Handle new bytecodes.
4657
328a8179
SM
46582013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4659
4660 * subr.el (error): Use `declare'.
4661 (decode-char, encode-char): Use advertised-calling-convention instead
4662 of the docstring to discourage use of the `restriction' arg.
4663
15a1e936
DU
46642013-10-03 Daiki Ueno <ueno@gnu.org>
4665
4666 * epg.el (epg-verify-file): Add a comment saying that it does not
4667 notify verification error as a return value nor a signal.
4668 (epg-verify-string): Ditto.
4669
376f862a
KR
46702013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4671
4672 * progmodes/compile.el (compilation-start): Try globbing the arg to
4673 `cd' (bug#15417).
4674
a2f93a5f
MA
46752013-10-02 Michael Albinus <michael.albinus@gmx.de>
4676
4677 Sync with Tramp 2.2.8.
4678
4679 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4680 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4681 * net/trampver.el: Update release number.
4682
0daa0804
JD
46832013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4684
4685 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4686 and default-process-coding-system for darwin only.
4687
abd1ae34
SM
46882013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4689
4690 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4691
be4e325d
MH
46922013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4693
4694 * vc/vc-git.el (vc-git-grep): Disable pager.
4695
e9155c4a
DG
46962013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4697
494e898b
DG
4698 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4699 Use :url instead of :homepage, as per
4700 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4701
e9155c4a
DG
4702 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4703 non-nil, use `syntax-ppss' (Bug#15251).
4704
481a8e0f
RS
47052013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4706
be4e325d
MH
4707 * progmodes/octave.el (inferior-octave-startup-file):
4708 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 4709
056453c6
DG
47102013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4711
be4e325d
MH
4712 * emacs-lisp/package.el (package-desc-from-define):
4713 Accept additional arguments as plist, convert them to an alist and store
4714 them in the `extras' slot.
056453c6
DG
4715 (package-generate-description-file): Convert extras alist back to
4716 plist and append to the `define-package' form arguments.
4717 (package--alist-to-plist): New function.
4718 (package--ac-desc): Add `extras' slot.
4719 (package--add-to-archive-contents): Check if the archive-contents
4720 vector is long enough, and if it is, pass its `extras' slot value
4721 to `package-desc-create'.
4722 (package-buffer-info): Call `lm-homepage', pass the returned value
4723 to `package-desc-from-define'.
4724 (describe-package-1): Render the homepage button (Bug#13291).
4725
be4e325d
MH
4726 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4727 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 4728
832966e5
JD
47292013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4730
4731 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4732 and default-process-coding-system to utf-8-unix (Bug#15402).
4733
6cfe977d
XF
47342013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4735
4736 * subr.el (looking-back): Do not recommend using looking-back.
4737
38de11bd
AM
47382013-09-28 Alan Mackenzie <acm@muc.de>
4739
4740 Fix indentation/fontification of Java enum with "implements".
4741
4742 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4743 regexp which matches "implements", etc., in Java.
4744 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4745 specifier clauses coming after "enum".
4746 * progmodes/cc-fonts.el (c-font-lock-declarations)
4747 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4748 after "enum".
4749
1610938f
JD
47502013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4751
4752 * faces.el (region): Change ns_selection_color to
4753 ns_selection_fg_color, add ns_selection_bg_color.
4754
e090f499
LL
47552013-09-28 Leo Liu <sdl.web@gmail.com>
4756
4d2e94d1
LL
4757 * progmodes/octave.el (inferior-octave-completion-table)
4758 (inferior-octave-completion-at-point): Minor tweaks.
4759
e090f499
LL
4760 * textmodes/ispell.el (ispell-lookup-words): Rename from
4761 lookup-words. (Bug#15460)
4762 (lookup-words): Obsolete.
4763 (ispell-complete-word, ispell-command-loop): All uses changed.
4764
7e138a62
RS
47652013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4766
a12bf61e 4767 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
4768 (octave-mode-menu): Add octave-send-buffer.
4769 (octave-send-buffer): New function.
4770
5af5ed08
RS
47712013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4772
a12bf61e 4773 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
4774 octave-lookfor.
4775 (octave-mode-menu): Add octave-lookfor.
4776 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4777 octave-lookfor.
4778 (octave-lookfor): New function.
4779
3b7b2692
SM
47802013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4781
4782 * emacs-lisp/cl-macs.el:
4783 (cl--loop-destr-temps): Remove.
4784 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4785 its convention.
4786 (cl--loop-set-iterator-function): New function.
4787 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4788 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4789 Bind `it' with `let' instead of substituting it with `cl-subst'.
4790 (cl--unused-var-p): New function.
4791 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4792 Eliminate some unused variable warnings (bug#15326).
4793
529fb53f
TH
47942013-09-27 Tassilo Horn <tsdh@gnu.org>
4795
4796 * doc-view.el (doc-view-scale-reset): Rename from
4797 `doc-view-reset-zoom-level'.
4798 (doc-view-scale-adjust): New command.
4799 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4800 `doc-view-scale-adjust'.
4801
0550c95a
TH
48022013-09-26 Tassilo Horn <tsdh@gnu.org>
4803
4804 * doc-view.el (doc-view-reset-zoom-level): New command.
4805 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4806 zoom commands (bug#15466).
4807
6950f152
KH
48082013-09-26 Kenichi Handa <handa@gnu.org>
4809
4810 * international/quail.el (quail-help): Make it not a command.
4811
39587580
LL
48122013-09-26 Leo Liu <sdl.web@gmail.com>
4813
4814 * minibuffer.el (completion-all-sorted-completions): Make args
4815 optional as they are.
4816
00578659
DC
48172013-09-25 Daniel Colascione <dancol@dancol.org>
4818
4819 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4820 specs are and that they're not evaluated.
4821
0c173878
SS
48222013-09-24 Sam Steingold <sds@gnu.org>
4823
4824 * midnight.el (clean-buffer-list-kill-regexps)
4825 (clean-buffer-list-kill-buffer-names): Update for the new Man
4826 buffer naming which includes the object name.
4827
84998447
SM
48282013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4829
4830 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4831 (eshell-parse-command, eshell-parse-pipeline): Use it since
4832 eshell-separate-commands requires a dynamic scoped var.
4833 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4834
33215353
LL
48352013-09-23 Leo Liu <sdl.web@gmail.com>
4836
4837 * autoinsert.el (auto-insert-alist): Make the value of
4838 lexical-binding match its file setting.
4839
57b16162
JB
48402013-09-23 Juanma Barranquero <lekktu@gmail.com>
4841
c8af4e67
JB
4842 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4843
57b16162
JB
4844 * autoarg.el (autoarg-kp-digit-argument):
4845 * electric.el (Electric-command-loop):
4846 * kmacro.el (kmacro-step-edit-insert):
4847 Do not set universal-argument-num-events.
4848
7186ba60
LL
48492013-09-22 Leo Liu <sdl.web@gmail.com>
4850
4851 * files.el (interpreter-mode-alist): Add octave.
4852
ece15004
AM
48532013-09-21 Alan Mackenzie <acm@muc.de>
4854
4855 C++: fontify identifier in declaration following "public:" correctly.
4856 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4857 to match "public", etc.
4858 (c-decl-prefix-re): Add ":" into the C++ value.
4859 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4860 bit. Add a check for a ":" preceded by "public", etc.
4861
75d83e22
EZ
48622013-09-21 Eli Zaretskii <eliz@gnu.org>
4863
4864 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4865 recognized by GDB 7.5 and later.
4866
d052d3bd
XF
48672013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4868
4869 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4870
31dca772
R
48712013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4872
4873 * subr.el (internal--call-interactively): New const.
4874 (called-interactively-p): Use it (bug#3984).
4875
98ccf24e
XF
48762013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4877
4878 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
4879 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4880 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 4881
c39cc7d1
SM
48822013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4883
4884 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4885 (eshell-ls-orig-insert-directory): Remove.
4886 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4887 (eshell-ls-use-in-dired): Use advice-add/remove.
4888 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4889 Add `orig-fun' arg for use in :around advice.
4890 Make it check (redundantly) eshell-ls-use-in-dired.
4891
9a0289a2
GM
48922013-09-19 Glenn Morris <rgm@gnu.org>
4893
a2c501b8
GM
4894 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4895
c440407a
GM
4896 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4897
9a0289a2
GM
4898 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4899
85e05915
MA
49002013-09-19 Michael Albinus <michael.albinus@gmx.de>
4901
4902 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4903 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4904 (tramp-get-remote-python): New defuns.
4905 (tramp-get-remote-uid-with-perl)
4906 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4907 contributed by yary <not.com@gmail.com> (tiny change).
4908 (tramp-get-remote-uid-with-python)
4909 (tramp-get-remote-gid-with-python): New defuns. Python code
4910 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4911 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4912
ce503312
GM
49132013-09-19 Glenn Morris <rgm@gnu.org>
4914
f7544773
GM
4915 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4916
72fd2877
GM
4917 * eshell/em-unix.el (eshell-remove-entries):
4918 Rename argument to avoid name-clash with global `top-level'.
4919
336b5a56
GM
4920 * eshell/esh-proc.el (eshell-kill-process-function):
4921 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4922 (eshell-reset-after-proc): Remove unused arg `proc'.
4923
57a3a53d
GM
4924 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4925 (directory-files-and-attributes): Mark unused arg.
4926
3261d4af
GM
4927 * eshell/em-unix.el (eshell-remove-entries):
4928 Remove unused arg `path'. Update callers.
4929
8e51b5d0
GM
4930 * eshell/em-hist.el (eshell-hist-parse-arguments):
4931 Remove unused arg `silent'. Update callers.
4932
ce503312
GM
4933 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4934 Fix (f)boundp mix-up.
4935
4936 * eshell/em-smart.el (eshell-smart-scroll-window)
4937 (eshell-disable-after-change):
336b5a56 4938 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 4939
ee3ce8a7
AM
49402013-09-18 Alan Mackenzie <acm@muc.de>
4941
4942 Fix fontification of type when followed by "const".
4943 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4944 "known" types from fontification.
4945
ec9177ba
GM
49462013-09-18 Glenn Morris <rgm@gnu.org>
4947
7bb3e768
GM
4948 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4949 (chart-face-list): Drop Emacsen without display-color-p.
4950
5148da15
GM
4951 * net/eww.el (libxml-parse-html-region): Declare.
4952 (eww-display-html): Explicit error if no libxml2 support.
4953
2f68e157
GM
4954 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4955
9019d095
GM
4956 * image.el (image-type-from-buffer, image-multi-frame-p):
4957 Remove --without-x warning/error.
67645389 4958
5f30349b 4959 * mouse.el (mouse-yank-primary):
45069b2e 4960 * term.el (term-mouse-paste):
5f30349b
GM
4961 Reorder to silence --without-x compilation.
4962
cd8edbbe
GM
4963 * mpc.el (doc-view-mode): Silence --without-x compilation.
4964
8a78544e
GM
4965 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4966 Silence --without-x compilation.
4967
12679bfd
GM
4968 * progmodes/gud.el (gud-find-file, gud-mode):
4969 Silence --without-x compilation.
4970 (tooltip-mode): Declare.
30810a05 4971
f0047cb9
GM
4972 * wdired.el (dired-backup-overwrite): Remove declaration.
4973 (wdired-mode-map): Add doc string.
4974
e740f9d2
GM
4975 * custom.el (x-get-resource): Declare.
4976
92d77c89
GM
4977 * eshell/em-glob.el (ange-cache):
4978 * eshell/em-unix.el (ange-cache): Declare.
4979
76e69577
GM
4980 * faces.el (x-display-list, x-open-connection, x-get-resource):
4981 Declare.
7e58af4b
GM
4982
4983 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4984 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4985 Declare.
76e69577 4986
4bd4c0af 4987 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 4988
ffb82dbd
GM
4989 * net/gnutls.el (gnutls-log-level): Declare.
4990
986ed135
GM
4991 * net/shr.el (image-size, image-animate): Declare.
4992
e740f9d2
GM
4993 * simple.el (font-info): Declare.
4994
d2f3e9f8
GM
4995 * subr.el (x-popup-dialog): Declare.
4996
047a1a4c
GM
4997 * term/common-win.el (x-select-enable-primary)
4998 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4999 Declare.
5000
f4a1d572
GM
5001 * term/ns-win.el (x-handle-args): Declare.
5002
e843de77
GM
5003 * term/x-win.el (x-select-enable-clipboard): Declare.
5004
5fa89513
GM
5005 * term/w32-win.el (create-default-fontset): Declare.
5006
38702b5b
GM
5007 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5008 Declare.
5009
e740f9d2
GM
5010 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5011 (fit-frame-to-buffer): Explicit error if --without-x.
5012 (mouse-autoselect-window-select): Silence compiler.
5013
49a053fc
GM
5014 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5015
5016 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5017 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5018 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 5019 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
5020 Remove unused local variables.
5021
5022 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5023
ec9177ba
GM
5024 * textmodes/two-column.el: Make 2C-split work for --without-x.
5025 (scroll-bar-columns): Autoload.
5026 (top-level): Require fringe when compiling.
5027
9f25cb77
LL
50282013-09-18 Leo Liu <sdl.web@gmail.com>
5029
5030 * subr.el (add-hook): Robustify to handle closure as well.
5031
2b42da98
GM
50322013-09-17 Glenn Morris <rgm@gnu.org>
5033
5034 * simple.el (messages-buffer-mode-map): Unbind "g".
5035
e8b66a6a
SM
50362013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5037
9c0ad4f7
SM
5038 * help-mode.el (help-mode-finish): Use derived-mode-p.
5039 Remove obsolete highlighting.
5040
7a806dfb
SM
5041 * play/life.el (life-mode): Use define-derived-mode. Derive from
5042 special-mode.
5043 (life): Let-bind inhibit-read-only.
5044 (life-setup): Avoid `setq'. Use `life-mode'.
5045
96dbf5a8
SM
5046 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5047 which should not be needed any more.
5048 (package-menu-refresh, package-menu-describe-package): Use user-error.
5049
e8b66a6a
SM
5050 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5051 (eshell-post-rewrite-command-hook): Make obsolete.
5052 (eshell-parse-command): Simplify.
5053 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5054 (eshell--cmd): Declare.
5055 (eshell-parse-pipeline): Remove unused var `final-p'.
5056 Pass a dynvar to eshell-post-rewrite-command-hook.
5057 Implement the new eshell-post-rewrite-command-function.
5058 (eshell-invoke-directly): Remove unused arg `input'.
5059 * eshell/esh-io.el (eshell-io-initialize):
5060 Use eshell-post-rewrite-command-function (bug#15399).
5061 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5062 adjust to new calling convention.
5063 (eshell-create-handles): Rename args to avoid clashing with dynvar
5064 `standard-output'.
5065
90582f05
GM
50662013-09-17 Glenn Morris <rgm@gnu.org>
5067
5068 * simple.el (messages-buffer-mode): New major mode.
5069 (messages-buffer): New function.
5070 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5071 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 5072 (ert-run-test): Use `messages-buffer' function.
90582f05 5073 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
5074 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5075 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 5076
39eb0cb5 50772013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
5078
5079 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5080
1d42e5b6 5081 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 5082
70568a90
SM
50832013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5084
504a0381
SM
5085 * icomplete.el (icomplete-in-buffer): New var.
5086 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5087 vars and replace them with functions.
5088 (icomplete-minibuffer-setup): Adjust accordingly.
5089 (icomplete--completion-table, icomplete--completion-predicate)
5090 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5091 New functions.
5092 (icomplete-forward-completions, icomplete-backward-completions)
5093 (icomplete-simple-completing-p, icomplete-exhibit)
5094 (icomplete-completions): Use them.
5095 (icomplete--in-region-buffer): New var.
5096 (icomplete--in-region-setup): New function.
5097 (icomplete-mode): Use it.
5098
70568a90
SM
5099 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5100 (bug#15379).
5101 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5102 return args and options.
5103 (eshell-eval-using-options): Use the new return value of
5104 eshell--do-opts to set the options's vars in their scope.
5105 (eshell--set-option): Rename from eshell-set-option.
5106 Add arg `opt-vals'.
5107 (eshell--process-option): Rename from eshell-process-option.
5108 Add arg `opt-vals'.
5109 (eshell--process-args): Use an `opt-vals' alist to store the options's
5110 values during their processing and return them additionally to the
5111 remaining args.
5112
578c21bc
DG
51132013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5114
5115 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5116 continuation character an operator, as far as indentation is
5117 concerned (Bug#15369).
5118
c089653d
MR
51192013-09-15 Martin Rudalics <rudalics@gmx.at>
5120
5121 * window.el (window--state-put-2): Don't process buffer state
5122 when buffer doesn't exist any more (Bug#15382).
5123
1e53bb4b
GM
51242013-09-15 Glenn Morris <rgm@gnu.org>
5125
30753242
GM
5126 * eshell/em-unix.el (eshell/rm):
5127 Make -f ignore missing files. (Bug#15373)
5128
1e53bb4b
GM
5129 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5130 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5131 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5132
0d8863b3
GM
51332013-09-14 Glenn Morris <rgm@gnu.org>
5134
5135 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5136
d3fc6549
GM
51372013-09-13 Glenn Morris <rgm@gnu.org>
5138
5139 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5140 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5141
fcd42c11
DA
51422013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5143
5144 * frame.el (x-focus-frame): Mark as declared in frame.c.
5145
7830899f
SM
51462013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5147
5148 * ls-lisp.el: Use advice-add.
5149 (original-insert-directory): Remove.
5150 (ls-lisp--insert-directory): Rename from insert-directory; add
5151 `orig-fun' argument.
5152 (insert-directory): Advise.
5153
84387cd2
EZ
51542013-09-13 Eli Zaretskii <eliz@gnu.org>
5155
5156 * term.el (term-emulate-terminal): Decode the command string
5157 before passing it to term-command-hook. (Bug#15337)
5158
35ffc6ba
GM
51592013-09-13 Glenn Morris <rgm@gnu.org>
5160
5c3f9bcc
GM
5161 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5162
2ada368a
GM
5163 * eshell/esh-ext.el (eshell-search-path): Declare.
5164
fcef2e13
GM
5165 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5166 Otherwise an error occurs if eshell-dirs module not loaded.
5167
35ffc6ba
GM
5168 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5169
35c3d36e
MA
51702013-09-13 Michael Albinus <michael.albinus@gmx.de>
5171
5172 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5173 `tramp-check-proper-host'. Check for a valid method name.
5174
5175 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5176 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5177 * net/tramp-sh.el (tramp-maybe-open-connection):
5178 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5179
5180 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5181 also for hash values.
5182
ae5e4c48
SM
51832013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5184
379add74
SM
5185 * term/ns-win.el (parameters): Don't declare as dynamic.
5186 (before-make-frame-hook): Don't add ineffective function.
5187
ae5e4c48
SM
5188 * eshell/*.el: Use lexical-binding (bug#15231).
5189
b5623270
KH
51902013-09-12 Kenichi Handa <handa@gnu.org>
5191
ae5e4c48 5192 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 5193
30213927
GM
51942013-09-12 Glenn Morris <rgm@gnu.org>
5195
be94d713 5196 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 5197 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 5198
44915370
GM
5199 * subr.el (do-after-load-evaluation): Also give compiler warnings
5200 when obsolete files are used (except by obsolete files).
5201
a6ae021f
GM
5202 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5203 in the status output, assume `filename' is the first. (Bug#15322)
5204
40e64f0c
GM
5205 * vc/vc.el (vc-deduce-fileset): Doc fix.
5206
16d9f896
GM
5207 * calc/calc-help.el (Info-goto-node):
5208 * progmodes/cperl-mode.el (Info-find-node):
5209 * vc/ediff.el (Info-goto-node): Update declarations.
5210
dea01c6e
GM
5211 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5212
759880bf 5213 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
5214 (vc-bzr-pull): Require vc-dispatcher.
5215 * vc/vc-git.el (vc-compilation-mode): Declare.
5216 (vc-git-pull): Require vc-dispatcher.
5217
08d66420
GM
5218 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5219
30b626e9
GM
5220 * progmodes/octave.el (help-button-action): Declare.
5221
8c05cb10
GM
5222 * shell.el (shell-directory-tracker): Output error as a message
5223 rather than just returning it as a string.
5224 (shell-process-pushd): Remove useless use of message.
5225
30213927
GM
5226 * dframe.el (dframe-timer-fn):
5227 * files.el (dir-locals-read-from-file):
5228 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5229 (mpc-format):
5230 * reveal.el (reveal-post-command):
5231 * saveplace.el (load-save-place-alist-from-file):
5232 * shell.el (shell-resync-dirs):
5233 * w32-common-fns.el (x-get-selection-value):
5234 * emacs-lisp/copyright.el (copyright-find-copyright):
5235 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5236 * emulation/tpu-edt.el (tpu-copy-keyfile):
5237 * play/bubbles.el (bubbles--mark-neighbourhood):
5238 * progmodes/executable.el
5239 (executable-make-buffer-file-executable-if-script-p):
5240 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5241
d3b049e6
SM
52422013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5243
170266d0
SM
5244 Cleanup Eshell to rely less on dynamic scoping.
5245 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5246 last-value, and ext-command here. Bind `args' closer to `body'.
5247 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5248 (eshell--args): Declare new dynamic var.
5249 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5250 last-value, and ext-command. Pass `args' to `body'.
5251 (eshell-process-args): Bind eshell--args.
5252 (eshell-set-option): Use eshell--args.
5253 * eshell/eshell.el (eshell): Use derived-mode-p.
5254 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5255 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5256 (eshell-glob-function): Declare.
5257 * eshell/esh-util.el: Require cl-lib.
5258 (eshell-read-hosts-file): Avoid add-to-list.
5259 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5260 `err'.
5261 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5262 Declare.
5263 (eshell/diff): Remove unused var `err'.
5264 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5265 `killflag'.
5266 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5267 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5268 first use.
5269 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5270 Move declaration before first use.
5271 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
5272 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5273 rely on cl-return.
5274
56834f3b
GM
52752013-09-12 Glenn Morris <rgm@gnu.org>
5276
5277 * term/ns-win.el (global-map): Remove binding for ispell-next,
5278 deleted 1999-05-29. (Bug#15357)
5279
5c91a2b8
GM
52802013-09-11 Glenn Morris <rgm@gnu.org>
5281
da712f22
GM
5282 * echistory.el (electric-command-history): Remove call to deleted func.
5283
512e4cdc
GM
5284 * play/landmark.el (landmark-mode): Fix typos.
5285
d3506ca5
GM
5286 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5287 Check cvs-sort-ignore-file is bound.
5288
5c91a2b8
GM
5289 * savehist.el: No need for cl when compiling on Emacs.
5290
feeff482
SM
52912013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5292
656bd483
SM
5293 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5294 (bug#15338).
d3b049e6
SM
5295 (eshell-self-insert-command, eshell-send-invisible):
5296 Remove unused argument.
656bd483
SM
5297 (eshell-handle-control-codes): Remove unused var `orig'.
5298 Avoid delete-backward-char.
5299
feeff482
SM
5300 * files.el (set-auto-mode): Simplify a bit further.
5301
2a08047a
GM
53022013-09-11 Glenn Morris <rgm@gnu.org>
5303
5304 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5305 (set-auto-mode): Don't regexp-quote elements.
5306 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5307 * progmodes/cc-mode.el (interpreter-mode-alist):
5308 * progmodes/ruby-mode.el (interpreter-mode-alist):
5309 Revert previous change.
5310
34675540
SM
53112013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5312
1b3b87df
SM
5313 * play/snake.el (snake-mode):
5314 * play/mpuz.el (mpuz-mode):
5315 * play/landmark.el (lm-mode):
5316 * play/blackbox.el (blackbox-mode):
5317 * play/5x5.el (5x5-mode):
5318 * obsolete/options.el (Edit-options-mode):
5319 * net/quickurl.el (quickurl-list-mode):
5320 * net/newst-treeview.el (newsticker-treeview-mode):
5321 * mail/rmailsum.el (rmail-summary-mode):
5322 * mail/mspools.el (mspools-mode):
5323 * locate.el (locate-mode):
5324 * ibuffer.el (ibuffer-mode):
5325 * emulation/ws-mode.el (wordstar-mode):
5326 * emacs-lisp/debug.el (debugger-mode):
5327 * array.el (array-mode):
5328 * net/eudc.el (eudc-mode): Use define-derived-mode.
5329 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5330 Move initialization into declaration.
5331 (mairix-searches-mode): Use define-derived-mode.
5332 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5333 (eudc-edit-hotlist): Use dolist.
5334 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5335 (Man-mode): Use define-derived-mode.
5336 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5337 (Info-edit-mode): Use define-derived-mode.
5338 (Info-cease-edit): Use Info-mode.
5339 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5340 into declaration.
5341 (eshell-mode): Use define-derived-mode.
5342 * chistory.el (command-history-mode-map): Rename from
5343 command-history-map.
5344 (command-history-mode): Use define-derived-mode.
da712f22 5345 (Command-history-setup): Remove function.
1b3b87df
SM
5346 * calc/calc.el (calc-trail-mode-map): New var.
5347 (calc-trail-mode): Use define-derived-mode.
5348 (calc-trail-buffer): Set calc-main-buffer manually.
5349 * bookmark.el (bookmark-insert-annotation): New function.
5350 (bookmark-edit-annotation): Use it.
5351 (bookmark-edit-annotation-mode): Make it a proper major mode.
5352 (bookmark-send-edited-annotation): Use derived-mode-p.
5353 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5354 closer to its ideal place. Use \' to match EOS.
5355
34675540
SM
5356 * profiler.el (profiler-calltree-find): Use function-equal.
5357
6a5c15d9
GM
53582013-09-10 Glenn Morris <rgm@gnu.org>
5359
1af4c220
GM
5360 * files.el (interpreter-mode-alist): Convert to regexps.
5361 (set-auto-mode): Adapt for this. (Bug#15306)
5362 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5363 Comment out unused variable.
5364 * progmodes/cc-mode.el (interpreter-mode-alist):
5365 * progmodes/python.el (interpreter-mode-alist):
5366 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5367 * progmodes/sh-script.el (sh-set-shell):
5368 No longer use interpreter-mode-alist to get list of shells.
5369
6a5c15d9
GM
5370 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5371
8c27f5ff
SM
53722013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5373
02ef6c1a 5374 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 5375 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
5376 Bind switch-frame explicitly. Replace universal-argument-minus with
5377 a conditional binding.
5378 (universal-argument-num-events, saved-overriding-map): Remove.
5379 (restore-overriding-map): Remove.
5380 (universal-argument--mode): Rename from save&set-overriding-map,
5381 and rewrite.
5382 (universal-argument, universal-argument-more, negative-argument)
5383 (digit-argument): Adjust accordingly.
5384 (universal-argument-minus): Remove.
5385 (universal-argument-other-key): Remove.
5386
8c27f5ff
SM
5387 * subr.el (with-demoted-errors): Add `format' argument.
5388
6480194c
MA
53892013-09-10 Michael Albinus <michael.albinus@gmx.de>
5390
5391 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5392 `tramp-cleanup-connection'.
5393
5394 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5395 parameters KEEP-DEBUG and KEEP-PASSWORD.
5396
5397 * net/tramp.el (tramp-file-name-handler):
5398 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5399 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5400 (tramp-maybe-open-connection):
8c27f5ff
SM
5401 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5402 Use `tramp-cleanup-connection'.
6480194c 5403
8c27f5ff
SM
5404 * net/tramp-sh.el (tramp-maybe-open-connection):
5405 Catch 'uname-changed inside the progress reporter.
6480194c 5406
e5e916d8
GM
54072013-09-10 Glenn Morris <rgm@gnu.org>
5408
9a2c9b47
GM
5409 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5410
e5e916d8
GM
5411 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5412 returns "alternate access method" in mode (eg "-rw-r--r--.").
5413
144e38fe
GM
54142013-09-08 Glenn Morris <rgm@gnu.org>
5415
5416 * saveplace.el (load-save-place-alist-from-file):
5417 Demote errors. (Bug#15305)
5418
af9ff9e8
MA
54192013-09-08 Michael Albinus <michael.albinus@gmx.de>
5420
5421 Improve compatibility with older Emacsen, and XEmacs.
5422
5423 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5424 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
5425 (with-tramp-progress-reporter): Do not let-bind `result'.
5426 This yields to scoping errors in XEmacs.
af9ff9e8
MA
5427 (tramp-handle-make-auto-save-file-name): New function, moved from
5428 tramp-sh.el.
5429
5430 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5431 for `make-auto-save-file-name'.
8c27f5ff
SM
5432 (tramp-adb--gnu-switches-to-ash):
5433 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5434
5435 * net/tramp-cache.el (tramp-cache-print): Call
5436 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5437
5438 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5439 bound. It isn't for XEmacs.
5440
8c27f5ff
SM
5441 * net/tramp-compat.el (tramp-compat-copy-file):
5442 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
5443 (tramp-compat-replace-regexp-in-string): New defun.
5444
5445 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5446 for `make-auto-save-file-name'.
5447 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5448 `copy-file'.
5449 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5450 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5451 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5452
8c27f5ff
SM
5453 * net/tramp-gw.el (tramp-gw-open-network-stream):
5454 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 5455
8c27f5ff
SM
5456 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5457 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
5458 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5459 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
5460 (tramp-sh-file-inotifywait-process-filter):
5461 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5462 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5463
5464 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5465 for `make-auto-save-file-name'.
8c27f5ff
SM
5466 (tramp-smb-handle-copy-directory):
5467 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5468 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5469 (tramp-smb-handle-copy-file): Improve error message.
5470 (tramp-smb-handle-rename-file): Rename directly only in case
5471 `newname' does not exist yet. This is a restriction of smbclient.
5472 (tramp-smb-maybe-open-connection): Rerun the function only when
5473 `auth-sources' is non-nil.
5474
0ca754d0
KH
54752013-09-08 Kenichi Handa <handa@gnu.org>
5476
e0eb0550 5477 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
5478 more characters.
5479
e8dd0787
AM
54802013-09-07 Alan Mackenzie <acm@muc.de>
5481
5482 Correctly fontify Java class constructors.
5483 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5484 in Java Mode.
5485 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
5486 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5487 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
5488 "typeless" declaration there.
5489
f2f248e7
RW
54902013-09-07 Roland Winkler <winkler@gnu.org>
5491
5492 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5493 field subtitle for entry type book.
5494
67982e2b
SM
54952013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5496
5497 * minibuffer.el: Make minibuffer-complete call completion-in-region
5498 rather than other way around.
5499 (completion--some, completion-pcm--find-all-completions):
5500 Don't delay signals when debugging.
5501 (minibuffer-completion-contents): Beware fields within the
5502 minibuffer contents.
5503 (completion-all-sorted-completions): Use defvar-local.
5504 (completion--do-completion, completion--cache-all-sorted-completions)
5505 (completion-all-sorted-completions, minibuffer-force-complete):
5506 Add args `beg' and `end'.
5507 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5508 (minibuffer-complete): Use completion-in-region.
5509 (completion-complete-and-exit): New fun, extracted from
5510 minibuffer-complete-and-exit.
5511 (minibuffer-complete-and-exit): Use it.
5512 (completion--complete-and-exit): Rename from
5513 minibuffer--complete-and-exit.
5514 (completion-in-region--single-word): New function, extracted from
5515 minibuffer-complete-word.
5516 (minibuffer-complete-word): Use it.
5517 (display-completion-list): Make `common-substring' argument obsolete.
5518 (completion--in-region): Call completion--in-region-1 instead of
5519 minibuffer-complete.
5520 (completion-help-at-point): Pass boundaries to
5521 minibuffer-completion-help as args rather than via an overlay.
5522 (completion-pcm--string->pattern): Use `any-delim'.
5523 (completion-pcm--optimize-pattern): New function.
5524 (completion-pcm--pattern->regex): Handle `any-delim'.
5525 * icomplete.el (icomplete-forward-completions)
5526 (icomplete-backward-completions, icomplete-completions):
5527 Adjust calls to completion-all-sorted-completions and
5528 completion--cache-all-sorted-completions.
5529 (icomplete-with-completion-tables): Default to t.
5530 * emacs-lisp/crm.el (crm--current-element): Rename from
5531 crm--select-current-element. Don't put an overlay but return the
5532 boundaries instead.
5533 (crm--completion-command): Take two new args to bind to the boundaries.
5534 (crm-completion-help): Adjust accordingly.
5535 (crm-complete): Use completion-in-region.
5536 (crm-complete-word): Use completion-in-region--single-word.
5537 (crm-complete-and-exit): Use completion-complete-and-exit.
5538
e17d94a5
SM
55392013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5540
5541 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5542 than dynamically.
5543
96727100
JL
55442013-09-06 Juri Linkov <juri@jurta.org>
5545
5546 * info.el (Info-display-images-node): When image file doesn't exist
5547 display text version of the image if it's provided in the Info file.
5548 Otherwise, display the location of missing image from SRC attribute.
5549 Add help-echo text property from ALT attribute. (Bug#15279)
5550
86cf7329
SM
55512013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5552
5553 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5554 (edit-abbrevs-mode): Use define-derived-mode.
5555
5556 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5557 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5558 that it's defined.
5559 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5560 Use define-derived-mode.
5561
5562 * epg.el (epg-start-encrypt): Minor CSE simplification.
5563
816244a2
WX
55642013-09-06 William Xu <william.xwl@gmail.com>
5565
5566 * arc-mode.el: Add support for 7za (bug#15264).
5567 (archive-7z-program): New var.
5568 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5569 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5570 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5571
1486fa31
MA
55722013-09-06 Michael Albinus <michael.albinus@gmx.de>
5573
5574 Remove URL syntax.
5575
5576 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5577 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5578 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5579 (tramp-postfix-host-format, tramp-file-name-regexp)
5580 (tramp-completion-file-name-regexp)
5581 (tramp-completion-dissect-file-name)
5582 (tramp-handle-substitute-in-file-name): Remove 'url case.
5583 (tramp-file-name-regexp-url)
5584 (tramp-completion-file-name-regexp-url): Remove constants.
5585
39785324
GM
55862013-09-06 Glenn Morris <rgm@gnu.org>
5587
5588 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5589
1f896cb7
DG
55902013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5591
5592 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5593 keywords" below "here-doc beginnings" (Bug#15270).
5594
c0458e0b
SM
55952013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5596
5597 * subr.el (pop): Use `car-safe'.
5598 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5599 to detect unused `pop' return value.
5600
5601 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5602 var `block-regexp'.
5603 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5604 (python-fill-string): Remove unused var `marker'.
5605 (python-skeleton-add-menu-items): Remove unused var `items'.
5606
5607 * international/mule-cmds.el: Require CL.
5608 (find-coding-systems-for-charsets): Avoid add-to-list.
5609 (sanitize-coding-system-list): New function, extracted from
5610 select-safe-coding-system-interactively.
5611 (select-safe-coding-system-interactively): Use it.
5612 (read-input-method-name): Accept symbols for `default'.
5613
5614 * emacs-lisp/advice.el (defadvice): Add indent rule.
5615
6c42fc3e
DH
56162013-09-05 Daniel Hackney <dan@haxney.org>
5617
5618 * dired-x.el:
5619 * net/ange-ftp.el:
5620 * net/browse-url.el:
5621 * net/dbus.el:
5622 * net/eudc.el:
5623 * net/eudcb-ldap.el:
5624 * net/eww.el:
5625 * net/imap.el:
5626 * printing.el:
5627 * vc/ediff-diff.el:
5628 * vc/ediff-init.el:
5629 * vc/ediff-merg.el:
5630 * vc/ediff-mult.el:
5631 * vc/ediff-util.el:
5632 * vc/ediff-wind.el:
5633 * vc/ediff.el:
5634 * vc/emerge.el:
5635 * vc/pcvs.el:
5636 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5637 byte compiler. Remove some unused let-bound variables.
5638
4c528aab
SM
56392013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5640
5641 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5642 a "ref-cell", since it gets better optimized (bug#14883).
5643
bd15c390
GM
56442013-09-05 Glenn Morris <rgm@gnu.org>
5645
5646 * progmodes/cc-awk.el (c-forward-sws): Declare.
5647
1c3ac2e5
GM
56482013-09-04 Glenn Morris <rgm@gnu.org>
5649
5650 * generic-x.el [rul-generic-mode]: Require cc-mode.
5651 (c++-mode-syntax-table): Declare.
5652 (rul-generic-mode-syntax-table): Init in the defvar.
5653
52b1cc79
SM
56542013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5655
c828af56
SM
5656 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5657 (vc-do-command, vc-set-async-update):
5658 * vc/vc-mtn.el (vc-mtn-dir-status):
5659 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5660 (vc-hg-pull, vc-hg-merge-branch):
5661 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5662 (vc-git-merge-branch):
5663 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5664 (vc-cvs-dir-status-files):
5665 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5666 (vc-bzr-dir-status-files):
5667 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5668 * vc/vc-annotate.el: Use lexical-binding.
5669 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5670 (vc-sentinel-movepoint): Declare.
5671 (vc-annotate): Don't use `goto-line'.
5672 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5673 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5674 (vc-sentinel-movepoint): Declare.
5675 * vc/vc-svn.el: Use lexical-binding.
5676 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5677 * vc/vc-sccs.el:
5678 * vc/vc-rcs.el: Use lexical-binding.
5679
abae272c
SM
5680 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5681 `deleted'. Don't drop errors silently.
5682
52b1cc79
SM
5683 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5684
63191d9f
XF
56852013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5686
5687 * vc/vc.el (vc-ignore): Rewrite.
5688 (vc-default-ignore): New function.
5689 (vc-default-ignore-completion-table): Use find-ignore-file.
5690
5691 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5692 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5693 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5694 Remove. Most code moved to vc.el.
5695
9d3f707c
SM
56962013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5697
abae272c 5698 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
5699 * net/tramp-smb.el (tramp-smb-get-file-entries):
5700 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5701 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5702
fde38d49
SM
5703 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5704 Update call to it.
5705 (eww-change-select): Remove unused var `properties'.
5706 (eww-make-unique-file-name): Remove unused var `base'.
5707
5708 * finder.el (finder-compile-keywords): Don't mess with windows.
5709
84032db7
SM
5710 * calculator.el (calculator-funcall): Fix typo in last change.
5711
724f5e41
SM
5712 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5713
14b511d4
SM
5714 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5715 <pkg>-autoloads.el file stop us.
5716
9d3f707c 5717 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 5718 warnings, and factor out common code.
9d3f707c 5719
88527bc0
DG
57202013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5721
5722 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5723 two-character operators and whether the character preceding them
5724 changes their meaning (Bug#15208).
5725
96edb677
FEG
57262013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5727
5728 Format code sent to Python shell for robustness.
9d3f707c
SM
5729 * progmodes/python.el (python-shell-buffer-substring):
5730 New function.
96edb677
FEG
5731 (python-shell-send-region, python-shell-send-buffer): Use it.
5732
95beaef3
MA
57332013-09-02 Michael Albinus <michael.albinus@gmx.de>
5734
5735 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5736 * net/tramp.el (tramp-user-error): ... here.
5737 (tramp-find-method, tramp-check-proper-host)
5738 (tramp-dissect-file-name, tramp-debug-message)
5739 (tramp-handle-shell-command):
5740 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5741 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5742
5743 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5744
f167c27b
MR
57452013-09-02 Martin Rudalics <rudalics@gmx.at>
5746
5747 * avoid.el (mouse-avoidance-point-position)
5748 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5749 returns nil.
5750
cd16c5f1
FEG
57512013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5752
5753 * progmodes/python.el (python-shell-completion-get-completions):
5754 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 5755 (python-nav-if-name-main): New command.
cd16c5f1 5756
e73c3a0d
GM
57572013-09-01 Glenn Morris <rgm@gnu.org>
5758
f8ccce03
GM
5759 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5760 Avoid leading space in $wins. Otherwise the sed command used by
5761 eg compile-main ends up containing "/*.el". (Bug#15170)
5762
e73c3a0d
GM
5763 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5764
415f808e
GM
57652013-08-30 Glenn Morris <rgm@gnu.org>
5766
5767 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5768 Fix is-this-a-directory logic. (Bug#15220)
5769
f069bba8
SM
57702013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5771
112798c1
SM
5772 * textmodes/css-mode.el: Use SMIE.
5773 (css-smie-grammar): New var.
5774 (css-smie--forward-token, css-smie--backward-token)
5775 (css-smie-rules): New functions.
5776 (css-mode): Use them.
5777 (css-navigation-syntax-table): Remove var.
5778 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5779 (css-indent-calculate, css-indent-line): Remove functions.
5780
5781 Misc changes to reduce use of `(lambda...); and other cleanups.
5782 * cus-edit.el: Use lexical-binding.
5783 (customize-push-and-save, customize-apropos)
5784 (custom-buffer-create-internal): Use closures.
5785 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5786 * progmodes/ada-xref.el: Use setq.
5787 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5788 * dframe.el: Use lexical-binding.
5789 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5790 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5791 * descr-text.el: Use lexical-binding.
5792 (describe-text-widget, describe-text-sexp, describe-property-list):
5793 Use closures.
5794 * comint.el (comint-history-isearch-push-state): Use a closure.
5795 * calculator.el: Use lexical-binding.
5796 (calculator-number-to-string): Make it work with lexical-binding.
5797 (calculator-funcall): Same and use cl-letf.
5798
2da4c3ab
SM
5799 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5800 (lisp--company-doc-string, lisp--company-location): New functions.
5801 (lisp-completion-at-point): Use them to improve Company support.
5802
f069bba8
SM
5803 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5804 params of lambda expressions.
5805 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5806 (ruby-smie--opening-pipe-p): New function.
5807 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5808 symbols and matched |...| for formal params.
5809 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5810 from being treated as hanging. Handle "rescue".
5811
6758b6a8
GM
58122013-08-29 Glenn Morris <rgm@gnu.org>
5813
5814 * progmodes/cc-engine.el (c-pull-open-brace):
5815 Move definition before use.
5816
e8dfd197
SM
58172013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5818
5819 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5820 are immutable. Don't use `unsafe' any more.
5821 (cl--defsubst-expand): Don't substitute at the same time as keeping
5822 a residual unused let-binding. Don't use `unsafe' any more.
5823
cc585c96
GM
58242013-08-29 Glenn Morris <rgm@gnu.org>
5825
ba579ea6
GM
5826 * calendar/cal-china.el (calendar-chinese-year-cache):
5827 Recenter on 2015.
5828
8201a87e
GM
5829 * nxml/nxml-util.el (nxml-debug-clear-inside):
5830 Use cl-loop rather than loop.
5831
6ee877c7
GM
5832 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5833
cc585c96
GM
5834 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5835
27be8d39
GM
58362013-08-28 Glenn Morris <rgm@gnu.org>
5837
397440a1
GM
5838 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5839
2bb762d4
GM
5840 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5841
27be8d39
GM
5842 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5843
2d69b99e
SM
58442013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5845
f663baa7
SM
5846 * simple.el (repeat-complex-command--called-interactively-skip):
5847 New function.
5848 (repeat-complex-command): Use it (bug#14136).
5849
dd4f8b74
SM
5850 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5851 (c-define-abbrev-table): Add `doc' argument.
5852 (c-mode-abbrev-table, c++-mode-abbrev-table)
5853 (objc-mode-abbrev-table, java-mode-abbrev-table)
5854 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5855 (awk-mode-abbrev-table): Use it.
5856 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5857 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5858 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5859 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5860 Move initialization into the declaration; and remove any
5861 autoload cookie.
5862
b58969f7
SM
5863 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5864 and dynamic let binding.
5865
4021d6a6
SM
5866 * vc/smerge-mode.el: Remove redundant :group args.
5867
2d69b99e
SM
5868 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5869 to load-path.
5870
274919fd
JL
58712013-08-28 Juri Linkov <juri@jurta.org>
5872
5873 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5874 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5875 (isearch-other-meta-char): Handle an undefined shifted printing
5876 character by downshifting it. (Bug#15200)
5877
121f8c95
JL
58782013-08-28 Juri Linkov <juri@jurta.org>
5879
5880 * isearch.el (isearch-search): Change regexp error message for
5881 non-regexp searches. (Bug#15166)
5882
50b13cde
PE
58832013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5884
5885 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5886 for portability to hosts where /bin/sh has problems.
5887
95888bca
SM
58882013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5889
5890 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5891
bbe558f1
JL
58922013-08-27 Juri Linkov <juri@jurta.org>
5893
5894 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5895 in the keyboard macro. (Bug#15126)
5896
26f98a7d
JL
58972013-08-27 Juri Linkov <juri@jurta.org>
5898
5899 * isearch.el (isearch-quote-char): Comment out converting unibyte
5900 to multibyte, thus syncing with its `quoted-insert' counterpart.
5901 (Bug#15166)
5902
7c97d35e
MR
59032013-08-27 Martin Rudalics <rudalics@gmx.at>
5904
5905 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
5906 argument in call of get-largest-window (Bug#15185).
5907 Reported by Stephen Leake.
7c97d35e 5908
a0b5606e 59092013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
5910
5911 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5912
9e89d835
SM
59132013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5914
5915 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5916 from a matcher-function unless there's no more matches (bug#15161).
5917
78fc2530
MA
59182013-08-26 Michael Albinus <michael.albinus@gmx.de>
5919
5920 * minibuffer.el: Revert change from 2013-08-20.
5921
5922 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5923 with text property `tramp-default', if appropriate.
5924 (tramp-check-proper-host): New defun.
5925 (tramp-dissect-file-name): Do not check hostname. Revert change
5926 of 2013-03-18.
5927 (tramp-backtrace): Make VEC-OR-PROC optional.
5928
5929 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5930 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5931 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
5932 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5933 Apply `tramp-check-proper-host'.
78fc2530 5934
edca97cd
TH
59352013-08-26 Tassilo Horn <tsdh@gnu.org>
5936
5937 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5938 lambda expression in order to have `describe-variable' display it.
5939
df54bcbd
MA
59402013-08-26 Michael Albinus <michael.albinus@gmx.de>
5941
5942 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5943 BUF can be optional. (Bug#15186)
5944
eed99101
XF
59452013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5946
5947 * progmodes/flymake.el (flymake-get-real-file-name-function):
5948 Fix broken customization. (Bug#15184)
5949
b5eb9035
AM
59502013-08-25 Alan Mackenzie <acm@muc.de>
5951
8a51e842
AM
5952 Improve indentation of bracelists defined by macros (without "=").
5953
5954 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5955 expansion begins with "{", regard it as bracelist when it doesn't
5956 contain a ";".
5957
869455d4
AM
5958 Parse C++ inher-intro when there's a template split over 2 lines.
5959
5960 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5961 rigorously the search for "class" etc. followed by ":".
5962
5963 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5964 random languages a regexp which never matches rather than nil.
5965
b5eb9035
AM
5966 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5967
5968 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5969 (c-awk-regexp-one-line-possibly-open-char-list-re)
5970 (c-awk-one-line-possibly-open-regexp-re)
5971 (c-awk-one-line-non-syn-ws*-re): Remove.
5972 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5973 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5974 (c-awk-space*-unclosed-regexp-/-re): New constants.
5975 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5976 aren't regexp delimiters.
5977
5978 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5979 handling for a rare situation in AWK Mode involving unterminated
5980 strings/regexps.
5981
61611d54
GM
59822013-08-23 Glenn Morris <rgm@gnu.org>
5983
2d85dc34
GM
5984 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5985
cb8d2612
GM
5986 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5987
bb35f42f
GM
5988 * files.el (create-file-buffer): If the result would begin with
5989 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 5990
b9808e77
SM
59912013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5992
e3a66363
SM
5993 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5994 text-properties (bug#15155).
5995
b9808e77
SM
5996 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5997 exist any more.
5998 (calc-keypad-redraw): Remove unused var `pad'.
5999 (calc-keypad-press): Remove unused var `menu'.
6000
7fd5f65e
MR
60012013-08-23 Martin Rudalics <rudalics@gmx.at>
6002
b9808e77
SM
6003 * window.el (display-buffer-pop-up-frame):
6004 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
6005 use it as the new frame's buffer (Bug#15133).
6006
8352b530
SM
60072013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6008
6009 * calendar/timeclock.el: Minor cleanups.
6010 (timeclock-ask-before-exiting, timeclock-use-display-time):
6011 Use `symbol'.
6012 (timeclock-modeline-display): Define as alias before the
6013 actual definition.
6014 (timeclock-mode-line-display): Use define-minor-mode.
6015 (timeclock-day-list-template): Make it a function, add an argument.
6016 (timeclock-day-list-required, timeclock-day-list-length)
6017 (timeclock-day-list-debt, timeclock-day-list-span)
6018 (timeclock-day-list-break): Adjust calls accordingly.
6019
9f7b1925
SM
60202013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6021
6022 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6023 Use read--expression so that completion works again.
6024
6e50e983
SS
60252013-08-21 Sam Steingold <sds@gnu.org>
6026
6027 Add rudimentary inferior shell interaction
6028 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6029 (sh-set-shell): Reset it.
9f7b1925
SM
6030 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6031 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 6032
dbb0d350
SM
60332013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6034
6035 * align.el: Use lexical-binding.
6036 (align-region): Simplify accordingly.
6037
c88586a9
MA
60382013-08-20 Michael Albinus <michael.albinus@gmx.de>
6039
6040 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6041
6042 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6043 `non-essential' up.
6044
f95527c8
MA
60452013-08-17 Michael Albinus <michael.albinus@gmx.de>
6046
6047 * net/tramp.el:
6048 * net/tramp-adb.el:
6049 * net/tramp-cmds.el:
6050 * net/tramp-ftp.el:
6051 * net/tramp-gvfs.el:
6052 * net/tramp-gw.el:
6053 * net/tramp-sh.el: Don't wrap external variable declarations by
6054 `eval-when-compile'.
6055
4b5fe4ee
LMI
60562013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6057
6058 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6059 now that Emacs supports ImageMagick animations.
6060
13c366c9
MA
60612013-08-16 Michael Albinus <michael.albinus@gmx.de>
6062
6063 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6064 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6065
3dfc5cd6
MR
60662013-08-16 Martin Rudalics <rudalics@gmx.at>
6067
6068 * window.el (mouse-autoselect-window-select): Do autoselect when
6069 mouse pointer is on margin.
6070
4bbb4381
WP
60712013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6072
6073 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6074
3a2ddc2d
GM
60752013-08-16 Glenn Morris <rgm@gnu.org>
6076
e8bedf5a
GM
6077 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6078 Handle "Remote Directory" response of some clients. (Bug#15058)
6079
58c4682f
GM
6080 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6081 Tweak warning. (Bug#14926)
6082
57953f49
GM
6083 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6084 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6085
3a2ddc2d
GM
6086 * image-mode.el (image-mode-map): Add menu items to reverse,
6087 increase, decrease, reset animation speed.
6088 (image--set-speed, image-increase-speed, image-decrease-speed)
6089 (image-reverse-speed, image-reset-speed): New functions.
6090 (image-mode-map): Add bindings for speed commands.
6091
6092 * image.el (image-animate-get-speed, image-animate-set-speed):
6093 New functions.
6094 (image-animate-timeout): Respect image :speed property.
6095
10fa0ed3
SM
60962013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6097
6098 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6099 previous line (bug#15101).
6100 (debugger-eval-expression, debugger-record-expression):
6101 Use read--expression (bug#15102).
6102
5d89d9d2
MA
61032013-08-15 Michael Albinus <michael.albinus@gmx.de>
6104
6105 Remove byte compiler warnings, visible when compiling with
6106 `byte-compile-force-lexical-warnings' set to t.
6107
6108 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6109 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6110 (tramp-handle-unhandled-file-name-directory)
6111 (tramp-handle-file-notify-add-watch, tramp-action-login)
6112 (tramp-action-succeed, tramp-action-permission-denied)
6113 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6114 arguments with "_".
6115
6116 * net/tramp-adb.el (tramp-adb-parse-device-names)
6117 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6118 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6119 (tramp-adb-handle-file-truename): Remove unused arguments.
6120
6121 * net/tramp-cache.el (tramp-flush-directory-property)
6122 (tramp-flush-connection-property, tramp-list-connections)
6123 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6124
10fa0ed3
SM
6125 * net/tramp-compat.el (tramp-compat-make-temp-file):
6126 Rename FILENAME to F.
5d89d9d2
MA
6127
6128 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6129 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6130 (tramp-zeroconf-parse-workstation-device-names)
6131 (tramp-zeroconf-parse-webdav-device-names)
6132 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6133
6134 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6135 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6136
6137 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6138 arguments.
6139 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6140 (tramp-sh-handle-insert-file-contents-literally)
6141 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6142 with "_".
6143 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6144 Remove unused variables.
6145
6146 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6147 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6148 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6149
6150 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6151 Make them a defconst.
6152 (tramp-uuencode-region): Remove unused variable.
6153
62f33bae
JB
61542013-08-14 Juanma Barranquero <lekktu@gmail.com>
6155
6156 * frameset.el (frameset--prop-setter): New function.
6157 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
6158 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6159 parameter was already set in FILTERED. Doc fix.
6160 (frameset--record-minibuffer-relationships): Allow saving a
6161 minibufferless frame without its corresponding minibuffer frame.
6162 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6163 frame, if the frame id matches.
6164 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6165 frames before orphaned ones.
6166 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 6167
c660a885
MR
61682013-08-14 Martin Rudalics <rudalics@gmx.at>
6169
6170 * window.el (window-make-atom): Don't overwrite parameter
6171 already present.
6172 (display-buffer-in-atom-window): Handle special case where we
6173 split an already atomic window.
6174 (window--major-non-side-window, display-buffer-in-side-window)
6175 (window--side-check): Ignore minibuffer window when walking
6176 window tree.
6177 (window-deletable-p): Return 'frame only if no other frame uses
6178 our minibuffer window.
6179 (record-window-buffer): Run buffer-list-update-hook.
6180 (split-window): Make sure window--check-frame won't destroy an
6181 existing atomic window in case the new window gets nested
6182 inside.
6183 (display-buffer-at-bottom): Ignore minibuffer window when
6184 walking window tree. Don't split a side window.
6185 (pop-to-buffer): Don't set-buffer here, the select-window call
6186 should do that.
6187 (mouse-autoselect-window-select): Autoselect only if we are in the
6188 text portion of the window.
6189
8259030d
LMI
61902013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6191
21c58ae2
LMI
6192 * net/shr.el (shr-parse-image-data): New function to grab both the
6193 data itself and the Content-Type.
6194 (shr-put-image): Use it.
6195
6196 * net/eww.el (eww-display-image): Ditto.
6197
8259030d
LMI
6198 * image.el (image-content-type-suffixes): New variable.
6199
ad756449
FEG
62002013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6201
6202 * progmodes/python.el (python-imenu--build-tree)
6203 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6204
f73f4ce6
XF
62052013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6206
6207 * simple.el (backward-word): Mention the optional argument.
6208
1f585e65
SM
62092013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6210
6211 * frameset.el (frameset--make): Rename constructor from make-frameset.
6212 (frameset-p, frameset-valid-p): Don't autoload.
6213 (frameset-valid-p): Use normal accessors.
6214
af1c6c84
GM
62152013-08-13 Glenn Morris <rgm@gnu.org>
6216
55e47f95
GM
6217 * progmodes/compile.el (compile-command): Tweak example in doc.
6218 * obsolete/scribe.el (scribe-mode):
6219 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6220
f0024d8c
GM
6221 * mail/feedmail.el (feedmail-confirm-outgoing)
6222 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6223
6224 * cus-start.el (truncate-partial-width-windows): Fix type.
6225
6226 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6227
af1c6c84
GM
6228 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6229
5514cc4c
SM
62302013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6231
6232 * emacs-lisp/timer.el (timer--time-setter): New function.
6233 (timer--time): Use it as gv-setter.
6234
6235 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6236 setter is not a symbol.
6237
7997a2f1
GJ
62382013-08-12 Grégoire Jadi <daimrod@gmail.com>
6239
6240 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6241 if sending fails. This makes debugging easier.
6242
01f1a9ab
JB
62432013-08-12 Juanma Barranquero <lekktu@gmail.com>
6244
6245 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6246 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6247 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6248
594a4307
EZ
62492013-08-12 Eli Zaretskii <eliz@gnu.org>
6250
6251 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6252
7a22490f 62532013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
6254
6255 * format.el (format-annotate-function):
6256 Handle read-only text properties in the source. (Bug#14887)
6257
3e41a054
LMI
62582013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6259
5514cc4c
SM
6260 * net/eww.el (eww-display-html): Ignore coding system errors.
6261 One web site uses "utf-8lias" as the coding system.
3e41a054 6262
7ec326db
JB
62632013-08-11 Juanma Barranquero <lekktu@gmail.com>
6264
6265 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6266
5660113b
JB
62672013-08-10 Juanma Barranquero <lekktu@gmail.com>
6268
9a4ebc74
JB
6269 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6270 (tutorial--detailed-help): Remove unused local variables.
6271 (tutorial--save-tutorial-to): Use ignore-errors.
6272 (help-with-tutorial): Use looking-at-p.
6273
6274 * view.el (view-buffer-other-window, view-buffer-other-frame):
6275 Mark unused arguments.
6276
6277 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6278 (woman-select-symbol-fonts, woman, woman-find-file)
6279 (woman-insert-file-contents, woman-non-underline-faces):
6280 Use string-match-p.
6281 (woman1-unquote): Move declaration.
6282
6283 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6284 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6285 argument. Remove unused local variable.
6286 (xml-parse-elem-type): Use string-match-p.
6287 (xml-substitute-numeric-entities): Use ignore-errors.
6288
45fdb482
JB
6289 * calculator.el (calculator): Mark unused argument.
6290 (calculator-paste, calculator-quit, calculator-integer-p):
6291 Use ignore-errors.
6292 (calculator-string-to-number, calculator-decimal, calculator-exp)
6293 (calculator-op-or-exp): Use string-match-p.
6294
6295 * dired.el (dired-buffer-more-recently-used-p): Declare.
6296 (dired-insert-set-properties, dired-insert-old-subdirs):
6297 Use ignore-errors.
6298
6299 * dired-aux.el (dired-compress): Use ignore-errors.
6300 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6301 (dired-do-async-shell-command, dired-do-shell-command)
6302 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6303 (dired-insert-subdir-validate): Use string-match-p.
6304 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6305 (dired-add-entry): Use string-match-p, looking-at-p.
6306 (dired-insert-subdir-newpos): Remove unused local variable.
6307
6308 * filenotify.el (file-notify-callback): Remove unused local variable.
6309
6310 * filesets.el (filesets-error): Mark unused argument.
6311 (filesets-which-command-p, filesets-filter-dir-names)
6312 (filesets-directory-files, filesets-get-external-viewer)
6313 (filesets-ingroup-get-data): Use string-match-p.
6314
6315 * find-file.el (ff-other-file-name, ff-other-file-name)
6316 (ff-find-the-other-file, ff-cc-hh-converter):
6317 Remove unused local variables.
6318 (ff-get-file-name): Use string-match-p.
6319 (ff-all-dirs-under): Use ignore-errors.
6320
6321 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6322 (follow-select-if-visible): Remove unused local variable.
6323
6324 * forms.el (read-file-filter): Move declaration.
6325 (forms--make-format, forms--make-parser, forms-insert-record):
6326 Quote function with #'.
6327 (forms--update): Use string-match-p. Quote function with #'.
6328
6329 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6330 (help-make-xrefs): Use looking-at-p.
6331 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6332
6333 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6334 (ibuffer-confirm-operation-on): Use string-match-p.
6335
6336 * msb.el (msb-item-handler, msb-dired-item-handler):
6337 Mark unused arguments.
6338
6339 * ses.el (ses-decode-cell-symbol)
6340 (ses-kill-override): Remove unused local variable.
6341 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6342 (ses-load): Use ignore-errors, looking-at-p.
6343 (ses-jump-safe): Use ignore-errors.
6344 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6345
6346 * tabify.el (untabify, tabify): Mark unused arguments.
6347
6348 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6349 Mark unused argument.
6350 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6351 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6352
c880af52
JB
6353 * emacs-lisp/timer.el (timer--time): Define setter with
6354 gv-define-setter to avoid deprecation warning.
6355
5660113b 6356 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 6357 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
6358 (cmpl-statistics-block): Remove (body was commented out).
6359 All callers changed.
6360 (add-completions-from-buffer, load-completions-from-file):
6361 Remove unused variables.
6362
156aab80
JB
63632013-08-09 Juanma Barranquero <lekktu@gmail.com>
6364
5c5dee78
JB
6365 * filecache.el (file-cache-delete-file-list):
6366 Print message only when told so.
6367 (file-cache-files-matching): Use #' in mapconcat argument.
6368
156aab80
JB
6369 * ffap.el (ffap-url-at-point): Fix reference to variable
6370 thing-at-point-default-mail-uri-scheme.
6371
ad9dcd70
SM
63722013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6373
54bd972f
SM
6374 * subr.el (define-error): New function.
6375 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6376 error-file-not-found and define with define-error.
6377 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6378 and define with define-error.
6379 * userlock.el (file-locked, file-supersession):
6380 * simple.el (mark-inactive):
6381 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6382 * progmodes/ada-mode.el (ada-mode-errors):
6383 * play/life.el (life-extinct):
6384 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6385 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6386 * nxml/rng-util.el (rng-error):
6387 * nxml/rng-uri.el (rng-uri-error):
6388 * nxml/rng-match.el (rng-compile-error):
6389 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6390 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6391 * nxml/nxml-rap.el (nxml-scan-error):
6392 * nxml/nxml-outln.el (nxml-outline-error):
6393 * net/soap-client.el (soap-error):
6394 * net/gnutls.el (gnutls-error):
6395 * net/ange-ftp.el (ftp-error):
6396 * mpc.el (mpc-proc-error):
6397 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6398 (json-number-format, json-string-escape, json-string-format)
6399 (json-key-format, json-object-format):
6400 * jka-compr.el (compression-error):
6401 * international/quail.el (quail-error):
6402 * international/kkc.el (kkc-error):
6403 * emacs-lisp/ert.el (ert-test-failed):
6404 * calc/calc.el (calc-error, inexact-result, math-overflow)
6405 (math-underflow):
6406 * bookmark.el (bookmark-error-no-filename):
6407 * epg.el (epg-error): Define with define-error.
6408
0ea9e53a
SM
6409 * time.el (display-time-event-handler)
6410 (display-time-next-load-average): Don't call sit-for since it seems
6411 unnecessary (bug#15045).
6412
b0429158
SM
6413 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6414 Use #' instead of ' to quote functions.
6415 (checkdoc-output-mode): Use setq-local.
6416 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6417 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6418 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6419 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6420 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6421 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6422 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6423 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6424
ad9dcd70
SM
6425 * ido.el (ido-completion-help): Fix up compiler warning.
6426
77187e6f
JB
64272013-08-09 Juanma Barranquero <lekktu@gmail.com>
6428
6429 * frameset.el (frameset-p): Add autoload cookie.
6430 (frameset--jump-to-register): New function, based on code moved from
6431 register.el.
6432 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6433
6434 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6435 (frameset-restore, frameset-save, frameset-session-filter-alist):
6436 Remove declarations.
6437 (register-alist): Doc fix.
6438 (frameset-to-register): Move to frameset.el.
6439 (jump-to-register, describe-register-1): Remove frameset-specific code.
6440
9d3aa82c
JB
64412013-08-08 Juanma Barranquero <lekktu@gmail.com>
6442
6443 * allout-widgets.el (allout-widgets-pre-command-business)
6444 (allout-widgets-post-command-business)
6445 (allout-widgets-after-change-handler)
6446 (allout-decorate-item-and-context, allout-set-boundary-marker)
6447 (allout-body-modification-handler)
6448 (allout-graphics-modification-handler): Mark ignored arguments.
6449 (allout-widgets-post-command-business)
6450 (allout-widgets-exposure-change-processor)
6451 (allout-widgets-exposure-undo-processor)
6452 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6453 (allout-parse-item-at-point, allout-decorate-item-guides)
6454 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6455 * allout.el (epa-passphrase-callback-function): Declare.
6456 (allout-overlay-insert-in-front-handler)
6457 (allout-overlay-interior-modification-handler)
6458 (allout-isearch-end-handler, allout-chart-siblings)
6459 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6460 (allout-yank-processing, allout-process-exposed)
6461 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 6462 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
6463 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6464 (lisp-indent-defform): Mark ignored arguments.
6465 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6466 (calculate-lisp-indent): Remove unused variables.
6467 * international/characters.el (indian-2-column, arabic-2-column)
6468 (tibetan): Mark ignored arguments.
6469 (use-cjk-char-width-table): Mark ignored arguments.
6470 Remove unused variables.
6471 * international/fontset.el (build-default-fontset-data)
6472 (x-compose-font-name, create-fontset-from-fontset-spec):
6473 Mark ignored arguments.
6474 (fontset-plain-name): Remove unused variables.
6475 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6476 (keyboard-coding-system): Mark ignored arguments.
6477 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6478 * help.el (resize-temp-buffer-window):
6479 * window.el (display-buffer-in-major-side-window)
6480 (display-buffer-in-side-window, display-buffer-in-previous-window):
6481 Remove unused variables.
6482 * isearch.el (isearch-forward-symbol):
6483 * version.el (emacs-bzr-version-bzr):
6484 * international/mule-cmds.el (current-language-environment):
6485 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6486 (x-handle-display):
6487 * term/pc-win.el (x-list-fonts, x-display-planes)
6488 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6489 (x-server-version, x-display-screens, x-display-mm-height)
6490 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6491 (x-selection-owner-p, x-own-selection-internal)
6492 (x-disown-selection-internal, x-get-selection-internal)
6493 (msdos-initialize-window-system):
6494 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6495 * term/x-win.el (x-handle-no-bitmap-icon):
6496 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6497 (vc-default-find-file-hook, vc-default-extra-menu):
6498 Mark ignored arguments.
6499
0ca3f70e
SM
65002013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6501
6502 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6503 break-condition in the context of the debugged code (bug#12685).
6504
74c5d24c
CS
65052013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6506
6507 * comint.el:
6508 Do not use an overlay to highlight the last prompt. (Bug#14744)
6509 (comint-mode): Make comint-last-prompt buffer local.
6510 (comint-last-prompt): New variable.
6511 (comint-last-prompt-overlay): Remove. Superseded by
6512 comint-last-prompt.
0ca3f70e
SM
6513 (comint-snapshot-last-prompt, comint-output-filter):
6514 Use comint-last-prompt.
74c5d24c 6515
c03c02ee
JB
65162013-08-08 Juanma Barranquero <lekktu@gmail.com>
6517
a3738d20 6518 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
6519 (frameset-save): Check validity of the resulting frameset.
6520
04263d23
XF
65212013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6522
6523 * ido.el (ido-record-command): Add doc string.
6524
76c5e5ab
JB
65252013-08-08 Juanma Barranquero <lekktu@gmail.com>
6526
6527 * frameset.el (frameset): Do not disable creation of the default
6528 frameset-p predicate. Doc fix.
6529 (frameset-valid-p): New function, copied from the old predicate-p.
6530 Add additional checks.
6531 (frameset-restore): Check with frameset-valid-p.
6532 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6533 (frameset-name, frameset-description, frameset-properties)
6534 (frameset-states): Add docstring.
f9dbf1cb
JB
6535 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6536 (frameset-filter-alist): Doc fixes.
76c5e5ab 6537
bd0c3c0b
JB
65382013-08-08 Juanma Barranquero <lekktu@gmail.com>
6539
6540 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6541
c735544c
SM
65422013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6543
6544 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6545 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6546 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6547 (byte-compile-normal-call): Remove obsolescence check.
6548
2805a651
JB
65492013-08-08 Juanma Barranquero <lekktu@gmail.com>
6550
3677ffeb
JB
6551 * frameset.el (frameset-restore): Doc fix.
6552
2805a651
JB
6553 * register.el (frameset-frame-id, frameset-frame-with-id)
6554 (frameset-p, frameset-restore, frameset-save): Declare.
6555 (register-alist): Document framesets.
6556 (frameset-session-filter-alist): Declare.
6557 (frameset-to-register): New function.
6558 (jump-to-register): Implement jumping to framesets. Doc fix.
6559 (describe-register-1): Describe framesets.
6560
6561 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6562
a912c016
JB
65632013-08-07 Juanma Barranquero <lekktu@gmail.com>
6564
6565 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6566 Use lexical-binding.
6567
6568 * frameset.el (frameset): Use type vector, not list (incompatible
6569 change). Do not declare a new constructor, use the default one.
6570 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6571 `name' and `description', respectively, and add read-only slot
6572 `timestamp'. Doc fixes.
6573 (frameset-copy, frameset-persistent-filter-alist)
6574 (frameset-filter-alist, frameset-switch-to-gui-p)
6575 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6576 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6577 (frameset-filter-iconified, frameset-keep-original-display-p):
6578 Doc fixes.
6579 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6580 Rename from frameset-filter-(save|restore)-param. All callers changed.
6581 Doc fix.
6582 (frameset-p): Adapt to change to vector and be more thorough.
6583 Change arg name to OBJECT. Doc fix.
6584 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6585 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6586 All callers changed.
6587 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6588 All callers changed.
6589 (frameset--record-minibuffer-relationships): Rename from
6590 frameset--process-minibuffer-frames. All callers changed.
6591 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6592 Use new default constructor (again). Doc fix.
6593 (frameset--find-frame-if): Rename from `frameset--find-frame.
6594 All callers changed.
6595 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6596 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6597 Doc fix.
6598 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6599 PARAMETERS and WINDOW-STATE, respectively.
6600 (frameset-restore): Add new keyword argument PREDICATE.
6601 Reset frameset--target-display to nil. Doc fix.
6602
bb41480a
SM
66032013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6604
f001e98e
SM
6605 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6606 (bat-mode): Use it.
6607 (bat-mode-syntax-table): Mark \n as end-of-comment.
6608 (bat-font-lock-keywords): Remove comment rule.
6609
7679edb1
SM
6610 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6611 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6612
bb41480a
SM
6613 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6614 (byte-compile-callargs-warn): Use `push'.
6615 (byte-compile-arglist-warn): Ignore higher-order "calls".
6616 (byte-compile-file-form-autoload): Use `pcase'.
6617 (byte-compile-function-form): If quoting a symbol, check that it exists.
6618
cdc1ebb9
EZ
66192013-08-07 Eli Zaretskii <eliz@gnu.org>
6620
6621 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6622 and add a few popular commands found in batch files.
6623 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6624 (dos-mode): Doc fixes.
6625
312b1740
SM
66262013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6627
6628 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6629 (dos-mode): Use setq-local. Add space after "rem".
6630 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6631 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6632
400a3178
AM
66332013-08-07 Arni Magnusson <arnima@hafro.is>
6634
6635 * progmodes/dos.el: New file.
6636 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6637 dos-mode.
6638
3b5c03d3
GM
66392013-08-06 Glenn Morris <rgm@gnu.org>
6640
6641 * calendar/calendar.el: Add new faces, and day-header-array.
6642 (calendar-weekday-header, calendar-weekend-header)
6643 (calendar-month-header): New faces.
6644 (calendar-day-header-construct): New function.
6645 (calendar-day-header-width): Also :set calendar-day-header-array.
6646 (calendar-american-month-header, calendar-european-month-header)
6647 (calendar-iso-month-header): Use calendar- faces.
6648 (calendar-generate-month):
6649 Use calendar-day-header-array for day headers; apply faces to them.
6650 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6651 (calendar-abbrev-construct): Add optional maxlen argument.
6652 (calendar-day-name-array): Doc fix.
6653 (calendar-day-name-array, calendar-abbrev-length)
6654 (calendar-day-abbrev-array):
6655 Also :set calendar-day-header-array, and maybe redraw.
6656 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 6657 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
6658 (calendar-day-name): Add option to use header array.
6659
ec6a2d7a
LMI
66602013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6661
6662 * net/shr.el (shr-render-td): Remove debugging.
6663 (shr-render-td): Make width computation consistent by defaulting
6664 all zero-width columns to 10 characters. This may not be optimal,
6665 but it's at least consistent.
2122cb6d
LMI
6666 (shr-make-table-1): Redo last change to fix the real problem in
6667 colspan handling.
ec6a2d7a 6668
ed4fd9c5
DA
66692013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6670
0ca3f70e
SM
6671 * files.el (cache-long-line-scans):
6672 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 6673
64e22afe
JB
66742013-08-06 Juanma Barranquero <lekktu@gmail.com>
6675
024b38fc
JB
6676 * frameset.el (frameset, frameset-filter-alist)
6677 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6678 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6679 (frameset-compute-pos): Rename from frameset--compute-pos,
6680 and add docstring.
6681 (frameset-move-onscreen): Use frameset-compute-pos.
6682 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6683
64e22afe
JB
6684 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6685 Fix typos in docstrings.
6686
c8c2aca8
DA
66872013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6688
6689 * frame.el (get-other-frame): Tiny cleanup.
6690
1d237bba
JB
66912013-08-06 Juanma Barranquero <lekktu@gmail.com>
6692
8951efef
JB
6693 * vc/vc.el (vc-default-ignore-completion-table):
6694 Silence byte-compiler warning.
6695
307764cc 6696 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 6697 slot, which can indeed be nil.
307764cc
JB
6698 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6699 Move entry for `left' from persistent to live filter alist.
6700 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6701 Doc fixes.
6702 (frameset-filter-params): When restoring a frame, copy items added to
6703 `filtered', to avoid unwittingly modifying the original parameters.
6704 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6705 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6706
1d237bba
JB
6707 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6708 to use looking-at-p instead of looking-at. (Bug#15028)
6709
dc6c0eda
SM
67102013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6711
6712 Revert introduction of isearch-filter-predicates (bug#14714).
6713 Rely on add-function instead.
6714 * isearch.el (isearch-filter-predicates): Rename it back to
6715 isearch-filter-predicate.
6716 (isearch-message-prefix): Use advice-function-mapc and advice
6717 properties to get the isearch-message-prefix.
6718 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6719 instead of run-hook-with-args-until-failure.
6720 (isearch-filter-visible): Not obsolete any more.
6721 * loadup.el: Preload nadvice.
6722 * replace.el (perform-replace): Revert to funcall
6723 instead of run-hook-with-args-until-failure.
6724 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6725 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6726 dired-isearch-filenames-toggle; make it into a proper minor mode.
6727 Use add/remove-function.
6728 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6729 Call the minor-mode rather than add/remove-hook.
6730 (dired-isearch-filter-filenames):
6731 Remove isearch-message-prefix property.
6732 * info.el (Info--search-loop): New function, extracted from Info-search.
6733 Funcall isearch-filter-predicate instead of
6734 run-hook-with-args-until-failure isearch-filter-predicates.
6735 (Info-search): Use it.
6736 (Info-mode): Use isearch-filter-predicate instead of
6737 isearch-filter-predicates.
6738
290d5b58
DA
67392013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6740
6741 Do not call to `selected-window' where it is assumed by default.
6742 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6743 `window-hscroll', `window-width', `window-height', `window-buffer',
6744 `window-frame', `window-start', `window-point', `next-window'
6745 and `window-display-table'.
6746 * abbrev.el (abbrev--default-expand):
6747 * bs.el (bs--show-with-configuration):
6748 * buff-menu.el (Buffer-menu-mouse-select):
6749 * calc/calc.el (calc):
6750 * calendar/calendar.el (calendar-generate-window):
6751 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6752 (diary-make-entry):
6753 * comint.el (send-invisible, comint-dynamic-complete-filename)
6754 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6755 * completion.el (complete):
6756 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6757 * disp-table.el (describe-current-display-table):
6758 * doc-view.el (doc-view-insert-image):
6759 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6760 * ehelp.el (with-electric-help):
6761 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6762 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6763 * emacs-lisp/helper.el (Helper-help-scroller):
6764 * emulation/cua-base.el (cua--post-command-handler-1):
6765 * eshell/esh-mode.el (eshell-output-filter):
6766 * ffap.el (ffap-gnus-wrapper):
6767 * help-macro.el (make-help-screen):
6768 * hilit-chg.el (highlight-compare-buffers):
6769 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6770 * hl-line.el (global-hl-line-highlight):
6771 * icomplete.el (icomplete-simple-completing-p):
6772 * isearch.el (isearch-done):
6773 * jit-lock.el (jit-lock-stealth-fontify):
6774 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 6775 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
6776 * mpc.el (mpc-tagbrowser, mpc):
6777 * net/rcirc.el (rcirc-any-buffer):
6778 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6779 * play/landmark.el (landmark-max-width, landmark-max-height):
6780 * play/zone.el (zone):
6781 * progmodes/compile.el (compilation-goto-locus):
6782 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6783 * progmodes/etags.el (find-tag-other-window):
6784 * progmodes/fortran.el (fortran-column-ruler):
6785 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6786 * progmodes/verilog-mode.el (verilog-point-text):
6787 * reposition.el (reposition-window):
6788 * rot13.el (toggle-rot13-mode):
6789 * server.el (server-switch-buffer):
6790 * shell.el (shell-dynamic-complete-command)
6791 (shell-dynamic-complete-environment-variable):
6792 * simple.el (insert-buffer, set-selective-display)
6793 (delete-completion-window):
6794 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6795 (speedbar-recenter):
6796 * startup.el (fancy-splash-head):
6797 * textmodes/ispell.el (ispell-command-loop):
6798 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6799 * tutorial.el (help-with-tutorial):
6800 * vc/add-log.el (add-change-log-entry):
6801 * vc/compare-w.el (compare-windows):
6802 * vc/ediff-help.el (ediff-indent-help-message):
6803 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6804 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6805 (ediff-setup-control-frame):
6806 * vc/emerge.el (emerge-position-region):
6807 * vc/pcvs-util.el (cvs-bury-buffer):
6808 * window.el (walk-windows, mouse-autoselect-window-select):
6809 * winner.el (winner-set-conf, winner-undo): Related users changed.
6810
38276e01
JB
68112013-08-05 Juanma Barranquero <lekktu@gmail.com>
6812
6813 * frameset.el (frameset--set-id): Doc fix.
6814 (frameset-frame-id, frameset-frame-id-equal-p)
6815 (frameset-locate-frame-id): New functions.
6816 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6817 (frameset-restore): Use them.
6818
12b4c0ea
DA
68192013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6820
6821 Do not call to `selected-frame' where it is assumed by default.
6822 Affected functions are `raise-frame', `redraw-frame',
6823 `frame-first-window', `frame-terminal' and `delete-frame'.
6824 * calendar/appt.el (appt-disp-window):
6825 * epg.el (epg-wait-for-completion):
6826 * follow.el (follow-delete-other-windows-and-split)
6827 (follow-avoid-tail-recenter):
6828 * international/mule.el (set-terminal-coding-system):
6829 * mail/rmail.el (rmail-mail-return):
6830 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6831 * progmodes/f90.el (f90-add-imenu-menu):
6832 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6833 * server.el (server-switch-buffer):
6834 * simple.el (delete-completion-window):
6835 * talk.el (talk):
6836 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6837 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6838 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6839 * vc/ediff.el (ediff-documentation): Related users changed.
6840 * frame.el (selected-terminal): Remove the leftover.
6841
17f25e76
GM
68422013-08-05 Glenn Morris <rgm@gnu.org>
6843
6844 * calendar/calendar.el (calendar-generate-month):
6845 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
6846 (calendar-generate-month, calendar-font-lock-keywords):
6847 Fix for calendar-day-header-width > length of any day name.
17f25e76 6848
063233c3
JB
68492013-08-05 Juanma Barranquero <lekktu@gmail.com>
6850
6851 * desktop.el (desktop-clear): Use new name of sort predicate.
6852
6853 * frameset.el (frameset): Add docstring. Move :version property to its
6854 own `version' slot.
6855 (frameset-copy): Rename from copy-frameset.
6856 (frameset-p): Check more thoroughly.
6857 (frameset-prop): Do not check for :version, which is no longer a prop.
6858 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6859 Use new :never value instead of t.
6860 (frameset-filter-alist): Expand and clarify docstring.
6861 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6862 (frameset-filter-minibuffer, frameset-filter-save-param)
6863 (frameset-filter-restore-param, frameset-filter-iconified):
6864 Add pointer to docstring of frameset-filter-alist.
6865 (frameset-filter-params): Rename filter values to be more meaningful:
6866 :never instead of t, and reverse the meanings of :save and :restore.
6867 (frameset--process-minibuffer-frames): Clarify error message.
6868 (frameset-save): Avoid unnecessary and confusing call to framep.
6869 Use new BOA constructor for framesets.
6870 (frameset--reuse-list): Doc fix.
6871 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6872 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6873 (frameset-minibufferless-first-p): Doc fix.
6874 Rename from frameset-sort-frames-for-deletion.
6875 (frameset-restore): Doc fixes. Use new function names.
6876 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6877
d5671a82
JB
68782013-08-04 Juanma Barranquero <lekktu@gmail.com>
6879
6880 * desktop.el (desktop-restore-forces-onscreen)
6881 (desktop-restore-reuses-frames): Document :keyword constant values.
6882 (desktop-filter-parameters-alist): Remove, now identical to
6883 frameset-filter-alist.
6884 (desktop--filter-tty*): Remove, moved to frameset.el.
6885 (desktop-save-frameset, desktop-restore-frameset):
6886 Do not pass :filters argument.
6887
6888 * frameset.el (frameset-live-filter-alist)
6889 (frameset-persistent-filter-alist): New variables.
6890 (frameset-filter-alist): Use them. Add autoload cookie.
6891 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6892 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6893 `frameset--id' (it's supposed to be internal to frameset.el).
6894 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6895 (frameset--initial-params): New function.
6896 (frameset--get-frame): Use it. Doc fix.
6897 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6898 Accept :all, not 'all.
6899 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6900 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6901 with fbound symbols. Fix frame id matching, and remove matching ids if
6902 the frame being restored is deleted. Obey :delete.
6903
671d5c16
SM
69042013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6905
6906 * subr.el (macrop): New function.
6907 (text-clone--maintaining): New var.
6908 (text-clone--maintain): Rename from text-clone-maintain. Use it
6909 instead of inhibit-modification-hooks.
6910
6911 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6912 a proxy, so as handle autoloads and redefinitions of the target.
6913 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6914
6915 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6916 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6917 (pcase--mutually-exclusive-p): New function.
6918 (pcase--split-consp): Use it.
6919 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6920 mutually exclusive with the current predicate.
6921
6922 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6923 (edebug-macrop): Remove. Use `macrop' instead.
6924 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6925 (ad-macro-p):
6926 * eshell/esh-cmd.el (eshell-macrop):
6927 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6928
1d44e9dc
SM
69292013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6930
6931 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6932 (advice-mapc): New function, using it.
6933 (advice-function-member-p): New function.
6934 (advice--normalize): Store the cdr in advice--saved-rewrite since
6935 that's the part that will be changed.
6936 (advice--symbol-function): New function.
6937 (advice-remove): Handle removal before the function is defined.
6938 Adjust to new advice--saved-rewrite.
6939 (advice-member-p): Use advice-function-member-p and
6940 advice--symbol-function.
6941
5414a283
JB
69422013-08-04 Juanma Barranquero <lekktu@gmail.com>
6943
51d30f2c
JB
6944 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6945 (frameset-filter-minibuffer): Doc fix.
6946 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
6947 (frameset--set-id, frameset--process-minibuffer-frames)
6948 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6949 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 6950
5414a283
JB
6951 * desktop.el (desktop-clear): Only delete frames when called
6952 interactively and desktop-restore-frames is non-nil. Doc fix.
6953 (desktop-read): Set desktop-saved-frameset to nil.
6954
ab419665
XF
69552013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6956
6957 * vc/vc.el (vc-ignore): Rewrite.
6958 (vc-default-ignore-completion-table):
6959 (vc--read-lines):
6960 (vc--add-line, vc--remove-regexp): New functions.
6961
6962 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6963 (vc-svn-ignore-completion-table): New function.
6964
6965 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6966 (vc-hg-ignore-completion-table):
6967 (vc-hg-find-ignore-file): New functions.
6968
6969 * vc/vc-git.el (vc-git-ignore): Rewrite.
6970 (vc-git-ignore-completion-table):
6971 (vc-git-find-ignore-file): New functions.
6972
6973 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6974
6975 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6976 (vc-bzr-ignore-completion-table):
6977 (vc-bzr-find-ignore-file): New functions.
6978
2613dea2
JB
69792013-08-03 Juanma Barranquero <lekktu@gmail.com>
6980
6981 * frameset.el (frameset-prop): New function and setter.
6982 (frameset-save): Do not modify frame list passed by the caller.
6983
9c959872
SM
69842013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6985
6986 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6987
a104f656
SM
69882013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6989
70122acf
SM
6990 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6991 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6992
a104f656
SM
6993 * custom.el (custom-initialize-default, custom-initialize-set)
6994 (custom-initialize-reset, custom-initialize-changed): Affect the
6995 toplevel-default-value (bug#6275, bug#14586).
6996 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6997 for bug#6275.
6998
f078d570
JB
69992013-08-02 Juanma Barranquero <lekktu@gmail.com>
7000
185e3b5a
JB
7001 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7002 Add cl-def* expressions.
7003
f078d570
JB
7004 * frameset.el (frameset-filter-params): Fix order of arguments.
7005
9421876d
JB
70062013-08-02 Juanma Barranquero <lekktu@gmail.com>
7007
7008 Move code related to saving frames to frameset.el.
7009 * desktop.el: Require frameset.
7010 (desktop-restore-frames): Doc fix.
7011 (desktop-restore-reuses-frames): Rename from
7012 desktop-restoring-reuses-frames.
7013 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7014 (desktop-clear): Clear frames too.
7015 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7016 (desktop--filter-tty*, desktop-save, desktop-read):
7017 Use frameset functions.
7018 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7019 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7020 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7021 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7022 (desktop--process-minibuffer-frames, desktop-save-frames)
7023 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7024 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7025 (desktop--sort-states, desktop-restoring-frames-p)
7026 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7027 (desktop-restoring-frameset-p, desktop-restore-frameset)
7028 (desktop--check-dont-save, desktop-save-frameset): New functions.
7029 (desktop--app-id): New constant.
7030 (desktop-first-buffer, desktop-buffer-ok-count)
7031 (desktop-buffer-fail-count): Move before first use.
7032 * frameset.el: New file.
7033
76dc5996
SM
70342013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7035
7036 * files.el: Use lexical-binding.
7037 (dir-locals-read-from-file): Remove unused `err' variable.
7038 (hack-dir-local-variables--warned-coding): New var.
7039 (hack-dir-local-variables): Use it to avoid repeated warnings.
7040 (make-backup-file-name--default-function): New function.
7041 (make-backup-file-name-function): Use it as default.
7042 (buffer-stale--default-function): New function.
7043 (buffer-stale-function): Use it as default.
7044 (revert-buffer-insert-file-contents--default-function): New function.
7045 (revert-buffer-insert-file-contents-function): Use it as default.
7046 (insert-directory): Avoid add-to-list.
7047
7048 * autorevert.el (auto-revert-handler): Simplify.
7049 Use buffer-stale--default-function.
7050
06d36e2b
TH
70512013-08-01 Tassilo Horn <tsdh@gnu.org>
7052
5f648ab4
TH
7053 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7054
06d36e2b
TH
7055 * whitespace.el (whitespace-ensure-local-variables): New function.
7056 (whitespace-cleanup-region): Call it.
7057 (whitespace-turn-on): Call it.
7058
a43dc424
MA
70592013-08-01 Michael Albinus <michael.albinus@gmx.de>
7060
7061 Complete file name handlers.
7062
7063 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7064 (tramp-handle-verify-visited-file-modtime)
7065 (tramp-handle-file-notify-rm-watch): New functions.
7066 (tramp-call-process): Do not bind `default-directory'.
7067
44e18199
JB
7068 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7069 Order alphabetically.
a43dc424
MA
7070 [access-file, add-name-to-file, dired-call-process]:
7071 [dired-compress-file, file-acl, file-notify-rm-watch]:
7072 [file-ownership-preserved-p, file-selinux-context]:
7073 [make-directory-internal, make-symbolic-link, set-file-acl]:
7074 [set-file-selinux-context, set-visited-file-modtime]:
7075 [verify-visited-file-modtime]: Add handler.
7076 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7077
7078 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7079 [file-notify-add-watch, file-notify-rm-watch]:
7080 [set-file-times, set-visited-file-modtime]:
7081 [verify-visited-file-modtime]: Add handler.
7082 (with-tramp-gvfs-error-message)
7083 (tramp-gvfs-handle-set-visited-file-modtime)
7084 (tramp-gvfs-fuse-file-name): Remove.
7085 (tramp-gvfs-handle-file-notify-add-watch)
7086 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7087 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7088
44e18199
JB
7089 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7090 Order alphabetically.
a43dc424
MA
7091 [file-notify-rm-watch ]: Use default Tramp handler.
7092 [executable-find]: Remove private handler.
7093 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7094 `default-directory'.
7095 (tramp-sh-handle-executable-find)
7096 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7097 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7098 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7099 Do not use `format' in `tramp-message'.
7100
7101 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7102 [file-notify-rm-watch, set-visited-file-modtime]:
7103 [verify-visited-file-modtime]: Add handler.
7104 (tramp-smb-call-winexe): Do not bind `default-directory'.
7105
7188b515
XF
71062013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7107
7108 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7109
2412ee1a
DG
71102013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7111
7112 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7113 use it.
7114 (log-view-diff-changeset): Same.
7115 (log-view-diff-common): Call backend command `previous-revision'
7116 to find out the previous revision, in both cases. Swap the
7117 variables `to' and `fr', so that `fr' usually refers to the
7118 earlier revision (Bug#14989).
7119
5002a754
KRC
71202013-07-31 Kan-Ru Chen <kanru@kanru.info>
7121
7122 * ibuf-ext.el (ibuffer-filter-by-filename):
7123 Make it work with dired buffers too.
7124
44e18199 71252013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
7126
7127 * emacs-lisp/re-builder.el (reb-color-display-p):
7128 * files.el (save-buffers-kill-terminal):
7129 * net/browse-url.el (browse-url):
7130 * server.el (server-save-buffers-kill-terminal):
7131 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7132 Prefer nil to selected-frame for the first arg of frame-parameter.
7133
aeca3fbb
XF
71342013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7135
7136 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7137
158bc55c
SB
71382013-07-30 Stephen Berman <stephen.berman@gmx.net>
7139
7140 * minibuffer.el (completion--twq-all): Try and preserve each
7141 completion's case choice (bug#14907).
7142
d50fceab
LMI
71432013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7144
ac38e731
LMI
7145 * net/network-stream.el (open-network-stream): Mention the new
7146 :nogreeting parameter.
7147 (network-stream-open-starttls): Use the :nogreeting parameter
7148 (bug#14938).
7149
1211de50
LMI
7150 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7151
997798bf
LMI
7152 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7153 more natural than popping.
7154
d50fceab 7155 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 7156 (shr-urlify): Highlight under mouse.
d50fceab 7157
5c09de04
XF
71582013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7159
207d1d04
XF
7160 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7161
7162 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7163
5c09de04
XF
7164 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7165 buffer for output.
7166
3cd51eaa
XF
7167 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7168 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 7169
44e18199 7170 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 7171 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
7172
7173 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7174
7175 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7176 buffer for output.
7177
35a89bdd
EZ
71782013-07-29 Eli Zaretskii <eliz@gnu.org>
7179
7180 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7181 initial frame is minibuffer-less. (Bug#14841)
7182
78822e94
MA
71832013-07-29 Michael Albinus <michael.albinus@gmx.de>
7184
7185 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7186 option.
7187
7188 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7189 (tramp-maybe-open-connection): Use it.
7190
9503c190
JB
71912013-07-28 Juanma Barranquero <lekktu@gmail.com>
7192
7193 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7194 minimal set of parameters passed when creating a frame, because
7195 the minibuffer status of a frame cannot be changed later.
7196
d5a845b4
SB
71972013-07-28 Stephen Berman <stephen.berman@gmx.net>
7198
7199 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7200 replace-regexp-in-string and inadvertent omissions in previous change.
7201 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 7202 name of filtered items buffer.
d5a845b4 7203
ddeffb17
JB
72042013-07-28 Juanma Barranquero <lekktu@gmail.com>
7205
7206 * desktop.el: Optionally force offscreen frames back onscreen.
7207 (desktop-restoring-reuses-frames): New option.
7208 (desktop--compute-pos, desktop--move-onscreen): New functions.
7209 (desktop--make-frame): Use desktop--move-onscreen.
7210
f5950f7a
AM
72112013-07-27 Alan Mackenzie <acm@muc.de>
7212
7213 Fontify a Java generic method as a function.
7214 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7215 value to t.
7216
ae43b66a
SB
72172013-07-27 Stephen Berman <stephen.berman@gmx.net>
7218
7219 * calendar/todo-mode.el: Add command to rename todo files.
7220 (todo-rename-file): New command.
7221 (todo-key-bindings-t): Add key binding for it. Change the
7222 bindings of todo-filter-regexp-items(-multifile) to use `x'
7223 instead of `r', since the latter is better suited to the new
7224 renaming command.
7225
5ab78d3d
AM
72262013-07-27 Alan Mackenzie <acm@muc.de>
7227
7228 Make Java try-with-resources statement parse properly.
7229 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7230 (c-block-stmt-1-2-key): New language constants/variables.
7231 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7232 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7233 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 7234 with c-block-stmt-1-2-key.
5ab78d3d 7235
d85c4d50
JB
72362013-07-27 Juanma Barranquero <lekktu@gmail.com>
7237
7238 * desktop.el (desktop--make-frame): Apply most frame parameters after
7239 creating the frame to force (partially or totally) offscreen frames to
7240 be restored as such.
7241
e4c467f9
XF
72422013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7243
7244 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 7245 (Bug#14948)
e4c467f9 7246
7ced0d04
SM
72472013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7248
7249 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7250 `base' arg of backtrace-frame.
7251
fec92060
EZ
72522013-07-26 Eli Zaretskii <eliz@gnu.org>
7253
7254 * simple.el (list-processes): Doc fix.
7255
d58d31fb
JB
72562013-07-26 Juanma Barranquero <lekktu@gmail.com>
7257
7258 * desktop.el (desktop--select-frame):
d85c4d50 7259 Try harder to reuse existing frames.
d58d31fb 7260
53ff3e77
SM
72612013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7262
7263 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7264 (edebug-eval): Use backtrace-eval.
7265 (edebug--display, edebug--recursive-edit): Don't let-bind the
7266 edebug-outer-* vars that keep track of variables we locally let-bind.
7267 (edebug-outside-excursion): Don't restore outside values of locally
7268 let-bound vars.
7269 (edebug--display): Use user-error.
7270 (cl-lexical-debug, cl-debug-env): Remove.
7271
045f7a53
JB
72722013-07-26 Juanma Barranquero <lekktu@gmail.com>
7273
7274 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7275 are restored to be sure that they are visible before deleting any
7276 remaining ones.
7277
59070b32
MM
72782013-07-26 Matthias Meulien <orontee@gmail.com>
7279
742a3501
XF
7280 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7281 vc-print-root-log. (Bug#14948)
59070b32 7282
b1fb3596
RS
72832013-07-26 Richard Stallman <rms@gnu.org>
7284
7285 Add aliases for encrypting mail.
7286 * epa.el (epa-mail-aliases): New option.
7287 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7288 Bind inhibit-read-only so read-only text doesn't ruin everything.
7289 (epa-mail-default-recipients): New subroutine broken out.
7290 Handle epa-mail-aliases.
7291
56ea7291
SM
72922013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7293
7294 Add support for lexical variables to the debugger's `e' command.
7295 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7296 vars, except for debugger-outer-match-data.
7297 (debugger-frame-number): Move check for "on a function call" from
7298 callers into it. Add `skip-base' argument.
7299 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7300 (debugger-env-macro): Only reset the state stored in non-variables,
7301 i.e. current-buffer and match-data.
7302 (debugger-eval-expression): Rewrite using backtrace-eval.
7303 * subr.el (internal--called-interactively-p--get-frame): Remove.
7304 (called-interactively-p):
7305 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7306 `base' arg of backtrace-frame instead.
7307
15ac32d5
GM
73082013-07-26 Glenn Morris <rgm@gnu.org>
7309
8358a09d
GM
7310 * align.el (align-regexp): Doc fix. (Bug#14857)
7311 (align-region): Explicit error if subexpression missing/does not match.
7312
15ac32d5
GM
7313 * simple.el (global-visual-line-mode):
7314 Do not duplicate the mode lighter. (Bug#14858)
7315
f47ad11b
MR
73162013-07-25 Martin Rudalics <rudalics@gmx.at>
7317
7318 * window.el (display-buffer): In display-buffer bind
7319 split-window-keep-point to t, bug#14829.
7320
02530987
JB
73212013-07-25 Juanma Barranquero <lekktu@gmail.com>
7322
7323 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7324 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7325 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7326 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7327 Change accordingly.
f63ebeb5
JB
7328 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7329 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 7330
6ccb9cab 73312013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 7332
6ccb9cab 7333 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 7334
cb3a56d2
JB
73352013-07-25 Juanma Barranquero <lekktu@gmail.com>
7336
7337 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7338 parameter to modify-frame-parameters if the value has not changed;
7339 this is a workaround for bug#14949.
7340 (desktop--make-frame): On cl-delete-if call, check parameter name,
7341 not full parameter.
7342
7aa7fff0
XF
73432013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7344
7345 * vc/vc.el (vc-ignore): New function.
7346
7347 * vc/vc-svn.el (vc-svn-ignore): New function.
7348
7349 * vc/vc-hg.el (vc-hg-ignore): New function.
7350
7351 * vc/vc-git.el (vc-git-ignore): New function.
7352
7353 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7354 (vc-dir-ignore): New function.
7355
7356 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 7357 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
7358
7359 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7360
7361 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7362
889acc5c
JB
73632013-07-24 Juanma Barranquero <lekktu@gmail.com>
7364
7365 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7366 (desktop-restore-frames): Warn when deleting an existing frame failed.
7367
86c40970
GM
73682013-07-24 Glenn Morris <rgm@gnu.org>
7369
7370 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7371
d5d3c58a
MA
73722013-07-24 Michael Albinus <michael.albinus@gmx.de>
7373
7374 * filenotify.el (file-notify-supported-p):
7375 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7376 Remove functions.
7377
7378 * autorevert.el (auto-revert-use-notify):
7379 (auto-revert-notify-add-watch):
7380 * net/tramp.el (tramp-file-name-for-operation):
7381 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7382 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7383 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7384 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7385 Remove `file-notify-supported-p' entry.
7386
d100084b
GM
73872013-07-24 Glenn Morris <rgm@gnu.org>
7388
7389 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 7390 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 7391
ac93e56b
SM
73922013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7393
249eea30
SM
7394 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7395 checked with memq (bug#14935).
7396
ac93e56b
SM
7397 * files.el (revert-buffer-function): Use a non-nil default.
7398 (revert-buffer-preserve-modes): Declare var to
7399 provide access to the `preserve-modes' argument.
7400 (revert-buffer): Let-bind it.
7401 (revert-buffer--default): New function, extracted from revert-buffer.
7402
2cdeb903
SM
74032013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7404
7405 * lpr.el: Signal print errors more prominently.
7406 (print-region-function): Don't default to nil.
7407 (lpr-print-region): New function, extracted from print-region-1.
7408 Check lpr's return value and signal an error in case of problem.
7409 (print-region-1): Use it.
7410 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7411 versions instead.
7412 (ps-printer-name): Default to nil.
7413 (ps-printer-name-option): Default to lpr-printer-switch.
7414 (ps-print-region-function): Don't default to nil.
7415 (ps-postscript-code-directory): Simplify default.
7416 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7417 (ps-string-list, ps-eval-switch, ps-flatten-list)
7418 (ps-flatten-list-1): Remove.
7419 (ps-multibyte-buffer): Avoid setq.
7420 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7421 (print-region-function, ps-print-region-function): Don't set them here.
7422
73600831
XF
74232013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7424
0e55c076
XF
7425 * ido.el (ido-fractionp):
7426 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7427 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7428 (ido-max-directory-size, ido-max-dir-file-cache)
7429 (ido-decorations): Doc fix.
7430
73600831
XF
7431 * ansi-color.el: Fix old URL.
7432
3d012865
MM
74332013-07-23 Michael R. Mauger <michael@mauger.com>
7434
e903c210 7435 * progmodes/sql.el: Version 3.3
3d012865
MM
7436 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7437 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7438 (sql-interactive-remove-continuation-prompt): Rewrite, use
7439 functions above. Fix continuation prompt and complete output line
7440 handling.
7441 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7442 redirected output buffer.
7443 (sql-mode): Restore deleted code (Bug#13591).
7444
da77a2e2
JB
74452013-07-23 Juanma Barranquero <lekktu@gmail.com>
7446
7447 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7448
80ff0c71
MA
74492013-07-23 Michael Albinus <michael.albinus@gmx.de>
7450
7451 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7452
7453 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7454 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7455 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7456
b61d71e4
JB
74572013-07-23 Juanma Barranquero <lekktu@gmail.com>
7458
7459 * desktop.el (desktop-clear): Simplify; remove useless checks
7460 against invalid buffer names.
7461 (desktop-list*): Use cl-list*.
7462 (desktop-buffer-info, desktop-create-buffer): Simplify.
7463
c3512092
LL
74642013-07-23 Leo Liu <sdl.web@gmail.com>
7465
7466 * bookmark.el (bookmark-make-record): Restore NAME as a default
7467 value. (Bug#14933)
7468
0ac26976
SM
74692013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7470
7d22ce18
SM
7471 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7472 extracted from autoload--insert-text.
7473 (autoload--insert-text): Remove.
7474 (autoload--print-cookie-text): New function, extracted from
7475 autoload--insert-cookie-text.
7476 (autoload--insert-cookie-text): Remove.
7477 (autoload-generate-file-autoloads): Adjust calls accordingly.
7478
9b2607e8
SM
7479 * winner.el (winner-hook-installed-p): Remove.
7480 (winner-mode): Simplify accordingly.
7481
c43a8618
SM
7482 * subr.el (add-to-list): Fix compiler-macro when `append' is
7483 not constant. Don't use `cl-member' for the base case.
7484
0ac26976
SM
7485 * progmodes/subword.el: Fix boundary case (bug#13758).
7486 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7487 own group.
7488 (subword-backward-regexp): Make it a constant.
7489 (subword-forward-internal): Don't treat a trailing capital as the
7490 beginning of a word.
7491
6874724a
AR
74922013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7493
7494 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7495 global value of tabulated-list-revert-hook (bug#14930).
7496
70f1b5e8
JB
74972013-07-22 Juanma Barranquero <lekktu@gmail.com>
7498
a1c80d9d
JB
7499 * desktop.el: Require 'cl-lib.
7500 (desktop-before-saving-frames-functions): New hook.
7501 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7502 for frames being saved. Rename from desktop--save-minibuffer-frames.
7503 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
7504 Do not save frames with non-nil `desktop-dont-save' parameter.
7505 Filter out deleted frames.
a1c80d9d
JB
7506 (desktop--find-frame): Use cl-find-if.
7507 (desktop--select-frame): Use cl-(first|second|third) to access values
7508 of desktop-mini.
7509 (desktop--make-frame): Use cl-delete-if.
7510 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7511 (desktop-restore-frames): Use cl-(first|second|third) to access values
7512 of desktop-mini. Look for visible frame at the end, not while
7513 restoring frames.
7514
70f1b5e8
JB
7515 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7516 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7517 Use string-match-p, looking-at-p (bug#14927).
7518
728dc3cc
JB
75192013-07-21 Juanma Barranquero <lekktu@gmail.com>
7520
56bc453c
JB
7521 * desktop.el (desktop-saved-frame-states):
7522 Rename from desktop--saved-states; all users changed.
7523 (desktop-save-frames): Rename from desktop--save-frames.
7524 Do not save state to desktop file.
7525 (desktop-save): Save desktop-saved-frame-states to desktop file
7526 and reset to nil.
7527 (desktop-restoring-frames-p): New function.
7528 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7529 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7530 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7531
728dc3cc
JB
7532 * desktop.el: Correctly restore iconified frames.
7533 (desktop--filter-iconified-position): New function.
7534 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7535
862f1c9c
GM
75362013-07-20 Glenn Morris <rgm@gnu.org>
7537
c4074c9f
GM
7538 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7539 Let `message' do the formatting.
7540 (def-gdb-preempt-display-buffer): Add explicit format.
7541
d828e5f9
GM
7542 * image-dired.el (image-dired-track-original-file):
7543 Use with-current-buffer.
7544 (image-dired-track-thumbnail): Use with-current-buffer.
7545 Avoid changing point of wrong window.
7546
862f1c9c
GM
7547 * image-dired.el (image-dired-track-original-file):
7548 Avoid changing point of wrong window. (Bug#14909)
7549
f0398ec1 75502013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
7551
7552 * progmodes/gdb-mi.el (gdb-done-or-error):
7553 Guard against "%" in gdb output. (Bug#14127)
7554
1451928f
AS
75552013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7556
763a086d
JB
7557 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7558 (Bug#14826)
f7a03897 7559
1451928f
AS
7560 * international/mule.el (coding-system-iso-2022-flags): Fix last
7561 change.
7562
99107004
KH
75632013-07-20 Kenichi Handa <handa@gnu.org>
7564
763a086d
JB
7565 * international/mule.el (coding-system-iso-2022-flags):
7566 Add `8-bit-level-4'. (Bug#8522)
99107004 7567
48494e06
LMI
75682013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7569
8ba8eec5
LMI
7570 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7571 (bug#14815).
7572
dfbc66e3
LMI
7573 * net/eww.el (eww-process-text-input): Allow inputting when the
7574 point is at the start of the line, as the properties aren't
7575 front-sticky.
7576
48494e06
LMI
7577 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7578 degenerate widths.
7579
77c92cb9
RS
75802013-07-19 Richard Stallman <rms@gnu.org>
7581
aec7da77
RS
7582 * epa.el (epa-popup-info-window): Doc fix.
7583
77c92cb9
RS
7584 * subr.el (split-string): New arg TRIM.
7585
945c5bb1
JB
75862013-07-18 Juanma Barranquero <lekktu@gmail.com>
7587
7588 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7589 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7590
e06ec67f
MA
75912013-07-18 Michael Albinus <michael.albinus@gmx.de>
7592
c7064f05 7593 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
7594 `file-notify-support'. Do not autoload. Adapt all uses.
7595 (file-notify-supported-p): New defun.
7596
c7064f05
JB
7597 * autorevert.el (auto-revert-use-notify):
7598 Use `file-notify-supported-p' instead of `file-notify-support'.
7599 Adapt docstring.
e06ec67f
MA
7600 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7601
7602 * net/tramp.el (tramp-file-name-for-operation):
7603 Add `file-notify-supported-p'.
7604
7605 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7606 New defun.
7607 (tramp-sh-file-name-handler-alist): Add it as handler for
7608 `file-notify-supported-p '.
7609
7610 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7611 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7612 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7613 Add `ignore' as handler for `file-notify-*' functions.
7614
5dc8a629
EZ
76152013-07-17 Eli Zaretskii <eliz@gnu.org>
7616
7617 * simple.el (line-move-partial, line-move): Don't start vscroll or
7618 scroll-up if the current line is not taller than the window.
7619 (Bug#14881)
7620
77aea2fb
DG
76212013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7622
7623 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7624 highlight question marks in the method names as strings.
ac72c08d
DG
7625 (ruby-block-beg-keywords): Inline.
7626 (ruby-font-lock-keyword-beg-re): Extract from
7627 `ruby-font-lock-keywords'.
77aea2fb 7628
18c26d81
JD
76292013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7630
7631 * frame.el (blink-cursor-blinks): New defcustom.
7632 (blink-cursor-blinks-done): New defvar.
7633 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7634 (blink-cursor-timer-function): Check if number of blinks has been
7635 done on X and NS.
7636 (blink-cursor-suspend, blink-cursor-check): New defuns.
7637
da48522e
GM
76382013-07-15 Glenn Morris <rgm@gnu.org>
7639
7640 * edmacro.el (edmacro-format-keys): Fix previous change.
7641
0463c1ef
PE
76422013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7643
7644 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7645 The hack didn't work outside English locales anyway.
7646
b43f6451
JB
76472013-07-15 Juanma Barranquero <lekktu@gmail.com>
7648
7649 * simple.el (define-alternatives): Rename from alternatives-define,
7650 per RMS' suggestion.
7651
b958c0ad
JB
76522013-07-14 Juanma Barranquero <lekktu@gmail.com>
7653
7654 * desktop.el (desktop-restore-frames): Change default to t.
7655 (desktop-restore-in-current-display): Now offer more options.
7656 (desktop-restoring-reuses-frames): New customization option.
7657 (desktop--saved-states): Doc fix.
7658 (desktop-filter-parameters-alist): New variable, renamed and expanded
7659 from desktop--excluded-frame-parameters.
7660 (desktop--target-display): New variable.
7661 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7662 (desktop--filter-tty*, desktop--filter-*-color)
7663 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7664 (desktop--filter-save-desktop-parm)
7665 (desktop-restore-in-original-display-p): New functions.
7666 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7667 (desktop--save-minibuffer-frames): New function, inspired by a similar
7668 function from Martin Rudalics.
7669 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7670 (desktop--restore-in-this-display-p): Remove.
7671 (desktop--find-frame): Rename from desktop--find-frame-in-display
7672 and add predicate argument.
7673 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7674 (desktop--reuse-list): New variable.
7675 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7676 New functions.
7677 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7678
f6dd8b36
MA
76792013-07-14 Michael Albinus <michael.albinus@gmx.de>
7680
7681 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7682
2ce3c565
DG
76832013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7684
763a086d
JB
7685 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7686 Highlight conversion methods on Kernel.
2ce3c565 7687
2cdb7698
AM
76882013-07-13 Alan Mackenzie <acm@muc.de>
7689
7690 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7691 and comment it out. This out-commenting enables certain C++
7692 declarations to be parsed correctly.
7693
1a67b811
EZ
76942013-07-13 Eli Zaretskii <eliz@gnu.org>
7695
1b796d6b
EZ
7696 * international/mule.el (define-coding-system): Doc fix.
7697
1a67b811
EZ
7698 * simple.el (default-font-height): Don't call font-info if the
7699 frame's default font didn't change since the frame was created.
7700 (Bug#14838)
7701
58fbe886
LL
77022013-07-13 Leo Liu <sdl.web@gmail.com>
7703
7704 * ido.el (ido-read-file-name): Guard against non-symbol value.
7705
1f0480d4
FEG
77062013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7707
7708 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7709 in nested defuns.
7710
97ead0e5
LL
77112013-07-13 Leo Liu <sdl.web@gmail.com>
7712
7713 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7714 ido-set-matches call. (Bug#6852)
7715
0880a952
DG
77162013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7717
7718 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7719 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7720 Ruby 2.0.
7721 (ruby-font-lock-keywords): Distinguish calls to functions with
7722 module-like names from module references. Highlight character
7723 literals.
7724
a7d8babb
SDJ
77252013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7726
7727 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 7728 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 7729
acfcc8c5
JB
77302013-07-12 Juanma Barranquero <lekktu@gmail.com>
7731
7732 * desktop.el (desktop--v2s): Remove unused local variable.
7733 (desktop-save-buffer): Make defvar-local; adjust docstring.
7734 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7735 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7736
051f2775
AS
77372013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7738
7739 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7740
f24e7572
GM
77412013-07-12 Eli Zaretskii <eliz@gnu.org>
7742
7743 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7744 (Bug#14842)
7745
539a920c
GM
77462013-07-12 Glenn Morris <rgm@gnu.org>
7747
7748 * doc-view.el: Require cl-lib at runtime too.
7749 (doc-view-remove-if): Remove.
7750 (doc-view-search-next-match, doc-view-search-previous-match):
7751 Use cl-remove-if.
7752
7753 * edmacro.el: Require cl-lib at runtime too.
7754 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7755 (edmacro-mismatch, edmacro-subseq): Remove.
7756
7757 * shadowfile.el: Require cl-lib.
7758 (shadow-remove-if): Remove.
7759 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7760 Use cl-remove-if.
7761
7762 * wid-edit.el: Require cl-lib.
7763 (widget-choose): Use cl-remove-if.
7764 (widget-remove-if): Remove.
7765
7766 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7767 (ebrowse-delete-if-not): Remove.
7768 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7769 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7770 Use cl-delete-if-not.
7771
1048af7c
JB
77722013-07-12 Juanma Barranquero <lekktu@gmail.com>
7773
7774 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7775 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7776
6c0674ee
LL
77772013-07-12 Leo Liu <sdl.web@gmail.com>
7778
7779 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7780
a19b3c2d
GM
77812013-07-11 Glenn Morris <rgm@gnu.org>
7782
4582a01c
GM
7783 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7784 (edebug-gensym-index, edebug-gensym):
7785 Remove reimplementation of cl-gensym.
7786 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7787
7788 * thumbs.el: Require cl-lib at run-time too.
7789 (thumbs-gensym-counter, thumbs-gensym):
7790 Remove reimplementation of cl-gensym.
7791 (thumbs-temp-file): Use cl-gensym.
7792
a19b3c2d
GM
7793 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7794 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7795 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7796 (ert--union, ert--gensym-counter, ert--gensym-counter)
7797 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7798 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7799 (ert-make-test-unbound, ert--expand-should-1)
7800 (ert--expand-should, ert--should-error-handle-error)
7801 (should-error, ert--explain-equal-rec)
7802 (ert--plist-difference-explanation, ert-select-tests)
7803 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7804 Use cl-lib functions rather than reimplementations.
7805
88f6a933
MA
78062013-07-11 Michael Albinus <michael.albinus@gmx.de>
7807
7808 * net/tramp.el (tramp-methods): Extend docstring.
7809 (tramp-connection-timeout): New defcustom.
7810 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7811 (with-tramp-progress-reporter): Simplify.
7812 (tramp-process-actions): Improve messages.
7813
7814 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7815 * net/tramp-sh.el (tramp-maybe-open-connection):
7816 Use `tramp-connection-timeout'.
7817 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7818 (Bug#14808)
7819
a43d577e
LL
78202013-07-11 Leo Liu <sdl.web@gmail.com>
7821
7822 * ido.el (ido-read-file-name): Conform to the requirements of
7823 read-file-name. (Bug#11861)
7824 (ido-read-directory-name): Conform to the requirements of
7825 read-directory-name.
7826
d77974bf
JB
78272013-07-11 Juanma Barranquero <lekktu@gmail.com>
7828
7829 * subr.el (delay-warning): New function.
7830
35cb8a3e
EZ
78312013-07-10 Eli Zaretskii <eliz@gnu.org>
7832
7833 * simple.el (default-line-height): New function.
7834 (line-move-partial, line-move): Use it instead of computing the
7835 line height inline.
7836 (line-move-partial): Always compute ROWH. If the last line is
7837 partially-visible, but its text is completely visible, allow
7838 cursor to enter such a partially-visible line.
7839
525c5c77
MA
78402013-07-10 Michael Albinus <michael.albinus@gmx.de>
7841
7842 Improve error messages. (Bug#14808)
7843
7844 * net/tramp.el (tramp-current-connection): New defvar, moved from
7845 tramp-sh.el.
0ac26976 7846 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 7847 needed anymore.
0ac26976
SM
7848 (tramp-error-with-buffer): Show message in minibuffer.
7849 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
7850 (with-tramp-progress-reporter): Improve messages.
7851 (tramp-process-actions): Use progress reporter. Delete process in
7852 case of error. Improve messages.
7853
763a086d
JB
7854 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7855 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 7856 (tramp-current-connection): Remove.
525c5c77
MA
7857 (tramp-maybe-open-connection): The car of
7858 `tramp-current-connection' are the first 3 slots of the vector.
7859
c7a4d368
TZ
78602013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7861
7862 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7863 inside continued strings.
7864
954b166e
PE
78652013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7866
7867 Timestamp fixes for undo (Bug#14824).
7868 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7869
56973319
LL
78702013-07-10 Leo Liu <sdl.web@gmail.com>
7871
7872 * files.el (require-final-newline): Allow safe local value.
7873 (Bug#14834)
7874
5550a72c
LL
78752013-07-09 Leo Liu <sdl.web@gmail.com>
7876
7877 * ido.el (ido-read-directory-name): Handle fallback.
7878 (ido-read-file-name): Update DIR to ido-current-directory.
7879 (Bug#1516)
c28b9050 7880 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 7881
70c46b28
DG
78822013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7883
7884 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7885 "autoload". Remove "warn lower camel case" section, previously
7886 commented out. Highlight negation char. Do not highlight the
7887 target in singleton method definitions.
7888
0b64b838
SM
78892013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7890
7fd72e2c
SM
7891 * faces.el (tty-setup-hook): Declare the hook.
7892
0b64b838
SM
7893 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7894 and detect when a guard/pred depends on local vars (bug#14773).
7895 (pcase--u1): Adjust caller.
7896
ab49d60b
EZ
78972013-07-08 Eli Zaretskii <eliz@gnu.org>
7898
7899 * simple.el (line-move-partial, line-move): Account for
7900 line-spacing.
701d79aa
EZ
7901 (line-move-partial): Avoid setting vscroll when the last
7902 partially-visible line in window is of default height.
ab49d60b 7903
2d756ae0
LMI
79042013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7905
7906 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7907 been used a while.
7908
ed095bd7
JB
79092013-07-07 Juanma Barranquero <lekktu@gmail.com>
7910
7911 * subr.el (read-quoted-char): Remove unused local variable `char'.
7912
f1e6674b
MK
79132013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7914
584ee3fc
GM
7915 * ediff.el (ediff-version): Version update.
7916 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7917 (ediff-merge-with-ancestor-command, ediff-directories-command)
7918 (ediff-directories3-command, ediff-merge-directories-command)
7919 (ediff-merge-directories-with-ancestor-command): New functions.
7920 All are command-line interfaces to ediff: to facilitate calling
7921 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
7922
7923 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7924 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 7925
584ee3fc
GM
7926 * viper.el (viper-version): Version update.
7927 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 7928
584ee3fc
GM
79292013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7930
7931 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7932 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7933 (viper-intercept-ESC-key): Simplify.
7934 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7935 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7936 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7937 (viper-setup-ESC-to-escape): New functions.
7938 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7939 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 7940
9aff9b38
EZ
79412013-07-07 Eli Zaretskii <eliz@gnu.org>
7942
5165d44a
JB
7943 * simple.el (default-font-height, window-screen-lines):
7944 New functions.
9aff9b38
EZ
7945 (line-move, line-move-partial): Use them instead of
7946 frame-char-height and window-text-height. This makes scrolling
7947 text smoother when the buffer's default face uses a font that is
7948 different from the frame's default font.
7949
1afb1d07
JD
79502013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7951
7952 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 7953 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 7954
23de972a
EZ
79552013-07-06 Eli Zaretskii <eliz@gnu.org>
7956
7957 * simple.el (line-move-partial): Adjust the row returned by
7958 posn-at-point for the current window-vscroll. (Bug#14567)
7959
54a42486
MA
79602013-07-06 Michael Albinus <michael.albinus@gmx.de>
7961
7962 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7963 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7964 spaces.
7965
34ada5f4
MR
79662013-07-06 Martin Rudalics <rudalics@gmx.at>
7967
7968 * window.el (window-state-put-stale-windows): New variable.
7969 (window--state-put-2): Save list of windows without matching buffer.
7970 (window-state-put): Remove "bufferless" windows if possible.
7971
11e03d89
JB
79722013-07-06 Juanma Barranquero <lekktu@gmail.com>
7973
7974 * simple.el (alternatives-define): Remove leftover :group keyword.
7975 Tweak docstring.
7976
3504a4be
LL
79772013-07-06 Leo Liu <sdl.web@gmail.com>
7978
7979 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7980 (ido-enable-virtual-buffers): New variable.
7981 (ido-buffer-internal, ido-toggle-virtual-buffers)
7982 (ido-make-buffer-list): Use it.
7983 (ido-exhibit): Support turning on and off virtual buffers
7984 automatically.
7985
61e56e2c
JB
79862013-07-06 Juanma Barranquero <lekktu@gmail.com>
7987
7988 * simple.el (alternatives-define): New macro.
7989
321e1a9c
SM
79902013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7991
7992 * subr.el (read-quoted-char): Use read-key.
7993 (sit-for): Let read-event decode tty input (bug#14782).
7994
d610f6dd
SB
79952013-07-05 Stephen Berman <stephen.berman@gmx.net>
7996
7997 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
7998 mode command and externally. Fix various related bugs.
7999 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
8000 (todo-delete-file): New command.
8001 (todo-check-file): New function.
8002 (todo-show): Handle external deletion of the file we're trying to
8003 show (bug#14688). Replace called-interactively-p by an optional
8004 prefix argument to avoid problematic interaction with catch form
8005 when byte compiled (bug#14702).
8006 (todo-quit): Handle external deletion of the archive's todo file.
8007 Make sure the buffer that was visiting the archive file is still
8008 live before trying to bury it.
8009 (todo-category-completions): Handle external deletion of any
8010 category completion files.
8011 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8012 of todo files, in case of external deletion.
8013 (todo-add-file): Replace unnecessary setq by let-binding.
8014 (todo-find-archive): Check whether there are any archives.
8015 Replace unnecessary setq by let-binding.
8016 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
8017 archive buffer whether or not the archive already exists.
8018 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
8019 check if the archive is new; if it is, update list of archives.
8020 (todo-default-todo-file): Allow nil to be a valid value for when
8021 there are no todo files.
8022 (todo-reevaluate-default-file-defcustom): Use corrected definition
8023 of todo-default-todo-file.
8024 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8025 (todo-delete-category, todo-show-categories-table)
8026 (todo-category-number): Clarify comment.
8027 (todo-filter-items): Clarify documentation string.
8028 (todo-show-current-file, todo-display-as-todo-file)
8029 (todo-reset-and-enable-done-separator): Tweak documentation string.
8030 (todo-done-separator): Make separator length window-width, since
8031 bug#2749 is now fixed.
8032
ddbdfd6f
MA
80332013-07-05 Michael Albinus <michael.albinus@gmx.de>
8034
321e1a9c
SM
8035 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8036 Support both "gvfs-monitor-dir" and "inotifywait".
8037 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
8038 `tramp-sh-file-notify-process-filter'.
8039 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8040 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8041
96eb829a
LL
80422013-07-05 Leo Liu <sdl.web@gmail.com>
8043
8044 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8045
cf13177e
YM
80462013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8047
8048 * frame.el (display-pixel-height, display-pixel-width)
8049 (display-mm-height, display-mm-width): Mention behavior on
8050 multi-monitor setups in docstrings.
8051 (w32-display-monitor-attributes-list): Declare function.
8052 (display-monitor-attributes-list): Use it.
8053
864c58ca
MA
80542013-07-04 Michael Albinus <michael.albinus@gmx.de>
8055
8056 * filenotify.el: New package.
8057
8058 * autorevert.el (top): Require filenotify.el.
8059 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8060 instead.
8061 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8062 (auto-revert-notify-handler): Use `file-notify-*' functions.
8063
8064 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8065
321e1a9c
SM
8066 * net/tramp.el (tramp-file-name-for-operation):
8067 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
8068
8069 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8070 for `file-notify-add-watch' and `file-notify-rm-watch'.
8071 (tramp-process-sentinel): Improve trace.
8072 (tramp-sh-handle-file-notify-add-watch)
8073 (tramp-sh-file-notify-process-filter)
8074 (tramp-sh-handle-file-notify-rm-watch)
8075 (tramp-get-remote-inotifywait): New defuns.
8076
96673afe
JL
80772013-07-03 Juri Linkov <juri@jurta.org>
8078
8079 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8080 call of `occur-read-primary-args' to interactive spec.
8081
8082 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8083 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8084
924494f4
MM
80852013-07-03 Matthias Meulien <orontee@gmail.com>
8086
8087 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8088 `Buffer-menu-multi-occur'. Add it to the menu.
8089 (Buffer-menu-mode): Document it in docstring.
8090 (Buffer-menu-multi-occur): New command. (Bug#14673)
8091
56f75efc
DG
80922013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8093
8094 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8095 keywords and built-ins.
8096
9b057d61
GM
80972013-07-03 Glenn Morris <rgm@gnu.org>
8098
208dee4d
GM
8099 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8100
9b057d61
GM
8101 Make info-xref checks case-sensitive by default
8102 * info.el (Info-find-node, Info-find-in-tag-table)
8103 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8104 Add option for exact case matching of nodes.
8105 * info-xref.el (info-xref): New custom group.
8106 (info-xref-case-fold): New option.
8107 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8108
e01aa29c
LL
81092013-07-03 Leo Liu <sdl.web@gmail.com>
8110
8111 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8112
3086ca2e
DG
81132013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8114
8115 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8116 middle of block statement initially, lower the depth. Remove
8117 FIXME comment, not longer valid. Remove middle of block statement
8118 detection, no need to do that anymore since we've been using
8119 `ruby-parse-region' here.
8120
a3b49114
JD
81212013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8122
8123 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8124
08e5c823 81252013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
8126
8127 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8128
2addf922
JB
81292013-07-01 Juanma Barranquero <lekktu@gmail.com>
8130
8131 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8132 (desktop-restore-in-current-display): New customization option.
8133 (desktop--excluded-frame-parameters): Add `font'.
8134 (desktop--save-frames): Rename from desktop--save-windows.
8135 (desktop--restore-in-this-display-p): New function.
8136 (desktop--make-full-frame): Remove unwanted width/height from
8137 full(width|height) frames.
8138 (desktop--restore-frames): Rename from desktop--restore-windows.
8139 Obey desktop-restore-current-display. Do not delete old frames or
8140 select a new frame unless we were able to restore at least one frame.
8141
ef099a94
MN
81422013-06-30 Michal Nazarewicz <mina86@mina86.com>
8143
8144 * files.el (find-file-noselect): Simplify conditional expression.
8145
a12bf61e 8146 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
8147 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8148
8149 Add `remember-notes' function to store random notes across Emacs
8150 restarts.
3fcfc4ee
JB
8151 * textmodes/remember.el (remember-data-file): Add :set callback to
8152 affect notes buffer (if any).
ef099a94
MN
8153 (remember-notes): New command.
8154 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8155 New defcustoms for the `remember-notes' function.
8156 (remember-notes-save-and-bury-buffer): New command.
8157 (remember-notes-mode-map): New variable.
8158 (remember-mode): New minor mode.
8159 (remember-notes--kill-buffer-query): New function.
8160 * startup.el (initial-buffer-choice): Add notes to custom type.
8161
0865d506
EZ
81622013-06-30 Eli Zaretskii <eliz@gnu.org>
8163
0ba54312
EZ
8164 * bindings.el (right-char, left-char): Don't call sit-for, this is
8165 no longer needed. Use arithmetic comparison only for numerical
8166 arguments.
8167
ef099a94
MN
8168 * international/mule-cmds.el (select-safe-coding-system):
8169 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 8170
2fae38e5
LMI
81712013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8172
8173 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8174 progression on degenerate tables.
ef099a94 8175 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 8176
a47cbd64
JB
81772013-06-30 Juanma Barranquero <lekktu@gmail.com>
8178
8179 Some fixes and improvements for desktop frame restoration.
8180 It is still experimental and disabled by default.
8181 * desktop.el (desktop--save-windows): Put the selected frame at
8182 the head of the list.
8183 (desktop--make-full-frame): New function.
8184 (desktop--restore-windows): Try to re-select the frame that was
8185 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
8186 just show an error message and continue. Set up maximized frames
8187 so they have default non-maximized dimensions.
a47cbd64 8188
6dbafa30
DG
81892013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8190
ef099a94
MN
8191 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8192 Don't start heredoc inside a string or comment.
6dbafa30 8193
4c672a0f
EZ
81942013-06-29 Eli Zaretskii <eliz@gnu.org>
8195
8196 * bindings.el (visual-order-cursor-movement): New defcustom.
8197 (right-char, left-char): Provide visual-order cursor motion by
8198 calling move-point-visually. Update the doc strings.
8199
50960f36
KH
82002013-06-28 Kenichi Handa <handa@gnu.org>
8201
8202 * international/mule.el (define-coding-system): New coding system
8203 properties :inhibit-null-byte-detection,
8204 :inhibit-iso-escape-detection, and :prefer-utf-8.
8205 (set-buffer-file-coding-system): If :charset-list property of
8206 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8207 appropriate for setting.
8208
c1ea3abf
JB
8209 * international/mule-cmds.el (select-safe-coding-system):
8210 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8211 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
8212
8213 * international/mule-conf.el (prefer-utf-8): New coding system.
8214 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8215 files.
8216
75dbaf9d
IK
82172013-06-28 Ivan Kanis <ivan@kanis.fr>
8218
eadb6068
IK
8219 * net/shr.el (shr-render-region): New function.
8220
75dbaf9d
IK
8221 * net/eww.el: Autoload `eww-browse-url'.
8222
9ea5cf9f
DG
82232013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8224
c1ea3abf
JB
8225 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8226 Adapt to `package-desc-version' being a list.
8227 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
8228 archive element.
8229
39c0e36f
JB
82302013-06-27 Juanma Barranquero <lekktu@gmail.com>
8231
8232 New experimental feature to save&restore window and frame setup.
8233 * desktop.el (desktop-save-windows): New defcustom.
8234 (desktop--saved-states): New var.
8235 (desktop--excluded-frame-parameters): New defconst.
8236 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8237 (desktop--restore-windows, desktop--save-windows): New functions.
8238 (desktop-save): Call `desktop--save-windows'.
8239 (desktop-read): Call `desktop--restore-windows'.
8240
7f13406b
LMI
82412013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8242
ef099a94 8243 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 8244
1e072639
SB
82452013-06-27 Stephen Berman <stephen.berman@gmx.net>
8246
8247 * info.el (Info-try-follow-nearest-node): Move search for footnote
8248 above search for node name to prevent missing a footnote (bug#14717).
8249
f3e2cbde
SB
82502013-06-27 Stephen Berman <stephen.berman@gmx.net>
8251
8252 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8253
99906aa0
LL
82542013-06-27 Leo Liu <sdl.web@gmail.com>
8255
8256 * net/eww.el (eww-read-bookmarks): Check file size.
8257
539f75f4
SM
82582013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8259
8260 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8261 advice--pending if newdef is nil or an autoload (bug#13820).
8262 (advice-mapc): New function.
8263
843571cb
LMI
82642013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8265
8266 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8267 probably.
23a75d7f 8268 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
8269 (eww-add-bookmark): New command.
8270 (eww-bookmark-mode): New mode and commands.
a285ce99 8271 (eww-add-bookmark): Remove newlines from the title.
47fd571b 8272 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 8273
f2136e1e
GM
82742013-06-26 Glenn Morris <rgm@gnu.org>
8275
eab35f39
GM
8276 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8277 (hfy-size): Handle ttys. (Bug#14668)
8278
f2136e1e
GM
8279 * info-xref.el: Update for Texinfo 5 change in *note format.
8280 (info-xref-node-re, info-xref-note-re): New constants.
8281 (info-xref-check-buffer): Use info-xref-note-re.
8282
a49ff80c
SM
82832013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8284
a343d218
SM
8285 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8286
a49ff80c
SM
8287 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8288 nil terminate the loop (bug#14718).
8289
8308f184
LMI
82902013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8291
8292 * net/eww.el: Rework history traversal. When going forward/back,
8293 put these actions into the history, too, so that they can be
8294 replayed.
26bf2b82 8295 (eww-render): Move the history reset to the correct buffer.
8308f184 8296
ec64c273
JL
82972013-06-25 Juri Linkov <juri@jurta.org>
8298
8299 * files-x.el (modify-dir-local-variable): Change the header comment
8300 in the file with directory local variables. (Bug#14692)
8301
e080a9d7
JL
8302 * files-x.el (read-file-local-variable-value): Add `default'.
8303 (Bug#14710)
8304
bfbc93a1
IK
83052013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8306
8307 * net/eww.el (eww-make-unique-file-name): Create a unique file
8308 name before saving to entering `y' accidentally asynchronously.
8309
83102013-06-25 Ivan Kanis <ivan@kanis.fr>
8311
8312 * net/eww.el (eww-download): New command and keystroke.
8313
16f74f10
LMI
83142013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8315
a49ff80c 8316 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
8317
8318 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8319 be more consistent with Info and dired.
8320
8321 * net/eww.el (eww-mode-map): Ditto.
8322
12059709
SM
83232013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8324
8325 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8326 packages from archives.
8327 (package-archive-contents): Change format; include obsolete packages.
8328 (package-desc): Use `dir' to mark builtin packages.
8329 (package--from-builtin): Set the `dir' field to `builtin'.
8330 (generated-autoload-file, version-control): Declare.
8331 (package-compute-transaction): Change first arg and return value to be
8332 lists of package-descs. Adjust to new package-archive-contents format.
8333 (package--add-to-archive-contents): Adjust to new
8334 package-archive-contents format.
8335 (package-download-transaction): Arg is now a list of package-descs.
8336 (package-install): If `pkg' is a package name, pass it as
8337 a requirement, so it is subject to the usual (e.g. disabled) checks.
8338 (describe-package): Accept package-desc as well.
8339 (describe-package-1): Describe a specific package-desc. Add links to
8340 other package-descs for the same package name.
8341 (package-menu-describe-package): Pass the actual package-desc.
8342 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8343 works correctly.
8344 (package-desc-status): New function.
8345 (package-menu--refresh): New function, extracted
8346 from package-menu--generate.
8347 (package-menu--generate): Use it.
8348 (package-delete): Update package-alist.
8349 (package-menu-execute): Don't call package-initialize.
8350
8351 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8352 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8353 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8354 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8355 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8356 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8357
8bbdea0f
MR
83582013-06-25 Martin Rudalics <rudalics@gmx.at>
8359
8360 * window.el (window--state-get-1): Workaround for bug#14527.
8361 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8362
e82b0991
LMI
83632013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8364
8365 * net/eww.el (eww-back-url): Implement the history by stashing all
8366 the data into a list.
d3f0f918 8367 (eww-forward-url): Allow going forward in the history, too.
e82b0991 8368
c763842b
SM
83692013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8370
8371 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8372 for values and use read--expression for expressions (bug#14710).
8373 (read-file-local-variable): Avoid setq.
8374 (read-file-local-variable-mode): Use minor-mode-list.
8375
bceff189
RW
83762013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8377
864c58ca 8378 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
8379 for DOI URLs.
8380
45f431c6
RW
83812013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8382
864c58ca 8383 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
8384 Update imenu-support when dialect changes.
8385
f42d8237
LL
83862013-06-25 Leo Liu <sdl.web@gmail.com>
8387
8388 * ido.el (ido-read-internal): Allow forward slash on windows.
8389
be549ce6
LMI
83902013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8391
8392 * net/eww.el (eww): Start of strings is \\`, not ^.
8393
71d4c19d
IK
83942013-06-24 Ivan Kanis <ivan@kanis.fr>
8395
5196f88a
IK
8396 * net/shr.el (shr-browse-url): Fix interactive spec.
8397
71d4c19d
IK
8398 * net/eww.el (eww): Add a trailing slash to domain names.
8399
ae36ca55
JB
84002013-06-24 Juanma Barranquero <lekktu@gmail.com>
8401
8402 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8403
0ebd92a3
LMI
84042013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8405
bdaa086b
LMI
8406 * net/shr.el (shr-browse-url): Use an external browser if given a
8407 prefix.
8408
c763842b 8409 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 8410
b89fc156
IK
84112013-06-24 Ivan Kanis <ivan@kanis.fr>
8412
8413 * net/eww.el (eww): Work more correctly for file: URLs.
8414 (eww-detect-charset): Allow quoted charsets.
8415 (eww-yank-page-url): New command and keystroke.
8416
18eb4bca
DU
84172013-06-24 Daiki Ueno <ueno@gnu.org>
8418
8419 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8420 file name of gpg executable.
8421 (epg-context-program): New function.
8422 (epg-context-home-directory): New function.
8423 (epg-context-set-program): New function.
8424 (epg-context-set-home-directory): New function.
8425 (epg--start): Use `epg-context-program' instead of
8426 'epg-gpg-program'.
8427 (epg--list-keys-1): Likewise.
8428
6c6268c8
LL
84292013-06-24 Leo Liu <sdl.web@gmail.com>
8430
8431 * ido.el (ido-read-internal): Fix bug#14620.
8432
5e400cb3
JB
84332013-06-23 Juanma Barranquero <lekktu@gmail.com>
8434
8435 * faces.el (face-documentation): Simplify.
8436 (read-face-attribute, tty-find-type, x-resolve-font-name):
8437 Use `string-match-p'.
8438 (list-faces-display): Use `string-match-p'. Simplify.
8439 (face-spec-recalc): Check face to avoid face alias loops.
8440 (read-color): Use `string-match-p' and non-capturing parenthesis.
8441
f3f9606c
LMI
84422013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8443
8444 * net/shr.el (shr-rescale-image): Use the new
8445 :max-width/:max-height functionality.
8446
a3ca09b9
IK
84472013-06-23 Ivan Kanis <ivan@kanis.fr>
8448
8449 * net/eww.el (eww-search-prefix): New variable.
8450 (eww): Use it.
f865b474
IK
8451 (eww-external-browser): New variable.
8452 (eww-mode-map): New keystroke.
8453 (eww-browse-with-external-browser): New command.
a3ca09b9 8454
e854cfc7
IK
8455 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8456
18bb9e21
JB
84572013-06-23 Juanma Barranquero <lekktu@gmail.com>
8458
8459 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8460 Don't skip aligning the next header field when padding is 0;
8461 otherwise, field width is not respected unless the title is as
8462 wide as the field.
8463
5b165ade
SM
84642013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8465
8466 * emacs-lisp/package.el (package-el-version): Remove.
8467 (package-process-define-package): Fix inf-loop.
8468 (package-install): Allow symbols as arguments again.
8469
12adebe9
DG
84702013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8471
8472 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8473 add some more keyword-like methods.
8474 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8475
388573ee
JB
84762013-06-22 Juanma Barranquero <lekktu@gmail.com>
8477
8478 * bs.el (bs-buffer-show-mark): Make defvar-local.
8479 (bs-mode): Use setq-local.
8480
8481 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8482 (emacs-lock--try-unlocking): Make defvar-local.
8483
4582a01c 84842013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 8485
2663dd23
GM
8486 * play/cookie1.el (cookie-apropos): Minor simplification.
8487
3d94f3ad
GM
8488 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8489
f72e2fdb
DG
84902013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8491
8492 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8493 `regexp-opt', it breaks the build during dumping.
8494
73eab938
DG
84952013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8496
c763842b
SM
8497 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8498 Highlight keyword-like methods on Kernel and Module with
73eab938 8499 font-lock-builtin-face.
5cf8176d
DG
8500 (auto-mode-alist): Consolidate different entries into one regexp
8501 and add more *file-s.
73eab938 8502
d26255f6
SB
85032013-06-21 Stephen Berman <stephen.berman@gmx.net>
8504
8505 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8506
8507 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8508 (diary-entry): Use it in the action of this button type instead of
8509 diary-goto-entry.
8510
8511 * calendar/todo-mode.el: New version.
8512 (todo-add-category): Append new category to end of file and give
8513 it the highest number, instead of putting it at the beginning and
8514 giving it 0. Incorporate noninteractive functionality.
8515 (todo-forward-category): Adapt to 1-based category numbering.
8516 Allow skipping over archived categories.
8517 (todo-backward-category): Derive from todo-forward-category.
8518 (todo-backward-item, todo-forward-item): Make noninteractive and
8519 delegate interactive part to new commands. Make sensitive to done items.
8520 (todo-categories): Make value an alist of category names and
8521 vectors of item counts.
8522 (todo-category-beg): Make a defconst.
8523 (todo-category-number): Use 1 instead of 0 as initial value.
8524 (todo-category-select): Make sensitive to overlays, optional item
8525 highlighting and done items.
8526 (todo-delete-item): Make sensitive to overlays and marked and done items.
8527 (todo-edit-item): Make sensitive to overlays and editing of
8528 date/time header optional. Add format checks.
8529 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8530 no-op if point is not on an item. Advertise using todo-edit-quit.
8531 (todo-edit-mode): Make sensitive to new format, font-locking, and
8532 multiple todo files.
8533 (todo-insert-item, todo-insert-item-here): Derive from
8534 todo-basic-insert-item and extend functionality.
8535 (todo-item-end, todo-item-start): Make sensitive to done items.
8536 (todo-item-string): Don't return text properties. Restore point.
8537 (todo-jump-to-category): Make sensitive to multiple todo files and
8538 todo archives. Use extended category completion.
8539 (todo-lower-item, todo-raise-item): Rename to *-priority and
8540 derive from todo-set-item-priority.
8541 (todo-mode): Derive from special-mode. Make sensitive to new
8542 format, font-locking and multiple todo files. Make read-only.
8543 (todo-mode-map): Don't suppress digit keys, so they can supply
8544 prefix arguments. Add many new key bindings.
8545 (todo-prefix): Insert as an overlay instead of file text.
8546 Change semantics from diary date expression to purely visual mark.
8547 (todo-print): Rename to todo-print-buffer. Make buffer display
8548 features printable. Remove option to restrict number of items
8549 printed. Add option to print to file.
8550 (todo-print-function): Rename to todo-print-buffer-function.
8551 (todo-quit): Extend to handle exiting new todo modes.
8552 (todo-remove-item): Make sensitive to overlays.
8553 (todo-save): Extend to buffers of filtered items.
8554 (todo-show): Make sensitive to done items, multiple todo files and
8555 new todo modes. Offer to convert legacy todo file before creating
8556 first new todo file.
8557 (todo-show-priorities): Rename to todo-top-priorities.
8558 Change semantics of value 0.
8559 (todo-top-priorities): Rename to todo-filter-top-priorities,
8560 derive from todo-filter-items and extend functionality.
8561 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8562 and extend functionality to other types of filtered items.
8563 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8564 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8565 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8566 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8567 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8568 (todo-edit-mode-hook, todo-entry-prefix-function)
8569 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8570 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8571 (todo-initials, todo-insert-threshold, todo-item-string-start)
8572 (todo-line-string, todo-menu, todo-mode-hook)
8573 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8574 (todo-print-priorities, todo-remove-separator)
8575 (todo-save-top-priorities-too, todo-string-count-lines)
8576 (todo-string-multiline-p, todo-time-string-format)
8577 (todo-tmp-buffer-name): Remove.
8578 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8579 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8580 (todo-edit-category-diary-inclusion)
8581 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8582 (todo-edit-file, todo-edit-item-date-day)
8583 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8584 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8585 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8586 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8587 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8588 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8589 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8590 (todo-filter-top-priorities-multifile, todo-find-archive)
8591 (todo-find-filtered-items-file, todo-go-to-source-item)
8592 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8593 (todo-jump-to-archive-category, todo-lower-category)
8594 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8595 (todo-move-category, todo-move-item, todo-next-button)
8596 (todo-next-item, todo-padded-string, todo-powerset)
8597 (todo-previous-button, todo-previous-item)
8598 (todo-print-buffer-to-file, todo-raise-category)
8599 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8600 (todo-set-category-number, todo-set-item-priority)
8601 (todo-set-top-priorities-in-category)
8602 (todo-set-top-priorities-in-file, todo-show-categories-table)
8603 (todo-sort-categories-alphabetically-or-numerically)
8604 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8605 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8606 (todo-toggle-item-header, todo-toggle-item-highlighting)
8607 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8608 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8609 (todo-unarchive-items, todo-unmark-category): New commands.
8610 (todo-absolute-file-name, todo-add-to-buffer-list)
8611 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8612 (todo-basic-insert-item, todo-category-completions)
8613 (todo-category-number, todo-category-string-matcher-1)
8614 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8615 (todo-check-format, todo-clear-matches)
8616 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8617 (todo-current-category, todo-date-string-matcher)
8618 (todo-define-insertion-command, todo-diary-expired-matcher)
8619 (todo-diary-goto-entry, todo-diary-item-p)
8620 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8621 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8622 (todo-done-item-section-p, todo-done-separator)
8623 (todo-done-string-matcher, todo-files, todo-filter-items)
8624 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8625 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8626 (todo-insert-category-line, todo-insert-item-from-calendar)
8627 (todo-insert-sort-button, todo-insert-with-overlays)
8628 (todo-insertion-command-name, todo-insertion-key-bindings)
8629 (todo-label-to-key, todo-longest-category-name-length)
8630 (todo-make-categories-list, todo-mode-external-set)
8631 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8632 (todo-modes-set-3, todo-multiple-filter-files)
8633 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8634 (todo-read-category, todo-read-date, todo-read-dayname)
8635 (todo-read-file-name, todo-read-time)
8636 (todo-reevaluate-category-completions-files-defcustom)
8637 (todo-reevaluate-default-file-defcustom)
8638 (todo-reevaluate-filelist-defcustoms)
8639 (todo-reevaluate-filter-files-defcustom)
8640 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8641 (todo-reset-done-separator, todo-reset-done-separator-string)
8642 (todo-reset-done-string, todo-reset-global-current-todo-file)
8643 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8644 (todo-reset-prefix, todo-set-categories)
8645 (todo-set-date-from-calendar, todo-set-show-current-file)
8646 (todo-set-top-priorities, todo-short-file-name)
8647 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8648 (todo-total-item-counts, todo-update-buffer-list)
8649 (todo-update-categories-display, todo-update-categories-sexp)
8650 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8651 New functions.
8652 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8653 New major modes.
8654 (todo-categories, todo-display, todo-edit, todo-faces)
8655 (todo-filtered): New defgroups.
8656 (todo-archived-only, todo-button, todo-category-string, todo-date)
8657 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8658 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8659 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8660 (todo-add-item-if-new-category, todo-always-add-time-string)
8661 (todo-categories-align, todo-categories-archived-label)
8662 (todo-categories-category-label, todo-categories-diary-label)
8663 (todo-categories-done-label, todo-categories-number-separator)
8664 (todo-categories-todo-label, todo-categories-totals-label)
8665 (todo-category-completions-files, todo-completion-ignore-case)
8666 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8667 (todo-done-separator-string, todo-done-string)
8668 (todo-files-function, todo-filter-done-items, todo-filter-files)
8669 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8670 (todo-initial-category, todo-initial-file, todo-item-mark)
8671 (todo-legacy-date-time-regexp, todo-mode-line-function)
8672 (todo-nondiary-marker, todo-number-prefix)
8673 (todo-print-buffer-function, todo-show-current-file)
8674 (todo-show-done-only, todo-show-first, todo-show-with-done)
8675 (todo-skip-archived-categories, todo-top-priorities-overrides)
8676 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8677 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8678 New defcustoms.
8679 (todo-category-done, todo-date-pattern, todo-date-string-start)
8680 (todo-diary-items-buffer, todo-done-string-start)
8681 (todo-filtered-items-buffer, todo-item-start)
8682 (todo-month-abbrev-array, todo-month-name-array)
8683 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8684 (todo-top-priorities-buffer): New defconsts.
8685 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8686 (todo-categories-with-marks, todo-category-string-face)
8687 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8688 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8689 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8690 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8691 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8692 (todo-font-lock-keywords, todo-global-current-todo-file)
8693 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8694 (todo-insertion-commands-args)
8695 (todo-insertion-commands-args-genlist)
8696 (todo-insertion-commands-names, todo-insertion-map)
8697 (todo-key-bindings-t, todo-key-bindings-t+a)
8698 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8699 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8700 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8701 (todo-visited): New variables.
8702
cad5d1cb
GM
87032013-06-21 Glenn Morris <rgm@gnu.org>
8704
8705 * play/cookie1.el (cookie-apropos): Add optional display argument.
8706 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8707 (psychoanalyze-pinhead): Use cookie-doctor.
8708
9e277302
JB
87092013-06-21 Juanma Barranquero <lekktu@gmail.com>
8710
8711 * emacs-lisp/package.el (tar-get-file-descriptor)
8712 (tar--extract): Declare.
8713
c5b0993e
EW
87142013-06-21 Eduard Wiebe <usenet@pusto.de>
8715
8716 Extend flymake's warning predicate to be a function (bug#14217).
8717 * progmodes/flymake.el (flymake-warning-predicate): New.
8718 (flymake-parse-line): Use it.
8719 (flymake-warning-re): Make obsolete alias to
8720 `flymake-warning-predicate'.
8721
a7d2d465
SM
87222013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8723
8724 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8725 (package-obsolete-list): Remove.
8726 (package-activate): Remove min-version argument. Add `force' argument.
8727 Adjust to new package-alist format.
8728 (package-mark-obsolete): Remove.
8729 (package-unpack): Force reload of the package's autoloads.
8730 (package-installed-p): Check builtins if the installed package is not
8731 recent enough.
8732 (package-initialize): Don't reset package-obsolete-list.
8733 Don't specify which package version to activate.
8734 (package-process-define-package, describe-package-1)
8735 (package-menu--generate): Adjust to new package-alist format.
8736
cedf5c9d
JB
87372013-06-21 Juanma Barranquero <lekktu@gmail.com>
8738
8739 * allout-widgets.el (allout-widgets-mode-off)
8740 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8741 (allout-widgets-post-command-business)
8742 (allout-widgets-after-copy-or-kill-function)
8743 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8744 (allout-decorate-item-and-context)
8745 (allout-graphics-modification-handler): Fix typos in docstrings.
8746 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8747
8748 * cmuscheme.el (scheme-start-file): Doc fix.
8749 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8750 (scheme-input-filter): Use `string-match-p'.
8751
8752 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8753
8754 * dired-x.el: Use Dired consistently in docstrings.
8755
8756 * dired.el: Use Dired consistently in docstrings.
8757 (dired-readin, dired-mode): Use `setq-local'.
8758 (dired-switches-alist): Make defvar-local.
8759 (dired-buffers-for-dir): Use `zerop'.
8760 (dired-safe-switches-p, dired-switches-escape-p)
8761 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8762 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8763 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8764 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8765 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8766 (dired-toggle-marks, dired-mark-files-containing-regexp)
8767 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8768 (dired-flag-auto-save-files, dired-flag-backup-files):
8769 Use `looking-at-p'.
8770 (dired-mark-files-regexp, dired-build-subdir-alist):
8771 Use `string-match-p', `looking-at-p'.
8772
8773 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8774 (direct-print-region-helper): Use `string-match-p'.
8775
aed838b5
LL
87762013-06-21 Leo Liu <sdl.web@gmail.com>
8777
cedf5c9d
JB
8778 * comint.el (comint-redirect-results-list-from-process):
8779 Fix infinite loop.
aed838b5 8780
d80a808f
LMI
87812013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8782
8783 * net/eww.el (eww-update-header-line-format): Quote % characters.
8784
e7a526e3
GM
87852013-06-21 Glenn Morris <rgm@gnu.org>
8786
8787 * play/cookie1.el (cookie): New custom group.
8788 (cookie-file): New option.
8789 (cookie-check-file): New function.
8790 (cookie): Make it interactive. Make start and end messages optional.
8791 Interactively, display the result. Default to cookie-file.
8792 (cookie-insert): Default to cookie-file.
8793 (cookie-snarf): Make start and end messages optional.
8794 Default to cookie-file. Use with-temp-buffer.
8795 (cookie-read): Rename from read-cookie.
8796 Make start and end messages optional. Default to cookie-file.
8797 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 8798 Do not autoload it.
e7a526e3
GM
8799 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8800 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8801
62efb35e
LL
88022013-06-21 Leo Liu <sdl.web@gmail.com>
8803
8804 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8805
21e3f963
GM
88062013-06-21 Glenn Morris <rgm@gnu.org>
8807
8808 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8809
fd846ab4
SM
88102013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8811 Daniel Hackney <dan@haxney.org>
8812
8813 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8814 Consolidate the single-file vs tarball code.
8815 (package-desc-suffix): New function.
8816 (package-desc-full-name): Don't bother inlining it.
8817 (package-load-descriptor): Return the new package-desc.
8818 (package-mark-obsolete): Remove unused arg `package'.
8819 (package-unpack): Make it work for single files as well.
8820 Make it update package-alist.
8821 (package--make-autoloads-and-stuff): Rename from
8822 package--make-autoloads-and-compile. Don't compile any more.
8823 (package--compile): New function.
8824 (package-generate-description-file): New function, extracted from
8825 package-unpack-single.
8826 (package-unpack-single): Remove.
8827 (package--with-work-buffer): Add indentation and debugging info.
8828 (package-download-single): Remove.
8829 (package-install-from-archive): Rename from package-download-tar, make
8830 it take a pkg-desc, and make it work for single files as well.
8831 (package-download-transaction): Simplify.
8832 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8833 external tar program.
8834 (package-install-from-buffer): Remove `pkg-desc' argument.
8835 Use package-tar-file-info for tar-mode buffers.
8836 (package-install-file): Simplify accordingly.
8837 (package-archive-base): Change to take a pkg-desc.
8838 * tar-mode.el (tar--check-descriptor): New function, extracted from
8839 tar-get-descriptor.
8840 (tar-get-descriptor): Use it.
8841 (tar-get-file-descriptor): New function.
8842 (tar--extract): New function, extracted from tar-extract.
8843 (tar--extract): Use it.
8844 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8845 case the summary uses non-ascii. Adjust to new calling convention of
8846 package-tar-file-info.
8847
b7deae5e
LL
88482013-06-21 Leo Liu <sdl.web@gmail.com>
8849
fd846ab4
SM
8850 * comint.el (comint-redirect-results-list-from-process):
8851 Fix random delay. (Bug#14681)
b7deae5e 8852
7a65a0b2
JB
88532013-06-21 Juanma Barranquero <lekktu@gmail.com>
8854
8855 * profiler.el (profiler-format-number): Use log, not log10.
8856
1493c2af
JB
88572013-06-20 Juanma Barranquero <lekktu@gmail.com>
8858
8859 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8860
aff6371e
SM
88612013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8862
8863 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8864 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8865 yet available.
8866 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8867 (AUTOGENEL): ... here.
8868 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8869 (cl--defsubst-expand): Use it.
8870
89561f72
PE
88712013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8872
8873 * subr.el (log10): Move here from C code, and declare as obsolete.
8874 All uses of (log10 X) replaced with (log X 10).
8875
47199123
JB
88762013-06-20 Juanma Barranquero <lekktu@gmail.com>
8877
8878 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8879 Declare with `defvar-local'.
8880 (tabulated-list-use-header-line, tabulated-list-entries)
8881 (tabulated-list-padding, tabulated-list-printer)
8882 (tabulated-list-sort-key): Declare with `defvar-local'.
8883 (tabulated-list-init-header, tabulated-list-print-fake-header):
8884 Use `setq-local'.
8885
4a172eab
MA
88862013-06-20 Michael Albinus <michael.albinus@gmx.de>
8887
47199123
JB
8888 * arc-mode.el (archive-mode): Add `archive-write-file' to
8889 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 8890
5fc0acc0
JB
88912013-06-20 Juanma Barranquero <lekktu@gmail.com>
8892
d5b27848
JB
8893 * cus-edit.el (custom-commands): Fix typos.
8894 (custom-display): Fix tooltip text.
8895 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8896 Fix typos in docstrings.
8897 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8898 (custom-unlispify-menu-entry, custom-magic-value-create)
8899 (custom-add-see-also, custom-group-value-create): Use ?\s.
8900 (custom-guess-type, customize-apropos, editable-field)
8901 (custom-face-value-create): Use `string-match-p'.
8902 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8903
8904 * custom.el (custom-load-symbol): Use `string-match-p'.
8905
a5c581d8
JB
8906 * ansi-color.el: Convert to lexical binding.
8907 (ansi-colors): Fix URL.
8908 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8909 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8910 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8911
970ad972
G
89122013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8913
8914 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8915
8916 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8917
89182013-06-19 Tom Tromey <tromey@redhat.com>
8919
8920 * net/eww.el (eww-top-url): Remove.
8921 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8922 (eww-render): Set new variables. Don't set eww-top-url.
8923 (eww-handle-link): Handle "prev", "home", and "contents".
8924 Downcase the rel text.
8925 (eww-top-url): Choose best top URL.
8926
89272013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8928
8929 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8930 relying in widget.el. Using widget.el leads to too many
8931 user interface inconsistencies.
8932 (eww-self-insert): Implement entering commands in text fields.
8933 (eww-process-text-input): New function to make text input field editing
8934 work.
8935 (eww-submit): Rewrite to use the new-style form methods.
8936 (eww-select-display): Display the correct selected item.
8937 (eww-change-select): Implement changing the select value.
8938 (eww-toggle-checkbox): Implement radio/checkboxes.
8939 (eww-update-field): Fix compilation error.
8940 (eww-tag-textarea): Implement <textarea>.
8941
8942 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8943 we don't shadow mode-specific bindings.
8944
8945 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8946 nothing to push.
8947
8948 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8949
4582a01c 89502013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
8951
8952 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8953
15b263dc
MA
89542013-06-19 Michael Albinus <michael.albinus@gmx.de>
8955
8956 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8957 not needed.
8958
8959 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8960
8f5297f7
LMI
89612013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8962
8963 * net/browse-url.el (browse-url-browser-function):
8964 `eww-browse-url' has the right calling signature, `eww' does not.
8965
011c4552
GM
89662013-06-19 Glenn Morris <rgm@gnu.org>
8967
2285bd27
GM
8968 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8969 Only eval autoloaded macros.
8970 (byte-compile-autoload): Only give the macro warning for macros.
8971
1d653303
GM
8972 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8973 (ps-underlined-faces): Declare.
8974
bdd779ec
GM
8975 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8976 (speedbar-add-supported-extension): Declare.
8977
011c4552
GM
8978 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8979 Don't include a date stamp in the header of the generated file;
8980 it leads to needless differences between output files.
8981
e59dfb0e
MA
89822013-06-19 Michael Albinus <michael.albinus@gmx.de>
8983
c763842b
SM
8984 * net/secrets.el (secrets-struct-secret-content-type):
8985 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 8986 Some servers do not offer introspection.
e59dfb0e 8987
102626e2
SM
89882013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8989
8990 * electric.el (electric-pair-mode): Improve interaction with
8991 electric-layout-mode.
8992 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8993 (electric-pair-syntax): Use text-mode-syntax-table in comments
8994 and strings.
8995 (electric-pair--insert): New function.
8996 (electric-pair-post-self-insert-function): Use it and
8997 electric--after-char-pos.
8998
ad528125
LL
89992013-06-19 Leo Liu <sdl.web@gmail.com>
9000
9001 * progmodes/octave.el (octave-help): Fix regexp.
9002
924d6997
G
90032013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9004
9005 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9006 (shr-table-horizontal-line): Allow nil as a value, and change the
9007 default.
9008 (shr-insert-table-ruler): Respect the nil value.
9009
90102013-06-18 Tom Tromey <tromey@barimba>
9011
9012 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9013 New defvars.
9014 (eww-open-file): New defun.
9015 (eww-render): Initialize new variables.
9016 (eww-display-html): Handle "link" and "a".
9017 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9018 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9019 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
9020 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9021 New defuns.
924d6997 9022
d1bbba4f
DG
90232013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9024
9025 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9026 Distinguish ternary operator tokens from slash symbol and slash
9027 char literal.
9028
14dd22d2
JB
90292013-06-18 Juanma Barranquero <lekktu@gmail.com>
9030
9031 Convert symbol prettification into minor mode and global minor mode.
9032
9033 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9034 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9035 (prettify-symbols--keywords): Rename from
9036 `prog-prettify-symbols-alist' and make a local defvar.
9037 (prettify-symbols--compose-symbol): Rename from
9038 `prog--prettify-font-lock-compose-symbol'.
9039 (prettify-symbols--make-keywords): Rename from
9040 `prog-prettify-font-lock-symbols-keywords' and simplify.
9041 (prog-prettify-install): Remove.
9042 (prettify-symbols-mode): New minor mode, based on
9043 `prog-prettify-install'.
9044 (turn-on-prettify-symbols-mode): New function.
9045 (global-prettify-symbols-mode): New globalized minor mode.
9046
9047 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9048 * progmodes/cfengine.el (cfengine3-mode):
9049 * progmodes/perl-mode.el (perl-mode): Don't call
9050 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9051
292c880c
JL
90522013-06-18 Juri Linkov <juri@jurta.org>
9053
9054 * files-x.el (modify-file-local-variable-message): New function.
9055 (modify-file-local-variable)
9056 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9057 and call `modify-file-local-variable-message' when it's non-nil.
9058 (add-file-local-variable, delete-file-local-variable)
9059 (add-file-local-variable-prop-line)
9060 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9061 and use it. (Bug#9820)
9062
0950aa27
JL
90632013-06-18 Juri Linkov <juri@jurta.org>
9064
9065 * emulation/vi.el (vi-shell-op):
9066 * emulation/vip.el (vip-execute-com, ex-command):
9067 * emulation/viper-cmd.el (viper-exec-bang):
9068 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9069 the call of `shell-command-on-region'. (Bug#14637)
9070
9071 * simple.el (shell-command-on-region): Doc fix.
9072
8fbcca16
SM
90732013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9074
9075 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9076 (bug#14633).
9077
dd7426ea
GM
90782013-06-18 Glenn Morris <rgm@gnu.org>
9079
4ba54f7d
GM
9080 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9081
dd7426ea
GM
9082 * newcomment.el (comment-search-forward, comment-search-backward):
9083 Doc fix. (Bug#14376)
9084
58aa805b
JB
90852013-06-18 Juanma Barranquero <lekktu@gmail.com>
9086
9087 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9088 (buffer-face-mode-invoke): Doc fix.
9089
9a08a617
MM
90902013-06-18 Matthias Meulien <orontee@gmail.com>
9091
9092 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 9093 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 9094
f2f426ca
GM
90952013-06-18 Glenn Morris <rgm@gnu.org>
9096
9445f99b
GM
9097 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9098 Replace obsolete function generic-make-keywords with its expansion.
9099
e0df2d14
GM
9100 * progmodes/python.el (ffap-alist): Declare.
9101
f2f426ca
GM
9102 * textmodes/reftex.el (bibtex-mode-map): Declare.
9103
f7f9a720
SM
91042013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9105
9106 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9107 (package-unpack, package-unpack-single): Return the pkg-dir.
9108 (package-download-transaction): Use it to update package-alist.
9109
57ff04e0
LMI
91102013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9111
9112 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9113 possible choice.
9114
c048c022
JL
91152013-06-17 Juri Linkov <juri@jurta.org>
9116
9117 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9118
b5bcaee5
DG
91192013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9120
a020afb9
JB
9121 * emacs-lisp/package.el (package-load-descriptor):
9122 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
9123 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9124
551e07e5
JB
91252013-06-17 Juanma Barranquero <lekktu@gmail.com>
9126
9127 * startup.el (command-line): Expand package name returned by
9128 `package--description-file' (bug#14639).
9129
d363bffb
DG
91302013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9131
9132 * emacs-lisp/package.el (package-load-descriptor): Do not call
9133 `emacs-lisp-mode', just use its syntax table.
9134
f612933b
JB
91352013-06-17 Juanma Barranquero <lekktu@gmail.com>
9136
9137 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9138 `font-lock-extra-managed-props' if any prettifying keyword is added.
9139 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9140 (prog-mode): Use `setq-local'.
9141
db3b7db5
SM
91422013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9143
9144 * international/characters.el (standard-case-table): Set syntax of ?»
9145 and ?« to punctuation.
9146
f3d674df
JB
91472013-06-16 Juanma Barranquero <lekktu@gmail.com>
9148
9149 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9150 Save relevant match data before calling `syntax-ppss' (bug#14595).
9151
31489a32
JL
91522013-06-15 Juri Linkov <juri@jurta.org>
9153
9154 * files-x.el (modify-file-local-variable-prop-line): Add local
9155 variables to the end of the existing comment on the first line.
9156 Use `file-auto-mode-skip' to skip interpreter magic line,
9157 and also skip XML declaration.
9158
66bd25ab
SM
91592013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9160
9161 * startup.el (package--builtin-versions): New var.
9162 (package-subdirectory-regexp): Remove.
9163 (package--description-file): Hard code its value instead.
9164
9165 * emacs-lisp/package.el: Don't activate packages older than builtin.
9166 (package-obsolete-list): Rename from package-obsolete-alist, and make
9167 it into a simple list of package-desc.
9168 (package-strip-version): Remove.
9169 (package-built-in-p): Use package--builtin-versions.
9170 (package-mark-obsolete): Simplify.
9171 (package-process-define-package): Mark it obsolete if older than the
9172 builtin version.
9173 (package-handle-response): Use line-end-position.
9174 (package-read-archive-contents, package--download-one-archive):
9175 Simplify.
9176 (package--add-to-archive-contents): Skip if older than the builtin or
9177 installed version.
9178 (package-menu-describe-package): Fix last change.
9179 (package-list-unversioned): New var.
9180 (package-menu--generate): Use it.
9181
9182 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9183 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9184 (autoload-builtin-package-versions): New variable.
9185 (autoload-generate-file-autoloads): Use them.
9186 Remove the list of autoloaded functions/macros from the
9187 (autoload...) comments.
9188
9189 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9190
9583ec36
EZ
91912013-06-15 Eli Zaretskii <eliz@gnu.org>
9192
9193 * simple.el (line-move-partial): Don't jump to the next screen
9194 line as soon as it becomes visible. Instead, continue enlarging
9195 the vscroll until the portion of a tall screen line that's left on
9196 display is about the height of the frame's default font.
9197 (Bug#14567)
9198
f0100d8a
GM
91992013-06-15 Glenn Morris <rgm@gnu.org>
9200
b86a85ca
GM
9201 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9202 compilation-error-regexp-alist void, or local while let-bound.
9203
f0100d8a
GM
9204 * progmodes/make-mode.el (makefile-mode-syntax-table):
9205 Treat "=" as punctuation. (Bug#14614)
9206
05e7ce90
JB
92072013-06-15 Juanma Barranquero <lekktu@gmail.com>
9208
9209 * help-fns.el (describe-variable):
9210 Add extra line for permanent-local variables.
9211
12e5e86e
SH
92122013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9213
9214 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9215 Add export, import, library. (Bug#9164)
9216 (library): Set indent function.
9217
230dcbaf
GM
92182013-06-14 Glenn Morris <rgm@gnu.org>
9219
9220 * term/xterm.el (xterm--query):
9221 Stop after first matching handler. (Bug#14615)
9222
e36b2d20 92232013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
9224
9225 Add support for dired in saveplace.
9226 * dired.el (dired-initial-position-hook): New variable.
9227 (dired-initial-position): Call hook to place cursor position.
9228 * saveplace.el (save-place-to-alist): Add dired position.
9229 (save-place-dired-hook): New function.
9230
0b31660d
SM
92312013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9232
bf1e6ae8
SM
9233 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9234 through a symbol rather than letrec.
9235
1b8dff23
SM
9236 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9237 (package-desc): Add `dir' field.
9238 (package-desc-full-name): New function.
9239 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9240 (package-maybe-load-descriptor): Remove.
9241 (package-load-all-descriptors): Just call package-load-descriptor.
9242 (package--disabled-p): New function.
9243 (package-desc-vers, package-desc-doc): Remove aliases.
9244 (package--dir): Remove function.
9245 (package-activate): Check if a package is disabled.
9246 (package-process-define-package): New function, extracted from
9247 define-package.
9248 (define-package): Turn into a place holder.
9249 (package-unpack-single, package-tar-file-info):
9250 Use package--description-file.
9251 (package-compute-transaction): Use package--disabled-p.
9252 (package-download-transaction): Don't call
9253 package-maybe-load-descriptor since they're all loaded anyway.
9254 (package-install): Change argument to be a pkg-desc.
9255 (package-delete): Use a single pkg-desc argument.
9256 (describe-package-1): Use package-desc-dir instead of package--dir.
9257 Use package-desc property instead of package-symbol.
9258 (package-install-button-action): Adjust accordingly.
9259 (package--push): Rewrite.
9260 (package-menu--print-info): Adjust accordingly. Change the ID format
9261 to be a pkg-desc.
9262 (package-menu-describe-package, package-menu-get-status)
9263 (package-menu--find-upgrades, package-menu-mark-upgrades)
9264 (package-menu-execute, package-menu--name-predicate):
9265 Adjust accordingly.
9266 * startup.el (package--description-file): New function.
9267 (command-line): Use it.
9268 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9269 Use package-desc-version.
9270
0b31660d
SM
9271 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9272 (byte-compile-preprocess): Use it.
9273 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9274 can't quite recognize.
9275 (byte-compile-add-to-list): Remove.
9276 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9277 (cconv-closure-convert): Add assertion.
9278
9279 * emacs-lisp/map-ynp.el: Use lexical-binding.
9280 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9281 Factor out some repeated code.
9282
de0503df
SM
92832013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9284
9285 * subr.el (with-eval-after-load): New macro.
9286 (eval-after-load): Allow form to be a function.
9287 take advantage of lexical-binding.
9288 (do-after-load-evaluation): Use dolist and adjust to new format.
9289 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9290
bc5c8c5a
JL
92912013-06-13 Juri Linkov <juri@jurta.org>
9292
9293 * replace.el (perform-replace): Display "symbol " and other search
9294 modes from `isearch-message-prefix' in the *Help* buffer.
9295
9296 * isearch.el (isearch-query-replace): Add " symbol" and other
9297 possible search modes from `isearch-message-prefix' to the prompt.
9298 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9299 when reading a regexp to collect.
9300
a22289f7
JL
93012013-06-13 Juri Linkov <juri@jurta.org>
9302
9303 * isearch.el (word-search-regexp): Match whitespace if the search
9304 string begins or ends in whitespace. The LAX arg is applied to
9305 both ends of the search string. Use `regexp-quote' and explicit
9306 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9307 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9308 boundaries are replaced with symbol boundaries, and characters
9309 between symbols match non-word non-symbol syntax. (Bug#14602)
9310
cb89acab
JL
93112013-06-13 Juri Linkov <juri@jurta.org>
9312
9313 * isearch.el (isearch-del-char): Don't exceed the length of
9314 `isearch-string' by the prefix arg. (Bug#14563)
9315
6e8cfc81
JL
93162013-06-13 Juri Linkov <juri@jurta.org>
9317
9318 * isearch.el (isearch-yank-word, isearch-yank-line)
9319 (isearch-char-by-name, isearch-quote-char)
9320 (isearch-printing-char, isearch-process-search-char):
9321 Add optional count prefix arg. (Bug#14563)
9322
9323 * international/isearch-x.el
9324 (isearch-process-search-multibyte-characters):
9325 Add optional count prefix arg.
9326
c23d55f4
VS
93272013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9328
9329 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9330 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9331 lexical-binding.
9332
93332013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9334
9335 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9336
ba947bc4
GM
93372013-06-13 Glenn Morris <rgm@gnu.org>
9338
8baeb37a
GM
9339 * startup.el (tty-handle-args):
9340 Don't just discard "--" and anything after. (Bug#14608)
9341
ba947bc4
GM
9342 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9343
9abefce4
MA
93442013-06-13 Michael Albinus <michael.albinus@gmx.de>
9345
9346 Implement changes in Secret Service API. Make it backward compatible.
9347 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9348 (secrets-create-item): Use it. Prefix properties with interface.
9349
5755011f
MH
93502013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9351
9352 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9353 (term-emulate-terminal): Respect term-suppress-hard-newline.
9354
1261d2da
S
93552013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9356
9357 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9358 Only remove a `thumb-file' overlay. (Bug#14548)
9359
868490bb
GJ
93602013-06-12 Grégoire Jadi <daimrod@gmail.com>
9361
9362 * mail/reporter.el (reporter-submit-bug-report):
9363 Handle missing package-name. (Bug#14600)
9364
79d7167f
TH
93652013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9366
9367 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9368 (reftex-citation-prompt, reftex-default-bibliography)
9369 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9370 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9371 (reftex-bib-sort-author, reftex-bib-sort-year)
9372 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9373 (reftex-extract-bib-entries-from-thebibliography)
9374 (reftex-get-bibkey-default, reftex-get-bib-names)
9375 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9376 (reftex-format-bib-entry, reftex-parse-bibitem)
9377 (reftex-format-bibitem, reftex-do-citation)
9378 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9379 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9380 (reftex-insert-bib-matches, reftex-format-citation)
9381 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9382 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9383 existing comments into docstrings.
9384
5f9dbd7a
XF
93852013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9386
9387 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9388
94df41ab
AS
93892013-06-12 Andreas Schwab <schwab@suse.de>
9390
9391 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9392 for auto-save files.
9393
a7f3fecc
GM
93942013-06-12 Glenn Morris <rgm@gnu.org>
9395
001809f6
GM
9396 * ido.el (ido-delete-ignored-files): Remove.
9397 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9398 Go back to calling ido-ignore-item-p directly.
a7f3fecc 9399
834b5ded
EL
94002013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9401
08c73ed2
EL
9402 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9403
834b5ded
EL
9404 * ido.el (ido-delete-ignored-files): New function,
9405 split from ido-make-file-list-1.
9406 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9407 (ido-make-file-list-1): Use ido-delete-ignored-files.
9408
daabf15a
LL
94092013-06-12 Leo Liu <sdl.web@gmail.com>
9410
9411 * progmodes/octave.el (inferior-octave-startup)
9412 (inferior-octave-completion-table)
9413 (inferior-octave-track-window-width-change)
9414 (octave-eldoc-function-signatures, octave-help)
9415 (octave-find-definition): Use single quoted strings.
9416 (inferior-octave-startup-args): Change default value.
9417 (inferior-octave-startup): Do not hard code "-i" and
9418 "--no-line-editing".
9419 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9420 (inferior-octave-directory-tracker): Use it.
9421 (octave-goto-function-definition): Robustify.
9422 (octave-help): Support highlighting operators in 'See also'.
9423 (octave-find-definition): Find subfunctions only in Octave mode.
9424
cf4e5178
SM
94252013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9426
9427 * help-fns.el (help-fns--compiler-macro): If the handler function is
9428 named, then put a link to it.
9429 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9430 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9431 (cl-typep): Use it.
9432 (cl-eval-when): Simplify debug spec.
9433 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9434 compiler-macro function instead of setting `compiler-macro-file'.
9435
99c81280 94362013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
9437
9438 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9439 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9440
f56be016
SM
94412013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9442 Daniel Hackney <dan@haxney.org>
9443
9444 First part of Daniel Hackney's patch to package.el.
9445 * emacs-lisp/package.el: Use defstruct.
9446 (package-desc): New, main struct.
9447 (package--bi-desc, package--ac-desc): New structs, used to describe the
9448 format in external files.
9449 (package-desc-vers): Replace with package-desc-version accessor.
9450 (package-desc-doc): Replace with package-desc-summary accessor.
9451 (package-activate-1): Remove `package' arg since the pkg-vec now
9452 includes the name.
9453 (define-package): Use package-desc-from-define.
9454 (package-unpack-single): Change file-name arg to be a symbol.
9455 (package--add-to-archive-contents): Use package-desc-create and new
9456 accessor functions to package--ac-desc.
9457 (package-buffer-info, package-tar-file-info): Return a package-desc.
9458 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9459 arg to be a package-desc.
9460 (package-install-file): Adjust accordingly. Use \' to match EOS.
9461 (package--from-builtin): New function.
9462 (describe-package-1, package-menu--generate): Use it.
9463 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9464 (package-generate-autoloads): Idem and return the name of the file.
9465 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9466 Change pkg-info arg to be a package-desc.
9467 Use package-make-ac-desc.
9468 (package-upload-file): Use \' to match EOS.
9469 * finder.el (finder-compile-keywords): Use package-make-builtin.
9470
31119d63
SM
94712013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9472
931a2762
SM
9473 * vc/vc.el (vc-deduce-fileset): Change error message.
9474 (vc-read-backend): New function.
9475 (vc-next-action): Use it.
9476
5a3eb0c6
SM
9477 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9478
e3eb1bb7
SM
9479 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9480 (prolog-font-lock-keywords): Use regexp-opt instead.
9481 Don't manually highlight strings.
9482 (prolog-mode-variables): Simplify comment-start-skip.
9483 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9484
31119d63
SM
9485 * emacs-lisp/generic.el (generic--normalise-comments)
9486 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9487 (generic-mode-set-comments): Use them.
9488 (generic-bracket-support): Use setq-local.
9489 (generic-make-keywords-list): Declare obsolete.
9490
7de135d0
GM
94912013-06-11 Glenn Morris <rgm@gnu.org>
9492
9493 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9494 Prettify after setting font-lock-defaults. (Bug#14574)
9495
fa6bc6fd
JB
94962013-06-11 Juanma Barranquero <lekktu@gmail.com>
9497
9498 * replace.el (query-replace, occur-read-regexp-defaults-function)
9499 (replace-search):
9500 * subr.el (declare-function, number-sequence, local-set-key)
9501 (substitute-key-definition, locate-user-emacs-file)
9502 (with-silent-modifications, split-string, eval-after-load):
9503 Fix typos, remove unneeded backslashes and reflow some docstrings.
9504
cf1f9b9a
SM
95052013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9506
9507 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9508 default for Elisp files.
9509
56602a4b
GM
95102013-06-11 Glenn Morris <rgm@gnu.org>
9511
9512 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9513 although define-derived-mode was doing this anyway. (Bug#14583)
9514
30ae0b2c
JB
95152013-06-10 Juanma Barranquero <lekktu@gmail.com>
9516
9517 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9518 Fix make-variable-buffer-local call to refer to the correct variable.
9519
fa472906
AG
95202013-06-10 Aidan Gauland <aidalgol@amuri.net>
9521
9522 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
9523 (eshell-visual-subcommands, eshell-visual-options):
9524 Add summary line to docstrings. Add cross-references.
fa472906 9525
ff4871b9
GM
95262013-06-10 Glenn Morris <rgm@gnu.org>
9527
9528 * epa.el (epa-read-file-name): New function. (Bug#14510)
9529 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9530
04fcf1b0
AG
95312013-06-09 Aidan Gauland <aidalgol@amuri.net>
9532
9533 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9534 output redirection to be ignored with visual commands.
9535
88b00caa
AG
95362013-06-09 Aidan Gauland <aidalgol@amuri.net>
9537
9538 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
9539 (eshell-term-initialize): Move long lambda to separate function
9540 eshell-visual-command-p.
e7b41c4c
JB
9541 * eshell/em-dirs.el (eshell-dirs-initialise):
9542 * eshell/em-script.el (eshell-script-initialize):
9543 Add missing #' to lambda.
88b00caa 9544
fda74125
LL
95452013-06-08 Leo Liu <sdl.web@gmail.com>
9546
9547 * progmodes/octave.el (octave-add-log-current-defun): New function.
9548 (octave-mode): Set add-log-current-defun-function.
9549 (octave-goto-function-definition): Do not move point if not found.
9550 (octave-find-definition): Enhance to try subfunctions first.
9551
467f3b33
GM
95522013-06-08 Glenn Morris <rgm@gnu.org>
9553
9554 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9555 (byte-compile-backward-char, byte-compile-backward-word):
9556 Improve previous change, to handle non-explicit nil.
9557
544badc3
SM
95582013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9559
9560 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9561 (smie--opener/closer-at-point): New function.
9562 (smie--matching-block-data): Use it. Don't match from right after an
9563 opener or right before a closer. Obey smie-blink-matching-inners.
9564 Don't signal a mismatch for repeated inners like "switch..case..case".
9565
a175bf33
LL
95662013-06-07 Leo Liu <sdl.web@gmail.com>
9567
9568 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9569 to t. (Bug#14303)
ce8209d4
LL
9570 (octave-function-header-regexp): Fix. (Bug#14570)
9571 (octave-help-mode-finish-hook, octave-help-mode-finish):
9572 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
9573
9574 * newcomment.el (comment-search-backward): Revert last change.
9575 (Bug#14434)
9576
9577 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9578
a822acff
EZ
95792013-06-07 Eli Zaretskii <eliz@gnu.org>
9580
9581 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9582 through xargs, to avoid failure due to MS-Windows limitations on
9583 command-line length.
9584
961166f5
GM
95852013-06-06 Glenn Morris <rgm@gnu.org>
9586
d0341459
GM
9587 * font-lock.el (lisp-font-lock-keywords-2):
9588 Treat user-error like error.
9589
961166f5
GM
9590 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9591 (byte-compile-backward-char, byte-compile-backward-word):
9592 Handle explicit nil arguments. (Bug#14565)
9593
80fa505f
AM
95942013-06-05 Alan Mackenzie <acm@muc.de>
9595
9596 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 9597 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 9598 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 9599 (Bug#9706)
80fa505f 9600
fccdc796
SM
96012013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9602
9603 * autorevert.el (auto-revert-notify-handler): Use memq.
9604 Hide assertion failure.
9605
9606 * skeleton.el: Use cl-lib.
9607 (skeleton-further-elements): Use defvar-local.
9608 (skeleton-insert): Use cl-progv.
9609
9bfff84b
TZ
96102013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9611
9612 * progmodes/prog-mode.el (prog-prettify-symbols)
9613 (prog-prettify-install): Update docstrings.
9614
55577e7c
SM
96152013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9616
9617 * simple.el: Move all the prog-mode code to prog-mode.el.
9618 * progmodes/prog-mode.el: New file.
9619 * loadup.el: Add prog-mode.el.
9620
8fc57765
TZ
96212013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9622
9623 * simple.el (prog-prettify-symbols): Add version.
9624 (prog-prettify-install): Add convenience function to prettify symbols.
9625
9626 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9627 (perl--augmented-font-lock-keywords-1)
9628 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9629 variables and use it.
9630
9631 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9632 (cfengine3-mode): Remove unneeded variable and use it.
9633
9634 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9635 (lisp--augmented-font-lock-keywords-1)
9636 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9637 Remove unneeded variables and use it.
9638
650645d5 96392013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
9640
9641 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 9642 to point when opening the connection. (Bug#14380)
28f5da6d 9643
781b4af6
SM
96442013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9645
9646 * subr.el (load-history-regexp, load-history-filename-element)
9647 (eval-after-load, after-load-functions, do-after-load-evaluation)
9648 (eval-next-after-load, display-delayed-warnings)
9649 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9650 definition of save-match-data.
9651 (overriding-local-map): Remove accidental obsolescence declaration.
9652
9653 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9654
3ca0d0b4
TZ
96552013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9656
9657 Generalize symbol prettify support to prog-mode and implement it
9658 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9659 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9660 (prog--prettify-font-lock-compose-symbol)
9661 (prog-prettify-font-lock-symbols-keywords): New variables and
9662 functions to support symbol prettification.
9663 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9664 (lisp--augmented-font-lock-keywords-1)
9665 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9666 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9667 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
9668 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9669 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
9670 * progmodes/perl-mode.el (perl-prettify-symbols)
9671 (perl--font-lock-compose-symbol)
9672 (perl--font-lock-symbols-keywords): Move to prog-mode.
9673 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9674 (perl-font-lock-keywords-1)
9675 (perl-font-lock-keywords-2): Remove explicit prettify support.
9676 (perl--augmented-font-lock-keywords)
9677 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
9678 (perl--augmented-font-lock-keywords-2, perl-mode):
9679 Implement prettify support.
3ca0d0b4 9680
976cb066
LL
96812013-06-05 Leo Liu <sdl.web@gmail.com>
9682
9683 Re-implement smie matching block highlight using
9684 show-paren-data-function. (Bug#14395)
9685 * emacs-lisp/smie.el (smie-matching-block-highlight)
9686 (smie--highlight-matching-block-overlay)
9687 (smie--highlight-matching-block-lastpos)
9688 (smie-highlight-matching-block)
9689 (smie-highlight-matching-block-mode): Remove.
9690 (smie--matching-block-data-cache): New variable.
9691 (smie--matching-block-data): New function.
9692 (smie-setup): Use smie--matching-block-data for
9693 show-paren-data-function.
9694
9695 * progmodes/octave.el (octave-mode-menu): Fix.
9696 (octave-find-definition): Skip garbage lines.
9697
208d0342
SM
96982013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9699
9700 Fix compilation error with simultaneous dynamic+lexical scoping.
9701 Add warning when a defvar appears after the first let-binding.
9702 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9703 (byte-compile-close-variables): Initialize it.
9704 (byte-compile--declare-var): New function.
9705 (byte-compile-file-form-defvar)
9706 (byte-compile-file-form-define-abbrev-table)
9707 (byte-compile-file-form-custom-declare-variable): Use it.
9708 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9709 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9710 (byte-compile-bind): Handle dynamic bindings that shadow
9711 lexical bindings.
9712 (byte-compile-unbind): Make arg non-optional.
9713 (byte-compile-let): Simplify.
9714 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9715 (cconv--analyse-function, cconv-analyse-form): Populate it.
9716 Protect byte-compile-bound-variables to limit the scope of defvars.
9717 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9718 Remove unneeded rule for `declare'.
9719
9720 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9721 so as to avoid depending on cl-adjoin at run-time.
9722 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9723
9724 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9725 (macroexp--warn-and-return): Use it.
9726
1ac2891e
GM
97272013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9728
a12bf61e 9729 * subr.el: Convert to lexical binding.
1ac2891e
GM
9730 (overriding-local-map): Make obsolete.
9731 (add-to-list): Doc fix. Add compiler macro.
9732 (read-key): Swap values of local maps.
9733
2587b005
LL
97342013-06-05 Leo Liu <sdl.web@gmail.com>
9735
9736 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9737
f1da3c88
LL
97382013-06-04 Leo Liu <sdl.web@gmail.com>
9739
9740 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9741 (compilation-auto-jump): Suppress the "Mark set" message to give
9742 way to exit message.
9743
3caa391f
AM
97442013-06-04 Alan Mackenzie <acm@muc.de>
9745
9746 Remove faulty optimisation from indentation calculation.
9747 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9748 search limit based on 2000 characters back from indent-point.
9749
068922a2
TH
97502013-06-03 Tassilo Horn <tsdh@gnu.org>
9751
9752 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9753
1f8fdd53
SM
97542013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9755
bbcc4d97
SM
9756 * emacs-lisp/lisp.el: Use lexical-binding.
9757 (lisp--local-variables-1, lisp--local-variables): New functions.
9758 (lisp--local-variables-completion-table): New var.
208d0342 9759 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 9760
1f8fdd53
SM
9761 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9762 eagerly (bug#14422).
9763
c9628c79
MA
97642013-06-03 Michael Albinus <michael.albinus@gmx.de>
9765
9766 * autorevert.el (auto-revert-notify-enabled)
9767 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9768 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9769 (auto-revert-notify-handler): Handle also gfilenotify.
9770
e7b41c4c 9771 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 9772 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 9773 Remove.
c9628c79 9774
e5e4a942
JL
97752013-06-03 Juri Linkov <juri@jurta.org>
9776
9777 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9778 `M-s h .'. (Bug#14427)
9779
9780 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9781 command `hi-lock-face-symbol-at-point'.
9782 (hi-lock-face-symbol-at-point): New command.
9783 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9784 (hi-lock-menu): Add `highlight-symbol-at-point'.
9785 (hi-lock-mode): Doc fix.
9786
9787 * isearch.el (isearch-forward-symbol-at-point): New command.
9788 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9789 (isearch-highlight-regexp): Add a regexp which matches
9790 words/symbols for word/symbol mode.
9791
9792 * subr.el (find-tag-default-bounds): New function with the body
9793 mostly moved from `find-tag-default'.
9794 (find-tag-default): Move most code to `find-tag-default-bounds',
9795 call it and apply `buffer-substring-no-properties' afterwards.
9796
26b3353a
TH
97972013-06-03 Tassilo Horn <tsdh@gnu.org>
9798
781b4af6
SM
9799 * eshell/em-term.el (eshell-term-initialize):
9800 Use `cl-intersection' rather than `intersection'.
26b3353a 9801
51b60f53
XF
98022013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9803
fe054b63 9804 * vc/log-view.el: Doc fix.
d3ffe17c 9805 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 9806
a0eb10b3 98072013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
9808
9809 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9810 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9811 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9812 (eieio-unbound, eieio-default-superclass)
9813 (eieio--define-field-accessors, method-static, method-before)
9814 (method-primary, method-after, method-num-lists)
9815 (method-generic-before, method-generic-primary)
9816 (method-generic-after, method-num-slots)
9817 (eieio-specialized-key-to-generic-key)
9818 (eieio--check-type, class-v, class-p)
9819 (eieio-class-name, define-obsolete-function-alias)
9820 (eieio-class-parents-fast, eieio-class-children-fast)
9821 (same-class-fast-p, class-constructor, generic-p)
9822 (generic-primary-only-p, generic-primary-only-one-p)
9823 (class-option-assoc, class-option, eieio-object-p)
9824 (class-abstract-p, class-method-invocation-order)
9825 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9826 (eieio-class-un-autoload, eieio-defclass)
9827 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9828 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9829 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9830 (eieio-defgeneric-reset-generic-form)
9831 (eieio-defgeneric-form-primary-only)
9832 (eieio-defgeneric-reset-generic-form-primary-only)
9833 (eieio-defgeneric-form-primary-only-one)
9834 (eieio-defgeneric-reset-generic-form-primary-only-one)
9835 (eieio-unbind-method-implementations)
9836 (eieio--defmethod, eieio--typep)
9837 (eieio-perform-slot-validation, eieio-validate-slot-value)
9838 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9839 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9840 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9841 (eieio-slot-name-index, eieio-class-slot-name-index)
9842 (eieio-set-defaults, eieio-initarg-to-attribute)
9843 (eieio-attribute-to-initarg, eieio-c3-candidate)
9844 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9845 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9846 (eieio-class-precedence-list, eieio-generic-call-methodname)
9847 (eieio-generic-call-arglst, eieio-generic-call-key)
9848 (eieio-generic-call-next-method-list)
9849 (eieio-pre-method-execution-functions, eieio-generic-call)
9850 (eieio-generic-call-primary-only, eieiomt-method-list)
9851 (eieiomt-optimizing-obarray, eieiomt-install)
9852 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9853 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 9854 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
9855 (defclass): Remove `eval-and-compile' from macro.
9856 (call-next-method, shared-initialize): Instead of using
9857 `scoped-class' variable, use new eieio--scoped-class, and
9858 eieio--with-scoped-class.
9859 (initialize-instance): Rename local variable 'scoped-class' to
9860 'this-class' to remove ambiguitity from old global.
9861
9862 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9863 eieio.el.
4f405069
JB
9864 (eieio--scoped-class-stack): New variable.
9865 (eieio--scoped-class): New fcn.
890f7890
DE
9866 (eieio--with-scoped-class): New scoping macro.
9867 (eieio-defclass): Use pushnew instead of add-to-list.
9868 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9869 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9870 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9871 `scoped-class' variable, use new eieio--scoped-class, and
9872 eieio--with-scoped-class.
9873
9874 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9875
d105b0e2
TH
98762013-06-02 Tassilo Horn <tsdh@gnu.org>
9877
9878 * eshell/esh-ext.el (eshell-external-command): Pass args to
9879 `eshell-find-interpreter'.
9880 (eshell-find-interpreter): Add new second parameter ARGS.
9881
9882 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 9883 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9884
9885 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 9886 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9887
9888 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9889 (eshell-visual-options): New defcustom.
9890 (eshell-escape-control-x): Adapt docstring.
9891 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9892 `eshell-visual-options' in addition to `eshell-visual-commands'.
9893 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9894
f46305c8 98952013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
9896
9897 * progmodes/python.el (python-indent-block-enders): Add break,
9898 continue and raise keywords.
9899
d870df21
GM
99002013-06-01 Glenn Morris <rgm@gnu.org>
9901
9133b82e
GM
9902 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9903
02c992ec 9904 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
9905 * progmodes/cc-cmds.el (delete-forward-p):
9906 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9907 * progmodes/cc-engine.el (buffer-syntactic-context):
9908 * progmodes/cc-fonts.el (face-property-instance):
9909 * progmodes/cc-mode.el (set-keymap-parents):
9910 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9911 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9912 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
9913 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9914 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 9915
31e7b090
GM
9916 * progmodes/cc-vars.el (other): Emacs has this widget since
9917 at least 21.1, so don't (re)define it.
9918
d870df21
GM
9919 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9920 Replace the obsolete alias pcomplete-arg-quote-list.
9921
c75c93c7
LL
99222013-06-01 Leo Liu <sdl.web@gmail.com>
9923
9924 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9925 punctuation syntax.
9926 (inferior-octave-minimal-columns)
9927 (inferior-octave-last-column-width): New variables.
9928 (inferior-octave-track-window-width-change): New function.
9929 (inferior-octave-mode): Adjust column width so that Octave output,
9930 for example from 'ls', can fit into the window nicely.
9931
973d1e12
DG
99322013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9933
9934 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9935 Highlight expansions inside regexp literals.
9936
0888c286
GM
99372013-05-31 Glenn Morris <rgm@gnu.org>
9938
e26aac1f
GM
9939 * obsolete/sym-comp.el (symbol-complete):
9940 Replace obsolete completion-annotate-function.
9941
0888c286
GM
9942 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9943
19bb8e62
DG
99442013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9945
781b4af6
SM
9946 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9947 New function, checks if point is inside a literal that allows
19bb8e62
DG
9948 expression expansion.
9949 (ruby-syntax-propertize-expansion): Use it.
9950 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9951 around the body.
9952
01dea85f
JL
99532013-05-30 Juri Linkov <juri@jurta.org>
9954
9955 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9956 to "\M-si".
9957 (isearch-invisible): New variable.
9958 (isearch-forward): Doc fix.
9959 (isearch-mode): Set `isearch-invisible'
9960 to the value of `search-invisible'.
9961 (isearch-toggle-case-fold): Doc fix.
9962 (isearch-toggle-invisible): New command.
9963 (isearch-query-replace): Let-bind `search-invisible'
9964 to the value of `isearch-invisible'.
9965 (isearch-search): Use `isearch-invisible' instead of
9966 `search-invisible'. Let-bind `search-invisible'
9967 to the value of `isearch-invisible'. (Bug#11378)
9968
ab1bdce5
JL
99692013-05-30 Juri Linkov <juri@jurta.org>
9970
9971 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9972 call when `query-flag' is nil and `search-invisible' is non-nil.
9973 (Bug#11746)
9974
d6d236e2
GM
99752013-05-30 Glenn Morris <rgm@gnu.org>
9976
8accd027
GM
9977 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9978
2a8bed1c
GM
9979 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9980 (cc-require): Suppress spurious "noruntime" warnings.
9981 (cc-require-when-compile): Use fboundp, for sake of compiler.
9982
d6d236e2
GM
9983 * progmodes/cc-mode.el: Move load of cc-vars before that of
9984 cc-langs (which in turn loads cc-vars), to quieten compiler.
9985
9190b35b
SM
99862013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9987
9988 * paren.el: Simplify the code.
9989 (show-paren-mode): Always start the timer.
9990 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9991 (show-paren--overlay, show-paren--overlay-1): Rename from
9992 show-paren-overlay and show-paren-overlay-1, and initialize to an
9993 overlay rather than to nil.
9994 (show-paren-function): Misc cleanup and simplifications.
9995
4f8d1cf6
SM
99962013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9997
9998 * paren.el (show-paren-data-function): New hook.
9999 (show-paren--default): New function, extracted from show-paren-function.
10000 (show-paren-function): Use show-paren-data-function.
10001
02d844b5
GM
100022013-05-30 Glenn Morris <rgm@gnu.org>
10003
d209d4a9
GM
10004 * ielm.el (ielm-map, ielm-complete-symbol):
10005 Use completion-at-point rather than obsolete functions.
10006 (inferior-emacs-lisp-mode): Doc fix.
10007 Set completion-at-point-functions, rather than
10008 comint-dynamic-complete-functions.
10009
2082faa6
GM
10010 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10011 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10012 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10013
dd8620de
GM
10014 * image.el (image-animated-p): Tweak definition.
10015
ceca95b1
GM
10016 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10017 (rlogin-process-connection-type): Tweak default. Add set-after.
10018 (rlogin-host): Doc fix.
10019 (rlogin): Tweak prompt.
10020 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10021
ee9f1acc
GM
10022 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10023 * progmodes/tcl.el (inferior-tcl-mode-map):
10024 Use completion-at-point rather than obsolete alias.
10025
45ce222e
GM
10026 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10027
02d844b5
GM
10028 * minibuffer.el (read-file-name-completion-ignore-case):
10029 Move before completion--in-region, for eager macro expansion.
10030
ac44d6c1
JL
100312013-05-29 Juri Linkov <juri@jurta.org>
10032
10033 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10034 for total count of matching lines. Add `global-matches' for total
10035 count of matches. Rename `matches' to `lines' for count of
10036 matching lines. Add `matches' for count of matches.
10037 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10038 to `prev-line' for line number of prev match endpt.
10039 Increment `matches' for every match. Print the number of
10040 matching lines in the header.
10041 (occur-context-lines): Rename `lines' to `curr-line'.
10042 Rename `prev-lines' to `prev-line'. (Bug#14017)
10043
3c9c9d38
JL
100442013-05-29 Juri Linkov <juri@jurta.org>
10045
10046 * replace.el (perform-replace): Add `skip-read-only-count',
10047 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10048 Increment them for corresponding conditions and report the number
10049 of skipped occurrences in the final message. (Bug#11746)
10050 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10051 (replace-string, replace-regexp): Doc fix.
10052
33e249a2
SM
100532013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10054
8e399682
SM
10055 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10056
33e249a2 10057 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 10058 prog-mode-map (bug#14504).
33e249a2 10059
f236dd84
LL
100602013-05-29 Leo Liu <sdl.web@gmail.com>
10061
10062 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10063 (octave-help): Small simplification.
10064
10065 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10066 off the highlight first.
10067
3694d13f
GM
100682013-05-29 Glenn Morris <rgm@gnu.org>
10069
03983bdc
GM
10070 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10071 Handle idlwave-last-system-routine-info-cons-cell being nil.
10072
bc74a74a
GM
10073 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10074 (idlwave-write-paths): Simplify via with-temp-buffer.
10075
8b394200
GM
10076 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10077 * emulation/cua-rect.el: Also load cua-base at run time.
10078
3694d13f
GM
10079 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10080 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10081 (cperl-imenu-on-info): Require imenu.
10082
336d7284
AM
100832013-05-28 Alan Mackenzie <acm@muc.de>
10084
10085 Handle "capitalised keywords" correctly.
33e249a2 10086 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 10087
cb29c582
AG
100882013-05-28 Aidan Gauland <aidalgol@amuri.net>
10089
781b4af6 10090 * eshell/em-unix.el: Add -r option to cp.
cb29c582 10091
690e44b2
GM
100922013-05-28 Glenn Morris <rgm@gnu.org>
10093
e658d75c
GM
10094 * vc/vc-arch.el (vc-exec-after): Declare.
10095 (vc-switches): Autoload.
10096 * vc/vc-bzr.el: No need to require vc when compiling.
10097 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10098 (vc-resynch-buffer, vc-dir-refresh): Declare.
10099 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
10100 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10101 (vc-resynch-buffer): Declare.
10102 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 10103 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
10104 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10105 (grep-read-regexp, grep-read-files, grep-expand-template)
10106 (vc-dir-refresh): Declare.
10107 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10108 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10109 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
10110 * vc/vc-mtn.el (vc-exec-after): Declare.
10111 (vc-switches): Autoload.
10112 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10113 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10114 (vc-file-tree-walk): Declare.
712b9732
GM
10115 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10116 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10117 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
10118 * vc/vc-svn.el (vc-exec-after): Declare.
10119 (vc-switches, vc-setup-buffer): Autoload.
10120 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10121 Autoload.
10122 (vc-resynch-buffer): Declare.
10123
98e87fb3
GM
10124 * obsolete/fast-lock.el (byte-compile-warnings):
10125 Don't warn about obsolete features in this obsolete file.
10126
f5379553
GM
10127 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10128 Move definition before use.
10129
7a20ef83
GM
10130 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10131 (dun-unix-verbs): Remove dun-zippy.
10132 (dun-zippy): Remove function.
10133
690e44b2
GM
10134 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10135
3a52ccf7
JL
101362013-05-27 Juri Linkov <juri@jurta.org>
10137
10138 * replace.el (replace-search): New function with code moved out
10139 from `perform-replace'.
10140 (replace-highlight, replace-dehighlight): Move function definitions
10141 up closer to `replace-search'. (Bug#11746)
10142
d289938a
JL
101432013-05-27 Juri Linkov <juri@jurta.org>
10144
10145 * replace.el (perform-replace): Ignore invisible matches.
10146 In addition to checking `query-replace-skip-read-only', also
10147 filter out matches by calling `run-hook-with-args-until-failure'
10148 on `isearch-filter-predicates', and also check `search-invisible'
10149 for t or call `isearch-range-invisible'.
10150 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10151
66fc57e3
JL
101522013-05-27 Juri Linkov <juri@jurta.org>
10153
10154 * isearch.el (isearch-filter-predicates): Rename from
10155 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10156 (isearch-message-prefix): Display text from the property
10157 `isearch-message-prefix' of the currently active filters.
10158 (isearch-search): Don't compare `isearch-filter-predicate' with
10159 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10160 on `isearch-filter-predicates'. Also check `search-invisible' for t
10161 or call `isearch-range-invisible'.
10162 (isearch-filter-visible): Make obsolete.
10163 (isearch-lazy-highlight-search):
10164 Call `run-hook-with-args-until-failure' on
10165 `isearch-filter-predicates' and use `isearch-range-invisible'.
10166
10167 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10168 `isearch-filter-predicates' instead of `funcall'ing
10169 `isearch-filter-predicate'.
10170 (Info-mode): Set `Info-isearch-filter' to
10171 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10172
10173 * dired-aux.el (dired-isearch-filter-predicate-orig):
10174 Remove variable.
10175 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10176 (dired-isearch-filenames-end): Add and remove
10177 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10178 instead of changing the value of `isearch-filter-predicate'.
10179 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10180 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10181 Put property `isearch-message-prefix' to "filename " on
10182 `dired-isearch-filter-filenames'.
10183
10184 * wdired.el (wdired-change-to-wdired-mode):
10185 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10186 locally instead of changing `isearch-filter-predicate'.
10187 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10188
f1a60a0f
DG
101892013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10190
10191 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10192 return the commit hash (Bug#14459). Also set the
10193 `vc-git-detached' property.
10194 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10195 (vc-git-mode-line-string): Use the same help-echo format whether
10196 in detached mode or not, because we know the actual revision now.
10197 When in detached mode, shorten the revision to 7 chars.
10198
7f17cc40
SM
101992013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10200
10201 * emacs-lisp/easy-mmode.el (define-minor-mode):
10202 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10203 mode hook and provide a docstring.
10204
25c8401c
AM
102052013-05-27 Alan Mackenzie <acm@muc.de>
10206
10207 Remove spurious syntax-table text properties inserted by C-y.
10208 * progmodes/cc-mode.el (c-after-change): Also clear hard
10209 syntax-table property with value nil.
10210
dde84790
MA
102112013-05-27 Michael Albinus <michael.albinus@gmx.de>
10212
10213 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10214 when reading the events; the buffer layout shall not be changed.
10215
837fd9af
LL
102162013-05-27 Leo Liu <sdl.web@gmail.com>
10217
10218 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10219 New variable.
10220 (inferior-octave-directory-tracker): Automatically re-sync
10221 default-directory.
10222 (octave-help): Improve handling of 'See also'.
10223
4fd996b3
SM
102242013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10225
416f1802
SM
10226 * doc-view.el: Minor naming convention tweaks.
10227 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10228
4fd996b3
SM
10229 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10230 even if there's no `display' property yet (bug#14435).
10231
a052ef3b
EZ
102322013-05-25 Eli Zaretskii <eliz@gnu.org>
10233
4fd996b3 10234 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
10235
10236 * Makefile.in (custom-deps, finder-data, autoloads)
10237 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10238 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10239 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10240
c9023370
SM
102412013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10242
10243 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10244 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 10245 Don't burp at EOB.
c9023370 10246
24d699fa
LL
102472013-05-25 Leo Liu <sdl.web@gmail.com>
10248
10249 * comint.el (comint-previous-matching-input): Do not flood the
10250 *Messages* buffer with trivial messages.
10251
17e5c0cc
SM
102522013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10253
10254 * progmodes/flymake.el (flymake-nop): Don't return a string.
10255 (flymake-set-at): Fix typo.
10256
10257 * simple.el (read--expression): New function, extracted from
10258 eval-expression. Set completion-at-point-functions (bug#14465).
10259 (eval-expression, eval-minibuffer): Use it.
10260
5d028165
XF
102612013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10262
10263 * progmodes/flymake.el (flymake-save-buffer-in-file)
10264 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10265 (flymake-selected-frame, flymake-log, flymake-ins-after)
10266 (flymake-set-at, flymake-get-buildfile-from-cache)
10267 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10268 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10269 Refine the doc string.
10270 (flymake-get-file-name-mode-and-masks): Reformat.
10271 (flymake-get-real-file-name-function): Fix a minor bug.
10272
7a1d7ba7
JL
102732013-05-24 Juri Linkov <juri@jurta.org>
10274
10275 * progmodes/grep.el (grep-mode-font-lock-keywords):
10276 Support =linenumber= format used by git-grep for lines with
10277 function names. (Bug#13549)
10278
650cff3d
SM
102792013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10280
10281 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10282 0 after a semi-colon; it works better for smie-auto-fill.
10283 (octave--indent-new-comment-line): New function.
10284 (octave-indent-new-comment-line): Use it (indirectly).
10285 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10286 modify comment-line-break-function.
10287
10288 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10289 (smie-setup): Use add-function to set it.
10290
9631677d
SS
102912013-05-24 Sam Steingold <sds@gnu.org>
10292
10293 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10294 argument (before the `interactive' argument).
10295
50105835
SM
102962013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10297
10298 * image-mode.el (image-mode-winprops): Add winprops to
10299 image-mode-winprops-alist before running
10300 image-mode-new-window-functions.
10301 * doc-view.el (doc-view-new-window-function): Don't delay
10302 doc-view-goto-page via timers (bug#14435).
10303
57b9823e
TH
103042013-05-24 Tassilo Horn <tsdh@gnu.org>
10305
10306 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10307 (doc-view-desktop-save-buffer): New function.
10308 (doc-view-restore-desktop-buffer): New function.
50105835
SM
10309 (desktop-buffer-mode-handlers):
10310 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
10311 handler.
10312 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10313 `desktop-save-buffer' function.
10314
91aafa16
MA
103152013-05-24 Michael Albinus <michael.albinus@gmx.de>
10316
10317 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10318 (tramp-gvfs-file-name-handler): Raise a user error when
10319 `tramp-gvfs-enabled' is nil.
10320 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10321 Do not raise a user error when loading package. (Bug#14447)
10322
ec076379
MA
10323 * net/xesam.el: Move to obsolete/.
10324
db785726
GM
103252013-05-24 Glenn Morris <rgm@gnu.org>
10326
af5c7606
GM
10327 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10328
e5d1916a
GM
10329 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10330
ded62b08
GM
10331 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10332 (Info-find-node, Man-getpage-in-background): Declare.
10333
9e614a3f
GM
10334 * mail/unrmail.el (unrmail):
10335 Replace obsolete detect-coding-with-priority.
10336
892f8ca3
GM
10337 * net/socks.el (socks-split-string): Use this rather than split-string.
10338 (socks-nslookup-host): Update for above change.
10339 (dynamic-choice, s5-dynamic-choice-match)
10340 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10341 Comment out unused code.
10342
3c291973
GM
10343 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10344 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10345 (gud-tooltip-echo-area): Make obsolete.
10346 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10347
43cc956b
GM
10348 * progmodes/js.el (js--optimize-arglist): Declare.
10349
dab49a3b
GM
10350 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10351
36b9d085
GM
10352 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10353 (ediff-window-C): Declare.
10354
e354ae76
GM
10355 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10356 Tweak requires to silence compiler.
10357
b8e57bf4
GM
10358 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10359 (he-search-string, he-tried-table, he-expand-list)
10360 (he-init-string, he-string-member, he-substitute-string)
10361 (he-reset-string): Declare.
10362
db785726
GM
10363 * obsolete/options.el (list-options): Use custom-variable-p,
10364 rather than obsolete alias.
10365
b3531901
SS
103662013-05-23 Sam Steingold <sds@gnu.org>
10367
10368 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 10369 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
10370 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10371
bdda4c66
SM
103722013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10373
10374 * emacs-lisp/smie.el (smie-indent-forward-token)
10375 (smie-indent-backward-token): Handle string tokens (bug#14381).
10376
c43d45f9
TH
103772013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10378
fe1eb856
RS
10379 * ielm.el (ielm-menu): New menu.
10380 (inferior-emacs-lisp-mode): Set comment-start.
96172128 10381
fe1eb856
RS
103822013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10383
a12bf61e 10384 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
10385 Fix deactivate action.
10386
a12bf61e 10387 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 10388 Add cleveref macros.
074dd971 10389
a12bf61e 10390 * textmodes/reftex-parse.el
c43d45f9
TH
10391 (reftex-locate-bibliography-files): Accept options for
10392 bibliography commands.
a12bf61e 10393 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
10394 Add addbibresource. Basic Biblatex support.
10395
7764286e
MA
103962013-05-23 Michael Albinus <michael.albinus@gmx.de>
10397
10398 * net/tramp-gvfs.el (top):
10399 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10400 when loading package. (Bug#14447)
10401
d361bc10
GM
104022013-05-23 Glenn Morris <rgm@gnu.org>
10403
8fa23984
GM
10404 * progmodes/js.el: No need to load comint when compiling.
10405 (ring-insert, comint-send-string, comint-send-input)
10406 (comint-last-input-end, ido-chop): Declare.
10407
a5c7df1a
GM
10408 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10409 * vc/ediff-mult.el: Adjust requires.
10410 (ediff-directories-internal, ediff-directory-revisions-internal)
10411 (ediff-patch-file-internal): Declare.
10412 * vc/ediff-ptch.el: Adjust requires.
10413 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10414 (ediff-find-file): Autoload.
10415 * vc/ediff-util.el: No need to load ediff when compiling.
10416 (ediff-regions-internal): Declare.
10417 * vc/ediff-wind.el: Adjust requires.
10418 (ediff-compute-toolbar-width): Define when compiling.
10419 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10420 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10421 (dired-get-filename, dired-get-marked-files)
10422 (ediff-last-dir-patch, ediff-patch-default-directory)
10423 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10424 (ediff-patch-buffer-internal): Declare.
10425
e2aec513
GM
10426 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10427 (ispell-process, ispell-buffer-local-words, lm-summary)
10428 (lm-section-start, lm-section-end): Declare.
10429 (checkdoc-ispell-init): Simplify.
10430
e68bbd7c
GM
10431 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10432 (he-string-member, he-reset-string, he-substitute-string): Declare.
10433
7efe0991
GM
10434 * eshell/em-ls.el: Adjust requires.
10435 (eshell-glob-regexp): Declare.
f87b1284
GM
10436 * eshell/em-tramp.el: Adjust requires.
10437 (eshell-parse-command): Autoload.
10438 * eshell/em-xtra.el: Adjust requires.
10439 (eshell-parse-command): Autoload.
10440 * eshell/esh-ext.el: Adjust requires.
10441 (eshell-parse-command, eshell-close-handles): Autoload.
10442 * eshell/esh-io.el: Adjust requires.
10443 (eshell-output-filter): Autoload.
10444 * eshell/esh-util.el: No need to load tramp when compiling.
10445 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10446 Declare.
10447 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10448 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10449 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10450 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10451 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10452 * eshell/esh-opt.el, eshell/esh-proc.el:
10453 * eshell/esh-var.el: Adjust requires.
10454 * eshell/eshell.el: Do not require esh-util twice.
10455 (eshell-add-input-to-history): Declare.
10456 (eshell-command): Check history module is active before using it.
10457
d361bc10
GM
10458 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10459
85d090a9
LL
104602013-05-22 Leo Liu <sdl.web@gmail.com>
10461
10462 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10463
5d0acd9d
MA
104642013-05-22 Michael Albinus <michael.albinus@gmx.de>
10465
10466 * autorevert.el (auto-revert-notify-add-watch)
10467 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10468 it indicates changes in file modification time.
10469
0cdffd7d
GM
104702013-05-22 Glenn Morris <rgm@gnu.org>
10471
ca5995ec
GM
10472 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10473 Always delete the autoloaded function from the noruntime and
10474 unresolved functions lists.
10475
6450907e
GM
10476 * allout.el: No need to load epa, epg, overlay when compiling.
10477 (epg-context-set-passphrase-callback, epg-list-keys)
10478 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10479 (epg-key-user-id-list): Declare.
10480
9c6906f6
GM
10481 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10482 (viper-set-parsing-style-toggling-macro)
10483 (viper-set-emacs-state-searchstyle-macros):
10484 Use called-interactively-p on Emacs.
10485 (viper-looking-back): Make it an obsolete alias. Update callers.
10486 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10487 Use looking-back rather than viper-looking-back.
10488 (viper-tmp-insert-at-eob, viper-enlarge-region)
10489 (viper-read-string-with-history, viper-register-to-point)
10490 (viper-append-to-register, viper-change-state-to-vi)
10491 (viper-backward-char-carefully, viper-forward-char-carefully)
10492 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10493 (viper-change-state-to-emacs): Declare.
10494 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10495 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10496 * emulation/viper-mous.el: Do not load viper-cmd.
10497 (viper-backward-char-carefully, viper-forward-char-carefully)
10498 (viper-forward-word, viper-adjust-window): Declare.
10499
5f70c169
GM
10500 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10501
b1b7f300
GM
10502 * progmodes/idlw-help.el (idlwave-help-fontify):
10503 Use called-interactively-p.
10504
f6ebbb46
GM
10505 * term/w32console.el (w32-get-console-codepage)
10506 (w32-get-console-output-codepage): Declare.
10507
0cdffd7d
GM
10508 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10509 Remove unnecessary declarations.
10510 (dframe-message): Doc fix.
10511
10512 * info.el (dframe-select-attached-frame, dframe-current-frame):
10513 Declare.
10514
10515 * speedbar.el (speedbar-message): Make it an obsolete alias.
10516 Update all callers.
10517 (speedbar-with-attached-buffer)
10518 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10519 (speedbar-with-writable): Use backquote.
10520 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10521 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10522 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10523 rather than speedbar- aliases.
10524 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10525 (speedbar-make-specialized-keymap, speedbar-insert-button)
10526 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10527 (speedbar-do-function-pointer): Declare.
10528 (rmail-speedbar-button, rmail-speedbar-find-file)
10529 (rmail-speedbar-move-message):
10530 Use dframe-with-attached-buffer rather than speedbar- alias.
10531 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10532 (dframe-message, speedbar-make-specialized-keymap)
10533 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10534 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10535 (speedbar-insert-button, dframe-select-attached-frame)
10536 (dframe-maybee-jump-to-attached-frame)
10537 (speedbar-change-initial-expansion-list)
10538 (speedbar-previously-used-expansion-list-name): Declare.
10539 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10540 Use dframe-message, dframe-with-attached-buffer rather than
10541 speedbar- aliases.
10542 (gud-sentinel): Silence compiler.
10543 * progmodes/vhdl-mode.el (speedbar-refresh)
10544 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10545 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10546 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10547 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10548 (speedbar-file-lists, speedbar-make-tag-line)
10549 (speedbar-line-directory, speedbar-goto-this-file)
10550 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10551 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10552 (speedbar-make-button, speedbar-reset-scanners)
10553 (speedbar-files-item-info, speedbar-line-text)
10554 (speedbar-find-file-in-frame, speedbar-set-timer)
10555 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10556 (speedbar-with-writable): Do not (re)define it.
10557 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10558 rather than speedbar- alias.
10559
ee44b62a
LL
105602013-05-21 Leo Liu <sdl.web@gmail.com>
10561
10562 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10563 menu items.
10564 (octave-mode): Tweak fill-nobreak-predicate.
10565 (inferior-octave-startup): Check process to avoid infinite loop.
10566 (inferior-octave): Pop to buffer first to show abornmal process
10567 exit information.
10568
640f050f
GM
105692013-05-21 Glenn Morris <rgm@gnu.org>
10570
79458038
GM
10571 * printing.el (pr-menu-bar): Define when compiling.
10572
9cc3e83f
LL
105732013-05-21 Leo Liu <sdl.web@gmail.com>
10574
10575 * progmodes/octave.el (octave-auto-fill): Remove.
10576 (octave-indent-new-comment-line): Improve.
10577 (octave-mode): Use auto fill mode through
4f405069 10578 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 10579 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 10580 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
10581 (octave-help): Show parent directory.
10582
f440830d
GM
105832013-05-21 Glenn Morris <rgm@gnu.org>
10584
10585 * files.el (dired-unmark):
10586 * progmodes/gud.el (gdb-input): Update declarations.
10587
10588 * calculator.el (electric, ehelp): No need to load when compiling.
10589 (Electric-command-loop, electric-describe-mode): Declare.
10590
10591 * doc-view.el (doc-view-current-converter-processes): Move before use.
10592
10593 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10594 Move MODE-set-explicitly definition before use.
10595
10596 * international/mule-diag.el (mule-diag):
10597 Don't use obsolete window-system-version.
10598
10599 * mail/feedmail.el (smtpmail): No need to load when compiling.
10600 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10601
10602 * mail/mail-utils.el (rfc822): No need to load when compiling.
10603 (rfc822-addresses): Autoload it.
10604 (mail-strip-quoted-names): Trivial simplification.
10605
10606 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10607 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10608
10609 * net/snmp-mode.el (tempo): Don't duplicate requires.
10610
10611 * progmodes/prolog.el (info): No need to load when compiling.
10612 (comint): Require before shell requires it.
10613 (Info-goto-node): Autoload it.
10614 (Info-follow-nearest-node): Declare.
10615 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10616
10617 * textmodes/artist.el (picture-mode-exit): Declare.
10618
10619 * textmodes/reftex-parse.el (reftex-parse-from-file):
10620 Trivial rewrite so the compiler can parse it better.
10621
b4da2cbb
LL
106222013-05-20 Leo Liu <sdl.web@gmail.com>
10623
10624 * progmodes/octave.el (octave-help-mode-map)
10625 (octave-help-mode-finish-hook): New variables.
10626 (octave-help-mode, octave-help-mode-finish): New functions.
10627 (octave-help): Use octave-help-mode.
10628
33c0f65b
GM
106292013-05-20 Glenn Morris <rgm@gnu.org>
10630
10631 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10632
1a0a0a8a
DG
106332013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10634
10635 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10636 start at point, so that expansion starting right after opening
10637 slash in a regexp is recognized.
10638 (ruby-syntax-before-regexp-re): New defvar, extracted from
10639 ruby-syntax-propertize-function. Since the value of this regexp
10640 is looked up at runtime now, we should be able to turn
10641 `ruby-syntax-methods-before-regexp' into a defcustom later.
10642 (ruby-syntax-propertize-function): Split regexp matching into two
10643 parts, for opening and closing slashes. That allows us to skip
10644 over string interpolations and support multiline regexps.
10645 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10646 for them, which calls `ruby-syntax-propertize-expansion'.
10647 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10648 call to `ruby-syntax-propertize-function'.
10649 (ruby-syntax-propertize-expansion): Extracted from
10650 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
10651 (ruby-syntax-propertize-percent-literal): Leave point right after
10652 the percent symbol, so that the expression expansion rule can
10653 propertize the contents.
462388b6
DG
10654 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10655 heredoc openers.
10656 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 10657
c1a6c0a4
JL
106582013-05-18 Juri Linkov <juri@jurta.org>
10659
10660 * man.el (Man-default-man-entry): Remove `-' from the end
10661 of the default value. (Bug#14400)
10662
8051fccd
GM
106632013-05-18 Glenn Morris <rgm@gnu.org>
10664
10665 * comint.el (comint-password-prompt-regexp):
10666 Allow "password for XXX" where XXX contains colons (eg https://...).
10667
5e80b74f
LL
106682013-05-18 Leo Liu <sdl.web@gmail.com>
10669
10670 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 10671 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
10672 (octave-source-directories): Don't check process.
10673 (octave-source-directories, octave-find-definition): Doc fix.
10674
521a54c5
GM
106752013-05-18 Glenn Morris <rgm@gnu.org>
10676
86a94b05
GM
10677 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10678 Remove backspace/delete bindings. (Bug#14392)
10679
521a54c5
GM
10680 * cus-dep.el (custom-make-dependencies): Sort the output.
10681 (custom-versions-load-alist): Convert comment to doc.
10682
42caeb89
LL
106832013-05-17 Leo Liu <sdl.web@gmail.com>
10684
10685 * newcomment.el (comment-search-backward): Stricter in finding
10686 comment start. (Bug#14303)
10687
10688 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10689 (octave-comment-start-skip): Properly anchored.
10690
e219dd97
LL
106912013-05-17 Leo Liu <sdl.web@gmail.com>
10692
fe1eb856
RS
10693 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10694 Clean up when turned off. (Bug#14395)
e219dd97
LL
10695 (smie--highlight-matching-block-overlay): No longer buffer-local.
10696 (smie-highlight-matching-block): Adjust.
10697
dc5dcb4b
PE
106982013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10699
10700 Doc string fix for "nanoseconds" (Bug#14406).
10701 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10702 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10703
1db165f0
JB
107042013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10705
10706 * calc/calc-units.el (math-extract-units): Preserve powers
10707 of units.
10708
c7a8fcac
LL
107092013-05-17 Leo Liu <sdl.web@gmail.com>
10710
10711 * subr.el (delete-consecutive-dups): New function.
10712 * ido.el (ido-set-matches-1): Use it.
10713 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10714 * ido.el (ido-remove-consecutive-dups): Remove.
10715
f678b18a
SM
107162013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10717
10718 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10719 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10720 regexp-opt's `words'.
10721
ebfe68e8
LL
107222013-05-16 Leo Liu <sdl.web@gmail.com>
10723
10724 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10725 (smie--highlight-matching-block-overlay)
10726 (smie--highlight-matching-block-lastpos)
10727 (smie--highlight-matching-block-timer): New variables.
10728 (smie-highlight-matching-block): New function.
10729 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10730 (smie-setup): Conditionally enable smie-blink-matching-open.
10731
bc8bc17d
WS
107322013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10733
10734 Sync with upstream verilog-mode r840.
10735 * progmodes/verilog-mode.el (verilog-mode-version)
10736 (verilog-mode-release-date): Update.
10737 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10738 (verilog-sig-tieoff): Fix string error on
10739 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10740 (verilog-read-decls): Fix parameters confusing
10741 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10742
df065a0b
EZ
107432013-05-16 Eli Zaretskii <eliz@gnu.org>
10744
10745 * subr.el (reveal-filename): New function.
10746
10747 * loadup.el: Compute Emacs executable versions on MS-Windows,
10748 where executables have the .exe extension. Add a hard link
10749 emacs-XX.YY.ZZ.exe on MS-Windows.
10750
10751 * Makefile.in (XARGS_LIMIT): New variable.
10752 (custom-deps, finder-data, autoloads)
10753 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10754 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10755 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10756 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10757
2d4bf34b
LL
107582013-05-16 Leo Liu <sdl.web@gmail.com>
10759
10760 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10761 (octave-mode-menu, octave-mode-map): Remove its uses.
10762
6b9c2d85
RZ
107632013-05-16 Reto Zimmermann <reto@gnu.org>
10764
10765 Sync with upstream vhdl mode v3.34.2.
10766 * progmodes/vhdl-mode.el: Use `push' throughout.
10767 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10768 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10769 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10770 (vhdl-actual-generic-name): New option to derive actual generic name.
10771 (vhdl-port-paste-signals): Replace formal by actual generics.
10772 (vhdl-beautify): New name for old group vhdl-align. Update users.
10773 (vhdl-beautify-options): New option.
10774 (vhdl-last-input-event): New compat alias. Use throughout.
10775 (vhdl-goto-line): Replace user level function `goto-line'.
10776 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10777 vhdl-fix-statement-buffer.
10778 (vhdl-create-mode-menu): Add some entries.
10779 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10780 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10781 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10782 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10783 to force statements on one line.
10784 (vhdl-remove-trailing-spaces-region):
10785 New, split from vhdl-remove-trailing-spaces.
10786 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10787 Respect vhdl-beautify-options.
10788 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10789 (vhdl-update-sensitivity-list): Not add with index if exists without.
10790 Not include array index with signal. Ignore keywords in comments.
10791 (vhdl-get-visible-signals): Regexp tweaks.
10792 (vhdl-template-component-inst): Handle empty library.
10793 (vhdl-template-type): Add template for 'enum' type.
10794 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10795 Use vhdl-replace-string.
10796 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10797 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10798 (vhdl-speedbar-initialize): Update for above name change.
10799 (vhdl-compose-wire-components): Fix in handling of constants.
10800 (vhdl-error-regexp-emacs-alist): New variable.
10801 (vhdl-error-regexp-add-emacs): New function;
10802 adds support for new compile.el (Emacs 22+)
10803 (vhdl-generate-makefile-1): Change target order for single lib. units.
10804 Allow use of absolute file names.
10805
9df4ec5e
LL
108062013-05-16 Leo Liu <sdl.web@gmail.com>
10807
10808 * simple.el (prog-indent-sexp): Indent enclosing defun.
10809
f5ba00a6
GM
108102013-05-15 Glenn Morris <rgm@gnu.org>
10811
ed8be7ff
GM
10812 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10813 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10814 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10815 (whitespace-highlight): Move to whitespace group.
10816
10817 * comint.el (comint-source):
10818 * pcmpl-linux.el (pcmpl-linux):
10819 * shell.el (shell-faces):
10820 * eshell/esh-opt.el (eshell-opt):
10821 * international/ccl.el (ccl): Remove empty custom groups.
10822
10823 * completion.el (dynamic-completion-mode):
10824 * jit-lock.el (jit-lock-debug-mode):
10825 * minibuffer.el (completion-in-region-mode):
10826 * type-break.el (type-break-mode-line-message-mode)
10827 (type-break-query-mode):
10828 * emulation/tpu-edt.el (tpu-edt-mode):
10829 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10830 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10831 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10832
10833 * term/xterm.el (xterm): Change parent group to terminals.
10834
10835 * master.el (master): Remove empty custom group.
10836 (master-mode): Remove unused :group argument.
10837 * textmodes/refill.el (refill): Remove empty custom group.
10838 (refill-mode): Remove unused :group argument.
10839
10840 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10841
82a7c41b
GM
10842 * cus-dep.el: Provide a feature.
10843 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
10844 Don't mistakenly ignore files whose basenames match a basename
10845 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 10846 Add a fallback method for getting :group.
f5ba00a6 10847
6d65486d
JL
108482013-05-15 Juri Linkov <juri@jurta.org>
10849
da547b32
JL
10850 * isearch.el (isearch-char-by-name): Rename from
10851 `isearch-insert-char-by-name'. Doc fix.
10852 (isearch-forward): Mention `isearch-char-by-name' in
10853 the docstring. (Bug#13348)
10854
6d65486d
JL
10855 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10856 `exit-minibuffer' instead of
10857 `isearch-nonincremental-exit-minibuffer'.
10858 (isearch-edit-string): Remove mention of
10859 `isearch-nonincremental-exit-minibuffer' from docstring.
10860 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10861 (isearch-forward-exit-minibuffer)
10862 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10863
c9990474
SM
108642013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10865
6e911150
SM
10866 * loadup.el: Just use unversioned DOC.
10867
c9990474
SM
10868 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10869 literals as extending to EOB.
10870 (nxml-last-fontify-end): Remove unused variable.
10871 (nxml-after-change1): Use with-silent-modifications.
10872 (nxml-extend-after-change-region): Simplify.
10873 (nxml-extend-after-change-region1): Remove function.
10874 (nxml-after-change1): Don't adjust for dependent regions.
10875 (nxml-fontify-matcher): Simplify.
10876 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10877 (xmltok-add-dependent): Remove function.
10878 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10879 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10880 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10881 unclosed <[[, <?, comment, and other literals as extending to EOB.
10882 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10883 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10884 Remove functions.
10885 (rng-do-some-validation-1): Don't mark dependent regions.
10886 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10887 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10888 (nxml-clear-dependent-regions): Remove functions.
10889 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10890 (nxml-ensure-scan-up-to-date):
10891 Don't clear&mark dependent regions.
10892
e3772e98
LL
108932013-05-15 Leo Liu <sdl.web@gmail.com>
10894
c9990474
SM
10895 * progmodes/octave.el (octave-goto-function-definition):
10896 Improve and fix callers.
e3772e98 10897
5ac2eb34
SM
108982013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10899
c46c57b0
SM
10900 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10901 the setter (bug#14387).
10902
5ac2eb34
SM
10903 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10904 surrounding group (bug#14402).
10905
180ed218
JL
109062013-05-14 Juri Linkov <juri@jurta.org>
10907
10908 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10909 (Bug#14390)
10910
0ac0fecb
GM
109112013-05-14 Glenn Morris <rgm@gnu.org>
10912
10913 * progmodes/f90.el (f90-imenu-generic-expression):
10914 Fix typo in 2013-05-08 change. (Bug#14402)
10915
2e78e6a7
JPG
109162013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10917
5ac2eb34
SM
10918 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10919 Remove signals for which replies are never received.
2e78e6a7 10920
53267cca
JPG
109212013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10922
10923 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10924 (gdb-handler-alist, gdb-handler-number): Remove variables.
10925 (gdb-handler-list): New variable.
10926 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10927 (gdb-pending-handler-p, gdb-handle-reply)
10928 (gdb-remove-all-pending-triggers): New functions.
10929 (gdb-discard-unordered-replies): New defcustom.
10930 (gdb-handler): New defstruct.
10931 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10932 instead of gdb-pending-triggers. Update docstring.
10933 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10934 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10935 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10936 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10937 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10938 (gdb-frame-handler): Pending triggers are now automatically managed.
10939 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10940 Remove argument.
10941 (gdb-input): Automatically handles pending triggers. Update docstring.
10942 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10943 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10944 Update comments.
10945 (gdb-done-or-error): Now use gdb-handle-reply.
10946
d04ce803
JPG
109472013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10948
10949 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10950 gdb-debug-log.
10951
0114073a
GM
109522013-05-14 Glenn Morris <rgm@gnu.org>
10953
10954 * subr.el (user-emacs-directory-warning): New option.
10955 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10956
4d25fd7e
LL
109572013-05-14 Leo Liu <sdl.web@gmail.com>
10958
10959 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10960 during redisplay.
10961 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
10962 (octave-font-lock-texinfo-comment): Fix invalid search bound
10963 error: wrong side of point.
4d25fd7e 10964
27c8b6eb
GM
109652013-05-14 Glenn Morris <rgm@gnu.org>
10966
61aaeb01
GM
10967 * progmodes/flymake.el (flymake-xml-program): New option.
10968 (flymake-xml-init): Use it.
10969
5bf90bc5
GM
10970 * term/xterm.el: Provide a feature.
10971
10972 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 10973
f4c7dfd2
GM
109742013-05-13 Glenn Morris <rgm@gnu.org>
10975
10976 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10977 Add compat aliases as a hack workaround. (Bug#14384)
10978
2aeb3a1d
LL
109792013-05-13 Leo Liu <sdl.web@gmail.com>
10980
b0e069c2
LL
10981 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10982 ###, and %!.
f5a9432f
LL
10983 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10984 C-M-q.
b0e069c2
LL
10985 (octave-comment-start-skip): Include %!.
10986 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 10987
30ea8374
LL
109882013-05-12 Leo Liu <sdl.web@gmail.com>
10989
10990 * progmodes/octave.el (inferior-octave-startup): Store the value
10991 of __octave_srcdir__ for octave-source-directories.
10992 (inferior-octave-check-process): New function refactored out of
10993 inferior-octave-send-list-and-digest.
10994 (octave-source-directories)
10995 (octave-find-definition-filename-function): New variables.
10996 (octave-source-directories)
10997 (octave-find-definition-default-filename): New functions.
10998 (octave-find-definition): Improve to find functions implemented in C++.
10999
472a3834
GM
110002013-05-12 Glenn Morris <rgm@gnu.org>
11001
11002 * calendar/diary-lib.el (diary-outlook-format-1):
11003 Don't include dayname in the output. (Bug#14349)
11004
3191b52f
GM
110052013-05-11 Glenn Morris <rgm@gnu.org>
11006
0060ac73
GM
11007 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11008
3191b52f
GM
11009 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11010 Treat cc-provide like provide.
11011
e065ba74
KR
110122013-05-11 Kevin Ryde <user42@zip.com.au>
11013
11014 * cus-dep.el (custom-make-dependencies):
11015 Use generated-autoload-load-name for the sake of files such
11016 such cedet/semantic/bovine/c.el, where the base file name
11017 is not in load-path. (Bug#5277)
11018
36f84c37
GM
110192013-05-11 Glenn Morris <rgm@gnu.org>
11020
11021 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11022 Provide features.
11023
c8730c3a
LL
110242013-05-11 Leo Liu <sdl.web@gmail.com>
11025
11026 * progmodes/octave.el (octave-indent-comment): Improve.
11027 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
11028 (octave-eldoc-function-signatures, octave-eldoc-function):
11029 New functions.
c8730c3a
LL
11030 (octave-mode, inferior-octave-mode): Add eldoc support.
11031
212e29f2
RS
110322013-05-11 Richard Stallman <rms@gnu.org>
11033
11034 * epa.el (epa-decrypt-file): Take output file name as argument
11035 and read it using `interactive'.
11036
083fe0d7
LL
110372013-05-11 Leo Liu <sdl.web@gmail.com>
11038
11039 * progmodes/octave.el (octave-beginning-of-line)
11040 (octave-end-of-line): Check before using up-list because it jumps
11041 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
11042 (octave-indent-comment): New function.
11043 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
11044 (octave-begin-keywords, octave-end-keywords)
11045 (octave-reserved-words, octave-smie-bnf-table)
11046 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 11047
8582e4c4
GM
110482013-05-11 Glenn Morris <rgm@gnu.org>
11049
f20def1f
GM
11050 * faces.el (internal-face-x-get-resource):
11051 * frame.el (ns-display-monitor-attributes-list):
d78abe37 11052 * calc/calc-aent.el (math-to-radians-2):
f20def1f 11053 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 11054 Fix declarations.
f20def1f 11055
445f95e2
GM
11056 * calc/calc-menu.el: Make it loadable in isolation.
11057
11058 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11059 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11060 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11061 (eudc-bbdb-query-internal): Require 'bbdb.
11062
99fb2756
GM
11063 * lpr.el (lpr-headers-switches):
11064 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11065
11066 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11067
0da7ad96
GM
11068 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11069
8582e4c4
GM
11070 * term.el (term-set-escape-char): Make it idempotent.
11071
f71c50d0
LL
110722013-05-10 Leo Liu <sdl.web@gmail.com>
11073
5ac2eb34
SM
11074 * progmodes/octave.el (inferior-octave-completion-table):
11075 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
11076 completion due to bug#11906.
11077 (octave-beginning-of-defun): Re-write to be more general.
11078
d5837773
GM
110792013-05-10 Glenn Morris <rgm@gnu.org>
11080
11081 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11082
027c0f75
SM
110832013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11084
11085 * comint.el (comint-redirect-send-command-to-process): Use :around
11086 rather than :override for comint-redirect-filter.
11087 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11088 Call it instead of comint-redirect-original-filter-function (which
11089 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11090
4465bfb4
JD
110912013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11092
11093 * frame.el (display-monitor-attributes-list): Add NS case.
11094 (ns-display-monitor-attributes-list): Declare.
11095
2d809ffa 110962013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
11097
11098 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11099
e54eeb9b
GM
111002013-05-09 Glenn Morris <rgm@gnu.org>
11101
56cd351d
GM
11102 * international/fontset.el (vertical-centering-font-regexp):
11103 Set standard-value.
11104
d84b6108
GM
11105 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11106
a931698a
GM
11107 * bookmark.el (bookmark-search-delay):
11108 * cus-start.el (vertical-centering-font-regexp):
11109 * ps-mule.el (ps-mule-font-info-database-default):
11110 * ps-print.el (ps-default-fg, ps-default-bg):
11111 * type-break.el (type-break-good-break-interval):
11112 * whitespace.el (whitespace-indentation-regexp)
11113 (whitespace-space-after-tab-regexp):
11114 * emacs-lisp/testcover.el (testcover-1value-functions)
11115 (testcover-noreturn-functions, testcover-progn-functions)
11116 (testcover-prog1-functions):
11117 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11118 * eshell/em-glob.el (eshell-glob-translate-alist):
11119 * play/tetris.el (tetris-tty-colors):
11120 * progmodes/cpp.el (cpp-face-default-list):
11121 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11122 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11123 (idlwave-help-browser-generic-args):
11124 * progmodes/make-mode.el (makefile-special-targets-list):
11125 * progmodes/python.el (python-shell-virtualenv-path):
11126 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11127 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11128 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11129 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11130 * textmodes/reftex-vars.el (reftex-format-label-function):
11131 * textmodes/remember.el (remember-diary-file): Fix custom types.
11132
e54eeb9b
GM
11133 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11134 Add :version.
11135
455851dd
LL
111362013-05-09 Leo Liu <sdl.web@gmail.com>
11137
11138 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 11139 Restore file completion. (Bug#14300)
455851dd
LL
11140 (inferior-octave-startup): Fix incorrect highlighting for the
11141 first prompt.
11142
a9e4425b
SM
111432013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11144
11145 * progmodes/ruby-mode.el: First cut at SMIE support.
11146 (ruby-use-smie): New var.
11147 (ruby-smie-grammar): New constant.
11148 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11149 (ruby-smie--forward-token, ruby-smie--backward-token)
11150 (ruby-smie-rules): New functions.
11151 (ruby-mode-variables): Setup SMIE if applicable.
11152
060ca408
EZ
111532013-05-08 Eli Zaretskii <eliz@gnu.org>
11154
11155 * simple.el (line-move-visual): Signal beginning/end of buffer
11156 only if vertical-motion moved less than it was requested. Avoids
11157 silly incorrect error messages when there are display strings with
11158 multiple newlines at EOL.
11159
1d5963cc
SM
111602013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11161
11162 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11163 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11164 (prolog-char-quote-workaround):
11165 * progmodes/cperl-mode.el (cperl-under-as-char):
11166 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
11167 Mark as obsolete.
11168 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
11169 their declaration.
11170 (vhdl-mode-syntax-table-init): Remove.
11171
c9990474
SM
11172 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11173 last change.
1d5963cc
SM
11174
11175 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11176 syntax for "_".
11177 (ld-script-font-lock-keywords):
11178 Change regexps to use things like \_< and \_>.
11179
11180 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11181 Change all regexps to use things like \_< and \_>.
11182
11183 * progmodes/autoconf.el (autoconf-definition-regexp)
11184 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11185 Handle a _ with symbol syntax.
11186 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11187
c9990474
SM
11188 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11189 Consolidate declaration.
1d5963cc
SM
11190 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11191 the declaration.
11192 (ada-create-syntax-table): Remove.
11193 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11194 already has the right syntax nowadays.
11195 (ada-goto-next-word): Don't change the syntax of "_".
11196
11197 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11198 with-wrapper-hook.
11199
72d3cfca
SS
112002013-05-08 Sam Steingold <sds@gnu.org>
11201
11202 * thingatpt.el (thing-at-point): Accept optional second argument
11203 NO-PROPERTIES to strip the text properties from the return value.
11204 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11205 to `thing-at-point' instead of stripping the properties ourselves.
11206 Also, when `thing-at-point' fails to find a url, prepend "http://"
11207 to the filename at point on the assumption that the user is
11208 pointing at something like gnu.org/gnu.
11209
5cb15713
JB
112102013-05-08 Juanma Barranquero <lekktu@gmail.com>
11211
11212 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11213 * faces.el (crm-separator):
11214 Silence byte-compiler.
11215
11216 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11217 (tool-bar-map): Remove unneeded defvars.
11218
ea78b95b
LL
112192013-05-08 Leo Liu <sdl.web@gmail.com>
11220
11221 Re-work a fix for bug#10994 based on Le Wang's patch.
11222 * ido.el (ido-remove-consecutive-dups): New helper.
11223 (ido-completing-read): Use it.
11224 (ido-chop): Revert fix for bug#10994.
11225
dc7466df
AS
112262013-05-08 Adam Spiers <emacs@adamspiers.org>
11227
11228 * cus-edit.el (custom-save-variables):
11229 Pretty-print long values. (Bug#14187)
11230
9ecf672a
GM
112312013-05-08 Glenn Morris <rgm@gnu.org>
11232
11233 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11234 (m4-mode-syntax-table): Init in the defvar.
11235 (m4-mode-abbrev-table): Let define-derived-mode define it.
11236
3f555be8
TT
112372013-05-08 Tom Tromey <tromey@redhat.com>
11238
11239 * progmodes/m4-mode.el (m4-mode-syntax-table):
11240 Do not treat "_" as word constituent. (Bug#14167)
11241
7cc8ae06
GM
112422013-05-07 Glenn Morris <rgm@gnu.org>
11243
4f58bc06
GM
11244 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11245 Remove explicit eshell-isearch-cancel-map.
11246
7cc8ae06
GM
11247 * progmodes/f90.el (f90-smart-end-names): New option.
11248 (f90-smart-end): Doc fix.
11249 (f90-end-block-optional-name): New constant.
11250 (f90-block-match): Respect f90-smart-end-names.
11251
ceb57e59
SM
112522013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11253
11254 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11255 about implicit semi-colons (bug#14218).
11256
4e3f9230
YM
112572013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11258
11259 * frame.el (display-monitor-attributes-list)
11260 (frame-monitor-attributes): New functions.
11261
203a5572
LL
112622013-05-06 Leo Liu <sdl.web@gmail.com>
11263
11264 * progmodes/octave.el (octave-syntax-propertize-function): Change
11265 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11266 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 11267 (octave-completion-at-point): Rename from
203a5572
LL
11268 octave-completion-at-point-function.
11269 (inferior-octave-directory-tracker): Robustify.
11270 (octave-text-functions): Remove and fix its uses. No such things
11271 any more.
11272
ee6cff99
SM
112732013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11274
11275 * emacs-lisp/trace.el (trace--display-buffer): New function.
11276 (trace-make-advice): Use it.
11277
32985194
JL
112782013-05-06 Juri Linkov <juri@jurta.org>
11279
11280 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11281 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11282 Doc fix.
11283 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11284 in the help string. (Bug#12985)
11285
a1c700de
KD
112862013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11287
11288 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11289
c67c0839
SM
112902013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11291
323885fd
SM
11292 * progmodes/perl-mode.el: Add support for here documents.
11293 (perl-syntax-propertize-function): Match here-doc markers.
11294 (perl-syntax-propertize-special-constructs): Find their end.
11295 (perl-imenu-generic-expression): Use [:alnum:].
11296
c67c0839
SM
11297 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11298 (advice--add-function): Refresh the advice if already present
11299 (bug#14317).
11300
d491e7a8
IA
113012013-05-06 Ivan Andrus <darthandrus@gmail.com>
11302
11303 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11304
ddf9925e
GM
113052013-05-06 Glenn Morris <rgm@gnu.org>
11306
7cc3af27
GM
11307 * w32-fns.el (w32-charset-info-alist): Declare.
11308
16e343d6
GM
11309 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11310 of its defcustom properties.
11311 (eshell-cmpl-initialize): No need to load pcomplete.
11312
7d889a47
GM
11313 * generic-x.el: No need to require comint when compiling.
11314
ddf9925e
GM
11315 * net/eudc-export.el: Make it loadable without bbdb.
11316 (top-level): Use require rather than load-library.
11317 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11318 (eudc-batch-export-records-to-bbdb)
11319 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11320 Require bbdb.
11321
1e2c18df
SM
113222013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11323
11324 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11325 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11326 some tweaks, instead.
11327
02502a5f
LL
113282013-05-05 Leo Liu <sdl.web@gmail.com>
11329
11330 * progmodes/octave.el (octave-font-lock-keywords)
11331 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11332 (inferior-octave-send-list-and-digest): Improve error message.
11333 (octave-mode, inferior-octave-mode): Use setq-local.
11334 (octave-help): Set info-lookup-mode.
11335
0dc04f42
RS
113362013-05-05 Richard Stallman <rms@gnu.org>
11337
6c54491c
RS
11338 * vc/compare-w.el (compare-windows-whitespace):
11339 Treat no-break space as whitespace.
11340
0dc04f42
RS
11341 * mail/rmailsum.el (rmail-summary-rmail-update):
11342 Detect empty summary and don't change selected message.
11343 (rmail-summary-goto-msg): Likewise.
11344
df8f35df
RS
11345 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11346 Doc fixes, rename args.
11347
5356e1a3
AM
113482013-05-05 Alan Mackenzie <acm@muc.de>
11349
11350 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11351
d44014cb
JL
113522013-05-05 Juri Linkov <juri@jurta.org>
11353
11354 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11355 to not add the length of the summary segment to the return value.
11356 (Bug#14125)
11357
c129b51f
LL
113582013-05-05 Leo Liu <sdl.web@gmail.com>
11359
11360 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11361 (inferior-octave-output-filter): Remove.
11362 (octave-send-region, inferior-octave-startup): Fix callers.
11363 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11364 (octave-binary-file-extensions): New user variable.
11365 (octave-find-definition): Confirm if opening binary files.
11366 (octave-help-file): Use octave-find-definition to get the binary
11367 confirmation.
11368 (octave-help): Adjust for octave-help-file change.
11369
aa7dab97
SM
113702013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11371
11372 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11373 Merge the two entries that handle function definitions.
11374 (pascal--syntax-propertize): New const.
11375 (pascal-mode): Use it. Use setq-local.
11376
fd3a9a6b
GM
113772013-05-04 Glenn Morris <rgm@gnu.org>
11378
11379 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11380 (diary-from-outlook): Respect diary-from-outlook-function.
11381
30c7e542
SM
113822013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11383
11384 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11385 Move the declaration from C.
11386 (read-minibuffer, eval-minibuffer): Move from C.
11387 (completion-setup-function): Avoid minibuffer-completion-contents.
11388
b54f978b
LL
113892013-05-03 Leo Liu <sdl.web@gmail.com>
11390
11391 * progmodes/octave.el (octave-font-lock-keywords): Do not
11392 dehighlight 'end' in comments or strings.
30c7e542
SM
11393 (octave-completing-read, octave-goto-function-definition):
11394 New helpers.
d4d0f9b3
LL
11395 (octave-help-buffer): New user variable.
11396 (octave-help-file, octave-help-function): New button types.
11397 (octave-help): New command and bind it to C-h ;.
11398 (octave-find-definition): New command and bind it to M-.
d74a1581 11399 (user-error): Alias to error if not defined.
b54f978b 11400
27135018
LL
114012013-05-02 Leo Liu <sdl.web@gmail.com>
11402
11403 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11404 for \. (bug#14332)
11405 (octave-font-lock-keywords): Include [ and {.
11406
0d634d3a
LL
114072013-05-02 Leo Liu <sdl.web@gmail.com>
11408
11409 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11410 (inferior-octave): Remove calling comint-mode and return the buffer.
11411 (inferior-octave-startup): Cosmetic changes.
11412
b4c8295e
LL
114132013-05-02 Leo Liu <sdl.web@gmail.com>
11414
30c7e542
SM
11415 * progmodes/octave.el (octave-syntax-propertize-function):
11416 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 11417
f12ad6ec
GM
114182013-05-02 Glenn Morris <rgm@gnu.org>
11419
11420 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11421 * desktop.el (vc-dir-mode): Just autoload it here.
11422
30cac1e0
AM
114232013-05-02 Alan Mackenzie <acm@muc.de>
11424
11425 Eliminate variable c-standard-font-lock-fontify-region-function.
11426 * progmodes/cc-mode.el
11427 (c-standard-font-lock-fontify-region-function): Remove.
11428 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11429
d8ef28b1
LL
114302013-05-01 Leo Liu <sdl.web@gmail.com>
11431
2640d52e 11432 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 11433 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 11434 variables were removed from Octave in 2007.
d8ef28b1
LL
11435 (inferior-octave-startup): Fix uses.
11436 (comint-line-beginning-position): Remove compatibility code for
11437 emacs 21.
11438
ac63ec89
JL
114392013-05-01 Juri Linkov <juri@jurta.org>
11440
11441 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11442
9e9be37c
JL
114432013-05-01 Juri Linkov <juri@jurta.org>
11444
11445 * comint.el (comint-previous-matching-input): Don't print message
11446 "History item: %d" when `isearch-mode' is active.
11447 (comint-history-isearch-message): Print message "History item: %d"
11448 when `comint-input-ring-index' is not empty and this function is
11449 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11450
9b92c13b
LL
114512013-05-01 Leo Liu <sdl.web@gmail.com>
11452
11453 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11454 definitions. Use completion-at-point to insert keywords.
11455 (octave-abbrev-start): Remove.
11456 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11457
b12d33d7
LL
114582013-04-30 Leo Liu <sdl.web@gmail.com>
11459
11460 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11461 change.
11462
3d1c39fa
AM
114632013-04-30 Alan Mackenzie <acm@muc.de>
11464
11465 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
11466 * progmodes/cc-engine.el (c-back-over-member-initializers):
11467 new function.
3d1c39fa
AM
11468 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11469 (most) member init lists.
11470
5147fc17
RS
114712013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11472
11473 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11474 variable.
11475
5b78d7fc
LL
114762013-04-30 Leo Liu <sdl.web@gmail.com>
11477
11478 * progmodes/octave.el (octave-variables): Remove. No builtin
11479 variables any more. All converted to functions.
11480 (octave-font-lock-keywords, octave-completion-at-point-function):
11481 Fix uses.
11482 (octave-font-lock-texinfo-comment): New user variable.
11483 (octave-texinfo-font-lock-keywords): New variable for texinfo
11484 comment block.
11485 (octave-function-comment-block): New face.
11486 (octave-font-lock-texinfo-comment): New function.
11487 (octave-mode): Font lock texinfo comment block.
11488
38d8527b
LL
114892013-04-29 Leo Liu <sdl.web@gmail.com>
11490
11491 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11492 indexing expression.
11493 (octave-continuation-string): Do not use \.
11494 (inferior-octave-complete-impossible): Remove.
11495 (inferior-octave-completion-table)
11496 (inferior-octave-completion-at-point): Remove its uses.
11497 (inferior-octave-startup): completion_matches was introduced to
11498 Octave in 1996 so safe to assume it.
11499 (octave-function-file-comment): Improve to follow how Octave does it.
11500 (octave-update-function-file-comment): Tweak.
11501
2ec12cb0
LL
115022013-04-29 Leo Liu <sdl.web@gmail.com>
11503
11504 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11505 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11506 (octave-function-file-comment): Fix typo.
11507 (octave-sync-function-file-names): Use read-char-choice.
11508
6eaed048
JB
115092013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11510
11511 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11512 to t for the less important warnings.
11513
3ffa2d4f
DH
115142013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11515
11516 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11517
685c9501
GM
115182013-04-27 Glenn Morris <rgm@gnu.org>
11519
11520 * vc/log-view.el (log-view-current-entry):
11521 Treat "---" separator lines as part of the following rev. (Bug#14169)
11522
0208ede7
JL
115232013-04-27 Juri Linkov <juri@jurta.org>
11524
11525 * subr.el (read-number): Doc fix about using it by interactive
11526 code letter `n'. (Bug#14254)
11527
5db9dace
JL
115282013-04-27 Juri Linkov <juri@jurta.org>
11529
11530 * desktop.el (desktop-auto-save-timeout): New option.
11531 (desktop-file-checksum): New variable.
11532 (desktop-save): Add optional arg `auto-save' and don't auto-save
11533 if nothing changed.
11534 (desktop-auto-save-timer): New variable.
11535 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11536 (after-init-hook): Call `desktop-auto-save-set-timer'.
11537 Suggested by Reuben Thomas <rrt@sc3d.org> in
11538 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11539
b7260dd4
LL
115402013-04-27 Leo Liu <sdl.web@gmail.com>
11541
11542 * progmodes/octave.el (octave-function-file-p)
11543 (octave-skip-comment-forward, octave-function-file-comment)
11544 (octave-update-function-file-comment): New functions.
11545 (octave-mode-map): Bind C-c ; to
11546 octave-update-function-file-comment.
11547 (octave-mode-menu): Add octave-update-function-file-comment.
11548 (octave-mode, inferior-octave-mode): Fix doc-string.
11549 (octave-insert-defun): Conform to Octave's coding convention.
11550 (Bug#14285)
11551
11552 * files.el (basic-save-buffer): Don't let errors in
11553 before-save-hook prevent saving buffer.
11554
c46da669
RW
115552013-04-20 Roland Winkler <winkler@gnu.org>
11556
11557 * faces.el (read-face-name): Use completing-read if arg multiple
11558 is nil.
11559
a81ee1eb
IL
115602013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11561
11562 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
11563 displayed, move point to after the totals line.
11564 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
11565 for the details.
11566
4fac34ce
SM
115672013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11568
11569 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11570 Add current dir to the load-path.
11571 (package-generate-autoloads): Don't rely on
11572 autoload-ensure-default-file.
11573
f6bfc063
RT
115742013-04-26 Reuben Thomas <rrt@sc3d.org>
11575
d40ab5cf
BG
11576 * textmodes/remember.el (remember-store-in-files): Document that
11577 the file name format is passed to `format-time-string'.
f6bfc063 11578
e55d3b04
LL
115792013-04-26 Leo Liu <sdl.web@gmail.com>
11580
11581 * progmodes/octave.el (octave-sync-function-file-names): New function.
11582 (octave-mode): Use it in before-save-hook.
11583
e53052d3
SM
115842013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11585
140ef50c
SM
11586 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11587 (bug#14274).
11588
e53052d3
SM
11589 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11590 \n and comment, even if it's not an implicit ; (bug#14218).
11591
af80458d 115922013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
11593
11594 * subr.el (read-number): Once more use `read' rather than
11595 `string-to-number', to trap non-numeric input. (Bug#14254)
11596
af80458d 115972013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
11598
11599 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11600 Use `syntax-multiline' text property consistently instead of
8a621d53 11601 `font-lock-multiline'. (Bug#14237)
70203c2e 11602
e6ea1f6c
GM
116032013-04-26 Glenn Morris <rgm@gnu.org>
11604
11605 * emacs-lisp/shadow.el (list-load-path-shadows):
11606 No longer necessary to check for duplicate simple.el, since
11607 2012-07-07 change to init_lread to not include installation lisp
11608 directories in load-path when running uninstalled. (Bug#14270)
11609
070ccca4
LL
116102013-04-26 Leo Liu <sdl.web@gmail.com>
11611
11612 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11613 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 11614 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
11615 octave-in-string-or-comment-p.
11616 (octave-in-comment-p, octave-in-string-p)
11617 (octave-in-string-or-comment-p): Replace defsubst with defun.
11618
9d1c5fb6
PE
116192013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11620
11621 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11622
c034abda
BG
116232013-04-25 Bastien Guerry <bzg@gnu.org>
11624
11625 * textmodes/remember.el (remember-data-directory)
11626 (remember-directory-file-name-format): Fix custom types.
11627
584ea277
LL
116282013-04-25 Leo Liu <sdl.web@gmail.com>
11629
e53052d3
SM
11630 * progmodes/octave.el (octave-completion-at-point-function):
11631 Make use of inferior octave process.
584ea277
LL
11632 (octave-initialize-completions): Remove.
11633 (inferior-octave-completion-table): New function.
11634 (inferior-octave-completion-at-point): Use it.
11635 (octave-completion-alist): Remove.
11636
1693b06a
SM
116372013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11638
11639 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11640 (opascal-mode-syntax-table): New var.
11641 (opascal-literal-kind, opascal-is-literal-end)
11642 (opascal-literal-token-at): Rewrite.
11643 (opascal--literal-start-re, opascal-font-lock-keywords)
11644 (opascal--syntax-propertize): New constants.
11645 (opascal-font-lock-defaults): Adjust.
11646 (opascal-mode): Use them. Set comment-<foo> variables as well.
11647 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11648 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11649 (delphi-other-face, opascal-other-face): Remove face variables.
11650 (opascal-save-state): Remove macro.
11651 (opascal-fontifying-progress-step): Remove constant.
11652 (opascal--ignore-changes): Remove var.
11653 (opascal-set-token-property, opascal-parse-next-literal)
11654 (opascal-is-stable-literal, opascal-complete-literal)
11655 (opascal-is-literal-start, opascal-face-of)
11656 (opascal-parse-region, opascal-parse-region-until-stable)
11657 (opascal-fontify-region, opascal-after-change)
11658 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11659 (opascal-debug-parse-region, opascal-debug-parse-window)
11660 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11661 (opascal-debug-fontify-buffer): Remove.
11662 (opascal-debug-mode-map): Adjust accordingly.
11663
be64c05d
LL
116642013-04-25 Leo Liu <sdl.web@gmail.com>
11665
11666 Merge octave-mod.el and octave-inf.el into octave.el with some
11667 cleanups.
11668 * progmodes/octave.el: New file renamed from octave-mod.el.
11669 * progmodes/octave-inf.el: Merged into octave.el.
11670 * progmodes/octave-mod.el: Renamed to octave.el.
11671
d79d37bd
TH
116722013-04-25 Tassilo Horn <tsdh@gnu.org>
11673
11674 * textmodes/reftex-vars.el
11675 (reftex-label-ignored-macros-and-environments): New defcustom.
11676
11677 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11678
ced3fc5d
SM
116792013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11680
11681 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11682 (smie-indent-keyword): Improve the check to ensure that the next
11683 comment is really on the same line.
11684 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11685
11686 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11687 semi-colons if the line is not otherwise empty (bug#14218).
11688
1c141dad
GM
116892013-04-25 Glenn Morris <rgm@gnu.org>
11690
11691 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11692
5058062a
SM
116932013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11694
11695 * progmodes/opascal.el (opascal-set-token-property): Rename from
11696 opascal-set-text-properties and only set `token' (bug#14134).
11697 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11698 (opascal-literal-text-properties): Remove.
11699 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11700 Adjust callers.
11701
5db9dace 117022013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
11703
11704 * textmodes/remember.el (remember-handler-functions): Add an
11705 option for a new handler `remember-store-in-files'.
11706 (remember-data-directory, remember-directory-file-name-format):
11707 New options.
11708 (remember-store-in-files): New function to store remember notes
11709 as separate files within a directory.
11710
4391916c
MH
117112013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11712
11713 * progmodes/compile.el (compilation-next-error-function):
11714 Pass "formats" to compilation-find-file (bug#11777).
11715
bb7cdf58
GM
117162013-04-24 Glenn Morris <rgm@gnu.org>
11717
3b8fe752 11718 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
11719 * vc/vc-hg.el (vc-hg-print-log):
11720 * vc/vc-svn.el (vc-svn-print-log):
11721 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11722
bb7cdf58
GM
11723 * vc/vc-bzr.el (vc-bzr-print-log):
11724 * vc/vc-cvs.el (vc-cvs-print-log):
11725 * vc/vc-git.el (vc-git-print-log):
11726 * vc/vc-hg.el (vc-hg-print-log):
11727 * vc/vc-mtn.el (vc-mtn-print-log):
11728 * vc/vc-rcs.el (vc-rcs-print-log):
11729 * vc/vc-sccs.el (vc-sccs-print-log):
11730 * vc/vc-svn.el (vc-svn-print-log):
11731 * vc/vc.el (vc-print-log-internal): Doc fixes.
11732
b46a056e
GM
117332013-04-23 Glenn Morris <rgm@gnu.org>
11734
11735 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11736 Remove venerable code attempting to avoid substitute-command-keys.
11737
0aecf718
TH
117382013-04-23 Tassilo Horn <tsdh@gnu.org>
11739
4391916c
MH
11740 * textmodes/reftex-vars.el (reftex-label-regexps):
11741 Call `reftex-compile-variables' after changes to this variable.
0aecf718 11742
117f94cf
SM
117432013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11744
4391916c 11745 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
11746 Use lexical-binding.
11747 (jit-lock-force-redisplay): Use markers, check buffer's continued
11748 existence and beware narrowed buffers.
11749 (jit-lock-fontify-now): Adjust call accordingly.
11750
1d829c64
SM
117512013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11752
11753 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11754 to avoid misleading the user.
11755
72d548a9
LL
117562013-04-22 Leo Liu <sdl.web@gmail.com>
11757
11758 * info-look.el: Prefer latex2e.info. (Bug#14240)
11759
d0853629
MA
117602013-04-22 Michael Albinus <michael.albinus@gmx.de>
11761
11762 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11763
11764 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 11765 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
11766 (tramp-set-completion-function, tramp-parse-putty):
11767 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11768 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11769 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11770 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11771 (tramp-call-local-coding-command): Use `tramp-call-process'
11772 instead of `tramp-compat-call-process'.
11773
11774 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11775 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11776 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 11777 (tramp-find-inline-compress): Improve traces.
d0853629
MA
11778 (tramp-maybe-send-script): Check for Perl binary.
11779 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11780
38cc0210
DU
117812013-04-22 Daiki Ueno <ueno@gnu.org>
11782
11783 * epg.el (epg-context-pinentry-mode): New function.
11784 (epg-context-set-pinentry-mode): New function.
11785 (epg--start): Pass --pinentry-mode option to gpg command.
11786
cc641ee1
XF
117872013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11788
02d844b5 11789 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 11790 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 11791 `completion-at-point'. (Bug#13774)
5d4e5c31 11792
cc641ee1
XF
11793 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11794 default key binding for `describe-distribution' has been moved to
11795 `C-h C-o'. (Bug#13970)
11796
1b42ee43
GM
117972013-04-21 Glenn Morris <rgm@gnu.org>
11798
11799 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11800 Add doc strings.
11801 (vc-print-log): Clarify interactive prompt.
11802
a6d63d97
GM
118032013-04-20 Glenn Morris <rgm@gnu.org>
11804
11805 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11806 No longer include timestamp etc information.
11807
d7f5c16f
RW
118082013-04-20 Roland Winkler <winkler@gnu.org>
11809
11810 * faces.el (read-face-name): Bug fix, return just one face if arg
11811 multiple is nil. (Bug#14209)
11812
bcd7a0a4
SM
118132013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11814
11815 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11816 (remove-function): Autoload.
11817
11818 * comint.el (comint-redirect-original-filter-function): Remove.
11819 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
11820 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11821 (vc-cvs-annotate-command):
bcd7a0a4
SM
11822 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11823 * progmodes/prolog.el (prolog-consult-compile):
11824 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11825 Use add/remove-function instead.
11826 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11827 (gud-tooltip-process-output, gud-tooltip-tips):
11828 Use add/remove-function instead.
11829 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11830 (scheme-interaction-mode, exit-scheme-interaction-mode):
11831 Use add/remove-function instead.
11832
11833 * vc/vc-dispatcher.el: Use lexical-binding.
11834 (vc--process-sentinel): Rename from vc-process-sentinel.
11835 Change last arg to be the code to run. Don't use vc-previous-sentinel
11836 and vc-sentinel-commands any more.
11837 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11838 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11839
e36b2d20 118402013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 11841
bcd7a0a4 11842 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 11843 Handle function names with a single character. (Bug#14111)
4d3268ba 11844
781b4af6 118452013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
11846
11847 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11848 for subroutines defined in an eval (bug#14182).
11849
7d688336
TV
118502013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11851
11852 * bookmark.el (bookmark-completing-read): Improve handling of empty
11853 string (bug#14176).
11854
31dcede0
SM
118552013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11856
11857 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11858
adc31213
FEG
118592013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11860
11861 New faster Imenu implementation (bug#14058).
11862 * progmodes/python.el:
11863 (python-imenu-prev-index-position):
11864 (python-imenu-format-item-label-function)
11865 (python-imenu-format-parent-item-label-function)
11866 (python-imenu-format-parent-item-jump-label-function):
11867 New vars.
11868 (python-imenu-format-item-label)
11869 (python-imenu-format-parent-item-label)
11870 (python-imenu-format-parent-item-jump-label)
11871 (python-imenu--put-parent, python-imenu--build-tree)
11872 (python-imenu-create-index, python-imenu-create-flat-index)
11873 (python-util-popn): New functions.
11874 (python-mode): Set imenu-create-index-function to
11875 python-imenu-create-index.
11876
cdca8255
SM
118772013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11878
11879 * winner.el (winner-active-region): Use region-active-p, activate-mark
11880 and deactivate-mark (bug#14225).
11881
11882 * simple.el (deactivate-mark): Don't inline it.
11883
beb42340
MA
118842013-04-18 Michael Albinus <michael.albinus@gmx.de>
11885
11886 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11887
fc7f4d7e
TH
118882013-04-18 Tassilo Horn <tsdh@gnu.org>
11889
11890 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11891 file extensions from the archive-mode entry in order to prefer
11892 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11893
29f47822
LL
118942013-04-18 Leo Liu <sdl.web@gmail.com>
11895
11896 * bindings.el (help-event-list): Add ?\?.
11897
d36ed1c8
SM
118982013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11899
11900 * subr.el (with-wrapper-hook): Declare obsolete.
11901 * simple.el (filter-buffer-substring-function): New hook.
11902 (filter-buffer-substring): Use it.
11903 (filter-buffer-substring-functions): Mark obsolete.
11904 * minibuffer.el (completion-in-region-function): New hook.
11905 (completion-in-region): Use it.
11906 (completion-in-region-functions): Mark obsolete.
11907 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11908 * abbrev.el (abbrev-expand-function): New hook.
11909 (expand-abbrev): Use it.
11910 (abbrev-expand-functions): Mark obsolete.
11911 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11912 and :filter-return.
11913
04754d36
FEG
119142013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11915
11916 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11917 and do not care about match data.
11918
dd8791e9
SM
119192013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11920
11921 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11922 completion tables when completing error conditions and
11923 `declare' arguments.
11924 (lisp-complete-symbol, field-complete): Mark as obsolete.
11925 (check-parens): Unmatched parens are user errors.
11926 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11927
ffe54a13
AM
119282013-04-17 Michal Nazarewicz <mina86@mina86.com>
11929
dd8791e9
SM
11930 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11931 command changed buffer (ie. `flyspell-pre-buffer' is not current
11932 buffer), which prevents making decisions based on invalid value of
11933 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11934 cause an error when `flyspell-pre-point' was nil after switching
11935 buffers.
11936 (flyspell-post-command-hook): No longer needs to change buffers when
11937 checking pre-word. While at it remove unnecessary progn.
ffe54a13 11938
ec7e39f2
AM
119392013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11940
11941 * textmodes/ispell.el (ispell-add-per-file-word-list):
11942 Fix `flyspell-correct-word-before-point' error when accepting
11943 words and `coment-padding' is an integer by using
11944 `comment-normalize-vars' (Bug #14214).
11945
083850a6
FEG
119462013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11947
11948 New defun movement commands.
11949 * progmodes/python.el (python-nav--syntactically)
11950 (python-nav--forward-defun, python-nav-backward-defun)
11951 (python-nav-forward-defun): New functions.
11952
619ed6e1
FEG
119532013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11954
11955 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11956 (python-syntax-context): Use named compiler-macro for backwards
11957 compatibility with Emacs 24.x.
11958
7a1beb6c
LL
119592013-04-17 Leo Liu <sdl.web@gmail.com>
11960
11961 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11962 octave-hide-process-buffer.
11963
2d3fa3e5
SM
119642013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11965
11966 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11967 (bug#14216).
11968
7ce5be54
JPG
119692013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11970
11971 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11972 Fix adjustment of offset when receiving incomplete responses from GDB
11973 (bug#14129).
11974
351edece
SM
119752013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11976
11977 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11978 python-mode-abbrev-table.
11979 (python-skeleton-define): Adjust accordingly.
11980 (python-mode-abbrev-table): New table that inherits from it so that
11981 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11982
11983 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11984 (abbrev-symbol): Use it.
11985 (abbrev--before-point): Use it since we already handle inheritance.
11986
613f9481
LL
119872013-04-16 Leo Liu <sdl.web@gmail.com>
11988
11989 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11990 binding to info-lookup-symbol.
11991
51646b62
JB
119922013-04-16 Juanma Barranquero <lekktu@gmail.com>
11993
11994 * minibuffer.el (completion--twq-all):
11995 * term/ns-win.el (ns-initialize-window-system):
11996 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11997
efb3f01d
SM
119982013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11999
36c0a301
SM
12000 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12001 global bindings.
12002
efb3f01d
SM
12003 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12004
fb549d64
DG
120052013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12006
12007 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12008 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12009 to nil.
12010 (ruby-end-of-defun): Remove the unused arg, change the docstring
12011 to reflect that this function is only used as the value of
12012 `end-of-defun-function'.
12013 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12014 to reflect an earlier change that beginning/end-of-defun functions
12015 jump between methods in a class definition, as well as top-level
12016 functions.
12017
21e8fe2f
SM
120182013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12019
12020 * minibuffer.el (minibuffer-complete): Don't just scroll
12021 a *Completions* that's been iconified.
12022 (minibuffer-force-complete): Make sure repetitions do cycle when going
12023 through completion-in-region -> minibuffer-complete.
12024
20e527d0
AM
120252013-04-15 Alan Mackenzie <acm@muc.de>
12026
12027 Correct the placement of c-cpp-delimiters when there're #s not at
12028 col 0.
12029
12030 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12031 place a submatch around the #.
21e8fe2f
SM
12032 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12033 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
12034 on the #, not BOL.
12035
dabefae5
SM
120362013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12037
12038 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12039 (advice--member-p): New arg `name'.
12040 (advice--add-function, advice-member-p): Use it (bug#14202).
12041
85c9ab64
AM
120422013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12043
12044 Reformulate java imenu-generic-expression.
12045 The old expression contained ill formed regexps.
12046
12047 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12048 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12049 (cc-imenu-java-method-arg-regexp): New defconsts.
12050 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 12051 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
12052 handling of spaces in the regexp.
12053
0f821d99
AM
120542013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12055
12056 * textmodes/ispell.el (ispell-command-loop): Remove
12057 flyspell highlight of a word when ispell accepts it (bug #14178).
12058
eb922adf
MA
120592013-04-15 Michael Albinus <michael.albinus@gmx.de>
12060
12061 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12062 uses code from the previous `ange-ftp-run-real-handler'.
12063 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12064 only in case that function exist. This is needed for proper
12065 unloading of Tramp.
12066
4d9a0979
TH
120672013-04-15 Tassilo Horn <tsdh@gnu.org>
12068
12069 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12070
12071 * textmodes/reftex.el (reftex-compile-variables): Use it.
12072
a829b0dc
SM
120732013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12074
91e8293c
SM
12075 * files.el (normal-mode): Only use default major-mode if no other mode
12076 was specified.
12077
830aed4d
SM
12078 * emacs-lisp/trace.el (trace-values): New function.
12079
a829b0dc
SM
12080 * files.el: Allow : in local variables (bug#14089).
12081 (hack-local-variable-regexp): New var.
12082 (hack-local-variables-prop-line, hack-local-variables): Use it.
12083
7ae9f0fb
RW
120842013-04-13 Roland Winkler <winkler@gnu.org>
12085
12086 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12087 data before it gets modified by bibtex-beginning-of-entry.
12088
6646e848
RW
120892013-04-13 Roland Winkler <winkler@gnu.org>
12090
12091 * textmodes/bibtex.el (bibtex-url): Doc fix.
12092
120932013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
12094
12095 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12096 does not visit a BibTeX file, exclude it from the list of buffers
12097 returned by bibtex-initialize.
12098
0aa3616e
SB
120992013-04-13 Stephen Berman <stephen.berman@gmx.net>
12100
12101 * window.el (split-window): Remove interactive form, since as a
12102 command this function is a special case of split-window-below.
12103 Correct doc string.
12104
011cddd6
RW
121052013-04-12 Roland Winkler <winkler@gnu.org>
12106
12107 * faces.el (read-face-name): Do not override value of arg default.
12108 Allow single faces and strings as default values. Remove those
12109 elements from return value that are not faces.
12110 (describe-face): Simplify.
12111 (face-at-point): New optional args thing and multiple so that this
12112 function can provide the same functionality previously provided by
12113 read-face-name.
12114 (make-face-bold, make-face-unbold, make-face-italic)
12115 (make-face-unitalic, make-face-bold-italic, invert-face)
12116 (modify-face, read-face-and-attribute): Use face-at-point.
12117
12118 * cus-edit.el (customize-face, customize-face-other-window)
12119 * cus-theme.el (custom-theme-add-face)
12120 * face-remap.el (buffer-face-set)
12121 * facemenu.el (facemenu-set-face): Use face-at-point.
12122
f24e0036
MA
121232013-04-12 Michael Albinus <michael.albinus@gmx.de>
12124
12125 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12126
da3cda2d
TH
121272013-04-10 Tassilo Horn <tsdh@gnu.org>
12128
12129 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12130 off leading { and trailing } from field values.
12131
15e54145
SM
121322013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12133
78ce603d
SM
12134 * emacs-lisp/timer.el (timer--check): New function.
12135 (timer--time, timer-set-function, timer-event-handler): Use it.
12136 (timer-set-idle-time): Simplify.
12137 (timer--activate): CSE.
12138 (timer-event-handler): Give more info in error message.
12139 (internal-timer-start-idle): New function, moved from C.
12140
15e54145
SM
12141 * mpc.el (mpc-proc): Add `restart' argument.
12142 (mpc-proc-cmd): Use it.
12143 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12144 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12145 less often.
12146
7144c627
MY
121472013-04-10 Masatake YAMATO <yamato@redhat.com>
12148
12149 * progmodes/sh-script.el: Implement `sh-mode' own
12150 `add-log-current-defun-function' (bug#14112).
12151 (sh-current-defun-name): New function.
12152 (sh-mode): Use the function.
12153
b39792eb
BG
121542013-04-09 Bastien Guerry <bzg@gnu.org>
12155
12156 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12157
8acdeb71
SM
121582013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12159
6fcdab68
SM
12160 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12161
8acdeb71
SM
12162 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12163 timer (bug#14156).
12164
e3e7b504
NF
121652013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12166
12167 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12168 declaration.
12169
201bb296
LL
121702013-04-07 Leo Liu <sdl.web@gmail.com>
12171
12172 * pcmpl-x.el: New file.
12173
ebb19708
DA
121742013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12175
12176 Do not set x-display-name until X connection is established.
12177 This is needed to prevent from weird situation described at
12178 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12179 * frame.el (make-frame): Set x-display-name after call to
12180 window system initialization function, not before.
12181 * term/x-win.el (x-initialize-window-system): Add optional
12182 display argument and use it.
12183 * term/w32-win.el (w32-initialize-window-system):
12184 * term/ns-win.el (ns-initialize-window-system):
12185 * term/pc-win.el (msdos-initialize-window-system):
12186 Add compatible optional display argument.
12187
33bb237a
EZ
121882013-04-06 Eli Zaretskii <eliz@gnu.org>
12189
12190 * files.el (normal-backup-enable-predicate): On MS-Windows and
12191 MS-DOS compare truenames of temporary-file-directory and of the
12192 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12193 don't fail comparison by compare-strings. Also, compare file
12194 names case-insensitively on MS-Windows and MS-DOS.
12195
134abf1f
SM
121962013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12197
12198 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12199 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12200
d695cb94
DG
122012013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12202
e3e7b504
NF
12203 * whitespace.el (whitespace-color-on, whitespace-color-off):
12204 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 12205
f4ad7ea1 122062013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
12207
12208 * ispell.el (ispell-set-spellchecker-params):
12209 Really set `ispell-args' for all equivs.
12210
632556e4
SM
122112013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12212
12213 * ido.el (ido-completions): Use extra elements of ido-decorations
12214 (bug#14143).
12215 (ido-decorations): Update docstring.
12216
2a417372
MA
122172013-04-05 Michael Albinus <michael.albinus@gmx.de>
12218
12219 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12220 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12221 nil during initialization, in order not to miss changes since the
12222 file was opened. (Bug#14140)
12223
fc164b0c
LL
122242013-04-05 Leo Liu <sdl.web@gmail.com>
12225
12226 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12227
0ccecc08
JB
122282013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12229
12230 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12231
51af1aa2
GM
122322013-04-04 Glenn Morris <rgm@gnu.org>
12233
12234 * electric.el (electric-pair-inhibit-predicate): Add :version.
12235
b208ebc6
SM
122362013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12237
12238 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12239 when a package is required several times (bug#14082).
12240
f3d3eaf0
RW
122412013-04-04 Roland Winkler <winkler@gnu.org>
12242
12243 * faces.el (read-face-name): Behave as promised by the docstring.
12244 Assume that arg default is a list of faces.
12245 (describe-face): Call read-face-name with list of default faces.
12246
2575da50
TV
122472013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12248
12249 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12250 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12251 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12252 the header.
12253 (bookmark-exit-hook-internal): Save even if list is empty.
12254
397703b4
YH
122552013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12256
12257 * emacs-lisp/package.el (package-pinned-packages): New var.
12258 (package--add-to-archive-contents): Obey it (bug#14118).
12259
691e26ae
AM
122602013-04-03 Alan Mackenzie <acm@muc.de>
12261
8a621d53
JB
12262 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12263 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
12264
12265 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12266 parameter `not-in-delimiter'. Handle being inside comment opener.
12267 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12268 character in case we're typing a '*' after a '/'.
12269 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12270 instead by passing the parameter to c-state-pp-to-literal.
12271
12272 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12273 for elt. 7 of a parse state.
12274
4b725a70
PE
122752013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12276
12277 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12278 * international/latin1-disp.el, international/mule-util.el:
12279 * language/cyril-util.el, language/european.el, language/ind-util.el:
12280 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12281 * language/tibetan.el, language/viet-util.el:
12282 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12283
15c579f0
SM
122842013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12285
12286 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12287 (electric-pair-post-self-insert-function): Use it.
12288 (electric-pair-default-inhibit): New function, extracted from
12289 electric-pair-post-self-insert-function.
12290
a77e2924
RW
122912013-03-31 Roland Winkler <winkler@gnu.org>
12292
12293 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12294
2bd8a4a8
SM
122952013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12296
12297 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12298
8d3655be 122992013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
12300
12301 Un-indent after "pass" and "return" statements (Bug#13888)
12302 * progmodes/python.el (python-indent-block-enders): New var.
12303 (python-indent-calculate-indentation): Use it.
12304
8d3655be 123052013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
12306
12307 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12308 defun. Defining it as defalias could introduce too eager
12309 byte-compiler optimization. (Bug#14030)
12310
8d3655be 123112013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
12312
12313 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12314
0b1619da
LL
123152013-03-30 Leo Liu <sdl.web@gmail.com>
12316
12317 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12318 (kmacro-execute-from-register): Pass the keyboard macro to
12319 kmacro-call-macro or repeating won't work correctly.
12320
0b938190
TZ
123212013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12322
12323 * progmodes/subword.el: Back to using `forward-symbol'.
12324
12325 * subr.el (forward-whitespace, forward-symbol)
12326 (forward-same-syntax): Move from thingatpt.el.
12327
35710234
LL
123282013-03-29 Leo Liu <sdl.web@gmail.com>
12329
12330 * kmacro.el (kmacro-to-register): New command.
12331 (kmacro-execute-from-register): New function.
12332 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12333
efc0bb73
SM
123342013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12335
12336 * mpc.el: Use defvar-local and setq-local.
12337 (mpc--proc-connect): Connection failures are not bugs.
12338 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12339 (mpc-volume-map): Bind to the up-events.
12340
75a2f981
TZ
123412013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12342
12343 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12344 instead of `forward-symbol'.
12345
17c781d1
SM
123462013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12347
12348 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12349 (edebug--recursive-edit): Use it.
12350 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12351 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12352
f67bfbcf
LL
123532013-03-28 Leo Liu <sdl.web@gmail.com>
12354
12355 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12356
b59f639d
EZ
123572013-03-27 Eli Zaretskii <eliz@gnu.org>
12358
12359 * facemenu.el (list-colors-callback): New defvar.
12360 (list-colors-redisplay): New function.
12361 (list-colors-display): Install list-colors-redisplay as the
12362 revert-buffer-function. (Bug#14063)
12363
f557c1b1
SM
123642013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12365
b1da2957
SM
12366 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12367 and suffixes don't overlap (bug#14061).
12368
f557c1b1
SM
12369 * case-table.el: Use lexical-binding.
12370 (case-table-get-table): New function.
12371 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12372
002668e1
TZ
123732013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12374
12375 * progmodes/subword.el: Add `superword-mode' to do word motion
12376 over symbol_words (parallels and leverages `subword-mode' which
12377 does word motion inside MixedCaseWords).
12378
73572c72
AG
123792013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12380
78b8f320 12381 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 12382 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 12383
69b2c07e
SM
123842013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12385
12386 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12387 Change return value to be a sexp. Delay `get-buffer' to after
12388 restoring the desktop (bug#13951).
12389
08bb5ee2
LL
123902013-03-26 Leo Liu <sdl.web@gmail.com>
12391
12392 * register.el: Move semantic tag handling back to
12393 cedet/semantic/senator.el. (Bug#14052)
12394
8d4c974e
SM
123952013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12396
12397 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12398 into the prompt either (bug#13963).
12399
b234d92c
SM
124002013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12401
12402 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12403 part of "(error-foo)".
12404
ddfa3cb4
JL
124052013-03-24 Juri Linkov <juri@jurta.org>
12406
12407 * replace.el (list-matching-lines-prefix-face): New defcustom.
12408 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12409 `occur-engine' if `face-differs-from-default-p' returns t.
12410 (occur-engine): Add `,' inside backquote construct to evaluate
12411 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12412 Pass `prefix-face' to the functions `occur-context-lines' and
12413 `occur-engine-add-prefix'.
12414 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12415 `prefix-face' and propertize the prefix with `prefix-face'.
12416 (Bug#14017)
12417
7b0e2f85
LL
124182013-03-24 Leo Liu <sdl.web@gmail.com>
12419
12420 * nxml/rng-valid.el (rng-validate-while-idle)
12421 (rng-validate-quick-while-idle): Guard against deleted buffer.
12422 (Bug#13999)
12423
12424 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12425 is the last entry in kill-buffer-hook.
12426
12427 * files.el (kill-buffer-hook): Doc fix.
12428
b3082f49
DG
124292013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12430
b234d92c
SM
12431 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12432 Make it safe-local.
bde73d27 12433
b3082f49
DG
12434 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12435
a320a2db
LL
124362013-03-23 Leo Liu <sdl.web@gmail.com>
12437
7e74b0fb
LL
12438 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12439 Remove.
12440
12441 * nxml/rng-valid.el (rng-validate-mode)
12442 (rng-after-change-function, rng-do-some-validation):
12443 * nxml/rng-maint.el (rng-validate-buffer):
12444 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12445 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12446 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12447 (nxml-extend-after-change-region): Use with-silent-modifications.
12448
a320a2db
LL
12449 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12450 timer-idle-list.
12451
12452 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12453 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12454 timer-idle-list. (Bug#13999)
12455
e38e6780
JL
124562013-03-23 Juri Linkov <juri@jurta.org>
12457
12458 * info.el (info-index-match): New face.
12459 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12460 main pattern and add text properties with the new face to matches
12461 in index entries relative to the beginning of the index entry.
12462 (Bug#14015)
12463
e8cc7880
DE
124642013-03-21 Eric Ludlam <zappo@gnu.org>
12465
39c87140 12466 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
12467 Inhibit read only while inserting objects.
12468
9bb0d822
TZ
124692013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12470
12471 * progmodes/cfengine.el: Update docs to mention
12472 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12473 symbol motion. Remove "_" from the word syntax.
12474
aa703640
TZ
124752013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12476
12477 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12478 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12479
afff09d0
JL
124802013-03-20 Juri Linkov <juri@jurta.org>
12481
12482 * info.el (Info-next-reference-or-link)
12483 (Info-prev-reference-or-link): New functions.
12484 (Info-next-reference, Info-prev-reference): Use them.
12485 (Info-try-follow-nearest-node): Handle footnote navigation.
12486 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12487
9a1ff164
SM
124882013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12489
12490 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12491 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12492
2667d15d
PE
124932013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12494
12495 Suppress unnecessary non-ASCII chatter during build process.
12496 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12497 (batch-skkdic-convert): Suppress most of the chatter.
12498 It's not needed so much now that machines are faster,
12499 and its non-ASCII component was confusing; see Dmitry Gutov in
12500 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12501
438b0579
LL
125022013-03-20 Leo Liu <sdl.web@gmail.com>
12503
12504 * ido.el (ido-chop): Fix bug#10994.
12505
c128ab07
DG
125062013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12507
12508 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12509 Remove vars.
9a1ff164
SM
12510 (whitespace-color-on, whitespace-color-off):
12511 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 12512
0e6008c5
SM
125132013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12514
12515 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12516 remapping in mode-line.
12517 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12518
627b52b0
DG
125192013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12520
12521 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12522 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
12523 (whitespace-font-lock-keywords): Change description.
12524 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12525 the constructed keywords instead.
12526 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 12527
50c3a20b
LL
125282013-03-19 Leo Liu <sdl.web@gmail.com>
12529
12530 * progmodes/compile.el (compilation-display-error): New command.
12531 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12532 C-o. (Bug#13992)
12533
2aa2157b
PE
125342013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12535
12536 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12537
e477dbfa
JD
125382013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12539
12540 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12541
64ab82d1
MA
125422013-03-18 Michael Albinus <michael.albinus@gmx.de>
12543
12544 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12545
12546 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12547 * net/tramp-gvfs.el (top):
12548 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12549 (tramp-handle-shell-command): Use it.
12550 (tramp-dissect-file-name): Raise an error when hostname is a
12551 method name, and neither method nor user is specified.
12552
12553 * net/trampver.el: Update release number.
12554
33cef733
LL
125552013-03-18 Leo Liu <sdl.web@gmail.com>
12556
12557 Make sure eldoc can be turned off properly.
12558 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12559 eldoc-mode.
12560 (eldoc-display-message-p): Revert last change.
12561 (eldoc-display-message-no-interference-p)
12562 (eldoc-print-current-symbol-info): Tweak.
12563
2167b7b2
TH
125642013-03-18 Tassilo Horn <tsdh@gnu.org>
12565
12566 * doc-view.el (doc-view-new-window-function): Check the new window
12567 overlay's display property instead the char property of the
12568 buffer's first char. Use `with-selected-window' instead of
12569 `save-window-excursion' with `select-window'.
12570 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 12571 display property instead the char property of the buffer's first char.
2167b7b2 12572
982efbcd
PE
125732013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12574
12575 Automate the build of ja-dic.el (Bug#13984).
12576 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12577 from the input, rather than assume that it's been done for us by the
12578 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12579 the current date into a ja-dic.el comment, as that complicates
12580 regression testing.
12581
2fcc7665
SM
125822013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12583
12584 * whitespace.el: Fix double evaluation.
12585 (whitespace-space, whitespace-hspace, whitespace-tab)
12586 (whitespace-newline, whitespace-trailing, whitespace-line)
12587 (whitespace-space-before-tab, whitespace-indentation)
12588 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12589 obsolete defvars.
12590 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12591 (whitespace-color-on): Use a single font-lock-add-keywords call.
12592 Fix double-evaluation of face variables.
12593
67c0a6e6
MA
125942013-03-17 Michael Albinus <michael.albinus@gmx.de>
12595
2fcc7665
SM
12596 * net/tramp-adb.el (tramp-adb-parse-device-names):
12597 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 12598 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 12599
69489f1d
LL
126002013-03-17 Leo Liu <sdl.web@gmail.com>
12601
12602 Extend eldoc to display info in the mode-line. (Bug#13978)
12603 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12604 (eldoc-mode-line-string): New variable.
12605 (eldoc-minibuffer-message): New function.
12606 (eldoc-message-function): New variable.
12607 (eldoc-message): Use it.
12608 (eldoc-display-message-p)
2fcc7665
SM
12609 (eldoc-display-message-no-interference-p):
12610 Support eldoc-post-insert-mode.
69489f1d
LL
12611
12612 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12613 (eval-expression): Run it.
12614
9c44569e
RW
126152013-03-17 Roland Winkler <winkler@gnu.org>
12616
12617 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12618 strings in the list of return values.
12619
327f1f6f
JB
126202013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12621
12622 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12623 radix before checking for HMS forms.
12624
67ed8fcd
LL
126252013-03-16 Leo Liu <sdl.web@gmail.com>
12626
12627 * progmodes/scheme.el: Add indentation and font-locking for λ.
12628 (Bug#13975)
12629
78be8b64 126302013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
12631
12632 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12633 token before point (bug#13942).
12634
78be8b64 126352013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 12636
95b43468 12637 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 12638
98e775e6
EZ
126392013-03-16 Eli Zaretskii <eliz@gnu.org>
12640
12641 * startup.el (command-line-normalize-file-name): Fix handling of
12642 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12643 <xfq.free@gmail.com> in
12644 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12645
2edd6029
MA
126462013-03-15 Michael Albinus <michael.albinus@gmx.de>
12647
12648 Sync with Tramp 2.2.7.
12649
12650 * net/trampver.el: Update release number.
12651
d35f5864
TH
126522013-03-14 Tassilo Horn <tsdh@gnu.org>
12653
e903c210 12654 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
12655 (doc-view-insert-image): Don't modify overlay associated to
12656 non-live windows, and implement horizontal centering of image in
12657 case it's smaller than the window.
12658 (doc-view-new-window-function): Force redisplay of new windows on
12659 doc-view buffers.
d35f5864 12660
1c4a85ed
KF
126612013-03-13 Karl Fogel <kfogel@red-bean.com>
12662
12663 * saveplace.el (save-place-alist-to-file): Don't sort
12664 `save-place-alist', just pretty-print it (bug#13882).
12665
85b66a21
MA
126662013-03-13 Michael Albinus <michael.albinus@gmx.de>
12667
a020afb9
JB
12668 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12669 Check whether `default-file-name-coding-system' is bound.
12670 It isn't in XEmacs.
85b66a21 12671
175600da
SM
126722013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12673
e7f7cb1a
SM
12674 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12675 backquotes for `obsolete' (bug#13929).
12676
175600da
SM
12677 * international/mule.el (find-auto-coding): Include file name in
12678 obsolescence warning (bug#13922).
12679
ca68a22e
TZ
126802013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12681
12682 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12683 for CFEngine 3-specific indentation.
12684 (cfengine3-indent-line): Use it. Fix up category regex.
12685 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12686
940e5099
SM
126872013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12688
12689 * type-break.el (type-break-file-name):
12690 * textmodes/remember.el (remember-data-file):
12691 * strokes.el (strokes-file):
12692 * shadowfile.el (shadow-initialize):
12693 * saveplace.el (save-place-file):
12694 * ps-bdf.el (bdf-cache-file):
12695 * progmodes/idlwave.el (idlwave-config-directory):
12696 * net/quickurl.el (quickurl-url-file):
12697 * international/kkc.el (kkc-init-file-name):
12698 * ido.el (ido-save-directory-list-file):
12699 * emulation/viper.el (viper-custom-file-name):
12700 * emulation/vip.el (vip-startup-file):
12701 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12702 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12703
cc725808
PE
127042013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12705
12706 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12707 * language/thai-word.el: Switch to UTF-8.
12708
a020afb9 12709See ChangeLog.16 for earlier changes.
e3d51b27
MR
12710
12711;; Local Variables:
12712;; coding: utf-8
e3d51b27
MR
12713;; End:
12714
ba318903 12715 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
12716
12717 This file is part of GNU Emacs.
12718
12719 GNU Emacs is free software: you can redistribute it and/or modify
12720 it under the terms of the GNU General Public License as published by
12721 the Free Software Foundation, either version 3 of the License, or
12722 (at your option) any later version.
12723
12724 GNU Emacs is distributed in the hope that it will be useful,
12725 but WITHOUT ANY WARRANTY; without even the implied warranty of
12726 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12727 GNU General Public License for more details.
12728
12729 You should have received a copy of the GNU General Public License
12730 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.