Make shr-generic into a defsusbt to make the stack shallower
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
dba6e3ec
LI
12014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
2
3 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4 depth shallower (bug#16587).
5
e2a67bd0
DG
62014-01-31 Dmitry Gutov <dgutov@yandex.ru>
7
8 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
9 (ruby-smie-grammar): Make "." right-associative. Make its priority
10 lower than the ternary and all binary operators.
11 (ruby-smie-rules): Indent "(" relative to the first non-"."
12 parent, or the first "." parent at indentation. Use
13 `ruby-align-chained-calls' for indentation of "." tokens.
14 (Bug#16593)
15
bd21bf41
JL
162014-01-31 Juri Linkov <juri@jurta.org>
17
18 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
19 from `make-hash-table'.
20
21 * textmodes/ispell.el (ispell-init-process): Change message format
22 to be consistent with other messages.
23
b7e615b9
GM
242014-01-31 Glenn Morris <rgm@gnu.org>
25
a69ecd19
GM
26 * delsel.el (delete-selection-mode): Doc fix.
27
9997d7e3
GM
28 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
29 (trace-function-background): Doc fixes.
30
fbb764b8
GM
31 * ido.el (ido-use-virtual-buffers): Doc fix.
32 Reset :version, since the default value has not changed.
33
da942af1
GM
34 * register.el (register-preview-delay, register-read-with-preview):
35 Doc fixes.
36
b7e615b9
GM
37 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
38 do not mess with mail-buffer position (fixes 2009-11-03 change).
39 * progmodes/cc-mode.el (c-submit-bug-report):
40 Check auto-fill-mode is bound. (Bug#16592)
41
0a25002d
DH
422014-01-31 Darren Hoo <darren.hoo@gmail.com>
43
44 * startup.el (fancy-splash-image-file): New function,
45 split from fancy-splash-head.
46 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
47 so that we are both using the same image. (Bug#16574)
48
ad78f432
GM
492014-01-30 Glenn Morris <rgm@gnu.org>
50
6bbc0c84
GM
51 * simple.el (eval-expression): Doc fix.
52
ad78f432
GM
53 * hexl.el (hexl-mode-hook):
54 * ielm.el (ielm-mode-hook):
55 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
56 (lisp-interaction-mode-hook):
57 * progmodes/cfengine.e (cfengine3-documentation-function):
58 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
59
7b2f049c
SM
602014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
61
62 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
63 is a symbol (bug#16584).
64
0c633f13
GM
652014-01-30 Glenn Morris <rgm@gnu.org>
66
67 * help.el (help-for-help-internal): Add "P" to text.
68
5e61c1ef
GM
692014-01-29 Glenn Morris <rgm@gnu.org>
70
71 * simple.el (just-one-space, cycle-spacing): Doc fixes.
72
1dcb169c
MR
732014-01-28 Martin Rudalics <rudalics@gmx.at>
74
75 * window.el (fit-frame-to-buffer): Fix calculations for margins and
76 height constraints.
77
a9128931
LL
782014-01-28 Luke Lee <luke.yx.lee@gmail.com>
79
80 * progmodes/hideif.el: Extend to full CPP expression syntax.
81 (hif-token-alist): Add missing tokens.
82 (hif-token-regexp): Add support for float/octal/hex immediates.
83 (hif-string-literal-regexp): New const.
84 (hif-tokenize): Recognize strings and float/octal/hex immediates.
85 (hif-exprlist): New function.
86 (hif-parse-if-exp): Use it.
87 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
88 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
89 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
90 (hif-logxor, hif-comma): New functions.
91
a22359a7
GM
922014-01-28 Glenn Morris <rgm@gnu.org>
93
793ffe81
GM
94 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
95
e3bd7eed
GM
96 * indent.el (tab-stop-list): Doc fix. Add :version.
97
a22359a7
GM
98 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
99 (cvs-append-to-ignore): Add compatibility alias.
100
52695556 1012014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 102
bac524e0
GM
103 * dired.el (dired-hide-details-mode): Don't autoload it,
104 since it cannot be used outside Dired buffers anyway.
105
52695556 106 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 107
52695556
GM
108 * dired.el (dired-hide-details-hide-symlink-targets)
109 (dired-hide-details-hide-information-lines)
110 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
111
112 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
113 * strokes.el (strokes-file): Doc fix. Bump :version.
114 (strokes-help): Doc fix.
115 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
116 * emulation/viper.el (viper): Doc fix for custom group.
117 (top-level): Remove oh-so-no-longer-relevant text about vip.
118 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
119
120 * ido.el (ido-save-directory-list-file):
121 * saveplace.el (save-place-file):
122 * calendar/timeclock.el (timeclock-file):
123 * net/quickurl.el (quickurl-url-file):
124 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
125 * progmodes/idlwave.el (idlwave-config-directory):
126 * textmodes/remember.el (remember-data-file):
127 Bump :version.
128
169d6004
GM
1292014-01-26 Glenn Morris <rgm@gnu.org>
130
de6a923b
GM
131 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
132 Doc fix. Make obsolete.
133 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
134
169d6004
GM
135 * sort.el (delete-duplicate-lines): Doc fix.
136
ed85dee6
RS
1372014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
138
139 * progmodes/ada-mode.el (ada):
140 * woman.el (woman): Link to info manual and Commentary section.
141
142 * progmodes/flymake.el (flymake):
143 * nxml/nxml-mode.el (nxml):
144 * net/eww.el (eww):
145 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
146 * htmlfontify.el (htmlfontify):
147 * ses.el (ses):
148 * epa.el (epa):
149 * ido.el (ido): Link to info manual.
150
e0c67e1d
LL
1512014-01-25 Leo Liu <sdl.web@gmail.com>
152
153 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
154
35408b1a
AS
1552014-01-25 Adam Sjøgren <asjo@koldfront.dk>
156
157 * net/shr.el (shr-tag-img): Prefer the title over the alt text
158 (bug#16537).
159
76c3fa95
JB
1602014-01-24 Juanma Barranquero <lekktu@gmail.com>
161
f77c7a99
JB
162 * net/eww.el (eww-download-callback):
163 Fix reference to eww-download-directory.
164
76c3fa95
JB
165 * emacs-lisp/bytecomp.el (byte-compile-file):
166 Remove unused local variable `file-name'.
167
1e548e40
GM
1682014-01-24 Glenn Morris <rgm@gnu.org>
169
03f3b318
GM
170 * woman.el (woman-default-faces, woman-monochrome-faces):
171 Fix obsolescence specification.
172
1e548e40
GM
173 * subr.el (with-demoted-errors): Doc fix.
174
d4f0427b
SM
1752014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
176
177 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
178 (cl--macroexp-fboundp): New function.
179 (cl--make-type-test): Use it.
180
1670e27f
GM
1812014-01-23 Glenn Morris <rgm@gnu.org>
182
183 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
184 * simple.el (eval-expression): Doc fixes.
185
80efa207
GM
1862014-01-22 Glenn Morris <rgm@gnu.org>
187
188 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
189
29afcbab
SM
1902014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
191
192 * emacs-lisp/package.el: Write files silently.
193 (package-autoload-ensure-default-file, package--write-file-no-coding)
194 (package-generate-description-file, package--download-one-archive)
195 (package-install-from-archive): Tell `write-region' to stay quiet.
196 (package-menu-mode, package-menu--print-info): Omit the Archive column
197 if there's only one archive.
198 (package-all-keywords, package--has-keyword-p): Remove dead code.
199
2a5bce4f
GM
2002014-01-22 Glenn Morris <rgm@gnu.org>
201
edace89f
GM
202 * version.el (emacs-bzr-version-bzr): Fix typo.
203
2a5bce4f
GM
204 * version.el (emacs-repository-get-version):
205 Check either .bzr or .git, but not both.
206 Make the git case actually use the DIR argument, and return nil
207 rather than the empty string.
983664c0 208 Avoid error if .git exists but the git executable is not found.
2a5bce4f 209
6cb4da45
MR
2102014-01-22 Martin Rudalics <rudalics@gmx.at>
211
212 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
213 * window.el (window-total-size, window-size): New argument ROUND.
214 (window--min-delta-1, window-min-delta, window--max-delta-1):
215 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
216 columns a window can shrink (Bug#16430).
217 (fit-window-to-buffer): Simplify code.
218 * term.el (term-window-width): Call window-body-width again.
219
cc0f2ece
GM
2202014-01-22 Glenn Morris <rgm@gnu.org>
221
7b997b14
GM
222 * image.el (image-format-suffixes): Doc fix.
223
44e76f9d
GM
224 * international/quail.el (quail-define-package): Doc fix.
225
73c1c6d7
GM
226 * emacs-lisp/authors.el (authors-valid-file-names):
227 (authors-renamed-files-alist): Additions.
7bfc1caa 228
85a5f61f
GM
229 * vc/vc-git.el (vc-git-print-log): Remove --follow;
230 reverts 2014-01-09 change. (Bug#16422)
231
cc0f2ece
GM
232 * calc/calc-embed.el (thing-at-point-looking-at):
233 * emacs-lisp/map-ynp.el (x-popup-dialog):
234 * obsolete/lmenu.el (x-popup-dialog):
235 * emacs-lisp/package.el (url-recreate-url):
236 * mail/mailclient.el (clipboard-kill-ring-save):
237 * subr.el (x-popup-dialog): Update declaration.
238 * mail/rmail.el (rmail-mime-message-p):
239 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
240
00d2a6bb
DC
2412014-01-21 Daniel Colascione <dancol@dancol.org>
242
243 * progmodes/sh-script.el (sh--inside-noncommand-expression):
244 Correctly detect when we're inside an arithmetic expansion form
245 containing nested parenthesis.
246 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
247 to detect cases where we shouldn't expand "<<" to a heredoc
248 skeleton.
249
dd9d2e9d
SM
2502014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
251
252 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
253 (eldoc--message-command-p): New function.
254 (eldoc-display-message-p): Use it.
255 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
256 message is not automatically erased for us.
257 (eldoc-print-current-symbol-info): Erase previous message, if any.
258
e7d807ca
TH
2592014-01-21 Tassilo Horn <tsdh@gnu.org>
260
4ff0a0e5
TH
261 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
262 specify it's an interactive function.
263
dd9d2e9d
SM
264 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
265 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
266 citations with optional arguments.
267
87503791
LL
2682014-01-21 Leo Liu <sdl.web@gmail.com>
269
270 * simple.el (read--expression): Don't enable eldoc-mode.
271
6cc750ee
SM
2722014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
273
274 * simple.el (move-beginning-of-line): Make sure we don't move forward
275 (bug#16497).
276
71f16bda
JL
2772014-01-20 Juri Linkov <juri@jurta.org>
278
279 * saveplace.el (toggle-save-place, save-place-to-alist)
280 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
281 'dired-mode) before checking for dired-directory. (Bug#16477)
282
3c5a4839
JL
2832014-01-20 Juri Linkov <juri@jurta.org>
284
285 * indent.el (indent-line-to): Use backward-to-indentation
286 instead of back-to-indentation. (Bug#16461)
287
f952002e
PE
2882014-01-20 Paul Eggert <eggert@cs.ucla.edu>
289
290 Revert some of the CANNOT_DUMP fix (Bug#16494).
291 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
292 but fixing this can wait until after the next release.
293 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
294
93675500
MA
2952014-01-19 Michael Albinus <michael.albinus@gmx.de>
296
297 * eshell/esh-mode.el (eshell-password-prompt-regexp):
298 Use `password-word-equivalents'.
299 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
300 to t. (Bug#5664, Bug#13124)
301
e3af763f
AM
3022014-01-19 Alan Mackenzie <acm@muc.de>
303
304 Bind open-paren-in-column-0-is-defun-start to nil at some entry
305 points.
306 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 307 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
308 * progmodes/cc-mode.el (c-before-change, c-after-change)
309 (c-font-lock-fontify-region): Bind it here.
310
4ff6d92d
MR
3112014-01-19 Martin Rudalics <rudalics@gmx.at>
312
313 * term.el (term-window-width): Call window-text-width instead of
314 window-width (Bug#16470).
315
9a685cf6
PE
3162014-01-18 Paul Eggert <eggert@cs.ucla.edu>
317
318 * simple.el (password-word-equivalents): Remove duplicates.
319 Sort, to make this easier next time.
320 Downcase. Omit ": " after "jelszó".
321
5aa78c2d
JD
3222014-01-18 Jan Djärv <jan.h.d@swipnet.se>
323
324 * term/common-win.el (saved-region-selection): Defvar it.
325 (x-select-text): Set saved-region-selection (Bug#16382).
326
cabb250c
GM
3272014-01-18 Glenn Morris <rgm@gnu.org>
328
329 * emacs-lisp/authors.el (authors-aliases)
330 (authors-renamed-files-alist): Add some entries.
331
a1340440
MA
3322014-01-17 Michael Albinus <michael.albinus@gmx.de>
333
93675500
MA
334 * net/tramp.el (tramp-password-prompt-regexp):
335 Use `password-word-equivalents' if available.
a1340440
MA
336 (tramp-action-password, tramp-process-one-action)
337 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
338
681ce5d2
CY
3392014-01-17 Chong Yidong <cyd@gnu.org>
340
341 * simple.el (password-word-equivalents): New defcustom.
342 * comint.el (comint-password-prompt-regexp): Use it. Bump version
343 to 24.4.
344 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
345 to t. (Bug#13124)
346
fb3d479c
DG
3472014-01-17 Dmitry Gutov <dgutov@yandex.ru>
348
349 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
350 (ruby-align-to-stmt-keywords): Change the default value.
351 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
352 choices.
353 (ruby-smie-rules): Instead of using a hardcoded list of alignable
354 keywords, check against the value of `ruby-alignable-keywords'
355 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
356
0d613483
GM
3572014-01-17 Glenn Morris <rgm@gnu.org>
358
fc23fe2d
GM
359 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
360
0d613483
GM
361 Make M-x authors return zero *Authors Errors* from current logs.
362 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
363 (authors-ignored-files): Add some entries, remove others.
364 (authors-ambiguous-files, authors-valid-file-names):
365 Add some entries.
366 (authors-renamed-files-alist): Add, remove, and adjust entries.
367 (authors-renamed-files-regexps): Add some entries.
368 Remove some very broad ones. Make some entries `lax'.
369 (authors-lax-changelogs): New constant.
370 (authors-disambiguate-file-name): Treat top-level specially.
371 (authors-lax-changelog-p): New function.
372 (authors-canonical-file-name): Check file as written against
373 authors-valid-file-names. Do not special-case etc/.
374 Handle `lax' logs and authors-renamed-files-regexps elements.
375
2dbf4ffd
DG
3762014-01-16 Dmitry Gutov <dgutov@yandex.ru>
377
378 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
379 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
380 callers.
2dbf4ffd 381
87b2a7f2
SM
3822014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
383
384 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
385 Assume we're already in the proper buffer.
386 Inspired by Anders Lindgren <andlind@gmail.com>.
387 (follow-post-command-hook): Call it from the right buffer.
388 (follow-comint-scroll-to-bottom): Adjust call.
389 (follow-all-followers): Use get-buffer-window-list.
390
93acfb0e
DC
3912014-01-15 Daniel Colascione <dancol@dancol.org>
392
393 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
394 `buffer-file-name' in interactive-form so that we don't leave
395 pathless file names in `file-name-history'.
396
ccc6b208
JL
3972014-01-15 Juri Linkov <juri@jurta.org>
398
399 * indent.el (indent-rigidly): Set deactivate-mark to nil
400 in transient indentation mode. (Bug#16438)
401
5c92e00d
DG
4022014-01-15 Dmitry Gutov <dgutov@yandex.ru>
403
404 * emacs-lisp/package.el (package-desc-keywords): New function
405 (Bug#16222).
406 (describe-package-1, package-all-keywords)
407 (package--has-keyword-p): Use it.
408
dac69660
NR
4092014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
410
411 * simple.el (define-alternatives): When creating the
412 COMMAND-alternatives variable, assign COMMAND as its definition
413 name so that `describe-variable' can relocate it.
414
8b63edf8
ML
4152014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
416
417 * font-lock.el (font-lock-keywords): Fix typo in docstring
418 (bug#16307).
419
c6a0b8eb
AM
4202014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
421
422 * ispell.el (ispell-region): Reset `in-comment' for new line
423 instead of wrongly reset `add-coment' (bug#13577).
424
02bf443d
DU
4252014-01-14 Daiki Ueno <ueno@gnu.org>
426
427 * epa-file.el (epa-file-write-region): Encode the region according
428 to `buffer-file-format'. Problem reported at:
429 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
430
fd7fde15
SM
4312014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
432
433 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
434 so it applies in the right buffer (bug#16410).
435
c176054f
DC
4362014-01-13 Daniel Colascione <dancol@dancol.org>
437
438 * textmodes/rst.el (rst-define-key): Provide deprecated
439 keybindings through named functions instead of anonymous ones so
440 that "??" doesn't appear in describe-mode output.
441
e3f33e5d
BG
4422014-01-13 Bastien Guerry <bzg@gnu.org>
443
444 * simple.el (define-alternatives): Call the selected command
445 interactively. When setting `COMMAND--implementation' for the
446 first time, tell the user how to chose another implementation.
447 Enhance the docstring.
448
c055d654
SM
4492014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
450
451 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
452 (log-edit--match-first-line): New function.
453 (log-edit-font-lock-keywords): Use it.
454 (log-edit-mode): Make jit-lock-defer-multiline work.
455
d791cc3b
BG
4562014-01-13 Bastien Guerry <bzg@gnu.org>
457
458 * rect.el (rectangle-mark-mode): When the region is not active,
459 display a message saying that the mark as been set and that
460 rectangle mode is in use.
461 (rectangle--highlight-for-redisplay): Only put an overlay with a
462 visible vertical bar when (display-graphic-p) is non-nil.
463 This partially fixes Bug#16403.
464
3c0c4562
JL
4652014-01-13 Juri Linkov <juri@jurta.org>
466
467 * info.el (Info-find-file): Go to DIR before displaying the error
468 about a nonexistent file if no previous Info file is visited.
469 Use `user-error' instead of `error' for "Info file %s does not exist".
470 (Info-find-node-2): In case of a nonexistent node in unwind forms
471 go to the Top node if there is no previous node to revert to.
472 (Bug#16405)
473
25a700d0
MR
4742014-01-13 Martin Rudalics <rudalics@gmx.at>
475
476 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
477 * window.el (fit-frame-to-buffer): Fix doc-string.
478 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
479 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
480 when avoiding that frame goes partially off-screen.
481 (fit-window-to-buffer): Respect window-min-height/-width
482 (Bug#14096).
483
6ae948d8
SM
4842014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
485
486 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
487 after an empty line.
488
6137cb82
SM
4892014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
490
491 * net/shr.el (shr-render-region): Autoload.
492
e6344e17
XF
4932014-01-12 Xue Fuqiao <xfq.free@gmail.com>
494
495 * net/eww.el (eww-download-directory): Rename from
496 `eww-download-path' (Bug#16419).
497
3b922c70
LL
4982014-01-12 Leo Liu <sdl.web@gmail.com>
499
500 * dired-x.el (dired-mode-map): Fix last change.
501
502 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
503
4fa51741
PE
5042014-01-12 Paul Eggert <eggert@cs.ucla.edu>
505
506 Spelling fixes.
507 * emacs-lisp/generic.el (generic--normalize-comments):
508 Rename from generic--normalise-comments. All uses changed.
509 * play/bubbles.el (bubbles--neighborhood-score):
510 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
511 (bubbles--neighborhood-available)
512 (bubbles--update-neighborhood-score):
513 Rename from names with 'neighbourhood'. All uses changed.
514
9b335362
LL
5152014-01-12 Leo Liu <sdl.web@gmail.com>
516
517 Re-implement the feature of showing eldoc info after editing.
518 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
519 (eldoc-edit-message-commands): New function.
520 (eldoc-print-after-edit): New variable.
521 (eldoc-pre-command-refresh-echo-area): Emit message only by
522 eldoc-message-commands.
523 (eldoc-mode): Restrict eldoc-message-commands to editing commands
524 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 525 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 526 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 527
e2a095b1
GM
5282014-01-11 Dani Moncayo <dmoncayo@gmail.com>
529 Eric S. Raymond <esr@thyrsus.com>
9685190b 530
841a6d0c 531 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 532 function works correctly in either a Bazaar or Git repo.
0abf4134 533
e2a095b1
GM
5342014-01-11 Eric S. Raymond <esr@thyrsus.com>
535
6137cb82
SM
536 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
537 Goes with removal of the joke manpages from /etc.
9685190b 538
3923e7bd
KH
5392014-01-10 K. Handa <handa@gnu.org>
540
6137cb82
SM
541 * mail/rmail.el (rmail-get-coding-system):
542 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 543
d2f16e93
GM
5442014-01-10 Glenn Morris <rgm@gnu.org>
545
546 * emacs-lisp/authors.el (authors-fixed-entries):
547 Update for files that no longer exist.
548
7e03bb32
ER
5492014-01-10 Eric S. Raymond <esr@thyrsus.com>
550
551 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 552 24.3 (Tested).
7e03bb32 553
dd806710
BB
5542014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
555
556 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
557 and Podfile.
558
ed6ec139
EZ
5592014-01-10 Eli Zaretskii <eliz@gnu.org>
560
561 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
562
cc33cac9
CY
5632014-01-10 Chong Yidong <cyd@gnu.org>
564
6137cb82 565 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 566
d9d836b5
AL
5672014-01-10 Anders Lindgren <andlind@gmail.com>
568
569 * follow.el (follow-cache-command-list): Include right-char and
570 left-char.
571
06827ec8
PE
5722014-01-10 Paul Eggert <eggert@cs.ucla.edu>
573
574 Spelling fixes.
575 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
576 * woman.el (woman-mark-horizontal-position):
577 Rename from woman-mark-horizonal-position. Use changed.
578
458dbf5e
GM
5792014-01-10 Glenn Morris <rgm@gnu.org>
580
dad6fae7
GM
581 * info.el (info-initialize): If running uninstalled, ensure our
582 own info files are always found first, even if INFOPATH is set.
583
458dbf5e
GM
584 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
585
05e0afce
DE
5862014-01-09 David Engster <deng@randomsample.de>
587
588 * emacs-lisp/eieio-custom.el:
589 * emacs-lisp/eieio-opt.el: Set generated autoload file to
590 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
591 * emacs-lisp/eieio.el: Regenerate autoloads.
592
f29778b3
ER
5932014-01-09 Eric S. Raymond <esr@thyrsus.com>
594
595 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 596 following renames. (Bug#8756)
f29778b3 597
684d44ef
SM
5982014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
599
600 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
601 (bug#16382).
602 (activate-mark): Add `no-tmm' argument.
603 (set-mark, push-mark-command): Use it instead of running
604 activate-mark-hook by hand.
605
9475054f
ER
6062014-01-08 Eric S. Raymond <esr@thyrsus.com>
607
608 In preparation for the move to git, sanitize out some
609 Bazaar-specific names.
610
38942b9c
GM
611 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
612
9475054f 613 * version.el (emacs-bzr-version): Name changed to
689c9ca5 614 emacs-repository-version. Obsolete-variable alias made.
9475054f 615 * loadup.el: Follow through on this name change.
a12bf61e 616 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
617 assumption about the version control system in use.
618
0f918d96 6192014-01-08 David Engster <deng@randomsample.de>
abb82152 620
684d44ef
SM
621 * help-fns.el (help-fns-describe-function-functions):
622 New variable to call functions for augmenting help buffers.
abb82152
DE
623 (describe-function-1): Remove explicit calls to
624 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
625 `help-fns--obsolete'. Put them in above new variable instead, and
626 call them through `run-hook-with-args'.
627 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
628 `eieio-describe-class'. Not meant for interactive use anymore,
629 but to augment existing help buffers. Remove optional second
684d44ef
SM
630 argument. Create proper button for file location.
631 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
632 possible.
633 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
634 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
635 (describe-method, describe-generic, eieio-describe-method):
636 Remove aliases.
0f918d96
DE
637 (eieio-help-constructor, eieio-help-generic): Rename from
638 `eieio-describe-constructor' and `eieio-describe-generic', resp.
639 Rewrite to use `insert' in the current buffer and use proper help
640 buttons.
641 (eieio-help-find-method-definition)
642 (eieio-help-find-class-definition): Also accept symbols as
643 arguments.
644 (eieio-help-mode-augmentation-maybee): Remove.
645 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
646 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
647 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 648
136b74c5
PE
6492014-01-08 Paul Eggert <eggert@cs.ucla.edu>
650
651 Spelling fixes.
652 * language/china-util.el (hz-ascii-designation):
653 Rename from hz-ascii-designnation.
654 (hz-ascii-designation): Rename from hz-ascii-designnation.
655 All uses changed.
656
ec6c7de2
SM
6572014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
658
659 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
660 package-alist.
661
d6262c7c
BG
6622014-01-08 Bastien Guerry <bzg@gnu.org>
663
4b9e6087
GM
664 * emacs-lisp/package.el (package-delete):
665 Correctly delete the package from package-alist.
d6262c7c 666
0a3eec32
DU
6672014-01-08 Daiki Ueno <ueno@gnu.org>
668
669 * emacs-lisp/package.el (url-recreate-url): Declare.
670 (url-http-target-url): Declare.
4b9e6087 671 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
672 (package--check-signature): Don't re-signal errors from
673 package--with-work-buffer. Suggested by Stefan Monnier.
674
68f0bb97
BG
6752014-01-07 Bastien Guerry <bzg@gnu.org>
676
677 * minibuffer.el (completion--try-word-completion): When both a
678 hyphen and a space are possible candidates for the character
679 following a word, display both candidates. (Bug#15980)
680
7e1899d7
MR
6812014-01-07 Martin Rudalics <rudalics@gmx.at>
682
683 * window.el (balance-windows-2): While rounding don't give a
684 window more than the remainder. Bug#16351, Bug#16383.
685
0030ec15
GM
6862014-01-07 Glenn Morris <rgm@gnu.org>
687
688 * menu-bar.el (menu-bar-help-extra-packages): Remove.
689 (menu-bar-help-menu): Use view-external-packages instead.
690
2b6b4f20
BG
6912014-01-07 Bastien Guerry <bzg@gnu.org>
692
693 * emacs-lisp/package.el (package-delete): Also delete the package
694 name from `package-alist', not its description only.
695
e9be0a13
GM
6962014-01-07 Glenn Morris <rgm@gnu.org>
697
698 * help.el (view-external-packages):
699 * menu-bar.el (menu-bar-help-extra-packages):
700 Visit efaq.info rather than etc/MORE.STUFF.
701
e4f74da9
JL
7022014-01-07 Juri Linkov <juri@jurta.org>
703
704 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
705 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
706
707 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
708 that shadows RET. (Bug#16342)
709
de7ce2d1
CY
7102014-01-07 Chong Yidong <cyd@gnu.org>
711
712 * isearch.el (isearch-yank-char, isearch-yank-word)
713 (isearch-yank-line): Doc fix.
714
6bdd9204
SM
7152014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
716
717 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
718 * emacs-lisp/elint.el (elint-find-builtins):
719 * emacs-lisp/eldoc.el (eldoc-symbol-function):
720 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
721 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
722 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
723 * apropos.el (apropos-safe-documentation):
724 * subr.el (symbol-file): Remove redundant fboundp.
725 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
726
daccca97
BG
7272014-01-06 Bastien Guerry <bzg@gnu.org>
728
729 * hl-line.el (global-hl-line-overlay): Make a local variable.
730 (global-hl-line-overlays): New variable to store all overlays.
731 (global-hl-line-mode): Don't delete overlays from the current
732 buffer when `global-hl-line-sticky-flag' is non-nil.
733 (global-hl-line-highlight): Add new overlays to
734 `global-hl-line-overlays'.
735 (global-hl-line-unhighlight-all): New function to delete all
736 overlays when turning off `global-hl-line-mode'.
737 This fixes Bug#16183.
738
ec00f20f
SM
7392014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
740
741 * subr.el (set-transient-map): Fix nested case and docstring.
742
a0031f97
TH
7432014-01-06 Tassilo Horn <tsdh@gnu.org>
744
745 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
746 `Texinfo' entry.
747
bf6a77f3
DC
7482014-01-06 Daniel Colascione <dancol@dancol.org>
749
750 Fix defun navigation in vc log view.
751
752 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
753 like `beginning-of-defun'.
754 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
ec00f20f
SM
755 log-view-end-of-defun to log-view-end-of-defun-1. Replace
756 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 757 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 758 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 759
d5081c1e
PE
7602014-01-06 Paul Eggert <eggert@cs.ucla.edu>
761
762 Spelling fixes.
763 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
764 * emacs-lisp/debug.el (cancel-debug-on-entry):
765 * epg.el (epg-error-to-string):
766 * files.el (recover-file):
767 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
768 * mail/emacsbug.el (report-emacs-bug-hook):
769 * mail/sendmail.el (mail-recover):
770 * ses.el (ses-yank-resize):
771 * term/ns-win.el (ns-print-buffer):
772 Spelling fixes in diagnostics, mostly for "canceled" with one L.
773 * epg.el (epg-key-capability-alist): Rename from misspelled version.
774 All uses changed.
775 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
776
53f6b148
LL
7772014-01-06 Leo Liu <sdl.web@gmail.com>
778
779 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 780 to avoid shadowing global key. (Bug#16354)
53f6b148 781
b82ace2f
DC
7822014-01-06 Daniel Colascione <dancol@dancol.org>
783
784 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
785 rst-mode.
786
3669b636
MR
7872014-01-05 Martin Rudalics <rudalics@gmx.at>
788
789 * window.el (balance-windows): Add mising t to fix Bug#16351.
790
1a29adc2
LMI
7912014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
792
793 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
794 (bug#16285).
3d95a0f4
LMI
795 (shr-insert): If we have a word that's longer than `shr-width',
796 break after it anyway. Otherwise we'll do no breaking once we get
797 such a long word.
1a29adc2 798
f4018140
KN
7992014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
800
3fcfc4ee 801 * net/eww.el (eww): Support single/double quote for search.
189340f5
KN
802 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
803 (eww-history-quit): Delete and use quit-window.
804 (eww-history-kill): Delete, because it doesn't work well and
805 not necessary.
806 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 807
4e619754
PE
8082014-01-05 Paul Eggert <eggert@cs.ucla.edu>
809
73dbf960
PE
810 Fix misspelling of 'chinese' in rx (Bug#16237).
811 * emacs-lisp/rx.el (rx-categories): Correct spelling of
812 chinese-two-byte.
813
4e619754
PE
814 Change subword regexps back to vars (Bug#16296).
815 * progmodes/subword.el (subword-forward-regexp)
816 (subword-backward-regexp): Change these back to variables.
817
e18b70fc
SM
8182014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
819
820 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
821 syntax-begin-function (bug#16247).
822
0d53f628
CY
8232014-01-03 Chong Yidong <cyd@gnu.org>
824
825 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
826 (advice--docstring): Delete variable.
827 (advice--make-1): Leave the docstring empty.
828 (advice-add): Use function-documentation for advised docstring.
829
830 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
831 Ignore function-documentation property when getting documentation.
832 (ad-activate-advised-definition): Use function-documentation
833 generate the docstring.
834 (ad-make-advised-definition): Don't call
835 ad-make-advised-definition-docstring.
836 (ad-make-advised-definition-docstring, ad-advised-definition-p):
837 Delete functions.
838
839 * progmodes/sql.el (sql-help): Use function-documentation instead
840 of dynamic-docstring-function property. No need to autoload now.
841 (sql--help-docstring): New variable.
842 (sql--make-help-docstring): Use it.
843
6f547583
SM
8442014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
845
6ef9aed8
SM
846 * ielm.el (ielm-tab): Retarget.
847 (ielm-map): Use ielm-tab for tab.
848 (ielm-complete-filename): Use comint-filename-completion.
849 (ielm-complete-symbol): Remove.
850 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
851 remove ielm-tab from completion-at-point-functions (bug#16224).
852
6f547583
SM
853 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
854 Beware signals raised by predicates (bug#16201).
855
a574edbe
RS
8562014-01-02 Richard Stallman <rms@gnu.org>
857
e831604d
RS
858 * dired-aux.el (dired-do-print): Handle printer-name.
859
6f547583
SM
860 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
861 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
862 (rmail-epa-decrypt): Turn off mime processing.
863
3fcfc4ee 864 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
865 Add parens in message-id.
866
867 * mail/rmail.el (rmail-get-coding-function): Variable.
868 (rmail-get-coding-system): Use it.
869
04311a16
KH
8702013-12-31 Eli Zaretskii <eliz@gnu.org>
871
872 * international/mule-conf.el: Unify the charset indian-is13194.
873 (indian-is13194): Specify unify-map.
874
c8d89778
LL
8752013-12-31 Leo Liu <sdl.web@gmail.com>
876
877 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
878
e63ace37
DC
8792013-12-30 Daniel Colascione <dancol@dancol.org>
880
9e0bf19a
DC
881 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
882 of printing a useless when we resume from sleep.
883
e63ace37
DC
884 * progmodes/sh-script.el
885 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
886 in indentation code. (Bug#16233)
887
e9d6c46a
JT
8882013-12-28 João Távora <joaotavora@gmail.com>
889
6f547583
SM
890 * elec-pair.el (electric-pair-post-self-insert-function):
891 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 892
bf7bea5d
EZ
8932013-12-28 Eli Zaretskii <eliz@gnu.org>
894
895 * frame.el (window-system-for-display): Don't allow to create a
896 GUI frame from a -nw session on MS-Windows. (Bug#14739)
897
8449dd1f
GM
8982013-12-28 Glenn Morris <rgm@gnu.org>
899
9c5a5c77
GM
900 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
901 Update callers.
902
903 * apropos.el (apropos-match-face):
904 * calculator.el (calculator-displayer):
905 * dabbrev.el (dabbrev-search-these-buffers-only):
906 * face-remap.el (buffer-face-mode-face):
907 * simple.el (yank-handled-properties):
908 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
909 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
910 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
911 (hashcash-double-spend-database):
912 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
913 (ruby-deep-indent-paren-style):
914 * textmodes/flyspell.el (flyspell-auto-correct-binding):
915 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
916 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
917 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
918 Specify custom types.
919
bb098075
GM
920 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
921 * bookmark.el (bookmark-bmenu-use-header-line):
922 * doc-view.el (doc-view-scale-internally):
923 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
924 * register.el (register-preview-delay):
925 * net/shr.el (shr-bullet):
926 * progmodes/cfengine.el (cfengine-cf-promises)
927 (cfengine-parameters-indent):
928 * progmodes/octave.el (inferior-octave-error-regexp-alist):
929 * textmodes/reftex-vars.el (reftex-label-regexps):
930 * vc/log-edit.el (log-edit-setup-add-author): Add version.
931
9c61f806
GM
932 * net/tls.el (tls-certtool-program): Fix default value.
933
934 * desktop.el (desktop-restore-in-current-display):
935 * newcomment.el (comment-empty-lines):
936 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
937 (idlwave-pad-keyword):
938 * progmodes/tcl.el (tcl-tab-always-indent):
939 * textmodes/reftex-vars.el (reftex-index-default-tag):
940 * elec-pair.el (electric-pair-skip-whitespace):
941 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
942
8449dd1f
GM
943 * emacs-lisp/authors.el (authors-ignored-files)
944 (authors-valid-file-names, authors-renamed-files-alist): Additions.
945
fdadeb49
JC
9462013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
947
72140a0f
GM
948 * shell.el (shell-dynamic-complete-command): Doc fix.
949 (shell--command-completion-data): Shell completion now matches
950 executable filenames from the current buffer's directory, on
da5ecfa9 951 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 952
e572a7d8
LI
9532013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
954
955 * net/shr.el (shr-insert): Don't infloop if the width is zero.
956
7514d3f8
SM
9572013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
958
a4151f3b
SM
959 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
960 (bug#16251).
961
7514d3f8
SM
962 * electric.el: Move all electric-pair-* to elec-pair.el.
963 * elec-pair.el: New file, split from electric.el.
964
ac5758d1
LI
9652013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
966
967 * net/shr.el (shr-find-fill-point): Don't try to fill if the
968 indentation level is larger than the width, because that will
969 infloop.
970 (shr-insert): Fill repeatedly long texts, so that Japanese is
971 formatted correctly (bug#16263).
24a6b65e
LI
972 (shr-find-fill-point): Off by one error in comparison with the
973 indentation.
ac5758d1 974
7514d3f8 9752013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
976
977 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 978 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
979 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
980 if that keeps or improves their balance in buffers.
981 (electric-pair-delete-adjacent-pairs): Delete the pair when
982 backspacing over adjacent matched delimiters.
983 (electric-pair-open-extra-newline): Open extra newline when
984 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
985 (electric--sort-post-self-insertion-hook):
986 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
987 minor-modes are activated.
988 * simple.el (newline-and-indent): Call newline with interactive
989 set to t.
990 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
991 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
992 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
993 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
994 electric-pair-open-newline-between-pairs to nil.
995
fbcc63a3
FEG
9962013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
997
998 * progmodes/python.el: Use lexical-binding.
999 (python-nav-beginning-of-defun): Stop searching ASAP.
1000
ed78d16c
XF
10012013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1002
1003 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1004 Fix interactive spec. Doc fix. (Bug#15754)
1005
38b2c142
KY
10062013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1007
1008 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 1009 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
1010 Fix edebug spec (bug#16184).
1011
3c856c14
LI
10122013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1013
83fa295c 1014 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
1015 (shr-insert): Don't infloop if we can't find a good place to break
1016 the line (bug#16256).
3c856c14 1017
01379221
FEG
10182013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1019
1020 * progmodes/python.el:
1021 (python-nav--lisp-forward-sexp): New function.
1022 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1023 python-nav-lisp-forward-sexp-safe.
1024 (python-nav--forward-sexp): New argument SAFE allows switching
1025 forward sexp movement behavior for parens.
1026 (python-nav-forward-sexp): Throw errors on unterminated parens
1027 (Bug#16191).
1028 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1029 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
1030 (python-shell-buffer-substring):
1031 Use `python-nav-forward-sexp-safe'.
01379221 1032
99e4926f
LI
10332013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1034
1035 * net/shr.el (shr-find-fill-point): Don't break lines before a
1036 quotation mark.
c6c20584
LI
1037 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1038 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 1039 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 1040
fec0e828
KN
10412013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1042
1043 * net/eww.el (eww-form-textarea): Use a different face for
1044 textareas than text input since they have different keymaps
1045 (bug#16142).
1046
89c868ad
FEG
10472013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1048
7514d3f8
SM
1049 * progmodes/python.el (python-nav-beginning-of-statement):
1050 Speed up (Bug#15295).
89c868ad 1051
eeef121a
LI
10522013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1053
1054 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1055 the window configuration.
1056
121ea65f
EZ
10572013-12-24 Eli Zaretskii <eliz@gnu.org>
1058
1059 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1060 we run on MS-Windows or MS-DOS.
1061
18cee9ec
MR
10622013-12-24 Martin Rudalics <rudalics@gmx.at>
1063
1064 * window.el (balance-windows-area): Call window-size instead of
1065 window-height and window-width. Bug#16241.
1066
58f2b9a5
LI
10672013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1068
1069 * net/eww.el (eww-bookmark-quit): Remove.
1070 (eww-bookmark-browse): Restore the window configuration when you
1071 choose a bookmark (bug#16144).
1072
d64b6308
DC
10732013-12-24 Daniel Colascione <dancol@dancol.org>
1074
1075 * icomplete.el: Remove redundant :group arguments to `defcustom'
1076 throughout.
1077 (icomplete-show-matches-on-no-input): New customizable variable.
1078 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1079 we have something to show.
7514d3f8 1080 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 1081
0da54898
DC
10822013-12-23 Daniel Colascione <dancol@dancol.org>
1083
1084 * icomplete.el: Move `provide' to end of file.
1085
b90aa4f4
TZ
10862013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1087
1088 * net/gnutls.el (gnutls-verify-error): Add version tag.
1089
8cd22a08
CY
10902013-12-23 Chong Yidong <cyd@gnu.org>
1091
1092 * subr.el (set-transient-map): Rename from
1093 set-temporary-overlay-map. Doc fix.
1094
1095 * face-remap.el (text-scale-adjust):
1096 * indent.el (indent-rigidly):
1097 * kmacro.el (kmacro-call-macro):
1098 * minibuffer.el (minibuffer-force-complete):
1099 * repeat.el (repeat):
1100 * simple.el (universal-argument--mode):
1101 * calendar/todo-mode.el (todo-insert-item--next-param):
1102 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1103
7510b021
CY
1104 * indent.el (indent-rigidly): Use substitute-command-keys.
1105
72140a0f 11062013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
1107
1108 * net/eww.el (eww-tag-select): Add text-property to jump to next
1109 select field.
e9dc713d 1110 (eww): Add non-supported ftp error.
56890ecd 1111
1f87a56c
DG
11122013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1113
1114 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1115 comments. Handle electric indent after typing `?' and `!'.
1116
dca38cf9
CY
11172013-12-22 Chong Yidong <cyd@gnu.org>
1118
1119 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
1120 applicable to a frame, fall back on the defface spec.
1121 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 1122
f2351498
DG
11232013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1124
1125 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1126 after `{'. We need it after block openers, and it doesn't seem
1127 to hurt after hash openers.
1128
6cddebc1
DG
11292013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1130
1131 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1132 extracted from `ruby-smie-rules'.
1133 (ruby--electric-indent-chars): New variable.
1134 (ruby--electric-indent-p): New function.
1135 (ruby-mode): Use `electric-indent-functions' instead of
1136 `electric-indent-chars'.
1137
65a1da00
DG
11382013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1139
1140 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1141 docstring.
1142 (ruby-smie-rules): Indent plus one level after `=>'.
1143
b51ad4cf
RS
11442013-12-21 Richard Stallman <rms@gnu.org>
1145
1146 * simple.el (newline): Doc fix.
1147
72140a0f 11482013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 1149
e9dc713d 1150 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
1151 (eww-history-browse, eww-history-quit, eww-history-kill)
1152 (eww-history-mode-map, eww-history-mode): New command and
1153 functions to list browser histories.
e9dc713d
JB
1154 (eww-form-text): Support text form with disabled
1155 and readonly attributes.
1156 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 1157
5e1901c1
RS
11582013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1159
1160 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1161 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1162 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1163 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1164 Use `user-error'.
1165 (eww-bookmark-mode-map): Add menu.
1166 (eww-render, eww-mode): Use `setq-local'.
1167 (eww-tool-bar-map): New variable.
1168 (eww-mode): Set `tool-bar-map'.
1169 (eww-view-source): Check for `html-mode' with `fboundp'.
1170
073d5cfd
LMI
11712013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1172
1173 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1174 elements with text inside. Also remove debugging.
1175
41cf3d11
JD
11762013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1177
1178 * cus-start.el (all): Add ns-use-srgb-colorspace.
1179
aac2b673
CY
11802013-12-21 Chong Yidong <cyd@gnu.org>
1181
1182 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1183 undefined. Thus, theme settings for undefined faces do not take
1184 effect until the faces are defined with defface, the same as with
1185 theme variables.
1186
1187 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1188 (face-spec-reset-face): Don't assign extra properties in temacs.
1189 (face-spec-recalc): Apply X resources too.
1190
bacb0e77
CY
11912013-12-21 Chong Yidong <cyd@gnu.org>
1192
1193 * faces.el (face-spec-set):
1194 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1195 * custom.el (defface): Doc fixes (Bug#16203).
1196
77221051
CY
1197 * indent.el (indent-rigidly-map): Add docstring, and move commands
1198 into named functions.
1199 (indent-rigidly-left, indent-rigidly-right)
1200 (indent-rigidly-left-to-tab-stop)
1201 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1202 indentation direction based on bidi direction, and accumulate
1203 sequential commands in a single undo boundary.
1204 (indent-rigidly--pop-undo): New utility function.
1205
e0eb0550
JB
12062013-12-20 Juanma Barranquero <lekktu@gmail.com>
1207
1208 * faces.el (read-face-name): Require crm.el when using crm-separator.
1209
3282bd2e
DC
12102013-12-20 Daniel Colascione <dancol@dancol.org>
1211
1212 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1213 so that we don't reflow comments into the shebang line.
1214
1d42e5b6
JL
12152013-12-20 Juri Linkov <juri@jurta.org>
1216
1217 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1218 a position when `dired-directory' is non-nil. Check integer
1219 positions with `integerp'.
1220 (toggle-save-place, save-places-to-alist): Add check for
1221 `dired-directory'.
1222 (save-place-find-file-hook): Check integer positions with
1223 `integerp'.
1224 (save-place-dired-hook): Use `dired-goto-file' when
1225 `dired-filename' is found in the assoc list. Check integer
1226 positions with `integerp'.
1227 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1228
1229 * dired.el (dired-initial-position-hook): Rename back from
1230 `dired-initial-point-hook'.
1231 (dired-initial-position): Rename `dired-initial-point-hook' to
1232 `dired-initial-position-hook'.
1233 (dired-file-name-at-point): Doc fix. (Bug#15329)
1234
24da7273
JL
12352013-12-20 Juri Linkov <juri@jurta.org>
1236
1237 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1238 (read-regexp-suggestions): New function.
1239 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1240 Use `read-regexp-suggestions'. Add non-empty default to history
1241 for empty input.
1242 (occur-read-regexp-defaults-function): Remove function.
1243 (occur-read-primary-args): Use `regexp-history-last' instead of
1244 `occur-read-regexp-defaults-function'.
1245
1246 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1247 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1248 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1249 `hi-lock-read-regexp-defaults-function'. Doc fix.
1250 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1251 with `find-tag-default-as-symbol-regexp'. Doc fix.
1252 (hi-lock-read-regexp-defaults): Remove function.
1253 (hi-lock-regexp-okay): Add check for null.
1254
1255 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1256 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1257
1258 * subr.el (find-tag-default-as-symbol-regexp): New function.
1259 (find-tag-default-as-regexp): Move symbol regexp formatting to
1260 `find-tag-default-as-symbol-regexp'.
1261
137f57c8
S
12622013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1263
1264 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1265 (Bug#14179)
1266
f3a66082
SB
12672013-12-20 Stephen Berman <stephen.berman@gmx.net>
1268
1269 * calendar/todo-mode.el: New implementation of item insertion
1270 commands and key bindings.
1271 (todo-key-prompt): New face.
1272 (todo-insert-item): New command.
1273 (todo-insert-item--parameters): New defconst, replacing defvar
1274 todo-insertion-commands-args-genlist.
1275 (todo-insert-item--param-key-alist): New defconst, replacing
1276 defvar todo-insertion-commands-arg-key-list.
1277 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1278 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1279 (todo-insert-item--next-param): New functions.
1280 (todo-insert-item--args, todo-insert-item--argleft)
1281 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1282 New variables.
1283 (todo-key-bindings-t): Change binding of "i" from
1284 todo-insertion-map to todo-insert-item.
1285 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1286 (todo-insertion-command-name, todo-insertion-commands-names)
1287 (todo-define-insertion-command, todo-insertion-commands)
1288 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1289
2f99433b
SB
12902013-12-20 Stephen Berman <stephen.berman@gmx.net>
1291
1292 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1293 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1294 eval-when-compile.
1295 (todo-move-category): Allow choosing a non-existing todo file to
1296 move the category to, and create that file.
1297 (todo-default-priority): New user option.
1298 (todo-set-item-priority): Use it.
1299 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1300 (desktop-restore-file-buffer): Declare.
1301 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1302 (todo-modes-set-2): Locally set desktop-save-buffer to
1303 todo-desktop-save-buffer.
1304 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1305 (auto-mode-alist): Add autoload cookie.
1306
131e4695
BB
13072013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1308
1309 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1310 helpers.el was a poor choice of name.
3cbfb935
BB
1311 (string-remove-prefix): New function.
1312 (string-remove-suffix): New function.
131e4695 1313
c44de18d
MR
13142013-12-20 Martin Rudalics <rudalics@gmx.at>
1315
1316 Fix assignment for new window total sizes.
1317 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
1318 (window--pixel-to-total-1, window--pixel-to-total):
1319 Fix calculation of new total sizes.
c44de18d 1320
ca65efcc
VS
13212013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1322
1323 * comint.el (comint-output-filter): Fix rear-nonsticky property
1324 placement (Bug#16010).
1325
a9574eb7
CY
13262013-12-20 Chong Yidong <cyd@gnu.org>
1327
1328 * faces.el (read-color): Minor fix for completion function.
1329
b520f210
DG
13302013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1331
e0eb0550
JB
1332 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1333 New option. (Bug#16182)
b520f210
DG
1334 (ruby-smie--indent-to-stmt-p): Use it.
1335 (ruby-smie-rules): Revert the logic in the handling of `when'.
1336 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1337 (ruby-deep-arglist, ruby-deep-indent-paren)
1338 (ruby-deep-indent-paren-style): Update docstrings to note that the
1339 vars don't have any effect with SMIE.
1340
26b75b45
JB
13412013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1342
1343 * calc/calc.el (calc-enter, calc-pop): Use the variable
1344 `calc-context-sensitive-enter'.
1345
cf91cee7
LMI
13462013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1347
1348 * net/shr.el (shr-insert): Protect against infloops in degenerate
1349 tables.
1350
51d971b4
RS
13512013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1352
1353 * progmodes/octave.el (octave): Add link to manual and octave
1354 homepage.
1355 (octave-mode-menu): Link to octave-mode manual.
1356
8c2e462a
LL
13572013-12-20 Leo Liu <sdl.web@gmail.com>
1358
1359 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1360 insertion using skeleton-end-newline. (Bug#16138)
1361
501158bc
JL
13622013-12-20 Juri Linkov <juri@jurta.org>
1363
1364 * replace.el (occur-engine): Use `add-face-text-property'
1365 to add the face property to matches and titles. (Bug#14645)
1366
1367 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1368 the palette of other hi-lock colors.
1369 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1370
50ab1da6
JL
13712013-12-19 Juri Linkov <juri@jurta.org>
1372
1373 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1374 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1375 (minibuffer-history-symbol): Move variable declaration closer to
1376 its usage.
1377
1378 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1379 (Bug#14785)
1380
3d6e95e7
JL
13812013-12-19 Juri Linkov <juri@jurta.org>
1382
1383 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1384 New function.
1385 (log-edit-hook): Add it to :options. (Bug#16170)
1386
b41594fd
JL
13872013-12-19 Juri Linkov <juri@jurta.org>
1388
1389 * simple.el (eval-expression-print-format): Don't check for
1390 command names and the last command. Always display additional
1391 formats of the integer result in the echo area, and insert them
1392 to the current buffer only with a zero prefix arg.
1393 Display character when char-displayable-p is non-nil.
1394 (eval-expression): With a zero prefix arg, set `print-length' and
1395 `print-level' to nil, and insert the integer values from
1396 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1397
1398 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1399 `eval-last-sexp-arg-internal'. Doc fix.
1400 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1401 `eval-last-sexp-print-value'. Doc fix.
1402 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1403 Set `print-length' and `print-level' to nil when arg is zero.
1404 (eval-last-sexp): Doc fix.
1405 (eval-defun-2): Print the integer values from
1406 `eval-expression-print-format' at the end.
1407
1408 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1409 values from `eval-expression-print-format' at the end.
1410
1411 * ielm.el (ielm-eval-input): Print the integer
1412 values from `eval-expression-print-format' at the end.
1413
8f2be364
TZ
14142013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1415
1416 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1417 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1418
2230a6e3
SM
14192013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1420
1421 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1422 (hl-line-highlight, global-hl-line-highlight): Use it.
1423 (hl-line-overlay): Use defvar-local.
1424
1269a680
JD
14252013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1426
1427 * term/ns-win.el: Require dnd.
1428 (global-map): Remove drag items.
1429 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
1430 (ns-set-background-at-mouse):
1431 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1432 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1433 New functions.
1269a680 1434
049638ad
GM
14352013-12-19 Glenn Morris <rgm@gnu.org>
1436
1437 * emacs-lisp/ert.el (ert-select-tests):
1438 Fix string/symbol mixup. (Bug#16121)
1439
ce41edb4
DG
14402013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1441
1442 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1443 keywords to their parent.
1444
7e1549c9
DG
14452013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1446
1447 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1448 first arg to be a string (fixed dead code), or an operator symbol.
1449 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1450 operator symbols.
1451 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1452 did nothing. Don't respond to `(:after ".")', it will be called
1453 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1454 change anything. Only return indentation for binary operators
1455 when they are hanging. De-dent opening paren when its parent is
1456 `.', otherwise it looks bad when the dot is not at bol or eol
1457 (bug#16182).
1458
3ee4cd64
JL
14592013-12-19 Juri Linkov <juri@jurta.org>
1460
1461 * replace.el (query-replace-read-args): Split a non-negative arg
1462 and a negative arg into separate elements.
1463 (query-replace, query-replace-regexp, replace-string)
1464 (replace-regexp): Add arg `backward'. Doc fix.
1465 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1466 move point to the beginning of the match.
1467 (replace-search, replace-highlight): Use new arg `backward'
1468 to set the value of `isearch-forward'.
1469 (perform-replace): Add arg `backward' and use it to perform
1470 replacement backward. (Bug#14979)
1471
1472 * isearch.el (isearch-query-replace): Use a negative prefix arg
1473 to call `perform-replace' with a non-nil arg `backward'.
1474
0cda6b7b
JL
14752013-12-18 Juri Linkov <juri@jurta.org>
1476
1477 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1478 to the default list. Move `log-edit-show-files' to the end.
1479 Add more available functions to options.
1480 (log-edit): Move default specific settings to
1481 `log-edit-insert-message-template'. Don't move point.
1482 (log-edit-insert-message-template): New function.
1483 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1484 (Bug#16170)
1485
b216f0a6
JL
14862013-12-18 Juri Linkov <juri@jurta.org>
1487
1488 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1489 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1490
1d1c55dc
LL
14912013-12-18 Leo Liu <sdl.web@gmail.com>
1492
e9dc713d
JB
1493 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1494 (Bug#16186)
1d1c55dc 1495
64e4c76e
EZ
14962013-12-18 Eli Zaretskii <eliz@gnu.org>
1497
1498 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1499 formats for displaying file sizes when the -s switch is given.
1500 Instead, compute a separate format for displaying the size in
1501 blocks, which is displayed in addition to the "regular" size.
1502 When -h is given in addition to -s, produce size in blocks in
1503 human-readable form as well. (Bug#16179)
1504
b2984e39
TH
15052013-12-18 Tassilo Horn <tsdh@gnu.org>
1506
2230a6e3
SM
1507 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1508 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 1509
50ff2e06
CY
15102013-12-18 Chong Yidong <cyd@gnu.org>
1511
0081bc84
CY
1512 * cus-edit.el (custom-magic-alist): Fix "themed" description
1513 (Bug#14348).
1514
a7ee9424
CY
1515 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1516 is non-nil, do not create a new entry in the symbol's theme-value
1517 or theme-face property; update theme-settings only (Bug#14664).
18874304 1518 (custom-available-themes): Doc fix.
a7ee9424 1519
8f942537
CY
1520 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1521 (Bug#15674).
1522
50ff2e06
CY
1523 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1524
83c60f60
KI
15252013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1526
1527 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1528 (Bug#13914).
1529
e0eb0550 15302013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
1531
1532 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1533
1f41ee56
GM
15342013-12-18 Glenn Morris <rgm@gnu.org>
1535
1536 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 1537 * cus-start.el (load-prefer-newer): New option.
1f41ee56 1538
e82134b1
LW
15392013-12-18 Le Wang <l26wang@gmail.com>
1540
2230a6e3
SM
1541 * comint.el (comint-previous-matching-input-from-input):
1542 Retain point (Bug#13404).
e82134b1 1543
33f5d4c1
CY
15442013-12-18 Chong Yidong <cyd@gnu.org>
1545
1546 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1547
ccc9f6dc
GM
15482013-12-18 Glenn Morris <rgm@gnu.org>
1549
1550 * mail/emacsbug.el (report-emacs-bug):
1551 Only mention enable-multibyte-characters if non-standard.
1552
33dd8e95
JL
15532013-12-17 Juri Linkov <juri@jurta.org>
1554
1555 * arc-mode.el (archive-extract-by-file): Check if directory exists
1556 before deletion to not show irrelevant errors if it doesn't exist.
1557
7a409b30
JL
15582013-12-17 Juri Linkov <juri@jurta.org>
1559
1560 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1561 (Bug#14751)
1562
1563 * net/eww.el (browse-web): Add alias to `eww'.
1564 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1565 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1566
1567 * net/browse-url.el (browse-url-browser-function): Move `eww'
1568 closer to similar functions.
1569
1570 * startup.el (fancy-startup-screen, fancy-about-screen):
1571 Set browse-url-browser-function to eww-browse-url locally.
1572 (Bug#14751)
1573
2d6b6005
SM
15742013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1575
1576 * window.el (window--pixel-to-total): Remove unused `mini' var.
1577 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1578 (split-window): Remove unused `new' var.
1579 (window--display-buffer): Remove unused `frame' and `delta' vars.
1580 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1581 and display-width'.
1582
cf2b7efc
MR
15832013-12-17 Martin Rudalics <rudalics@gmx.at>
1584
1585 * dired.el (dired-mark-pop-up):
1586 * register.el (register-preview): Don't bind
1587 split-height-threshold here since it's now done in
1588 display-buffer-below-selected.
1589
ed3af8a7 15902013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1591
1592 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1593 xterm-rgb-convert-to-16bit.
1594 (rxvt-register-default-colors): Standardize with
1595 xterm-register-default-colors (Bug#14078).
1596
76da3455
DK
15972013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1598
1599 * simple.el (kill-region): Pass mark first, then point, so that
1600 kill-append works right (Bug#12819).
1601 (copy-region-as-kill, kill-ring-save): Likewise.
1602
2b84d763
LL
16032013-12-17 Leo Liu <sdl.web@gmail.com>
1604
1605 * net/rcirc.el (rcirc-add-face):
1606 * eshell/em-prompt.el (eshell-emit-prompt):
1607 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1608 (Bug#16167)
1609
e2f6a0bc
CY
16102013-12-17 Chong Yidong <cyd@gnu.org>
1611
1612 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1613 Suggested by Xue Fuqiao.
1614
35b249a6
DG
16152013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1616
1617 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1618
e9145444
SM
16192013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1620
1621 * net/shr.el (shr-insert-document): Remove unused var
1622 `shr-preliminary-table-render'.
1623 (shr-rescale-image): Remove unused arg `force'.
1624 (shr-put-image): Update calls accordingly.
1625 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1626
5556c0ce
DG
16272013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1628
1629 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1630 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1631 :close-all, to see which indentation method to use (Bug#16116).
1632 (smie-rules-function): Document the method :close-all.
1633
11bade0a
LMI
16342013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1635
1c4b1e61
LMI
1636 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1637
11bade0a
LMI
1638 * net/eww.el (eww-display-html): If we can't find the anchor we're
1639 looking for, then go to point-min.
1640
8fb8c4f3
PE
16412013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1642
1643 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1644 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1645 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1646 Expand dir too, in case it's relative.
1647
6c8e0ae6
JL
16482013-12-16 Juri Linkov <juri@jurta.org>
1649
1650 * desktop.el (desktop-auto-save-timeout): Change default to
1651 `auto-save-timeout'. Doc fix.
1652 (desktop-save): Skip the timestamp in desktop-saved-frameset
1653 when checking for auto-save changes.
1654 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1655 `desktop-auto-save' is called repeatedly by the idle timer.
1656 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1657 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1658 (Bug#15331)
1659
2178e858
JL
16602013-12-16 Juri Linkov <juri@jurta.org>
1661
1662 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1663 (Bug#16035)
1664 (isearch-pre-command-hook): Check `this-command' for symbolp.
1665
39cb42c6
SM
16662013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1667
1668 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1669
5b9b750a
TZ
16702013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1671
1672 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1673 (cfengine3--current-function): Bring in the current-function
1674 functionality from `cfengine3--current-word'.
1675 (cfengine3-completion-function): Bring in the
1676 bounds-of-current-word functionality from
1677 `cfengine3--current-word'.
1678
d144ef06
MR
16792013-12-16 Martin Rudalics <rudalics@gmx.at>
1680
39cb42c6
SM
1681 * window.el (display-buffer-below-selected):
1682 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 1683
a8bbe298
LL
16842013-12-16 Leo Liu <sdl.web@gmail.com>
1685
1686 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1687 Remove NOMSG arg and all uses changed.
1688
2013a2f9
SM
16892013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1690
1691 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1692 (cua--deactivate-rectangle): Don't deactivate the mark.
1693 (cua-set-rectangle-mark): Don't set mark-active since
1694 cua--activate-rectangle already does it for us.
1695 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1696 non-rectangular region.
1697
1698 * emulation/cua-base.el (cua-repeat-replace-region):
1699 Use with-current-buffer.
1700
1701 * net/gnutls.el: Use cl-lib.
1702 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1703
5ae811dd
TZ
17042013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1705
1706 * emacs-lisp/package.el (package-built-in-p): Support both
1707 built-in and the package.el converted package descriptions.
1708 (package-show-package-list): Allow keywords.
1709 (package-keyword-button-action): Use it instead of
1710 `finder-list-matches'.
1711 (package-menu-filter-interactive): Interactive filtering (by
1712 keyword) function.
1713 (package-menu--generate): Support keywords and change keymappings
1714 and headers when they are given.
1715 (package--has-keyword-p): Helper function.
1716 (package-menu--refresh): Use it.
1717 (package--mapc): Helper function.
1718 (package-all-keywords): Use it.
1719 (package-menu-mode-map): Set up menu items and keybindings to
1720 provide a filtering UI.
1721
31b4827e
TZ
17222013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1723
1724 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1725 the behavior when a certificate fails validation. Defaults to
1726 old behavior: never abort, just warn.
1727 (gnutls-negotiate): Use it.
1728
f93cc74f
MR
17292013-12-14 Martin Rudalics <rudalics@gmx.at>
1730
1731 * window.el (display-buffer-below-selected): Never split window
1732 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1733
f77d7d17
TW
17342013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1735
1736 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1737 (package-buffer-info): Use it (bug#15108).
aa2bddd7 1738
7514d3f8
SM
17392013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1740
aa2bddd7 1741 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 1742 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 1743
276bc333
DG
17442013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1745
1746 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1747 open-paren tokens when preceded by a open-paren, too.
1748 (ruby-smie-rules): Handle virtual indentation after open-paren
1749 tokens specially. If there is code between it and eol, return the
1750 column where is starts (Bug#16118).
1751
d43957f3
TZ
17522013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1753
a5c1ac0c 1754 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 1755 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
1756 (cfengine3--current-word): Fix parameters.
1757 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
1758 (cfengine3-completion-function, cfengine3--current-function):
1759 Use `assq' for symbols.
d43957f3
TZ
1760 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1761
06a4f110
GM
17622013-12-13 Glenn Morris <rgm@gnu.org>
1763
1764 * loadup.el (load-path): Warn if site-load or site-init changes it.
1765 No more need to reset it when bootstrapping.
1766
978a5fda
TZ
17672013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1768
1769 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1770 locations for cf-promises.
1771 (cfengine-mode-syntax-functions-regex): New caching variable.
1772 (cfengine3-fallback-syntax): Fallback syntax for cases where
1773 cf-promises doesn't run.
1774 (cfengine3--current-word): Reimplement using
1775 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
1776 (cfengine3-completion-function, cfengine3--current-function):
1777 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
1778 (cfengine3-clear-syntax-cache): New function.
1779 (cfengine3-make-syntax-cache): Simplify and create
1780 `cfengine-mode-syntax-functions-regex' on demand.
1781 (cfengine3-format-function-docstring): Don't call
1782 `cfengine3-make-syntax-cache' explicitly.
1783
71e6691e
MR
17842013-12-13 Martin Rudalics <rudalics@gmx.at>
1785
1786 Fix windmove-find-other-window broken after pixelwise resizing
1787 (Bug#16017).
1788 * windmove.el (windmove-other-window-loc): Revert change from
1789 2013-12-04.
1790 (windmove-find-other-window): Call window-in-direction.
1791 * window.el (window-in-direction): New arguments SIGN, WRAP and
1792 MINI to emulate original windmove-find-other-window behavior.
1793
84c73ba0
DG
17942013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1795
1796 * simple.el (blink-matching--overlay): New variable.
1797 (blink-matching-open): Instead of moving point, highlight the
1798 matching paren with an overlay
1799 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1800
1801 * faces.el (paren-showing-faces, show-paren-match)
1802 (show-paren-mismatch): Move from paren.el.
1803
b9e20952
LL
18042013-12-13 Leo Liu <sdl.web@gmail.com>
1805
1806 * indent.el (indent-region): Disable progress reporter in
1807 minibuffer. (Bug#16108)
1808
1809 * bindings.el (visual-order-cursor-movement): Fix version.
1810
ce030451
FEG
18112013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1812
1813 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1814 Also match after beginning of line.
1815 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 1816 files. Thanks to Russell Sim. (Bug#15378)
ce030451 1817
4a9c6865
JL
18182013-12-13 Juri Linkov <juri@jurta.org>
1819
1820 * simple.el <Keypad support>: Remove key bindings duplicated
1821 with bindings.el. (Bug#14397)
1822
2bc170c3
JL
18232013-12-13 Juri Linkov <juri@jurta.org>
1824
1825 * comint.el (comint-mode-map): Replace `delete-char' with
1826 `delete-forward-char'. (Bug#16109)
1827
bc9222c9
FEG
18282013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1829
aa2bddd7 1830 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 1831 Fix de-denters cornercase. (Bug#15731)
bc9222c9 1832
cb3a1380
SM
18332013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1834
1835 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1836 (advice--make): Pay attention to `depth'.
1837 (advice--make-1): Don't autoload commands eagerly.
1838 * emacs-lisp/elp.el (elp-instrument-function):
1839 * emacs-lisp/trace.el (trace-function-internal):
1840 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1841
1842 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1843
01633a17
EZ
18442013-12-12 Eli Zaretskii <eliz@gnu.org>
1845
1846 * term/w32-win.el (w32-handle-dropped-file):
1847 * startup.el (normal-top-level):
1848 * net/browse-url.el (browse-url-file-url):
1849 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1850 decode file names using 'utf-8' rather than
1851 file-name-coding-system.
1852
09faee72
FEG
18532013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1854
1855 * progmodes/python.el (python-indent-context)
1856 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 1857 behavior for comment blocks. (Bug#15916)
09faee72 1858
f4f84024 18592013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 1860
cb3a1380
SM
1861 * progmodes/python.el (python-indent-calculate-indentation):
1862 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
1863 operators when they are just string constituents. (Bug#15812)
1864
d5ccb7be
JL
18652013-12-12 Juri Linkov <juri@jurta.org>
1866
1867 * uniquify.el (uniquify-buffer-name-style): Change default to
1868 `post-forward-angle-brackets'.
1869
1870 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1871 `uniquify'. Change default to `post-forward-angle-brackets'.
1872
7b3f5679
GM
18732013-12-11 Glenn Morris <rgm@gnu.org>
1874
1875 * emacs-lisp/package.el (finder-list-matches):
1876 Autoload rather than falsely declaring.
1877
f4fe8fdd
TZ
18782013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1879
1880 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1881 (eww-mode-map): Use them.
1882
3c29190f
MR
18832013-12-11 Martin Rudalics <rudalics@gmx.at>
1884
1885 * window.el (display-buffer-in-side-window): Fix doc-string
1886 (Bug#16115).
1887
0cd616a2
JB
18882013-12-11 Juanma Barranquero <lekktu@gmail.com>
1889
1890 * vc/vc-git.el: Silence byte-compiler warnings.
1891 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1892 (log-edit-set-header): Declare.
1893
3ef8e0d1
EZ
18942013-12-11 Eli Zaretskii <eliz@gnu.org>
1895
1896 * Makefile.in (custom-deps, finder-data): Run output file names
1897 through unmsys--file-name. (Bug#16099)
1898
afdadaf7
SM
18992013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1900
7ae3ae39 1901 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 1902 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 1903
5b4f37ab
SM
1904 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1905 instead of deleting the selection "by hand" (bug#16098).
1906 Rely on insert-for-yank to yank rectangles.
1907 (cua-highlight-region-shift-only): Mark obsolete.
1908 (cua-mode): Don't enable/disable transient-mark-mode,
1909 shift-select-mode (cua-mode works both with and without them), and
1910 pc-selection-mode (obsolete).
1911 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1912 (cua--deactivate-rectangle): Deactivate it.
1913
4b72c12b
SM
1914 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1915 (delete-selection-helper): Make sure yank starts at the top of the
1916 deleted region.
1917 (minibuffer-keyboard-quit): Use region-active-p.
1918
e82af72d
SM
1919 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1920
afdadaf7
SM
1921 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1922 to `delete' (bug#16109).
1923
ed4bc201
RS
19242013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1925
1926 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1927 info manual and show keybindings and set `:group' keyword.
1928
bb8097b9
JL
19292013-12-11 Juri Linkov <juri@jurta.org>
1930
1931 * delsel.el (delete-active-region): Let-bind `this-command'
1932 to prevent `kill-region' from changing its original value.
1933 (delete-selection-helper): Handle `overwrite-mode' for the type
1934 `kill' exactly the same way as for the type `t'.
1935 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1936 Support more commands. (Bug#13312)
1937
c1916ff5
JL
19382013-12-11 Juri Linkov <juri@jurta.org>
1939
1940 * bindings.el: Map kp keys to non-kp keys systematically
1941 with basic modifiers control, meta and shift. (Bug#14397)
1942
7514d3f8 19432013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
1944
1945 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1946 "Close browser" menu items. Fix wrong function of "List
1947 bookmarks".
1948
4cc51eaf
JL
19492013-12-11 Juri Linkov <juri@jurta.org>
1950
1951 * misearch.el (multi-isearch-buffers): Set the value of
1952 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1953 arg of isearch-forward to t.
1954 (multi-isearch-buffers-regexp): Set the value of
1955 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1956 arg of isearch-forward-regexp to t.
1957 (multi-isearch-files): Set the value of
1958 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1959 arg of isearch-forward to t.
1960 (multi-isearch-files-regexp): Set the value of
1961 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1962 arg of isearch-forward-regexp to t. (Bug#16035)
1963
1964 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1965 arg of isearch-forward to t.
1966 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1967 arg of isearch-forward-regexp to t.
1968 (dired-isearch-filter-filenames): Remove unnecessary check for
1969 `dired-isearch-filenames'.
1970
1971 * comint.el (comint-history-isearch-backward):
1972 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1973 (comint-history-isearch-backward-regexp):
1974 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1975
ceac12b7
EZ
19762013-12-10 Eli Zaretskii <eliz@gnu.org>
1977
1978 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1979 unmsys--file-name. (Bug#16099)
1980
5a565782
TZ
19812013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1982
cb3a1380
SM
1983 * emacs-lisp/package.el (package-keyword-button-action):
1984 Remove finder.el require dependency.
5a565782 1985
a81fc7ba
TZ
19862013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1987
1988 * emacs-lisp/package.el: Require finder.el.
1989 (describe-package-1): Add keyword buttons.
1990 (package-make-button): New convenience function.
1991 (package-keyword-button-action): Keyword button action using
e0eb0550 1992 `finder-list-matches'.
a81fc7ba 1993
6aaca951
EZ
19942013-12-09 Eli Zaretskii <eliz@gnu.org>
1995
1996 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1997 last commit.
1998
a1099a91
MA
19992013-12-09 Michael Albinus <michael.albinus@gmx.de>
2000
2001 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2002 symlinked files.
2003
8212d9c0
DG
20042013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2005
2006 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2007 after the end of a percent literal.
2008
8f48d131
CD
20092013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2010
cb3a1380
SM
2011 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2012 Handle caret-delimited strings (Bug#16079).
8f48d131 2013
ff8c9764
DG
20142013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2015
cb3a1380
SM
2016 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2017 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
2018 `ruby-parse-partial' (Bug#16078).
2019
d64643b4
LL
20202013-12-09 Leo Liu <sdl.web@gmail.com>
2021
2022 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2023
47e59c66
DG
20242013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2025
2026 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2027 (js-switch-indent-offset): New option.
2028 (js--proper-indentation): Use it. And handle the case when
2029 "default" is actually a key in an object literal.
2030 (js--same-line): New function.
2031 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
2032 (js--indent-in-array-comp, js--array-comp-indentation):
2033 New functions.
47e59c66
DG
2034 (js--proper-indentation): Use them, to handle array comprehension
2035 continuations.
2036
974ebc9c
LL
20372013-12-08 Leo Liu <sdl.web@gmail.com>
2038
2039 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2040 (flymake-make-overlay): Remove arg MOUSE-FACE.
2041 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2042
27262e39
SM
20432013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2044
2045 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2046 New function.
2047 (redisplay-highlight-region-function): Use it.
2048
2049 * emulation/cua-base.el (cua--explicit-region-start)
2050 (cua--last-region-shifted): Remove.
2051 (cua--deactivate): Use deactivate-mark.
2052 (cua--pre-command-handler-1): Don't handle shift-selection.
2053 (cua--post-command-handler-1): Don't change transient-mark-mode.
2054 (cua--select-keymaps): Use region-active-p rather than
2055 cua--explicit-region-start or cua--last-region-shifted.
2056 (cua-mode): Enable shift-select-mode.
2057
6407822c
LL
20582013-12-08 Leo Liu <sdl.web@gmail.com>
2059
27262e39
SM
2060 * progmodes/flymake.el (flymake-popup-current-error-menu):
2061 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
2062 (flymake-posn-at-point-as-event, flymake-popup-menu)
2063 (flymake-make-emacs-menu): Remove. (Bug#16077)
2064
00a2b823
SM
20652013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2066
02033d49
SM
2067 * rect.el (rectangle-mark-mode): Activate mark even if
2068 transient-mark-mode is off (bug#16066).
2069 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2070 is > mark and at bolp.
2071
6f8dfccf
SM
2072 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2073 (region-extract-function): Use it.
2074 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2075 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2076 Delete functions.
2077 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2078 kill-ring-save, kill-region, delete-char, delete-forward-char.
2079 Ignore self-insert-iso.
2080
2081 * emulation/cua-gmrk.el (cua--init-global-mark):
2082 Ignore `self-insert-iso'.
2083
2084 * emulation/cua-base.el (cua--prefix-copy-handler)
2085 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2086 checking cua--rectangle.
2087 (cua-delete-region): Use region-extract-function.
2088 (cua-replace-region): Delete function.
2089 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2090 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2091 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2092 (cua--init-keymaps): Don't remap delete-selection commands.
2093 (cua-mode): Use delete-selection-mode instead of rolling our own
2094 (bug#16085).
2095
2096 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2097 Obey region-extract-function.
2098
00a2b823
SM
2099 Make registers and delete-selection-mode work on rectangles.
2100 * register.el (describe-register-1): Don't modify the register's value.
2101 (copy-to-register): Obey region-extract-function.
2102 * delsel.el (delete-active-region): Obey region-extract-function.
2103
a92fa5f1
LL
21042013-12-08 Leo Liu <sdl.web@gmail.com>
2105
2106 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2107 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2108 (flymake-compilation-prevents-syntax-check)
2109 (flymake-start-syntax-check-on-newline)
2110 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2111 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2112 (flymake-xml-program, flymake-master-file-dirs)
2113 (flymake-master-file-count-limit)
2114 (flymake-allowed-file-name-masks): Relocate.
2115 (flymake-makehash, flymake-float-time)
2116 (flymake-replace-regexp-in-string, flymake-split-string)
2117 (flymake-get-temp-dir): Remove.
2118 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2119 (flymake-current-row, flymake-selected-frame)
2120 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2121 related functions. (Bug#16077)
2122
73c8ceea
BB
21232013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2124
2125 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2126
faec28d9
TH
21272013-12-07 Tassilo Horn <tsdh@gnu.org>
2128
2129 * help-fns.el (describe-function-1): Use new advice-* functions
2130 rather than old ad-* functions. Fix function type description and
2131 source links for advised functions and subrs.
2132
e330b646
LMI
21332013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2134
00a2b823 2135 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 2136
4803595d
MA
21372013-12-06 Michael Albinus <michael.albinus@gmx.de>
2138
2139 * progmodes/compile.el (compilation-start):
2140 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2141
2142 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2143 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2144
fa834a93
DG
21452013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2146
00a2b823
SM
2147 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2148 Touch up the last change.
fa834a93 2149
b2856a6f
LL
21502013-12-06 Leo Liu <sdl.web@gmail.com>
2151
2152 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2153 (inferior-octave-startup): Always use "octave> " for prompt.
2154 (octave-goto-function-definition)
2155 (octave-sync-function-file-names)
2156 (octave-find-definition-default-filename): Remove redundant backquotes.
2157
af67e79a
DG
21582013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2159
2160 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2161 syntax for `?'.
2162 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2163 where appropriate already.
2164 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2165 end of method names (Bug#15874).
2166
bf093209
JL
21672013-12-06 Juri Linkov <juri@jurta.org>
2168
2169 * isearch.el (isearch--saved-overriding-local-map):
2170 New internal variable.
2171 (isearch-mode): Set it to the initial value of
2172 `overriding-terminal-local-map'.
2173 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2174 with `isearch--saved-overriding-local-map'. (Bug#16035)
2175
16588fad
DG
21762013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2177
00a2b823
SM
2178 * progmodes/octave.el (inferior-octave-completion-table):
2179 Turn back into function, use `completion-table-with-cache'
16588fad
DG
2180 (Bug#11906). Update all references.
2181
2182 * minibuffer.el (completion-table-with-cache): New function.
2183
bf4906d7
CD
21842013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2185
2186 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2187
ff69c18f
TZ
21882013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2189
2190 * net/eww.el (eww-current-source): New variable to store page
2191 source.
2192 (eww-display-html, eww-mode, eww-save-history)
2193 (eww-restore-history): Use it.
2194 (eww-view-source): New command to view page source.
2195 Opportunistically uses `html-mode' to highlight the buffer.
2196 (eww-mode-map): Install it.
2197
b85eff45
MA
21982013-12-05 Michael Albinus <michael.albinus@gmx.de>
2199
2200 * net/dbus.el (dbus-unregister-service)
2201 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2202 Fix docstring.
2203 (dbus-unregister-service): Skip :serial entries in
2204 `dbus-registered-objects-table'.
2205 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2206
39eb0899
TZ
22072013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2208
2209 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2210 around keywords with extra `split-string' argument.
2211
456760a5
MR
22122013-12-04 Martin Rudalics <rudalics@gmx.at>
2213
2214 * windmove.el (windmove-other-window-loc): Handle navigation
2215 between windows (excluding the minibuffer window - Bug#16017).
2216
81961e4c
MA
22172013-12-04 Michael Albinus <michael.albinus@gmx.de>
2218
2219 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2220 in D-Bus type syntax.
2221 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2222 preserve unibyte strings. (Bug#16048)
2223
8497f938
SM
22242013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2225
2226 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2227 Call force-mode-line-update is the proper buffer (bug#16042).
2228
dda61916
DG
22292013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2230
2231 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2232 `log-edit-remember-comment', make argument optional. Adjust all
2233 callers.
2234 (log-edit-mode): Add `log-edit-remember-comment' to
2235 `kill-buffer-hook' locally.
2236 (log-edit-kill-buffer): Don't remember comment explicitly since
2237 the buffer is killed anyway.
2238
c085e5b9
JL
22392013-12-04 Juri Linkov <juri@jurta.org>
2240
2241 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2242 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2243
e0eb0550 22442013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
2245
2246 * notifications.el (notifications-close-notification): Call the
81961e4c 2247 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 2248
39fa32d6
KY
22492013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2250
2251 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2252
9139632a
JL
22532013-12-03 Juri Linkov <juri@jurta.org>
2254
2255 * progmodes/compile.el (compilation-start): Rename window alist
2256 entry `no-display-ok' to `allow-no-window'.
2257
2258 * simple.el (shell-command): Add window alist entry
2259 `allow-no-window' to `display-buffer'.
2260 (async-shell-command): Doc fix.
2261
2262 * window.el (display-buffer-no-window): New action function.
2263 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2264
0f457a37
DG
22652013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2266
2267 * vc/log-edit.el (log-edit-set-header): Extract from
2268 `log-edit-toggle-header'.
2269 (log-edit-extract-headers): Separate the summary, when extracted
2270 from header, from the rest of the message with an empty line.
2271
2272 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2273 line, if present, to the Summary header.
2274
0962f376
SM
22752013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2276
2277 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2278 in current-buffer (bug#16029).
2279
f345395c
HE
22802013-12-02 Helmut Eller <eller.helmut@gmail.com>
2281
2282 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2283 (debugger-mode-map): Bind it.
2284 (debugger--backtrace-base): New function.
2285 (debugger-eval-expression): Use it.
2286 (debugger-frame-number): Skip local vars when present.
2287 (debugger--locals-visible-p, debugger--insert-locals)
2288 (debugger--show-locals, debugger--hide-locals): New functions.
2289
a8a15d9d
MA
22902013-12-02 Michael Albinus <michael.albinus@gmx.de>
2291
2292 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2293 "LC_ALL".
2294 (tramp-get-remote-locale): New defun.
2295 (tramp-open-connection-setup-interactive-shell): Use it.
2296
0518b057
LL
22972013-12-02 Leo Liu <sdl.web@gmail.com>
2298
2299 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2300
2301 * progmodes/sh-script.el (sh-shell-process):
2302 * progmodes/octave.el (inferior-octave-process-live-p):
2303 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2304 (gdb-inferior-io-sentinel):
2305 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2306
3adc9c6d
DG
23072013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2308
2309 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2310 `save-selected-window' to `log-edit-hide-buf'. This makes
2311 `log-edit-show-files' idempotent.
2312 (log-edit-show-files): Mark the new window as dedicated.
2313
47e8b74e
DG
23142013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2315
2316 * vc/log-edit.el (log-edit-mode-map): Add binding for
2317 `log-edit-kill-biffer'.
2318 (log-edit-hide-buf): Add a FIXME comment.
2319 (log-edit-add-new-comment): New function, extracted from
2320 `log-edit-done'.
2321 (log-edit-done, log-edit-add-to-changelog): Use it.
2322 (log-edit-kill-buffer): New command.
2323
1f6e1bb0
LMI
23242013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2325
2326 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2327 instead of killing the buffer.
2328
fb651d15
SM
23292013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2330
2331 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2332
8feacce0
RS
23332013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2334
fb651d15 2335 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 2336 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
2337 (eww-form-checkbox, eww-toggle-checkbox):
2338 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2339
e0eb0550 2340 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 2341 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 2342 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
2343 no :src tag was specified.
2344
fb651d15 2345 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
2346 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2347 Use \\` to match beginning of string instead of ^.
2348 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 2349 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 2350
177948a5
RS
2351 * net/shr.el (shr-tag-video): Display content for video if no
2352 poster is available.
eb2dd24d 2353 (shr-tag-audio): Add support for <audio> tag.
177948a5 2354
e0eb0550 2355 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
2356 (eww-process-text-input): Treat input types in
2357 `eww-text-input-types' as text.
2358
8feacce0
RS
2359 * net/shr.el (shr-tag-table): Fix comment typo.
2360
513562a1
LMI
23612013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2362
2363 * net/eww.el (eww-follow-link): New command to avoid reloading
2364 pages when we follow #target links (bug#15243).
de8a5633 2365 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 2366
9dd99753
KN
23672013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2368
2369 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2370 forms.
2371
3e9876de
LMI
23722013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2373
2374 * net/eww.el (eww-restore-history): Update the window title after
2375 moving in the history.
ab6dea82 2376 (eww-current-dom): New variable used to save the current DOM.
3e9876de 2377
52789f7f
DG
23782013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2379
2380 * vc/log-edit.el (log-edit-mode-map): Add binding for
2381 `log-edit-beginning-of-line'.
2382 (log-edit-setup-add-author): New user option.
2383 (log-edit-beginning-of-line): New command.
2384 (log-edit): Move major mode call above the contents setup so that
2385 the local variable values are already applied.
2386 (log-edit): Only insert "Author: " when
2387 `log-edit-setup-add-author' is non-nil.
2388 (log-edit): When SETUP is non-nil, position point after ": "
2389 instead of point-min.
2390
2e6710c3
GM
23912013-12-01 Glenn Morris <rgm@gnu.org>
2392
2393 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2394
fadec31f
EZ
23952013-11-30 Eli Zaretskii <eliz@gnu.org>
2396
2397 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 2398 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
2399 visible. (Bug#16014)
2400
10634b40 24012013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
2402
2403 Support resizing frames and windows pixelwise.
2404 * cus-start.el (frame-resize-pixelwise)
2405 (window-resize-pixelwise): New entries.
2406 * emacs-lisp/debug.el (debug): Use window-total-height instead
2407 of window-total-size.
2408 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2409 * help.el (describe-bindings-internal): Call help-buffer
2410 (temp-buffer-max-width): New option.
2411 (resize-temp-buffer-window, help-window-setup)
2412 (with-help-window): Rewrite.
2413 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2414 dragging dividers.
2415 * window.el (frame-char-size, window-min-pixel-height)
2416 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2417 (window-min-pixel-width, window-safe-min-pixel-size)
2418 (window-combination-p, window-safe-min-size)
2419 (window-resizable-p, window--size-to-pixel)
2420 (window--pixel-to-size, window--resize-apply-p): New functions.
2421 (window-safe-min-height): Fix doc-string.
2422 (window-size, window-min-size, window--min-size-1)
2423 (window-sizable, window-sizable-p, window--min-delta-1)
2424 (window-min-delta, window--max-delta-1, window-max-delta)
2425 (window--resizable, window--resizable-p, window-resizable)
2426 (window-full-height-p, window-full-width-p, window-at-side-p)
2427 (window--in-direction-2, window-in-direction)
2428 (window--resize-reset-1, window--resize-mini-window)
2429 (window-resize, window-resize-no-error)
2430 (window--resize-child-windows-normal)
2431 (window--resize-child-windows, window--resize-siblings)
2432 (window--resize-this-window, window--resize-root-window)
2433 (window--resize-root-window-vertically)
2434 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2435 (maximize-window, minimize-window, delete-window)
2436 (quit-restore-window, window-split-min-size, split-window)
2437 (balance-windows-2, balance-windows)
2438 (balance-windows-area-adjust, balance-windows-area)
2439 (window--state-get-1, window-state-get, window--state-put-1)
2440 (window--state-put-2, window-state-put)
fb651d15
SM
2441 (display-buffer-record-window, window--display-buffer):
2442 Make functions handle pixelwise sizing of windows.
880e6158 2443 (display-buffer--action-function-custom-type)
fb651d15
SM
2444 (display-buffer-fallback-action):
2445 Add display-buffer-in-previous-window.
880e6158
MR
2446 (display-buffer-use-some-window): Resize window to height it had
2447 before.
2448 (fit-window-to-buffer-horizontally): New option.
2449 (fit-frame-to-buffer): Describe new values.
2450 (fit-frame-to-buffer-bottom-margin): Replace with
2451 fit-frame-to-buffer-margins.
2452 (window--sanitize-margin): New function.
2453 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2454 using window-text-pixel-size.
2455
f9b697dd
GM
24562013-11-30 Glenn Morris <rgm@gnu.org>
2457
3e2fb4db
GM
2458 * emacs-lisp/bytecomp.el (byte-compile-form):
2459 Make the `interactive-only' warning like the `obsolete' one.
2460 * comint.el (comint-run):
2461 * files.el (insert-file-literally, insert-file):
2462 * replace.el (replace-string, replace-regexp):
2463 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2464 (goto-line, insert-buffer, next-line, previous-line):
2465 Tweak `interactive-only' spec.
2466
f9b697dd
GM
2467 Stop keeping (most) generated cedet grammar files in the repository.
2468 * Makefile.in (semantic): New.
2469 (compile-main): Depend on semantic.
2470
da048127
SM
24712013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2472
7784b779
SM
2473 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2474 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2475
4e36a6a6
SM
2476 * uniquify.el (uniquify-buffer-name-style): Change default.
2477
2478 * loadup.el: Preload "uniquify".
2479
e0ba1308
SM
2480 * time.el (display-time-update): Update all mode lines (bug#15999).
2481
da048127
SM
2482 * electric.el (electric-indent-mode): Enable by default.
2483 * loadup.el: Preload "electric".
2484
015b3b3e
BB
24852013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2486
2487 * emacs-lisp/helpers.el (string-empty-p): New function.
2488 (string-blank-p): New function.
2489
7efb806d
AP
24902013-11-29 Andreas Politz <politza@hochschule-trier.de>
2491
2492 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2493 (Bug#14029).
2494
c8f0efc2
AP
24952013-11-29 Andreas Politz <politza@fh-trier.de>
2496 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2497 allow non-lambda lists as functions.
2498 (imenu--in-alist): Don't recurse into non-subalists.
2499 (imenu): Don't pass function itself as an argument (Bug#14029).
2500
bd15d9d1
SM
25012013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2502
2503 * progmodes/python.el (python-mode-map): Remove binding for ":".
2504 (python-indent-electric-colon): Remove command.
2505 (python-indent-post-self-insert-function): Integrate the previous code
2506 of python-indent-electric-colon. Make it conditional on
2507 electric-indent-mode.
2508 (python-mode): Add ?: to electric-indent-chars.
2509 Move python-indent-post-self-insert-function to the end of
2510 post-self-insert-hook.
2511
1b10adb6
SM
25122013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2513
655ab9a3
SM
2514 * doc-view.el (doc-view-goto-page): Update mode-line.
2515
1b10adb6
SM
2516 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2517
7e3bf78c
GM
25182013-11-27 Glenn Morris <rgm@gnu.org>
2519
2520 * international/charprop.el, international/uni-bidi.el:
2521 * international/uni-category.el, international/uni-combining.el:
2522 * international/uni-comment.el, international/uni-decimal.el:
2523 * international/uni-decomposition.el, international/uni-digit.el:
2524 * international/uni-lowercase.el, international/uni-mirrored.el:
2525 * international/uni-name.el, international/uni-numeric.el:
2526 * international/uni-old-name.el, international/uni-titlecase.el:
2527 * international/uni-uppercase.el:
2528 Remove generated files from VCS repository.
2529
fb6a5d68
EZ
25302013-11-27 Eli Zaretskii <eliz@gnu.org>
2531
2532 * filenotify.el (file-notify-add-watch): Don't special-case
2533 w32notify when computing the directory to watch.
2534
cb6c95a3
GM
25352013-11-27 Glenn Morris <rgm@gnu.org>
2536
20372d0c
GM
2537 Make bootstrap without generated uni-*.el files possible again.
2538 * loadup.el: Update command-line-args checking for unidata-gen.
2539 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2540 * composite.el, international/characters.el:
2541 Handle unicode tables being undefined.
2542
52d6635f 2543 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
2544 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2545 (compile-main): Depend on leim rule.
2546 (leim): New rule.
2547 * loadup.el: Move leim-list.el to leim/ subdirectory.
2548 * startup.el (normal-top-level): No more leim directory.
2549 * international/ja-dic-cnv.el (skkdic-convert):
2550 Disable version-control and autoloads in output files.
2551 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2552 Disable version-control and autoloads in output files.
2553 * leim/quail: Move here from ../leim.
2554 * leim/quail/hangul.el (hangul-input-method-activate):
2555 Add autoload cookie.
2556 (generated-autoload-load-name): Set file-local value.
2557 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2558 (generated-autoload-load-name): Set file-local value.
2559
7514d3f8 25602013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 2561
e0eb0550 2562 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 2563 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 2564 (eww-quit): Ask confirmation before quitting eww.
e47112ee 2565
0e2c793f
EZ
25662013-11-26 Eli Zaretskii <eliz@gnu.org>
2567
2568 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2569 reading output from Diff on MS-Windows and MS-DOS.
2570
447bdcb8
BB
25712013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2572
2573 * emacs-lisp/helpers.el (string-reverse): New function.
2574
5fbf6856
MA
25752013-11-26 Michael Albinus <michael.albinus@gmx.de>
2576
2577 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2578 names on MS Windows, like "/[::1]:".
2579
2580 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2581 SWITCHES.
2582
624780f0
GM
25832013-11-26 Glenn Morris <rgm@gnu.org>
2584
0bf3f0fa
GM
2585 * progmodes/python.el (python-indent-guess-indent-offset):
2586 Avoid corner-case error. (Bug#15975)
2587
624780f0
GM
2588 Preload leim-list.el. (Bug#4789)
2589 * loadup.el: Load leim-list.el when found.
2590 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2591
4301875e 25922013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
2593
2594 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2595
4301875e
BB
2596 * emacs-lisp/helpers.el (string-join): New function.
2597
1633a815 25982013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
2599
2600 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2601 Mark as obsolete and replace it with a symbol property.
2602 (byte-compile-form): Use new 'interactive-only property.
2603 * comint.el, files.el, replace.el, simple.el:
2604 Apply new 'interactive-only properly.
2605
00139435
MR
26062013-11-25 Martin Rudalics <rudalics@gmx.at>
2607
2608 * window.el (display-buffer-at-bottom): Make sure that
2609 split-window-sensibly creates the new window on bottom
2610 (Bug#15961).
2611
5f5b128d
DK
26122013-11-23 David Kastrup <dak@gnu.org>
2613
2614 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2615 on the conflict markers when available.
2616 (smerge--get-marker): New function.
2617 (smerge-end-re, smerge-base-re): Add subgroup.
2618
623891e5
SM
26192013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2620
2621 * frame.el (handle-focus-in, handle-focus-out): Add missing
2622 interactive spec.
2623
05ca27d8
MA
26242013-11-25 Michael Albinus <michael.albinus@gmx.de>
2625
2626 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2627 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2628
511fa0d3
SM
26292013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2630
e82ad66c
SM
2631 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2632 (gomoku--last-pos): New var.
2633 (gomoku--intangible-chars): New const.
2634 (gomoku--intangible): New function.
2635 (gomoku-mode): Use it. Derive from special-mode.
2636 (gomoku-move-up): Adjust line count.
2637 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2638 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2639 Simplify accordingly.
2640
511fa0d3
SM
2641 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2642 Remove blink-cursor code.
2643 (blink-cursor-timer-function, blink-cursor-suspend):
2644 Don't special-case GUIs.
2645 (blink-cursor-mode): Use focus-in/out-hook.
2646
6f20dd03
DG
26472013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2648
2649 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2650 work when annotation is invisible (Bug#13886).
2651
431dec31 26522013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
2653
2654 * json.el (json-alist-p): Only return non-nil if the alist has
2655 simple keys (Bug#13518).
2656
431dec31 26572013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
2658
2659 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2660 when control-statement is the first statement in a buffer (Bug#15956).
2661
ee4f0261
DG
26622013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2663
2664 * imenu.el (imenu-generic-skip-comments-and-strings):
2665 New option (Bug#15560).
2666 (imenu--generic-function): Use it.
2667
c484f866
JS
26682013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2669
e9dc713d
JB
2670 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2671 (Bug#13898)
c484f866 2672
41ce6f70
BB
26732013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2674
b55aea38
BB
2675 * emacs-lisp/helpers.el: Add some string helpers.
2676 (string-trim-left): Removes leading whitespace.
2677 (string-trim-right): Removes trailing whitespace.
2678 (string-trim): Removes leading and trailing whitespace.
2679
41ce6f70
BB
2680 * subr.el (string-suffix-p): New function.
2681
3cfb6af3
GM
26822013-11-23 Glenn Morris <rgm@gnu.org>
2683
2684 * progmodes/python.el (python-shell-send-file):
2685 Add option to delete file when done. (Bug#15647)
2686 (python-shell-send-string, python-shell-send-region): Use it.
2687
c27924b7
IS
26882013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2689
e1b01c7f
IS
2690 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2691 to set buffer-read-only to t, never to nil. (Bug#15938)
2692
c27924b7
IS
2693 * textmodes/tex-mode.el (latex-noindent-environments):
2694 Add safe-local-variable property. (Bug#15936)
2695
17e0445b
GM
26962013-11-23 Glenn Morris <rgm@gnu.org>
2697
92f78ea3
GM
2698 * textmodes/enriched.el (enriched-mode): Doc fix.
2699 * emacs-lisp/authors.el (authors-renamed-files-alist):
2700 Add enriched.doc -> enriched.txt.
2701
17e0445b
GM
2702 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2703
965bb23a
LL
27042013-11-22 Leo Liu <sdl.web@gmail.com>
2705
2706 * progmodes/octave.el (inferior-octave-startup): Spit out error
2707 message.
2708
d19ffd64
BB
27092013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2710
2711 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2712 Improve docstring.
15ba2182
BB
2713 Add :version.
2714 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 2715
7a7567d2
LL
27162013-11-22 Leo Liu <sdl.web@gmail.com>
2717
2718 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2719 (Bug#15076)
8c09f64b
LL
2720 (octave-help-mode): Adapt to change to help-mode-finish to use
2721 derived-mode-p on 2013-09-17.
2722 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 2723 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 2724
724bc265
LL
27252013-11-22 Leo Liu <sdl.web@gmail.com>
2726
2727 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2728 (inferior-octave-startup, inferior-octave-check-process)
2729 (inferior-octave-track-window-width-change)
2730 (octave-completion-at-point, octave-eldoc-function): Use it.
2731 (octave-kill-process): Provide confirmation. (Bug#10564)
2732
38637cca
LL
27332013-11-21 Leo Liu <sdl.web@gmail.com>
2734
511fa0d3
SM
2735 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2736 Fix obsolete variable comment-use-global-state.
38637cca 2737
06e752b4
RS
27382013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2739
511fa0d3
SM
2740 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2741 Add `octave-source-file'.
06e752b4
RS
2742 (octave-source-file): New function. (Bug#15935)
2743
7514d3f8 27442013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
2745
2746 * net/eww.el (eww-local-regex): New variable.
2747 (eww): Use it to detect localhost and similar.
2748
b6ffa04a
LL
27492013-11-21 Leo Liu <sdl.web@gmail.com>
2750
2751 Add completion for command `ag'.
2021a200
LL
2752 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2753 (pcomplete/ag): New function.
e9dc713d 2754 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 2755
d1a6bccc
SM
27562013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2757
2758 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2759 (bug#14646).
2760 (make-obsolete): Remove interactive spec.
2761
2df10228
GM
27622013-11-21 Glenn Morris <rgm@gnu.org>
2763
2764 * startup.el (command-line-1): Use path-separator with -L.
2765
86fd16b6
TZ
27662013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2767
2768 * emacs-lisp/package.el (describe-package-1): Add package archive
2769 to shown fields.
2770
0449d6cd 27712013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
2772
2773 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2774 Change default to "# encoding: %s" to differentiate it from the
2775 default Ruby encoding comment template.
2776
dc7e8c17 27772013-11-20 era eriksson <era+emacsbugs@iki.fi>
2778
2779 * ses.el (ses-mode): Doc fix. (Bug#14748)
2780
f0cfa5fe
LL
27812013-11-20 Leo Liu <sdl.web@gmail.com>
2782
2783 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2784
826dc7b6
DN
27852013-11-19 Dan Nicolaescu <dann@gnu.org>
2786
2787 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2788 when rebase or bisect are in progress.
2789
a6e3a5d5
XF
27902013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2791
2792 * filenotify.el (file-notify-add-watch): Doc fix.
2793
f130cb76
LL
27942013-11-19 Leo Liu <sdl.web@gmail.com>
2795
e0855d7d
LL
2796 * obsolete/rcompile.el: Mark obsolete.
2797
f130cb76 2798 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
2799 (compilation-goto-locus, compilation-find-file):
2800 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
2801 (Bug#13594)
2802
2803 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
2804 new parameter no-display-ok. Return either a window or nil
2805 but never a non-window value.
f130cb76 2806
1f35d401
SM
28072013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2808
25158c76
SM
2809 * electric.el (electric-indent-mode-map): Remove.
2810 (electric-indent-mode): Change the global-map instead (bug#15915).
2811
2812 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2813 Use add-function.
1f35d401 2814
9bc67baa
SM
28152013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2816
986545b5
SM
2817 * emacs-lisp/nadvice.el (remove-function): Align with
2818 add-function's behavior.
2819
9bc67baa
SM
2820 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2821 (gdb--string-regexp): New constant.
2822 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2823 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2824 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2825 submatch 1.
2826 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2827 Adjust use accordingly.
2828 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2829
56cd894e
AS
28302013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2831
2832 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2833 interpolation curlies (Bug#15914).
2834
014690de
JB
28352013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2836
2837 * calc/calc.el (calc-context-sensitive-enter): New variable.
2838 (calc-enter): Use `calc-context-sensitive-enter'.
2839
7e26a6c3
TZ
28402013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2841
2842 * progmodes/cfengine.el: Version bump.
2843 (cfengine-cf-promises): New defcustom to locate cf-promises.
2844 (cfengine3-vartypes): Add new "data" type.
2845 (cfengine3--current-word): New function to get current name-like
2846 word or its bounds.
2847 (cfengine3--current-function): New function to look up a CFEngine
2848 function's definition.
2849 (cfengine3-format-function-docstring): New function.
2850 (cfengine3-make-syntax-cache): New function.
2851 (cfengine3-documentation-function): New function: ElDoc glue.
2852 (cfengine3-completion-function): New function: completion glue.
2853 (cfengine3-mode): Set `compile-command',
2854 `eldoc-documentation-function', and add to
2855 `completion-at-point-functions'.
2856
355204dd
MA
28572013-11-16 Michael Albinus <michael.albinus@gmx.de>
2858
2859 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2860 `tramp-current-connection'.
2861
43cebc23
DG
28622013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2863
2864 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2865 nil/self/true/false with "end of symbol".
2866
a3fed6ff
BB
28672013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2868
2869 * subr.el (version-regexp-alist): Fix a typo.
2870
e675b3e4
MA
28712013-11-15 Michael Albinus <michael.albinus@gmx.de>
2872
2873 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2874 "en_US.utf8" and "LC_CTYPE" to "".
2875 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2876 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2877
a1f03e89
LL
28782013-11-15 Leo Liu <sdl.web@gmail.com>
2879
2880 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2881
5d9d9451
SM
28822013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2883
58362662
CS
2884 * progmodes/gud.el (ctl-x-map):
2885 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
2886 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2887
6c1bf086
BB
28882013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2889
0d5363c4
BB
2890 * subr.el (version-regexp-alist):
2891 Recognize hg, svn and darcs versions as snapshot versions.
2892
4e9fc48c
BB
2893 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2894 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2895 (ruby--encoding-comment-required-p): Extract from
2896 `ruby-mode-set-encoding'.
2897 (ruby-mode-set-encoding): Add the ability to always insert an
2898 utf-8 encoding comment. Fix and simplify coding comment update
2899 logic.
6c1bf086 2900
2f7e72f8
MA
29012013-11-14 Michael Albinus <michael.albinus@gmx.de>
2902
2903 * net/tramp-gvfs.el (top): Run init code only when
2904 `tramp-gvfs-enabled' is not nil.
2905 (tramp-gvfs-enabled): Check also :system bus.
2906
0f137a73
SM
29072013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2908
2909 Sync with upstream verilog-mode revision 78e66ba.
2910 * progmodes/verilog-mode.el (verilog-end-of-defun)
2911 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2912 (verilog-get-end-of-defun): Remove unused argument.
2913 (verilog-comment-depth): Remove unused local `e'.
2914 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2915 Don't pass arg to verilog-get-end-of-defun.
2916
1c276bdd
GM
29172013-11-14 Glenn Morris <rgm@gnu.org>
2918
2919 * obsolete/assoc.el (aget): Prefix dynamic variable.
2920
2921 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2922
ff6ec81d
SM
29232013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2924
2925 * widget.el, hfy-cmap.el: Remove bogus package version number.
2926
75f777b6
GM
29272013-11-13 Glenn Morris <rgm@gnu.org>
2928
1d43dba1
GM
2929 * replace.el (replace-eval-replacement):
2930 Try to give more helpful error message. (Bug#15836)
2931
ff4b7bd5
GM
2932 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2933 (archive-7z-update): Avoid custom type mismatches.
2934
75f777b6
GM
2935 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2936
11151a06
MA
29372013-11-13 Michael Albinus <michael.albinus@gmx.de>
2938
e675b3e4 2939 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
2940 address can be empty.
2941
2942 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2943 Accept nil SWITCHES.
2944 (tramp-gvfs-handle-write-region): Implement APPEND.
2945
7b08f97e
DG
29462013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2947
2948 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
2949 binary "|" operator and closing block args delimiter.
2950 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
2951 (ruby-smie--implicit-semi-p): Not after "|" operator.
2952 (ruby-smie--closing-pipe-p): New function.
2953 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2954 (ruby-smie-rules): Indent after "|".
2955
f201cf3a
GM
29562013-11-12 Glenn Morris <rgm@gnu.org>
2957
2958 * ps-print.el (ps-face-attribute-list):
2959 Handle anonymous faces. (Bug#15827)
2960
e6f759f9
MR
29612013-11-12 Martin Rudalics <rudalics@gmx.at>
2962
2963 * window.el (display-buffer-other-frame): Fix doc-string.
2964 (Bug#15868)
2965
ecda65d4
SM
29662013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2967
2968 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2969
7ce8fcc3
MA
29702013-11-11 Michael Albinus <michael.albinus@gmx.de>
2971
2972 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2973 (tramp-sh-handle-file-local-copy): Don't write a message when
2974 saving temporary files.
2975
2976 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2977 both directories are remote.
2978 (tramp-smb-handle-directory-files): Do not return double entries.
2979 Do not expand full file names.
2980 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2981 (tramp-smb-handle-write-region): Implement APPEND.
2982 (tramp-smb-get-stat-capability): Fix a stupid bug.
2983
7818df11
SM
29842013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2985
2986 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2987
608c2085
NT
29882013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2989
2990 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2991 throwing error over malformed let/let* (bug#15814).
2992
122a7e46
SM
29932013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2994
2995 * iswitchb.el (iswitchb-mode): Mark obsolete.
2996
766284d9
GM
29972013-11-11 Glenn Morris <rgm@gnu.org>
2998
2999 * international/uni-bidi.el, international/uni-category.el:
3000 * international/uni-name.el, international/uni-numeric.el:
3001 Regenerate for Unicode 6.3.0.
3002
7072a4e9
MA
30032013-11-10 Michael Albinus <michael.albinus@gmx.de>
3004
3005 * net/tramp.el (tramp-methods):
3006 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3007 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3008
c9df215b
AS
30092013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3010
608c2085
NT
3011 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3012 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 3013
fa47d796
DG
30142013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3015
3016 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 3017 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
3018 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3019 (ispell-complete-word): Call `ispell-lookup-words' with the value
3020 independent of `ispell-look-p'.
3021
1629a329
DG
30222013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3023
3024 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3025 Not after "||".
3026 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3027 their parent.
3028
ad16897c
SM
30292013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3030
3031 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3032 (ruby-font-lock-keywords): Use backquote.
3033
ffa2df72
DG
30342013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3035
3036 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3037 (ruby-smie--backward-token): Only consider full-string matches.
3038
5b97b4c0
JD
30392013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3040
3041 * faces.el (describe-face): Add distant-foreground.
3042
71731c03
BB
30432013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3044
4e9fc48c
BB
3045 * progmodes/ruby-mode.el: Improve encoding comment handling.
3046 (ruby-encoding-magic-comment-style): New option.
3047 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
3048 (ruby--insert-coding-comment, ruby--detect-encoding):
3049 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
3050 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3051 to control the style of the auto-inserted encoding comment.
71731c03 3052
da3b328d
DG
30532013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3054
ad16897c
SM
3055 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3056 Use `smie-backward-sexp' with token argument.
da3b328d 3057
1606c2d3
MA
30582013-11-08 Michael Albinus <michael.albinus@gmx.de>
3059
3060 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3061 Remove instrumentation code.
3062
b0f4c320
GM
30632013-11-08 Glenn Morris <rgm@gnu.org>
3064
3065 * progmodes/autoconf.el (autoconf-mode):
3066 Tweak comment-start-skip. (Bug#15822)
3067
43668fb1
SM
30682013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3069
3070 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3071 at bobp (bug#15826).
3072 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3073
daddb3fd
DH
30742013-11-08 Darren Hoo <darren.hoo@gmail.com>
3075
3076 * man.el (Man-start-calling): New macro, extracted from
3077 Man-getpage-in-background.
3078 (Man-getpage-in-background): Use it.
3079 (Man-update-manpage): New command.
3080 (Man-mode-map): Bind it.
3081
1f923923
DG
30822013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3083
3084 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3085 of "and", "or", "&&" and "||".
3086 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3087 argument. Prohibit opening curly brace because it could only be a
3088 block opener in that position.
daddb3fd
DH
3089 (ruby-smie--forward-token, ruby-smie--backward-token):
3090 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
3091 arguments.
3092 (ruby-smie--indent-to-stmt): New function, seeks the end of
3093 previous statement or beginning of buffer.
3094 (ruby-smie-rules): Use it.
3095 (ruby-smie-rules): Check if there's a ":" before a curly block
3096 opener candidate; if there is, it's a hash.
3097
3220d527
SM
30982013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3099
3100 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3101 (cl--block-wrapper): Fix last accidental change.
3102
1eb1f9e0
MA
31032013-11-07 Michael Albinus <michael.albinus@gmx.de>
3104
3105 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3106 Instrument, in order to hunt failure on hydra.
3107
e6e4db3c
NT
31082013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3109
3110 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3111 malformed bindings form (bug#15814).
3112
b420ccfc
DG
31132013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3114
3115 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
3116 "." compared to " @ ". This incidentally fixes some indentation
3117 examples with "do".
e6e4db3c 3118 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
3119 (ruby-smie-grammar): New tokens: "and" and "or".
3120 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3121 Exclude "and" and "or". Remove "do" in order to work around token
3122 priorities.
3123 (ruby-smie-rules): Add all infix tokens. Handle the case of
3124 beginning-of-buffer.
b420ccfc 3125
6b4ac03e
GM
31262013-11-06 Glenn Morris <rgm@gnu.org>
3127
3128 * Makefile.in (setwins_almost, setwins_for_subdirs):
3129 Avoid accidental matches.
3130
5ca114d1
SM
31312013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3132
3133 * menu-bar.el (popup-menu): Use key-binding.
3134
f72552bd
EZ
31352013-11-06 Eli Zaretskii <eliz@gnu.org>
3136
3137 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3138 menus, support also the menus produced by minor modes.
3139 (Bug#15817)
3140
5d5c701e
LL
31412013-11-06 Leo Liu <sdl.web@gmail.com>
3142
3143 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 3144 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 3145
0a8b75e2
GM
31462013-11-06 Glenn Morris <rgm@gnu.org>
3147
3148 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
3149 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3150 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 3151
a35287ea
SM
31522013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3153
feca4e2d
SM
3154 * electric.el (electric-indent-just-newline): New command.
3155 (electric-indent-mode-map): New keymap.
3156 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3157 Re-add :group which weren't redundant.
3158
a35287ea
SM
3159 * electric.el (electric-indent-local-mode): New minor mode.
3160 (electric-indent-functions-without-reindent): New var.
3161 (electric-indent-post-self-insert-function): Use it.
3162 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3163
375761b2
EZ
31642013-11-05 Eli Zaretskii <eliz@gnu.org>
3165
9a6ad735
EZ
3166 * international/quail.el (quail-help): Be more explicit about the
3167 meaning of the labels shown on the keys. (Bug#15800)
3168
375761b2
EZ
3169 * startup.el (normal-top-level): Load the subdirs.el files before
3170 setting the locale environment. (Bug#15805)
3171
520a6e4a
SM
31722013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3173
0acfafef
SM
3174 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3175 via arguments so as to get the right ones (bug#15418).
3176
520a6e4a
SM
3177 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3178
15826261
MA
31792013-11-05 Michael Albinus <michael.albinus@gmx.de>
3180
3181 Fix problems found while writing a test suite.
3182
3183 * net/tramp-compat.el (tramp-compat-load): New defun.
3184 * net/tramp.el (tramp-handle-load): Use it.
3185
3186 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3187 "(numberp ok-if-already-exists)" correctly.
3188
d35f31a4
XF
31892013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3190
3191 * international/characters.el (glyphless-char-display-control):
3192 Add usage note.
3193
ae93bc74
BB
31942013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3195
520a6e4a
SM
3196 * progmodes/python.el (python-mode):
3197 * progmodes/scheme.el (scheme-mode):
3198 * progmodes/prolog.el (prolog-mode):
3199 * progmodes/ruby-mode.el (ruby-mode):
3200 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3201 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 3202
0ade65b5
SM
32032013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3204
a0d5f7a4
SM
3205 * rect.el (rectangle--highlight-for-redisplay):
3206 * emacs-lisp/smie.el (smie--next-indent-change):
3207 Use buffer-chars-modified-tick.
3208
c93f3f5c
SM
3209 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3210
0ade65b5
SM
3211 * electric.el (electric-indent-post-self-insert-function):
3212 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3213
ef9dd188
HE
32142013-11-04 Helmut Eller <eller.helmut@gmail.com>
3215
3216 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3217
306e7308
NT
32182013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3219
3220 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3221 (bug#15786).
3222
e5afbcac
SM
32232013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3224
1d01ad41
SM
3225 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3226
e5afbcac
SM
3227 * progmodes/python.el: Fix up last change.
3228 (python-shell--save-temp-file): New function.
3229 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3230 `string' comes from the current buffer.
3231 (python-shell-send-string-no-output): Remove `msg' arg.
3232 (python--use-fake-loc): New var.
3233 (python-shell-buffer-substring): Obey it. Try to compensate for the
3234 extra coding line added by python-shell--save-temp-file.
3235 (python-shell-send-region): Use python-shell--save-temp-file and
3236 python-shell-send-file directly. Add `nomain' argument.
3237 (python-shell-send-buffer): Use python-shell-send-region.
3238 (python-electric-pair-string-delimiter): New function.
3239 (python-mode): Use it.
3240
d0065ff1
EZ
32412013-11-04 Eli Zaretskii <eliz@gnu.org>
3242
3243 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3244 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3245 environment and decoding all of the default-directory's to here
3246 from command-line.
3247 (command-line): Decode also argv[0].
3248
3249 * loadup.el: Error out if default-directory is a multibyte string
3250 when we are dumping.
3251
3252 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3253
7397c587
TZ
32542013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3255
3256 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
3257 (package-menu--print-info, package-menu--archive-predicate):
3258 Add Archive column to package list.
7397c587 3259
b27cc9fc
MA
32602013-11-04 Michael Albinus <michael.albinus@gmx.de>
3261
3262 Fix problems found while writing a test suite.
3263
3264 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3265 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3266 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3267 to nil when running original file name handler. Otherwise,
3268 there are problems with constructs like "$$FOO".
3269
3270 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3271 for `localname'.
3272
d8c4f18a
BB
32732013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3274
7b530552
BB
3275 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3276
3277 * subr.el (version<, version<=, version=):
3278 Update docstrings with information for snapshot versions.
3279
d8c4f18a
BB
3280 * helpers.el: New library for misc helper functions.
3281 (hash-table-keys): New function returning a list of hash keys.
3282 (hash-table-values): New function returning a list of hash values.
3283
dca01b09
DG
32842013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3285
3286 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3287 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3288
0a749fa0
MN
32892013-11-04 Michal Nazarewicz <mina86@mina86.com>
3290
3291 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3292 checking whether point is after a 1-letter word.
3293
32942013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
3295
3296 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3297 Don't infloop when expanding region over `multiline' syntax-type that
3298 begins a line (bug#15778).
3299
4aca7145
SM
33002013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3301
3302 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3303 Make it into a proper minor mode.
3304 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3305 (rectangle-mark-mode-map): New keymap.
3306 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3307
a0833f62
GM
33082013-11-04 Glenn Morris <rgm@gnu.org>
3309
3310 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3311
e61845c1
SM
33122013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3313
3314 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3315 (ruby-smie-rules): Use smie-rule-parent instead.
3316
3317 * emacs-lisp/smie.el (smie-rule-parent): Always call
3318 smie-indent-virtual rather than only for hanging tokens.
3319 (smie--next-indent-change): New helper command.
3320
62942f89
GM
33212013-11-03 Glenn Morris <rgm@gnu.org>
3322
3323 * Makefile.in (abs_srcdir): Remove.
3324 (emacs): Unset EMACSLOADPATH.
3325
b0b9e592
GM
33262013-11-02 Glenn Morris <rgm@gnu.org>
3327
18ba6a33 3328 * Makefile.in (EMACS): Use a relative filename.
8061810d 3329 (abs_top_builddir): Remove.
18ba6a33
GM
3330 (custom-deps, finder-data, autoloads): Use --chdir.
3331
6a8b929e
GM
3332 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3333
c617f3d0
GM
3334 Use relative filenames in TAGS files.
3335 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3336 (lisptagsfiles4, TAGS): Use relative file names.
3337 (TAGS-LISP): Remove.
3338 (maintainer-clean): No more TAGS-LISP file.
3339
b0b9e592
GM
3340 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3341 (lisptagsfiles4): Use absolute filenames again.
3342 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3343 Remove all *loaddefs files, not just the first. Remove esh-groups.
3344 (maintainer-clean): Delete TAGS, TAGS-LISP.
3345
d1c0ea6a
BB
33462013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3347
e61845c1
SM
3348 * emacs-lisp/package.el (package-version-join):
3349 Recognize snapshot versions.
d1c0ea6a 3350
684d71c6
BB
33512013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3352
3353 * subr.el (version-regexp-alist): Add support for snapshot versions.
3354
3d42b968
DG
33552013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3356
e61845c1
SM
3357 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3358 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
3359 skip over our direct parent if it's an assignment token..
3360 (ruby-smie-rules): Use it.
3361
7ffd3721
DG
33622013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3363
8449dd1f 3364 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
3365 unconditionally. Remove now unnecessary forward declarations.
3366 Remove XEmacs-specific setup.
3367 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3368 (ruby-font-lock-syntactic-keywords)
3369 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3370 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3371 (ruby-here-doc-end-syntax): Remove.
3372 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3373 defined as function.
3374
a3996a2e
BB
33752013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3376
3377 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3378
6f9260e8
BB
33792013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3380
3381 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3382 table and abbrev table, `define-derived-mode' does that for us
3383 anyway.
3384
6014de84
GM
33852013-11-01 Glenn Morris <rgm@gnu.org>
3386
3387 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3388 files is atomic for some time, so no parallel compilation issues).
3389
3c334c14
JD
33902013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3391
3392 * faces.el (face-x-resources): Add :distant-foreground.
3393 (region): Use :distant-foreground for gtk and ns.
3394
9bc236c8
TH
33952013-11-01 Tassilo Horn <tsdh@gnu.org>
3396
5246583b 3397 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
3398 BibTeX.
3399 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3400 (reftex-locate-bibliography-files): Us it.
3401
d14c81ee
CB
34022013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3403
0e7690de
CB
3404 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3405 allow comments in pbm files.
3406
d14c81ee
CB
3407 * term/w32-win.el (dynamic-library-alist): Support newer versions
3408 of libjpeg starting with v7: look only for the DLL from the
3409 version against which Emacs was built.
ac1bf374 3410 Support versions of libpng beyond 1.4.x.
019c8218 3411 Support libtiff v4.x.
d14c81ee 3412
983d0df5
BB
34132013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3414
3415 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3416 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3417 Add property :safe.
3418 (ruby-deep-arglist): Add property :type.
3419
47f58d85
GM
34202013-10-31 Glenn Morris <rgm@gnu.org>
3421
3422 * Makefile.in (custom-deps, finder-data): No need to setq the target
3423 variables, we are in the right directory and the defaults work fine.
3424
4f85b479
GM
34252013-10-30 Glenn Morris <rgm@gnu.org>
3426
ca7dd4cd
GM
3427 * Makefile.in (autoloads): Do not use abs_lisp.
3428
4f85b479
GM
3429 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3430 `newline' does not respect `standard-output', so use `princ'.
3431
cf59e41c
AA
34322013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3433
3434 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3435 * buff-menu.el (Buffer-menu--unmark): New function.
3436 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3437
74cf04fb
GM
34382013-10-30 Glenn Morris <rgm@gnu.org>
3439
b040b60e
GM
3440 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3441
f53d3815
GM
3442 * emacs-lisp/package.el (lm-homepage): Declare.
3443
5413d873
GM
3444 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3445 Fix doc typos.
3446
cecedb36
GM
3447 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3448
74cf04fb
GM
3449 * Makefile.in (finder-data, autoloads, update-subdirs)
3450 (compile-main, compile-clean, compile-always, bootstrap-clean):
3451 Check return value of cd.
3452 (compile-calc): Remove.
3453
195ee2f0
SM
34542013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3455
ae4002ce
SM
3456 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3457
3458 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3459 (byte-compile-and-folded): New function.
3460 (=, <, >, <=, >=): Use it.
3461
3462 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3463 (path-separator, null-device, buffer-file-coding-system)
3464 (lpr-headers-switches): Check system-type before modifying them.
3465 (find-buffer-file-type-coding-system): Mark obsolete.
3466 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3467 find-file-not-found-set-buffer-file-coding-system.
3468 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3469 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3470 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3471 (w32-direct-print-region-helper, w32-direct-print-region-function)
3472 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3473 * startup.el (normal-top-level-add-subdirs-to-load-path):
3474 * ps-print.el (ps-print-region-function):
3475 * lpr.el (print-region-function): Use new name.
3476
53b39e89
SM
3477 * subr.el (custom-declare-variable-early): Remove function.
3478 (custom-declare-variable-list): Remove var.
3479 (error, user-error): Remove `while' loop.
3480 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3481 (user-emacs-directory-warning, locate-user-emacs-file):
3482 Move to files.el.
3483 * simple.el (read-quoted-char-radix, read-quoted-char):
3484 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3485 Move from subr.el.
3486 * custom.el (custom-declare-variable-list): Don't process
3487 custom-declare-variable-list.
3488
195ee2f0
SM
3489 * progmodes/python.el (python-shell-get-buffer): New function.
3490 (python-shell-get-process): Use it.
3491 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3492 Python which encoding was used. Don't split-string since we only care
3493 about the first line. Return the temp-file, if applicable.
3494 (python-shell-send-region): Tell compile.el how to turn locations in
3495 the temp-file into locations in the source buffer.
3496
7e3561ee
SM
34972013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3498
4c9797cb
SM
3499 * subr.el (undefined): Add missing behavior from the C code for
3500 unbound keys.
3501
3472b6c6
SM
3502 * rect.el: Use lexical-binding. Add new rectangular region support.
3503 (rectangle-mark): New command.
3504 (rectangle--region): New var.
3505 (deactivate-mark-hook): Reset rectangle--region.
3506 (rectangle--extract-region, rectangle--insert-for-yank)
3507 (rectangle--highlight-for-redisplay)
3508 (rectangle--unhighlight-for-redisplay): New functions.
3509 (region-extract-function, redisplay-unhighlight-region-function)
3510 (redisplay-highlight-region-function): Use them to handle
3511 rectangular region.
3512 * simple.el (region-extract-function): New var.
3513 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3514 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3515 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3516 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3517 (redisplay-unhighlight-region-function)
3518 (redisplay-highlight-region-function): New vars.
3519 (redisplay--update-region-highlight): New function.
3520 (pre-redisplay-function): Use it.
3521 (exchange-point-and-mark): Don't deactivate the mark before
3522 reactivate-it anyway.
3523 * comint.el (comint-kill-region): Remove yank-handler argument.
3524 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3525 (delete-char): Remove property, since it's now part of their
3526 default behavior.
3527 (self-insert-iso): Remove property since this command doesn't exist.
3528
7e3561ee
SM
3529 * emacs-lisp/package.el (package--download-one-archive)
3530 (describe-package-1): Don't query the user about final newline.
3531
b9bef71f
DC
35322013-10-29 Daniel Colascione <dancol@dancol.org>
3533
3534 * net/tramp.el (tramp-methods): Document new functionality.
3535 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3536 tramp-hostname-checker if method provides one instead of scanning
3537 argument list for "%h" to decide hostname acceptability.
3538
4efc33f0
MA
35392013-10-28 Michael Albinus <michael.albinus@gmx.de>
3540
3541 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3542 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3543 Handle COPY-CONTENTS. (Bug#15737)
3544
ed42a877
DU
35452013-10-28 Daiki Ueno <ueno@gnu.org>
3546
3547 * epa-file.el
7e3561ee
SM
3548 (epa-file-cache-passphrase-for-symmetric-encryption):
3549 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 3550
18c9f8a2
XF
35512013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3552
7a4bc7be
XF
3553 * image.el (defimage):
3554 (image-load-path): Doc fixes.
18c9f8a2 3555
b1e8e010
AM
35562013-10-27 Alan Mackenzie <acm@muc.de>
3557
3558 Indent statements in macros following "##" correctly.
7e3561ee
SM
3559 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3560 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 3561
73d40d1e 35622013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
3563
3564 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3565
c8c605ac
DG
35662013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3567
3568 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3569 after `=' is probably a new expression.
3570
ca7e59d4
RS
35712013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3572
3573 * man.el (man-imenu-title): New option.
3574 (Man-mode-map): Add menu. (Bug#15722)
3575 (Man-mode): Add imenu to menu.
3576
bae91342
DG
35772013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3578
3579 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3580 specific in what the first arg can be: a non-keyword word,
3581 string/regexp/percent literal opener, opening paren, or unary
3582 operator followed directly by word.
3583
eb89dc14
SM
35842013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3585
3586 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3587 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3588 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3589 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3590 Remove vars, they do not apply any more.
3591 (prolog-mode-abbrev-table): Remove redundant declaration.
3592 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3593 (prolog-use-smie): Remove.
3594 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3595 supported by prolog-electric-if-then-else-flag.
3596 (prolog-mode-variables, prolog-menu): Use setq-local.
3597 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3598 Remove binding to `Backspace' since this key doesn't exist anyway.
3599 Remove bindings for electric self-inserting keys.
3600 (prog-mode): Assume it's defined.
3601 (prolog-post-self-insert): New function.
3602 (prolog-mode): Use it.
3603 (prolog-indent-line, prolog-indent-level)
3604 (prolog-find-indent-of-matching-paren)
3605 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3606 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3607 (prolog-goto-next-paren, prolog-in-string-or-comment)
3608 (prolog-tokenize, prolog-inside-mline-comment)
3609 (prolog-find-start-of-mline-comment): Remove functions.
3610 (prolog-find-unmatched-paren, prolog-clause-end)
3611 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3612 (prolog-electric--if-then-else): Rename from
3613 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3614 (prolog-tokenize-searchkey): Remove const.
3615 (prolog-clause-info): Use forward-sexp.
3616 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3617 (prolog-electric-if-then-else): Remove commands.
3618 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3619 for use in post-self-insert-hook.
3620 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3621 for use in post-self-insert-hook.
3622 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3623 for use in post-self-insert-hook.
3624 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3625 adapt it for use in post-self-insert-hook.
3626
3dab0a83
MA
36272013-10-25 Michael Albinus <michael.albinus@gmx.de>
3628
3629 * emacs-lisp/ert.el (ert-run-tests-interactively):
3630 Use `completing-read'. (Bug#9756)
3631
fbfd0e1d
EZ
36322013-10-25 Eli Zaretskii <eliz@gnu.org>
3633
3634 * simple.el (line-move): Call line-move-1 instead of
3635 line-move-visual when the current window hscroll is zero, but
3636 temporary-goal-column indicates we will need to hscroll as result
3637 of the movement. (Bug#15712)
3638
963ce636
DG
36392013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3640
3641 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
3642 capitalization. Use :visible instead of :active.
3643 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
3644 commands that are used with SMIE.
3645 (ruby-do-end-to-brace): Insert space after `{'.
3646
a0be396a
JA
36472013-10-25 John Anthony <john@jo.hnanthony.com>
3648
f73754c9
JA
3649 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3650
3651 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 3652
f5bf77df
GM
36532013-10-25 Glenn Morris <rgm@gnu.org>
3654
3655 * vc/vc.el (vc-print-log): Don't use a working revision unless
3656 one was explicitly specified. (Bug#15322)
3657
37241f62
SM
36582013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3659
3660 * subr.el (add-to-list): Preserve return value in compiler-macro
3661 (bug#15692).
3662
6408a65d
RS
36632013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3664
3665 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3666 result. Ask user to retry using '-all' flag. (Bug#15701)
3667
71e3276b
SM
36682013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3669
3670 * emacs-lisp/smie.el: New smie-config system.
3671 (smie-config): New defcustom.
3672 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3673 (smie-config-guess, smie-config-save): New commands.
3674 (smie-config--mode-local, smie-config--buffer-local)
3675 (smie-config--trace, smie-config--modefuns): New vars.
3676 (smie-config--advice, smie-config--mode-hook)
3677 (smie-config--setter, smie-config-local, smie-config--get-trace)
3678 (smie-config--guess-value, smie-config--guess): New functions.
3679 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3680 text properties. Treat "string fence" syntax like string syntax.
3681
3682 * progmodes/sh-script.el (sh-use-smie): Change default.
3683 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3684 (sh-var-value): Simplify by CSE.
3685 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3686 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3687 is used.
3688 (sh-guess-basic-offset): Use cl-incf.
3689 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3690
60db713e
HE
36912013-10-24 Helmut Eller <eller.helmut@gmail.com>
3692
3693 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3694 (bug#15699).
3695
8b251df6
GM
36962013-10-24 Glenn Morris <rgm@gnu.org>
3697
3698 * Makefile.in (abs_top_srcdir): Remove.
3699 (update-subdirs): Use relative path to update-subdirs.
3700
6be0e22b
EZ
37012013-10-24 Eli Zaretskii <eliz@gnu.org>
3702
3703 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3704 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
3705 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3706 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 3707
50b5b857
MA
37082013-10-24 Michael Albinus <michael.albinus@gmx.de>
3709
3710 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3711 (ert-test-skipped): New error.
3712 (ert-skip, ert-stats-skipped): New defuns.
3713 (ert--skip-unless): New macro.
3714 (ert-test-skipped): New struct.
3715 (ert--run-test-debugger, ert-test-result-type-p)
3716 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3717 (ert--stats-set-test-and-result, ert-char-for-test-result)
3718 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 3719 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 3720 Handle skipped tests. (Bug#9803)
50b5b857 3721
6f317c2f
GM
37222013-10-24 Glenn Morris <rgm@gnu.org>
3723
e43817c1
GM
3724 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3725
6f317c2f
GM
3726 * Makefile.in (abs_top_srcdir): New, set by configure.
3727 (update-subdirs): Correct build-aux location.
3728
369bbf71
DG
37292013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3730
8297b2cf
DG
3731 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3732 value, whether we could auto-deduce `backend', or not.
3733
369bbf71
DG
3734 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3735 with parameters" example. Simplify the "is it block or is it
3736 hash" check, but also make it more thorough.
3737
d5f1282f
MF
37382013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3739
3740 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3741
bc4aaa31
SM
37422013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3743
03d44565
SM
3744 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3745 { if it is hanging.
3746
bc4aaa31
SM
3747 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3748 :before ";".
3749
f493ff19
JB
37502013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3751
3752 * progmodes/compile.el (compilation-directory-matcher)
3753 (compilation-page-delimiter):
3754 Support GNU Make-4.0 directory quoting. (Bug#15678)
3755
c744a3b9
LL
37562013-10-23 Leo Liu <sdl.web@gmail.com>
3757
3758 * ido.el (ido-tidy): Handle read-only text.
3759
b8e3b0a9
GM
37602013-10-23 Glenn Morris <rgm@gnu.org>
3761
3762 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3763 (emacs, compile, compile-always):
3764 Quote entities that might contain whitespace.
3765 (custom-deps, finder-data, autoloads): Use abs_lisp.
3766 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3767 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3768 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3769
ee4282cd
DG
37702013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3771
bc4aaa31
SM
3772 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3773 Use `following-char'.
7790a270 3774
ee4282cd 37752013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
3776
3777 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3778 * progmodes/ruby-mode.el (ruby-smie-rules):
3779 Remove corresponding workaround. Fix indentation rule of ";" so it
3780 also applies when ";" is the parent.
3781
d40a46d7
XF
37822013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3783
3784 * frame.el (display-screens, display-pixel-height)
3785 (display-pixel-width, display-mm-width, display-backing-store)
3786 (display-save-under, display-planes, display-color-cells)
7790a270
SM
3787 (display-visual-class, display-monitor-attributes-list):
3788 Mention the optional ‘display’ argument in doc strings.
d40a46d7 3789
a0f143c9
MG
37902013-10-22 Michael Gauland <mikelygee@amuri.net>
3791
3792 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3793 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3794
18cacc39
DG
37952013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3796
3797 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3798 TODO. Add "." after " @ ".
3799 (ruby-smie--at-dot-call): New function. Checks if point at method
3800 call with explicit target.
3801 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3802 to the method name tokens when it precedes them.
3803 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3804 (ruby-smie-rules): Add rule for indentation before and after "."
3805 token.
3806
df74c4be
SM
38072013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3808
c6dab55f
SM
3809 * textmodes/remember.el (remember-diary-extract-entries):
3810 Avoid add-to-list.
3811
df74c4be
SM
3812 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3813 an instruction.
3814
8c1ae481
DG
38152013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3816
e9dc713d
JB
3817 * progmodes/ruby-mode.el (ruby-smie-grammar):
3818 Add (almost) all infix operators.
cfef16c0
DG
3819 (ruby-smie--implicit-semi-p): Add new operator chars.
3820
8c1ae481
DG
3821 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3822 `smie-down-list'.
3823 (ruby-smie--args-separator-p): Check that there's no newline
3824 between method call and its arguments.
3825
87756ca9
AM
38262013-10-20 Alan Mackenzie <acm@muc.de>
3827
3828 Allow comma separated lists after Java "implements".
3829
df74c4be
SM
3830 * progmodes/cc-engine.el (c-backward-over-enum-header):
3831 Parse commas.
87756ca9
AM
3832 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3833 from a "disallowed" list in enum fontification.
3834
c25f8957
JB
38352013-10-20 Johan Bockgård <bojohan@gnu.org>
3836
df74c4be 3837 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 3838
c25f8957
JB
3839 * progmodes/verilog-mode.el (verilog-mode): Don't set
3840 comment-indent-function globally.
3841
aca5fcdc
JD
38422013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3843
5f161884
JD
3844 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3845 Move Info menu item creation to ns-win.el.
3846
3847 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3848 in menu bar.
3849
a6c4680a 3850 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
3851
3852 * term/ns-win.el (ns-initialize-window-system): ... to here.
3853
914b7f98
SM
38542013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3855
3856 * simple.el (newline): Only run post-self-insert-hook when
3857 called interactively.
3858
846ffe77
JB
38592013-10-19 Johan Bockgård <bojohan@gnu.org>
3860
3861 * icomplete.el (icomplete-with-completion-tables): Add :version.
3862
033f22dd
AM
38632013-10-19 Alan Mackenzie <acm@muc.de>
3864
3865 Fix fontification bugs with constructors and const.
3866
3867 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3868 CASE 2) Remove the check for the absence of a suffix construct
3869 after a function declaration with only types (no identifiers) in
3870 the parentheses. Also, accept a function declaration with just a
3871 type inside the parentheses, if this type can be positively
3872 recognised as such, or if a prefix keyword like "explicit" nails
3873 down the construct as a declaration.
3874
58ce0cfc
EZ
38752013-10-19 Eli Zaretskii <eliz@gnu.org>
3876
3877 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3878 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3879 the problem whereby selecting a menu item that leads to a
3880 minibuffer prompt moves the cursor out of the minibuffer window,
3881 making it hard to type at the prompt. Suggested by Stefan Monnier
3882 <monnier@iro.umontreal.ca>.
3883
50e28e7d
JD
38842013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3885
3886 * menu-bar.el: Don't make Services menu.
3887
7deed4bf
RS
38882013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3889
3890 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3891 (ffap-alist): Use ffap-c++-mode for c++-mode.
3892 (ffap-c++-path): New variable.
3893 (ffap-c++-mode): New function.
3894
7bcb455b
JVJ
38952013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3896
3897 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3898
f0ff1cd5
MA
38992013-10-18 Michael Albinus <michael.albinus@gmx.de>
3900
3901 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3902 introduced on 2013-09-08, which results in an infinite loop
3903 requesting a password.
3904
d64da4b7
GM
39052013-10-18 Glenn Morris <rgm@gnu.org>
3906
3907 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3908
ea89ff08
WS
39092013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3910
3911 Sync with upstream verilog-mode revision 1a6ecec7.
3912 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3913 (verilog-mode-release-date): Remove.
3914 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3915 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3916 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3917 (verilog-auto-tieoff-ignore-regexp)
3918 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3919 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3920 (verilog-signals-with, verilog-dir-cache-preserving)
3921 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3922 Doc fixes.
3923 (verilog-case-fold): New option, to control case folding in
3924 regexp searches, bug597.
3925 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3926 (verilog-string-match-fold, verilog-in-paren-count)
3927 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3928 (verilog-at-close-struct-p): New functions.
3929 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3930 (verilog-forward-sexp, verilog-set-auto-endcomments):
3931 (verilog-leap-to-case-head): Handle "unique0" case.
3932 (verilog-in-constraint-re): New constant.
3933 (verilog-keywords, verilog-type-font-keywords):
3934 Add some SystemVerilog 1800-2012 keywords.
3935 (verilog-label-be): Remove unimplemented argument, bug669.
3936 (verilog-batch-execute-func): When batch expanding clear
3937 create-lockfiles to prevent spurious user locks when a file ends
3938 up not changing.
3939 (verilog-calculate-indent, verilog-calc-1)
3940 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3941 (verilog-do-indent): Fix indentation of nested constraints
3942 and structures.
3943 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3944 (verilog-auto-inst-param): Use verilog-string-match-fold.
3945 (verilog-read-inst-module-matcher):
3946 Fix AUTOINST on gate primitives with #1.
3947 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3948 Reads all user-defined typed variables.
3949 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3950 (verilog-signals-matching-regexp)
3951 (verilog-signals-not-matching-regexp, verilog-auto):
3952 Respect verilog-case-fold.
3953 (verilog-diff-report): Fix line count.
3954 (verilog-auto-assign-modport): Remove unused local `modi'.
3955 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3956 better handle multidimensional arrays.
3957 Fix packed array ports misadding bit index in AUTOINST, bug637.
3958 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3959 to not double-declare existing outputs and inputs, respectively.
3960 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3961 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3962 (verilog-sk-uvm-component): New skeleton.
3963 (verilog-submit-bug-report): Add verilog-case-fold,
3964 remove verilog-mode-release-date.
3965
ef566920
BR
39662013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3967
a12bf61e 3968 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
3969 as before.
3970
29df8a0b
RT
39712013-10-18 Reuben Thomas <rrt@sc3d.org>
3972
e0eb0550 3973 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
3974 remember buffers (bug#13566).
3975
04a19a79
DC
39762013-10-18 Daniel Colascione <dancol@dancol.org>
3977
3978 When evaluating forms in ielm, direct standard output to ielm
3979 buffer. Add new ielm-return-for-effect command. Remove trailing
3980 whitespace throughout.
3981
3982 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3983 (ielm-return-for-effect): New command.
3984 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
3985 (ielm-eval-input): Accept optional `for-effect' parameter.
3986 Bind `standard-output' to stream we create using
04a19a79
DC
3987 `ielm-standard-output-impl'. Suppress printing result when
3988 `for-effect'.
3989 (ielm-standard-output-impl): New function.
3990 (inferior-emacs-lisp-mode): Explain new features in documentation.
3991
4c1f03ef
MA
39922013-10-17 Michael Albinus <michael.albinus@gmx.de>
3993
3994 Code cleanup.
3995
3996 * net/tramp.el (tramp-debug-message): Do not check for connection
3997 buffer.
3998 (tramp-message): Use "vector" connection property.
3999
4000 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4001 (tramp-equal-remote, tramp-eshell-directory-change)
4002 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4003 (tramp-adb-handle-rename-file)
4004 * net/tramp-cmds.el (tramp-list-remote-buffers)
4005 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4006 * net/tramp-compat.el (tramp-compat-process-running-p)
4007 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4008 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4009 (tramp-gvfs-handle-rename-file)
4010 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4011 (tramp-set-file-uid-gid)
4012 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4013 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4014 of `file-remote-p'.
4015
4016 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4017 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4018 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4019 (tramp-gw-open-network-stream): Suppress unrelated traces.
4020
4021 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4022 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4023 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4024 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4025 connection property.
4026
4027 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 4028 persistency file.
4c1f03ef
MA
4029
4030 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4031 Refactor common code. Improve debug message.
4032 (tramp-maybe-open-connection)
4033 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4034 connection buffer too early.
4035
4036 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4037 from `tramp-smb-actions-with-acl'.
4038 (tramp-smb-actions-set-acl): New defconst.
4039 (tramp-smb-handle-copy-directory)
4040 (tramp-smb-action-get-acl): New defun, renamed from
4041 `tramp-smb-action-with-acl'.
4042 (tramp-smb-action-set-acl): New defun.
4043 (tramp-smb-handle-set-file-acl): Rewrite.
4044
642eb8b6
GM
40452013-10-17 Glenn Morris <rgm@gnu.org>
4046
4047 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4048
85527ff3
SM
40492013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4050
921c1d62
SM
4051 * skeleton.el (skeleton-newline): Remove.
4052 (skeleton-internal-1): Use (insert "\n") instead.
4053
e333fb10
SM
4054 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4055 let-bindings.
4056
85527ff3
SM
4057 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4058 forward-sexp-function while we redo its job (bug#15613).
4059
c8722a97
JB
40602013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4061
4062 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4063 represented by lists.
4064
7a550bbb
GM
40652013-10-16 Glenn Morris <rgm@gnu.org>
4066
4067 * tmm.el (tmm--history): New dynamic variable.
4068 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4069
f19da8ad
MA
40702013-10-16 Michael Albinus <michael.albinus@gmx.de>
4071
4072 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4073 (tramp-smb-errors): Add error messages.
4074 (tramp-smb-actions-with-acl): New defconst.
4075 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4076 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4077 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4078 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4079 (tramp-smb-get-stat-capability): Fix tests.
4080
a24b9961
DK
40812013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4082
4083 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4084 (bug#15580).
4085
62ad85e6
GM
40862013-10-16 Glenn Morris <rgm@gnu.org>
4087
0283d6b0
GM
4088 * ansi-color.el (ansi-color-drop-regexp):
4089 Add 1J, 1K, 2K. (Bug#15617)
4090
012e2f9f
GM
4091 * files.el (hack-local-variables--warned-lexical): New.
4092 (hack-local-variables):
4093 Warn about misplaced lexical-binding. (Bug#15616)
4094
62ad85e6
GM
4095 * net/eww.el (eww-render): Always set eww-current-url,
4096 and update header line. (Bug#15622)
4097 (eww-display-html): ... Rather than just doing it here.
4098
6456c0ea
EZ
40992013-10-15 Eli Zaretskii <eliz@gnu.org>
4100
4101 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4102 menu navigations commands.
4103
c2de5588
DK
41042013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4105
4106 * progmodes/subword.el (subword-capitalize): Be careful when
4107 the search for [[:alpha:]] fails (bug#15580).
4108
ccd4a783
EZ
41092013-10-14 Eli Zaretskii <eliz@gnu.org>
4110
4111 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4112 to commands that scroll the menu.
4113
1eda1d8d
DG
41142013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4115
c2de5588
DK
4116 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4117 Handle methods ending with `?' and `!'.
1eda1d8d 4118
e70181b8
AM
41192013-10-14 Akinori MUSHA <knu@iDaemons.org>
4120
4121 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4122 `japanese-cp932' to `cp932' to fix the problem where saving a
4123 source file written in Shift_JIS twice would end up having
4124 `coding: japanese-cp932' which Ruby could not recognize.
4125 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4126 in `ruby-encoding-map'.
4127 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4128 doesn't need to be explicitly declared in magic comment.
4129 (ruby-encoding-map): Add type declaration for better customize UI.
4130
9148ee92
GM
41312013-10-13 Glenn Morris <rgm@gnu.org>
4132
a5d38e34
GM
4133 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4134 Occur buffers are read-only. http://bugs.debian.org/720775
4135
9148ee92
GM
4136 * emacs-lisp/authors.el (authors-fixed-entries):
4137 Comment out old alpha stuff.
4138
a9ba094b
DG
41392013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4140
4141 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4142 to `after-save-hook' instead of `before-save-hook'.
4143 (ruby-mode-set-encoding): Use the value of coding system used to
4144 write the file. Call `basic-save-buffer-1' after modifying the
4145 buffer.
4146
7a068717
AM
41472013-10-13 Alan Mackenzie <acm@muc.de>
4148
4149 Fix indentation/fontification of Java enum with
4150 "implements"/generic.
4151
c2de5588
DK
4152 * progmodes/cc-engine.el (c-backward-over-enum-header):
4153 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
4154 (c-inside-bracelist-p): Uses new function above.
4155 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4156 function above.
4157 (c-font-lock-enum-tail): Uses new function above.
4158
85b64f02
KH
41592013-10-13 Kenichi Handa <handa@gnu.org>
4160
4161 * international/mule-cmds.el (select-safe-coding-system): Remove a
4162 superfluous condition in chekcing whether a coding system is safe
4163 or not.
4164
fc7f501b
OK
41652013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4166
4167 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4168
fdcb2049
AP
41692013-10-13 Andreas Politz <politza@hochschule-trier.de>
4170
4171 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4172
8c106d17
GM
41732013-10-13 Glenn Morris <rgm@gnu.org>
4174
feab892d
GM
4175 * menu-bar.el (menu-bar-update-buffers):
4176 Unify Buffers menu prompt string. (Bug#15576)
4177
b22d0686
GM
4178 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4179
8c106d17
GM
4180 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4181 Add some entries.
4182 (authors-fixed-entries): Use accented form of name.
4183
1b12c797
SM
41842013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4185
650fa7bf 4186 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 4187 method calls (bug#15594).
650fa7bf
SM
4188 (ruby-smie--args-separator-p): New function.
4189 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4190 recognize paren-free method calls.
4191
1b12c797
SM
4192 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4193 internals of universal-argument.
4194
029619c8
EZ
41952013-10-11 Eli Zaretskii <eliz@gnu.org>
4196
4197 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
4198 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4199 dropped menu on second mouse click on the menu bar.
029619c8 4200
dd070019
SM
42012013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4202
4203 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4204 (explicit-shell-file-name): Declare.
4205 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4206 (sh-completion-at-point-function): New function.
4207 (sh-mode): Use it.
4208 (sh-smie--keyword-p): Remove unused argument.
4209 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4210 vars.
4211 (sh-set-shell): Always setup SMIE, even if we use the
4212 old indentation code.
4213
0922b826
DG
42142013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4215
b68e2926
DG
4216 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4217 cases of ? and =.
4218 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4219 predicate would return nil are almost non-existent.
4220 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4221
0922b826
DG
4222 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4223 cache also after commands that modify the buffer but don't move
4224 point.
4225
ee041f2d
SM
42262013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4227
4228 * env.el (substitute-env-in-file-name): New function.
4229 (substitute-env-vars): Extend the meaning of the optional arg.
4230
a5dab159
EZ
42312013-10-10 Eli Zaretskii <eliz@gnu.org>
4232
4233 * term/w32-win.el (dynamic-library-alist): Define separate lists
4234 of GIF DLLs for versions before and after 5.0.0 of giflib.
4235 (Bug#15531)
4236
0449d6cd 42372013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
4238
4239 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4240 not locked, use last revision and current source as
4241 defaults. (Bug#15569)
4242
2f6e161e
MY
42432013-10-10 Masatake YAMATO <yamato@redhat.com>
4244
4245 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4246 menu-bar is hidden.
4247
6c8413fc
MR
42482013-10-10 Martin Rudalics <rudalics@gmx.at>
4249
4250 * window.el (pop-to-buffer-same-window): Fix doc-string.
4251 (Bug#15492)
4252
20832de0
SM
42532013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4254
4255 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4256
c6e8ae77
AC
42572013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4258
4259 * calendar/icalendar.el (icalendar-import-file):
4260 Fix interactive spec. (Bug#15482)
4261
9db13baf
GM
42622013-10-10 Glenn Morris <rgm@gnu.org>
4263
9271e90e
GM
4264 * desktop.el (desktop-save): Default to saving in .emacs.d,
4265 since PWD is no longer in desktop-path by default. (Bug#15319)
4266
9db13baf
GM
4267 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4268 now that text mode has a menu with the same entry.
4269 (menu-bar-text-mode-auto-fill): Remove now unused func.
4270 * textmodes/text-mode.el (text-mode-map):
4271 Use auto-fill help text from menu-bar.el.
4272
a0be396a 42732013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
4274
4275 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4276
2edcd3c7
JL
42772013-10-09 Juri Linkov <juri@jurta.org>
4278
4279 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4280 instead of this-command-keys. Add universal-argument-more and
4281 universal-argument-minus to the list of prefix commands. (Bug#15568)
4282
574411d0
GM
42832013-10-09 Glenn Morris <rgm@gnu.org>
4284
14afa541
GM
4285 * vc/vc-svn.el (vc-svn-create-repo):
4286 Expand paths in file://... url. (Bug#15446)
4287
574411d0
GM
4288 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4289 Add some entries.
4290 (authors): Remove unused local variables.
4291
79804536
SM
42922013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4293
4294 * profiler.el: Create a more coherent calltree from partial backtraces.
4295 (profiler-format): Hide the tail with `invisible' so that C-s can still
4296 find the hidden elements.
4297 (profiler-calltree-depth): Don't recurse so enthusiastically.
4298 (profiler-function-equal): New hash-table-test.
4299 (profiler-calltree-build-unified): New function.
4300 (profiler-calltree-build): Use it.
4301 (profiler-report-make-name-part): Indent the calltree less.
4302 (profiler-report-mode): Add visibility specs for profiler-format.
4303 (profiler-report-expand-entry, profiler-report-toggle-entry):
4304 Expand the whole subtree when provided with a prefix arg.
4305
238150c8
DG
43062013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4307
4308 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4309 iuwu-mod token.
4310 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4311 hanging iuwu-mod token.
4312 (ruby-smie--forward-token): Do not include a dot after a token in
4313 that token.
4314 (ruby-smie--backward-token): Likewise.
4315
b0949cc4
JL
43162013-10-08 Juri Linkov <juri@jurta.org>
4317
4318 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4319 to isearch-other-control-char.
4320 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4321 and isearch-post-command-hook to post-command-hook.
4322 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4323 and isearch-post-command-hook from post-command-hook.
4324 (isearch-unread-key-sequence)
4325 (isearch-reread-key-sequence-naturally)
4326 (isearch-lookup-scroll-key, isearch-other-control-char)
4327 (isearch-other-meta-char): Remove functions.
4328 (isearch-pre-command-hook, isearch-post-command-hook):
4329 New functions based on isearch-other-meta-char rewritten
4330 relying on the new behavior of overriding-terminal-local-map
4331 that does not replace the local keymaps any more. (Bug#15200)
4332
4ed77415
EZ
43332013-10-08 Eli Zaretskii <eliz@gnu.org>
4334
4335 Support menus on text-mode terminals.
4336 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4337 functionality.
4338
4339 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4340
c2de5588
DK
4341 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4342 Move here from mouse.el.
4ed77415
EZ
4343 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4344 and arrow keys.
4345 (tty-menu-navigation-map): New map for TTY menu navigation.
4346
4347 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4348
4349 * frame.el (display-mouse-p): Report text-mode mouse as available
4350 on w32.
4351 (display-popup-menus-p): Report availability if mouse is
4352 available; don't condition on window-system.
4353
4354 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4355 (tty-menu-selected-face): New faces.
4356
b7d5bd82
TL
43572013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4358
06286513
SM
4359 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4360 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4361 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4362 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4363 New constants.
4364 (lisp-mode-variables): New `elisp' argument.
4365 (emacs-lisp-mode): Use it.
4366 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4367 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4368
b7d5bd82
TL
4369 * indent.el: Use lexical-binding.
4370 (indent-region): Add progress reporter.
4371 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4372 last step.
4373 (indent--next-tab-stop): New function to implement this behavior.
4374 (tab-to-tab-stop, move-to-tab-stop): Use it.
4375
43762013-10-08 Teemu Likonen <tlikonen@iki.fi>
4377
4378 * indent.el (indent-rigidly--current-indentation): New function.
4379 (indent-rigidly-map): New var.
4380 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4381
5ea75d23
BG
43822013-10-08 Bastien Guerry <bzg@gnu.org>
4383
f2726fa2 4384 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 4385
cc5da1ec
SM
43862013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4387
8ffa1a0b
SM
4388 * progmodes/perl-mode.el: Use lexical-binding.
4389 Remove redundant :group args.
4390 (perl-nochange): Change default to be closer to other major modes's
4391 standard behavior.
4392 (perl-indent-line): Don't consider text on current line as a
4393 valid beginning of function from which to indent.
4394
f2223371
SM
4395 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4396 with more than one argument (bug#15538).
4397
44256060
SM
4398 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4399
cc5da1ec
SM
4400 * vc/pcvs.el: Use lexical-binding.
4401 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4402 environment of `eval'.
4403 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4404 than a list of expressions. Adjust callers.
4405 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4406
0ea1599d
DG
44072013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4408
4409 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 4410 case of the dot in a chained method call being on the following line.
0ea1599d 4411
da3e5ebb
SM
44122013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4413
2abb4e65
SM
4414 * electric.el (electric-indent-inhibit): New var.
4415 (electric-indent-post-self-insert-function): Use it.
4416 * progmodes/python.el (python-mode): Set it.
4417
d2e0e795
SM
4418 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4419 open braces.
4420
4421 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4422
bdc6b4c8
SM
4423 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4424 (css-mode): Use electric-indent-chars.
4425
da3e5ebb
SM
4426 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4427 (font-lock-beg, font-lock-end): Move before first use.
4428 (nxml-mode): Use syntax-propertize-function.
4429 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4430 (nxml-extend-after-change-region): Remove.
4431 * nxml/xmltok.el: Use lexical-binding.
4432 (xmltok-save): Use `declare'.
4433 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4434 * nxml/nxml-util.el: Use lexical-binding.
4435 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4436 Use `declare'.
4437 * nxml/nxml-ns.el: Use lexical-binding.
4438 (nxml-ns-save): Use `declare'.
4439 (nxml-ns-prefixes-for): Avoid add-to-list.
4440 * nxml/rng-match.el: Use lexical-binding.
4441 (rng--ipattern): Use cl-defstruct.
4442 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4443 (rng-cons-group-after, rng-subst-group-after)
4444 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4445 Use closures instead of `(lambda...).
4446
f8f91d5d
MA
44472013-10-07 Michael Albinus <michael.albinus@gmx.de>
4448
4449 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4450 of BEG and END.
4451
da3e5ebb
SM
4452 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4453 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
4454 (tramp-gvfs-handle-insert-file-contents): Remove function.
4455
da3e5ebb
SM
4456 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4457 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
4458
4459 * net/trampver.el: Update release number.
4460
7ccae3b1
SM
44612013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4462
55ca2c0d
SM
4463 * progmodes/compile.el (compilation-parse-errors):
4464 Use compilation--put-prop.
4465 (compilation--ensure-parse): Check compilation-multiline.
4466
731fc3ae
SM
4467 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4468
da3e5ebb
SM
4469 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4470 lexical-binding.
a5833280 4471
2e7ba2c2
SM
4472 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4473
7ccae3b1
SM
4474 * progmodes/ruby-mode.el: Fix recently added tests.
4475 (ruby-smie-grammar): Add - and +.
4476 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4477 (ruby-smie--backward-id): New functions.
4478 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4479 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4480 any more.
4481
85698d63
LL
44822013-10-07 Leo Liu <sdl.web@gmail.com>
4483
4484 * register.el (register-preview-delay)
4485 (register-preview-functions): New variables.
4486 (register-read-with-preview, register-preview)
4487 (register-describe-oneline): New functions.
4488 (point-to-register, window-configuration-to-register)
4489 (frame-configuration-to-register, jump-to-register)
4490 (number-to-register, view-register, insert-register)
4491 (copy-to-register, append-to-register, prepend-to-register)
4492 (copy-rectangle-to-register): Use register-read-with-preview to
4493 read register. (Bug#15525)
4494
3986af6c
DS
44952013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4496
4497 * net/network-stream.el (network-stream-open-starttls): Don't add
4498 --insecure if it's already present, because that gnutls-cli
4499 rejects getting that parameter twice.
4500
5cd9cda9
DG
45012013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4502
4503 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4504 keyword, too.
4505
da9ea6d9
DG
45062013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4507
4508 * newcomment.el (comment-use-global-state): Change default value
4509 to t, mark obsolete (Bug#15251).
4510 (comment-beginning): In addition to `comment-to-syntax', check the
4511 value of `comment-use-global-state'.
4512
34d1a133
SM
45132013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4514
4515 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4516 (ruby-comment-column): Follow the global default, by default.
4517 (ruby-smie-grammar): Add assignment syntax.
4518 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4519 open-paren, a comma, or a \.
4520 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4521 and line continuations.
4522 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4523 followed by implicit semi-colons. Add rule for string concatenation
4524 and for indentation at BOB.
4525 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4526
4527 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4528 calling next-sexp, since next-token may have skipped chars which
4529 next-sexp doesn't know should be skipped!
4530
6f6ab820
LL
45312013-10-05 Leo Liu <sdl.web@gmail.com>
4532
34d1a133
SM
4533 * progmodes/octave.el (octave-send-region):
4534 Call compilation-forget-errors.
6f6ab820 4535
34ca0f4c
XF
45362013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4537
4538 * vc/vc-svn.el (vc-svn-find-admin-dir):
4539 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4540 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4541 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4542 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4543
a27c1b72
SM
45442013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4545
4546 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4547
258ab3bc
SM
45482013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4549
4550 * subr.el (read-passwd): Hide chars even when called within a context
4551 where after-change-functions is disabled (bug#15501).
4552 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4553 until we removed ourself from overriding-terminal-local-map.
4554
939fb29c
LL
45552013-10-04 Leo Liu <sdl.web@gmail.com>
4556
258ab3bc
SM
4557 * progmodes/octave.el (inferior-octave-mode):
4558 Call compilation-forget-errors.
939fb29c 4559
63bd7f35
XF
45602013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4561
4562 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4563
9e6229fa
MA
45642013-10-04 Michael Albinus <michael.albinus@gmx.de>
4565
4566 * net/secrets.el (secrets-create-collection): Add optional
4567 argument ALIAS. Use proper Label keyword. Append ALIAS as
4568 dbus-call-method argument. (Bug#15516)
4569
1dab32a3
LL
45702013-10-04 Leo Liu <sdl.web@gmail.com>
4571
4572 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4573 (inferior-octave-compilation-font-lock-keywords): New variables.
4574 (compilation-error-regexp-alist)
4575 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4576 (inferior-octave-mode): Use compilation-shell-minor-mode.
4577
6cad7ba3
JS
45782013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4579
4580 * minibuffer.el (completion--replace): Be careful that `end' might be
4581 a marker.
4582
acbadd00
DU
45832013-10-03 Daiki Ueno <ueno@gnu.org>
4584
4585 Add support for package signature checking.
4586 * emacs-lisp/package.el (url-http-file-exists-p)
4587 (epg-make-context, epg-context-set-home-directory)
4588 (epg-verify-string, epg-context-result-for)
4589 (epg-signature-status, epg-signature-to-string)
4590 (epg-check-configuration, epg-configuration)
4591 (epg-import-keys-from-file): Declare.
4592 (package-check-signature): New user option.
4593 (package-unsigned-archives): New user option.
4594 (package-desc): Add `signed' field.
4595 (package-load-descriptor): Set `signed' field if .signed file exists.
4596 (package--archive-file-exists-p): New function.
4597 (package--check-signature): New function.
4598 (package-install-from-archive): Check package signature.
4599 (package--download-one-archive): Check archive signature.
4600 (package-delete): Remove .signed file.
4601 (package-import-keyring): New command.
4602 (package-refresh-contents): Import default keyring.
4603 (package-desc-status): Add "unsigned" status.
4604 (describe-package-1, package-menu--print-info)
4605 (package-menu-mark-delete, package-menu--find-upgrades)
4606 (package-menu--status-predicate): Support "unsigned" status.
4607
adf2aa61
SM
46082013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4609
4610 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4611 the new compilation scheme using the new byte-codes.
4612
4613 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4614 (byte-pophandler): New byte codes.
4615 (byte-goto-ops): Adjust accordingly.
4616 (byte-compile--use-old-handlers): New var.
4617 (byte-compile-catch): Use new byte codes depending on
4618 byte-compile--use-old-handlers.
4619 (byte-compile-condition-case--old): Rename from
4620 byte-compile-condition-case.
4621 (byte-compile-condition-case--new): New function.
4622 (byte-compile-condition-case): New function that dispatches depending
4623 on byte-compile--use-old-handlers.
4624 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4625 when we can.
4626
4627 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4628 Optimize under `condition-case' and `catch' if
4629 byte-compile--use-old-handlers is nil.
4630 (disassemble-offset): Handle new bytecodes.
4631
328a8179
SM
46322013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4633
4634 * subr.el (error): Use `declare'.
4635 (decode-char, encode-char): Use advertised-calling-convention instead
4636 of the docstring to discourage use of the `restriction' arg.
4637
15a1e936
DU
46382013-10-03 Daiki Ueno <ueno@gnu.org>
4639
4640 * epg.el (epg-verify-file): Add a comment saying that it does not
4641 notify verification error as a return value nor a signal.
4642 (epg-verify-string): Ditto.
4643
376f862a
KR
46442013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4645
4646 * progmodes/compile.el (compilation-start): Try globbing the arg to
4647 `cd' (bug#15417).
4648
a2f93a5f
MA
46492013-10-02 Michael Albinus <michael.albinus@gmx.de>
4650
4651 Sync with Tramp 2.2.8.
4652
4653 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4654 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4655 * net/trampver.el: Update release number.
4656
0daa0804
JD
46572013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4658
4659 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4660 and default-process-coding-system for darwin only.
4661
abd1ae34
SM
46622013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4663
4664 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4665
be4e325d
MH
46662013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4667
4668 * vc/vc-git.el (vc-git-grep): Disable pager.
4669
e9155c4a
DG
46702013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4671
494e898b
DG
4672 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4673 Use :url instead of :homepage, as per
4674 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4675
e9155c4a
DG
4676 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4677 non-nil, use `syntax-ppss' (Bug#15251).
4678
481a8e0f
RS
46792013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4680
be4e325d
MH
4681 * progmodes/octave.el (inferior-octave-startup-file):
4682 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 4683
056453c6
DG
46842013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4685
be4e325d
MH
4686 * emacs-lisp/package.el (package-desc-from-define):
4687 Accept additional arguments as plist, convert them to an alist and store
4688 them in the `extras' slot.
056453c6
DG
4689 (package-generate-description-file): Convert extras alist back to
4690 plist and append to the `define-package' form arguments.
4691 (package--alist-to-plist): New function.
4692 (package--ac-desc): Add `extras' slot.
4693 (package--add-to-archive-contents): Check if the archive-contents
4694 vector is long enough, and if it is, pass its `extras' slot value
4695 to `package-desc-create'.
4696 (package-buffer-info): Call `lm-homepage', pass the returned value
4697 to `package-desc-from-define'.
4698 (describe-package-1): Render the homepage button (Bug#13291).
4699
be4e325d
MH
4700 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4701 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 4702
832966e5
JD
47032013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4704
4705 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4706 and default-process-coding-system to utf-8-unix (Bug#15402).
4707
6cfe977d
XF
47082013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4709
4710 * subr.el (looking-back): Do not recommend using looking-back.
4711
38de11bd
AM
47122013-09-28 Alan Mackenzie <acm@muc.de>
4713
4714 Fix indentation/fontification of Java enum with "implements".
4715
4716 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4717 regexp which matches "implements", etc., in Java.
4718 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4719 specifier clauses coming after "enum".
4720 * progmodes/cc-fonts.el (c-font-lock-declarations)
4721 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4722 after "enum".
4723
1610938f
JD
47242013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4725
4726 * faces.el (region): Change ns_selection_color to
4727 ns_selection_fg_color, add ns_selection_bg_color.
4728
e090f499
LL
47292013-09-28 Leo Liu <sdl.web@gmail.com>
4730
4d2e94d1
LL
4731 * progmodes/octave.el (inferior-octave-completion-table)
4732 (inferior-octave-completion-at-point): Minor tweaks.
4733
e090f499
LL
4734 * textmodes/ispell.el (ispell-lookup-words): Rename from
4735 lookup-words. (Bug#15460)
4736 (lookup-words): Obsolete.
4737 (ispell-complete-word, ispell-command-loop): All uses changed.
4738
7e138a62
RS
47392013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4740
a12bf61e 4741 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
4742 (octave-mode-menu): Add octave-send-buffer.
4743 (octave-send-buffer): New function.
4744
5af5ed08
RS
47452013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4746
a12bf61e 4747 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
4748 octave-lookfor.
4749 (octave-mode-menu): Add octave-lookfor.
4750 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4751 octave-lookfor.
4752 (octave-lookfor): New function.
4753
3b7b2692
SM
47542013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4755
4756 * emacs-lisp/cl-macs.el:
4757 (cl--loop-destr-temps): Remove.
4758 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4759 its convention.
4760 (cl--loop-set-iterator-function): New function.
4761 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4762 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4763 Bind `it' with `let' instead of substituting it with `cl-subst'.
4764 (cl--unused-var-p): New function.
4765 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4766 Eliminate some unused variable warnings (bug#15326).
4767
529fb53f
TH
47682013-09-27 Tassilo Horn <tsdh@gnu.org>
4769
4770 * doc-view.el (doc-view-scale-reset): Rename from
4771 `doc-view-reset-zoom-level'.
4772 (doc-view-scale-adjust): New command.
4773 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4774 `doc-view-scale-adjust'.
4775
0550c95a
TH
47762013-09-26 Tassilo Horn <tsdh@gnu.org>
4777
4778 * doc-view.el (doc-view-reset-zoom-level): New command.
4779 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4780 zoom commands (bug#15466).
4781
6950f152
KH
47822013-09-26 Kenichi Handa <handa@gnu.org>
4783
4784 * international/quail.el (quail-help): Make it not a command.
4785
39587580
LL
47862013-09-26 Leo Liu <sdl.web@gmail.com>
4787
4788 * minibuffer.el (completion-all-sorted-completions): Make args
4789 optional as they are.
4790
00578659
DC
47912013-09-25 Daniel Colascione <dancol@dancol.org>
4792
4793 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4794 specs are and that they're not evaluated.
4795
0c173878
SS
47962013-09-24 Sam Steingold <sds@gnu.org>
4797
4798 * midnight.el (clean-buffer-list-kill-regexps)
4799 (clean-buffer-list-kill-buffer-names): Update for the new Man
4800 buffer naming which includes the object name.
4801
84998447
SM
48022013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4803
4804 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4805 (eshell-parse-command, eshell-parse-pipeline): Use it since
4806 eshell-separate-commands requires a dynamic scoped var.
4807 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4808
33215353
LL
48092013-09-23 Leo Liu <sdl.web@gmail.com>
4810
4811 * autoinsert.el (auto-insert-alist): Make the value of
4812 lexical-binding match its file setting.
4813
57b16162
JB
48142013-09-23 Juanma Barranquero <lekktu@gmail.com>
4815
c8af4e67
JB
4816 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4817
57b16162
JB
4818 * autoarg.el (autoarg-kp-digit-argument):
4819 * electric.el (Electric-command-loop):
4820 * kmacro.el (kmacro-step-edit-insert):
4821 Do not set universal-argument-num-events.
4822
7186ba60
LL
48232013-09-22 Leo Liu <sdl.web@gmail.com>
4824
4825 * files.el (interpreter-mode-alist): Add octave.
4826
ece15004
AM
48272013-09-21 Alan Mackenzie <acm@muc.de>
4828
4829 C++: fontify identifier in declaration following "public:" correctly.
4830 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4831 to match "public", etc.
4832 (c-decl-prefix-re): Add ":" into the C++ value.
4833 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4834 bit. Add a check for a ":" preceded by "public", etc.
4835
75d83e22
EZ
48362013-09-21 Eli Zaretskii <eliz@gnu.org>
4837
4838 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4839 recognized by GDB 7.5 and later.
4840
d052d3bd
XF
48412013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4842
4843 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4844
31dca772
R
48452013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4846
4847 * subr.el (internal--call-interactively): New const.
4848 (called-interactively-p): Use it (bug#3984).
4849
98ccf24e
XF
48502013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4851
4852 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
4853 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4854 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 4855
c39cc7d1
SM
48562013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4857
4858 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4859 (eshell-ls-orig-insert-directory): Remove.
4860 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4861 (eshell-ls-use-in-dired): Use advice-add/remove.
4862 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4863 Add `orig-fun' arg for use in :around advice.
4864 Make it check (redundantly) eshell-ls-use-in-dired.
4865
9a0289a2
GM
48662013-09-19 Glenn Morris <rgm@gnu.org>
4867
a2c501b8
GM
4868 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4869
c440407a
GM
4870 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4871
9a0289a2
GM
4872 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4873
85e05915
MA
48742013-09-19 Michael Albinus <michael.albinus@gmx.de>
4875
4876 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4877 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4878 (tramp-get-remote-python): New defuns.
4879 (tramp-get-remote-uid-with-perl)
4880 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4881 contributed by yary <not.com@gmail.com> (tiny change).
4882 (tramp-get-remote-uid-with-python)
4883 (tramp-get-remote-gid-with-python): New defuns. Python code
4884 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4885 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4886
ce503312
GM
48872013-09-19 Glenn Morris <rgm@gnu.org>
4888
f7544773
GM
4889 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4890
72fd2877
GM
4891 * eshell/em-unix.el (eshell-remove-entries):
4892 Rename argument to avoid name-clash with global `top-level'.
4893
336b5a56
GM
4894 * eshell/esh-proc.el (eshell-kill-process-function):
4895 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4896 (eshell-reset-after-proc): Remove unused arg `proc'.
4897
57a3a53d
GM
4898 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4899 (directory-files-and-attributes): Mark unused arg.
4900
3261d4af
GM
4901 * eshell/em-unix.el (eshell-remove-entries):
4902 Remove unused arg `path'. Update callers.
4903
8e51b5d0
GM
4904 * eshell/em-hist.el (eshell-hist-parse-arguments):
4905 Remove unused arg `silent'. Update callers.
4906
ce503312
GM
4907 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4908 Fix (f)boundp mix-up.
4909
4910 * eshell/em-smart.el (eshell-smart-scroll-window)
4911 (eshell-disable-after-change):
336b5a56 4912 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 4913
ee3ce8a7
AM
49142013-09-18 Alan Mackenzie <acm@muc.de>
4915
4916 Fix fontification of type when followed by "const".
4917 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4918 "known" types from fontification.
4919
ec9177ba
GM
49202013-09-18 Glenn Morris <rgm@gnu.org>
4921
7bb3e768
GM
4922 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4923 (chart-face-list): Drop Emacsen without display-color-p.
4924
5148da15
GM
4925 * net/eww.el (libxml-parse-html-region): Declare.
4926 (eww-display-html): Explicit error if no libxml2 support.
4927
2f68e157
GM
4928 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4929
9019d095
GM
4930 * image.el (image-type-from-buffer, image-multi-frame-p):
4931 Remove --without-x warning/error.
67645389 4932
5f30349b 4933 * mouse.el (mouse-yank-primary):
45069b2e 4934 * term.el (term-mouse-paste):
5f30349b
GM
4935 Reorder to silence --without-x compilation.
4936
cd8edbbe
GM
4937 * mpc.el (doc-view-mode): Silence --without-x compilation.
4938
8a78544e
GM
4939 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4940 Silence --without-x compilation.
4941
12679bfd
GM
4942 * progmodes/gud.el (gud-find-file, gud-mode):
4943 Silence --without-x compilation.
4944 (tooltip-mode): Declare.
30810a05 4945
f0047cb9
GM
4946 * wdired.el (dired-backup-overwrite): Remove declaration.
4947 (wdired-mode-map): Add doc string.
4948
e740f9d2
GM
4949 * custom.el (x-get-resource): Declare.
4950
92d77c89
GM
4951 * eshell/em-glob.el (ange-cache):
4952 * eshell/em-unix.el (ange-cache): Declare.
4953
76e69577
GM
4954 * faces.el (x-display-list, x-open-connection, x-get-resource):
4955 Declare.
7e58af4b
GM
4956
4957 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4958 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4959 Declare.
76e69577 4960
4bd4c0af 4961 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 4962
ffb82dbd
GM
4963 * net/gnutls.el (gnutls-log-level): Declare.
4964
986ed135
GM
4965 * net/shr.el (image-size, image-animate): Declare.
4966
e740f9d2
GM
4967 * simple.el (font-info): Declare.
4968
d2f3e9f8
GM
4969 * subr.el (x-popup-dialog): Declare.
4970
047a1a4c
GM
4971 * term/common-win.el (x-select-enable-primary)
4972 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4973 Declare.
4974
f4a1d572
GM
4975 * term/ns-win.el (x-handle-args): Declare.
4976
e843de77
GM
4977 * term/x-win.el (x-select-enable-clipboard): Declare.
4978
5fa89513
GM
4979 * term/w32-win.el (create-default-fontset): Declare.
4980
38702b5b
GM
4981 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4982 Declare.
4983
e740f9d2
GM
4984 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4985 (fit-frame-to-buffer): Explicit error if --without-x.
4986 (mouse-autoselect-window-select): Silence compiler.
4987
49a053fc
GM
4988 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4989
4990 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4991 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4992 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 4993 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
4994 Remove unused local variables.
4995
4996 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4997
ec9177ba
GM
4998 * textmodes/two-column.el: Make 2C-split work for --without-x.
4999 (scroll-bar-columns): Autoload.
5000 (top-level): Require fringe when compiling.
5001
9f25cb77
LL
50022013-09-18 Leo Liu <sdl.web@gmail.com>
5003
5004 * subr.el (add-hook): Robustify to handle closure as well.
5005
2b42da98
GM
50062013-09-17 Glenn Morris <rgm@gnu.org>
5007
5008 * simple.el (messages-buffer-mode-map): Unbind "g".
5009
e8b66a6a
SM
50102013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5011
9c0ad4f7
SM
5012 * help-mode.el (help-mode-finish): Use derived-mode-p.
5013 Remove obsolete highlighting.
5014
7a806dfb
SM
5015 * play/life.el (life-mode): Use define-derived-mode. Derive from
5016 special-mode.
5017 (life): Let-bind inhibit-read-only.
5018 (life-setup): Avoid `setq'. Use `life-mode'.
5019
96dbf5a8
SM
5020 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5021 which should not be needed any more.
5022 (package-menu-refresh, package-menu-describe-package): Use user-error.
5023
e8b66a6a
SM
5024 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5025 (eshell-post-rewrite-command-hook): Make obsolete.
5026 (eshell-parse-command): Simplify.
5027 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5028 (eshell--cmd): Declare.
5029 (eshell-parse-pipeline): Remove unused var `final-p'.
5030 Pass a dynvar to eshell-post-rewrite-command-hook.
5031 Implement the new eshell-post-rewrite-command-function.
5032 (eshell-invoke-directly): Remove unused arg `input'.
5033 * eshell/esh-io.el (eshell-io-initialize):
5034 Use eshell-post-rewrite-command-function (bug#15399).
5035 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5036 adjust to new calling convention.
5037 (eshell-create-handles): Rename args to avoid clashing with dynvar
5038 `standard-output'.
5039
90582f05
GM
50402013-09-17 Glenn Morris <rgm@gnu.org>
5041
5042 * simple.el (messages-buffer-mode): New major mode.
5043 (messages-buffer): New function.
5044 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5045 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 5046 (ert-run-test): Use `messages-buffer' function.
90582f05 5047 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
5048 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5049 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 5050
39eb0cb5 50512013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
5052
5053 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5054
1d42e5b6 5055 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 5056
70568a90
SM
50572013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5058
504a0381
SM
5059 * icomplete.el (icomplete-in-buffer): New var.
5060 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5061 vars and replace them with functions.
5062 (icomplete-minibuffer-setup): Adjust accordingly.
5063 (icomplete--completion-table, icomplete--completion-predicate)
5064 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5065 New functions.
5066 (icomplete-forward-completions, icomplete-backward-completions)
5067 (icomplete-simple-completing-p, icomplete-exhibit)
5068 (icomplete-completions): Use them.
5069 (icomplete--in-region-buffer): New var.
5070 (icomplete--in-region-setup): New function.
5071 (icomplete-mode): Use it.
5072
70568a90
SM
5073 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5074 (bug#15379).
5075 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5076 return args and options.
5077 (eshell-eval-using-options): Use the new return value of
5078 eshell--do-opts to set the options's vars in their scope.
5079 (eshell--set-option): Rename from eshell-set-option.
5080 Add arg `opt-vals'.
5081 (eshell--process-option): Rename from eshell-process-option.
5082 Add arg `opt-vals'.
5083 (eshell--process-args): Use an `opt-vals' alist to store the options's
5084 values during their processing and return them additionally to the
5085 remaining args.
5086
578c21bc
DG
50872013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5088
5089 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5090 continuation character an operator, as far as indentation is
5091 concerned (Bug#15369).
5092
c089653d
MR
50932013-09-15 Martin Rudalics <rudalics@gmx.at>
5094
5095 * window.el (window--state-put-2): Don't process buffer state
5096 when buffer doesn't exist any more (Bug#15382).
5097
1e53bb4b
GM
50982013-09-15 Glenn Morris <rgm@gnu.org>
5099
30753242
GM
5100 * eshell/em-unix.el (eshell/rm):
5101 Make -f ignore missing files. (Bug#15373)
5102
1e53bb4b
GM
5103 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5104 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5105 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5106
0d8863b3
GM
51072013-09-14 Glenn Morris <rgm@gnu.org>
5108
5109 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5110
d3fc6549
GM
51112013-09-13 Glenn Morris <rgm@gnu.org>
5112
5113 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5114 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5115
fcd42c11
DA
51162013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5117
5118 * frame.el (x-focus-frame): Mark as declared in frame.c.
5119
7830899f
SM
51202013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5121
5122 * ls-lisp.el: Use advice-add.
5123 (original-insert-directory): Remove.
5124 (ls-lisp--insert-directory): Rename from insert-directory; add
5125 `orig-fun' argument.
5126 (insert-directory): Advise.
5127
84387cd2
EZ
51282013-09-13 Eli Zaretskii <eliz@gnu.org>
5129
5130 * term.el (term-emulate-terminal): Decode the command string
5131 before passing it to term-command-hook. (Bug#15337)
5132
35ffc6ba
GM
51332013-09-13 Glenn Morris <rgm@gnu.org>
5134
5c3f9bcc
GM
5135 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5136
2ada368a
GM
5137 * eshell/esh-ext.el (eshell-search-path): Declare.
5138
fcef2e13
GM
5139 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5140 Otherwise an error occurs if eshell-dirs module not loaded.
5141
35ffc6ba
GM
5142 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5143
35c3d36e
MA
51442013-09-13 Michael Albinus <michael.albinus@gmx.de>
5145
5146 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5147 `tramp-check-proper-host'. Check for a valid method name.
5148
5149 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5150 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5151 * net/tramp-sh.el (tramp-maybe-open-connection):
5152 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5153
5154 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5155 also for hash values.
5156
ae5e4c48
SM
51572013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5158
379add74
SM
5159 * term/ns-win.el (parameters): Don't declare as dynamic.
5160 (before-make-frame-hook): Don't add ineffective function.
5161
ae5e4c48
SM
5162 * eshell/*.el: Use lexical-binding (bug#15231).
5163
b5623270
KH
51642013-09-12 Kenichi Handa <handa@gnu.org>
5165
ae5e4c48 5166 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 5167
30213927
GM
51682013-09-12 Glenn Morris <rgm@gnu.org>
5169
be94d713 5170 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 5171 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 5172
44915370
GM
5173 * subr.el (do-after-load-evaluation): Also give compiler warnings
5174 when obsolete files are used (except by obsolete files).
5175
a6ae021f
GM
5176 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5177 in the status output, assume `filename' is the first. (Bug#15322)
5178
40e64f0c
GM
5179 * vc/vc.el (vc-deduce-fileset): Doc fix.
5180
16d9f896
GM
5181 * calc/calc-help.el (Info-goto-node):
5182 * progmodes/cperl-mode.el (Info-find-node):
5183 * vc/ediff.el (Info-goto-node): Update declarations.
5184
dea01c6e
GM
5185 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5186
759880bf 5187 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
5188 (vc-bzr-pull): Require vc-dispatcher.
5189 * vc/vc-git.el (vc-compilation-mode): Declare.
5190 (vc-git-pull): Require vc-dispatcher.
5191
08d66420
GM
5192 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5193
30b626e9
GM
5194 * progmodes/octave.el (help-button-action): Declare.
5195
8c05cb10
GM
5196 * shell.el (shell-directory-tracker): Output error as a message
5197 rather than just returning it as a string.
5198 (shell-process-pushd): Remove useless use of message.
5199
30213927
GM
5200 * dframe.el (dframe-timer-fn):
5201 * files.el (dir-locals-read-from-file):
5202 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5203 (mpc-format):
5204 * reveal.el (reveal-post-command):
5205 * saveplace.el (load-save-place-alist-from-file):
5206 * shell.el (shell-resync-dirs):
5207 * w32-common-fns.el (x-get-selection-value):
5208 * emacs-lisp/copyright.el (copyright-find-copyright):
5209 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5210 * emulation/tpu-edt.el (tpu-copy-keyfile):
5211 * play/bubbles.el (bubbles--mark-neighbourhood):
5212 * progmodes/executable.el
5213 (executable-make-buffer-file-executable-if-script-p):
5214 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5215
d3b049e6
SM
52162013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5217
170266d0
SM
5218 Cleanup Eshell to rely less on dynamic scoping.
5219 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5220 last-value, and ext-command here. Bind `args' closer to `body'.
5221 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5222 (eshell--args): Declare new dynamic var.
5223 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5224 last-value, and ext-command. Pass `args' to `body'.
5225 (eshell-process-args): Bind eshell--args.
5226 (eshell-set-option): Use eshell--args.
5227 * eshell/eshell.el (eshell): Use derived-mode-p.
5228 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5229 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5230 (eshell-glob-function): Declare.
5231 * eshell/esh-util.el: Require cl-lib.
5232 (eshell-read-hosts-file): Avoid add-to-list.
5233 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5234 `err'.
5235 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5236 Declare.
5237 (eshell/diff): Remove unused var `err'.
5238 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5239 `killflag'.
5240 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5241 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5242 first use.
5243 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5244 Move declaration before first use.
5245 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
5246 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5247 rely on cl-return.
5248
56834f3b
GM
52492013-09-12 Glenn Morris <rgm@gnu.org>
5250
5251 * term/ns-win.el (global-map): Remove binding for ispell-next,
5252 deleted 1999-05-29. (Bug#15357)
5253
5c91a2b8
GM
52542013-09-11 Glenn Morris <rgm@gnu.org>
5255
da712f22
GM
5256 * echistory.el (electric-command-history): Remove call to deleted func.
5257
512e4cdc
GM
5258 * play/landmark.el (landmark-mode): Fix typos.
5259
d3506ca5
GM
5260 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5261 Check cvs-sort-ignore-file is bound.
5262
5c91a2b8
GM
5263 * savehist.el: No need for cl when compiling on Emacs.
5264
feeff482
SM
52652013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5266
656bd483
SM
5267 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5268 (bug#15338).
d3b049e6
SM
5269 (eshell-self-insert-command, eshell-send-invisible):
5270 Remove unused argument.
656bd483
SM
5271 (eshell-handle-control-codes): Remove unused var `orig'.
5272 Avoid delete-backward-char.
5273
feeff482
SM
5274 * files.el (set-auto-mode): Simplify a bit further.
5275
2a08047a
GM
52762013-09-11 Glenn Morris <rgm@gnu.org>
5277
5278 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5279 (set-auto-mode): Don't regexp-quote elements.
5280 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5281 * progmodes/cc-mode.el (interpreter-mode-alist):
5282 * progmodes/ruby-mode.el (interpreter-mode-alist):
5283 Revert previous change.
5284
34675540
SM
52852013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5286
1b3b87df
SM
5287 * play/snake.el (snake-mode):
5288 * play/mpuz.el (mpuz-mode):
5289 * play/landmark.el (lm-mode):
5290 * play/blackbox.el (blackbox-mode):
5291 * play/5x5.el (5x5-mode):
5292 * obsolete/options.el (Edit-options-mode):
5293 * net/quickurl.el (quickurl-list-mode):
5294 * net/newst-treeview.el (newsticker-treeview-mode):
5295 * mail/rmailsum.el (rmail-summary-mode):
5296 * mail/mspools.el (mspools-mode):
5297 * locate.el (locate-mode):
5298 * ibuffer.el (ibuffer-mode):
5299 * emulation/ws-mode.el (wordstar-mode):
5300 * emacs-lisp/debug.el (debugger-mode):
5301 * array.el (array-mode):
5302 * net/eudc.el (eudc-mode): Use define-derived-mode.
5303 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5304 Move initialization into declaration.
5305 (mairix-searches-mode): Use define-derived-mode.
5306 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5307 (eudc-edit-hotlist): Use dolist.
5308 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5309 (Man-mode): Use define-derived-mode.
5310 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5311 (Info-edit-mode): Use define-derived-mode.
5312 (Info-cease-edit): Use Info-mode.
5313 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5314 into declaration.
5315 (eshell-mode): Use define-derived-mode.
5316 * chistory.el (command-history-mode-map): Rename from
5317 command-history-map.
5318 (command-history-mode): Use define-derived-mode.
da712f22 5319 (Command-history-setup): Remove function.
1b3b87df
SM
5320 * calc/calc.el (calc-trail-mode-map): New var.
5321 (calc-trail-mode): Use define-derived-mode.
5322 (calc-trail-buffer): Set calc-main-buffer manually.
5323 * bookmark.el (bookmark-insert-annotation): New function.
5324 (bookmark-edit-annotation): Use it.
5325 (bookmark-edit-annotation-mode): Make it a proper major mode.
5326 (bookmark-send-edited-annotation): Use derived-mode-p.
5327 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5328 closer to its ideal place. Use \' to match EOS.
5329
34675540
SM
5330 * profiler.el (profiler-calltree-find): Use function-equal.
5331
6a5c15d9
GM
53322013-09-10 Glenn Morris <rgm@gnu.org>
5333
1af4c220
GM
5334 * files.el (interpreter-mode-alist): Convert to regexps.
5335 (set-auto-mode): Adapt for this. (Bug#15306)
5336 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5337 Comment out unused variable.
5338 * progmodes/cc-mode.el (interpreter-mode-alist):
5339 * progmodes/python.el (interpreter-mode-alist):
5340 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5341 * progmodes/sh-script.el (sh-set-shell):
5342 No longer use interpreter-mode-alist to get list of shells.
5343
6a5c15d9
GM
5344 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5345
8c27f5ff
SM
53462013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5347
02ef6c1a 5348 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 5349 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
5350 Bind switch-frame explicitly. Replace universal-argument-minus with
5351 a conditional binding.
5352 (universal-argument-num-events, saved-overriding-map): Remove.
5353 (restore-overriding-map): Remove.
5354 (universal-argument--mode): Rename from save&set-overriding-map,
5355 and rewrite.
5356 (universal-argument, universal-argument-more, negative-argument)
5357 (digit-argument): Adjust accordingly.
5358 (universal-argument-minus): Remove.
5359 (universal-argument-other-key): Remove.
5360
8c27f5ff
SM
5361 * subr.el (with-demoted-errors): Add `format' argument.
5362
6480194c
MA
53632013-09-10 Michael Albinus <michael.albinus@gmx.de>
5364
5365 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5366 `tramp-cleanup-connection'.
5367
5368 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5369 parameters KEEP-DEBUG and KEEP-PASSWORD.
5370
5371 * net/tramp.el (tramp-file-name-handler):
5372 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5373 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5374 (tramp-maybe-open-connection):
8c27f5ff
SM
5375 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5376 Use `tramp-cleanup-connection'.
6480194c 5377
8c27f5ff
SM
5378 * net/tramp-sh.el (tramp-maybe-open-connection):
5379 Catch 'uname-changed inside the progress reporter.
6480194c 5380
e5e916d8
GM
53812013-09-10 Glenn Morris <rgm@gnu.org>
5382
9a2c9b47
GM
5383 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5384
e5e916d8
GM
5385 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5386 returns "alternate access method" in mode (eg "-rw-r--r--.").
5387
144e38fe
GM
53882013-09-08 Glenn Morris <rgm@gnu.org>
5389
5390 * saveplace.el (load-save-place-alist-from-file):
5391 Demote errors. (Bug#15305)
5392
af9ff9e8
MA
53932013-09-08 Michael Albinus <michael.albinus@gmx.de>
5394
5395 Improve compatibility with older Emacsen, and XEmacs.
5396
5397 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5398 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
5399 (with-tramp-progress-reporter): Do not let-bind `result'.
5400 This yields to scoping errors in XEmacs.
af9ff9e8
MA
5401 (tramp-handle-make-auto-save-file-name): New function, moved from
5402 tramp-sh.el.
5403
5404 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5405 for `make-auto-save-file-name'.
8c27f5ff
SM
5406 (tramp-adb--gnu-switches-to-ash):
5407 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5408
5409 * net/tramp-cache.el (tramp-cache-print): Call
5410 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5411
5412 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5413 bound. It isn't for XEmacs.
5414
8c27f5ff
SM
5415 * net/tramp-compat.el (tramp-compat-copy-file):
5416 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
5417 (tramp-compat-replace-regexp-in-string): New defun.
5418
5419 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5420 for `make-auto-save-file-name'.
5421 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5422 `copy-file'.
5423 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5424 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5425 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5426
8c27f5ff
SM
5427 * net/tramp-gw.el (tramp-gw-open-network-stream):
5428 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 5429
8c27f5ff
SM
5430 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5431 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
5432 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5433 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
5434 (tramp-sh-file-inotifywait-process-filter):
5435 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5436 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5437
5438 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5439 for `make-auto-save-file-name'.
8c27f5ff
SM
5440 (tramp-smb-handle-copy-directory):
5441 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5442 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5443 (tramp-smb-handle-copy-file): Improve error message.
5444 (tramp-smb-handle-rename-file): Rename directly only in case
5445 `newname' does not exist yet. This is a restriction of smbclient.
5446 (tramp-smb-maybe-open-connection): Rerun the function only when
5447 `auth-sources' is non-nil.
5448
0ca754d0
KH
54492013-09-08 Kenichi Handa <handa@gnu.org>
5450
e0eb0550 5451 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
5452 more characters.
5453
e8dd0787
AM
54542013-09-07 Alan Mackenzie <acm@muc.de>
5455
5456 Correctly fontify Java class constructors.
5457 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5458 in Java Mode.
5459 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
5460 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5461 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
5462 "typeless" declaration there.
5463
f2f248e7
RW
54642013-09-07 Roland Winkler <winkler@gnu.org>
5465
5466 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5467 field subtitle for entry type book.
5468
67982e2b
SM
54692013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5470
5471 * minibuffer.el: Make minibuffer-complete call completion-in-region
5472 rather than other way around.
5473 (completion--some, completion-pcm--find-all-completions):
5474 Don't delay signals when debugging.
5475 (minibuffer-completion-contents): Beware fields within the
5476 minibuffer contents.
5477 (completion-all-sorted-completions): Use defvar-local.
5478 (completion--do-completion, completion--cache-all-sorted-completions)
5479 (completion-all-sorted-completions, minibuffer-force-complete):
5480 Add args `beg' and `end'.
5481 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5482 (minibuffer-complete): Use completion-in-region.
5483 (completion-complete-and-exit): New fun, extracted from
5484 minibuffer-complete-and-exit.
5485 (minibuffer-complete-and-exit): Use it.
5486 (completion--complete-and-exit): Rename from
5487 minibuffer--complete-and-exit.
5488 (completion-in-region--single-word): New function, extracted from
5489 minibuffer-complete-word.
5490 (minibuffer-complete-word): Use it.
5491 (display-completion-list): Make `common-substring' argument obsolete.
5492 (completion--in-region): Call completion--in-region-1 instead of
5493 minibuffer-complete.
5494 (completion-help-at-point): Pass boundaries to
5495 minibuffer-completion-help as args rather than via an overlay.
5496 (completion-pcm--string->pattern): Use `any-delim'.
5497 (completion-pcm--optimize-pattern): New function.
5498 (completion-pcm--pattern->regex): Handle `any-delim'.
5499 * icomplete.el (icomplete-forward-completions)
5500 (icomplete-backward-completions, icomplete-completions):
5501 Adjust calls to completion-all-sorted-completions and
5502 completion--cache-all-sorted-completions.
5503 (icomplete-with-completion-tables): Default to t.
5504 * emacs-lisp/crm.el (crm--current-element): Rename from
5505 crm--select-current-element. Don't put an overlay but return the
5506 boundaries instead.
5507 (crm--completion-command): Take two new args to bind to the boundaries.
5508 (crm-completion-help): Adjust accordingly.
5509 (crm-complete): Use completion-in-region.
5510 (crm-complete-word): Use completion-in-region--single-word.
5511 (crm-complete-and-exit): Use completion-complete-and-exit.
5512
e17d94a5
SM
55132013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5514
5515 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5516 than dynamically.
5517
96727100
JL
55182013-09-06 Juri Linkov <juri@jurta.org>
5519
5520 * info.el (Info-display-images-node): When image file doesn't exist
5521 display text version of the image if it's provided in the Info file.
5522 Otherwise, display the location of missing image from SRC attribute.
5523 Add help-echo text property from ALT attribute. (Bug#15279)
5524
86cf7329
SM
55252013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5526
5527 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5528 (edit-abbrevs-mode): Use define-derived-mode.
5529
5530 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5531 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5532 that it's defined.
5533 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5534 Use define-derived-mode.
5535
5536 * epg.el (epg-start-encrypt): Minor CSE simplification.
5537
816244a2
WX
55382013-09-06 William Xu <william.xwl@gmail.com>
5539
5540 * arc-mode.el: Add support for 7za (bug#15264).
5541 (archive-7z-program): New var.
5542 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5543 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5544 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5545
1486fa31
MA
55462013-09-06 Michael Albinus <michael.albinus@gmx.de>
5547
5548 Remove URL syntax.
5549
5550 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5551 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5552 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5553 (tramp-postfix-host-format, tramp-file-name-regexp)
5554 (tramp-completion-file-name-regexp)
5555 (tramp-completion-dissect-file-name)
5556 (tramp-handle-substitute-in-file-name): Remove 'url case.
5557 (tramp-file-name-regexp-url)
5558 (tramp-completion-file-name-regexp-url): Remove constants.
5559
39785324
GM
55602013-09-06 Glenn Morris <rgm@gnu.org>
5561
5562 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5563
1f896cb7
DG
55642013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5565
5566 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5567 keywords" below "here-doc beginnings" (Bug#15270).
5568
c0458e0b
SM
55692013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5570
5571 * subr.el (pop): Use `car-safe'.
5572 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5573 to detect unused `pop' return value.
5574
5575 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5576 var `block-regexp'.
5577 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5578 (python-fill-string): Remove unused var `marker'.
5579 (python-skeleton-add-menu-items): Remove unused var `items'.
5580
5581 * international/mule-cmds.el: Require CL.
5582 (find-coding-systems-for-charsets): Avoid add-to-list.
5583 (sanitize-coding-system-list): New function, extracted from
5584 select-safe-coding-system-interactively.
5585 (select-safe-coding-system-interactively): Use it.
5586 (read-input-method-name): Accept symbols for `default'.
5587
5588 * emacs-lisp/advice.el (defadvice): Add indent rule.
5589
6c42fc3e
DH
55902013-09-05 Daniel Hackney <dan@haxney.org>
5591
5592 * dired-x.el:
5593 * net/ange-ftp.el:
5594 * net/browse-url.el:
5595 * net/dbus.el:
5596 * net/eudc.el:
5597 * net/eudcb-ldap.el:
5598 * net/eww.el:
5599 * net/imap.el:
5600 * printing.el:
5601 * vc/ediff-diff.el:
5602 * vc/ediff-init.el:
5603 * vc/ediff-merg.el:
5604 * vc/ediff-mult.el:
5605 * vc/ediff-util.el:
5606 * vc/ediff-wind.el:
5607 * vc/ediff.el:
5608 * vc/emerge.el:
5609 * vc/pcvs.el:
5610 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5611 byte compiler. Remove some unused let-bound variables.
5612
4c528aab
SM
56132013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5614
5615 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5616 a "ref-cell", since it gets better optimized (bug#14883).
5617
bd15c390
GM
56182013-09-05 Glenn Morris <rgm@gnu.org>
5619
5620 * progmodes/cc-awk.el (c-forward-sws): Declare.
5621
1c3ac2e5
GM
56222013-09-04 Glenn Morris <rgm@gnu.org>
5623
5624 * generic-x.el [rul-generic-mode]: Require cc-mode.
5625 (c++-mode-syntax-table): Declare.
5626 (rul-generic-mode-syntax-table): Init in the defvar.
5627
52b1cc79
SM
56282013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5629
c828af56
SM
5630 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5631 (vc-do-command, vc-set-async-update):
5632 * vc/vc-mtn.el (vc-mtn-dir-status):
5633 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5634 (vc-hg-pull, vc-hg-merge-branch):
5635 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5636 (vc-git-merge-branch):
5637 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5638 (vc-cvs-dir-status-files):
5639 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5640 (vc-bzr-dir-status-files):
5641 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5642 * vc/vc-annotate.el: Use lexical-binding.
5643 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5644 (vc-sentinel-movepoint): Declare.
5645 (vc-annotate): Don't use `goto-line'.
5646 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5647 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5648 (vc-sentinel-movepoint): Declare.
5649 * vc/vc-svn.el: Use lexical-binding.
5650 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5651 * vc/vc-sccs.el:
5652 * vc/vc-rcs.el: Use lexical-binding.
5653
abae272c
SM
5654 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5655 `deleted'. Don't drop errors silently.
5656
52b1cc79
SM
5657 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5658
63191d9f
XF
56592013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5660
5661 * vc/vc.el (vc-ignore): Rewrite.
5662 (vc-default-ignore): New function.
5663 (vc-default-ignore-completion-table): Use find-ignore-file.
5664
5665 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5666 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5667 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5668 Remove. Most code moved to vc.el.
5669
9d3f707c
SM
56702013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5671
abae272c 5672 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
5673 * net/tramp-smb.el (tramp-smb-get-file-entries):
5674 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5675 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5676
fde38d49
SM
5677 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5678 Update call to it.
5679 (eww-change-select): Remove unused var `properties'.
5680 (eww-make-unique-file-name): Remove unused var `base'.
5681
5682 * finder.el (finder-compile-keywords): Don't mess with windows.
5683
84032db7
SM
5684 * calculator.el (calculator-funcall): Fix typo in last change.
5685
724f5e41
SM
5686 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5687
14b511d4
SM
5688 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5689 <pkg>-autoloads.el file stop us.
5690
9d3f707c 5691 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 5692 warnings, and factor out common code.
9d3f707c 5693
88527bc0
DG
56942013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5695
5696 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5697 two-character operators and whether the character preceding them
5698 changes their meaning (Bug#15208).
5699
96edb677
FEG
57002013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5701
5702 Format code sent to Python shell for robustness.
9d3f707c
SM
5703 * progmodes/python.el (python-shell-buffer-substring):
5704 New function.
96edb677
FEG
5705 (python-shell-send-region, python-shell-send-buffer): Use it.
5706
95beaef3
MA
57072013-09-02 Michael Albinus <michael.albinus@gmx.de>
5708
5709 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5710 * net/tramp.el (tramp-user-error): ... here.
5711 (tramp-find-method, tramp-check-proper-host)
5712 (tramp-dissect-file-name, tramp-debug-message)
5713 (tramp-handle-shell-command):
5714 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5715 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5716
5717 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5718
f167c27b
MR
57192013-09-02 Martin Rudalics <rudalics@gmx.at>
5720
5721 * avoid.el (mouse-avoidance-point-position)
5722 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5723 returns nil.
5724
cd16c5f1
FEG
57252013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5726
5727 * progmodes/python.el (python-shell-completion-get-completions):
5728 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 5729 (python-nav-if-name-main): New command.
cd16c5f1 5730
e73c3a0d
GM
57312013-09-01 Glenn Morris <rgm@gnu.org>
5732
f8ccce03
GM
5733 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5734 Avoid leading space in $wins. Otherwise the sed command used by
5735 eg compile-main ends up containing "/*.el". (Bug#15170)
5736
e73c3a0d
GM
5737 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5738
415f808e
GM
57392013-08-30 Glenn Morris <rgm@gnu.org>
5740
5741 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5742 Fix is-this-a-directory logic. (Bug#15220)
5743
f069bba8
SM
57442013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5745
112798c1
SM
5746 * textmodes/css-mode.el: Use SMIE.
5747 (css-smie-grammar): New var.
5748 (css-smie--forward-token, css-smie--backward-token)
5749 (css-smie-rules): New functions.
5750 (css-mode): Use them.
5751 (css-navigation-syntax-table): Remove var.
5752 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5753 (css-indent-calculate, css-indent-line): Remove functions.
5754
5755 Misc changes to reduce use of `(lambda...); and other cleanups.
5756 * cus-edit.el: Use lexical-binding.
5757 (customize-push-and-save, customize-apropos)
5758 (custom-buffer-create-internal): Use closures.
5759 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5760 * progmodes/ada-xref.el: Use setq.
5761 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5762 * dframe.el: Use lexical-binding.
5763 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5764 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5765 * descr-text.el: Use lexical-binding.
5766 (describe-text-widget, describe-text-sexp, describe-property-list):
5767 Use closures.
5768 * comint.el (comint-history-isearch-push-state): Use a closure.
5769 * calculator.el: Use lexical-binding.
5770 (calculator-number-to-string): Make it work with lexical-binding.
5771 (calculator-funcall): Same and use cl-letf.
5772
2da4c3ab
SM
5773 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5774 (lisp--company-doc-string, lisp--company-location): New functions.
5775 (lisp-completion-at-point): Use them to improve Company support.
5776
f069bba8
SM
5777 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5778 params of lambda expressions.
5779 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5780 (ruby-smie--opening-pipe-p): New function.
5781 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5782 symbols and matched |...| for formal params.
5783 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5784 from being treated as hanging. Handle "rescue".
5785
6758b6a8
GM
57862013-08-29 Glenn Morris <rgm@gnu.org>
5787
5788 * progmodes/cc-engine.el (c-pull-open-brace):
5789 Move definition before use.
5790
e8dfd197
SM
57912013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5792
5793 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5794 are immutable. Don't use `unsafe' any more.
5795 (cl--defsubst-expand): Don't substitute at the same time as keeping
5796 a residual unused let-binding. Don't use `unsafe' any more.
5797
cc585c96
GM
57982013-08-29 Glenn Morris <rgm@gnu.org>
5799
ba579ea6
GM
5800 * calendar/cal-china.el (calendar-chinese-year-cache):
5801 Recenter on 2015.
5802
8201a87e
GM
5803 * nxml/nxml-util.el (nxml-debug-clear-inside):
5804 Use cl-loop rather than loop.
5805
6ee877c7
GM
5806 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5807
cc585c96
GM
5808 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5809
27be8d39
GM
58102013-08-28 Glenn Morris <rgm@gnu.org>
5811
397440a1
GM
5812 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5813
2bb762d4
GM
5814 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5815
27be8d39
GM
5816 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5817
2d69b99e
SM
58182013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5819
f663baa7
SM
5820 * simple.el (repeat-complex-command--called-interactively-skip):
5821 New function.
5822 (repeat-complex-command): Use it (bug#14136).
5823
dd4f8b74
SM
5824 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5825 (c-define-abbrev-table): Add `doc' argument.
5826 (c-mode-abbrev-table, c++-mode-abbrev-table)
5827 (objc-mode-abbrev-table, java-mode-abbrev-table)
5828 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5829 (awk-mode-abbrev-table): Use it.
5830 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5831 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5832 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5833 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5834 Move initialization into the declaration; and remove any
5835 autoload cookie.
5836
b58969f7
SM
5837 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5838 and dynamic let binding.
5839
4021d6a6
SM
5840 * vc/smerge-mode.el: Remove redundant :group args.
5841
2d69b99e
SM
5842 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5843 to load-path.
5844
274919fd
JL
58452013-08-28 Juri Linkov <juri@jurta.org>
5846
5847 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5848 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5849 (isearch-other-meta-char): Handle an undefined shifted printing
5850 character by downshifting it. (Bug#15200)
5851
121f8c95
JL
58522013-08-28 Juri Linkov <juri@jurta.org>
5853
5854 * isearch.el (isearch-search): Change regexp error message for
5855 non-regexp searches. (Bug#15166)
5856
50b13cde
PE
58572013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5858
5859 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5860 for portability to hosts where /bin/sh has problems.
5861
95888bca
SM
58622013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5863
5864 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5865
bbe558f1
JL
58662013-08-27 Juri Linkov <juri@jurta.org>
5867
5868 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5869 in the keyboard macro. (Bug#15126)
5870
26f98a7d
JL
58712013-08-27 Juri Linkov <juri@jurta.org>
5872
5873 * isearch.el (isearch-quote-char): Comment out converting unibyte
5874 to multibyte, thus syncing with its `quoted-insert' counterpart.
5875 (Bug#15166)
5876
7c97d35e
MR
58772013-08-27 Martin Rudalics <rudalics@gmx.at>
5878
5879 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
5880 argument in call of get-largest-window (Bug#15185).
5881 Reported by Stephen Leake.
7c97d35e 5882
a0b5606e 58832013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
5884
5885 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5886
9e89d835
SM
58872013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5888
5889 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5890 from a matcher-function unless there's no more matches (bug#15161).
5891
78fc2530
MA
58922013-08-26 Michael Albinus <michael.albinus@gmx.de>
5893
5894 * minibuffer.el: Revert change from 2013-08-20.
5895
5896 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5897 with text property `tramp-default', if appropriate.
5898 (tramp-check-proper-host): New defun.
5899 (tramp-dissect-file-name): Do not check hostname. Revert change
5900 of 2013-03-18.
5901 (tramp-backtrace): Make VEC-OR-PROC optional.
5902
5903 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5904 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5905 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
5906 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5907 Apply `tramp-check-proper-host'.
78fc2530 5908
edca97cd
TH
59092013-08-26 Tassilo Horn <tsdh@gnu.org>
5910
5911 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5912 lambda expression in order to have `describe-variable' display it.
5913
df54bcbd
MA
59142013-08-26 Michael Albinus <michael.albinus@gmx.de>
5915
5916 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5917 BUF can be optional. (Bug#15186)
5918
eed99101
XF
59192013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5920
5921 * progmodes/flymake.el (flymake-get-real-file-name-function):
5922 Fix broken customization. (Bug#15184)
5923
b5eb9035
AM
59242013-08-25 Alan Mackenzie <acm@muc.de>
5925
8a51e842
AM
5926 Improve indentation of bracelists defined by macros (without "=").
5927
5928 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5929 expansion begins with "{", regard it as bracelist when it doesn't
5930 contain a ";".
5931
869455d4
AM
5932 Parse C++ inher-intro when there's a template split over 2 lines.
5933
5934 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5935 rigorously the search for "class" etc. followed by ":".
5936
5937 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5938 random languages a regexp which never matches rather than nil.
5939
b5eb9035
AM
5940 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5941
5942 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5943 (c-awk-regexp-one-line-possibly-open-char-list-re)
5944 (c-awk-one-line-possibly-open-regexp-re)
5945 (c-awk-one-line-non-syn-ws*-re): Remove.
5946 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5947 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5948 (c-awk-space*-unclosed-regexp-/-re): New constants.
5949 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5950 aren't regexp delimiters.
5951
5952 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5953 handling for a rare situation in AWK Mode involving unterminated
5954 strings/regexps.
5955
61611d54
GM
59562013-08-23 Glenn Morris <rgm@gnu.org>
5957
2d85dc34
GM
5958 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5959
cb8d2612
GM
5960 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5961
bb35f42f
GM
5962 * files.el (create-file-buffer): If the result would begin with
5963 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 5964
b9808e77
SM
59652013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5966
e3a66363
SM
5967 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5968 text-properties (bug#15155).
5969
b9808e77
SM
5970 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5971 exist any more.
5972 (calc-keypad-redraw): Remove unused var `pad'.
5973 (calc-keypad-press): Remove unused var `menu'.
5974
7fd5f65e
MR
59752013-08-23 Martin Rudalics <rudalics@gmx.at>
5976
b9808e77
SM
5977 * window.el (display-buffer-pop-up-frame):
5978 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
5979 use it as the new frame's buffer (Bug#15133).
5980
8352b530
SM
59812013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5982
5983 * calendar/timeclock.el: Minor cleanups.
5984 (timeclock-ask-before-exiting, timeclock-use-display-time):
5985 Use `symbol'.
5986 (timeclock-modeline-display): Define as alias before the
5987 actual definition.
5988 (timeclock-mode-line-display): Use define-minor-mode.
5989 (timeclock-day-list-template): Make it a function, add an argument.
5990 (timeclock-day-list-required, timeclock-day-list-length)
5991 (timeclock-day-list-debt, timeclock-day-list-span)
5992 (timeclock-day-list-break): Adjust calls accordingly.
5993
9f7b1925
SM
59942013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5995
5996 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5997 Use read--expression so that completion works again.
5998
6e50e983
SS
59992013-08-21 Sam Steingold <sds@gnu.org>
6000
6001 Add rudimentary inferior shell interaction
6002 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6003 (sh-set-shell): Reset it.
9f7b1925
SM
6004 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6005 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 6006
dbb0d350
SM
60072013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6008
6009 * align.el: Use lexical-binding.
6010 (align-region): Simplify accordingly.
6011
c88586a9
MA
60122013-08-20 Michael Albinus <michael.albinus@gmx.de>
6013
6014 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6015
6016 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6017 `non-essential' up.
6018
f95527c8
MA
60192013-08-17 Michael Albinus <michael.albinus@gmx.de>
6020
6021 * net/tramp.el:
6022 * net/tramp-adb.el:
6023 * net/tramp-cmds.el:
6024 * net/tramp-ftp.el:
6025 * net/tramp-gvfs.el:
6026 * net/tramp-gw.el:
6027 * net/tramp-sh.el: Don't wrap external variable declarations by
6028 `eval-when-compile'.
6029
4b5fe4ee
LMI
60302013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6031
6032 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6033 now that Emacs supports ImageMagick animations.
6034
13c366c9
MA
60352013-08-16 Michael Albinus <michael.albinus@gmx.de>
6036
6037 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6038 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6039
3dfc5cd6
MR
60402013-08-16 Martin Rudalics <rudalics@gmx.at>
6041
6042 * window.el (mouse-autoselect-window-select): Do autoselect when
6043 mouse pointer is on margin.
6044
4bbb4381
WP
60452013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6046
6047 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6048
3a2ddc2d
GM
60492013-08-16 Glenn Morris <rgm@gnu.org>
6050
e8bedf5a
GM
6051 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6052 Handle "Remote Directory" response of some clients. (Bug#15058)
6053
58c4682f
GM
6054 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6055 Tweak warning. (Bug#14926)
6056
57953f49
GM
6057 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6058 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6059
3a2ddc2d
GM
6060 * image-mode.el (image-mode-map): Add menu items to reverse,
6061 increase, decrease, reset animation speed.
6062 (image--set-speed, image-increase-speed, image-decrease-speed)
6063 (image-reverse-speed, image-reset-speed): New functions.
6064 (image-mode-map): Add bindings for speed commands.
6065
6066 * image.el (image-animate-get-speed, image-animate-set-speed):
6067 New functions.
6068 (image-animate-timeout): Respect image :speed property.
6069
10fa0ed3
SM
60702013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6071
6072 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6073 previous line (bug#15101).
6074 (debugger-eval-expression, debugger-record-expression):
6075 Use read--expression (bug#15102).
6076
5d89d9d2
MA
60772013-08-15 Michael Albinus <michael.albinus@gmx.de>
6078
6079 Remove byte compiler warnings, visible when compiling with
6080 `byte-compile-force-lexical-warnings' set to t.
6081
6082 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6083 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6084 (tramp-handle-unhandled-file-name-directory)
6085 (tramp-handle-file-notify-add-watch, tramp-action-login)
6086 (tramp-action-succeed, tramp-action-permission-denied)
6087 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6088 arguments with "_".
6089
6090 * net/tramp-adb.el (tramp-adb-parse-device-names)
6091 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6092 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6093 (tramp-adb-handle-file-truename): Remove unused arguments.
6094
6095 * net/tramp-cache.el (tramp-flush-directory-property)
6096 (tramp-flush-connection-property, tramp-list-connections)
6097 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6098
10fa0ed3
SM
6099 * net/tramp-compat.el (tramp-compat-make-temp-file):
6100 Rename FILENAME to F.
5d89d9d2
MA
6101
6102 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6103 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6104 (tramp-zeroconf-parse-workstation-device-names)
6105 (tramp-zeroconf-parse-webdav-device-names)
6106 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6107
6108 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6109 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6110
6111 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6112 arguments.
6113 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6114 (tramp-sh-handle-insert-file-contents-literally)
6115 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6116 with "_".
6117 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6118 Remove unused variables.
6119
6120 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6121 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6122 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6123
6124 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6125 Make them a defconst.
6126 (tramp-uuencode-region): Remove unused variable.
6127
62f33bae
JB
61282013-08-14 Juanma Barranquero <lekktu@gmail.com>
6129
6130 * frameset.el (frameset--prop-setter): New function.
6131 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
6132 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6133 parameter was already set in FILTERED. Doc fix.
6134 (frameset--record-minibuffer-relationships): Allow saving a
6135 minibufferless frame without its corresponding minibuffer frame.
6136 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6137 frame, if the frame id matches.
6138 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6139 frames before orphaned ones.
6140 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 6141
c660a885
MR
61422013-08-14 Martin Rudalics <rudalics@gmx.at>
6143
6144 * window.el (window-make-atom): Don't overwrite parameter
6145 already present.
6146 (display-buffer-in-atom-window): Handle special case where we
6147 split an already atomic window.
6148 (window--major-non-side-window, display-buffer-in-side-window)
6149 (window--side-check): Ignore minibuffer window when walking
6150 window tree.
6151 (window-deletable-p): Return 'frame only if no other frame uses
6152 our minibuffer window.
6153 (record-window-buffer): Run buffer-list-update-hook.
6154 (split-window): Make sure window--check-frame won't destroy an
6155 existing atomic window in case the new window gets nested
6156 inside.
6157 (display-buffer-at-bottom): Ignore minibuffer window when
6158 walking window tree. Don't split a side window.
6159 (pop-to-buffer): Don't set-buffer here, the select-window call
6160 should do that.
6161 (mouse-autoselect-window-select): Autoselect only if we are in the
6162 text portion of the window.
6163
8259030d
LMI
61642013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6165
21c58ae2
LMI
6166 * net/shr.el (shr-parse-image-data): New function to grab both the
6167 data itself and the Content-Type.
6168 (shr-put-image): Use it.
6169
6170 * net/eww.el (eww-display-image): Ditto.
6171
8259030d
LMI
6172 * image.el (image-content-type-suffixes): New variable.
6173
ad756449
FEG
61742013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6175
6176 * progmodes/python.el (python-imenu--build-tree)
6177 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6178
f73f4ce6
XF
61792013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6180
6181 * simple.el (backward-word): Mention the optional argument.
6182
1f585e65
SM
61832013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6184
6185 * frameset.el (frameset--make): Rename constructor from make-frameset.
6186 (frameset-p, frameset-valid-p): Don't autoload.
6187 (frameset-valid-p): Use normal accessors.
6188
af1c6c84
GM
61892013-08-13 Glenn Morris <rgm@gnu.org>
6190
55e47f95
GM
6191 * progmodes/compile.el (compile-command): Tweak example in doc.
6192 * obsolete/scribe.el (scribe-mode):
6193 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6194
f0024d8c
GM
6195 * mail/feedmail.el (feedmail-confirm-outgoing)
6196 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6197
6198 * cus-start.el (truncate-partial-width-windows): Fix type.
6199
6200 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6201
af1c6c84
GM
6202 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6203
5514cc4c
SM
62042013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6205
6206 * emacs-lisp/timer.el (timer--time-setter): New function.
6207 (timer--time): Use it as gv-setter.
6208
6209 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6210 setter is not a symbol.
6211
7997a2f1
GJ
62122013-08-12 Grégoire Jadi <daimrod@gmail.com>
6213
6214 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6215 if sending fails. This makes debugging easier.
6216
01f1a9ab
JB
62172013-08-12 Juanma Barranquero <lekktu@gmail.com>
6218
6219 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6220 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6221 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6222
594a4307
EZ
62232013-08-12 Eli Zaretskii <eliz@gnu.org>
6224
6225 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6226
7a22490f 62272013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
6228
6229 * format.el (format-annotate-function):
6230 Handle read-only text properties in the source. (Bug#14887)
6231
3e41a054
LMI
62322013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6233
5514cc4c
SM
6234 * net/eww.el (eww-display-html): Ignore coding system errors.
6235 One web site uses "utf-8lias" as the coding system.
3e41a054 6236
7ec326db
JB
62372013-08-11 Juanma Barranquero <lekktu@gmail.com>
6238
6239 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6240
5660113b
JB
62412013-08-10 Juanma Barranquero <lekktu@gmail.com>
6242
9a4ebc74
JB
6243 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6244 (tutorial--detailed-help): Remove unused local variables.
6245 (tutorial--save-tutorial-to): Use ignore-errors.
6246 (help-with-tutorial): Use looking-at-p.
6247
6248 * view.el (view-buffer-other-window, view-buffer-other-frame):
6249 Mark unused arguments.
6250
6251 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6252 (woman-select-symbol-fonts, woman, woman-find-file)
6253 (woman-insert-file-contents, woman-non-underline-faces):
6254 Use string-match-p.
6255 (woman1-unquote): Move declaration.
6256
6257 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6258 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6259 argument. Remove unused local variable.
6260 (xml-parse-elem-type): Use string-match-p.
6261 (xml-substitute-numeric-entities): Use ignore-errors.
6262
45fdb482
JB
6263 * calculator.el (calculator): Mark unused argument.
6264 (calculator-paste, calculator-quit, calculator-integer-p):
6265 Use ignore-errors.
6266 (calculator-string-to-number, calculator-decimal, calculator-exp)
6267 (calculator-op-or-exp): Use string-match-p.
6268
6269 * dired.el (dired-buffer-more-recently-used-p): Declare.
6270 (dired-insert-set-properties, dired-insert-old-subdirs):
6271 Use ignore-errors.
6272
6273 * dired-aux.el (dired-compress): Use ignore-errors.
6274 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6275 (dired-do-async-shell-command, dired-do-shell-command)
6276 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6277 (dired-insert-subdir-validate): Use string-match-p.
6278 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6279 (dired-add-entry): Use string-match-p, looking-at-p.
6280 (dired-insert-subdir-newpos): Remove unused local variable.
6281
6282 * filenotify.el (file-notify-callback): Remove unused local variable.
6283
6284 * filesets.el (filesets-error): Mark unused argument.
6285 (filesets-which-command-p, filesets-filter-dir-names)
6286 (filesets-directory-files, filesets-get-external-viewer)
6287 (filesets-ingroup-get-data): Use string-match-p.
6288
6289 * find-file.el (ff-other-file-name, ff-other-file-name)
6290 (ff-find-the-other-file, ff-cc-hh-converter):
6291 Remove unused local variables.
6292 (ff-get-file-name): Use string-match-p.
6293 (ff-all-dirs-under): Use ignore-errors.
6294
6295 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6296 (follow-select-if-visible): Remove unused local variable.
6297
6298 * forms.el (read-file-filter): Move declaration.
6299 (forms--make-format, forms--make-parser, forms-insert-record):
6300 Quote function with #'.
6301 (forms--update): Use string-match-p. Quote function with #'.
6302
6303 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6304 (help-make-xrefs): Use looking-at-p.
6305 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6306
6307 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6308 (ibuffer-confirm-operation-on): Use string-match-p.
6309
6310 * msb.el (msb-item-handler, msb-dired-item-handler):
6311 Mark unused arguments.
6312
6313 * ses.el (ses-decode-cell-symbol)
6314 (ses-kill-override): Remove unused local variable.
6315 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6316 (ses-load): Use ignore-errors, looking-at-p.
6317 (ses-jump-safe): Use ignore-errors.
6318 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6319
6320 * tabify.el (untabify, tabify): Mark unused arguments.
6321
6322 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6323 Mark unused argument.
6324 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6325 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6326
c880af52
JB
6327 * emacs-lisp/timer.el (timer--time): Define setter with
6328 gv-define-setter to avoid deprecation warning.
6329
5660113b 6330 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 6331 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
6332 (cmpl-statistics-block): Remove (body was commented out).
6333 All callers changed.
6334 (add-completions-from-buffer, load-completions-from-file):
6335 Remove unused variables.
6336
156aab80
JB
63372013-08-09 Juanma Barranquero <lekktu@gmail.com>
6338
5c5dee78
JB
6339 * filecache.el (file-cache-delete-file-list):
6340 Print message only when told so.
6341 (file-cache-files-matching): Use #' in mapconcat argument.
6342
156aab80
JB
6343 * ffap.el (ffap-url-at-point): Fix reference to variable
6344 thing-at-point-default-mail-uri-scheme.
6345
ad9dcd70
SM
63462013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6347
54bd972f
SM
6348 * subr.el (define-error): New function.
6349 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6350 error-file-not-found and define with define-error.
6351 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6352 and define with define-error.
6353 * userlock.el (file-locked, file-supersession):
6354 * simple.el (mark-inactive):
6355 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6356 * progmodes/ada-mode.el (ada-mode-errors):
6357 * play/life.el (life-extinct):
6358 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6359 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6360 * nxml/rng-util.el (rng-error):
6361 * nxml/rng-uri.el (rng-uri-error):
6362 * nxml/rng-match.el (rng-compile-error):
6363 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6364 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6365 * nxml/nxml-rap.el (nxml-scan-error):
6366 * nxml/nxml-outln.el (nxml-outline-error):
6367 * net/soap-client.el (soap-error):
6368 * net/gnutls.el (gnutls-error):
6369 * net/ange-ftp.el (ftp-error):
6370 * mpc.el (mpc-proc-error):
6371 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6372 (json-number-format, json-string-escape, json-string-format)
6373 (json-key-format, json-object-format):
6374 * jka-compr.el (compression-error):
6375 * international/quail.el (quail-error):
6376 * international/kkc.el (kkc-error):
6377 * emacs-lisp/ert.el (ert-test-failed):
6378 * calc/calc.el (calc-error, inexact-result, math-overflow)
6379 (math-underflow):
6380 * bookmark.el (bookmark-error-no-filename):
6381 * epg.el (epg-error): Define with define-error.
6382
0ea9e53a
SM
6383 * time.el (display-time-event-handler)
6384 (display-time-next-load-average): Don't call sit-for since it seems
6385 unnecessary (bug#15045).
6386
b0429158
SM
6387 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6388 Use #' instead of ' to quote functions.
6389 (checkdoc-output-mode): Use setq-local.
6390 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6391 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6392 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6393 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6394 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6395 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6396 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6397 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6398
ad9dcd70
SM
6399 * ido.el (ido-completion-help): Fix up compiler warning.
6400
77187e6f
JB
64012013-08-09 Juanma Barranquero <lekktu@gmail.com>
6402
6403 * frameset.el (frameset-p): Add autoload cookie.
6404 (frameset--jump-to-register): New function, based on code moved from
6405 register.el.
6406 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6407
6408 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6409 (frameset-restore, frameset-save, frameset-session-filter-alist):
6410 Remove declarations.
6411 (register-alist): Doc fix.
6412 (frameset-to-register): Move to frameset.el.
6413 (jump-to-register, describe-register-1): Remove frameset-specific code.
6414
9d3aa82c
JB
64152013-08-08 Juanma Barranquero <lekktu@gmail.com>
6416
6417 * allout-widgets.el (allout-widgets-pre-command-business)
6418 (allout-widgets-post-command-business)
6419 (allout-widgets-after-change-handler)
6420 (allout-decorate-item-and-context, allout-set-boundary-marker)
6421 (allout-body-modification-handler)
6422 (allout-graphics-modification-handler): Mark ignored arguments.
6423 (allout-widgets-post-command-business)
6424 (allout-widgets-exposure-change-processor)
6425 (allout-widgets-exposure-undo-processor)
6426 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6427 (allout-parse-item-at-point, allout-decorate-item-guides)
6428 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6429 * allout.el (epa-passphrase-callback-function): Declare.
6430 (allout-overlay-insert-in-front-handler)
6431 (allout-overlay-interior-modification-handler)
6432 (allout-isearch-end-handler, allout-chart-siblings)
6433 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6434 (allout-yank-processing, allout-process-exposed)
6435 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 6436 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
6437 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6438 (lisp-indent-defform): Mark ignored arguments.
6439 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6440 (calculate-lisp-indent): Remove unused variables.
6441 * international/characters.el (indian-2-column, arabic-2-column)
6442 (tibetan): Mark ignored arguments.
6443 (use-cjk-char-width-table): Mark ignored arguments.
6444 Remove unused variables.
6445 * international/fontset.el (build-default-fontset-data)
6446 (x-compose-font-name, create-fontset-from-fontset-spec):
6447 Mark ignored arguments.
6448 (fontset-plain-name): Remove unused variables.
6449 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6450 (keyboard-coding-system): Mark ignored arguments.
6451 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6452 * help.el (resize-temp-buffer-window):
6453 * window.el (display-buffer-in-major-side-window)
6454 (display-buffer-in-side-window, display-buffer-in-previous-window):
6455 Remove unused variables.
6456 * isearch.el (isearch-forward-symbol):
6457 * version.el (emacs-bzr-version-bzr):
6458 * international/mule-cmds.el (current-language-environment):
6459 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6460 (x-handle-display):
6461 * term/pc-win.el (x-list-fonts, x-display-planes)
6462 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6463 (x-server-version, x-display-screens, x-display-mm-height)
6464 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6465 (x-selection-owner-p, x-own-selection-internal)
6466 (x-disown-selection-internal, x-get-selection-internal)
6467 (msdos-initialize-window-system):
6468 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6469 * term/x-win.el (x-handle-no-bitmap-icon):
6470 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6471 (vc-default-find-file-hook, vc-default-extra-menu):
6472 Mark ignored arguments.
6473
0ca3f70e
SM
64742013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6475
6476 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6477 break-condition in the context of the debugged code (bug#12685).
6478
74c5d24c
CS
64792013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6480
6481 * comint.el:
6482 Do not use an overlay to highlight the last prompt. (Bug#14744)
6483 (comint-mode): Make comint-last-prompt buffer local.
6484 (comint-last-prompt): New variable.
6485 (comint-last-prompt-overlay): Remove. Superseded by
6486 comint-last-prompt.
0ca3f70e
SM
6487 (comint-snapshot-last-prompt, comint-output-filter):
6488 Use comint-last-prompt.
74c5d24c 6489
c03c02ee
JB
64902013-08-08 Juanma Barranquero <lekktu@gmail.com>
6491
a3738d20 6492 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
6493 (frameset-save): Check validity of the resulting frameset.
6494
04263d23
XF
64952013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6496
6497 * ido.el (ido-record-command): Add doc string.
6498
76c5e5ab
JB
64992013-08-08 Juanma Barranquero <lekktu@gmail.com>
6500
6501 * frameset.el (frameset): Do not disable creation of the default
6502 frameset-p predicate. Doc fix.
6503 (frameset-valid-p): New function, copied from the old predicate-p.
6504 Add additional checks.
6505 (frameset-restore): Check with frameset-valid-p.
6506 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6507 (frameset-name, frameset-description, frameset-properties)
6508 (frameset-states): Add docstring.
f9dbf1cb
JB
6509 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6510 (frameset-filter-alist): Doc fixes.
76c5e5ab 6511
bd0c3c0b
JB
65122013-08-08 Juanma Barranquero <lekktu@gmail.com>
6513
6514 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6515
c735544c
SM
65162013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6517
6518 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6519 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6520 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6521 (byte-compile-normal-call): Remove obsolescence check.
6522
2805a651
JB
65232013-08-08 Juanma Barranquero <lekktu@gmail.com>
6524
3677ffeb
JB
6525 * frameset.el (frameset-restore): Doc fix.
6526
2805a651
JB
6527 * register.el (frameset-frame-id, frameset-frame-with-id)
6528 (frameset-p, frameset-restore, frameset-save): Declare.
6529 (register-alist): Document framesets.
6530 (frameset-session-filter-alist): Declare.
6531 (frameset-to-register): New function.
6532 (jump-to-register): Implement jumping to framesets. Doc fix.
6533 (describe-register-1): Describe framesets.
6534
6535 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6536
a912c016
JB
65372013-08-07 Juanma Barranquero <lekktu@gmail.com>
6538
6539 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6540 Use lexical-binding.
6541
6542 * frameset.el (frameset): Use type vector, not list (incompatible
6543 change). Do not declare a new constructor, use the default one.
6544 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6545 `name' and `description', respectively, and add read-only slot
6546 `timestamp'. Doc fixes.
6547 (frameset-copy, frameset-persistent-filter-alist)
6548 (frameset-filter-alist, frameset-switch-to-gui-p)
6549 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6550 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6551 (frameset-filter-iconified, frameset-keep-original-display-p):
6552 Doc fixes.
6553 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6554 Rename from frameset-filter-(save|restore)-param. All callers changed.
6555 Doc fix.
6556 (frameset-p): Adapt to change to vector and be more thorough.
6557 Change arg name to OBJECT. Doc fix.
6558 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6559 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6560 All callers changed.
6561 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6562 All callers changed.
6563 (frameset--record-minibuffer-relationships): Rename from
6564 frameset--process-minibuffer-frames. All callers changed.
6565 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6566 Use new default constructor (again). Doc fix.
6567 (frameset--find-frame-if): Rename from `frameset--find-frame.
6568 All callers changed.
6569 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6570 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6571 Doc fix.
6572 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6573 PARAMETERS and WINDOW-STATE, respectively.
6574 (frameset-restore): Add new keyword argument PREDICATE.
6575 Reset frameset--target-display to nil. Doc fix.
6576
bb41480a
SM
65772013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6578
f001e98e
SM
6579 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6580 (bat-mode): Use it.
6581 (bat-mode-syntax-table): Mark \n as end-of-comment.
6582 (bat-font-lock-keywords): Remove comment rule.
6583
7679edb1
SM
6584 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6585 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6586
bb41480a
SM
6587 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6588 (byte-compile-callargs-warn): Use `push'.
6589 (byte-compile-arglist-warn): Ignore higher-order "calls".
6590 (byte-compile-file-form-autoload): Use `pcase'.
6591 (byte-compile-function-form): If quoting a symbol, check that it exists.
6592
cdc1ebb9
EZ
65932013-08-07 Eli Zaretskii <eliz@gnu.org>
6594
6595 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6596 and add a few popular commands found in batch files.
6597 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6598 (dos-mode): Doc fixes.
6599
312b1740
SM
66002013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6601
6602 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6603 (dos-mode): Use setq-local. Add space after "rem".
6604 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6605 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6606
400a3178
AM
66072013-08-07 Arni Magnusson <arnima@hafro.is>
6608
6609 * progmodes/dos.el: New file.
6610 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6611 dos-mode.
6612
3b5c03d3
GM
66132013-08-06 Glenn Morris <rgm@gnu.org>
6614
6615 * calendar/calendar.el: Add new faces, and day-header-array.
6616 (calendar-weekday-header, calendar-weekend-header)
6617 (calendar-month-header): New faces.
6618 (calendar-day-header-construct): New function.
6619 (calendar-day-header-width): Also :set calendar-day-header-array.
6620 (calendar-american-month-header, calendar-european-month-header)
6621 (calendar-iso-month-header): Use calendar- faces.
6622 (calendar-generate-month):
6623 Use calendar-day-header-array for day headers; apply faces to them.
6624 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6625 (calendar-abbrev-construct): Add optional maxlen argument.
6626 (calendar-day-name-array): Doc fix.
6627 (calendar-day-name-array, calendar-abbrev-length)
6628 (calendar-day-abbrev-array):
6629 Also :set calendar-day-header-array, and maybe redraw.
6630 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 6631 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
6632 (calendar-day-name): Add option to use header array.
6633
ec6a2d7a
LMI
66342013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6635
6636 * net/shr.el (shr-render-td): Remove debugging.
6637 (shr-render-td): Make width computation consistent by defaulting
6638 all zero-width columns to 10 characters. This may not be optimal,
6639 but it's at least consistent.
2122cb6d
LMI
6640 (shr-make-table-1): Redo last change to fix the real problem in
6641 colspan handling.
ec6a2d7a 6642
ed4fd9c5
DA
66432013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6644
0ca3f70e
SM
6645 * files.el (cache-long-line-scans):
6646 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 6647
64e22afe
JB
66482013-08-06 Juanma Barranquero <lekktu@gmail.com>
6649
024b38fc
JB
6650 * frameset.el (frameset, frameset-filter-alist)
6651 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6652 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6653 (frameset-compute-pos): Rename from frameset--compute-pos,
6654 and add docstring.
6655 (frameset-move-onscreen): Use frameset-compute-pos.
6656 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6657
64e22afe
JB
6658 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6659 Fix typos in docstrings.
6660
c8c2aca8
DA
66612013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6662
6663 * frame.el (get-other-frame): Tiny cleanup.
6664
1d237bba
JB
66652013-08-06 Juanma Barranquero <lekktu@gmail.com>
6666
8951efef
JB
6667 * vc/vc.el (vc-default-ignore-completion-table):
6668 Silence byte-compiler warning.
6669
307764cc 6670 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 6671 slot, which can indeed be nil.
307764cc
JB
6672 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6673 Move entry for `left' from persistent to live filter alist.
6674 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6675 Doc fixes.
6676 (frameset-filter-params): When restoring a frame, copy items added to
6677 `filtered', to avoid unwittingly modifying the original parameters.
6678 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6679 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6680
1d237bba
JB
6681 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6682 to use looking-at-p instead of looking-at. (Bug#15028)
6683
dc6c0eda
SM
66842013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6685
6686 Revert introduction of isearch-filter-predicates (bug#14714).
6687 Rely on add-function instead.
6688 * isearch.el (isearch-filter-predicates): Rename it back to
6689 isearch-filter-predicate.
6690 (isearch-message-prefix): Use advice-function-mapc and advice
6691 properties to get the isearch-message-prefix.
6692 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6693 instead of run-hook-with-args-until-failure.
6694 (isearch-filter-visible): Not obsolete any more.
6695 * loadup.el: Preload nadvice.
6696 * replace.el (perform-replace): Revert to funcall
6697 instead of run-hook-with-args-until-failure.
6698 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6699 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6700 dired-isearch-filenames-toggle; make it into a proper minor mode.
6701 Use add/remove-function.
6702 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6703 Call the minor-mode rather than add/remove-hook.
6704 (dired-isearch-filter-filenames):
6705 Remove isearch-message-prefix property.
6706 * info.el (Info--search-loop): New function, extracted from Info-search.
6707 Funcall isearch-filter-predicate instead of
6708 run-hook-with-args-until-failure isearch-filter-predicates.
6709 (Info-search): Use it.
6710 (Info-mode): Use isearch-filter-predicate instead of
6711 isearch-filter-predicates.
6712
290d5b58
DA
67132013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6714
6715 Do not call to `selected-window' where it is assumed by default.
6716 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6717 `window-hscroll', `window-width', `window-height', `window-buffer',
6718 `window-frame', `window-start', `window-point', `next-window'
6719 and `window-display-table'.
6720 * abbrev.el (abbrev--default-expand):
6721 * bs.el (bs--show-with-configuration):
6722 * buff-menu.el (Buffer-menu-mouse-select):
6723 * calc/calc.el (calc):
6724 * calendar/calendar.el (calendar-generate-window):
6725 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6726 (diary-make-entry):
6727 * comint.el (send-invisible, comint-dynamic-complete-filename)
6728 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6729 * completion.el (complete):
6730 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6731 * disp-table.el (describe-current-display-table):
6732 * doc-view.el (doc-view-insert-image):
6733 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6734 * ehelp.el (with-electric-help):
6735 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6736 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6737 * emacs-lisp/helper.el (Helper-help-scroller):
6738 * emulation/cua-base.el (cua--post-command-handler-1):
6739 * eshell/esh-mode.el (eshell-output-filter):
6740 * ffap.el (ffap-gnus-wrapper):
6741 * help-macro.el (make-help-screen):
6742 * hilit-chg.el (highlight-compare-buffers):
6743 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6744 * hl-line.el (global-hl-line-highlight):
6745 * icomplete.el (icomplete-simple-completing-p):
6746 * isearch.el (isearch-done):
6747 * jit-lock.el (jit-lock-stealth-fontify):
6748 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 6749 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
6750 * mpc.el (mpc-tagbrowser, mpc):
6751 * net/rcirc.el (rcirc-any-buffer):
6752 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6753 * play/landmark.el (landmark-max-width, landmark-max-height):
6754 * play/zone.el (zone):
6755 * progmodes/compile.el (compilation-goto-locus):
6756 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6757 * progmodes/etags.el (find-tag-other-window):
6758 * progmodes/fortran.el (fortran-column-ruler):
6759 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6760 * progmodes/verilog-mode.el (verilog-point-text):
6761 * reposition.el (reposition-window):
6762 * rot13.el (toggle-rot13-mode):
6763 * server.el (server-switch-buffer):
6764 * shell.el (shell-dynamic-complete-command)
6765 (shell-dynamic-complete-environment-variable):
6766 * simple.el (insert-buffer, set-selective-display)
6767 (delete-completion-window):
6768 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6769 (speedbar-recenter):
6770 * startup.el (fancy-splash-head):
6771 * textmodes/ispell.el (ispell-command-loop):
6772 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6773 * tutorial.el (help-with-tutorial):
6774 * vc/add-log.el (add-change-log-entry):
6775 * vc/compare-w.el (compare-windows):
6776 * vc/ediff-help.el (ediff-indent-help-message):
6777 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6778 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6779 (ediff-setup-control-frame):
6780 * vc/emerge.el (emerge-position-region):
6781 * vc/pcvs-util.el (cvs-bury-buffer):
6782 * window.el (walk-windows, mouse-autoselect-window-select):
6783 * winner.el (winner-set-conf, winner-undo): Related users changed.
6784
38276e01
JB
67852013-08-05 Juanma Barranquero <lekktu@gmail.com>
6786
6787 * frameset.el (frameset--set-id): Doc fix.
6788 (frameset-frame-id, frameset-frame-id-equal-p)
6789 (frameset-locate-frame-id): New functions.
6790 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6791 (frameset-restore): Use them.
6792
12b4c0ea
DA
67932013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6794
6795 Do not call to `selected-frame' where it is assumed by default.
6796 Affected functions are `raise-frame', `redraw-frame',
6797 `frame-first-window', `frame-terminal' and `delete-frame'.
6798 * calendar/appt.el (appt-disp-window):
6799 * epg.el (epg-wait-for-completion):
6800 * follow.el (follow-delete-other-windows-and-split)
6801 (follow-avoid-tail-recenter):
6802 * international/mule.el (set-terminal-coding-system):
6803 * mail/rmail.el (rmail-mail-return):
6804 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6805 * progmodes/f90.el (f90-add-imenu-menu):
6806 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6807 * server.el (server-switch-buffer):
6808 * simple.el (delete-completion-window):
6809 * talk.el (talk):
6810 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6811 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6812 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6813 * vc/ediff.el (ediff-documentation): Related users changed.
6814 * frame.el (selected-terminal): Remove the leftover.
6815
17f25e76
GM
68162013-08-05 Glenn Morris <rgm@gnu.org>
6817
6818 * calendar/calendar.el (calendar-generate-month):
6819 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
6820 (calendar-generate-month, calendar-font-lock-keywords):
6821 Fix for calendar-day-header-width > length of any day name.
17f25e76 6822
063233c3
JB
68232013-08-05 Juanma Barranquero <lekktu@gmail.com>
6824
6825 * desktop.el (desktop-clear): Use new name of sort predicate.
6826
6827 * frameset.el (frameset): Add docstring. Move :version property to its
6828 own `version' slot.
6829 (frameset-copy): Rename from copy-frameset.
6830 (frameset-p): Check more thoroughly.
6831 (frameset-prop): Do not check for :version, which is no longer a prop.
6832 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6833 Use new :never value instead of t.
6834 (frameset-filter-alist): Expand and clarify docstring.
6835 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6836 (frameset-filter-minibuffer, frameset-filter-save-param)
6837 (frameset-filter-restore-param, frameset-filter-iconified):
6838 Add pointer to docstring of frameset-filter-alist.
6839 (frameset-filter-params): Rename filter values to be more meaningful:
6840 :never instead of t, and reverse the meanings of :save and :restore.
6841 (frameset--process-minibuffer-frames): Clarify error message.
6842 (frameset-save): Avoid unnecessary and confusing call to framep.
6843 Use new BOA constructor for framesets.
6844 (frameset--reuse-list): Doc fix.
6845 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6846 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6847 (frameset-minibufferless-first-p): Doc fix.
6848 Rename from frameset-sort-frames-for-deletion.
6849 (frameset-restore): Doc fixes. Use new function names.
6850 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6851
d5671a82
JB
68522013-08-04 Juanma Barranquero <lekktu@gmail.com>
6853
6854 * desktop.el (desktop-restore-forces-onscreen)
6855 (desktop-restore-reuses-frames): Document :keyword constant values.
6856 (desktop-filter-parameters-alist): Remove, now identical to
6857 frameset-filter-alist.
6858 (desktop--filter-tty*): Remove, moved to frameset.el.
6859 (desktop-save-frameset, desktop-restore-frameset):
6860 Do not pass :filters argument.
6861
6862 * frameset.el (frameset-live-filter-alist)
6863 (frameset-persistent-filter-alist): New variables.
6864 (frameset-filter-alist): Use them. Add autoload cookie.
6865 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6866 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6867 `frameset--id' (it's supposed to be internal to frameset.el).
6868 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6869 (frameset--initial-params): New function.
6870 (frameset--get-frame): Use it. Doc fix.
6871 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6872 Accept :all, not 'all.
6873 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6874 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6875 with fbound symbols. Fix frame id matching, and remove matching ids if
6876 the frame being restored is deleted. Obey :delete.
6877
671d5c16
SM
68782013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6879
6880 * subr.el (macrop): New function.
6881 (text-clone--maintaining): New var.
6882 (text-clone--maintain): Rename from text-clone-maintain. Use it
6883 instead of inhibit-modification-hooks.
6884
6885 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6886 a proxy, so as handle autoloads and redefinitions of the target.
6887 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6888
6889 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6890 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6891 (pcase--mutually-exclusive-p): New function.
6892 (pcase--split-consp): Use it.
6893 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6894 mutually exclusive with the current predicate.
6895
6896 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6897 (edebug-macrop): Remove. Use `macrop' instead.
6898 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6899 (ad-macro-p):
6900 * eshell/esh-cmd.el (eshell-macrop):
6901 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6902
1d44e9dc
SM
69032013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6904
6905 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6906 (advice-mapc): New function, using it.
6907 (advice-function-member-p): New function.
6908 (advice--normalize): Store the cdr in advice--saved-rewrite since
6909 that's the part that will be changed.
6910 (advice--symbol-function): New function.
6911 (advice-remove): Handle removal before the function is defined.
6912 Adjust to new advice--saved-rewrite.
6913 (advice-member-p): Use advice-function-member-p and
6914 advice--symbol-function.
6915
5414a283
JB
69162013-08-04 Juanma Barranquero <lekktu@gmail.com>
6917
51d30f2c
JB
6918 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6919 (frameset-filter-minibuffer): Doc fix.
6920 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
6921 (frameset--set-id, frameset--process-minibuffer-frames)
6922 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6923 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 6924
5414a283
JB
6925 * desktop.el (desktop-clear): Only delete frames when called
6926 interactively and desktop-restore-frames is non-nil. Doc fix.
6927 (desktop-read): Set desktop-saved-frameset to nil.
6928
ab419665
XF
69292013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6930
6931 * vc/vc.el (vc-ignore): Rewrite.
6932 (vc-default-ignore-completion-table):
6933 (vc--read-lines):
6934 (vc--add-line, vc--remove-regexp): New functions.
6935
6936 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6937 (vc-svn-ignore-completion-table): New function.
6938
6939 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6940 (vc-hg-ignore-completion-table):
6941 (vc-hg-find-ignore-file): New functions.
6942
6943 * vc/vc-git.el (vc-git-ignore): Rewrite.
6944 (vc-git-ignore-completion-table):
6945 (vc-git-find-ignore-file): New functions.
6946
6947 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6948
6949 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6950 (vc-bzr-ignore-completion-table):
6951 (vc-bzr-find-ignore-file): New functions.
6952
2613dea2
JB
69532013-08-03 Juanma Barranquero <lekktu@gmail.com>
6954
6955 * frameset.el (frameset-prop): New function and setter.
6956 (frameset-save): Do not modify frame list passed by the caller.
6957
9c959872
SM
69582013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6959
6960 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6961
a104f656
SM
69622013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6963
70122acf
SM
6964 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6965 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6966
a104f656
SM
6967 * custom.el (custom-initialize-default, custom-initialize-set)
6968 (custom-initialize-reset, custom-initialize-changed): Affect the
6969 toplevel-default-value (bug#6275, bug#14586).
6970 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6971 for bug#6275.
6972
f078d570
JB
69732013-08-02 Juanma Barranquero <lekktu@gmail.com>
6974
185e3b5a
JB
6975 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6976 Add cl-def* expressions.
6977
f078d570
JB
6978 * frameset.el (frameset-filter-params): Fix order of arguments.
6979
9421876d
JB
69802013-08-02 Juanma Barranquero <lekktu@gmail.com>
6981
6982 Move code related to saving frames to frameset.el.
6983 * desktop.el: Require frameset.
6984 (desktop-restore-frames): Doc fix.
6985 (desktop-restore-reuses-frames): Rename from
6986 desktop-restoring-reuses-frames.
6987 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6988 (desktop-clear): Clear frames too.
6989 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6990 (desktop--filter-tty*, desktop-save, desktop-read):
6991 Use frameset functions.
6992 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6993 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6994 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6995 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6996 (desktop--process-minibuffer-frames, desktop-save-frames)
6997 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6998 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6999 (desktop--sort-states, desktop-restoring-frames-p)
7000 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7001 (desktop-restoring-frameset-p, desktop-restore-frameset)
7002 (desktop--check-dont-save, desktop-save-frameset): New functions.
7003 (desktop--app-id): New constant.
7004 (desktop-first-buffer, desktop-buffer-ok-count)
7005 (desktop-buffer-fail-count): Move before first use.
7006 * frameset.el: New file.
7007
76dc5996
SM
70082013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7009
7010 * files.el: Use lexical-binding.
7011 (dir-locals-read-from-file): Remove unused `err' variable.
7012 (hack-dir-local-variables--warned-coding): New var.
7013 (hack-dir-local-variables): Use it to avoid repeated warnings.
7014 (make-backup-file-name--default-function): New function.
7015 (make-backup-file-name-function): Use it as default.
7016 (buffer-stale--default-function): New function.
7017 (buffer-stale-function): Use it as default.
7018 (revert-buffer-insert-file-contents--default-function): New function.
7019 (revert-buffer-insert-file-contents-function): Use it as default.
7020 (insert-directory): Avoid add-to-list.
7021
7022 * autorevert.el (auto-revert-handler): Simplify.
7023 Use buffer-stale--default-function.
7024
06d36e2b
TH
70252013-08-01 Tassilo Horn <tsdh@gnu.org>
7026
5f648ab4
TH
7027 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7028
06d36e2b
TH
7029 * whitespace.el (whitespace-ensure-local-variables): New function.
7030 (whitespace-cleanup-region): Call it.
7031 (whitespace-turn-on): Call it.
7032
a43dc424
MA
70332013-08-01 Michael Albinus <michael.albinus@gmx.de>
7034
7035 Complete file name handlers.
7036
7037 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7038 (tramp-handle-verify-visited-file-modtime)
7039 (tramp-handle-file-notify-rm-watch): New functions.
7040 (tramp-call-process): Do not bind `default-directory'.
7041
44e18199
JB
7042 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7043 Order alphabetically.
a43dc424
MA
7044 [access-file, add-name-to-file, dired-call-process]:
7045 [dired-compress-file, file-acl, file-notify-rm-watch]:
7046 [file-ownership-preserved-p, file-selinux-context]:
7047 [make-directory-internal, make-symbolic-link, set-file-acl]:
7048 [set-file-selinux-context, set-visited-file-modtime]:
7049 [verify-visited-file-modtime]: Add handler.
7050 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7051
7052 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7053 [file-notify-add-watch, file-notify-rm-watch]:
7054 [set-file-times, set-visited-file-modtime]:
7055 [verify-visited-file-modtime]: Add handler.
7056 (with-tramp-gvfs-error-message)
7057 (tramp-gvfs-handle-set-visited-file-modtime)
7058 (tramp-gvfs-fuse-file-name): Remove.
7059 (tramp-gvfs-handle-file-notify-add-watch)
7060 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7061 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7062
44e18199
JB
7063 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7064 Order alphabetically.
a43dc424
MA
7065 [file-notify-rm-watch ]: Use default Tramp handler.
7066 [executable-find]: Remove private handler.
7067 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7068 `default-directory'.
7069 (tramp-sh-handle-executable-find)
7070 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7071 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7072 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7073 Do not use `format' in `tramp-message'.
7074
7075 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7076 [file-notify-rm-watch, set-visited-file-modtime]:
7077 [verify-visited-file-modtime]: Add handler.
7078 (tramp-smb-call-winexe): Do not bind `default-directory'.
7079
7188b515
XF
70802013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7081
7082 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7083
2412ee1a
DG
70842013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7085
7086 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7087 use it.
7088 (log-view-diff-changeset): Same.
7089 (log-view-diff-common): Call backend command `previous-revision'
7090 to find out the previous revision, in both cases. Swap the
7091 variables `to' and `fr', so that `fr' usually refers to the
7092 earlier revision (Bug#14989).
7093
5002a754
KRC
70942013-07-31 Kan-Ru Chen <kanru@kanru.info>
7095
7096 * ibuf-ext.el (ibuffer-filter-by-filename):
7097 Make it work with dired buffers too.
7098
44e18199 70992013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
7100
7101 * emacs-lisp/re-builder.el (reb-color-display-p):
7102 * files.el (save-buffers-kill-terminal):
7103 * net/browse-url.el (browse-url):
7104 * server.el (server-save-buffers-kill-terminal):
7105 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7106 Prefer nil to selected-frame for the first arg of frame-parameter.
7107
aeca3fbb
XF
71082013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7109
7110 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7111
158bc55c
SB
71122013-07-30 Stephen Berman <stephen.berman@gmx.net>
7113
7114 * minibuffer.el (completion--twq-all): Try and preserve each
7115 completion's case choice (bug#14907).
7116
d50fceab
LMI
71172013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7118
ac38e731
LMI
7119 * net/network-stream.el (open-network-stream): Mention the new
7120 :nogreeting parameter.
7121 (network-stream-open-starttls): Use the :nogreeting parameter
7122 (bug#14938).
7123
1211de50
LMI
7124 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7125
997798bf
LMI
7126 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7127 more natural than popping.
7128
d50fceab 7129 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 7130 (shr-urlify): Highlight under mouse.
d50fceab 7131
5c09de04
XF
71322013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7133
207d1d04
XF
7134 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7135
7136 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7137
5c09de04
XF
7138 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7139 buffer for output.
7140
3cd51eaa
XF
7141 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7142 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 7143
44e18199 7144 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 7145 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
7146
7147 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7148
7149 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7150 buffer for output.
7151
35a89bdd
EZ
71522013-07-29 Eli Zaretskii <eliz@gnu.org>
7153
7154 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7155 initial frame is minibuffer-less. (Bug#14841)
7156
78822e94
MA
71572013-07-29 Michael Albinus <michael.albinus@gmx.de>
7158
7159 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7160 option.
7161
7162 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7163 (tramp-maybe-open-connection): Use it.
7164
9503c190
JB
71652013-07-28 Juanma Barranquero <lekktu@gmail.com>
7166
7167 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7168 minimal set of parameters passed when creating a frame, because
7169 the minibuffer status of a frame cannot be changed later.
7170
d5a845b4
SB
71712013-07-28 Stephen Berman <stephen.berman@gmx.net>
7172
7173 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7174 replace-regexp-in-string and inadvertent omissions in previous change.
7175 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 7176 name of filtered items buffer.
d5a845b4 7177
ddeffb17
JB
71782013-07-28 Juanma Barranquero <lekktu@gmail.com>
7179
7180 * desktop.el: Optionally force offscreen frames back onscreen.
7181 (desktop-restoring-reuses-frames): New option.
7182 (desktop--compute-pos, desktop--move-onscreen): New functions.
7183 (desktop--make-frame): Use desktop--move-onscreen.
7184
f5950f7a
AM
71852013-07-27 Alan Mackenzie <acm@muc.de>
7186
7187 Fontify a Java generic method as a function.
7188 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7189 value to t.
7190
ae43b66a
SB
71912013-07-27 Stephen Berman <stephen.berman@gmx.net>
7192
7193 * calendar/todo-mode.el: Add command to rename todo files.
7194 (todo-rename-file): New command.
7195 (todo-key-bindings-t): Add key binding for it. Change the
7196 bindings of todo-filter-regexp-items(-multifile) to use `x'
7197 instead of `r', since the latter is better suited to the new
7198 renaming command.
7199
5ab78d3d
AM
72002013-07-27 Alan Mackenzie <acm@muc.de>
7201
7202 Make Java try-with-resources statement parse properly.
7203 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7204 (c-block-stmt-1-2-key): New language constants/variables.
7205 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7206 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7207 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 7208 with c-block-stmt-1-2-key.
5ab78d3d 7209
d85c4d50
JB
72102013-07-27 Juanma Barranquero <lekktu@gmail.com>
7211
7212 * desktop.el (desktop--make-frame): Apply most frame parameters after
7213 creating the frame to force (partially or totally) offscreen frames to
7214 be restored as such.
7215
e4c467f9
XF
72162013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7217
7218 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 7219 (Bug#14948)
e4c467f9 7220
7ced0d04
SM
72212013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7222
7223 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7224 `base' arg of backtrace-frame.
7225
fec92060
EZ
72262013-07-26 Eli Zaretskii <eliz@gnu.org>
7227
7228 * simple.el (list-processes): Doc fix.
7229
d58d31fb
JB
72302013-07-26 Juanma Barranquero <lekktu@gmail.com>
7231
7232 * desktop.el (desktop--select-frame):
d85c4d50 7233 Try harder to reuse existing frames.
d58d31fb 7234
53ff3e77
SM
72352013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7236
7237 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7238 (edebug-eval): Use backtrace-eval.
7239 (edebug--display, edebug--recursive-edit): Don't let-bind the
7240 edebug-outer-* vars that keep track of variables we locally let-bind.
7241 (edebug-outside-excursion): Don't restore outside values of locally
7242 let-bound vars.
7243 (edebug--display): Use user-error.
7244 (cl-lexical-debug, cl-debug-env): Remove.
7245
045f7a53
JB
72462013-07-26 Juanma Barranquero <lekktu@gmail.com>
7247
7248 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7249 are restored to be sure that they are visible before deleting any
7250 remaining ones.
7251
59070b32
MM
72522013-07-26 Matthias Meulien <orontee@gmail.com>
7253
742a3501
XF
7254 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7255 vc-print-root-log. (Bug#14948)
59070b32 7256
b1fb3596
RS
72572013-07-26 Richard Stallman <rms@gnu.org>
7258
7259 Add aliases for encrypting mail.
7260 * epa.el (epa-mail-aliases): New option.
7261 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7262 Bind inhibit-read-only so read-only text doesn't ruin everything.
7263 (epa-mail-default-recipients): New subroutine broken out.
7264 Handle epa-mail-aliases.
7265
56ea7291
SM
72662013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7267
7268 Add support for lexical variables to the debugger's `e' command.
7269 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7270 vars, except for debugger-outer-match-data.
7271 (debugger-frame-number): Move check for "on a function call" from
7272 callers into it. Add `skip-base' argument.
7273 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7274 (debugger-env-macro): Only reset the state stored in non-variables,
7275 i.e. current-buffer and match-data.
7276 (debugger-eval-expression): Rewrite using backtrace-eval.
7277 * subr.el (internal--called-interactively-p--get-frame): Remove.
7278 (called-interactively-p):
7279 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7280 `base' arg of backtrace-frame instead.
7281
15ac32d5
GM
72822013-07-26 Glenn Morris <rgm@gnu.org>
7283
8358a09d
GM
7284 * align.el (align-regexp): Doc fix. (Bug#14857)
7285 (align-region): Explicit error if subexpression missing/does not match.
7286
15ac32d5
GM
7287 * simple.el (global-visual-line-mode):
7288 Do not duplicate the mode lighter. (Bug#14858)
7289
f47ad11b
MR
72902013-07-25 Martin Rudalics <rudalics@gmx.at>
7291
7292 * window.el (display-buffer): In display-buffer bind
7293 split-window-keep-point to t, bug#14829.
7294
02530987
JB
72952013-07-25 Juanma Barranquero <lekktu@gmail.com>
7296
7297 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7298 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7299 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7300 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7301 Change accordingly.
f63ebeb5
JB
7302 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7303 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 7304
6ccb9cab 73052013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 7306
6ccb9cab 7307 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 7308
cb3a56d2
JB
73092013-07-25 Juanma Barranquero <lekktu@gmail.com>
7310
7311 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7312 parameter to modify-frame-parameters if the value has not changed;
7313 this is a workaround for bug#14949.
7314 (desktop--make-frame): On cl-delete-if call, check parameter name,
7315 not full parameter.
7316
7aa7fff0
XF
73172013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7318
7319 * vc/vc.el (vc-ignore): New function.
7320
7321 * vc/vc-svn.el (vc-svn-ignore): New function.
7322
7323 * vc/vc-hg.el (vc-hg-ignore): New function.
7324
7325 * vc/vc-git.el (vc-git-ignore): New function.
7326
7327 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7328 (vc-dir-ignore): New function.
7329
7330 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 7331 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
7332
7333 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7334
7335 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7336
889acc5c
JB
73372013-07-24 Juanma Barranquero <lekktu@gmail.com>
7338
7339 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7340 (desktop-restore-frames): Warn when deleting an existing frame failed.
7341
86c40970
GM
73422013-07-24 Glenn Morris <rgm@gnu.org>
7343
7344 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7345
d5d3c58a
MA
73462013-07-24 Michael Albinus <michael.albinus@gmx.de>
7347
7348 * filenotify.el (file-notify-supported-p):
7349 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7350 Remove functions.
7351
7352 * autorevert.el (auto-revert-use-notify):
7353 (auto-revert-notify-add-watch):
7354 * net/tramp.el (tramp-file-name-for-operation):
7355 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7356 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7357 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7358 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7359 Remove `file-notify-supported-p' entry.
7360
d100084b
GM
73612013-07-24 Glenn Morris <rgm@gnu.org>
7362
7363 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 7364 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 7365
ac93e56b
SM
73662013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7367
249eea30
SM
7368 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7369 checked with memq (bug#14935).
7370
ac93e56b
SM
7371 * files.el (revert-buffer-function): Use a non-nil default.
7372 (revert-buffer-preserve-modes): Declare var to
7373 provide access to the `preserve-modes' argument.
7374 (revert-buffer): Let-bind it.
7375 (revert-buffer--default): New function, extracted from revert-buffer.
7376
2cdeb903
SM
73772013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7378
7379 * lpr.el: Signal print errors more prominently.
7380 (print-region-function): Don't default to nil.
7381 (lpr-print-region): New function, extracted from print-region-1.
7382 Check lpr's return value and signal an error in case of problem.
7383 (print-region-1): Use it.
7384 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7385 versions instead.
7386 (ps-printer-name): Default to nil.
7387 (ps-printer-name-option): Default to lpr-printer-switch.
7388 (ps-print-region-function): Don't default to nil.
7389 (ps-postscript-code-directory): Simplify default.
7390 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7391 (ps-string-list, ps-eval-switch, ps-flatten-list)
7392 (ps-flatten-list-1): Remove.
7393 (ps-multibyte-buffer): Avoid setq.
7394 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7395 (print-region-function, ps-print-region-function): Don't set them here.
7396
73600831
XF
73972013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7398
0e55c076
XF
7399 * ido.el (ido-fractionp):
7400 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7401 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7402 (ido-max-directory-size, ido-max-dir-file-cache)
7403 (ido-decorations): Doc fix.
7404
73600831
XF
7405 * ansi-color.el: Fix old URL.
7406
3d012865
MM
74072013-07-23 Michael R. Mauger <michael@mauger.com>
7408
e903c210 7409 * progmodes/sql.el: Version 3.3
3d012865
MM
7410 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7411 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7412 (sql-interactive-remove-continuation-prompt): Rewrite, use
7413 functions above. Fix continuation prompt and complete output line
7414 handling.
7415 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7416 redirected output buffer.
7417 (sql-mode): Restore deleted code (Bug#13591).
7418
da77a2e2
JB
74192013-07-23 Juanma Barranquero <lekktu@gmail.com>
7420
7421 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7422
80ff0c71
MA
74232013-07-23 Michael Albinus <michael.albinus@gmx.de>
7424
7425 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7426
7427 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7428 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7429 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7430
b61d71e4
JB
74312013-07-23 Juanma Barranquero <lekktu@gmail.com>
7432
7433 * desktop.el (desktop-clear): Simplify; remove useless checks
7434 against invalid buffer names.
7435 (desktop-list*): Use cl-list*.
7436 (desktop-buffer-info, desktop-create-buffer): Simplify.
7437
c3512092
LL
74382013-07-23 Leo Liu <sdl.web@gmail.com>
7439
7440 * bookmark.el (bookmark-make-record): Restore NAME as a default
7441 value. (Bug#14933)
7442
0ac26976
SM
74432013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7444
7d22ce18
SM
7445 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7446 extracted from autoload--insert-text.
7447 (autoload--insert-text): Remove.
7448 (autoload--print-cookie-text): New function, extracted from
7449 autoload--insert-cookie-text.
7450 (autoload--insert-cookie-text): Remove.
7451 (autoload-generate-file-autoloads): Adjust calls accordingly.
7452
9b2607e8
SM
7453 * winner.el (winner-hook-installed-p): Remove.
7454 (winner-mode): Simplify accordingly.
7455
c43a8618
SM
7456 * subr.el (add-to-list): Fix compiler-macro when `append' is
7457 not constant. Don't use `cl-member' for the base case.
7458
0ac26976
SM
7459 * progmodes/subword.el: Fix boundary case (bug#13758).
7460 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7461 own group.
7462 (subword-backward-regexp): Make it a constant.
7463 (subword-forward-internal): Don't treat a trailing capital as the
7464 beginning of a word.
7465
6874724a
AR
74662013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7467
7468 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7469 global value of tabulated-list-revert-hook (bug#14930).
7470
70f1b5e8
JB
74712013-07-22 Juanma Barranquero <lekktu@gmail.com>
7472
a1c80d9d
JB
7473 * desktop.el: Require 'cl-lib.
7474 (desktop-before-saving-frames-functions): New hook.
7475 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7476 for frames being saved. Rename from desktop--save-minibuffer-frames.
7477 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
7478 Do not save frames with non-nil `desktop-dont-save' parameter.
7479 Filter out deleted frames.
a1c80d9d
JB
7480 (desktop--find-frame): Use cl-find-if.
7481 (desktop--select-frame): Use cl-(first|second|third) to access values
7482 of desktop-mini.
7483 (desktop--make-frame): Use cl-delete-if.
7484 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7485 (desktop-restore-frames): Use cl-(first|second|third) to access values
7486 of desktop-mini. Look for visible frame at the end, not while
7487 restoring frames.
7488
70f1b5e8
JB
7489 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7490 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7491 Use string-match-p, looking-at-p (bug#14927).
7492
728dc3cc
JB
74932013-07-21 Juanma Barranquero <lekktu@gmail.com>
7494
56bc453c
JB
7495 * desktop.el (desktop-saved-frame-states):
7496 Rename from desktop--saved-states; all users changed.
7497 (desktop-save-frames): Rename from desktop--save-frames.
7498 Do not save state to desktop file.
7499 (desktop-save): Save desktop-saved-frame-states to desktop file
7500 and reset to nil.
7501 (desktop-restoring-frames-p): New function.
7502 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7503 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7504 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7505
728dc3cc
JB
7506 * desktop.el: Correctly restore iconified frames.
7507 (desktop--filter-iconified-position): New function.
7508 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7509
862f1c9c
GM
75102013-07-20 Glenn Morris <rgm@gnu.org>
7511
c4074c9f
GM
7512 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7513 Let `message' do the formatting.
7514 (def-gdb-preempt-display-buffer): Add explicit format.
7515
d828e5f9
GM
7516 * image-dired.el (image-dired-track-original-file):
7517 Use with-current-buffer.
7518 (image-dired-track-thumbnail): Use with-current-buffer.
7519 Avoid changing point of wrong window.
7520
862f1c9c
GM
7521 * image-dired.el (image-dired-track-original-file):
7522 Avoid changing point of wrong window. (Bug#14909)
7523
f0398ec1 75242013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
7525
7526 * progmodes/gdb-mi.el (gdb-done-or-error):
7527 Guard against "%" in gdb output. (Bug#14127)
7528
1451928f
AS
75292013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7530
763a086d
JB
7531 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7532 (Bug#14826)
f7a03897 7533
1451928f
AS
7534 * international/mule.el (coding-system-iso-2022-flags): Fix last
7535 change.
7536
99107004
KH
75372013-07-20 Kenichi Handa <handa@gnu.org>
7538
763a086d
JB
7539 * international/mule.el (coding-system-iso-2022-flags):
7540 Add `8-bit-level-4'. (Bug#8522)
99107004 7541
48494e06
LMI
75422013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7543
8ba8eec5
LMI
7544 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7545 (bug#14815).
7546
dfbc66e3
LMI
7547 * net/eww.el (eww-process-text-input): Allow inputting when the
7548 point is at the start of the line, as the properties aren't
7549 front-sticky.
7550
48494e06
LMI
7551 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7552 degenerate widths.
7553
77c92cb9
RS
75542013-07-19 Richard Stallman <rms@gnu.org>
7555
aec7da77
RS
7556 * epa.el (epa-popup-info-window): Doc fix.
7557
77c92cb9
RS
7558 * subr.el (split-string): New arg TRIM.
7559
945c5bb1
JB
75602013-07-18 Juanma Barranquero <lekktu@gmail.com>
7561
7562 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7563 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7564
e06ec67f
MA
75652013-07-18 Michael Albinus <michael.albinus@gmx.de>
7566
c7064f05 7567 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
7568 `file-notify-support'. Do not autoload. Adapt all uses.
7569 (file-notify-supported-p): New defun.
7570
c7064f05
JB
7571 * autorevert.el (auto-revert-use-notify):
7572 Use `file-notify-supported-p' instead of `file-notify-support'.
7573 Adapt docstring.
e06ec67f
MA
7574 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7575
7576 * net/tramp.el (tramp-file-name-for-operation):
7577 Add `file-notify-supported-p'.
7578
7579 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7580 New defun.
7581 (tramp-sh-file-name-handler-alist): Add it as handler for
7582 `file-notify-supported-p '.
7583
7584 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7585 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7586 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7587 Add `ignore' as handler for `file-notify-*' functions.
7588
5dc8a629
EZ
75892013-07-17 Eli Zaretskii <eliz@gnu.org>
7590
7591 * simple.el (line-move-partial, line-move): Don't start vscroll or
7592 scroll-up if the current line is not taller than the window.
7593 (Bug#14881)
7594
77aea2fb
DG
75952013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7596
7597 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7598 highlight question marks in the method names as strings.
ac72c08d
DG
7599 (ruby-block-beg-keywords): Inline.
7600 (ruby-font-lock-keyword-beg-re): Extract from
7601 `ruby-font-lock-keywords'.
77aea2fb 7602
18c26d81
JD
76032013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7604
7605 * frame.el (blink-cursor-blinks): New defcustom.
7606 (blink-cursor-blinks-done): New defvar.
7607 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7608 (blink-cursor-timer-function): Check if number of blinks has been
7609 done on X and NS.
7610 (blink-cursor-suspend, blink-cursor-check): New defuns.
7611
da48522e
GM
76122013-07-15 Glenn Morris <rgm@gnu.org>
7613
7614 * edmacro.el (edmacro-format-keys): Fix previous change.
7615
0463c1ef
PE
76162013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7617
7618 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7619 The hack didn't work outside English locales anyway.
7620
b43f6451
JB
76212013-07-15 Juanma Barranquero <lekktu@gmail.com>
7622
7623 * simple.el (define-alternatives): Rename from alternatives-define,
7624 per RMS' suggestion.
7625
b958c0ad
JB
76262013-07-14 Juanma Barranquero <lekktu@gmail.com>
7627
7628 * desktop.el (desktop-restore-frames): Change default to t.
7629 (desktop-restore-in-current-display): Now offer more options.
7630 (desktop-restoring-reuses-frames): New customization option.
7631 (desktop--saved-states): Doc fix.
7632 (desktop-filter-parameters-alist): New variable, renamed and expanded
7633 from desktop--excluded-frame-parameters.
7634 (desktop--target-display): New variable.
7635 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7636 (desktop--filter-tty*, desktop--filter-*-color)
7637 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7638 (desktop--filter-save-desktop-parm)
7639 (desktop-restore-in-original-display-p): New functions.
7640 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7641 (desktop--save-minibuffer-frames): New function, inspired by a similar
7642 function from Martin Rudalics.
7643 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7644 (desktop--restore-in-this-display-p): Remove.
7645 (desktop--find-frame): Rename from desktop--find-frame-in-display
7646 and add predicate argument.
7647 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7648 (desktop--reuse-list): New variable.
7649 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7650 New functions.
7651 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7652
f6dd8b36
MA
76532013-07-14 Michael Albinus <michael.albinus@gmx.de>
7654
7655 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7656
2ce3c565
DG
76572013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7658
763a086d
JB
7659 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7660 Highlight conversion methods on Kernel.
2ce3c565 7661
2cdb7698
AM
76622013-07-13 Alan Mackenzie <acm@muc.de>
7663
7664 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7665 and comment it out. This out-commenting enables certain C++
7666 declarations to be parsed correctly.
7667
1a67b811
EZ
76682013-07-13 Eli Zaretskii <eliz@gnu.org>
7669
1b796d6b
EZ
7670 * international/mule.el (define-coding-system): Doc fix.
7671
1a67b811
EZ
7672 * simple.el (default-font-height): Don't call font-info if the
7673 frame's default font didn't change since the frame was created.
7674 (Bug#14838)
7675
58fbe886
LL
76762013-07-13 Leo Liu <sdl.web@gmail.com>
7677
7678 * ido.el (ido-read-file-name): Guard against non-symbol value.
7679
1f0480d4
FEG
76802013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7681
7682 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7683 in nested defuns.
7684
97ead0e5
LL
76852013-07-13 Leo Liu <sdl.web@gmail.com>
7686
7687 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7688 ido-set-matches call. (Bug#6852)
7689
0880a952
DG
76902013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7691
7692 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7693 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7694 Ruby 2.0.
7695 (ruby-font-lock-keywords): Distinguish calls to functions with
7696 module-like names from module references. Highlight character
7697 literals.
7698
a7d8babb
SDJ
76992013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7700
7701 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 7702 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 7703
acfcc8c5
JB
77042013-07-12 Juanma Barranquero <lekktu@gmail.com>
7705
7706 * desktop.el (desktop--v2s): Remove unused local variable.
7707 (desktop-save-buffer): Make defvar-local; adjust docstring.
7708 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7709 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7710
051f2775
AS
77112013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7712
7713 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7714
f24e7572
GM
77152013-07-12 Eli Zaretskii <eliz@gnu.org>
7716
7717 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7718 (Bug#14842)
7719
539a920c
GM
77202013-07-12 Glenn Morris <rgm@gnu.org>
7721
7722 * doc-view.el: Require cl-lib at runtime too.
7723 (doc-view-remove-if): Remove.
7724 (doc-view-search-next-match, doc-view-search-previous-match):
7725 Use cl-remove-if.
7726
7727 * edmacro.el: Require cl-lib at runtime too.
7728 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7729 (edmacro-mismatch, edmacro-subseq): Remove.
7730
7731 * shadowfile.el: Require cl-lib.
7732 (shadow-remove-if): Remove.
7733 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7734 Use cl-remove-if.
7735
7736 * wid-edit.el: Require cl-lib.
7737 (widget-choose): Use cl-remove-if.
7738 (widget-remove-if): Remove.
7739
7740 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7741 (ebrowse-delete-if-not): Remove.
7742 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7743 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7744 Use cl-delete-if-not.
7745
1048af7c
JB
77462013-07-12 Juanma Barranquero <lekktu@gmail.com>
7747
7748 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7749 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7750
6c0674ee
LL
77512013-07-12 Leo Liu <sdl.web@gmail.com>
7752
7753 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7754
a19b3c2d
GM
77552013-07-11 Glenn Morris <rgm@gnu.org>
7756
4582a01c
GM
7757 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7758 (edebug-gensym-index, edebug-gensym):
7759 Remove reimplementation of cl-gensym.
7760 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7761
7762 * thumbs.el: Require cl-lib at run-time too.
7763 (thumbs-gensym-counter, thumbs-gensym):
7764 Remove reimplementation of cl-gensym.
7765 (thumbs-temp-file): Use cl-gensym.
7766
a19b3c2d
GM
7767 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7768 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7769 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7770 (ert--union, ert--gensym-counter, ert--gensym-counter)
7771 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7772 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7773 (ert-make-test-unbound, ert--expand-should-1)
7774 (ert--expand-should, ert--should-error-handle-error)
7775 (should-error, ert--explain-equal-rec)
7776 (ert--plist-difference-explanation, ert-select-tests)
7777 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7778 Use cl-lib functions rather than reimplementations.
7779
88f6a933
MA
77802013-07-11 Michael Albinus <michael.albinus@gmx.de>
7781
7782 * net/tramp.el (tramp-methods): Extend docstring.
7783 (tramp-connection-timeout): New defcustom.
7784 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7785 (with-tramp-progress-reporter): Simplify.
7786 (tramp-process-actions): Improve messages.
7787
7788 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7789 * net/tramp-sh.el (tramp-maybe-open-connection):
7790 Use `tramp-connection-timeout'.
7791 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7792 (Bug#14808)
7793
a43d577e
LL
77942013-07-11 Leo Liu <sdl.web@gmail.com>
7795
7796 * ido.el (ido-read-file-name): Conform to the requirements of
7797 read-file-name. (Bug#11861)
7798 (ido-read-directory-name): Conform to the requirements of
7799 read-directory-name.
7800
d77974bf
JB
78012013-07-11 Juanma Barranquero <lekktu@gmail.com>
7802
7803 * subr.el (delay-warning): New function.
7804
35cb8a3e
EZ
78052013-07-10 Eli Zaretskii <eliz@gnu.org>
7806
7807 * simple.el (default-line-height): New function.
7808 (line-move-partial, line-move): Use it instead of computing the
7809 line height inline.
7810 (line-move-partial): Always compute ROWH. If the last line is
7811 partially-visible, but its text is completely visible, allow
7812 cursor to enter such a partially-visible line.
7813
525c5c77
MA
78142013-07-10 Michael Albinus <michael.albinus@gmx.de>
7815
7816 Improve error messages. (Bug#14808)
7817
7818 * net/tramp.el (tramp-current-connection): New defvar, moved from
7819 tramp-sh.el.
0ac26976 7820 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 7821 needed anymore.
0ac26976
SM
7822 (tramp-error-with-buffer): Show message in minibuffer.
7823 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
7824 (with-tramp-progress-reporter): Improve messages.
7825 (tramp-process-actions): Use progress reporter. Delete process in
7826 case of error. Improve messages.
7827
763a086d
JB
7828 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7829 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 7830 (tramp-current-connection): Remove.
525c5c77
MA
7831 (tramp-maybe-open-connection): The car of
7832 `tramp-current-connection' are the first 3 slots of the vector.
7833
c7a4d368
TZ
78342013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7835
7836 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7837 inside continued strings.
7838
954b166e
PE
78392013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7840
7841 Timestamp fixes for undo (Bug#14824).
7842 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7843
56973319
LL
78442013-07-10 Leo Liu <sdl.web@gmail.com>
7845
7846 * files.el (require-final-newline): Allow safe local value.
7847 (Bug#14834)
7848
5550a72c
LL
78492013-07-09 Leo Liu <sdl.web@gmail.com>
7850
7851 * ido.el (ido-read-directory-name): Handle fallback.
7852 (ido-read-file-name): Update DIR to ido-current-directory.
7853 (Bug#1516)
c28b9050 7854 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 7855
70c46b28
DG
78562013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7857
7858 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7859 "autoload". Remove "warn lower camel case" section, previously
7860 commented out. Highlight negation char. Do not highlight the
7861 target in singleton method definitions.
7862
0b64b838
SM
78632013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7864
7fd72e2c
SM
7865 * faces.el (tty-setup-hook): Declare the hook.
7866
0b64b838
SM
7867 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7868 and detect when a guard/pred depends on local vars (bug#14773).
7869 (pcase--u1): Adjust caller.
7870
ab49d60b
EZ
78712013-07-08 Eli Zaretskii <eliz@gnu.org>
7872
7873 * simple.el (line-move-partial, line-move): Account for
7874 line-spacing.
701d79aa
EZ
7875 (line-move-partial): Avoid setting vscroll when the last
7876 partially-visible line in window is of default height.
ab49d60b 7877
2d756ae0
LMI
78782013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7879
7880 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7881 been used a while.
7882
ed095bd7
JB
78832013-07-07 Juanma Barranquero <lekktu@gmail.com>
7884
7885 * subr.el (read-quoted-char): Remove unused local variable `char'.
7886
f1e6674b
MK
78872013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7888
584ee3fc
GM
7889 * ediff.el (ediff-version): Version update.
7890 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7891 (ediff-merge-with-ancestor-command, ediff-directories-command)
7892 (ediff-directories3-command, ediff-merge-directories-command)
7893 (ediff-merge-directories-with-ancestor-command): New functions.
7894 All are command-line interfaces to ediff: to facilitate calling
7895 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
7896
7897 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7898 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 7899
584ee3fc
GM
7900 * viper.el (viper-version): Version update.
7901 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 7902
584ee3fc
GM
79032013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7904
7905 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7906 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7907 (viper-intercept-ESC-key): Simplify.
7908 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7909 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7910 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7911 (viper-setup-ESC-to-escape): New functions.
7912 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7913 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 7914
9aff9b38
EZ
79152013-07-07 Eli Zaretskii <eliz@gnu.org>
7916
5165d44a
JB
7917 * simple.el (default-font-height, window-screen-lines):
7918 New functions.
9aff9b38
EZ
7919 (line-move, line-move-partial): Use them instead of
7920 frame-char-height and window-text-height. This makes scrolling
7921 text smoother when the buffer's default face uses a font that is
7922 different from the frame's default font.
7923
1afb1d07
JD
79242013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7925
7926 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 7927 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 7928
23de972a
EZ
79292013-07-06 Eli Zaretskii <eliz@gnu.org>
7930
7931 * simple.el (line-move-partial): Adjust the row returned by
7932 posn-at-point for the current window-vscroll. (Bug#14567)
7933
54a42486
MA
79342013-07-06 Michael Albinus <michael.albinus@gmx.de>
7935
7936 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7937 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7938 spaces.
7939
34ada5f4
MR
79402013-07-06 Martin Rudalics <rudalics@gmx.at>
7941
7942 * window.el (window-state-put-stale-windows): New variable.
7943 (window--state-put-2): Save list of windows without matching buffer.
7944 (window-state-put): Remove "bufferless" windows if possible.
7945
11e03d89
JB
79462013-07-06 Juanma Barranquero <lekktu@gmail.com>
7947
7948 * simple.el (alternatives-define): Remove leftover :group keyword.
7949 Tweak docstring.
7950
3504a4be
LL
79512013-07-06 Leo Liu <sdl.web@gmail.com>
7952
7953 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7954 (ido-enable-virtual-buffers): New variable.
7955 (ido-buffer-internal, ido-toggle-virtual-buffers)
7956 (ido-make-buffer-list): Use it.
7957 (ido-exhibit): Support turning on and off virtual buffers
7958 automatically.
7959
61e56e2c
JB
79602013-07-06 Juanma Barranquero <lekktu@gmail.com>
7961
7962 * simple.el (alternatives-define): New macro.
7963
321e1a9c
SM
79642013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7965
7966 * subr.el (read-quoted-char): Use read-key.
7967 (sit-for): Let read-event decode tty input (bug#14782).
7968
d610f6dd
SB
79692013-07-05 Stephen Berman <stephen.berman@gmx.net>
7970
7971 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
7972 mode command and externally. Fix various related bugs.
7973 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
7974 (todo-delete-file): New command.
7975 (todo-check-file): New function.
7976 (todo-show): Handle external deletion of the file we're trying to
7977 show (bug#14688). Replace called-interactively-p by an optional
7978 prefix argument to avoid problematic interaction with catch form
7979 when byte compiled (bug#14702).
7980 (todo-quit): Handle external deletion of the archive's todo file.
7981 Make sure the buffer that was visiting the archive file is still
7982 live before trying to bury it.
7983 (todo-category-completions): Handle external deletion of any
7984 category completion files.
7985 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7986 of todo files, in case of external deletion.
7987 (todo-add-file): Replace unnecessary setq by let-binding.
7988 (todo-find-archive): Check whether there are any archives.
7989 Replace unnecessary setq by let-binding.
7990 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
7991 archive buffer whether or not the archive already exists.
7992 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
7993 check if the archive is new; if it is, update list of archives.
7994 (todo-default-todo-file): Allow nil to be a valid value for when
7995 there are no todo files.
7996 (todo-reevaluate-default-file-defcustom): Use corrected definition
7997 of todo-default-todo-file.
7998 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7999 (todo-delete-category, todo-show-categories-table)
8000 (todo-category-number): Clarify comment.
8001 (todo-filter-items): Clarify documentation string.
8002 (todo-show-current-file, todo-display-as-todo-file)
8003 (todo-reset-and-enable-done-separator): Tweak documentation string.
8004 (todo-done-separator): Make separator length window-width, since
8005 bug#2749 is now fixed.
8006
ddbdfd6f
MA
80072013-07-05 Michael Albinus <michael.albinus@gmx.de>
8008
321e1a9c
SM
8009 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8010 Support both "gvfs-monitor-dir" and "inotifywait".
8011 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
8012 `tramp-sh-file-notify-process-filter'.
8013 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8014 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8015
96eb829a
LL
80162013-07-05 Leo Liu <sdl.web@gmail.com>
8017
8018 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8019
cf13177e
YM
80202013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8021
8022 * frame.el (display-pixel-height, display-pixel-width)
8023 (display-mm-height, display-mm-width): Mention behavior on
8024 multi-monitor setups in docstrings.
8025 (w32-display-monitor-attributes-list): Declare function.
8026 (display-monitor-attributes-list): Use it.
8027
864c58ca
MA
80282013-07-04 Michael Albinus <michael.albinus@gmx.de>
8029
8030 * filenotify.el: New package.
8031
8032 * autorevert.el (top): Require filenotify.el.
8033 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8034 instead.
8035 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8036 (auto-revert-notify-handler): Use `file-notify-*' functions.
8037
8038 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8039
321e1a9c
SM
8040 * net/tramp.el (tramp-file-name-for-operation):
8041 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
8042
8043 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8044 for `file-notify-add-watch' and `file-notify-rm-watch'.
8045 (tramp-process-sentinel): Improve trace.
8046 (tramp-sh-handle-file-notify-add-watch)
8047 (tramp-sh-file-notify-process-filter)
8048 (tramp-sh-handle-file-notify-rm-watch)
8049 (tramp-get-remote-inotifywait): New defuns.
8050
96673afe
JL
80512013-07-03 Juri Linkov <juri@jurta.org>
8052
8053 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8054 call of `occur-read-primary-args' to interactive spec.
8055
8056 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8057 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8058
924494f4
MM
80592013-07-03 Matthias Meulien <orontee@gmail.com>
8060
8061 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8062 `Buffer-menu-multi-occur'. Add it to the menu.
8063 (Buffer-menu-mode): Document it in docstring.
8064 (Buffer-menu-multi-occur): New command. (Bug#14673)
8065
56f75efc
DG
80662013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8067
8068 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8069 keywords and built-ins.
8070
9b057d61
GM
80712013-07-03 Glenn Morris <rgm@gnu.org>
8072
208dee4d
GM
8073 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8074
9b057d61
GM
8075 Make info-xref checks case-sensitive by default
8076 * info.el (Info-find-node, Info-find-in-tag-table)
8077 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8078 Add option for exact case matching of nodes.
8079 * info-xref.el (info-xref): New custom group.
8080 (info-xref-case-fold): New option.
8081 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8082
e01aa29c
LL
80832013-07-03 Leo Liu <sdl.web@gmail.com>
8084
8085 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8086
3086ca2e
DG
80872013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8088
8089 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8090 middle of block statement initially, lower the depth. Remove
8091 FIXME comment, not longer valid. Remove middle of block statement
8092 detection, no need to do that anymore since we've been using
8093 `ruby-parse-region' here.
8094
a3b49114
JD
80952013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8096
8097 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8098
08e5c823 80992013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
8100
8101 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8102
2addf922
JB
81032013-07-01 Juanma Barranquero <lekktu@gmail.com>
8104
8105 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8106 (desktop-restore-in-current-display): New customization option.
8107 (desktop--excluded-frame-parameters): Add `font'.
8108 (desktop--save-frames): Rename from desktop--save-windows.
8109 (desktop--restore-in-this-display-p): New function.
8110 (desktop--make-full-frame): Remove unwanted width/height from
8111 full(width|height) frames.
8112 (desktop--restore-frames): Rename from desktop--restore-windows.
8113 Obey desktop-restore-current-display. Do not delete old frames or
8114 select a new frame unless we were able to restore at least one frame.
8115
ef099a94
MN
81162013-06-30 Michal Nazarewicz <mina86@mina86.com>
8117
8118 * files.el (find-file-noselect): Simplify conditional expression.
8119
a12bf61e 8120 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
8121 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8122
8123 Add `remember-notes' function to store random notes across Emacs
8124 restarts.
3fcfc4ee
JB
8125 * textmodes/remember.el (remember-data-file): Add :set callback to
8126 affect notes buffer (if any).
ef099a94
MN
8127 (remember-notes): New command.
8128 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8129 New defcustoms for the `remember-notes' function.
8130 (remember-notes-save-and-bury-buffer): New command.
8131 (remember-notes-mode-map): New variable.
8132 (remember-mode): New minor mode.
8133 (remember-notes--kill-buffer-query): New function.
8134 * startup.el (initial-buffer-choice): Add notes to custom type.
8135
0865d506
EZ
81362013-06-30 Eli Zaretskii <eliz@gnu.org>
8137
0ba54312
EZ
8138 * bindings.el (right-char, left-char): Don't call sit-for, this is
8139 no longer needed. Use arithmetic comparison only for numerical
8140 arguments.
8141
ef099a94
MN
8142 * international/mule-cmds.el (select-safe-coding-system):
8143 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 8144
2fae38e5
LMI
81452013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8146
8147 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8148 progression on degenerate tables.
ef099a94 8149 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 8150
a47cbd64
JB
81512013-06-30 Juanma Barranquero <lekktu@gmail.com>
8152
8153 Some fixes and improvements for desktop frame restoration.
8154 It is still experimental and disabled by default.
8155 * desktop.el (desktop--save-windows): Put the selected frame at
8156 the head of the list.
8157 (desktop--make-full-frame): New function.
8158 (desktop--restore-windows): Try to re-select the frame that was
8159 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
8160 just show an error message and continue. Set up maximized frames
8161 so they have default non-maximized dimensions.
a47cbd64 8162
6dbafa30
DG
81632013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8164
ef099a94
MN
8165 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8166 Don't start heredoc inside a string or comment.
6dbafa30 8167
4c672a0f
EZ
81682013-06-29 Eli Zaretskii <eliz@gnu.org>
8169
8170 * bindings.el (visual-order-cursor-movement): New defcustom.
8171 (right-char, left-char): Provide visual-order cursor motion by
8172 calling move-point-visually. Update the doc strings.
8173
50960f36
KH
81742013-06-28 Kenichi Handa <handa@gnu.org>
8175
8176 * international/mule.el (define-coding-system): New coding system
8177 properties :inhibit-null-byte-detection,
8178 :inhibit-iso-escape-detection, and :prefer-utf-8.
8179 (set-buffer-file-coding-system): If :charset-list property of
8180 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8181 appropriate for setting.
8182
c1ea3abf
JB
8183 * international/mule-cmds.el (select-safe-coding-system):
8184 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8185 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
8186
8187 * international/mule-conf.el (prefer-utf-8): New coding system.
8188 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8189 files.
8190
75dbaf9d
IK
81912013-06-28 Ivan Kanis <ivan@kanis.fr>
8192
eadb6068
IK
8193 * net/shr.el (shr-render-region): New function.
8194
75dbaf9d
IK
8195 * net/eww.el: Autoload `eww-browse-url'.
8196
9ea5cf9f
DG
81972013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8198
c1ea3abf
JB
8199 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8200 Adapt to `package-desc-version' being a list.
8201 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
8202 archive element.
8203
39c0e36f
JB
82042013-06-27 Juanma Barranquero <lekktu@gmail.com>
8205
8206 New experimental feature to save&restore window and frame setup.
8207 * desktop.el (desktop-save-windows): New defcustom.
8208 (desktop--saved-states): New var.
8209 (desktop--excluded-frame-parameters): New defconst.
8210 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8211 (desktop--restore-windows, desktop--save-windows): New functions.
8212 (desktop-save): Call `desktop--save-windows'.
8213 (desktop-read): Call `desktop--restore-windows'.
8214
7f13406b
LMI
82152013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8216
ef099a94 8217 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 8218
1e072639
SB
82192013-06-27 Stephen Berman <stephen.berman@gmx.net>
8220
8221 * info.el (Info-try-follow-nearest-node): Move search for footnote
8222 above search for node name to prevent missing a footnote (bug#14717).
8223
f3e2cbde
SB
82242013-06-27 Stephen Berman <stephen.berman@gmx.net>
8225
8226 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8227
99906aa0
LL
82282013-06-27 Leo Liu <sdl.web@gmail.com>
8229
8230 * net/eww.el (eww-read-bookmarks): Check file size.
8231
539f75f4
SM
82322013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8233
8234 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8235 advice--pending if newdef is nil or an autoload (bug#13820).
8236 (advice-mapc): New function.
8237
843571cb
LMI
82382013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8239
8240 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8241 probably.
23a75d7f 8242 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
8243 (eww-add-bookmark): New command.
8244 (eww-bookmark-mode): New mode and commands.
a285ce99 8245 (eww-add-bookmark): Remove newlines from the title.
47fd571b 8246 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 8247
f2136e1e
GM
82482013-06-26 Glenn Morris <rgm@gnu.org>
8249
eab35f39
GM
8250 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8251 (hfy-size): Handle ttys. (Bug#14668)
8252
f2136e1e
GM
8253 * info-xref.el: Update for Texinfo 5 change in *note format.
8254 (info-xref-node-re, info-xref-note-re): New constants.
8255 (info-xref-check-buffer): Use info-xref-note-re.
8256
a49ff80c
SM
82572013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8258
a343d218
SM
8259 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8260
a49ff80c
SM
8261 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8262 nil terminate the loop (bug#14718).
8263
8308f184
LMI
82642013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8265
8266 * net/eww.el: Rework history traversal. When going forward/back,
8267 put these actions into the history, too, so that they can be
8268 replayed.
26bf2b82 8269 (eww-render): Move the history reset to the correct buffer.
8308f184 8270
ec64c273
JL
82712013-06-25 Juri Linkov <juri@jurta.org>
8272
8273 * files-x.el (modify-dir-local-variable): Change the header comment
8274 in the file with directory local variables. (Bug#14692)
8275
e080a9d7
JL
8276 * files-x.el (read-file-local-variable-value): Add `default'.
8277 (Bug#14710)
8278
bfbc93a1
IK
82792013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8280
8281 * net/eww.el (eww-make-unique-file-name): Create a unique file
8282 name before saving to entering `y' accidentally asynchronously.
8283
82842013-06-25 Ivan Kanis <ivan@kanis.fr>
8285
8286 * net/eww.el (eww-download): New command and keystroke.
8287
16f74f10
LMI
82882013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8289
a49ff80c 8290 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
8291
8292 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8293 be more consistent with Info and dired.
8294
8295 * net/eww.el (eww-mode-map): Ditto.
8296
12059709
SM
82972013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8298
8299 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8300 packages from archives.
8301 (package-archive-contents): Change format; include obsolete packages.
8302 (package-desc): Use `dir' to mark builtin packages.
8303 (package--from-builtin): Set the `dir' field to `builtin'.
8304 (generated-autoload-file, version-control): Declare.
8305 (package-compute-transaction): Change first arg and return value to be
8306 lists of package-descs. Adjust to new package-archive-contents format.
8307 (package--add-to-archive-contents): Adjust to new
8308 package-archive-contents format.
8309 (package-download-transaction): Arg is now a list of package-descs.
8310 (package-install): If `pkg' is a package name, pass it as
8311 a requirement, so it is subject to the usual (e.g. disabled) checks.
8312 (describe-package): Accept package-desc as well.
8313 (describe-package-1): Describe a specific package-desc. Add links to
8314 other package-descs for the same package name.
8315 (package-menu-describe-package): Pass the actual package-desc.
8316 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8317 works correctly.
8318 (package-desc-status): New function.
8319 (package-menu--refresh): New function, extracted
8320 from package-menu--generate.
8321 (package-menu--generate): Use it.
8322 (package-delete): Update package-alist.
8323 (package-menu-execute): Don't call package-initialize.
8324
8325 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8326 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8327 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8328 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8329 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8330 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8331
8bbdea0f
MR
83322013-06-25 Martin Rudalics <rudalics@gmx.at>
8333
8334 * window.el (window--state-get-1): Workaround for bug#14527.
8335 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8336
e82b0991
LMI
83372013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8338
8339 * net/eww.el (eww-back-url): Implement the history by stashing all
8340 the data into a list.
d3f0f918 8341 (eww-forward-url): Allow going forward in the history, too.
e82b0991 8342
c763842b
SM
83432013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8344
8345 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8346 for values and use read--expression for expressions (bug#14710).
8347 (read-file-local-variable): Avoid setq.
8348 (read-file-local-variable-mode): Use minor-mode-list.
8349
bceff189
RW
83502013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8351
864c58ca 8352 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
8353 for DOI URLs.
8354
45f431c6
RW
83552013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8356
864c58ca 8357 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
8358 Update imenu-support when dialect changes.
8359
f42d8237
LL
83602013-06-25 Leo Liu <sdl.web@gmail.com>
8361
8362 * ido.el (ido-read-internal): Allow forward slash on windows.
8363
be549ce6
LMI
83642013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8365
8366 * net/eww.el (eww): Start of strings is \\`, not ^.
8367
71d4c19d
IK
83682013-06-24 Ivan Kanis <ivan@kanis.fr>
8369
5196f88a
IK
8370 * net/shr.el (shr-browse-url): Fix interactive spec.
8371
71d4c19d
IK
8372 * net/eww.el (eww): Add a trailing slash to domain names.
8373
ae36ca55
JB
83742013-06-24 Juanma Barranquero <lekktu@gmail.com>
8375
8376 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8377
0ebd92a3
LMI
83782013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8379
bdaa086b
LMI
8380 * net/shr.el (shr-browse-url): Use an external browser if given a
8381 prefix.
8382
c763842b 8383 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 8384
b89fc156
IK
83852013-06-24 Ivan Kanis <ivan@kanis.fr>
8386
8387 * net/eww.el (eww): Work more correctly for file: URLs.
8388 (eww-detect-charset): Allow quoted charsets.
8389 (eww-yank-page-url): New command and keystroke.
8390
18eb4bca
DU
83912013-06-24 Daiki Ueno <ueno@gnu.org>
8392
8393 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8394 file name of gpg executable.
8395 (epg-context-program): New function.
8396 (epg-context-home-directory): New function.
8397 (epg-context-set-program): New function.
8398 (epg-context-set-home-directory): New function.
8399 (epg--start): Use `epg-context-program' instead of
8400 'epg-gpg-program'.
8401 (epg--list-keys-1): Likewise.
8402
6c6268c8
LL
84032013-06-24 Leo Liu <sdl.web@gmail.com>
8404
8405 * ido.el (ido-read-internal): Fix bug#14620.
8406
5e400cb3
JB
84072013-06-23 Juanma Barranquero <lekktu@gmail.com>
8408
8409 * faces.el (face-documentation): Simplify.
8410 (read-face-attribute, tty-find-type, x-resolve-font-name):
8411 Use `string-match-p'.
8412 (list-faces-display): Use `string-match-p'. Simplify.
8413 (face-spec-recalc): Check face to avoid face alias loops.
8414 (read-color): Use `string-match-p' and non-capturing parenthesis.
8415
f3f9606c
LMI
84162013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8417
8418 * net/shr.el (shr-rescale-image): Use the new
8419 :max-width/:max-height functionality.
8420
a3ca09b9
IK
84212013-06-23 Ivan Kanis <ivan@kanis.fr>
8422
8423 * net/eww.el (eww-search-prefix): New variable.
8424 (eww): Use it.
f865b474
IK
8425 (eww-external-browser): New variable.
8426 (eww-mode-map): New keystroke.
8427 (eww-browse-with-external-browser): New command.
a3ca09b9 8428
e854cfc7
IK
8429 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8430
18bb9e21
JB
84312013-06-23 Juanma Barranquero <lekktu@gmail.com>
8432
8433 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8434 Don't skip aligning the next header field when padding is 0;
8435 otherwise, field width is not respected unless the title is as
8436 wide as the field.
8437
5b165ade
SM
84382013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8439
8440 * emacs-lisp/package.el (package-el-version): Remove.
8441 (package-process-define-package): Fix inf-loop.
8442 (package-install): Allow symbols as arguments again.
8443
12adebe9
DG
84442013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8445
8446 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8447 add some more keyword-like methods.
8448 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8449
388573ee
JB
84502013-06-22 Juanma Barranquero <lekktu@gmail.com>
8451
8452 * bs.el (bs-buffer-show-mark): Make defvar-local.
8453 (bs-mode): Use setq-local.
8454
8455 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8456 (emacs-lock--try-unlocking): Make defvar-local.
8457
4582a01c 84582013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 8459
2663dd23
GM
8460 * play/cookie1.el (cookie-apropos): Minor simplification.
8461
3d94f3ad
GM
8462 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8463
f72e2fdb
DG
84642013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8465
8466 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8467 `regexp-opt', it breaks the build during dumping.
8468
73eab938
DG
84692013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8470
c763842b
SM
8471 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8472 Highlight keyword-like methods on Kernel and Module with
73eab938 8473 font-lock-builtin-face.
5cf8176d
DG
8474 (auto-mode-alist): Consolidate different entries into one regexp
8475 and add more *file-s.
73eab938 8476
d26255f6
SB
84772013-06-21 Stephen Berman <stephen.berman@gmx.net>
8478
8479 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8480
8481 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8482 (diary-entry): Use it in the action of this button type instead of
8483 diary-goto-entry.
8484
8485 * calendar/todo-mode.el: New version.
8486 (todo-add-category): Append new category to end of file and give
8487 it the highest number, instead of putting it at the beginning and
8488 giving it 0. Incorporate noninteractive functionality.
8489 (todo-forward-category): Adapt to 1-based category numbering.
8490 Allow skipping over archived categories.
8491 (todo-backward-category): Derive from todo-forward-category.
8492 (todo-backward-item, todo-forward-item): Make noninteractive and
8493 delegate interactive part to new commands. Make sensitive to done items.
8494 (todo-categories): Make value an alist of category names and
8495 vectors of item counts.
8496 (todo-category-beg): Make a defconst.
8497 (todo-category-number): Use 1 instead of 0 as initial value.
8498 (todo-category-select): Make sensitive to overlays, optional item
8499 highlighting and done items.
8500 (todo-delete-item): Make sensitive to overlays and marked and done items.
8501 (todo-edit-item): Make sensitive to overlays and editing of
8502 date/time header optional. Add format checks.
8503 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8504 no-op if point is not on an item. Advertise using todo-edit-quit.
8505 (todo-edit-mode): Make sensitive to new format, font-locking, and
8506 multiple todo files.
8507 (todo-insert-item, todo-insert-item-here): Derive from
8508 todo-basic-insert-item and extend functionality.
8509 (todo-item-end, todo-item-start): Make sensitive to done items.
8510 (todo-item-string): Don't return text properties. Restore point.
8511 (todo-jump-to-category): Make sensitive to multiple todo files and
8512 todo archives. Use extended category completion.
8513 (todo-lower-item, todo-raise-item): Rename to *-priority and
8514 derive from todo-set-item-priority.
8515 (todo-mode): Derive from special-mode. Make sensitive to new
8516 format, font-locking and multiple todo files. Make read-only.
8517 (todo-mode-map): Don't suppress digit keys, so they can supply
8518 prefix arguments. Add many new key bindings.
8519 (todo-prefix): Insert as an overlay instead of file text.
8520 Change semantics from diary date expression to purely visual mark.
8521 (todo-print): Rename to todo-print-buffer. Make buffer display
8522 features printable. Remove option to restrict number of items
8523 printed. Add option to print to file.
8524 (todo-print-function): Rename to todo-print-buffer-function.
8525 (todo-quit): Extend to handle exiting new todo modes.
8526 (todo-remove-item): Make sensitive to overlays.
8527 (todo-save): Extend to buffers of filtered items.
8528 (todo-show): Make sensitive to done items, multiple todo files and
8529 new todo modes. Offer to convert legacy todo file before creating
8530 first new todo file.
8531 (todo-show-priorities): Rename to todo-top-priorities.
8532 Change semantics of value 0.
8533 (todo-top-priorities): Rename to todo-filter-top-priorities,
8534 derive from todo-filter-items and extend functionality.
8535 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8536 and extend functionality to other types of filtered items.
8537 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8538 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8539 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8540 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8541 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8542 (todo-edit-mode-hook, todo-entry-prefix-function)
8543 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8544 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8545 (todo-initials, todo-insert-threshold, todo-item-string-start)
8546 (todo-line-string, todo-menu, todo-mode-hook)
8547 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8548 (todo-print-priorities, todo-remove-separator)
8549 (todo-save-top-priorities-too, todo-string-count-lines)
8550 (todo-string-multiline-p, todo-time-string-format)
8551 (todo-tmp-buffer-name): Remove.
8552 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8553 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8554 (todo-edit-category-diary-inclusion)
8555 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8556 (todo-edit-file, todo-edit-item-date-day)
8557 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8558 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8559 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8560 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8561 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8562 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8563 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8564 (todo-filter-top-priorities-multifile, todo-find-archive)
8565 (todo-find-filtered-items-file, todo-go-to-source-item)
8566 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8567 (todo-jump-to-archive-category, todo-lower-category)
8568 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8569 (todo-move-category, todo-move-item, todo-next-button)
8570 (todo-next-item, todo-padded-string, todo-powerset)
8571 (todo-previous-button, todo-previous-item)
8572 (todo-print-buffer-to-file, todo-raise-category)
8573 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8574 (todo-set-category-number, todo-set-item-priority)
8575 (todo-set-top-priorities-in-category)
8576 (todo-set-top-priorities-in-file, todo-show-categories-table)
8577 (todo-sort-categories-alphabetically-or-numerically)
8578 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8579 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8580 (todo-toggle-item-header, todo-toggle-item-highlighting)
8581 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8582 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8583 (todo-unarchive-items, todo-unmark-category): New commands.
8584 (todo-absolute-file-name, todo-add-to-buffer-list)
8585 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8586 (todo-basic-insert-item, todo-category-completions)
8587 (todo-category-number, todo-category-string-matcher-1)
8588 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8589 (todo-check-format, todo-clear-matches)
8590 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8591 (todo-current-category, todo-date-string-matcher)
8592 (todo-define-insertion-command, todo-diary-expired-matcher)
8593 (todo-diary-goto-entry, todo-diary-item-p)
8594 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8595 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8596 (todo-done-item-section-p, todo-done-separator)
8597 (todo-done-string-matcher, todo-files, todo-filter-items)
8598 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8599 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8600 (todo-insert-category-line, todo-insert-item-from-calendar)
8601 (todo-insert-sort-button, todo-insert-with-overlays)
8602 (todo-insertion-command-name, todo-insertion-key-bindings)
8603 (todo-label-to-key, todo-longest-category-name-length)
8604 (todo-make-categories-list, todo-mode-external-set)
8605 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8606 (todo-modes-set-3, todo-multiple-filter-files)
8607 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8608 (todo-read-category, todo-read-date, todo-read-dayname)
8609 (todo-read-file-name, todo-read-time)
8610 (todo-reevaluate-category-completions-files-defcustom)
8611 (todo-reevaluate-default-file-defcustom)
8612 (todo-reevaluate-filelist-defcustoms)
8613 (todo-reevaluate-filter-files-defcustom)
8614 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8615 (todo-reset-done-separator, todo-reset-done-separator-string)
8616 (todo-reset-done-string, todo-reset-global-current-todo-file)
8617 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8618 (todo-reset-prefix, todo-set-categories)
8619 (todo-set-date-from-calendar, todo-set-show-current-file)
8620 (todo-set-top-priorities, todo-short-file-name)
8621 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8622 (todo-total-item-counts, todo-update-buffer-list)
8623 (todo-update-categories-display, todo-update-categories-sexp)
8624 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8625 New functions.
8626 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8627 New major modes.
8628 (todo-categories, todo-display, todo-edit, todo-faces)
8629 (todo-filtered): New defgroups.
8630 (todo-archived-only, todo-button, todo-category-string, todo-date)
8631 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8632 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8633 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8634 (todo-add-item-if-new-category, todo-always-add-time-string)
8635 (todo-categories-align, todo-categories-archived-label)
8636 (todo-categories-category-label, todo-categories-diary-label)
8637 (todo-categories-done-label, todo-categories-number-separator)
8638 (todo-categories-todo-label, todo-categories-totals-label)
8639 (todo-category-completions-files, todo-completion-ignore-case)
8640 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8641 (todo-done-separator-string, todo-done-string)
8642 (todo-files-function, todo-filter-done-items, todo-filter-files)
8643 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8644 (todo-initial-category, todo-initial-file, todo-item-mark)
8645 (todo-legacy-date-time-regexp, todo-mode-line-function)
8646 (todo-nondiary-marker, todo-number-prefix)
8647 (todo-print-buffer-function, todo-show-current-file)
8648 (todo-show-done-only, todo-show-first, todo-show-with-done)
8649 (todo-skip-archived-categories, todo-top-priorities-overrides)
8650 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8651 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8652 New defcustoms.
8653 (todo-category-done, todo-date-pattern, todo-date-string-start)
8654 (todo-diary-items-buffer, todo-done-string-start)
8655 (todo-filtered-items-buffer, todo-item-start)
8656 (todo-month-abbrev-array, todo-month-name-array)
8657 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8658 (todo-top-priorities-buffer): New defconsts.
8659 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8660 (todo-categories-with-marks, todo-category-string-face)
8661 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8662 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8663 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8664 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8665 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8666 (todo-font-lock-keywords, todo-global-current-todo-file)
8667 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8668 (todo-insertion-commands-args)
8669 (todo-insertion-commands-args-genlist)
8670 (todo-insertion-commands-names, todo-insertion-map)
8671 (todo-key-bindings-t, todo-key-bindings-t+a)
8672 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8673 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8674 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8675 (todo-visited): New variables.
8676
cad5d1cb
GM
86772013-06-21 Glenn Morris <rgm@gnu.org>
8678
8679 * play/cookie1.el (cookie-apropos): Add optional display argument.
8680 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8681 (psychoanalyze-pinhead): Use cookie-doctor.
8682
9e277302
JB
86832013-06-21 Juanma Barranquero <lekktu@gmail.com>
8684
8685 * emacs-lisp/package.el (tar-get-file-descriptor)
8686 (tar--extract): Declare.
8687
c5b0993e
EW
86882013-06-21 Eduard Wiebe <usenet@pusto.de>
8689
8690 Extend flymake's warning predicate to be a function (bug#14217).
8691 * progmodes/flymake.el (flymake-warning-predicate): New.
8692 (flymake-parse-line): Use it.
8693 (flymake-warning-re): Make obsolete alias to
8694 `flymake-warning-predicate'.
8695
a7d2d465
SM
86962013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8697
8698 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8699 (package-obsolete-list): Remove.
8700 (package-activate): Remove min-version argument. Add `force' argument.
8701 Adjust to new package-alist format.
8702 (package-mark-obsolete): Remove.
8703 (package-unpack): Force reload of the package's autoloads.
8704 (package-installed-p): Check builtins if the installed package is not
8705 recent enough.
8706 (package-initialize): Don't reset package-obsolete-list.
8707 Don't specify which package version to activate.
8708 (package-process-define-package, describe-package-1)
8709 (package-menu--generate): Adjust to new package-alist format.
8710
cedf5c9d
JB
87112013-06-21 Juanma Barranquero <lekktu@gmail.com>
8712
8713 * allout-widgets.el (allout-widgets-mode-off)
8714 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8715 (allout-widgets-post-command-business)
8716 (allout-widgets-after-copy-or-kill-function)
8717 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8718 (allout-decorate-item-and-context)
8719 (allout-graphics-modification-handler): Fix typos in docstrings.
8720 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8721
8722 * cmuscheme.el (scheme-start-file): Doc fix.
8723 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8724 (scheme-input-filter): Use `string-match-p'.
8725
8726 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8727
8728 * dired-x.el: Use Dired consistently in docstrings.
8729
8730 * dired.el: Use Dired consistently in docstrings.
8731 (dired-readin, dired-mode): Use `setq-local'.
8732 (dired-switches-alist): Make defvar-local.
8733 (dired-buffers-for-dir): Use `zerop'.
8734 (dired-safe-switches-p, dired-switches-escape-p)
8735 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8736 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8737 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8738 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8739 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8740 (dired-toggle-marks, dired-mark-files-containing-regexp)
8741 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8742 (dired-flag-auto-save-files, dired-flag-backup-files):
8743 Use `looking-at-p'.
8744 (dired-mark-files-regexp, dired-build-subdir-alist):
8745 Use `string-match-p', `looking-at-p'.
8746
8747 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8748 (direct-print-region-helper): Use `string-match-p'.
8749
aed838b5
LL
87502013-06-21 Leo Liu <sdl.web@gmail.com>
8751
cedf5c9d
JB
8752 * comint.el (comint-redirect-results-list-from-process):
8753 Fix infinite loop.
aed838b5 8754
d80a808f
LMI
87552013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8756
8757 * net/eww.el (eww-update-header-line-format): Quote % characters.
8758
e7a526e3
GM
87592013-06-21 Glenn Morris <rgm@gnu.org>
8760
8761 * play/cookie1.el (cookie): New custom group.
8762 (cookie-file): New option.
8763 (cookie-check-file): New function.
8764 (cookie): Make it interactive. Make start and end messages optional.
8765 Interactively, display the result. Default to cookie-file.
8766 (cookie-insert): Default to cookie-file.
8767 (cookie-snarf): Make start and end messages optional.
8768 Default to cookie-file. Use with-temp-buffer.
8769 (cookie-read): Rename from read-cookie.
8770 Make start and end messages optional. Default to cookie-file.
8771 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 8772 Do not autoload it.
e7a526e3
GM
8773 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8774 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8775
62efb35e
LL
87762013-06-21 Leo Liu <sdl.web@gmail.com>
8777
8778 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8779
21e3f963
GM
87802013-06-21 Glenn Morris <rgm@gnu.org>
8781
8782 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8783
fd846ab4
SM
87842013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8785 Daniel Hackney <dan@haxney.org>
8786
8787 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8788 Consolidate the single-file vs tarball code.
8789 (package-desc-suffix): New function.
8790 (package-desc-full-name): Don't bother inlining it.
8791 (package-load-descriptor): Return the new package-desc.
8792 (package-mark-obsolete): Remove unused arg `package'.
8793 (package-unpack): Make it work for single files as well.
8794 Make it update package-alist.
8795 (package--make-autoloads-and-stuff): Rename from
8796 package--make-autoloads-and-compile. Don't compile any more.
8797 (package--compile): New function.
8798 (package-generate-description-file): New function, extracted from
8799 package-unpack-single.
8800 (package-unpack-single): Remove.
8801 (package--with-work-buffer): Add indentation and debugging info.
8802 (package-download-single): Remove.
8803 (package-install-from-archive): Rename from package-download-tar, make
8804 it take a pkg-desc, and make it work for single files as well.
8805 (package-download-transaction): Simplify.
8806 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8807 external tar program.
8808 (package-install-from-buffer): Remove `pkg-desc' argument.
8809 Use package-tar-file-info for tar-mode buffers.
8810 (package-install-file): Simplify accordingly.
8811 (package-archive-base): Change to take a pkg-desc.
8812 * tar-mode.el (tar--check-descriptor): New function, extracted from
8813 tar-get-descriptor.
8814 (tar-get-descriptor): Use it.
8815 (tar-get-file-descriptor): New function.
8816 (tar--extract): New function, extracted from tar-extract.
8817 (tar--extract): Use it.
8818 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8819 case the summary uses non-ascii. Adjust to new calling convention of
8820 package-tar-file-info.
8821
b7deae5e
LL
88222013-06-21 Leo Liu <sdl.web@gmail.com>
8823
fd846ab4
SM
8824 * comint.el (comint-redirect-results-list-from-process):
8825 Fix random delay. (Bug#14681)
b7deae5e 8826
7a65a0b2
JB
88272013-06-21 Juanma Barranquero <lekktu@gmail.com>
8828
8829 * profiler.el (profiler-format-number): Use log, not log10.
8830
1493c2af
JB
88312013-06-20 Juanma Barranquero <lekktu@gmail.com>
8832
8833 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8834
aff6371e
SM
88352013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8836
8837 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8838 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8839 yet available.
8840 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8841 (AUTOGENEL): ... here.
8842 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8843 (cl--defsubst-expand): Use it.
8844
89561f72
PE
88452013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8846
8847 * subr.el (log10): Move here from C code, and declare as obsolete.
8848 All uses of (log10 X) replaced with (log X 10).
8849
47199123
JB
88502013-06-20 Juanma Barranquero <lekktu@gmail.com>
8851
8852 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8853 Declare with `defvar-local'.
8854 (tabulated-list-use-header-line, tabulated-list-entries)
8855 (tabulated-list-padding, tabulated-list-printer)
8856 (tabulated-list-sort-key): Declare with `defvar-local'.
8857 (tabulated-list-init-header, tabulated-list-print-fake-header):
8858 Use `setq-local'.
8859
4a172eab
MA
88602013-06-20 Michael Albinus <michael.albinus@gmx.de>
8861
47199123
JB
8862 * arc-mode.el (archive-mode): Add `archive-write-file' to
8863 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 8864
5fc0acc0
JB
88652013-06-20 Juanma Barranquero <lekktu@gmail.com>
8866
d5b27848
JB
8867 * cus-edit.el (custom-commands): Fix typos.
8868 (custom-display): Fix tooltip text.
8869 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8870 Fix typos in docstrings.
8871 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8872 (custom-unlispify-menu-entry, custom-magic-value-create)
8873 (custom-add-see-also, custom-group-value-create): Use ?\s.
8874 (custom-guess-type, customize-apropos, editable-field)
8875 (custom-face-value-create): Use `string-match-p'.
8876 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8877
8878 * custom.el (custom-load-symbol): Use `string-match-p'.
8879
a5c581d8
JB
8880 * ansi-color.el: Convert to lexical binding.
8881 (ansi-colors): Fix URL.
8882 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8883 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8884 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8885
970ad972
G
88862013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8887
8888 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8889
8890 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8891
88922013-06-19 Tom Tromey <tromey@redhat.com>
8893
8894 * net/eww.el (eww-top-url): Remove.
8895 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8896 (eww-render): Set new variables. Don't set eww-top-url.
8897 (eww-handle-link): Handle "prev", "home", and "contents".
8898 Downcase the rel text.
8899 (eww-top-url): Choose best top URL.
8900
89012013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8902
8903 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8904 relying in widget.el. Using widget.el leads to too many
8905 user interface inconsistencies.
8906 (eww-self-insert): Implement entering commands in text fields.
8907 (eww-process-text-input): New function to make text input field editing
8908 work.
8909 (eww-submit): Rewrite to use the new-style form methods.
8910 (eww-select-display): Display the correct selected item.
8911 (eww-change-select): Implement changing the select value.
8912 (eww-toggle-checkbox): Implement radio/checkboxes.
8913 (eww-update-field): Fix compilation error.
8914 (eww-tag-textarea): Implement <textarea>.
8915
8916 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8917 we don't shadow mode-specific bindings.
8918
8919 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8920 nothing to push.
8921
8922 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8923
4582a01c 89242013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
8925
8926 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8927
15b263dc
MA
89282013-06-19 Michael Albinus <michael.albinus@gmx.de>
8929
8930 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8931 not needed.
8932
8933 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8934
8f5297f7
LMI
89352013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8936
8937 * net/browse-url.el (browse-url-browser-function):
8938 `eww-browse-url' has the right calling signature, `eww' does not.
8939
011c4552
GM
89402013-06-19 Glenn Morris <rgm@gnu.org>
8941
2285bd27
GM
8942 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8943 Only eval autoloaded macros.
8944 (byte-compile-autoload): Only give the macro warning for macros.
8945
1d653303
GM
8946 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8947 (ps-underlined-faces): Declare.
8948
bdd779ec
GM
8949 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8950 (speedbar-add-supported-extension): Declare.
8951
011c4552
GM
8952 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8953 Don't include a date stamp in the header of the generated file;
8954 it leads to needless differences between output files.
8955
e59dfb0e
MA
89562013-06-19 Michael Albinus <michael.albinus@gmx.de>
8957
c763842b
SM
8958 * net/secrets.el (secrets-struct-secret-content-type):
8959 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 8960 Some servers do not offer introspection.
e59dfb0e 8961
102626e2
SM
89622013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8963
8964 * electric.el (electric-pair-mode): Improve interaction with
8965 electric-layout-mode.
8966 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8967 (electric-pair-syntax): Use text-mode-syntax-table in comments
8968 and strings.
8969 (electric-pair--insert): New function.
8970 (electric-pair-post-self-insert-function): Use it and
8971 electric--after-char-pos.
8972
ad528125
LL
89732013-06-19 Leo Liu <sdl.web@gmail.com>
8974
8975 * progmodes/octave.el (octave-help): Fix regexp.
8976
924d6997
G
89772013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8978
8979 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8980 (shr-table-horizontal-line): Allow nil as a value, and change the
8981 default.
8982 (shr-insert-table-ruler): Respect the nil value.
8983
89842013-06-18 Tom Tromey <tromey@barimba>
8985
8986 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8987 New defvars.
8988 (eww-open-file): New defun.
8989 (eww-render): Initialize new variables.
8990 (eww-display-html): Handle "link" and "a".
8991 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8992 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8993 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
8994 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8995 New defuns.
924d6997 8996
d1bbba4f
DG
89972013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8998
8999 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9000 Distinguish ternary operator tokens from slash symbol and slash
9001 char literal.
9002
14dd22d2
JB
90032013-06-18 Juanma Barranquero <lekktu@gmail.com>
9004
9005 Convert symbol prettification into minor mode and global minor mode.
9006
9007 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9008 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9009 (prettify-symbols--keywords): Rename from
9010 `prog-prettify-symbols-alist' and make a local defvar.
9011 (prettify-symbols--compose-symbol): Rename from
9012 `prog--prettify-font-lock-compose-symbol'.
9013 (prettify-symbols--make-keywords): Rename from
9014 `prog-prettify-font-lock-symbols-keywords' and simplify.
9015 (prog-prettify-install): Remove.
9016 (prettify-symbols-mode): New minor mode, based on
9017 `prog-prettify-install'.
9018 (turn-on-prettify-symbols-mode): New function.
9019 (global-prettify-symbols-mode): New globalized minor mode.
9020
9021 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9022 * progmodes/cfengine.el (cfengine3-mode):
9023 * progmodes/perl-mode.el (perl-mode): Don't call
9024 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9025
292c880c
JL
90262013-06-18 Juri Linkov <juri@jurta.org>
9027
9028 * files-x.el (modify-file-local-variable-message): New function.
9029 (modify-file-local-variable)
9030 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9031 and call `modify-file-local-variable-message' when it's non-nil.
9032 (add-file-local-variable, delete-file-local-variable)
9033 (add-file-local-variable-prop-line)
9034 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9035 and use it. (Bug#9820)
9036
0950aa27
JL
90372013-06-18 Juri Linkov <juri@jurta.org>
9038
9039 * emulation/vi.el (vi-shell-op):
9040 * emulation/vip.el (vip-execute-com, ex-command):
9041 * emulation/viper-cmd.el (viper-exec-bang):
9042 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9043 the call of `shell-command-on-region'. (Bug#14637)
9044
9045 * simple.el (shell-command-on-region): Doc fix.
9046
8fbcca16
SM
90472013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9048
9049 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9050 (bug#14633).
9051
dd7426ea
GM
90522013-06-18 Glenn Morris <rgm@gnu.org>
9053
4ba54f7d
GM
9054 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9055
dd7426ea
GM
9056 * newcomment.el (comment-search-forward, comment-search-backward):
9057 Doc fix. (Bug#14376)
9058
58aa805b
JB
90592013-06-18 Juanma Barranquero <lekktu@gmail.com>
9060
9061 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9062 (buffer-face-mode-invoke): Doc fix.
9063
9a08a617
MM
90642013-06-18 Matthias Meulien <orontee@gmail.com>
9065
9066 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 9067 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 9068
f2f426ca
GM
90692013-06-18 Glenn Morris <rgm@gnu.org>
9070
9445f99b
GM
9071 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9072 Replace obsolete function generic-make-keywords with its expansion.
9073
e0df2d14
GM
9074 * progmodes/python.el (ffap-alist): Declare.
9075
f2f426ca
GM
9076 * textmodes/reftex.el (bibtex-mode-map): Declare.
9077
f7f9a720
SM
90782013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9079
9080 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9081 (package-unpack, package-unpack-single): Return the pkg-dir.
9082 (package-download-transaction): Use it to update package-alist.
9083
57ff04e0
LMI
90842013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9085
9086 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9087 possible choice.
9088
c048c022
JL
90892013-06-17 Juri Linkov <juri@jurta.org>
9090
9091 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9092
b5bcaee5
DG
90932013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9094
a020afb9
JB
9095 * emacs-lisp/package.el (package-load-descriptor):
9096 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
9097 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9098
551e07e5
JB
90992013-06-17 Juanma Barranquero <lekktu@gmail.com>
9100
9101 * startup.el (command-line): Expand package name returned by
9102 `package--description-file' (bug#14639).
9103
d363bffb
DG
91042013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9105
9106 * emacs-lisp/package.el (package-load-descriptor): Do not call
9107 `emacs-lisp-mode', just use its syntax table.
9108
f612933b
JB
91092013-06-17 Juanma Barranquero <lekktu@gmail.com>
9110
9111 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9112 `font-lock-extra-managed-props' if any prettifying keyword is added.
9113 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9114 (prog-mode): Use `setq-local'.
9115
db3b7db5
SM
91162013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9117
9118 * international/characters.el (standard-case-table): Set syntax of ?»
9119 and ?« to punctuation.
9120
f3d674df
JB
91212013-06-16 Juanma Barranquero <lekktu@gmail.com>
9122
9123 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9124 Save relevant match data before calling `syntax-ppss' (bug#14595).
9125
31489a32
JL
91262013-06-15 Juri Linkov <juri@jurta.org>
9127
9128 * files-x.el (modify-file-local-variable-prop-line): Add local
9129 variables to the end of the existing comment on the first line.
9130 Use `file-auto-mode-skip' to skip interpreter magic line,
9131 and also skip XML declaration.
9132
66bd25ab
SM
91332013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9134
9135 * startup.el (package--builtin-versions): New var.
9136 (package-subdirectory-regexp): Remove.
9137 (package--description-file): Hard code its value instead.
9138
9139 * emacs-lisp/package.el: Don't activate packages older than builtin.
9140 (package-obsolete-list): Rename from package-obsolete-alist, and make
9141 it into a simple list of package-desc.
9142 (package-strip-version): Remove.
9143 (package-built-in-p): Use package--builtin-versions.
9144 (package-mark-obsolete): Simplify.
9145 (package-process-define-package): Mark it obsolete if older than the
9146 builtin version.
9147 (package-handle-response): Use line-end-position.
9148 (package-read-archive-contents, package--download-one-archive):
9149 Simplify.
9150 (package--add-to-archive-contents): Skip if older than the builtin or
9151 installed version.
9152 (package-menu-describe-package): Fix last change.
9153 (package-list-unversioned): New var.
9154 (package-menu--generate): Use it.
9155
9156 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9157 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9158 (autoload-builtin-package-versions): New variable.
9159 (autoload-generate-file-autoloads): Use them.
9160 Remove the list of autoloaded functions/macros from the
9161 (autoload...) comments.
9162
9163 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9164
9583ec36
EZ
91652013-06-15 Eli Zaretskii <eliz@gnu.org>
9166
9167 * simple.el (line-move-partial): Don't jump to the next screen
9168 line as soon as it becomes visible. Instead, continue enlarging
9169 the vscroll until the portion of a tall screen line that's left on
9170 display is about the height of the frame's default font.
9171 (Bug#14567)
9172
f0100d8a
GM
91732013-06-15 Glenn Morris <rgm@gnu.org>
9174
b86a85ca
GM
9175 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9176 compilation-error-regexp-alist void, or local while let-bound.
9177
f0100d8a
GM
9178 * progmodes/make-mode.el (makefile-mode-syntax-table):
9179 Treat "=" as punctuation. (Bug#14614)
9180
05e7ce90
JB
91812013-06-15 Juanma Barranquero <lekktu@gmail.com>
9182
9183 * help-fns.el (describe-variable):
9184 Add extra line for permanent-local variables.
9185
12e5e86e
SH
91862013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9187
9188 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9189 Add export, import, library. (Bug#9164)
9190 (library): Set indent function.
9191
230dcbaf
GM
91922013-06-14 Glenn Morris <rgm@gnu.org>
9193
9194 * term/xterm.el (xterm--query):
9195 Stop after first matching handler. (Bug#14615)
9196
e36b2d20 91972013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
9198
9199 Add support for dired in saveplace.
9200 * dired.el (dired-initial-position-hook): New variable.
9201 (dired-initial-position): Call hook to place cursor position.
9202 * saveplace.el (save-place-to-alist): Add dired position.
9203 (save-place-dired-hook): New function.
9204
0b31660d
SM
92052013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9206
bf1e6ae8
SM
9207 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9208 through a symbol rather than letrec.
9209
1b8dff23
SM
9210 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9211 (package-desc): Add `dir' field.
9212 (package-desc-full-name): New function.
9213 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9214 (package-maybe-load-descriptor): Remove.
9215 (package-load-all-descriptors): Just call package-load-descriptor.
9216 (package--disabled-p): New function.
9217 (package-desc-vers, package-desc-doc): Remove aliases.
9218 (package--dir): Remove function.
9219 (package-activate): Check if a package is disabled.
9220 (package-process-define-package): New function, extracted from
9221 define-package.
9222 (define-package): Turn into a place holder.
9223 (package-unpack-single, package-tar-file-info):
9224 Use package--description-file.
9225 (package-compute-transaction): Use package--disabled-p.
9226 (package-download-transaction): Don't call
9227 package-maybe-load-descriptor since they're all loaded anyway.
9228 (package-install): Change argument to be a pkg-desc.
9229 (package-delete): Use a single pkg-desc argument.
9230 (describe-package-1): Use package-desc-dir instead of package--dir.
9231 Use package-desc property instead of package-symbol.
9232 (package-install-button-action): Adjust accordingly.
9233 (package--push): Rewrite.
9234 (package-menu--print-info): Adjust accordingly. Change the ID format
9235 to be a pkg-desc.
9236 (package-menu-describe-package, package-menu-get-status)
9237 (package-menu--find-upgrades, package-menu-mark-upgrades)
9238 (package-menu-execute, package-menu--name-predicate):
9239 Adjust accordingly.
9240 * startup.el (package--description-file): New function.
9241 (command-line): Use it.
9242 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9243 Use package-desc-version.
9244
0b31660d
SM
9245 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9246 (byte-compile-preprocess): Use it.
9247 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9248 can't quite recognize.
9249 (byte-compile-add-to-list): Remove.
9250 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9251 (cconv-closure-convert): Add assertion.
9252
9253 * emacs-lisp/map-ynp.el: Use lexical-binding.
9254 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9255 Factor out some repeated code.
9256
de0503df
SM
92572013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9258
9259 * subr.el (with-eval-after-load): New macro.
9260 (eval-after-load): Allow form to be a function.
9261 take advantage of lexical-binding.
9262 (do-after-load-evaluation): Use dolist and adjust to new format.
9263 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9264
bc5c8c5a
JL
92652013-06-13 Juri Linkov <juri@jurta.org>
9266
9267 * replace.el (perform-replace): Display "symbol " and other search
9268 modes from `isearch-message-prefix' in the *Help* buffer.
9269
9270 * isearch.el (isearch-query-replace): Add " symbol" and other
9271 possible search modes from `isearch-message-prefix' to the prompt.
9272 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9273 when reading a regexp to collect.
9274
a22289f7
JL
92752013-06-13 Juri Linkov <juri@jurta.org>
9276
9277 * isearch.el (word-search-regexp): Match whitespace if the search
9278 string begins or ends in whitespace. The LAX arg is applied to
9279 both ends of the search string. Use `regexp-quote' and explicit
9280 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9281 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9282 boundaries are replaced with symbol boundaries, and characters
9283 between symbols match non-word non-symbol syntax. (Bug#14602)
9284
cb89acab
JL
92852013-06-13 Juri Linkov <juri@jurta.org>
9286
9287 * isearch.el (isearch-del-char): Don't exceed the length of
9288 `isearch-string' by the prefix arg. (Bug#14563)
9289
6e8cfc81
JL
92902013-06-13 Juri Linkov <juri@jurta.org>
9291
9292 * isearch.el (isearch-yank-word, isearch-yank-line)
9293 (isearch-char-by-name, isearch-quote-char)
9294 (isearch-printing-char, isearch-process-search-char):
9295 Add optional count prefix arg. (Bug#14563)
9296
9297 * international/isearch-x.el
9298 (isearch-process-search-multibyte-characters):
9299 Add optional count prefix arg.
9300
c23d55f4
VS
93012013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9302
9303 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9304 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9305 lexical-binding.
9306
93072013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9308
9309 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9310
ba947bc4
GM
93112013-06-13 Glenn Morris <rgm@gnu.org>
9312
8baeb37a
GM
9313 * startup.el (tty-handle-args):
9314 Don't just discard "--" and anything after. (Bug#14608)
9315
ba947bc4
GM
9316 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9317
9abefce4
MA
93182013-06-13 Michael Albinus <michael.albinus@gmx.de>
9319
9320 Implement changes in Secret Service API. Make it backward compatible.
9321 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9322 (secrets-create-item): Use it. Prefix properties with interface.
9323
5755011f
MH
93242013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9325
9326 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9327 (term-emulate-terminal): Respect term-suppress-hard-newline.
9328
1261d2da
S
93292013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9330
9331 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9332 Only remove a `thumb-file' overlay. (Bug#14548)
9333
868490bb
GJ
93342013-06-12 Grégoire Jadi <daimrod@gmail.com>
9335
9336 * mail/reporter.el (reporter-submit-bug-report):
9337 Handle missing package-name. (Bug#14600)
9338
79d7167f
TH
93392013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9340
9341 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9342 (reftex-citation-prompt, reftex-default-bibliography)
9343 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9344 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9345 (reftex-bib-sort-author, reftex-bib-sort-year)
9346 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9347 (reftex-extract-bib-entries-from-thebibliography)
9348 (reftex-get-bibkey-default, reftex-get-bib-names)
9349 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9350 (reftex-format-bib-entry, reftex-parse-bibitem)
9351 (reftex-format-bibitem, reftex-do-citation)
9352 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9353 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9354 (reftex-insert-bib-matches, reftex-format-citation)
9355 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9356 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9357 existing comments into docstrings.
9358
5f9dbd7a
XF
93592013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9360
9361 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9362
94df41ab
AS
93632013-06-12 Andreas Schwab <schwab@suse.de>
9364
9365 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9366 for auto-save files.
9367
a7f3fecc
GM
93682013-06-12 Glenn Morris <rgm@gnu.org>
9369
001809f6
GM
9370 * ido.el (ido-delete-ignored-files): Remove.
9371 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9372 Go back to calling ido-ignore-item-p directly.
a7f3fecc 9373
834b5ded
EL
93742013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9375
08c73ed2
EL
9376 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9377
834b5ded
EL
9378 * ido.el (ido-delete-ignored-files): New function,
9379 split from ido-make-file-list-1.
9380 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9381 (ido-make-file-list-1): Use ido-delete-ignored-files.
9382
daabf15a
LL
93832013-06-12 Leo Liu <sdl.web@gmail.com>
9384
9385 * progmodes/octave.el (inferior-octave-startup)
9386 (inferior-octave-completion-table)
9387 (inferior-octave-track-window-width-change)
9388 (octave-eldoc-function-signatures, octave-help)
9389 (octave-find-definition): Use single quoted strings.
9390 (inferior-octave-startup-args): Change default value.
9391 (inferior-octave-startup): Do not hard code "-i" and
9392 "--no-line-editing".
9393 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9394 (inferior-octave-directory-tracker): Use it.
9395 (octave-goto-function-definition): Robustify.
9396 (octave-help): Support highlighting operators in 'See also'.
9397 (octave-find-definition): Find subfunctions only in Octave mode.
9398
cf4e5178
SM
93992013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9400
9401 * help-fns.el (help-fns--compiler-macro): If the handler function is
9402 named, then put a link to it.
9403 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9404 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9405 (cl-typep): Use it.
9406 (cl-eval-when): Simplify debug spec.
9407 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9408 compiler-macro function instead of setting `compiler-macro-file'.
9409
99c81280 94102013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
9411
9412 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9413 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9414
f56be016
SM
94152013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9416 Daniel Hackney <dan@haxney.org>
9417
9418 First part of Daniel Hackney's patch to package.el.
9419 * emacs-lisp/package.el: Use defstruct.
9420 (package-desc): New, main struct.
9421 (package--bi-desc, package--ac-desc): New structs, used to describe the
9422 format in external files.
9423 (package-desc-vers): Replace with package-desc-version accessor.
9424 (package-desc-doc): Replace with package-desc-summary accessor.
9425 (package-activate-1): Remove `package' arg since the pkg-vec now
9426 includes the name.
9427 (define-package): Use package-desc-from-define.
9428 (package-unpack-single): Change file-name arg to be a symbol.
9429 (package--add-to-archive-contents): Use package-desc-create and new
9430 accessor functions to package--ac-desc.
9431 (package-buffer-info, package-tar-file-info): Return a package-desc.
9432 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9433 arg to be a package-desc.
9434 (package-install-file): Adjust accordingly. Use \' to match EOS.
9435 (package--from-builtin): New function.
9436 (describe-package-1, package-menu--generate): Use it.
9437 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9438 (package-generate-autoloads): Idem and return the name of the file.
9439 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9440 Change pkg-info arg to be a package-desc.
9441 Use package-make-ac-desc.
9442 (package-upload-file): Use \' to match EOS.
9443 * finder.el (finder-compile-keywords): Use package-make-builtin.
9444
31119d63
SM
94452013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9446
931a2762
SM
9447 * vc/vc.el (vc-deduce-fileset): Change error message.
9448 (vc-read-backend): New function.
9449 (vc-next-action): Use it.
9450
5a3eb0c6
SM
9451 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9452
e3eb1bb7
SM
9453 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9454 (prolog-font-lock-keywords): Use regexp-opt instead.
9455 Don't manually highlight strings.
9456 (prolog-mode-variables): Simplify comment-start-skip.
9457 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9458
31119d63
SM
9459 * emacs-lisp/generic.el (generic--normalise-comments)
9460 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9461 (generic-mode-set-comments): Use them.
9462 (generic-bracket-support): Use setq-local.
9463 (generic-make-keywords-list): Declare obsolete.
9464
7de135d0
GM
94652013-06-11 Glenn Morris <rgm@gnu.org>
9466
9467 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9468 Prettify after setting font-lock-defaults. (Bug#14574)
9469
fa6bc6fd
JB
94702013-06-11 Juanma Barranquero <lekktu@gmail.com>
9471
9472 * replace.el (query-replace, occur-read-regexp-defaults-function)
9473 (replace-search):
9474 * subr.el (declare-function, number-sequence, local-set-key)
9475 (substitute-key-definition, locate-user-emacs-file)
9476 (with-silent-modifications, split-string, eval-after-load):
9477 Fix typos, remove unneeded backslashes and reflow some docstrings.
9478
cf1f9b9a
SM
94792013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9480
9481 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9482 default for Elisp files.
9483
56602a4b
GM
94842013-06-11 Glenn Morris <rgm@gnu.org>
9485
9486 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9487 although define-derived-mode was doing this anyway. (Bug#14583)
9488
30ae0b2c
JB
94892013-06-10 Juanma Barranquero <lekktu@gmail.com>
9490
9491 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9492 Fix make-variable-buffer-local call to refer to the correct variable.
9493
fa472906
AG
94942013-06-10 Aidan Gauland <aidalgol@amuri.net>
9495
9496 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
9497 (eshell-visual-subcommands, eshell-visual-options):
9498 Add summary line to docstrings. Add cross-references.
fa472906 9499
ff4871b9
GM
95002013-06-10 Glenn Morris <rgm@gnu.org>
9501
9502 * epa.el (epa-read-file-name): New function. (Bug#14510)
9503 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9504
04fcf1b0
AG
95052013-06-09 Aidan Gauland <aidalgol@amuri.net>
9506
9507 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9508 output redirection to be ignored with visual commands.
9509
88b00caa
AG
95102013-06-09 Aidan Gauland <aidalgol@amuri.net>
9511
9512 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
9513 (eshell-term-initialize): Move long lambda to separate function
9514 eshell-visual-command-p.
e7b41c4c
JB
9515 * eshell/em-dirs.el (eshell-dirs-initialise):
9516 * eshell/em-script.el (eshell-script-initialize):
9517 Add missing #' to lambda.
88b00caa 9518
fda74125
LL
95192013-06-08 Leo Liu <sdl.web@gmail.com>
9520
9521 * progmodes/octave.el (octave-add-log-current-defun): New function.
9522 (octave-mode): Set add-log-current-defun-function.
9523 (octave-goto-function-definition): Do not move point if not found.
9524 (octave-find-definition): Enhance to try subfunctions first.
9525
467f3b33
GM
95262013-06-08 Glenn Morris <rgm@gnu.org>
9527
9528 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9529 (byte-compile-backward-char, byte-compile-backward-word):
9530 Improve previous change, to handle non-explicit nil.
9531
544badc3
SM
95322013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9533
9534 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9535 (smie--opener/closer-at-point): New function.
9536 (smie--matching-block-data): Use it. Don't match from right after an
9537 opener or right before a closer. Obey smie-blink-matching-inners.
9538 Don't signal a mismatch for repeated inners like "switch..case..case".
9539
a175bf33
LL
95402013-06-07 Leo Liu <sdl.web@gmail.com>
9541
9542 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9543 to t. (Bug#14303)
ce8209d4
LL
9544 (octave-function-header-regexp): Fix. (Bug#14570)
9545 (octave-help-mode-finish-hook, octave-help-mode-finish):
9546 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
9547
9548 * newcomment.el (comment-search-backward): Revert last change.
9549 (Bug#14434)
9550
9551 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9552
a822acff
EZ
95532013-06-07 Eli Zaretskii <eliz@gnu.org>
9554
9555 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9556 through xargs, to avoid failure due to MS-Windows limitations on
9557 command-line length.
9558
961166f5
GM
95592013-06-06 Glenn Morris <rgm@gnu.org>
9560
d0341459
GM
9561 * font-lock.el (lisp-font-lock-keywords-2):
9562 Treat user-error like error.
9563
961166f5
GM
9564 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9565 (byte-compile-backward-char, byte-compile-backward-word):
9566 Handle explicit nil arguments. (Bug#14565)
9567
80fa505f
AM
95682013-06-05 Alan Mackenzie <acm@muc.de>
9569
9570 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 9571 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 9572 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 9573 (Bug#9706)
80fa505f 9574
fccdc796
SM
95752013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9576
9577 * autorevert.el (auto-revert-notify-handler): Use memq.
9578 Hide assertion failure.
9579
9580 * skeleton.el: Use cl-lib.
9581 (skeleton-further-elements): Use defvar-local.
9582 (skeleton-insert): Use cl-progv.
9583
9bfff84b
TZ
95842013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9585
9586 * progmodes/prog-mode.el (prog-prettify-symbols)
9587 (prog-prettify-install): Update docstrings.
9588
55577e7c
SM
95892013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9590
9591 * simple.el: Move all the prog-mode code to prog-mode.el.
9592 * progmodes/prog-mode.el: New file.
9593 * loadup.el: Add prog-mode.el.
9594
8fc57765
TZ
95952013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9596
9597 * simple.el (prog-prettify-symbols): Add version.
9598 (prog-prettify-install): Add convenience function to prettify symbols.
9599
9600 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9601 (perl--augmented-font-lock-keywords-1)
9602 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9603 variables and use it.
9604
9605 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9606 (cfengine3-mode): Remove unneeded variable and use it.
9607
9608 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9609 (lisp--augmented-font-lock-keywords-1)
9610 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9611 Remove unneeded variables and use it.
9612
650645d5 96132013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
9614
9615 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 9616 to point when opening the connection. (Bug#14380)
28f5da6d 9617
781b4af6
SM
96182013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9619
9620 * subr.el (load-history-regexp, load-history-filename-element)
9621 (eval-after-load, after-load-functions, do-after-load-evaluation)
9622 (eval-next-after-load, display-delayed-warnings)
9623 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9624 definition of save-match-data.
9625 (overriding-local-map): Remove accidental obsolescence declaration.
9626
9627 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9628
3ca0d0b4
TZ
96292013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9630
9631 Generalize symbol prettify support to prog-mode and implement it
9632 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9633 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9634 (prog--prettify-font-lock-compose-symbol)
9635 (prog-prettify-font-lock-symbols-keywords): New variables and
9636 functions to support symbol prettification.
9637 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9638 (lisp--augmented-font-lock-keywords-1)
9639 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9640 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9641 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
9642 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9643 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
9644 * progmodes/perl-mode.el (perl-prettify-symbols)
9645 (perl--font-lock-compose-symbol)
9646 (perl--font-lock-symbols-keywords): Move to prog-mode.
9647 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9648 (perl-font-lock-keywords-1)
9649 (perl-font-lock-keywords-2): Remove explicit prettify support.
9650 (perl--augmented-font-lock-keywords)
9651 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
9652 (perl--augmented-font-lock-keywords-2, perl-mode):
9653 Implement prettify support.
3ca0d0b4 9654
976cb066
LL
96552013-06-05 Leo Liu <sdl.web@gmail.com>
9656
9657 Re-implement smie matching block highlight using
9658 show-paren-data-function. (Bug#14395)
9659 * emacs-lisp/smie.el (smie-matching-block-highlight)
9660 (smie--highlight-matching-block-overlay)
9661 (smie--highlight-matching-block-lastpos)
9662 (smie-highlight-matching-block)
9663 (smie-highlight-matching-block-mode): Remove.
9664 (smie--matching-block-data-cache): New variable.
9665 (smie--matching-block-data): New function.
9666 (smie-setup): Use smie--matching-block-data for
9667 show-paren-data-function.
9668
9669 * progmodes/octave.el (octave-mode-menu): Fix.
9670 (octave-find-definition): Skip garbage lines.
9671
208d0342
SM
96722013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9673
9674 Fix compilation error with simultaneous dynamic+lexical scoping.
9675 Add warning when a defvar appears after the first let-binding.
9676 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9677 (byte-compile-close-variables): Initialize it.
9678 (byte-compile--declare-var): New function.
9679 (byte-compile-file-form-defvar)
9680 (byte-compile-file-form-define-abbrev-table)
9681 (byte-compile-file-form-custom-declare-variable): Use it.
9682 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9683 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9684 (byte-compile-bind): Handle dynamic bindings that shadow
9685 lexical bindings.
9686 (byte-compile-unbind): Make arg non-optional.
9687 (byte-compile-let): Simplify.
9688 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9689 (cconv--analyse-function, cconv-analyse-form): Populate it.
9690 Protect byte-compile-bound-variables to limit the scope of defvars.
9691 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9692 Remove unneeded rule for `declare'.
9693
9694 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9695 so as to avoid depending on cl-adjoin at run-time.
9696 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9697
9698 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9699 (macroexp--warn-and-return): Use it.
9700
1ac2891e
GM
97012013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9702
a12bf61e 9703 * subr.el: Convert to lexical binding.
1ac2891e
GM
9704 (overriding-local-map): Make obsolete.
9705 (add-to-list): Doc fix. Add compiler macro.
9706 (read-key): Swap values of local maps.
9707
2587b005
LL
97082013-06-05 Leo Liu <sdl.web@gmail.com>
9709
9710 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9711
f1da3c88
LL
97122013-06-04 Leo Liu <sdl.web@gmail.com>
9713
9714 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9715 (compilation-auto-jump): Suppress the "Mark set" message to give
9716 way to exit message.
9717
3caa391f
AM
97182013-06-04 Alan Mackenzie <acm@muc.de>
9719
9720 Remove faulty optimisation from indentation calculation.
9721 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9722 search limit based on 2000 characters back from indent-point.
9723
068922a2
TH
97242013-06-03 Tassilo Horn <tsdh@gnu.org>
9725
9726 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9727
1f8fdd53
SM
97282013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9729
bbcc4d97
SM
9730 * emacs-lisp/lisp.el: Use lexical-binding.
9731 (lisp--local-variables-1, lisp--local-variables): New functions.
9732 (lisp--local-variables-completion-table): New var.
208d0342 9733 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 9734
1f8fdd53
SM
9735 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9736 eagerly (bug#14422).
9737
c9628c79
MA
97382013-06-03 Michael Albinus <michael.albinus@gmx.de>
9739
9740 * autorevert.el (auto-revert-notify-enabled)
9741 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9742 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9743 (auto-revert-notify-handler): Handle also gfilenotify.
9744
e7b41c4c 9745 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 9746 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 9747 Remove.
c9628c79 9748
e5e4a942
JL
97492013-06-03 Juri Linkov <juri@jurta.org>
9750
9751 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9752 `M-s h .'. (Bug#14427)
9753
9754 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9755 command `hi-lock-face-symbol-at-point'.
9756 (hi-lock-face-symbol-at-point): New command.
9757 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9758 (hi-lock-menu): Add `highlight-symbol-at-point'.
9759 (hi-lock-mode): Doc fix.
9760
9761 * isearch.el (isearch-forward-symbol-at-point): New command.
9762 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9763 (isearch-highlight-regexp): Add a regexp which matches
9764 words/symbols for word/symbol mode.
9765
9766 * subr.el (find-tag-default-bounds): New function with the body
9767 mostly moved from `find-tag-default'.
9768 (find-tag-default): Move most code to `find-tag-default-bounds',
9769 call it and apply `buffer-substring-no-properties' afterwards.
9770
26b3353a
TH
97712013-06-03 Tassilo Horn <tsdh@gnu.org>
9772
781b4af6
SM
9773 * eshell/em-term.el (eshell-term-initialize):
9774 Use `cl-intersection' rather than `intersection'.
26b3353a 9775
51b60f53
XF
97762013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9777
fe054b63 9778 * vc/log-view.el: Doc fix.
d3ffe17c 9779 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 9780
a0eb10b3 97812013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
9782
9783 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9784 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9785 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9786 (eieio-unbound, eieio-default-superclass)
9787 (eieio--define-field-accessors, method-static, method-before)
9788 (method-primary, method-after, method-num-lists)
9789 (method-generic-before, method-generic-primary)
9790 (method-generic-after, method-num-slots)
9791 (eieio-specialized-key-to-generic-key)
9792 (eieio--check-type, class-v, class-p)
9793 (eieio-class-name, define-obsolete-function-alias)
9794 (eieio-class-parents-fast, eieio-class-children-fast)
9795 (same-class-fast-p, class-constructor, generic-p)
9796 (generic-primary-only-p, generic-primary-only-one-p)
9797 (class-option-assoc, class-option, eieio-object-p)
9798 (class-abstract-p, class-method-invocation-order)
9799 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9800 (eieio-class-un-autoload, eieio-defclass)
9801 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9802 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9803 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9804 (eieio-defgeneric-reset-generic-form)
9805 (eieio-defgeneric-form-primary-only)
9806 (eieio-defgeneric-reset-generic-form-primary-only)
9807 (eieio-defgeneric-form-primary-only-one)
9808 (eieio-defgeneric-reset-generic-form-primary-only-one)
9809 (eieio-unbind-method-implementations)
9810 (eieio--defmethod, eieio--typep)
9811 (eieio-perform-slot-validation, eieio-validate-slot-value)
9812 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9813 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9814 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9815 (eieio-slot-name-index, eieio-class-slot-name-index)
9816 (eieio-set-defaults, eieio-initarg-to-attribute)
9817 (eieio-attribute-to-initarg, eieio-c3-candidate)
9818 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9819 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9820 (eieio-class-precedence-list, eieio-generic-call-methodname)
9821 (eieio-generic-call-arglst, eieio-generic-call-key)
9822 (eieio-generic-call-next-method-list)
9823 (eieio-pre-method-execution-functions, eieio-generic-call)
9824 (eieio-generic-call-primary-only, eieiomt-method-list)
9825 (eieiomt-optimizing-obarray, eieiomt-install)
9826 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9827 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 9828 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
9829 (defclass): Remove `eval-and-compile' from macro.
9830 (call-next-method, shared-initialize): Instead of using
9831 `scoped-class' variable, use new eieio--scoped-class, and
9832 eieio--with-scoped-class.
9833 (initialize-instance): Rename local variable 'scoped-class' to
9834 'this-class' to remove ambiguitity from old global.
9835
9836 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9837 eieio.el.
4f405069
JB
9838 (eieio--scoped-class-stack): New variable.
9839 (eieio--scoped-class): New fcn.
890f7890
DE
9840 (eieio--with-scoped-class): New scoping macro.
9841 (eieio-defclass): Use pushnew instead of add-to-list.
9842 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9843 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9844 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9845 `scoped-class' variable, use new eieio--scoped-class, and
9846 eieio--with-scoped-class.
9847
9848 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9849
d105b0e2
TH
98502013-06-02 Tassilo Horn <tsdh@gnu.org>
9851
9852 * eshell/esh-ext.el (eshell-external-command): Pass args to
9853 `eshell-find-interpreter'.
9854 (eshell-find-interpreter): Add new second parameter ARGS.
9855
9856 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 9857 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9858
9859 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 9860 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9861
9862 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9863 (eshell-visual-options): New defcustom.
9864 (eshell-escape-control-x): Adapt docstring.
9865 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9866 `eshell-visual-options' in addition to `eshell-visual-commands'.
9867 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9868
f46305c8 98692013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
9870
9871 * progmodes/python.el (python-indent-block-enders): Add break,
9872 continue and raise keywords.
9873
d870df21
GM
98742013-06-01 Glenn Morris <rgm@gnu.org>
9875
9133b82e
GM
9876 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9877
02c992ec 9878 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
9879 * progmodes/cc-cmds.el (delete-forward-p):
9880 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9881 * progmodes/cc-engine.el (buffer-syntactic-context):
9882 * progmodes/cc-fonts.el (face-property-instance):
9883 * progmodes/cc-mode.el (set-keymap-parents):
9884 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9885 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9886 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
9887 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9888 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 9889
31e7b090
GM
9890 * progmodes/cc-vars.el (other): Emacs has this widget since
9891 at least 21.1, so don't (re)define it.
9892
d870df21
GM
9893 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9894 Replace the obsolete alias pcomplete-arg-quote-list.
9895
c75c93c7
LL
98962013-06-01 Leo Liu <sdl.web@gmail.com>
9897
9898 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9899 punctuation syntax.
9900 (inferior-octave-minimal-columns)
9901 (inferior-octave-last-column-width): New variables.
9902 (inferior-octave-track-window-width-change): New function.
9903 (inferior-octave-mode): Adjust column width so that Octave output,
9904 for example from 'ls', can fit into the window nicely.
9905
973d1e12
DG
99062013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9907
9908 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9909 Highlight expansions inside regexp literals.
9910
0888c286
GM
99112013-05-31 Glenn Morris <rgm@gnu.org>
9912
e26aac1f
GM
9913 * obsolete/sym-comp.el (symbol-complete):
9914 Replace obsolete completion-annotate-function.
9915
0888c286
GM
9916 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9917
19bb8e62
DG
99182013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9919
781b4af6
SM
9920 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9921 New function, checks if point is inside a literal that allows
19bb8e62
DG
9922 expression expansion.
9923 (ruby-syntax-propertize-expansion): Use it.
9924 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9925 around the body.
9926
01dea85f
JL
99272013-05-30 Juri Linkov <juri@jurta.org>
9928
9929 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9930 to "\M-si".
9931 (isearch-invisible): New variable.
9932 (isearch-forward): Doc fix.
9933 (isearch-mode): Set `isearch-invisible'
9934 to the value of `search-invisible'.
9935 (isearch-toggle-case-fold): Doc fix.
9936 (isearch-toggle-invisible): New command.
9937 (isearch-query-replace): Let-bind `search-invisible'
9938 to the value of `isearch-invisible'.
9939 (isearch-search): Use `isearch-invisible' instead of
9940 `search-invisible'. Let-bind `search-invisible'
9941 to the value of `isearch-invisible'. (Bug#11378)
9942
ab1bdce5
JL
99432013-05-30 Juri Linkov <juri@jurta.org>
9944
9945 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9946 call when `query-flag' is nil and `search-invisible' is non-nil.
9947 (Bug#11746)
9948
d6d236e2
GM
99492013-05-30 Glenn Morris <rgm@gnu.org>
9950
8accd027
GM
9951 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9952
2a8bed1c
GM
9953 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9954 (cc-require): Suppress spurious "noruntime" warnings.
9955 (cc-require-when-compile): Use fboundp, for sake of compiler.
9956
d6d236e2
GM
9957 * progmodes/cc-mode.el: Move load of cc-vars before that of
9958 cc-langs (which in turn loads cc-vars), to quieten compiler.
9959
9190b35b
SM
99602013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9961
9962 * paren.el: Simplify the code.
9963 (show-paren-mode): Always start the timer.
9964 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9965 (show-paren--overlay, show-paren--overlay-1): Rename from
9966 show-paren-overlay and show-paren-overlay-1, and initialize to an
9967 overlay rather than to nil.
9968 (show-paren-function): Misc cleanup and simplifications.
9969
4f8d1cf6
SM
99702013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9971
9972 * paren.el (show-paren-data-function): New hook.
9973 (show-paren--default): New function, extracted from show-paren-function.
9974 (show-paren-function): Use show-paren-data-function.
9975
02d844b5
GM
99762013-05-30 Glenn Morris <rgm@gnu.org>
9977
d209d4a9
GM
9978 * ielm.el (ielm-map, ielm-complete-symbol):
9979 Use completion-at-point rather than obsolete functions.
9980 (inferior-emacs-lisp-mode): Doc fix.
9981 Set completion-at-point-functions, rather than
9982 comint-dynamic-complete-functions.
9983
2082faa6
GM
9984 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9985 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9986 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9987
dd8620de
GM
9988 * image.el (image-animated-p): Tweak definition.
9989
ceca95b1
GM
9990 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9991 (rlogin-process-connection-type): Tweak default. Add set-after.
9992 (rlogin-host): Doc fix.
9993 (rlogin): Tweak prompt.
9994 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9995
ee9f1acc
GM
9996 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9997 * progmodes/tcl.el (inferior-tcl-mode-map):
9998 Use completion-at-point rather than obsolete alias.
9999
45ce222e
GM
10000 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10001
02d844b5
GM
10002 * minibuffer.el (read-file-name-completion-ignore-case):
10003 Move before completion--in-region, for eager macro expansion.
10004
ac44d6c1
JL
100052013-05-29 Juri Linkov <juri@jurta.org>
10006
10007 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10008 for total count of matching lines. Add `global-matches' for total
10009 count of matches. Rename `matches' to `lines' for count of
10010 matching lines. Add `matches' for count of matches.
10011 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10012 to `prev-line' for line number of prev match endpt.
10013 Increment `matches' for every match. Print the number of
10014 matching lines in the header.
10015 (occur-context-lines): Rename `lines' to `curr-line'.
10016 Rename `prev-lines' to `prev-line'. (Bug#14017)
10017
3c9c9d38
JL
100182013-05-29 Juri Linkov <juri@jurta.org>
10019
10020 * replace.el (perform-replace): Add `skip-read-only-count',
10021 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10022 Increment them for corresponding conditions and report the number
10023 of skipped occurrences in the final message. (Bug#11746)
10024 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10025 (replace-string, replace-regexp): Doc fix.
10026
33e249a2
SM
100272013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10028
8e399682
SM
10029 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10030
33e249a2 10031 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 10032 prog-mode-map (bug#14504).
33e249a2 10033
f236dd84
LL
100342013-05-29 Leo Liu <sdl.web@gmail.com>
10035
10036 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10037 (octave-help): Small simplification.
10038
10039 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10040 off the highlight first.
10041
3694d13f
GM
100422013-05-29 Glenn Morris <rgm@gnu.org>
10043
03983bdc
GM
10044 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10045 Handle idlwave-last-system-routine-info-cons-cell being nil.
10046
bc74a74a
GM
10047 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10048 (idlwave-write-paths): Simplify via with-temp-buffer.
10049
8b394200
GM
10050 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10051 * emulation/cua-rect.el: Also load cua-base at run time.
10052
3694d13f
GM
10053 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10054 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10055 (cperl-imenu-on-info): Require imenu.
10056
336d7284
AM
100572013-05-28 Alan Mackenzie <acm@muc.de>
10058
10059 Handle "capitalised keywords" correctly.
33e249a2 10060 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 10061
cb29c582
AG
100622013-05-28 Aidan Gauland <aidalgol@amuri.net>
10063
781b4af6 10064 * eshell/em-unix.el: Add -r option to cp.
cb29c582 10065
690e44b2
GM
100662013-05-28 Glenn Morris <rgm@gnu.org>
10067
e658d75c
GM
10068 * vc/vc-arch.el (vc-exec-after): Declare.
10069 (vc-switches): Autoload.
10070 * vc/vc-bzr.el: No need to require vc when compiling.
10071 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10072 (vc-resynch-buffer, vc-dir-refresh): Declare.
10073 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
10074 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10075 (vc-resynch-buffer): Declare.
10076 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 10077 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
10078 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10079 (grep-read-regexp, grep-read-files, grep-expand-template)
10080 (vc-dir-refresh): Declare.
10081 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10082 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10083 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
10084 * vc/vc-mtn.el (vc-exec-after): Declare.
10085 (vc-switches): Autoload.
10086 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10087 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10088 (vc-file-tree-walk): Declare.
712b9732
GM
10089 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10090 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10091 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
10092 * vc/vc-svn.el (vc-exec-after): Declare.
10093 (vc-switches, vc-setup-buffer): Autoload.
10094 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10095 Autoload.
10096 (vc-resynch-buffer): Declare.
10097
98e87fb3
GM
10098 * obsolete/fast-lock.el (byte-compile-warnings):
10099 Don't warn about obsolete features in this obsolete file.
10100
f5379553
GM
10101 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10102 Move definition before use.
10103
7a20ef83
GM
10104 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10105 (dun-unix-verbs): Remove dun-zippy.
10106 (dun-zippy): Remove function.
10107
690e44b2
GM
10108 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10109
3a52ccf7
JL
101102013-05-27 Juri Linkov <juri@jurta.org>
10111
10112 * replace.el (replace-search): New function with code moved out
10113 from `perform-replace'.
10114 (replace-highlight, replace-dehighlight): Move function definitions
10115 up closer to `replace-search'. (Bug#11746)
10116
d289938a
JL
101172013-05-27 Juri Linkov <juri@jurta.org>
10118
10119 * replace.el (perform-replace): Ignore invisible matches.
10120 In addition to checking `query-replace-skip-read-only', also
10121 filter out matches by calling `run-hook-with-args-until-failure'
10122 on `isearch-filter-predicates', and also check `search-invisible'
10123 for t or call `isearch-range-invisible'.
10124 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10125
66fc57e3
JL
101262013-05-27 Juri Linkov <juri@jurta.org>
10127
10128 * isearch.el (isearch-filter-predicates): Rename from
10129 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10130 (isearch-message-prefix): Display text from the property
10131 `isearch-message-prefix' of the currently active filters.
10132 (isearch-search): Don't compare `isearch-filter-predicate' with
10133 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10134 on `isearch-filter-predicates'. Also check `search-invisible' for t
10135 or call `isearch-range-invisible'.
10136 (isearch-filter-visible): Make obsolete.
10137 (isearch-lazy-highlight-search):
10138 Call `run-hook-with-args-until-failure' on
10139 `isearch-filter-predicates' and use `isearch-range-invisible'.
10140
10141 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10142 `isearch-filter-predicates' instead of `funcall'ing
10143 `isearch-filter-predicate'.
10144 (Info-mode): Set `Info-isearch-filter' to
10145 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10146
10147 * dired-aux.el (dired-isearch-filter-predicate-orig):
10148 Remove variable.
10149 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10150 (dired-isearch-filenames-end): Add and remove
10151 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10152 instead of changing the value of `isearch-filter-predicate'.
10153 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10154 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10155 Put property `isearch-message-prefix' to "filename " on
10156 `dired-isearch-filter-filenames'.
10157
10158 * wdired.el (wdired-change-to-wdired-mode):
10159 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10160 locally instead of changing `isearch-filter-predicate'.
10161 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10162
f1a60a0f
DG
101632013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10164
10165 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10166 return the commit hash (Bug#14459). Also set the
10167 `vc-git-detached' property.
10168 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10169 (vc-git-mode-line-string): Use the same help-echo format whether
10170 in detached mode or not, because we know the actual revision now.
10171 When in detached mode, shorten the revision to 7 chars.
10172
7f17cc40
SM
101732013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10174
10175 * emacs-lisp/easy-mmode.el (define-minor-mode):
10176 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10177 mode hook and provide a docstring.
10178
25c8401c
AM
101792013-05-27 Alan Mackenzie <acm@muc.de>
10180
10181 Remove spurious syntax-table text properties inserted by C-y.
10182 * progmodes/cc-mode.el (c-after-change): Also clear hard
10183 syntax-table property with value nil.
10184
dde84790
MA
101852013-05-27 Michael Albinus <michael.albinus@gmx.de>
10186
10187 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10188 when reading the events; the buffer layout shall not be changed.
10189
837fd9af
LL
101902013-05-27 Leo Liu <sdl.web@gmail.com>
10191
10192 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10193 New variable.
10194 (inferior-octave-directory-tracker): Automatically re-sync
10195 default-directory.
10196 (octave-help): Improve handling of 'See also'.
10197
4fd996b3
SM
101982013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10199
416f1802
SM
10200 * doc-view.el: Minor naming convention tweaks.
10201 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10202
4fd996b3
SM
10203 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10204 even if there's no `display' property yet (bug#14435).
10205
a052ef3b
EZ
102062013-05-25 Eli Zaretskii <eliz@gnu.org>
10207
4fd996b3 10208 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
10209
10210 * Makefile.in (custom-deps, finder-data, autoloads)
10211 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10212 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10213 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10214
c9023370
SM
102152013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10216
10217 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10218 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 10219 Don't burp at EOB.
c9023370 10220
24d699fa
LL
102212013-05-25 Leo Liu <sdl.web@gmail.com>
10222
10223 * comint.el (comint-previous-matching-input): Do not flood the
10224 *Messages* buffer with trivial messages.
10225
17e5c0cc
SM
102262013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10227
10228 * progmodes/flymake.el (flymake-nop): Don't return a string.
10229 (flymake-set-at): Fix typo.
10230
10231 * simple.el (read--expression): New function, extracted from
10232 eval-expression. Set completion-at-point-functions (bug#14465).
10233 (eval-expression, eval-minibuffer): Use it.
10234
5d028165
XF
102352013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10236
10237 * progmodes/flymake.el (flymake-save-buffer-in-file)
10238 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10239 (flymake-selected-frame, flymake-log, flymake-ins-after)
10240 (flymake-set-at, flymake-get-buildfile-from-cache)
10241 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10242 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10243 Refine the doc string.
10244 (flymake-get-file-name-mode-and-masks): Reformat.
10245 (flymake-get-real-file-name-function): Fix a minor bug.
10246
7a1d7ba7
JL
102472013-05-24 Juri Linkov <juri@jurta.org>
10248
10249 * progmodes/grep.el (grep-mode-font-lock-keywords):
10250 Support =linenumber= format used by git-grep for lines with
10251 function names. (Bug#13549)
10252
650cff3d
SM
102532013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10254
10255 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10256 0 after a semi-colon; it works better for smie-auto-fill.
10257 (octave--indent-new-comment-line): New function.
10258 (octave-indent-new-comment-line): Use it (indirectly).
10259 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10260 modify comment-line-break-function.
10261
10262 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10263 (smie-setup): Use add-function to set it.
10264
9631677d
SS
102652013-05-24 Sam Steingold <sds@gnu.org>
10266
10267 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10268 argument (before the `interactive' argument).
10269
50105835
SM
102702013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10271
10272 * image-mode.el (image-mode-winprops): Add winprops to
10273 image-mode-winprops-alist before running
10274 image-mode-new-window-functions.
10275 * doc-view.el (doc-view-new-window-function): Don't delay
10276 doc-view-goto-page via timers (bug#14435).
10277
57b9823e
TH
102782013-05-24 Tassilo Horn <tsdh@gnu.org>
10279
10280 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10281 (doc-view-desktop-save-buffer): New function.
10282 (doc-view-restore-desktop-buffer): New function.
50105835
SM
10283 (desktop-buffer-mode-handlers):
10284 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
10285 handler.
10286 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10287 `desktop-save-buffer' function.
10288
91aafa16
MA
102892013-05-24 Michael Albinus <michael.albinus@gmx.de>
10290
10291 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10292 (tramp-gvfs-file-name-handler): Raise a user error when
10293 `tramp-gvfs-enabled' is nil.
10294 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10295 Do not raise a user error when loading package. (Bug#14447)
10296
ec076379
MA
10297 * net/xesam.el: Move to obsolete/.
10298
db785726
GM
102992013-05-24 Glenn Morris <rgm@gnu.org>
10300
af5c7606
GM
10301 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10302
e5d1916a
GM
10303 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10304
ded62b08
GM
10305 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10306 (Info-find-node, Man-getpage-in-background): Declare.
10307
9e614a3f
GM
10308 * mail/unrmail.el (unrmail):
10309 Replace obsolete detect-coding-with-priority.
10310
892f8ca3
GM
10311 * net/socks.el (socks-split-string): Use this rather than split-string.
10312 (socks-nslookup-host): Update for above change.
10313 (dynamic-choice, s5-dynamic-choice-match)
10314 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10315 Comment out unused code.
10316
3c291973
GM
10317 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10318 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10319 (gud-tooltip-echo-area): Make obsolete.
10320 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10321
43cc956b
GM
10322 * progmodes/js.el (js--optimize-arglist): Declare.
10323
dab49a3b
GM
10324 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10325
36b9d085
GM
10326 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10327 (ediff-window-C): Declare.
10328
e354ae76
GM
10329 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10330 Tweak requires to silence compiler.
10331
b8e57bf4
GM
10332 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10333 (he-search-string, he-tried-table, he-expand-list)
10334 (he-init-string, he-string-member, he-substitute-string)
10335 (he-reset-string): Declare.
10336
db785726
GM
10337 * obsolete/options.el (list-options): Use custom-variable-p,
10338 rather than obsolete alias.
10339
b3531901
SS
103402013-05-23 Sam Steingold <sds@gnu.org>
10341
10342 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 10343 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
10344 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10345
bdda4c66
SM
103462013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10347
10348 * emacs-lisp/smie.el (smie-indent-forward-token)
10349 (smie-indent-backward-token): Handle string tokens (bug#14381).
10350
c43d45f9
TH
103512013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10352
fe1eb856
RS
10353 * ielm.el (ielm-menu): New menu.
10354 (inferior-emacs-lisp-mode): Set comment-start.
96172128 10355
fe1eb856
RS
103562013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10357
a12bf61e 10358 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
10359 Fix deactivate action.
10360
a12bf61e 10361 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 10362 Add cleveref macros.
074dd971 10363
a12bf61e 10364 * textmodes/reftex-parse.el
c43d45f9
TH
10365 (reftex-locate-bibliography-files): Accept options for
10366 bibliography commands.
a12bf61e 10367 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
10368 Add addbibresource. Basic Biblatex support.
10369
7764286e
MA
103702013-05-23 Michael Albinus <michael.albinus@gmx.de>
10371
10372 * net/tramp-gvfs.el (top):
10373 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10374 when loading package. (Bug#14447)
10375
d361bc10
GM
103762013-05-23 Glenn Morris <rgm@gnu.org>
10377
8fa23984
GM
10378 * progmodes/js.el: No need to load comint when compiling.
10379 (ring-insert, comint-send-string, comint-send-input)
10380 (comint-last-input-end, ido-chop): Declare.
10381
a5c7df1a
GM
10382 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10383 * vc/ediff-mult.el: Adjust requires.
10384 (ediff-directories-internal, ediff-directory-revisions-internal)
10385 (ediff-patch-file-internal): Declare.
10386 * vc/ediff-ptch.el: Adjust requires.
10387 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10388 (ediff-find-file): Autoload.
10389 * vc/ediff-util.el: No need to load ediff when compiling.
10390 (ediff-regions-internal): Declare.
10391 * vc/ediff-wind.el: Adjust requires.
10392 (ediff-compute-toolbar-width): Define when compiling.
10393 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10394 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10395 (dired-get-filename, dired-get-marked-files)
10396 (ediff-last-dir-patch, ediff-patch-default-directory)
10397 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10398 (ediff-patch-buffer-internal): Declare.
10399
e2aec513
GM
10400 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10401 (ispell-process, ispell-buffer-local-words, lm-summary)
10402 (lm-section-start, lm-section-end): Declare.
10403 (checkdoc-ispell-init): Simplify.
10404
e68bbd7c
GM
10405 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10406 (he-string-member, he-reset-string, he-substitute-string): Declare.
10407
7efe0991
GM
10408 * eshell/em-ls.el: Adjust requires.
10409 (eshell-glob-regexp): Declare.
f87b1284
GM
10410 * eshell/em-tramp.el: Adjust requires.
10411 (eshell-parse-command): Autoload.
10412 * eshell/em-xtra.el: Adjust requires.
10413 (eshell-parse-command): Autoload.
10414 * eshell/esh-ext.el: Adjust requires.
10415 (eshell-parse-command, eshell-close-handles): Autoload.
10416 * eshell/esh-io.el: Adjust requires.
10417 (eshell-output-filter): Autoload.
10418 * eshell/esh-util.el: No need to load tramp when compiling.
10419 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10420 Declare.
10421 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10422 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10423 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10424 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10425 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10426 * eshell/esh-opt.el, eshell/esh-proc.el:
10427 * eshell/esh-var.el: Adjust requires.
10428 * eshell/eshell.el: Do not require esh-util twice.
10429 (eshell-add-input-to-history): Declare.
10430 (eshell-command): Check history module is active before using it.
10431
d361bc10
GM
10432 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10433
85d090a9
LL
104342013-05-22 Leo Liu <sdl.web@gmail.com>
10435
10436 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10437
5d0acd9d
MA
104382013-05-22 Michael Albinus <michael.albinus@gmx.de>
10439
10440 * autorevert.el (auto-revert-notify-add-watch)
10441 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10442 it indicates changes in file modification time.
10443
0cdffd7d
GM
104442013-05-22 Glenn Morris <rgm@gnu.org>
10445
ca5995ec
GM
10446 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10447 Always delete the autoloaded function from the noruntime and
10448 unresolved functions lists.
10449
6450907e
GM
10450 * allout.el: No need to load epa, epg, overlay when compiling.
10451 (epg-context-set-passphrase-callback, epg-list-keys)
10452 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10453 (epg-key-user-id-list): Declare.
10454
9c6906f6
GM
10455 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10456 (viper-set-parsing-style-toggling-macro)
10457 (viper-set-emacs-state-searchstyle-macros):
10458 Use called-interactively-p on Emacs.
10459 (viper-looking-back): Make it an obsolete alias. Update callers.
10460 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10461 Use looking-back rather than viper-looking-back.
10462 (viper-tmp-insert-at-eob, viper-enlarge-region)
10463 (viper-read-string-with-history, viper-register-to-point)
10464 (viper-append-to-register, viper-change-state-to-vi)
10465 (viper-backward-char-carefully, viper-forward-char-carefully)
10466 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10467 (viper-change-state-to-emacs): Declare.
10468 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10469 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10470 * emulation/viper-mous.el: Do not load viper-cmd.
10471 (viper-backward-char-carefully, viper-forward-char-carefully)
10472 (viper-forward-word, viper-adjust-window): Declare.
10473
5f70c169
GM
10474 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10475
b1b7f300
GM
10476 * progmodes/idlw-help.el (idlwave-help-fontify):
10477 Use called-interactively-p.
10478
f6ebbb46
GM
10479 * term/w32console.el (w32-get-console-codepage)
10480 (w32-get-console-output-codepage): Declare.
10481
0cdffd7d
GM
10482 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10483 Remove unnecessary declarations.
10484 (dframe-message): Doc fix.
10485
10486 * info.el (dframe-select-attached-frame, dframe-current-frame):
10487 Declare.
10488
10489 * speedbar.el (speedbar-message): Make it an obsolete alias.
10490 Update all callers.
10491 (speedbar-with-attached-buffer)
10492 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10493 (speedbar-with-writable): Use backquote.
10494 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10495 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10496 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10497 rather than speedbar- aliases.
10498 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10499 (speedbar-make-specialized-keymap, speedbar-insert-button)
10500 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10501 (speedbar-do-function-pointer): Declare.
10502 (rmail-speedbar-button, rmail-speedbar-find-file)
10503 (rmail-speedbar-move-message):
10504 Use dframe-with-attached-buffer rather than speedbar- alias.
10505 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10506 (dframe-message, speedbar-make-specialized-keymap)
10507 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10508 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10509 (speedbar-insert-button, dframe-select-attached-frame)
10510 (dframe-maybee-jump-to-attached-frame)
10511 (speedbar-change-initial-expansion-list)
10512 (speedbar-previously-used-expansion-list-name): Declare.
10513 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10514 Use dframe-message, dframe-with-attached-buffer rather than
10515 speedbar- aliases.
10516 (gud-sentinel): Silence compiler.
10517 * progmodes/vhdl-mode.el (speedbar-refresh)
10518 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10519 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10520 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10521 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10522 (speedbar-file-lists, speedbar-make-tag-line)
10523 (speedbar-line-directory, speedbar-goto-this-file)
10524 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10525 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10526 (speedbar-make-button, speedbar-reset-scanners)
10527 (speedbar-files-item-info, speedbar-line-text)
10528 (speedbar-find-file-in-frame, speedbar-set-timer)
10529 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10530 (speedbar-with-writable): Do not (re)define it.
10531 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10532 rather than speedbar- alias.
10533
ee44b62a
LL
105342013-05-21 Leo Liu <sdl.web@gmail.com>
10535
10536 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10537 menu items.
10538 (octave-mode): Tweak fill-nobreak-predicate.
10539 (inferior-octave-startup): Check process to avoid infinite loop.
10540 (inferior-octave): Pop to buffer first to show abornmal process
10541 exit information.
10542
640f050f
GM
105432013-05-21 Glenn Morris <rgm@gnu.org>
10544
79458038
GM
10545 * printing.el (pr-menu-bar): Define when compiling.
10546
9cc3e83f
LL
105472013-05-21 Leo Liu <sdl.web@gmail.com>
10548
10549 * progmodes/octave.el (octave-auto-fill): Remove.
10550 (octave-indent-new-comment-line): Improve.
10551 (octave-mode): Use auto fill mode through
4f405069 10552 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 10553 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 10554 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
10555 (octave-help): Show parent directory.
10556
f440830d
GM
105572013-05-21 Glenn Morris <rgm@gnu.org>
10558
10559 * files.el (dired-unmark):
10560 * progmodes/gud.el (gdb-input): Update declarations.
10561
10562 * calculator.el (electric, ehelp): No need to load when compiling.
10563 (Electric-command-loop, electric-describe-mode): Declare.
10564
10565 * doc-view.el (doc-view-current-converter-processes): Move before use.
10566
10567 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10568 Move MODE-set-explicitly definition before use.
10569
10570 * international/mule-diag.el (mule-diag):
10571 Don't use obsolete window-system-version.
10572
10573 * mail/feedmail.el (smtpmail): No need to load when compiling.
10574 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10575
10576 * mail/mail-utils.el (rfc822): No need to load when compiling.
10577 (rfc822-addresses): Autoload it.
10578 (mail-strip-quoted-names): Trivial simplification.
10579
10580 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10581 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10582
10583 * net/snmp-mode.el (tempo): Don't duplicate requires.
10584
10585 * progmodes/prolog.el (info): No need to load when compiling.
10586 (comint): Require before shell requires it.
10587 (Info-goto-node): Autoload it.
10588 (Info-follow-nearest-node): Declare.
10589 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10590
10591 * textmodes/artist.el (picture-mode-exit): Declare.
10592
10593 * textmodes/reftex-parse.el (reftex-parse-from-file):
10594 Trivial rewrite so the compiler can parse it better.
10595
b4da2cbb
LL
105962013-05-20 Leo Liu <sdl.web@gmail.com>
10597
10598 * progmodes/octave.el (octave-help-mode-map)
10599 (octave-help-mode-finish-hook): New variables.
10600 (octave-help-mode, octave-help-mode-finish): New functions.
10601 (octave-help): Use octave-help-mode.
10602
33c0f65b
GM
106032013-05-20 Glenn Morris <rgm@gnu.org>
10604
10605 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10606
1a0a0a8a
DG
106072013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10608
10609 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10610 start at point, so that expansion starting right after opening
10611 slash in a regexp is recognized.
10612 (ruby-syntax-before-regexp-re): New defvar, extracted from
10613 ruby-syntax-propertize-function. Since the value of this regexp
10614 is looked up at runtime now, we should be able to turn
10615 `ruby-syntax-methods-before-regexp' into a defcustom later.
10616 (ruby-syntax-propertize-function): Split regexp matching into two
10617 parts, for opening and closing slashes. That allows us to skip
10618 over string interpolations and support multiline regexps.
10619 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10620 for them, which calls `ruby-syntax-propertize-expansion'.
10621 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10622 call to `ruby-syntax-propertize-function'.
10623 (ruby-syntax-propertize-expansion): Extracted from
10624 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
10625 (ruby-syntax-propertize-percent-literal): Leave point right after
10626 the percent symbol, so that the expression expansion rule can
10627 propertize the contents.
462388b6
DG
10628 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10629 heredoc openers.
10630 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 10631
c1a6c0a4
JL
106322013-05-18 Juri Linkov <juri@jurta.org>
10633
10634 * man.el (Man-default-man-entry): Remove `-' from the end
10635 of the default value. (Bug#14400)
10636
8051fccd
GM
106372013-05-18 Glenn Morris <rgm@gnu.org>
10638
10639 * comint.el (comint-password-prompt-regexp):
10640 Allow "password for XXX" where XXX contains colons (eg https://...).
10641
5e80b74f
LL
106422013-05-18 Leo Liu <sdl.web@gmail.com>
10643
10644 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 10645 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
10646 (octave-source-directories): Don't check process.
10647 (octave-source-directories, octave-find-definition): Doc fix.
10648
521a54c5
GM
106492013-05-18 Glenn Morris <rgm@gnu.org>
10650
86a94b05
GM
10651 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10652 Remove backspace/delete bindings. (Bug#14392)
10653
521a54c5
GM
10654 * cus-dep.el (custom-make-dependencies): Sort the output.
10655 (custom-versions-load-alist): Convert comment to doc.
10656
42caeb89
LL
106572013-05-17 Leo Liu <sdl.web@gmail.com>
10658
10659 * newcomment.el (comment-search-backward): Stricter in finding
10660 comment start. (Bug#14303)
10661
10662 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10663 (octave-comment-start-skip): Properly anchored.
10664
e219dd97
LL
106652013-05-17 Leo Liu <sdl.web@gmail.com>
10666
fe1eb856
RS
10667 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10668 Clean up when turned off. (Bug#14395)
e219dd97
LL
10669 (smie--highlight-matching-block-overlay): No longer buffer-local.
10670 (smie-highlight-matching-block): Adjust.
10671
dc5dcb4b
PE
106722013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10673
10674 Doc string fix for "nanoseconds" (Bug#14406).
10675 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10676 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10677
1db165f0
JB
106782013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10679
10680 * calc/calc-units.el (math-extract-units): Preserve powers
10681 of units.
10682
c7a8fcac
LL
106832013-05-17 Leo Liu <sdl.web@gmail.com>
10684
10685 * subr.el (delete-consecutive-dups): New function.
10686 * ido.el (ido-set-matches-1): Use it.
10687 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10688 * ido.el (ido-remove-consecutive-dups): Remove.
10689
f678b18a
SM
106902013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10691
10692 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10693 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10694 regexp-opt's `words'.
10695
ebfe68e8
LL
106962013-05-16 Leo Liu <sdl.web@gmail.com>
10697
10698 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10699 (smie--highlight-matching-block-overlay)
10700 (smie--highlight-matching-block-lastpos)
10701 (smie--highlight-matching-block-timer): New variables.
10702 (smie-highlight-matching-block): New function.
10703 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10704 (smie-setup): Conditionally enable smie-blink-matching-open.
10705
bc8bc17d
WS
107062013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10707
10708 Sync with upstream verilog-mode r840.
10709 * progmodes/verilog-mode.el (verilog-mode-version)
10710 (verilog-mode-release-date): Update.
10711 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10712 (verilog-sig-tieoff): Fix string error on
10713 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10714 (verilog-read-decls): Fix parameters confusing
10715 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10716
df065a0b
EZ
107172013-05-16 Eli Zaretskii <eliz@gnu.org>
10718
10719 * subr.el (reveal-filename): New function.
10720
10721 * loadup.el: Compute Emacs executable versions on MS-Windows,
10722 where executables have the .exe extension. Add a hard link
10723 emacs-XX.YY.ZZ.exe on MS-Windows.
10724
10725 * Makefile.in (XARGS_LIMIT): New variable.
10726 (custom-deps, finder-data, autoloads)
10727 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10728 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10729 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10730 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10731
2d4bf34b
LL
107322013-05-16 Leo Liu <sdl.web@gmail.com>
10733
10734 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10735 (octave-mode-menu, octave-mode-map): Remove its uses.
10736
6b9c2d85
RZ
107372013-05-16 Reto Zimmermann <reto@gnu.org>
10738
10739 Sync with upstream vhdl mode v3.34.2.
10740 * progmodes/vhdl-mode.el: Use `push' throughout.
10741 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10742 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10743 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10744 (vhdl-actual-generic-name): New option to derive actual generic name.
10745 (vhdl-port-paste-signals): Replace formal by actual generics.
10746 (vhdl-beautify): New name for old group vhdl-align. Update users.
10747 (vhdl-beautify-options): New option.
10748 (vhdl-last-input-event): New compat alias. Use throughout.
10749 (vhdl-goto-line): Replace user level function `goto-line'.
10750 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10751 vhdl-fix-statement-buffer.
10752 (vhdl-create-mode-menu): Add some entries.
10753 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10754 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10755 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10756 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10757 to force statements on one line.
10758 (vhdl-remove-trailing-spaces-region):
10759 New, split from vhdl-remove-trailing-spaces.
10760 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10761 Respect vhdl-beautify-options.
10762 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10763 (vhdl-update-sensitivity-list): Not add with index if exists without.
10764 Not include array index with signal. Ignore keywords in comments.
10765 (vhdl-get-visible-signals): Regexp tweaks.
10766 (vhdl-template-component-inst): Handle empty library.
10767 (vhdl-template-type): Add template for 'enum' type.
10768 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10769 Use vhdl-replace-string.
10770 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10771 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10772 (vhdl-speedbar-initialize): Update for above name change.
10773 (vhdl-compose-wire-components): Fix in handling of constants.
10774 (vhdl-error-regexp-emacs-alist): New variable.
10775 (vhdl-error-regexp-add-emacs): New function;
10776 adds support for new compile.el (Emacs 22+)
10777 (vhdl-generate-makefile-1): Change target order for single lib. units.
10778 Allow use of absolute file names.
10779
9df4ec5e
LL
107802013-05-16 Leo Liu <sdl.web@gmail.com>
10781
10782 * simple.el (prog-indent-sexp): Indent enclosing defun.
10783
f5ba00a6
GM
107842013-05-15 Glenn Morris <rgm@gnu.org>
10785
ed8be7ff
GM
10786 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10787 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10788 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10789 (whitespace-highlight): Move to whitespace group.
10790
10791 * comint.el (comint-source):
10792 * pcmpl-linux.el (pcmpl-linux):
10793 * shell.el (shell-faces):
10794 * eshell/esh-opt.el (eshell-opt):
10795 * international/ccl.el (ccl): Remove empty custom groups.
10796
10797 * completion.el (dynamic-completion-mode):
10798 * jit-lock.el (jit-lock-debug-mode):
10799 * minibuffer.el (completion-in-region-mode):
10800 * type-break.el (type-break-mode-line-message-mode)
10801 (type-break-query-mode):
10802 * emulation/tpu-edt.el (tpu-edt-mode):
10803 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10804 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10805 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10806
10807 * term/xterm.el (xterm): Change parent group to terminals.
10808
10809 * master.el (master): Remove empty custom group.
10810 (master-mode): Remove unused :group argument.
10811 * textmodes/refill.el (refill): Remove empty custom group.
10812 (refill-mode): Remove unused :group argument.
10813
10814 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10815
82a7c41b
GM
10816 * cus-dep.el: Provide a feature.
10817 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
10818 Don't mistakenly ignore files whose basenames match a basename
10819 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 10820 Add a fallback method for getting :group.
f5ba00a6 10821
6d65486d
JL
108222013-05-15 Juri Linkov <juri@jurta.org>
10823
da547b32
JL
10824 * isearch.el (isearch-char-by-name): Rename from
10825 `isearch-insert-char-by-name'. Doc fix.
10826 (isearch-forward): Mention `isearch-char-by-name' in
10827 the docstring. (Bug#13348)
10828
6d65486d
JL
10829 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10830 `exit-minibuffer' instead of
10831 `isearch-nonincremental-exit-minibuffer'.
10832 (isearch-edit-string): Remove mention of
10833 `isearch-nonincremental-exit-minibuffer' from docstring.
10834 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10835 (isearch-forward-exit-minibuffer)
10836 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10837
c9990474
SM
108382013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10839
6e911150
SM
10840 * loadup.el: Just use unversioned DOC.
10841
c9990474
SM
10842 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10843 literals as extending to EOB.
10844 (nxml-last-fontify-end): Remove unused variable.
10845 (nxml-after-change1): Use with-silent-modifications.
10846 (nxml-extend-after-change-region): Simplify.
10847 (nxml-extend-after-change-region1): Remove function.
10848 (nxml-after-change1): Don't adjust for dependent regions.
10849 (nxml-fontify-matcher): Simplify.
10850 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10851 (xmltok-add-dependent): Remove function.
10852 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10853 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10854 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10855 unclosed <[[, <?, comment, and other literals as extending to EOB.
10856 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10857 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10858 Remove functions.
10859 (rng-do-some-validation-1): Don't mark dependent regions.
10860 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10861 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10862 (nxml-clear-dependent-regions): Remove functions.
10863 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10864 (nxml-ensure-scan-up-to-date):
10865 Don't clear&mark dependent regions.
10866
e3772e98
LL
108672013-05-15 Leo Liu <sdl.web@gmail.com>
10868
c9990474
SM
10869 * progmodes/octave.el (octave-goto-function-definition):
10870 Improve and fix callers.
e3772e98 10871
5ac2eb34
SM
108722013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10873
c46c57b0
SM
10874 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10875 the setter (bug#14387).
10876
5ac2eb34
SM
10877 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10878 surrounding group (bug#14402).
10879
180ed218
JL
108802013-05-14 Juri Linkov <juri@jurta.org>
10881
10882 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10883 (Bug#14390)
10884
0ac0fecb
GM
108852013-05-14 Glenn Morris <rgm@gnu.org>
10886
10887 * progmodes/f90.el (f90-imenu-generic-expression):
10888 Fix typo in 2013-05-08 change. (Bug#14402)
10889
2e78e6a7
JPG
108902013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10891
5ac2eb34
SM
10892 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10893 Remove signals for which replies are never received.
2e78e6a7 10894
53267cca
JPG
108952013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10896
10897 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10898 (gdb-handler-alist, gdb-handler-number): Remove variables.
10899 (gdb-handler-list): New variable.
10900 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10901 (gdb-pending-handler-p, gdb-handle-reply)
10902 (gdb-remove-all-pending-triggers): New functions.
10903 (gdb-discard-unordered-replies): New defcustom.
10904 (gdb-handler): New defstruct.
10905 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10906 instead of gdb-pending-triggers. Update docstring.
10907 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10908 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10909 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10910 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10911 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10912 (gdb-frame-handler): Pending triggers are now automatically managed.
10913 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10914 Remove argument.
10915 (gdb-input): Automatically handles pending triggers. Update docstring.
10916 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10917 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10918 Update comments.
10919 (gdb-done-or-error): Now use gdb-handle-reply.
10920
d04ce803
JPG
109212013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10922
10923 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10924 gdb-debug-log.
10925
0114073a
GM
109262013-05-14 Glenn Morris <rgm@gnu.org>
10927
10928 * subr.el (user-emacs-directory-warning): New option.
10929 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10930
4d25fd7e
LL
109312013-05-14 Leo Liu <sdl.web@gmail.com>
10932
10933 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10934 during redisplay.
10935 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
10936 (octave-font-lock-texinfo-comment): Fix invalid search bound
10937 error: wrong side of point.
4d25fd7e 10938
27c8b6eb
GM
109392013-05-14 Glenn Morris <rgm@gnu.org>
10940
61aaeb01
GM
10941 * progmodes/flymake.el (flymake-xml-program): New option.
10942 (flymake-xml-init): Use it.
10943
5bf90bc5
GM
10944 * term/xterm.el: Provide a feature.
10945
10946 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 10947
f4c7dfd2
GM
109482013-05-13 Glenn Morris <rgm@gnu.org>
10949
10950 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10951 Add compat aliases as a hack workaround. (Bug#14384)
10952
2aeb3a1d
LL
109532013-05-13 Leo Liu <sdl.web@gmail.com>
10954
b0e069c2
LL
10955 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10956 ###, and %!.
f5a9432f
LL
10957 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10958 C-M-q.
b0e069c2
LL
10959 (octave-comment-start-skip): Include %!.
10960 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 10961
30ea8374
LL
109622013-05-12 Leo Liu <sdl.web@gmail.com>
10963
10964 * progmodes/octave.el (inferior-octave-startup): Store the value
10965 of __octave_srcdir__ for octave-source-directories.
10966 (inferior-octave-check-process): New function refactored out of
10967 inferior-octave-send-list-and-digest.
10968 (octave-source-directories)
10969 (octave-find-definition-filename-function): New variables.
10970 (octave-source-directories)
10971 (octave-find-definition-default-filename): New functions.
10972 (octave-find-definition): Improve to find functions implemented in C++.
10973
472a3834
GM
109742013-05-12 Glenn Morris <rgm@gnu.org>
10975
10976 * calendar/diary-lib.el (diary-outlook-format-1):
10977 Don't include dayname in the output. (Bug#14349)
10978
3191b52f
GM
109792013-05-11 Glenn Morris <rgm@gnu.org>
10980
0060ac73
GM
10981 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10982
3191b52f
GM
10983 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10984 Treat cc-provide like provide.
10985
e065ba74
KR
109862013-05-11 Kevin Ryde <user42@zip.com.au>
10987
10988 * cus-dep.el (custom-make-dependencies):
10989 Use generated-autoload-load-name for the sake of files such
10990 such cedet/semantic/bovine/c.el, where the base file name
10991 is not in load-path. (Bug#5277)
10992
36f84c37
GM
109932013-05-11 Glenn Morris <rgm@gnu.org>
10994
10995 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10996 Provide features.
10997
c8730c3a
LL
109982013-05-11 Leo Liu <sdl.web@gmail.com>
10999
11000 * progmodes/octave.el (octave-indent-comment): Improve.
11001 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
11002 (octave-eldoc-function-signatures, octave-eldoc-function):
11003 New functions.
c8730c3a
LL
11004 (octave-mode, inferior-octave-mode): Add eldoc support.
11005
212e29f2
RS
110062013-05-11 Richard Stallman <rms@gnu.org>
11007
11008 * epa.el (epa-decrypt-file): Take output file name as argument
11009 and read it using `interactive'.
11010
083fe0d7
LL
110112013-05-11 Leo Liu <sdl.web@gmail.com>
11012
11013 * progmodes/octave.el (octave-beginning-of-line)
11014 (octave-end-of-line): Check before using up-list because it jumps
11015 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
11016 (octave-indent-comment): New function.
11017 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
11018 (octave-begin-keywords, octave-end-keywords)
11019 (octave-reserved-words, octave-smie-bnf-table)
11020 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 11021
8582e4c4
GM
110222013-05-11 Glenn Morris <rgm@gnu.org>
11023
f20def1f
GM
11024 * faces.el (internal-face-x-get-resource):
11025 * frame.el (ns-display-monitor-attributes-list):
d78abe37 11026 * calc/calc-aent.el (math-to-radians-2):
f20def1f 11027 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 11028 Fix declarations.
f20def1f 11029
445f95e2
GM
11030 * calc/calc-menu.el: Make it loadable in isolation.
11031
11032 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11033 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11034 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11035 (eudc-bbdb-query-internal): Require 'bbdb.
11036
99fb2756
GM
11037 * lpr.el (lpr-headers-switches):
11038 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11039
11040 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11041
0da7ad96
GM
11042 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11043
8582e4c4
GM
11044 * term.el (term-set-escape-char): Make it idempotent.
11045
f71c50d0
LL
110462013-05-10 Leo Liu <sdl.web@gmail.com>
11047
5ac2eb34
SM
11048 * progmodes/octave.el (inferior-octave-completion-table):
11049 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
11050 completion due to bug#11906.
11051 (octave-beginning-of-defun): Re-write to be more general.
11052
d5837773
GM
110532013-05-10 Glenn Morris <rgm@gnu.org>
11054
11055 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11056
027c0f75
SM
110572013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11058
11059 * comint.el (comint-redirect-send-command-to-process): Use :around
11060 rather than :override for comint-redirect-filter.
11061 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11062 Call it instead of comint-redirect-original-filter-function (which
11063 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11064
4465bfb4
JD
110652013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11066
11067 * frame.el (display-monitor-attributes-list): Add NS case.
11068 (ns-display-monitor-attributes-list): Declare.
11069
2d809ffa 110702013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
11071
11072 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11073
e54eeb9b
GM
110742013-05-09 Glenn Morris <rgm@gnu.org>
11075
56cd351d
GM
11076 * international/fontset.el (vertical-centering-font-regexp):
11077 Set standard-value.
11078
d84b6108
GM
11079 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11080
a931698a
GM
11081 * bookmark.el (bookmark-search-delay):
11082 * cus-start.el (vertical-centering-font-regexp):
11083 * ps-mule.el (ps-mule-font-info-database-default):
11084 * ps-print.el (ps-default-fg, ps-default-bg):
11085 * type-break.el (type-break-good-break-interval):
11086 * whitespace.el (whitespace-indentation-regexp)
11087 (whitespace-space-after-tab-regexp):
11088 * emacs-lisp/testcover.el (testcover-1value-functions)
11089 (testcover-noreturn-functions, testcover-progn-functions)
11090 (testcover-prog1-functions):
11091 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11092 * eshell/em-glob.el (eshell-glob-translate-alist):
11093 * play/tetris.el (tetris-tty-colors):
11094 * progmodes/cpp.el (cpp-face-default-list):
11095 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11096 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11097 (idlwave-help-browser-generic-args):
11098 * progmodes/make-mode.el (makefile-special-targets-list):
11099 * progmodes/python.el (python-shell-virtualenv-path):
11100 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11101 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11102 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11103 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11104 * textmodes/reftex-vars.el (reftex-format-label-function):
11105 * textmodes/remember.el (remember-diary-file): Fix custom types.
11106
e54eeb9b
GM
11107 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11108 Add :version.
11109
455851dd
LL
111102013-05-09 Leo Liu <sdl.web@gmail.com>
11111
11112 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 11113 Restore file completion. (Bug#14300)
455851dd
LL
11114 (inferior-octave-startup): Fix incorrect highlighting for the
11115 first prompt.
11116
a9e4425b
SM
111172013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11118
11119 * progmodes/ruby-mode.el: First cut at SMIE support.
11120 (ruby-use-smie): New var.
11121 (ruby-smie-grammar): New constant.
11122 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11123 (ruby-smie--forward-token, ruby-smie--backward-token)
11124 (ruby-smie-rules): New functions.
11125 (ruby-mode-variables): Setup SMIE if applicable.
11126
060ca408
EZ
111272013-05-08 Eli Zaretskii <eliz@gnu.org>
11128
11129 * simple.el (line-move-visual): Signal beginning/end of buffer
11130 only if vertical-motion moved less than it was requested. Avoids
11131 silly incorrect error messages when there are display strings with
11132 multiple newlines at EOL.
11133
1d5963cc
SM
111342013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11135
11136 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11137 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11138 (prolog-char-quote-workaround):
11139 * progmodes/cperl-mode.el (cperl-under-as-char):
11140 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
11141 Mark as obsolete.
11142 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
11143 their declaration.
11144 (vhdl-mode-syntax-table-init): Remove.
11145
c9990474
SM
11146 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11147 last change.
1d5963cc
SM
11148
11149 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11150 syntax for "_".
11151 (ld-script-font-lock-keywords):
11152 Change regexps to use things like \_< and \_>.
11153
11154 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11155 Change all regexps to use things like \_< and \_>.
11156
11157 * progmodes/autoconf.el (autoconf-definition-regexp)
11158 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11159 Handle a _ with symbol syntax.
11160 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11161
c9990474
SM
11162 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11163 Consolidate declaration.
1d5963cc
SM
11164 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11165 the declaration.
11166 (ada-create-syntax-table): Remove.
11167 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11168 already has the right syntax nowadays.
11169 (ada-goto-next-word): Don't change the syntax of "_".
11170
11171 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11172 with-wrapper-hook.
11173
72d3cfca
SS
111742013-05-08 Sam Steingold <sds@gnu.org>
11175
11176 * thingatpt.el (thing-at-point): Accept optional second argument
11177 NO-PROPERTIES to strip the text properties from the return value.
11178 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11179 to `thing-at-point' instead of stripping the properties ourselves.
11180 Also, when `thing-at-point' fails to find a url, prepend "http://"
11181 to the filename at point on the assumption that the user is
11182 pointing at something like gnu.org/gnu.
11183
5cb15713
JB
111842013-05-08 Juanma Barranquero <lekktu@gmail.com>
11185
11186 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11187 * faces.el (crm-separator):
11188 Silence byte-compiler.
11189
11190 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11191 (tool-bar-map): Remove unneeded defvars.
11192
ea78b95b
LL
111932013-05-08 Leo Liu <sdl.web@gmail.com>
11194
11195 Re-work a fix for bug#10994 based on Le Wang's patch.
11196 * ido.el (ido-remove-consecutive-dups): New helper.
11197 (ido-completing-read): Use it.
11198 (ido-chop): Revert fix for bug#10994.
11199
dc7466df
AS
112002013-05-08 Adam Spiers <emacs@adamspiers.org>
11201
11202 * cus-edit.el (custom-save-variables):
11203 Pretty-print long values. (Bug#14187)
11204
9ecf672a
GM
112052013-05-08 Glenn Morris <rgm@gnu.org>
11206
11207 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11208 (m4-mode-syntax-table): Init in the defvar.
11209 (m4-mode-abbrev-table): Let define-derived-mode define it.
11210
3f555be8
TT
112112013-05-08 Tom Tromey <tromey@redhat.com>
11212
11213 * progmodes/m4-mode.el (m4-mode-syntax-table):
11214 Do not treat "_" as word constituent. (Bug#14167)
11215
7cc8ae06
GM
112162013-05-07 Glenn Morris <rgm@gnu.org>
11217
4f58bc06
GM
11218 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11219 Remove explicit eshell-isearch-cancel-map.
11220
7cc8ae06
GM
11221 * progmodes/f90.el (f90-smart-end-names): New option.
11222 (f90-smart-end): Doc fix.
11223 (f90-end-block-optional-name): New constant.
11224 (f90-block-match): Respect f90-smart-end-names.
11225
ceb57e59
SM
112262013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11227
11228 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11229 about implicit semi-colons (bug#14218).
11230
4e3f9230
YM
112312013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11232
11233 * frame.el (display-monitor-attributes-list)
11234 (frame-monitor-attributes): New functions.
11235
203a5572
LL
112362013-05-06 Leo Liu <sdl.web@gmail.com>
11237
11238 * progmodes/octave.el (octave-syntax-propertize-function): Change
11239 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11240 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 11241 (octave-completion-at-point): Rename from
203a5572
LL
11242 octave-completion-at-point-function.
11243 (inferior-octave-directory-tracker): Robustify.
11244 (octave-text-functions): Remove and fix its uses. No such things
11245 any more.
11246
ee6cff99
SM
112472013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11248
11249 * emacs-lisp/trace.el (trace--display-buffer): New function.
11250 (trace-make-advice): Use it.
11251
32985194
JL
112522013-05-06 Juri Linkov <juri@jurta.org>
11253
11254 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11255 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11256 Doc fix.
11257 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11258 in the help string. (Bug#12985)
11259
a1c700de
KD
112602013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11261
11262 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11263
c67c0839
SM
112642013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11265
323885fd
SM
11266 * progmodes/perl-mode.el: Add support for here documents.
11267 (perl-syntax-propertize-function): Match here-doc markers.
11268 (perl-syntax-propertize-special-constructs): Find their end.
11269 (perl-imenu-generic-expression): Use [:alnum:].
11270
c67c0839
SM
11271 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11272 (advice--add-function): Refresh the advice if already present
11273 (bug#14317).
11274
d491e7a8
IA
112752013-05-06 Ivan Andrus <darthandrus@gmail.com>
11276
11277 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11278
ddf9925e
GM
112792013-05-06 Glenn Morris <rgm@gnu.org>
11280
7cc3af27
GM
11281 * w32-fns.el (w32-charset-info-alist): Declare.
11282
16e343d6
GM
11283 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11284 of its defcustom properties.
11285 (eshell-cmpl-initialize): No need to load pcomplete.
11286
7d889a47
GM
11287 * generic-x.el: No need to require comint when compiling.
11288
ddf9925e
GM
11289 * net/eudc-export.el: Make it loadable without bbdb.
11290 (top-level): Use require rather than load-library.
11291 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11292 (eudc-batch-export-records-to-bbdb)
11293 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11294 Require bbdb.
11295
1e2c18df
SM
112962013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11297
11298 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11299 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11300 some tweaks, instead.
11301
02502a5f
LL
113022013-05-05 Leo Liu <sdl.web@gmail.com>
11303
11304 * progmodes/octave.el (octave-font-lock-keywords)
11305 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11306 (inferior-octave-send-list-and-digest): Improve error message.
11307 (octave-mode, inferior-octave-mode): Use setq-local.
11308 (octave-help): Set info-lookup-mode.
11309
0dc04f42
RS
113102013-05-05 Richard Stallman <rms@gnu.org>
11311
6c54491c
RS
11312 * vc/compare-w.el (compare-windows-whitespace):
11313 Treat no-break space as whitespace.
11314
0dc04f42
RS
11315 * mail/rmailsum.el (rmail-summary-rmail-update):
11316 Detect empty summary and don't change selected message.
11317 (rmail-summary-goto-msg): Likewise.
11318
df8f35df
RS
11319 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11320 Doc fixes, rename args.
11321
5356e1a3
AM
113222013-05-05 Alan Mackenzie <acm@muc.de>
11323
11324 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11325
d44014cb
JL
113262013-05-05 Juri Linkov <juri@jurta.org>
11327
11328 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11329 to not add the length of the summary segment to the return value.
11330 (Bug#14125)
11331
c129b51f
LL
113322013-05-05 Leo Liu <sdl.web@gmail.com>
11333
11334 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11335 (inferior-octave-output-filter): Remove.
11336 (octave-send-region, inferior-octave-startup): Fix callers.
11337 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11338 (octave-binary-file-extensions): New user variable.
11339 (octave-find-definition): Confirm if opening binary files.
11340 (octave-help-file): Use octave-find-definition to get the binary
11341 confirmation.
11342 (octave-help): Adjust for octave-help-file change.
11343
aa7dab97
SM
113442013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11345
11346 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11347 Merge the two entries that handle function definitions.
11348 (pascal--syntax-propertize): New const.
11349 (pascal-mode): Use it. Use setq-local.
11350
fd3a9a6b
GM
113512013-05-04 Glenn Morris <rgm@gnu.org>
11352
11353 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11354 (diary-from-outlook): Respect diary-from-outlook-function.
11355
30c7e542
SM
113562013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11357
11358 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11359 Move the declaration from C.
11360 (read-minibuffer, eval-minibuffer): Move from C.
11361 (completion-setup-function): Avoid minibuffer-completion-contents.
11362
b54f978b
LL
113632013-05-03 Leo Liu <sdl.web@gmail.com>
11364
11365 * progmodes/octave.el (octave-font-lock-keywords): Do not
11366 dehighlight 'end' in comments or strings.
30c7e542
SM
11367 (octave-completing-read, octave-goto-function-definition):
11368 New helpers.
d4d0f9b3
LL
11369 (octave-help-buffer): New user variable.
11370 (octave-help-file, octave-help-function): New button types.
11371 (octave-help): New command and bind it to C-h ;.
11372 (octave-find-definition): New command and bind it to M-.
d74a1581 11373 (user-error): Alias to error if not defined.
b54f978b 11374
27135018
LL
113752013-05-02 Leo Liu <sdl.web@gmail.com>
11376
11377 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11378 for \. (bug#14332)
11379 (octave-font-lock-keywords): Include [ and {.
11380
0d634d3a
LL
113812013-05-02 Leo Liu <sdl.web@gmail.com>
11382
11383 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11384 (inferior-octave): Remove calling comint-mode and return the buffer.
11385 (inferior-octave-startup): Cosmetic changes.
11386
b4c8295e
LL
113872013-05-02 Leo Liu <sdl.web@gmail.com>
11388
30c7e542
SM
11389 * progmodes/octave.el (octave-syntax-propertize-function):
11390 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 11391
f12ad6ec
GM
113922013-05-02 Glenn Morris <rgm@gnu.org>
11393
11394 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11395 * desktop.el (vc-dir-mode): Just autoload it here.
11396
30cac1e0
AM
113972013-05-02 Alan Mackenzie <acm@muc.de>
11398
11399 Eliminate variable c-standard-font-lock-fontify-region-function.
11400 * progmodes/cc-mode.el
11401 (c-standard-font-lock-fontify-region-function): Remove.
11402 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11403
d8ef28b1
LL
114042013-05-01 Leo Liu <sdl.web@gmail.com>
11405
2640d52e 11406 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 11407 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 11408 variables were removed from Octave in 2007.
d8ef28b1
LL
11409 (inferior-octave-startup): Fix uses.
11410 (comint-line-beginning-position): Remove compatibility code for
11411 emacs 21.
11412
ac63ec89
JL
114132013-05-01 Juri Linkov <juri@jurta.org>
11414
11415 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11416
9e9be37c
JL
114172013-05-01 Juri Linkov <juri@jurta.org>
11418
11419 * comint.el (comint-previous-matching-input): Don't print message
11420 "History item: %d" when `isearch-mode' is active.
11421 (comint-history-isearch-message): Print message "History item: %d"
11422 when `comint-input-ring-index' is not empty and this function is
11423 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11424
9b92c13b
LL
114252013-05-01 Leo Liu <sdl.web@gmail.com>
11426
11427 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11428 definitions. Use completion-at-point to insert keywords.
11429 (octave-abbrev-start): Remove.
11430 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11431
b12d33d7
LL
114322013-04-30 Leo Liu <sdl.web@gmail.com>
11433
11434 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11435 change.
11436
3d1c39fa
AM
114372013-04-30 Alan Mackenzie <acm@muc.de>
11438
11439 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
11440 * progmodes/cc-engine.el (c-back-over-member-initializers):
11441 new function.
3d1c39fa
AM
11442 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11443 (most) member init lists.
11444
5147fc17
RS
114452013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11446
11447 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11448 variable.
11449
5b78d7fc
LL
114502013-04-30 Leo Liu <sdl.web@gmail.com>
11451
11452 * progmodes/octave.el (octave-variables): Remove. No builtin
11453 variables any more. All converted to functions.
11454 (octave-font-lock-keywords, octave-completion-at-point-function):
11455 Fix uses.
11456 (octave-font-lock-texinfo-comment): New user variable.
11457 (octave-texinfo-font-lock-keywords): New variable for texinfo
11458 comment block.
11459 (octave-function-comment-block): New face.
11460 (octave-font-lock-texinfo-comment): New function.
11461 (octave-mode): Font lock texinfo comment block.
11462
38d8527b
LL
114632013-04-29 Leo Liu <sdl.web@gmail.com>
11464
11465 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11466 indexing expression.
11467 (octave-continuation-string): Do not use \.
11468 (inferior-octave-complete-impossible): Remove.
11469 (inferior-octave-completion-table)
11470 (inferior-octave-completion-at-point): Remove its uses.
11471 (inferior-octave-startup): completion_matches was introduced to
11472 Octave in 1996 so safe to assume it.
11473 (octave-function-file-comment): Improve to follow how Octave does it.
11474 (octave-update-function-file-comment): Tweak.
11475
2ec12cb0
LL
114762013-04-29 Leo Liu <sdl.web@gmail.com>
11477
11478 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11479 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11480 (octave-function-file-comment): Fix typo.
11481 (octave-sync-function-file-names): Use read-char-choice.
11482
6eaed048
JB
114832013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11484
11485 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11486 to t for the less important warnings.
11487
3ffa2d4f
DH
114882013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11489
11490 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11491
685c9501
GM
114922013-04-27 Glenn Morris <rgm@gnu.org>
11493
11494 * vc/log-view.el (log-view-current-entry):
11495 Treat "---" separator lines as part of the following rev. (Bug#14169)
11496
0208ede7
JL
114972013-04-27 Juri Linkov <juri@jurta.org>
11498
11499 * subr.el (read-number): Doc fix about using it by interactive
11500 code letter `n'. (Bug#14254)
11501
5db9dace
JL
115022013-04-27 Juri Linkov <juri@jurta.org>
11503
11504 * desktop.el (desktop-auto-save-timeout): New option.
11505 (desktop-file-checksum): New variable.
11506 (desktop-save): Add optional arg `auto-save' and don't auto-save
11507 if nothing changed.
11508 (desktop-auto-save-timer): New variable.
11509 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11510 (after-init-hook): Call `desktop-auto-save-set-timer'.
11511 Suggested by Reuben Thomas <rrt@sc3d.org> in
11512 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11513
b7260dd4
LL
115142013-04-27 Leo Liu <sdl.web@gmail.com>
11515
11516 * progmodes/octave.el (octave-function-file-p)
11517 (octave-skip-comment-forward, octave-function-file-comment)
11518 (octave-update-function-file-comment): New functions.
11519 (octave-mode-map): Bind C-c ; to
11520 octave-update-function-file-comment.
11521 (octave-mode-menu): Add octave-update-function-file-comment.
11522 (octave-mode, inferior-octave-mode): Fix doc-string.
11523 (octave-insert-defun): Conform to Octave's coding convention.
11524 (Bug#14285)
11525
11526 * files.el (basic-save-buffer): Don't let errors in
11527 before-save-hook prevent saving buffer.
11528
c46da669
RW
115292013-04-20 Roland Winkler <winkler@gnu.org>
11530
11531 * faces.el (read-face-name): Use completing-read if arg multiple
11532 is nil.
11533
a81ee1eb
IL
115342013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11535
11536 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
11537 displayed, move point to after the totals line.
11538 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
11539 for the details.
11540
4fac34ce
SM
115412013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11542
11543 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11544 Add current dir to the load-path.
11545 (package-generate-autoloads): Don't rely on
11546 autoload-ensure-default-file.
11547
f6bfc063
RT
115482013-04-26 Reuben Thomas <rrt@sc3d.org>
11549
d40ab5cf
BG
11550 * textmodes/remember.el (remember-store-in-files): Document that
11551 the file name format is passed to `format-time-string'.
f6bfc063 11552
e55d3b04
LL
115532013-04-26 Leo Liu <sdl.web@gmail.com>
11554
11555 * progmodes/octave.el (octave-sync-function-file-names): New function.
11556 (octave-mode): Use it in before-save-hook.
11557
e53052d3
SM
115582013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11559
140ef50c
SM
11560 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11561 (bug#14274).
11562
e53052d3
SM
11563 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11564 \n and comment, even if it's not an implicit ; (bug#14218).
11565
af80458d 115662013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
11567
11568 * subr.el (read-number): Once more use `read' rather than
11569 `string-to-number', to trap non-numeric input. (Bug#14254)
11570
af80458d 115712013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
11572
11573 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11574 Use `syntax-multiline' text property consistently instead of
8a621d53 11575 `font-lock-multiline'. (Bug#14237)
70203c2e 11576
e6ea1f6c
GM
115772013-04-26 Glenn Morris <rgm@gnu.org>
11578
11579 * emacs-lisp/shadow.el (list-load-path-shadows):
11580 No longer necessary to check for duplicate simple.el, since
11581 2012-07-07 change to init_lread to not include installation lisp
11582 directories in load-path when running uninstalled. (Bug#14270)
11583
070ccca4
LL
115842013-04-26 Leo Liu <sdl.web@gmail.com>
11585
11586 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11587 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 11588 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
11589 octave-in-string-or-comment-p.
11590 (octave-in-comment-p, octave-in-string-p)
11591 (octave-in-string-or-comment-p): Replace defsubst with defun.
11592
9d1c5fb6
PE
115932013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11594
11595 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11596
c034abda
BG
115972013-04-25 Bastien Guerry <bzg@gnu.org>
11598
11599 * textmodes/remember.el (remember-data-directory)
11600 (remember-directory-file-name-format): Fix custom types.
11601
584ea277
LL
116022013-04-25 Leo Liu <sdl.web@gmail.com>
11603
e53052d3
SM
11604 * progmodes/octave.el (octave-completion-at-point-function):
11605 Make use of inferior octave process.
584ea277
LL
11606 (octave-initialize-completions): Remove.
11607 (inferior-octave-completion-table): New function.
11608 (inferior-octave-completion-at-point): Use it.
11609 (octave-completion-alist): Remove.
11610
1693b06a
SM
116112013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11612
11613 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11614 (opascal-mode-syntax-table): New var.
11615 (opascal-literal-kind, opascal-is-literal-end)
11616 (opascal-literal-token-at): Rewrite.
11617 (opascal--literal-start-re, opascal-font-lock-keywords)
11618 (opascal--syntax-propertize): New constants.
11619 (opascal-font-lock-defaults): Adjust.
11620 (opascal-mode): Use them. Set comment-<foo> variables as well.
11621 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11622 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11623 (delphi-other-face, opascal-other-face): Remove face variables.
11624 (opascal-save-state): Remove macro.
11625 (opascal-fontifying-progress-step): Remove constant.
11626 (opascal--ignore-changes): Remove var.
11627 (opascal-set-token-property, opascal-parse-next-literal)
11628 (opascal-is-stable-literal, opascal-complete-literal)
11629 (opascal-is-literal-start, opascal-face-of)
11630 (opascal-parse-region, opascal-parse-region-until-stable)
11631 (opascal-fontify-region, opascal-after-change)
11632 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11633 (opascal-debug-parse-region, opascal-debug-parse-window)
11634 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11635 (opascal-debug-fontify-buffer): Remove.
11636 (opascal-debug-mode-map): Adjust accordingly.
11637
be64c05d
LL
116382013-04-25 Leo Liu <sdl.web@gmail.com>
11639
11640 Merge octave-mod.el and octave-inf.el into octave.el with some
11641 cleanups.
11642 * progmodes/octave.el: New file renamed from octave-mod.el.
11643 * progmodes/octave-inf.el: Merged into octave.el.
11644 * progmodes/octave-mod.el: Renamed to octave.el.
11645
d79d37bd
TH
116462013-04-25 Tassilo Horn <tsdh@gnu.org>
11647
11648 * textmodes/reftex-vars.el
11649 (reftex-label-ignored-macros-and-environments): New defcustom.
11650
11651 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11652
ced3fc5d
SM
116532013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11654
11655 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11656 (smie-indent-keyword): Improve the check to ensure that the next
11657 comment is really on the same line.
11658 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11659
11660 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11661 semi-colons if the line is not otherwise empty (bug#14218).
11662
1c141dad
GM
116632013-04-25 Glenn Morris <rgm@gnu.org>
11664
11665 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11666
5058062a
SM
116672013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11668
11669 * progmodes/opascal.el (opascal-set-token-property): Rename from
11670 opascal-set-text-properties and only set `token' (bug#14134).
11671 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11672 (opascal-literal-text-properties): Remove.
11673 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11674 Adjust callers.
11675
5db9dace 116762013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
11677
11678 * textmodes/remember.el (remember-handler-functions): Add an
11679 option for a new handler `remember-store-in-files'.
11680 (remember-data-directory, remember-directory-file-name-format):
11681 New options.
11682 (remember-store-in-files): New function to store remember notes
11683 as separate files within a directory.
11684
4391916c
MH
116852013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11686
11687 * progmodes/compile.el (compilation-next-error-function):
11688 Pass "formats" to compilation-find-file (bug#11777).
11689
bb7cdf58
GM
116902013-04-24 Glenn Morris <rgm@gnu.org>
11691
3b8fe752 11692 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
11693 * vc/vc-hg.el (vc-hg-print-log):
11694 * vc/vc-svn.el (vc-svn-print-log):
11695 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11696
bb7cdf58
GM
11697 * vc/vc-bzr.el (vc-bzr-print-log):
11698 * vc/vc-cvs.el (vc-cvs-print-log):
11699 * vc/vc-git.el (vc-git-print-log):
11700 * vc/vc-hg.el (vc-hg-print-log):
11701 * vc/vc-mtn.el (vc-mtn-print-log):
11702 * vc/vc-rcs.el (vc-rcs-print-log):
11703 * vc/vc-sccs.el (vc-sccs-print-log):
11704 * vc/vc-svn.el (vc-svn-print-log):
11705 * vc/vc.el (vc-print-log-internal): Doc fixes.
11706
b46a056e
GM
117072013-04-23 Glenn Morris <rgm@gnu.org>
11708
11709 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11710 Remove venerable code attempting to avoid substitute-command-keys.
11711
0aecf718
TH
117122013-04-23 Tassilo Horn <tsdh@gnu.org>
11713
4391916c
MH
11714 * textmodes/reftex-vars.el (reftex-label-regexps):
11715 Call `reftex-compile-variables' after changes to this variable.
0aecf718 11716
117f94cf
SM
117172013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11718
4391916c 11719 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
11720 Use lexical-binding.
11721 (jit-lock-force-redisplay): Use markers, check buffer's continued
11722 existence and beware narrowed buffers.
11723 (jit-lock-fontify-now): Adjust call accordingly.
11724
1d829c64
SM
117252013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11726
11727 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11728 to avoid misleading the user.
11729
72d548a9
LL
117302013-04-22 Leo Liu <sdl.web@gmail.com>
11731
11732 * info-look.el: Prefer latex2e.info. (Bug#14240)
11733
d0853629
MA
117342013-04-22 Michael Albinus <michael.albinus@gmx.de>
11735
11736 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11737
11738 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 11739 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
11740 (tramp-set-completion-function, tramp-parse-putty):
11741 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11742 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11743 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11744 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11745 (tramp-call-local-coding-command): Use `tramp-call-process'
11746 instead of `tramp-compat-call-process'.
11747
11748 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11749 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11750 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 11751 (tramp-find-inline-compress): Improve traces.
d0853629
MA
11752 (tramp-maybe-send-script): Check for Perl binary.
11753 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11754
38cc0210
DU
117552013-04-22 Daiki Ueno <ueno@gnu.org>
11756
11757 * epg.el (epg-context-pinentry-mode): New function.
11758 (epg-context-set-pinentry-mode): New function.
11759 (epg--start): Pass --pinentry-mode option to gpg command.
11760
cc641ee1
XF
117612013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11762
02d844b5 11763 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 11764 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 11765 `completion-at-point'. (Bug#13774)
5d4e5c31 11766
cc641ee1
XF
11767 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11768 default key binding for `describe-distribution' has been moved to
11769 `C-h C-o'. (Bug#13970)
11770
1b42ee43
GM
117712013-04-21 Glenn Morris <rgm@gnu.org>
11772
11773 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11774 Add doc strings.
11775 (vc-print-log): Clarify interactive prompt.
11776
a6d63d97
GM
117772013-04-20 Glenn Morris <rgm@gnu.org>
11778
11779 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11780 No longer include timestamp etc information.
11781
d7f5c16f
RW
117822013-04-20 Roland Winkler <winkler@gnu.org>
11783
11784 * faces.el (read-face-name): Bug fix, return just one face if arg
11785 multiple is nil. (Bug#14209)
11786
bcd7a0a4
SM
117872013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11788
11789 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11790 (remove-function): Autoload.
11791
11792 * comint.el (comint-redirect-original-filter-function): Remove.
11793 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
11794 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11795 (vc-cvs-annotate-command):
bcd7a0a4
SM
11796 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11797 * progmodes/prolog.el (prolog-consult-compile):
11798 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11799 Use add/remove-function instead.
11800 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11801 (gud-tooltip-process-output, gud-tooltip-tips):
11802 Use add/remove-function instead.
11803 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11804 (scheme-interaction-mode, exit-scheme-interaction-mode):
11805 Use add/remove-function instead.
11806
11807 * vc/vc-dispatcher.el: Use lexical-binding.
11808 (vc--process-sentinel): Rename from vc-process-sentinel.
11809 Change last arg to be the code to run. Don't use vc-previous-sentinel
11810 and vc-sentinel-commands any more.
11811 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11812 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11813
e36b2d20 118142013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 11815
bcd7a0a4 11816 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 11817 Handle function names with a single character. (Bug#14111)
4d3268ba 11818
781b4af6 118192013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
11820
11821 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11822 for subroutines defined in an eval (bug#14182).
11823
7d688336
TV
118242013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11825
11826 * bookmark.el (bookmark-completing-read): Improve handling of empty
11827 string (bug#14176).
11828
31dcede0
SM
118292013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11830
11831 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11832
adc31213
FEG
118332013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11834
11835 New faster Imenu implementation (bug#14058).
11836 * progmodes/python.el:
11837 (python-imenu-prev-index-position):
11838 (python-imenu-format-item-label-function)
11839 (python-imenu-format-parent-item-label-function)
11840 (python-imenu-format-parent-item-jump-label-function):
11841 New vars.
11842 (python-imenu-format-item-label)
11843 (python-imenu-format-parent-item-label)
11844 (python-imenu-format-parent-item-jump-label)
11845 (python-imenu--put-parent, python-imenu--build-tree)
11846 (python-imenu-create-index, python-imenu-create-flat-index)
11847 (python-util-popn): New functions.
11848 (python-mode): Set imenu-create-index-function to
11849 python-imenu-create-index.
11850
cdca8255
SM
118512013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11852
11853 * winner.el (winner-active-region): Use region-active-p, activate-mark
11854 and deactivate-mark (bug#14225).
11855
11856 * simple.el (deactivate-mark): Don't inline it.
11857
beb42340
MA
118582013-04-18 Michael Albinus <michael.albinus@gmx.de>
11859
11860 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11861
fc7f4d7e
TH
118622013-04-18 Tassilo Horn <tsdh@gnu.org>
11863
11864 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11865 file extensions from the archive-mode entry in order to prefer
11866 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11867
29f47822
LL
118682013-04-18 Leo Liu <sdl.web@gmail.com>
11869
11870 * bindings.el (help-event-list): Add ?\?.
11871
d36ed1c8
SM
118722013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11873
11874 * subr.el (with-wrapper-hook): Declare obsolete.
11875 * simple.el (filter-buffer-substring-function): New hook.
11876 (filter-buffer-substring): Use it.
11877 (filter-buffer-substring-functions): Mark obsolete.
11878 * minibuffer.el (completion-in-region-function): New hook.
11879 (completion-in-region): Use it.
11880 (completion-in-region-functions): Mark obsolete.
11881 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11882 * abbrev.el (abbrev-expand-function): New hook.
11883 (expand-abbrev): Use it.
11884 (abbrev-expand-functions): Mark obsolete.
11885 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11886 and :filter-return.
11887
04754d36
FEG
118882013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11889
11890 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11891 and do not care about match data.
11892
dd8791e9
SM
118932013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11894
11895 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11896 completion tables when completing error conditions and
11897 `declare' arguments.
11898 (lisp-complete-symbol, field-complete): Mark as obsolete.
11899 (check-parens): Unmatched parens are user errors.
11900 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11901
ffe54a13
AM
119022013-04-17 Michal Nazarewicz <mina86@mina86.com>
11903
dd8791e9
SM
11904 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11905 command changed buffer (ie. `flyspell-pre-buffer' is not current
11906 buffer), which prevents making decisions based on invalid value of
11907 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11908 cause an error when `flyspell-pre-point' was nil after switching
11909 buffers.
11910 (flyspell-post-command-hook): No longer needs to change buffers when
11911 checking pre-word. While at it remove unnecessary progn.
ffe54a13 11912
ec7e39f2
AM
119132013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11914
11915 * textmodes/ispell.el (ispell-add-per-file-word-list):
11916 Fix `flyspell-correct-word-before-point' error when accepting
11917 words and `coment-padding' is an integer by using
11918 `comment-normalize-vars' (Bug #14214).
11919
083850a6
FEG
119202013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11921
11922 New defun movement commands.
11923 * progmodes/python.el (python-nav--syntactically)
11924 (python-nav--forward-defun, python-nav-backward-defun)
11925 (python-nav-forward-defun): New functions.
11926
619ed6e1
FEG
119272013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11928
11929 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11930 (python-syntax-context): Use named compiler-macro for backwards
11931 compatibility with Emacs 24.x.
11932
7a1beb6c
LL
119332013-04-17 Leo Liu <sdl.web@gmail.com>
11934
11935 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11936 octave-hide-process-buffer.
11937
2d3fa3e5
SM
119382013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11939
11940 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11941 (bug#14216).
11942
7ce5be54
JPG
119432013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11944
11945 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11946 Fix adjustment of offset when receiving incomplete responses from GDB
11947 (bug#14129).
11948
351edece
SM
119492013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11950
11951 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11952 python-mode-abbrev-table.
11953 (python-skeleton-define): Adjust accordingly.
11954 (python-mode-abbrev-table): New table that inherits from it so that
11955 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11956
11957 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11958 (abbrev-symbol): Use it.
11959 (abbrev--before-point): Use it since we already handle inheritance.
11960
613f9481
LL
119612013-04-16 Leo Liu <sdl.web@gmail.com>
11962
11963 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11964 binding to info-lookup-symbol.
11965
51646b62
JB
119662013-04-16 Juanma Barranquero <lekktu@gmail.com>
11967
11968 * minibuffer.el (completion--twq-all):
11969 * term/ns-win.el (ns-initialize-window-system):
11970 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11971
efb3f01d
SM
119722013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11973
36c0a301
SM
11974 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11975 global bindings.
11976
efb3f01d
SM
11977 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11978
fb549d64
DG
119792013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11980
11981 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11982 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11983 to nil.
11984 (ruby-end-of-defun): Remove the unused arg, change the docstring
11985 to reflect that this function is only used as the value of
11986 `end-of-defun-function'.
11987 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11988 to reflect an earlier change that beginning/end-of-defun functions
11989 jump between methods in a class definition, as well as top-level
11990 functions.
11991
21e8fe2f
SM
119922013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11993
11994 * minibuffer.el (minibuffer-complete): Don't just scroll
11995 a *Completions* that's been iconified.
11996 (minibuffer-force-complete): Make sure repetitions do cycle when going
11997 through completion-in-region -> minibuffer-complete.
11998
20e527d0
AM
119992013-04-15 Alan Mackenzie <acm@muc.de>
12000
12001 Correct the placement of c-cpp-delimiters when there're #s not at
12002 col 0.
12003
12004 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12005 place a submatch around the #.
21e8fe2f
SM
12006 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12007 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
12008 on the #, not BOL.
12009
dabefae5
SM
120102013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12011
12012 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12013 (advice--member-p): New arg `name'.
12014 (advice--add-function, advice-member-p): Use it (bug#14202).
12015
85c9ab64
AM
120162013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12017
12018 Reformulate java imenu-generic-expression.
12019 The old expression contained ill formed regexps.
12020
12021 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12022 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12023 (cc-imenu-java-method-arg-regexp): New defconsts.
12024 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 12025 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
12026 handling of spaces in the regexp.
12027
0f821d99
AM
120282013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12029
12030 * textmodes/ispell.el (ispell-command-loop): Remove
12031 flyspell highlight of a word when ispell accepts it (bug #14178).
12032
eb922adf
MA
120332013-04-15 Michael Albinus <michael.albinus@gmx.de>
12034
12035 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12036 uses code from the previous `ange-ftp-run-real-handler'.
12037 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12038 only in case that function exist. This is needed for proper
12039 unloading of Tramp.
12040
4d9a0979
TH
120412013-04-15 Tassilo Horn <tsdh@gnu.org>
12042
12043 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12044
12045 * textmodes/reftex.el (reftex-compile-variables): Use it.
12046
a829b0dc
SM
120472013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12048
91e8293c
SM
12049 * files.el (normal-mode): Only use default major-mode if no other mode
12050 was specified.
12051
830aed4d
SM
12052 * emacs-lisp/trace.el (trace-values): New function.
12053
a829b0dc
SM
12054 * files.el: Allow : in local variables (bug#14089).
12055 (hack-local-variable-regexp): New var.
12056 (hack-local-variables-prop-line, hack-local-variables): Use it.
12057
7ae9f0fb
RW
120582013-04-13 Roland Winkler <winkler@gnu.org>
12059
12060 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12061 data before it gets modified by bibtex-beginning-of-entry.
12062
6646e848
RW
120632013-04-13 Roland Winkler <winkler@gnu.org>
12064
12065 * textmodes/bibtex.el (bibtex-url): Doc fix.
12066
120672013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
12068
12069 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12070 does not visit a BibTeX file, exclude it from the list of buffers
12071 returned by bibtex-initialize.
12072
0aa3616e
SB
120732013-04-13 Stephen Berman <stephen.berman@gmx.net>
12074
12075 * window.el (split-window): Remove interactive form, since as a
12076 command this function is a special case of split-window-below.
12077 Correct doc string.
12078
011cddd6
RW
120792013-04-12 Roland Winkler <winkler@gnu.org>
12080
12081 * faces.el (read-face-name): Do not override value of arg default.
12082 Allow single faces and strings as default values. Remove those
12083 elements from return value that are not faces.
12084 (describe-face): Simplify.
12085 (face-at-point): New optional args thing and multiple so that this
12086 function can provide the same functionality previously provided by
12087 read-face-name.
12088 (make-face-bold, make-face-unbold, make-face-italic)
12089 (make-face-unitalic, make-face-bold-italic, invert-face)
12090 (modify-face, read-face-and-attribute): Use face-at-point.
12091
12092 * cus-edit.el (customize-face, customize-face-other-window)
12093 * cus-theme.el (custom-theme-add-face)
12094 * face-remap.el (buffer-face-set)
12095 * facemenu.el (facemenu-set-face): Use face-at-point.
12096
f24e0036
MA
120972013-04-12 Michael Albinus <michael.albinus@gmx.de>
12098
12099 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12100
da3cda2d
TH
121012013-04-10 Tassilo Horn <tsdh@gnu.org>
12102
12103 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12104 off leading { and trailing } from field values.
12105
15e54145
SM
121062013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12107
78ce603d
SM
12108 * emacs-lisp/timer.el (timer--check): New function.
12109 (timer--time, timer-set-function, timer-event-handler): Use it.
12110 (timer-set-idle-time): Simplify.
12111 (timer--activate): CSE.
12112 (timer-event-handler): Give more info in error message.
12113 (internal-timer-start-idle): New function, moved from C.
12114
15e54145
SM
12115 * mpc.el (mpc-proc): Add `restart' argument.
12116 (mpc-proc-cmd): Use it.
12117 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12118 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12119 less often.
12120
7144c627
MY
121212013-04-10 Masatake YAMATO <yamato@redhat.com>
12122
12123 * progmodes/sh-script.el: Implement `sh-mode' own
12124 `add-log-current-defun-function' (bug#14112).
12125 (sh-current-defun-name): New function.
12126 (sh-mode): Use the function.
12127
b39792eb
BG
121282013-04-09 Bastien Guerry <bzg@gnu.org>
12129
12130 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12131
8acdeb71
SM
121322013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12133
6fcdab68
SM
12134 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12135
8acdeb71
SM
12136 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12137 timer (bug#14156).
12138
e3e7b504
NF
121392013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12140
12141 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12142 declaration.
12143
201bb296
LL
121442013-04-07 Leo Liu <sdl.web@gmail.com>
12145
12146 * pcmpl-x.el: New file.
12147
ebb19708
DA
121482013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12149
12150 Do not set x-display-name until X connection is established.
12151 This is needed to prevent from weird situation described at
12152 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12153 * frame.el (make-frame): Set x-display-name after call to
12154 window system initialization function, not before.
12155 * term/x-win.el (x-initialize-window-system): Add optional
12156 display argument and use it.
12157 * term/w32-win.el (w32-initialize-window-system):
12158 * term/ns-win.el (ns-initialize-window-system):
12159 * term/pc-win.el (msdos-initialize-window-system):
12160 Add compatible optional display argument.
12161
33bb237a
EZ
121622013-04-06 Eli Zaretskii <eliz@gnu.org>
12163
12164 * files.el (normal-backup-enable-predicate): On MS-Windows and
12165 MS-DOS compare truenames of temporary-file-directory and of the
12166 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12167 don't fail comparison by compare-strings. Also, compare file
12168 names case-insensitively on MS-Windows and MS-DOS.
12169
134abf1f
SM
121702013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12171
12172 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12173 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12174
d695cb94
DG
121752013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12176
e3e7b504
NF
12177 * whitespace.el (whitespace-color-on, whitespace-color-off):
12178 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 12179
f4ad7ea1 121802013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
12181
12182 * ispell.el (ispell-set-spellchecker-params):
12183 Really set `ispell-args' for all equivs.
12184
632556e4
SM
121852013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12186
12187 * ido.el (ido-completions): Use extra elements of ido-decorations
12188 (bug#14143).
12189 (ido-decorations): Update docstring.
12190
2a417372
MA
121912013-04-05 Michael Albinus <michael.albinus@gmx.de>
12192
12193 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12194 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12195 nil during initialization, in order not to miss changes since the
12196 file was opened. (Bug#14140)
12197
fc164b0c
LL
121982013-04-05 Leo Liu <sdl.web@gmail.com>
12199
12200 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12201
0ccecc08
JB
122022013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12203
12204 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12205
51af1aa2
GM
122062013-04-04 Glenn Morris <rgm@gnu.org>
12207
12208 * electric.el (electric-pair-inhibit-predicate): Add :version.
12209
b208ebc6
SM
122102013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12211
12212 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12213 when a package is required several times (bug#14082).
12214
f3d3eaf0
RW
122152013-04-04 Roland Winkler <winkler@gnu.org>
12216
12217 * faces.el (read-face-name): Behave as promised by the docstring.
12218 Assume that arg default is a list of faces.
12219 (describe-face): Call read-face-name with list of default faces.
12220
2575da50
TV
122212013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12222
12223 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12224 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12225 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12226 the header.
12227 (bookmark-exit-hook-internal): Save even if list is empty.
12228
397703b4
YH
122292013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12230
12231 * emacs-lisp/package.el (package-pinned-packages): New var.
12232 (package--add-to-archive-contents): Obey it (bug#14118).
12233
691e26ae
AM
122342013-04-03 Alan Mackenzie <acm@muc.de>
12235
8a621d53
JB
12236 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12237 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
12238
12239 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12240 parameter `not-in-delimiter'. Handle being inside comment opener.
12241 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12242 character in case we're typing a '*' after a '/'.
12243 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12244 instead by passing the parameter to c-state-pp-to-literal.
12245
12246 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12247 for elt. 7 of a parse state.
12248
4b725a70
PE
122492013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12250
12251 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12252 * international/latin1-disp.el, international/mule-util.el:
12253 * language/cyril-util.el, language/european.el, language/ind-util.el:
12254 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12255 * language/tibetan.el, language/viet-util.el:
12256 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12257
15c579f0
SM
122582013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12259
12260 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12261 (electric-pair-post-self-insert-function): Use it.
12262 (electric-pair-default-inhibit): New function, extracted from
12263 electric-pair-post-self-insert-function.
12264
a77e2924
RW
122652013-03-31 Roland Winkler <winkler@gnu.org>
12266
12267 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12268
2bd8a4a8
SM
122692013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12270
12271 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12272
8d3655be 122732013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
12274
12275 Un-indent after "pass" and "return" statements (Bug#13888)
12276 * progmodes/python.el (python-indent-block-enders): New var.
12277 (python-indent-calculate-indentation): Use it.
12278
8d3655be 122792013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
12280
12281 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12282 defun. Defining it as defalias could introduce too eager
12283 byte-compiler optimization. (Bug#14030)
12284
8d3655be 122852013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
12286
12287 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12288
0b1619da
LL
122892013-03-30 Leo Liu <sdl.web@gmail.com>
12290
12291 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12292 (kmacro-execute-from-register): Pass the keyboard macro to
12293 kmacro-call-macro or repeating won't work correctly.
12294
0b938190
TZ
122952013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12296
12297 * progmodes/subword.el: Back to using `forward-symbol'.
12298
12299 * subr.el (forward-whitespace, forward-symbol)
12300 (forward-same-syntax): Move from thingatpt.el.
12301
35710234
LL
123022013-03-29 Leo Liu <sdl.web@gmail.com>
12303
12304 * kmacro.el (kmacro-to-register): New command.
12305 (kmacro-execute-from-register): New function.
12306 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12307
efc0bb73
SM
123082013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12309
12310 * mpc.el: Use defvar-local and setq-local.
12311 (mpc--proc-connect): Connection failures are not bugs.
12312 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12313 (mpc-volume-map): Bind to the up-events.
12314
75a2f981
TZ
123152013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12316
12317 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12318 instead of `forward-symbol'.
12319
17c781d1
SM
123202013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12321
12322 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12323 (edebug--recursive-edit): Use it.
12324 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12325 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12326
f67bfbcf
LL
123272013-03-28 Leo Liu <sdl.web@gmail.com>
12328
12329 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12330
b59f639d
EZ
123312013-03-27 Eli Zaretskii <eliz@gnu.org>
12332
12333 * facemenu.el (list-colors-callback): New defvar.
12334 (list-colors-redisplay): New function.
12335 (list-colors-display): Install list-colors-redisplay as the
12336 revert-buffer-function. (Bug#14063)
12337
f557c1b1
SM
123382013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12339
b1da2957
SM
12340 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12341 and suffixes don't overlap (bug#14061).
12342
f557c1b1
SM
12343 * case-table.el: Use lexical-binding.
12344 (case-table-get-table): New function.
12345 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12346
002668e1
TZ
123472013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12348
12349 * progmodes/subword.el: Add `superword-mode' to do word motion
12350 over symbol_words (parallels and leverages `subword-mode' which
12351 does word motion inside MixedCaseWords).
12352
73572c72
AG
123532013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12354
78b8f320 12355 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 12356 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 12357
69b2c07e
SM
123582013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12359
12360 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12361 Change return value to be a sexp. Delay `get-buffer' to after
12362 restoring the desktop (bug#13951).
12363
08bb5ee2
LL
123642013-03-26 Leo Liu <sdl.web@gmail.com>
12365
12366 * register.el: Move semantic tag handling back to
12367 cedet/semantic/senator.el. (Bug#14052)
12368
8d4c974e
SM
123692013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12370
12371 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12372 into the prompt either (bug#13963).
12373
b234d92c
SM
123742013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12375
12376 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12377 part of "(error-foo)".
12378
ddfa3cb4
JL
123792013-03-24 Juri Linkov <juri@jurta.org>
12380
12381 * replace.el (list-matching-lines-prefix-face): New defcustom.
12382 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12383 `occur-engine' if `face-differs-from-default-p' returns t.
12384 (occur-engine): Add `,' inside backquote construct to evaluate
12385 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12386 Pass `prefix-face' to the functions `occur-context-lines' and
12387 `occur-engine-add-prefix'.
12388 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12389 `prefix-face' and propertize the prefix with `prefix-face'.
12390 (Bug#14017)
12391
7b0e2f85
LL
123922013-03-24 Leo Liu <sdl.web@gmail.com>
12393
12394 * nxml/rng-valid.el (rng-validate-while-idle)
12395 (rng-validate-quick-while-idle): Guard against deleted buffer.
12396 (Bug#13999)
12397
12398 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12399 is the last entry in kill-buffer-hook.
12400
12401 * files.el (kill-buffer-hook): Doc fix.
12402
b3082f49
DG
124032013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12404
b234d92c
SM
12405 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12406 Make it safe-local.
bde73d27 12407
b3082f49
DG
12408 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12409
a320a2db
LL
124102013-03-23 Leo Liu <sdl.web@gmail.com>
12411
7e74b0fb
LL
12412 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12413 Remove.
12414
12415 * nxml/rng-valid.el (rng-validate-mode)
12416 (rng-after-change-function, rng-do-some-validation):
12417 * nxml/rng-maint.el (rng-validate-buffer):
12418 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12419 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12420 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12421 (nxml-extend-after-change-region): Use with-silent-modifications.
12422
a320a2db
LL
12423 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12424 timer-idle-list.
12425
12426 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12427 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12428 timer-idle-list. (Bug#13999)
12429
e38e6780
JL
124302013-03-23 Juri Linkov <juri@jurta.org>
12431
12432 * info.el (info-index-match): New face.
12433 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12434 main pattern and add text properties with the new face to matches
12435 in index entries relative to the beginning of the index entry.
12436 (Bug#14015)
12437
e8cc7880
DE
124382013-03-21 Eric Ludlam <zappo@gnu.org>
12439
39c87140 12440 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
12441 Inhibit read only while inserting objects.
12442
9bb0d822
TZ
124432013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12444
12445 * progmodes/cfengine.el: Update docs to mention
12446 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12447 symbol motion. Remove "_" from the word syntax.
12448
aa703640
TZ
124492013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12450
12451 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12452 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12453
afff09d0
JL
124542013-03-20 Juri Linkov <juri@jurta.org>
12455
12456 * info.el (Info-next-reference-or-link)
12457 (Info-prev-reference-or-link): New functions.
12458 (Info-next-reference, Info-prev-reference): Use them.
12459 (Info-try-follow-nearest-node): Handle footnote navigation.
12460 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12461
9a1ff164
SM
124622013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12463
12464 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12465 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12466
2667d15d
PE
124672013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12468
12469 Suppress unnecessary non-ASCII chatter during build process.
12470 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12471 (batch-skkdic-convert): Suppress most of the chatter.
12472 It's not needed so much now that machines are faster,
12473 and its non-ASCII component was confusing; see Dmitry Gutov in
12474 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12475
438b0579
LL
124762013-03-20 Leo Liu <sdl.web@gmail.com>
12477
12478 * ido.el (ido-chop): Fix bug#10994.
12479
c128ab07
DG
124802013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12481
12482 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12483 Remove vars.
9a1ff164
SM
12484 (whitespace-color-on, whitespace-color-off):
12485 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 12486
0e6008c5
SM
124872013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12488
12489 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12490 remapping in mode-line.
12491 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12492
627b52b0
DG
124932013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12494
12495 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12496 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
12497 (whitespace-font-lock-keywords): Change description.
12498 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12499 the constructed keywords instead.
12500 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 12501
50c3a20b
LL
125022013-03-19 Leo Liu <sdl.web@gmail.com>
12503
12504 * progmodes/compile.el (compilation-display-error): New command.
12505 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12506 C-o. (Bug#13992)
12507
2aa2157b
PE
125082013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12509
12510 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12511
e477dbfa
JD
125122013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12513
12514 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12515
64ab82d1
MA
125162013-03-18 Michael Albinus <michael.albinus@gmx.de>
12517
12518 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12519
12520 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12521 * net/tramp-gvfs.el (top):
12522 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12523 (tramp-handle-shell-command): Use it.
12524 (tramp-dissect-file-name): Raise an error when hostname is a
12525 method name, and neither method nor user is specified.
12526
12527 * net/trampver.el: Update release number.
12528
33cef733
LL
125292013-03-18 Leo Liu <sdl.web@gmail.com>
12530
12531 Make sure eldoc can be turned off properly.
12532 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12533 eldoc-mode.
12534 (eldoc-display-message-p): Revert last change.
12535 (eldoc-display-message-no-interference-p)
12536 (eldoc-print-current-symbol-info): Tweak.
12537
2167b7b2
TH
125382013-03-18 Tassilo Horn <tsdh@gnu.org>
12539
12540 * doc-view.el (doc-view-new-window-function): Check the new window
12541 overlay's display property instead the char property of the
12542 buffer's first char. Use `with-selected-window' instead of
12543 `save-window-excursion' with `select-window'.
12544 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 12545 display property instead the char property of the buffer's first char.
2167b7b2 12546
982efbcd
PE
125472013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12548
12549 Automate the build of ja-dic.el (Bug#13984).
12550 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12551 from the input, rather than assume that it's been done for us by the
12552 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12553 the current date into a ja-dic.el comment, as that complicates
12554 regression testing.
12555
2fcc7665
SM
125562013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12557
12558 * whitespace.el: Fix double evaluation.
12559 (whitespace-space, whitespace-hspace, whitespace-tab)
12560 (whitespace-newline, whitespace-trailing, whitespace-line)
12561 (whitespace-space-before-tab, whitespace-indentation)
12562 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12563 obsolete defvars.
12564 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12565 (whitespace-color-on): Use a single font-lock-add-keywords call.
12566 Fix double-evaluation of face variables.
12567
67c0a6e6
MA
125682013-03-17 Michael Albinus <michael.albinus@gmx.de>
12569
2fcc7665
SM
12570 * net/tramp-adb.el (tramp-adb-parse-device-names):
12571 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 12572 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 12573
69489f1d
LL
125742013-03-17 Leo Liu <sdl.web@gmail.com>
12575
12576 Extend eldoc to display info in the mode-line. (Bug#13978)
12577 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12578 (eldoc-mode-line-string): New variable.
12579 (eldoc-minibuffer-message): New function.
12580 (eldoc-message-function): New variable.
12581 (eldoc-message): Use it.
12582 (eldoc-display-message-p)
2fcc7665
SM
12583 (eldoc-display-message-no-interference-p):
12584 Support eldoc-post-insert-mode.
69489f1d
LL
12585
12586 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12587 (eval-expression): Run it.
12588
9c44569e
RW
125892013-03-17 Roland Winkler <winkler@gnu.org>
12590
12591 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12592 strings in the list of return values.
12593
327f1f6f
JB
125942013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12595
12596 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12597 radix before checking for HMS forms.
12598
67ed8fcd
LL
125992013-03-16 Leo Liu <sdl.web@gmail.com>
12600
12601 * progmodes/scheme.el: Add indentation and font-locking for λ.
12602 (Bug#13975)
12603
78be8b64 126042013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
12605
12606 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12607 token before point (bug#13942).
12608
78be8b64 126092013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 12610
95b43468 12611 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 12612
98e775e6
EZ
126132013-03-16 Eli Zaretskii <eliz@gnu.org>
12614
12615 * startup.el (command-line-normalize-file-name): Fix handling of
12616 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12617 <xfq.free@gmail.com> in
12618 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12619
2edd6029
MA
126202013-03-15 Michael Albinus <michael.albinus@gmx.de>
12621
12622 Sync with Tramp 2.2.7.
12623
12624 * net/trampver.el: Update release number.
12625
d35f5864
TH
126262013-03-14 Tassilo Horn <tsdh@gnu.org>
12627
e903c210 12628 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
12629 (doc-view-insert-image): Don't modify overlay associated to
12630 non-live windows, and implement horizontal centering of image in
12631 case it's smaller than the window.
12632 (doc-view-new-window-function): Force redisplay of new windows on
12633 doc-view buffers.
d35f5864 12634
1c4a85ed
KF
126352013-03-13 Karl Fogel <kfogel@red-bean.com>
12636
12637 * saveplace.el (save-place-alist-to-file): Don't sort
12638 `save-place-alist', just pretty-print it (bug#13882).
12639
85b66a21
MA
126402013-03-13 Michael Albinus <michael.albinus@gmx.de>
12641
a020afb9
JB
12642 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12643 Check whether `default-file-name-coding-system' is bound.
12644 It isn't in XEmacs.
85b66a21 12645
175600da
SM
126462013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12647
e7f7cb1a
SM
12648 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12649 backquotes for `obsolete' (bug#13929).
12650
175600da
SM
12651 * international/mule.el (find-auto-coding): Include file name in
12652 obsolescence warning (bug#13922).
12653
ca68a22e
TZ
126542013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12655
12656 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12657 for CFEngine 3-specific indentation.
12658 (cfengine3-indent-line): Use it. Fix up category regex.
12659 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12660
940e5099
SM
126612013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12662
12663 * type-break.el (type-break-file-name):
12664 * textmodes/remember.el (remember-data-file):
12665 * strokes.el (strokes-file):
12666 * shadowfile.el (shadow-initialize):
12667 * saveplace.el (save-place-file):
12668 * ps-bdf.el (bdf-cache-file):
12669 * progmodes/idlwave.el (idlwave-config-directory):
12670 * net/quickurl.el (quickurl-url-file):
12671 * international/kkc.el (kkc-init-file-name):
12672 * ido.el (ido-save-directory-list-file):
12673 * emulation/viper.el (viper-custom-file-name):
12674 * emulation/vip.el (vip-startup-file):
12675 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12676 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12677
cc725808
PE
126782013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12679
12680 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12681 * language/thai-word.el: Switch to UTF-8.
12682
a020afb9 12683See ChangeLog.16 for earlier changes.
e3d51b27
MR
12684
12685;; Local Variables:
12686;; coding: utf-8
e3d51b27
MR
12687;; End:
12688
ba318903 12689 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
12690
12691 This file is part of GNU Emacs.
12692
12693 GNU Emacs is free software: you can redistribute it and/or modify
12694 it under the terms of the GNU General Public License as published by
12695 the Free Software Foundation, either version 3 of the License, or
12696 (at your option) any later version.
12697
12698 GNU Emacs is distributed in the hope that it will be useful,
12699 but WITHOUT ANY WARRANTY; without even the implied warranty of
12700 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12701 GNU General Public License for more details.
12702
12703 You should have received a copy of the GNU General Public License
12704 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.