* lisp/mail/emacsbug.el (report-emacs-bug):
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
ccc9f6dc
GM
12013-12-18 Glenn Morris <rgm@gnu.org>
2
3 * mail/emacsbug.el (report-emacs-bug):
4 Only mention enable-multibyte-characters if non-standard.
5
33dd8e95
JL
62013-12-17 Juri Linkov <juri@jurta.org>
7
8 * arc-mode.el (archive-extract-by-file): Check if directory exists
9 before deletion to not show irrelevant errors if it doesn't exist.
10
7a409b30
JL
112013-12-17 Juri Linkov <juri@jurta.org>
12
13 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
14 (Bug#14751)
15
16 * net/eww.el (browse-web): Add alias to `eww'.
17 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
18 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
19
20 * net/browse-url.el (browse-url-browser-function): Move `eww'
21 closer to similar functions.
22
23 * startup.el (fancy-startup-screen, fancy-about-screen):
24 Set browse-url-browser-function to eww-browse-url locally.
25 (Bug#14751)
26
2d6b6005
SM
272013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
28
29 * window.el (window--pixel-to-total): Remove unused `mini' var.
30 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
31 (split-window): Remove unused `new' var.
32 (window--display-buffer): Remove unused `frame' and `delta' vars.
33 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
34 and display-width'.
35
cf2b7efc
MR
362013-12-17 Martin Rudalics <rudalics@gmx.at>
37
38 * dired.el (dired-mark-pop-up):
39 * register.el (register-preview): Don't bind
40 split-height-threshold here since it's now done in
41 display-buffer-below-selected.
42
ed3af8a7 432013-12-17 oblique <psyberbits@gmail.com> (tiny change)
44
45 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
46 xterm-rgb-convert-to-16bit.
47 (rxvt-register-default-colors): Standardize with
48 xterm-register-default-colors (Bug#14078).
49
76da3455
DK
502013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
51
52 * simple.el (kill-region): Pass mark first, then point, so that
53 kill-append works right (Bug#12819).
54 (copy-region-as-kill, kill-ring-save): Likewise.
55
2b84d763
LL
562013-12-17 Leo Liu <sdl.web@gmail.com>
57
58 * net/rcirc.el (rcirc-add-face):
59 * eshell/em-prompt.el (eshell-emit-prompt):
60 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
61 (Bug#16167)
62
e2f6a0bc
CY
632013-12-17 Chong Yidong <cyd@gnu.org>
64
65 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
66 Suggested by Xue Fuqiao.
67
35b249a6
DG
682013-12-17 Dmitry Gutov <dgutov@yandex.ru>
69
70 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
71
e9145444
SM
722013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
73
74 * net/shr.el (shr-insert-document): Remove unused var
75 `shr-preliminary-table-render'.
76 (shr-rescale-image): Remove unused arg `force'.
77 (shr-put-image): Update calls accordingly.
78 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
79
5556c0ce
DG
802013-12-17 Dmitry Gutov <dgutov@yandex.ru>
81
82 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
83 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
84 :close-all, to see which indentation method to use (Bug#16116).
85 (smie-rules-function): Document the method :close-all.
86
11bade0a
LMI
872013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
88
1c4b1e61
LMI
89 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
90
11bade0a
LMI
91 * net/eww.el (eww-display-html): If we can't find the anchor we're
92 looking for, then go to point-min.
93
8fb8c4f3
PE
942013-12-16 Paul Eggert <eggert@cs.ucla.edu>
95
96 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
97 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
98 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
99 Expand dir too, in case it's relative.
100
6c8e0ae6
JL
1012013-12-16 Juri Linkov <juri@jurta.org>
102
103 * desktop.el (desktop-auto-save-timeout): Change default to
104 `auto-save-timeout'. Doc fix.
105 (desktop-save): Skip the timestamp in desktop-saved-frameset
106 when checking for auto-save changes.
107 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
108 `desktop-auto-save' is called repeatedly by the idle timer.
109 (desktop-auto-save-set-timer): Replace `run-with-timer' with
110 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
111 (Bug#15331)
112
2178e858
JL
1132013-12-16 Juri Linkov <juri@jurta.org>
114
115 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
116 (Bug#16035)
117 (isearch-pre-command-hook): Check `this-command' for symbolp.
118
39cb42c6
SM
1192013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
120
121 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
122
5b9b750a
TZ
1232013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
124
125 * progmodes/cfengine.el (cfengine3--current-word): Remove.
126 (cfengine3--current-function): Bring in the current-function
127 functionality from `cfengine3--current-word'.
128 (cfengine3-completion-function): Bring in the
129 bounds-of-current-word functionality from
130 `cfengine3--current-word'.
131
d144ef06
MR
1322013-12-16 Martin Rudalics <rudalics@gmx.at>
133
39cb42c6
SM
134 * window.el (display-buffer-below-selected):
135 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 136
a8bbe298
LL
1372013-12-16 Leo Liu <sdl.web@gmail.com>
138
139 * progmodes/compile.el (compile-goto-error): Do not push-mark.
140 Remove NOMSG arg and all uses changed.
141
2013a2f9
SM
1422013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
143
144 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
145 (cua--deactivate-rectangle): Don't deactivate the mark.
146 (cua-set-rectangle-mark): Don't set mark-active since
147 cua--activate-rectangle already does it for us.
148 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
149 non-rectangular region.
150
151 * emulation/cua-base.el (cua-repeat-replace-region):
152 Use with-current-buffer.
153
154 * net/gnutls.el: Use cl-lib.
155 (gnutls-negotiate): `mapcan' -> cl-mapcan.
156
5ae811dd
TZ
1572013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
158
159 * emacs-lisp/package.el (package-built-in-p): Support both
160 built-in and the package.el converted package descriptions.
161 (package-show-package-list): Allow keywords.
162 (package-keyword-button-action): Use it instead of
163 `finder-list-matches'.
164 (package-menu-filter-interactive): Interactive filtering (by
165 keyword) function.
166 (package-menu--generate): Support keywords and change keymappings
167 and headers when they are given.
168 (package--has-keyword-p): Helper function.
169 (package-menu--refresh): Use it.
170 (package--mapc): Helper function.
171 (package-all-keywords): Use it.
172 (package-menu-mode-map): Set up menu items and keybindings to
173 provide a filtering UI.
174
31b4827e
TZ
1752013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
176
177 * net/gnutls.el (gnutls-verify-error): New defcustom to control
178 the behavior when a certificate fails validation. Defaults to
179 old behavior: never abort, just warn.
180 (gnutls-negotiate): Use it.
181
f93cc74f
MR
1822013-12-14 Martin Rudalics <rudalics@gmx.at>
183
184 * window.el (display-buffer-below-selected): Never split window
185 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
186
f77d7d17
TW
1872013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
188
189 * emacs-lisp/package.el (package--prepare-dependencies): New function.
190 (package-buffer-info): Use it (bug#15108).
aa2bddd7
SM
191
192 * icomplete.el (icomplete-completions): Make sure the prefix is already
193 displayed elsewhere before hiding it.
194
276bc333
DG
1952013-12-14 Dmitry Gutov <dgutov@yandex.ru>
196
197 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
198 open-paren tokens when preceded by a open-paren, too.
199 (ruby-smie-rules): Handle virtual indentation after open-paren
200 tokens specially. If there is code between it and eol, return the
201 column where is starts (Bug#16118).
202
d43957f3
TZ
2032013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
204
a5c1ac0c 205 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 206 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
207 (cfengine3--current-word): Fix parameters.
208 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
209 (cfengine3-completion-function, cfengine3--current-function):
210 Use `assq' for symbols.
d43957f3
TZ
211 (cfengine3--current-function): Fix `cfengine3--current-word' call.
212
06a4f110
GM
2132013-12-13 Glenn Morris <rgm@gnu.org>
214
215 * loadup.el (load-path): Warn if site-load or site-init changes it.
216 No more need to reset it when bootstrapping.
217
978a5fda
TZ
2182013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
219
220 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
221 locations for cf-promises.
222 (cfengine-mode-syntax-functions-regex): New caching variable.
223 (cfengine3-fallback-syntax): Fallback syntax for cases where
224 cf-promises doesn't run.
225 (cfengine3--current-word): Reimplement using
226 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
227 (cfengine3-completion-function, cfengine3--current-function):
228 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
229 (cfengine3-clear-syntax-cache): New function.
230 (cfengine3-make-syntax-cache): Simplify and create
231 `cfengine-mode-syntax-functions-regex' on demand.
232 (cfengine3-format-function-docstring): Don't call
233 `cfengine3-make-syntax-cache' explicitly.
234
71e6691e
MR
2352013-12-13 Martin Rudalics <rudalics@gmx.at>
236
237 Fix windmove-find-other-window broken after pixelwise resizing
238 (Bug#16017).
239 * windmove.el (windmove-other-window-loc): Revert change from
240 2013-12-04.
241 (windmove-find-other-window): Call window-in-direction.
242 * window.el (window-in-direction): New arguments SIGN, WRAP and
243 MINI to emulate original windmove-find-other-window behavior.
244
84c73ba0
DG
2452013-12-13 Dmitry Gutov <dgutov@yandex.ru>
246
247 * simple.el (blink-matching--overlay): New variable.
248 (blink-matching-open): Instead of moving point, highlight the
249 matching paren with an overlay
250 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
251
252 * faces.el (paren-showing-faces, show-paren-match)
253 (show-paren-mismatch): Move from paren.el.
254
b9e20952
LL
2552013-12-13 Leo Liu <sdl.web@gmail.com>
256
257 * indent.el (indent-region): Disable progress reporter in
258 minibuffer. (Bug#16108)
259
260 * bindings.el (visual-order-cursor-movement): Fix version.
261
ce030451
FEG
2622013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
263
264 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
265 Also match after beginning of line.
266 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
267 files. Thanks to Russell Sim. (Bug#15378)
268
4a9c6865
JL
2692013-12-13 Juri Linkov <juri@jurta.org>
270
271 * simple.el <Keypad support>: Remove key bindings duplicated
272 with bindings.el. (Bug#14397)
273
2bc170c3
JL
2742013-12-13 Juri Linkov <juri@jurta.org>
275
276 * comint.el (comint-mode-map): Replace `delete-char' with
277 `delete-forward-char'. (Bug#16109)
278
bc9222c9
FEG
2792013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
280
aa2bddd7
SM
281 * progmodes/python.el (python-indent-calculate-indentation):
282 Fix de-denters cornercase. (Bug#15731)
bc9222c9 283
cb3a1380
SM
2842013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
285
286 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
287 (advice--make): Pay attention to `depth'.
288 (advice--make-1): Don't autoload commands eagerly.
289 * emacs-lisp/elp.el (elp-instrument-function):
290 * emacs-lisp/trace.el (trace-function-internal):
291 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
292
293 * iswitchb.el (iswitchb-mode): Don't belittle ido.
294
01633a17
EZ
2952013-12-12 Eli Zaretskii <eliz@gnu.org>
296
297 * term/w32-win.el (w32-handle-dropped-file):
298 * startup.el (normal-top-level):
299 * net/browse-url.el (browse-url-file-url):
300 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
301 decode file names using 'utf-8' rather than
302 file-name-coding-system.
303
09faee72
FEG
3042013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
305
306 * progmodes/python.el (python-indent-context)
307 (python-indent-calculate-indentation): Fix auto-identation
308 behavior for comment blocks. (Bug#15916)
309
f4f84024 3102013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 311
cb3a1380
SM
312 * progmodes/python.el (python-indent-calculate-indentation):
313 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
314 operators when they are just string constituents. (Bug#15812)
315
d5ccb7be
JL
3162013-12-12 Juri Linkov <juri@jurta.org>
317
318 * uniquify.el (uniquify-buffer-name-style): Change default to
319 `post-forward-angle-brackets'.
320
321 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
322 `uniquify'. Change default to `post-forward-angle-brackets'.
323
7b3f5679
GM
3242013-12-11 Glenn Morris <rgm@gnu.org>
325
326 * emacs-lisp/package.el (finder-list-matches):
327 Autoload rather than falsely declaring.
328
f4fe8fdd
TZ
3292013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
330
331 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
332 (eww-mode-map): Use them.
333
3c29190f
MR
3342013-12-11 Martin Rudalics <rudalics@gmx.at>
335
336 * window.el (display-buffer-in-side-window): Fix doc-string
337 (Bug#16115).
338
0cd616a2
JB
3392013-12-11 Juanma Barranquero <lekktu@gmail.com>
340
341 * vc/vc-git.el: Silence byte-compiler warnings.
342 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
343 (log-edit-set-header): Declare.
344
3ef8e0d1
EZ
3452013-12-11 Eli Zaretskii <eliz@gnu.org>
346
347 * Makefile.in (custom-deps, finder-data): Run output file names
348 through unmsys--file-name. (Bug#16099)
349
afdadaf7
SM
3502013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
351
7ae3ae39 352 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 353 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 354
5b4f37ab
SM
355 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
356 instead of deleting the selection "by hand" (bug#16098).
357 Rely on insert-for-yank to yank rectangles.
358 (cua-highlight-region-shift-only): Mark obsolete.
359 (cua-mode): Don't enable/disable transient-mark-mode,
360 shift-select-mode (cua-mode works both with and without them), and
361 pc-selection-mode (obsolete).
362 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
363 (cua--deactivate-rectangle): Deactivate it.
364
4b72c12b
SM
365 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
366 (delete-selection-helper): Make sure yank starts at the top of the
367 deleted region.
368 (minibuffer-keyboard-quit): Use region-active-p.
369
e82af72d
SM
370 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
371
afdadaf7
SM
372 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
373 to `delete' (bug#16109).
374
ed4bc201
RS
3752013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
376
377 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
378 info manual and show keybindings and set `:group' keyword.
379
bb8097b9
JL
3802013-12-11 Juri Linkov <juri@jurta.org>
381
382 * delsel.el (delete-active-region): Let-bind `this-command'
383 to prevent `kill-region' from changing its original value.
384 (delete-selection-helper): Handle `overwrite-mode' for the type
385 `kill' exactly the same way as for the type `t'.
386 (insert-char, quoted-insert, reindent-then-newline-and-indent):
387 Support more commands. (Bug#13312)
388
c1916ff5
JL
3892013-12-11 Juri Linkov <juri@jurta.org>
390
391 * bindings.el: Map kp keys to non-kp keys systematically
392 with basic modifiers control, meta and shift. (Bug#14397)
393
b68cf43c
KN
3942013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
395
396 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
397 "Close browser" menu items. Fix wrong function of "List
398 bookmarks".
399
4cc51eaf
JL
4002013-12-11 Juri Linkov <juri@jurta.org>
401
402 * misearch.el (multi-isearch-buffers): Set the value of
403 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
404 arg of isearch-forward to t.
405 (multi-isearch-buffers-regexp): Set the value of
406 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
407 arg of isearch-forward-regexp to t.
408 (multi-isearch-files): Set the value of
409 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
410 arg of isearch-forward to t.
411 (multi-isearch-files-regexp): Set the value of
412 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
413 arg of isearch-forward-regexp to t. (Bug#16035)
414
415 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
416 arg of isearch-forward to t.
417 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
418 arg of isearch-forward-regexp to t.
419 (dired-isearch-filter-filenames): Remove unnecessary check for
420 `dired-isearch-filenames'.
421
422 * comint.el (comint-history-isearch-backward):
423 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
424 (comint-history-isearch-backward-regexp):
425 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
426
ceac12b7
EZ
4272013-12-10 Eli Zaretskii <eliz@gnu.org>
428
429 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
430 unmsys--file-name. (Bug#16099)
431
5a565782
TZ
4322013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
433
cb3a1380
SM
434 * emacs-lisp/package.el (package-keyword-button-action):
435 Remove finder.el require dependency.
5a565782 436
a81fc7ba
TZ
4372013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
438
439 * emacs-lisp/package.el: Require finder.el.
440 (describe-package-1): Add keyword buttons.
441 (package-make-button): New convenience function.
442 (package-keyword-button-action): Keyword button action using
443 `finder-list-matches'
444
6aaca951
EZ
4452013-12-09 Eli Zaretskii <eliz@gnu.org>
446
447 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
448 last commit.
449
a1099a91
MA
4502013-12-09 Michael Albinus <michael.albinus@gmx.de>
451
452 * autorevert.el (auto-revert-notify-add-watch): Do not handle
453 symlinked files.
454
8212d9c0
DG
4552013-12-09 Dmitry Gutov <dgutov@yandex.ru>
456
457 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
458 after the end of a percent literal.
459
8f48d131
CD
4602013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
461
cb3a1380
SM
462 * progmodes/ruby-mode.el (ruby-forward-string): Document.
463 Handle caret-delimited strings (Bug#16079).
8f48d131 464
ff8c9764
DG
4652013-12-09 Dmitry Gutov <dgutov@yandex.ru>
466
cb3a1380
SM
467 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
468 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
469 `ruby-parse-partial' (Bug#16078).
470
d64643b4
LL
4712013-12-09 Leo Liu <sdl.web@gmail.com>
472
473 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
474
47e59c66
DG
4752013-12-08 Dmitry Gutov <dgutov@yandex.ru>
476
477 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
478 (js-switch-indent-offset): New option.
479 (js--proper-indentation): Use it. And handle the case when
480 "default" is actually a key in an object literal.
481 (js--same-line): New function.
482 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
483 (js--indent-in-array-comp, js--array-comp-indentation):
484 New functions.
47e59c66
DG
485 (js--proper-indentation): Use them, to handle array comprehension
486 continuations.
487
974ebc9c
LL
4882013-12-08 Leo Liu <sdl.web@gmail.com>
489
490 * progmodes/flymake.el (flymake-highlight-line): Re-write.
491 (flymake-make-overlay): Remove arg MOUSE-FACE.
492 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
493
27262e39
SM
4942013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
495
496 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
497 New function.
498 (redisplay-highlight-region-function): Use it.
499
500 * emulation/cua-base.el (cua--explicit-region-start)
501 (cua--last-region-shifted): Remove.
502 (cua--deactivate): Use deactivate-mark.
503 (cua--pre-command-handler-1): Don't handle shift-selection.
504 (cua--post-command-handler-1): Don't change transient-mark-mode.
505 (cua--select-keymaps): Use region-active-p rather than
506 cua--explicit-region-start or cua--last-region-shifted.
507 (cua-mode): Enable shift-select-mode.
508
6407822c
LL
5092013-12-08 Leo Liu <sdl.web@gmail.com>
510
27262e39
SM
511 * progmodes/flymake.el (flymake-popup-current-error-menu):
512 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
513 (flymake-posn-at-point-as-event, flymake-popup-menu)
514 (flymake-make-emacs-menu): Remove. (Bug#16077)
515
00a2b823
SM
5162013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
517
02033d49
SM
518 * rect.el (rectangle-mark-mode): Activate mark even if
519 transient-mark-mode is off (bug#16066).
520 (rectangle--highlight-for-redisplay): Fix boundary condition when point
521 is > mark and at bolp.
522
6f8dfccf
SM
523 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
524 (region-extract-function): Use it.
525 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
526 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
527 Delete functions.
528 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
529 kill-ring-save, kill-region, delete-char, delete-forward-char.
530 Ignore self-insert-iso.
531
532 * emulation/cua-gmrk.el (cua--init-global-mark):
533 Ignore `self-insert-iso'.
534
535 * emulation/cua-base.el (cua--prefix-copy-handler)
536 (cua--prefix-cut-handler): Rely on region-extract-function rather than
537 checking cua--rectangle.
538 (cua-delete-region): Use region-extract-function.
539 (cua-replace-region): Delete function.
540 (cua-copy-region, cua-cut-region): Obey region-extract-function.
541 (cua--pre-command-handler-1): Don't do the delete-selection thing.
542 (cua--self-insert-char-p): Ignore `self-insert-iso'.
543 (cua--init-keymaps): Don't remap delete-selection commands.
544 (cua-mode): Use delete-selection-mode instead of rolling our own
545 (bug#16085).
546
547 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
548 Obey region-extract-function.
549
00a2b823
SM
550 Make registers and delete-selection-mode work on rectangles.
551 * register.el (describe-register-1): Don't modify the register's value.
552 (copy-to-register): Obey region-extract-function.
553 * delsel.el (delete-active-region): Obey region-extract-function.
554
a92fa5f1
LL
5552013-12-08 Leo Liu <sdl.web@gmail.com>
556
557 * progmodes/flymake.el (flymake, flymake-error-bitmap)
558 (flymake-warning-bitmap, flymake-fringe-indicator-position)
559 (flymake-compilation-prevents-syntax-check)
560 (flymake-start-syntax-check-on-newline)
561 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
562 (flymake-start-syntax-check-on-find-file, flymake-log-level)
563 (flymake-xml-program, flymake-master-file-dirs)
564 (flymake-master-file-count-limit)
565 (flymake-allowed-file-name-masks): Relocate.
566 (flymake-makehash, flymake-float-time)
567 (flymake-replace-regexp-in-string, flymake-split-string)
568 (flymake-get-temp-dir): Remove.
569 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
570 (flymake-current-row, flymake-selected-frame)
571 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
572 related functions. (Bug#16077)
573
73c8ceea
BB
5742013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
575
576 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
577
faec28d9
TH
5782013-12-07 Tassilo Horn <tsdh@gnu.org>
579
580 * help-fns.el (describe-function-1): Use new advice-* functions
581 rather than old ad-* functions. Fix function type description and
582 source links for advised functions and subrs.
583
e330b646
LMI
5842013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
585
00a2b823 586 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 587
4803595d
MA
5882013-12-06 Michael Albinus <michael.albinus@gmx.de>
589
590 * progmodes/compile.el (compilation-start):
591 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
592
593 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
594 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
595
fa834a93
DG
5962013-12-06 Dmitry Gutov <dgutov@yandex.ru>
597
00a2b823
SM
598 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
599 Touch up the last change.
fa834a93 600
b2856a6f
LL
6012013-12-06 Leo Liu <sdl.web@gmail.com>
602
603 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
604 (inferior-octave-startup): Always use "octave> " for prompt.
605 (octave-goto-function-definition)
606 (octave-sync-function-file-names)
607 (octave-find-definition-default-filename): Remove redundant backquotes.
608
af67e79a
DG
6092013-12-06 Dmitry Gutov <dgutov@yandex.ru>
610
611 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
612 syntax for `?'.
613 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
614 where appropriate already.
615 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
616 end of method names (Bug#15874).
617
bf093209
JL
6182013-12-06 Juri Linkov <juri@jurta.org>
619
620 * isearch.el (isearch--saved-overriding-local-map):
621 New internal variable.
622 (isearch-mode): Set it to the initial value of
623 `overriding-terminal-local-map'.
624 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
625 with `isearch--saved-overriding-local-map'. (Bug#16035)
626
16588fad
DG
6272013-12-06 Dmitry Gutov <dgutov@yandex.ru>
628
00a2b823
SM
629 * progmodes/octave.el (inferior-octave-completion-table):
630 Turn back into function, use `completion-table-with-cache'
16588fad
DG
631 (Bug#11906). Update all references.
632
633 * minibuffer.el (completion-table-with-cache): New function.
634
bf4906d7
CD
6352013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
636
637 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
638
ff69c18f
TZ
6392013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
640
641 * net/eww.el (eww-current-source): New variable to store page
642 source.
643 (eww-display-html, eww-mode, eww-save-history)
644 (eww-restore-history): Use it.
645 (eww-view-source): New command to view page source.
646 Opportunistically uses `html-mode' to highlight the buffer.
647 (eww-mode-map): Install it.
648
b85eff45
MA
6492013-12-05 Michael Albinus <michael.albinus@gmx.de>
650
651 * net/dbus.el (dbus-unregister-service)
652 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
653 Fix docstring.
654 (dbus-unregister-service): Skip :serial entries in
655 `dbus-registered-objects-table'.
656 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
657
39eb0899
TZ
6582013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
659
660 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
661 around keywords with extra `split-string' argument.
662
456760a5
MR
6632013-12-04 Martin Rudalics <rudalics@gmx.at>
664
665 * windmove.el (windmove-other-window-loc): Handle navigation
666 between windows (excluding the minibuffer window - Bug#16017).
667
81961e4c
MA
6682013-12-04 Michael Albinus <michael.albinus@gmx.de>
669
670 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
671 in D-Bus type syntax.
672 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
673 preserve unibyte strings. (Bug#16048)
674
8497f938
SM
6752013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
676
677 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
678 Call force-mode-line-update is the proper buffer (bug#16042).
679
dda61916
DG
6802013-12-04 Dmitry Gutov <dgutov@yandex.ru>
681
682 * vc/log-edit.el (log-edit-add-new-comment): Rename to
683 `log-edit-remember-comment', make argument optional. Adjust all
684 callers.
685 (log-edit-mode): Add `log-edit-remember-comment' to
686 `kill-buffer-hook' locally.
687 (log-edit-kill-buffer): Don't remember comment explicitly since
688 the buffer is killed anyway.
689
c085e5b9
JL
6902013-12-04 Juri Linkov <juri@jurta.org>
691
692 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
693 add-hook and remove-hook for multi-buffer search. (Bug#16035)
694
d6f2380e
TR
6952013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
696
697 * notifications.el (notifications-close-notification): Call the
81961e4c 698 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 699
39fa32d6
KY
7002013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
701
702 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
703
9139632a
JL
7042013-12-03 Juri Linkov <juri@jurta.org>
705
706 * progmodes/compile.el (compilation-start): Rename window alist
707 entry `no-display-ok' to `allow-no-window'.
708
709 * simple.el (shell-command): Add window alist entry
710 `allow-no-window' to `display-buffer'.
711 (async-shell-command): Doc fix.
712
713 * window.el (display-buffer-no-window): New action function.
714 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
715
0f457a37
DG
7162013-12-02 Dmitry Gutov <dgutov@yandex.ru>
717
718 * vc/log-edit.el (log-edit-set-header): Extract from
719 `log-edit-toggle-header'.
720 (log-edit-extract-headers): Separate the summary, when extracted
721 from header, from the rest of the message with an empty line.
722
723 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
724 line, if present, to the Summary header.
725
0962f376
SM
7262013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
727
728 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
729 in current-buffer (bug#16029).
730
f345395c
HE
7312013-12-02 Helmut Eller <eller.helmut@gmail.com>
732
733 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
734 (debugger-mode-map): Bind it.
735 (debugger--backtrace-base): New function.
736 (debugger-eval-expression): Use it.
737 (debugger-frame-number): Skip local vars when present.
738 (debugger--locals-visible-p, debugger--insert-locals)
739 (debugger--show-locals, debugger--hide-locals): New functions.
740
a8a15d9d
MA
7412013-12-02 Michael Albinus <michael.albinus@gmx.de>
742
743 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
744 "LC_ALL".
745 (tramp-get-remote-locale): New defun.
746 (tramp-open-connection-setup-interactive-shell): Use it.
747
0518b057
LL
7482013-12-02 Leo Liu <sdl.web@gmail.com>
749
750 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
751
752 * progmodes/sh-script.el (sh-shell-process):
753 * progmodes/octave.el (inferior-octave-process-live-p):
754 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
755 (gdb-inferior-io-sentinel):
756 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
757
3adc9c6d
DG
7582013-12-02 Dmitry Gutov <dgutov@yandex.ru>
759
760 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
761 `save-selected-window' to `log-edit-hide-buf'. This makes
762 `log-edit-show-files' idempotent.
763 (log-edit-show-files): Mark the new window as dedicated.
764
47e8b74e
DG
7652013-12-02 Dmitry Gutov <dgutov@yandex.ru>
766
767 * vc/log-edit.el (log-edit-mode-map): Add binding for
768 `log-edit-kill-biffer'.
769 (log-edit-hide-buf): Add a FIXME comment.
770 (log-edit-add-new-comment): New function, extracted from
771 `log-edit-done'.
772 (log-edit-done, log-edit-add-to-changelog): Use it.
773 (log-edit-kill-buffer): New command.
774
1f6e1bb0
LMI
7752013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
776
777 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
778 instead of killing the buffer.
779
fb651d15
SM
7802013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
781
782 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
783
8feacce0
RS
7842013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
785
fb651d15 786 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 787 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
788 (eww-form-checkbox, eww-toggle-checkbox):
789 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
790
791 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
792 (shr--get-media-pref, shr--extract-best-source): New function.
ad9a773c
RS
793 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
794 no :src tag was specified.
795
fb651d15 796 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
797 (eww-render): Handle `eww-use-external-browser-for-content-type'.
798 Use \\` to match beginning of string instead of ^.
799 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 800 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 801
177948a5
RS
802 * net/shr.el (shr-tag-video): Display content for video if no
803 poster is available.
eb2dd24d 804 (shr-tag-audio): Add support for <audio> tag.
177948a5
RS
805
806 * net/eww.el (eww-text-input-types): : New const.
807 (eww-process-text-input): Treat input types in
808 `eww-text-input-types' as text.
809
8feacce0
RS
810 * net/shr.el (shr-tag-table): Fix comment typo.
811
513562a1
LMI
8122013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
813
814 * net/eww.el (eww-follow-link): New command to avoid reloading
815 pages when we follow #target links (bug#15243).
de8a5633 816 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 817
9dd99753
KN
8182013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
819
820 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
821 forms.
822
3e9876de
LMI
8232013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
824
825 * net/eww.el (eww-restore-history): Update the window title after
826 moving in the history.
ab6dea82 827 (eww-current-dom): New variable used to save the current DOM.
3e9876de 828
52789f7f
DG
8292013-12-01 Dmitry Gutov <dgutov@yandex.ru>
830
831 * vc/log-edit.el (log-edit-mode-map): Add binding for
832 `log-edit-beginning-of-line'.
833 (log-edit-setup-add-author): New user option.
834 (log-edit-beginning-of-line): New command.
835 (log-edit): Move major mode call above the contents setup so that
836 the local variable values are already applied.
837 (log-edit): Only insert "Author: " when
838 `log-edit-setup-add-author' is non-nil.
839 (log-edit): When SETUP is non-nil, position point after ": "
840 instead of point-min.
841
2e6710c3
GM
8422013-12-01 Glenn Morris <rgm@gnu.org>
843
844 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
845
fadec31f
EZ
8462013-11-30 Eli Zaretskii <eliz@gnu.org>
847
848 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 849 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
850 visible. (Bug#16014)
851
10634b40 8522013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
853
854 Support resizing frames and windows pixelwise.
855 * cus-start.el (frame-resize-pixelwise)
856 (window-resize-pixelwise): New entries.
857 * emacs-lisp/debug.el (debug): Use window-total-height instead
858 of window-total-size.
859 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
860 * help.el (describe-bindings-internal): Call help-buffer
861 (temp-buffer-max-width): New option.
862 (resize-temp-buffer-window, help-window-setup)
863 (with-help-window): Rewrite.
864 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
865 dragging dividers.
866 * window.el (frame-char-size, window-min-pixel-height)
867 (window-safe-min-pixel-height, window-safe-min-pixel-width)
868 (window-min-pixel-width, window-safe-min-pixel-size)
869 (window-combination-p, window-safe-min-size)
870 (window-resizable-p, window--size-to-pixel)
871 (window--pixel-to-size, window--resize-apply-p): New functions.
872 (window-safe-min-height): Fix doc-string.
873 (window-size, window-min-size, window--min-size-1)
874 (window-sizable, window-sizable-p, window--min-delta-1)
875 (window-min-delta, window--max-delta-1, window-max-delta)
876 (window--resizable, window--resizable-p, window-resizable)
877 (window-full-height-p, window-full-width-p, window-at-side-p)
878 (window--in-direction-2, window-in-direction)
879 (window--resize-reset-1, window--resize-mini-window)
880 (window-resize, window-resize-no-error)
881 (window--resize-child-windows-normal)
882 (window--resize-child-windows, window--resize-siblings)
883 (window--resize-this-window, window--resize-root-window)
884 (window--resize-root-window-vertically)
885 (adjust-window-trailing-edge, enlarge-window, shrink-window)
886 (maximize-window, minimize-window, delete-window)
887 (quit-restore-window, window-split-min-size, split-window)
888 (balance-windows-2, balance-windows)
889 (balance-windows-area-adjust, balance-windows-area)
890 (window--state-get-1, window-state-get, window--state-put-1)
891 (window--state-put-2, window-state-put)
fb651d15
SM
892 (display-buffer-record-window, window--display-buffer):
893 Make functions handle pixelwise sizing of windows.
880e6158 894 (display-buffer--action-function-custom-type)
fb651d15
SM
895 (display-buffer-fallback-action):
896 Add display-buffer-in-previous-window.
880e6158
MR
897 (display-buffer-use-some-window): Resize window to height it had
898 before.
899 (fit-window-to-buffer-horizontally): New option.
900 (fit-frame-to-buffer): Describe new values.
901 (fit-frame-to-buffer-bottom-margin): Replace with
902 fit-frame-to-buffer-margins.
903 (window--sanitize-margin): New function.
904 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
905 using window-text-pixel-size.
906
f9b697dd
GM
9072013-11-30 Glenn Morris <rgm@gnu.org>
908
3e2fb4db
GM
909 * emacs-lisp/bytecomp.el (byte-compile-form):
910 Make the `interactive-only' warning like the `obsolete' one.
911 * comint.el (comint-run):
912 * files.el (insert-file-literally, insert-file):
913 * replace.el (replace-string, replace-regexp):
914 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
915 (goto-line, insert-buffer, next-line, previous-line):
916 Tweak `interactive-only' spec.
917
f9b697dd
GM
918 Stop keeping (most) generated cedet grammar files in the repository.
919 * Makefile.in (semantic): New.
920 (compile-main): Depend on semantic.
921
da048127
SM
9222013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
923
7784b779
SM
924 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
925 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
926
4e36a6a6
SM
927 * uniquify.el (uniquify-buffer-name-style): Change default.
928
929 * loadup.el: Preload "uniquify".
930
e0ba1308
SM
931 * time.el (display-time-update): Update all mode lines (bug#15999).
932
da048127
SM
933 * electric.el (electric-indent-mode): Enable by default.
934 * loadup.el: Preload "electric".
935
015b3b3e
BB
9362013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
937
938 * emacs-lisp/helpers.el (string-empty-p): New function.
939 (string-blank-p): New function.
940
7efb806d
AP
9412013-11-29 Andreas Politz <politza@hochschule-trier.de>
942
943 * imenu.el (imenu--index-alist): Add missing dot to the docstring
944 (Bug#14029).
945
c8f0efc2
AP
9462013-11-29 Andreas Politz <politza@fh-trier.de>
947 * imenu.el (imenu--subalist-p): Don't error on non-conses and
948 allow non-lambda lists as functions.
949 (imenu--in-alist): Don't recurse into non-subalists.
950 (imenu): Don't pass function itself as an argument (Bug#14029).
951
bd15d9d1
SM
9522013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
953
954 * progmodes/python.el (python-mode-map): Remove binding for ":".
955 (python-indent-electric-colon): Remove command.
956 (python-indent-post-self-insert-function): Integrate the previous code
957 of python-indent-electric-colon. Make it conditional on
958 electric-indent-mode.
959 (python-mode): Add ?: to electric-indent-chars.
960 Move python-indent-post-self-insert-function to the end of
961 post-self-insert-hook.
962
1b10adb6
SM
9632013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
964
655ab9a3
SM
965 * doc-view.el (doc-view-goto-page): Update mode-line.
966
1b10adb6
SM
967 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
968
7e3bf78c
GM
9692013-11-27 Glenn Morris <rgm@gnu.org>
970
971 * international/charprop.el, international/uni-bidi.el:
972 * international/uni-category.el, international/uni-combining.el:
973 * international/uni-comment.el, international/uni-decimal.el:
974 * international/uni-decomposition.el, international/uni-digit.el:
975 * international/uni-lowercase.el, international/uni-mirrored.el:
976 * international/uni-name.el, international/uni-numeric.el:
977 * international/uni-old-name.el, international/uni-titlecase.el:
978 * international/uni-uppercase.el:
979 Remove generated files from VCS repository.
980
fb6a5d68
EZ
9812013-11-27 Eli Zaretskii <eliz@gnu.org>
982
983 * filenotify.el (file-notify-add-watch): Don't special-case
984 w32notify when computing the directory to watch.
985
cb6c95a3
GM
9862013-11-27 Glenn Morris <rgm@gnu.org>
987
20372d0c
GM
988 Make bootstrap without generated uni-*.el files possible again.
989 * loadup.el: Update command-line-args checking for unidata-gen.
990 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
991 * composite.el, international/characters.el:
992 Handle unicode tables being undefined.
993
52d6635f 994 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
995 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
996 (compile-main): Depend on leim rule.
997 (leim): New rule.
998 * loadup.el: Move leim-list.el to leim/ subdirectory.
999 * startup.el (normal-top-level): No more leim directory.
1000 * international/ja-dic-cnv.el (skkdic-convert):
1001 Disable version-control and autoloads in output files.
1002 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1003 Disable version-control and autoloads in output files.
1004 * leim/quail: Move here from ../leim.
1005 * leim/quail/hangul.el (hangul-input-method-activate):
1006 Add autoload cookie.
1007 (generated-autoload-load-name): Set file-local value.
1008 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1009 (generated-autoload-load-name): Set file-local value.
1010
0449d6cd 10112013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee
TZ
1012
1013 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1014 (eww-add-bookmark): ask confirmation when add to bookmarks
1015 (eww-quit): ask confirmation before quitting eww
1016
0e2c793f
EZ
10172013-11-26 Eli Zaretskii <eliz@gnu.org>
1018
1019 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1020 reading output from Diff on MS-Windows and MS-DOS.
1021
447bdcb8
BB
10222013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1023
1024 * emacs-lisp/helpers.el (string-reverse): New function.
1025
5fbf6856
MA
10262013-11-26 Michael Albinus <michael.albinus@gmx.de>
1027
1028 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1029 names on MS Windows, like "/[::1]:".
1030
1031 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1032 SWITCHES.
1033
624780f0
GM
10342013-11-26 Glenn Morris <rgm@gnu.org>
1035
0bf3f0fa
GM
1036 * progmodes/python.el (python-indent-guess-indent-offset):
1037 Avoid corner-case error. (Bug#15975)
1038
624780f0
GM
1039 Preload leim-list.el. (Bug#4789)
1040 * loadup.el: Load leim-list.el when found.
1041 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1042
4301875e 10432013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
1044
1045 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1046
4301875e
BB
1047 * emacs-lisp/helpers.el (string-join): New function.
1048
1633a815 10492013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
1050
1051 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1052 Mark as obsolete and replace it with a symbol property.
1053 (byte-compile-form): Use new 'interactive-only property.
1054 * comint.el, files.el, replace.el, simple.el:
1055 Apply new 'interactive-only properly.
1056
00139435
MR
10572013-11-25 Martin Rudalics <rudalics@gmx.at>
1058
1059 * window.el (display-buffer-at-bottom): Make sure that
1060 split-window-sensibly creates the new window on bottom
1061 (Bug#15961).
1062
5f5b128d
DK
10632013-11-23 David Kastrup <dak@gnu.org>
1064
1065 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1066 on the conflict markers when available.
1067 (smerge--get-marker): New function.
1068 (smerge-end-re, smerge-base-re): Add subgroup.
1069
623891e5
SM
10702013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1071
1072 * frame.el (handle-focus-in, handle-focus-out): Add missing
1073 interactive spec.
1074
05ca27d8
MA
10752013-11-25 Michael Albinus <michael.albinus@gmx.de>
1076
1077 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1078 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1079
511fa0d3
SM
10802013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1081
e82ad66c
SM
1082 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1083 (gomoku--last-pos): New var.
1084 (gomoku--intangible-chars): New const.
1085 (gomoku--intangible): New function.
1086 (gomoku-mode): Use it. Derive from special-mode.
1087 (gomoku-move-up): Adjust line count.
1088 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1089 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1090 Simplify accordingly.
1091
511fa0d3
SM
1092 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1093 Remove blink-cursor code.
1094 (blink-cursor-timer-function, blink-cursor-suspend):
1095 Don't special-case GUIs.
1096 (blink-cursor-mode): Use focus-in/out-hook.
1097
6f20dd03
DG
10982013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1099
1100 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1101 work when annotation is invisible (Bug#13886).
1102
431dec31 11032013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
1104
1105 * json.el (json-alist-p): Only return non-nil if the alist has
1106 simple keys (Bug#13518).
1107
431dec31 11082013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
1109
1110 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1111 when control-statement is the first statement in a buffer (Bug#15956).
1112
ee4f0261
DG
11132013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1114
1115 * imenu.el (imenu-generic-skip-comments-and-strings):
1116 New option (Bug#15560).
1117 (imenu--generic-function): Use it.
1118
c484f866
JS
11192013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1120
1121 * minibuffer.el (completion--in-region-1): Scroll the correct
1122 window. (Bug#13898)
1123
41ce6f70
BB
11242013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1125
b55aea38
BB
1126 * emacs-lisp/helpers.el: Add some string helpers.
1127 (string-trim-left): Removes leading whitespace.
1128 (string-trim-right): Removes trailing whitespace.
1129 (string-trim): Removes leading and trailing whitespace.
1130
41ce6f70
BB
1131 * subr.el (string-suffix-p): New function.
1132
3cfb6af3
GM
11332013-11-23 Glenn Morris <rgm@gnu.org>
1134
1135 * progmodes/python.el (python-shell-send-file):
1136 Add option to delete file when done. (Bug#15647)
1137 (python-shell-send-string, python-shell-send-region): Use it.
1138
c27924b7
IS
11392013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1140
e1b01c7f
IS
1141 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1142 to set buffer-read-only to t, never to nil. (Bug#15938)
1143
c27924b7
IS
1144 * textmodes/tex-mode.el (latex-noindent-environments):
1145 Add safe-local-variable property. (Bug#15936)
1146
17e0445b
GM
11472013-11-23 Glenn Morris <rgm@gnu.org>
1148
92f78ea3
GM
1149 * textmodes/enriched.el (enriched-mode): Doc fix.
1150 * emacs-lisp/authors.el (authors-renamed-files-alist):
1151 Add enriched.doc -> enriched.txt.
1152
17e0445b
GM
1153 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1154
965bb23a
LL
11552013-11-22 Leo Liu <sdl.web@gmail.com>
1156
1157 * progmodes/octave.el (inferior-octave-startup): Spit out error
1158 message.
1159
d19ffd64
BB
11602013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1161
1162 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1163 Improve docstring.
15ba2182
BB
1164 Add :version.
1165 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 1166
7a7567d2
LL
11672013-11-22 Leo Liu <sdl.web@gmail.com>
1168
1169 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1170 (Bug#15076)
8c09f64b
LL
1171 (octave-help-mode): Adapt to change to help-mode-finish to use
1172 derived-mode-p on 2013-09-17.
1173 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 1174 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 1175
724bc265
LL
11762013-11-22 Leo Liu <sdl.web@gmail.com>
1177
1178 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1179 (inferior-octave-startup, inferior-octave-check-process)
1180 (inferior-octave-track-window-width-change)
1181 (octave-completion-at-point, octave-eldoc-function): Use it.
1182 (octave-kill-process): Provide confirmation. (Bug#10564)
1183
38637cca
LL
11842013-11-21 Leo Liu <sdl.web@gmail.com>
1185
511fa0d3
SM
1186 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1187 Fix obsolete variable comment-use-global-state.
38637cca 1188
06e752b4
RS
11892013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1190
511fa0d3
SM
1191 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1192 Add `octave-source-file'.
06e752b4
RS
1193 (octave-source-file): New function. (Bug#15935)
1194
0449d6cd 11952013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
1196
1197 * net/eww.el (eww-local-regex): New variable.
1198 (eww): Use it to detect localhost and similar.
1199
b6ffa04a
LL
12002013-11-21 Leo Liu <sdl.web@gmail.com>
1201
1202 Add completion for command `ag'.
2021a200
LL
1203 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1204 (pcomplete/ag): New function.
1205 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 1206
d1a6bccc
SM
12072013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1208
1209 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1210 (bug#14646).
1211 (make-obsolete): Remove interactive spec.
1212
2df10228
GM
12132013-11-21 Glenn Morris <rgm@gnu.org>
1214
1215 * startup.el (command-line-1): Use path-separator with -L.
1216
86fd16b6
TZ
12172013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1218
1219 * emacs-lisp/package.el (describe-package-1): Add package archive
1220 to shown fields.
1221
0449d6cd 12222013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
1223
1224 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1225 Change default to "# encoding: %s" to differentiate it from the
1226 default Ruby encoding comment template.
1227
dc7e8c17 12282013-11-20 era eriksson <era+emacsbugs@iki.fi>
1229
1230 * ses.el (ses-mode): Doc fix. (Bug#14748)
1231
f0cfa5fe
LL
12322013-11-20 Leo Liu <sdl.web@gmail.com>
1233
1234 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1235
826dc7b6
DN
12362013-11-19 Dan Nicolaescu <dann@gnu.org>
1237
1238 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1239 when rebase or bisect are in progress.
1240
a6e3a5d5
XF
12412013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1242
1243 * filenotify.el (file-notify-add-watch): Doc fix.
1244
f130cb76
LL
12452013-11-19 Leo Liu <sdl.web@gmail.com>
1246
e0855d7d
LL
1247 * obsolete/rcompile.el: Mark obsolete.
1248
f130cb76 1249 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
1250 (compilation-goto-locus, compilation-find-file):
1251 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
1252 (Bug#13594)
1253
1254 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
1255 new parameter no-display-ok. Return either a window or nil
1256 but never a non-window value.
f130cb76 1257
1f35d401
SM
12582013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1259
25158c76
SM
1260 * electric.el (electric-indent-mode-map): Remove.
1261 (electric-indent-mode): Change the global-map instead (bug#15915).
1262
1263 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1264 Use add-function.
1f35d401 1265
9bc67baa
SM
12662013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1267
986545b5
SM
1268 * emacs-lisp/nadvice.el (remove-function): Align with
1269 add-function's behavior.
1270
9bc67baa
SM
1271 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1272 (gdb--string-regexp): New constant.
1273 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1274 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1275 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1276 submatch 1.
1277 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1278 Adjust use accordingly.
1279 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1280
56cd894e
AS
12812013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1282
1283 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1284 interpolation curlies (Bug#15914).
1285
014690de
JB
12862013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1287
1288 * calc/calc.el (calc-context-sensitive-enter): New variable.
1289 (calc-enter): Use `calc-context-sensitive-enter'.
1290
7e26a6c3
TZ
12912013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1292
1293 * progmodes/cfengine.el: Version bump.
1294 (cfengine-cf-promises): New defcustom to locate cf-promises.
1295 (cfengine3-vartypes): Add new "data" type.
1296 (cfengine3--current-word): New function to get current name-like
1297 word or its bounds.
1298 (cfengine3--current-function): New function to look up a CFEngine
1299 function's definition.
1300 (cfengine3-format-function-docstring): New function.
1301 (cfengine3-make-syntax-cache): New function.
1302 (cfengine3-documentation-function): New function: ElDoc glue.
1303 (cfengine3-completion-function): New function: completion glue.
1304 (cfengine3-mode): Set `compile-command',
1305 `eldoc-documentation-function', and add to
1306 `completion-at-point-functions'.
1307
355204dd
MA
13082013-11-16 Michael Albinus <michael.albinus@gmx.de>
1309
1310 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1311 `tramp-current-connection'.
1312
43cebc23
DG
13132013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1314
1315 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1316 nil/self/true/false with "end of symbol".
1317
a3fed6ff
BB
13182013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1319
1320 * subr.el (version-regexp-alist): Fix a typo.
1321
e675b3e4
MA
13222013-11-15 Michael Albinus <michael.albinus@gmx.de>
1323
1324 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1325 "en_US.utf8" and "LC_CTYPE" to "".
1326 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1327 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1328
a1f03e89
LL
13292013-11-15 Leo Liu <sdl.web@gmail.com>
1330
1331 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1332
5d9d9451
SM
13332013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1334
58362662
CS
1335 * progmodes/gud.el (ctl-x-map):
1336 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
1337 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1338
6c1bf086
BB
13392013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1340
0d5363c4
BB
1341 * subr.el (version-regexp-alist):
1342 Recognize hg, svn and darcs versions as snapshot versions.
1343
4e9fc48c
BB
1344 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1345 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1346 (ruby--encoding-comment-required-p): Extract from
1347 `ruby-mode-set-encoding'.
1348 (ruby-mode-set-encoding): Add the ability to always insert an
1349 utf-8 encoding comment. Fix and simplify coding comment update
1350 logic.
6c1bf086 1351
2f7e72f8
MA
13522013-11-14 Michael Albinus <michael.albinus@gmx.de>
1353
1354 * net/tramp-gvfs.el (top): Run init code only when
1355 `tramp-gvfs-enabled' is not nil.
1356 (tramp-gvfs-enabled): Check also :system bus.
1357
0f137a73
SM
13582013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1359
1360 Sync with upstream verilog-mode revision 78e66ba.
1361 * progmodes/verilog-mode.el (verilog-end-of-defun)
1362 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1363 (verilog-get-end-of-defun): Remove unused argument.
1364 (verilog-comment-depth): Remove unused local `e'.
1365 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1366 Don't pass arg to verilog-get-end-of-defun.
1367
1c276bdd
GM
13682013-11-14 Glenn Morris <rgm@gnu.org>
1369
1370 * obsolete/assoc.el (aget): Prefix dynamic variable.
1371
1372 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1373
ff6ec81d
SM
13742013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1375
1376 * widget.el, hfy-cmap.el: Remove bogus package version number.
1377
75f777b6
GM
13782013-11-13 Glenn Morris <rgm@gnu.org>
1379
1d43dba1
GM
1380 * replace.el (replace-eval-replacement):
1381 Try to give more helpful error message. (Bug#15836)
1382
ff4b7bd5
GM
1383 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1384 (archive-7z-update): Avoid custom type mismatches.
1385
75f777b6
GM
1386 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1387
11151a06
MA
13882013-11-13 Michael Albinus <michael.albinus@gmx.de>
1389
e675b3e4 1390 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
1391 address can be empty.
1392
1393 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1394 Accept nil SWITCHES.
1395 (tramp-gvfs-handle-write-region): Implement APPEND.
1396
7b08f97e
DG
13972013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1398
1399 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
1400 binary "|" operator and closing block args delimiter.
1401 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
1402 (ruby-smie--implicit-semi-p): Not after "|" operator.
1403 (ruby-smie--closing-pipe-p): New function.
1404 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1405 (ruby-smie-rules): Indent after "|".
1406
f201cf3a
GM
14072013-11-12 Glenn Morris <rgm@gnu.org>
1408
1409 * ps-print.el (ps-face-attribute-list):
1410 Handle anonymous faces. (Bug#15827)
1411
e6f759f9
MR
14122013-11-12 Martin Rudalics <rudalics@gmx.at>
1413
1414 * window.el (display-buffer-other-frame): Fix doc-string.
1415 (Bug#15868)
1416
ecda65d4
SM
14172013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1418
1419 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1420
7ce8fcc3
MA
14212013-11-11 Michael Albinus <michael.albinus@gmx.de>
1422
1423 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1424 (tramp-sh-handle-file-local-copy): Don't write a message when
1425 saving temporary files.
1426
1427 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1428 both directories are remote.
1429 (tramp-smb-handle-directory-files): Do not return double entries.
1430 Do not expand full file names.
1431 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1432 (tramp-smb-handle-write-region): Implement APPEND.
1433 (tramp-smb-get-stat-capability): Fix a stupid bug.
1434
7818df11
SM
14352013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1436
1437 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1438
608c2085
NT
14392013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1440
1441 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1442 throwing error over malformed let/let* (bug#15814).
1443
122a7e46
SM
14442013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1445
1446 * iswitchb.el (iswitchb-mode): Mark obsolete.
1447
766284d9
GM
14482013-11-11 Glenn Morris <rgm@gnu.org>
1449
1450 * international/uni-bidi.el, international/uni-category.el:
1451 * international/uni-name.el, international/uni-numeric.el:
1452 Regenerate for Unicode 6.3.0.
1453
7072a4e9
MA
14542013-11-10 Michael Albinus <michael.albinus@gmx.de>
1455
1456 * net/tramp.el (tramp-methods):
1457 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1458 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1459
c9df215b
AS
14602013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1461
608c2085
NT
1462 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1463 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 1464
fa47d796
DG
14652013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1466
1467 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 1468 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
1469 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1470 (ispell-complete-word): Call `ispell-lookup-words' with the value
1471 independent of `ispell-look-p'.
1472
1629a329
DG
14732013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1474
1475 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1476 Not after "||".
1477 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1478 their parent.
1479
ad16897c
SM
14802013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1481
1482 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1483 (ruby-font-lock-keywords): Use backquote.
1484
ffa2df72
DG
14852013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1486
1487 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1488 (ruby-smie--backward-token): Only consider full-string matches.
1489
5b97b4c0
JD
14902013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1491
1492 * faces.el (describe-face): Add distant-foreground.
1493
71731c03
BB
14942013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1495
4e9fc48c
BB
1496 * progmodes/ruby-mode.el: Improve encoding comment handling.
1497 (ruby-encoding-magic-comment-style): New option.
1498 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
1499 (ruby--insert-coding-comment, ruby--detect-encoding):
1500 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
1501 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1502 to control the style of the auto-inserted encoding comment.
71731c03 1503
da3b328d
DG
15042013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1505
ad16897c
SM
1506 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1507 Use `smie-backward-sexp' with token argument.
da3b328d 1508
1606c2d3
MA
15092013-11-08 Michael Albinus <michael.albinus@gmx.de>
1510
1511 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1512 Remove instrumentation code.
1513
b0f4c320
GM
15142013-11-08 Glenn Morris <rgm@gnu.org>
1515
1516 * progmodes/autoconf.el (autoconf-mode):
1517 Tweak comment-start-skip. (Bug#15822)
1518
43668fb1
SM
15192013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1520
1521 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1522 at bobp (bug#15826).
1523 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1524
daddb3fd
DH
15252013-11-08 Darren Hoo <darren.hoo@gmail.com>
1526
1527 * man.el (Man-start-calling): New macro, extracted from
1528 Man-getpage-in-background.
1529 (Man-getpage-in-background): Use it.
1530 (Man-update-manpage): New command.
1531 (Man-mode-map): Bind it.
1532
1f923923
DG
15332013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1534
1535 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1536 of "and", "or", "&&" and "||".
1537 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1538 argument. Prohibit opening curly brace because it could only be a
1539 block opener in that position.
daddb3fd
DH
1540 (ruby-smie--forward-token, ruby-smie--backward-token):
1541 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
1542 arguments.
1543 (ruby-smie--indent-to-stmt): New function, seeks the end of
1544 previous statement or beginning of buffer.
1545 (ruby-smie-rules): Use it.
1546 (ruby-smie-rules): Check if there's a ":" before a curly block
1547 opener candidate; if there is, it's a hash.
1548
3220d527
SM
15492013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1550
1551 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1552 (cl--block-wrapper): Fix last accidental change.
1553
1eb1f9e0
MA
15542013-11-07 Michael Albinus <michael.albinus@gmx.de>
1555
1556 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1557 Instrument, in order to hunt failure on hydra.
1558
e6e4db3c
NT
15592013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1560
1561 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1562 malformed bindings form (bug#15814).
1563
b420ccfc
DG
15642013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1565
1566 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
1567 "." compared to " @ ". This incidentally fixes some indentation
1568 examples with "do".
e6e4db3c 1569 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
1570 (ruby-smie-grammar): New tokens: "and" and "or".
1571 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1572 Exclude "and" and "or". Remove "do" in order to work around token
1573 priorities.
1574 (ruby-smie-rules): Add all infix tokens. Handle the case of
1575 beginning-of-buffer.
b420ccfc 1576
6b4ac03e
GM
15772013-11-06 Glenn Morris <rgm@gnu.org>
1578
1579 * Makefile.in (setwins_almost, setwins_for_subdirs):
1580 Avoid accidental matches.
1581
5ca114d1
SM
15822013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1583
1584 * menu-bar.el (popup-menu): Use key-binding.
1585
f72552bd
EZ
15862013-11-06 Eli Zaretskii <eliz@gnu.org>
1587
1588 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1589 menus, support also the menus produced by minor modes.
1590 (Bug#15817)
1591
5d5c701e
LL
15922013-11-06 Leo Liu <sdl.web@gmail.com>
1593
1594 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1595 DISTANCE to bound the search. All uses changed. (Bug#15808)
1596
0a8b75e2
GM
15972013-11-06 Glenn Morris <rgm@gnu.org>
1598
1599 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
1600 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1601 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 1602
a35287ea
SM
16032013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1604
feca4e2d
SM
1605 * electric.el (electric-indent-just-newline): New command.
1606 (electric-indent-mode-map): New keymap.
1607 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1608 Re-add :group which weren't redundant.
1609
a35287ea
SM
1610 * electric.el (electric-indent-local-mode): New minor mode.
1611 (electric-indent-functions-without-reindent): New var.
1612 (electric-indent-post-self-insert-function): Use it.
1613 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1614
375761b2
EZ
16152013-11-05 Eli Zaretskii <eliz@gnu.org>
1616
9a6ad735
EZ
1617 * international/quail.el (quail-help): Be more explicit about the
1618 meaning of the labels shown on the keys. (Bug#15800)
1619
375761b2
EZ
1620 * startup.el (normal-top-level): Load the subdirs.el files before
1621 setting the locale environment. (Bug#15805)
1622
520a6e4a
SM
16232013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1624
0acfafef
SM
1625 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1626 via arguments so as to get the right ones (bug#15418).
1627
520a6e4a
SM
1628 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1629
15826261
MA
16302013-11-05 Michael Albinus <michael.albinus@gmx.de>
1631
1632 Fix problems found while writing a test suite.
1633
1634 * net/tramp-compat.el (tramp-compat-load): New defun.
1635 * net/tramp.el (tramp-handle-load): Use it.
1636
1637 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1638 "(numberp ok-if-already-exists)" correctly.
1639
d35f31a4
XF
16402013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1641
1642 * international/characters.el (glyphless-char-display-control):
1643 Add usage note.
1644
ae93bc74
BB
16452013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1646
520a6e4a
SM
1647 * progmodes/python.el (python-mode):
1648 * progmodes/scheme.el (scheme-mode):
1649 * progmodes/prolog.el (prolog-mode):
1650 * progmodes/ruby-mode.el (ruby-mode):
1651 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1652 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 1653
0ade65b5
SM
16542013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1655
a0d5f7a4
SM
1656 * rect.el (rectangle--highlight-for-redisplay):
1657 * emacs-lisp/smie.el (smie--next-indent-change):
1658 Use buffer-chars-modified-tick.
1659
c93f3f5c
SM
1660 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1661
0ade65b5
SM
1662 * electric.el (electric-indent-post-self-insert-function):
1663 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1664
ef9dd188
HE
16652013-11-04 Helmut Eller <eller.helmut@gmail.com>
1666
1667 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1668
306e7308
NT
16692013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1670
1671 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1672 (bug#15786).
1673
e5afbcac
SM
16742013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1675
1d01ad41
SM
1676 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1677
e5afbcac
SM
1678 * progmodes/python.el: Fix up last change.
1679 (python-shell--save-temp-file): New function.
1680 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1681 `string' comes from the current buffer.
1682 (python-shell-send-string-no-output): Remove `msg' arg.
1683 (python--use-fake-loc): New var.
1684 (python-shell-buffer-substring): Obey it. Try to compensate for the
1685 extra coding line added by python-shell--save-temp-file.
1686 (python-shell-send-region): Use python-shell--save-temp-file and
1687 python-shell-send-file directly. Add `nomain' argument.
1688 (python-shell-send-buffer): Use python-shell-send-region.
1689 (python-electric-pair-string-delimiter): New function.
1690 (python-mode): Use it.
1691
d0065ff1
EZ
16922013-11-04 Eli Zaretskii <eliz@gnu.org>
1693
1694 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1695 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1696 environment and decoding all of the default-directory's to here
1697 from command-line.
1698 (command-line): Decode also argv[0].
1699
1700 * loadup.el: Error out if default-directory is a multibyte string
1701 when we are dumping.
1702
1703 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1704
7397c587
TZ
17052013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1706
1707 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
1708 (package-menu--print-info, package-menu--archive-predicate):
1709 Add Archive column to package list.
7397c587 1710
b27cc9fc
MA
17112013-11-04 Michael Albinus <michael.albinus@gmx.de>
1712
1713 Fix problems found while writing a test suite.
1714
1715 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1716 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1717 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1718 to nil when running original file name handler. Otherwise,
1719 there are problems with constructs like "$$FOO".
1720
1721 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1722 for `localname'.
1723
d8c4f18a
BB
17242013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1725
7b530552
BB
1726 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1727
1728 * subr.el (version<, version<=, version=):
1729 Update docstrings with information for snapshot versions.
1730
d8c4f18a
BB
1731 * helpers.el: New library for misc helper functions.
1732 (hash-table-keys): New function returning a list of hash keys.
1733 (hash-table-values): New function returning a list of hash values.
1734
dca01b09
DG
17352013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1736
1737 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1738 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1739
0a749fa0
MN
17402013-11-04 Michal Nazarewicz <mina86@mina86.com>
1741
1742 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1743 checking whether point is after a 1-letter word.
1744
17452013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
1746
1747 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1748 Don't infloop when expanding region over `multiline' syntax-type that
1749 begins a line (bug#15778).
1750
4aca7145
SM
17512013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1752
1753 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1754 Make it into a proper minor mode.
1755 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1756 (rectangle-mark-mode-map): New keymap.
1757 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1758
a0833f62
GM
17592013-11-04 Glenn Morris <rgm@gnu.org>
1760
1761 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1762
e61845c1
SM
17632013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1764
1765 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1766 (ruby-smie-rules): Use smie-rule-parent instead.
1767
1768 * emacs-lisp/smie.el (smie-rule-parent): Always call
1769 smie-indent-virtual rather than only for hanging tokens.
1770 (smie--next-indent-change): New helper command.
1771
62942f89
GM
17722013-11-03 Glenn Morris <rgm@gnu.org>
1773
1774 * Makefile.in (abs_srcdir): Remove.
1775 (emacs): Unset EMACSLOADPATH.
1776
b0b9e592
GM
17772013-11-02 Glenn Morris <rgm@gnu.org>
1778
18ba6a33 1779 * Makefile.in (EMACS): Use a relative filename.
8061810d 1780 (abs_top_builddir): Remove.
18ba6a33
GM
1781 (custom-deps, finder-data, autoloads): Use --chdir.
1782
6a8b929e
GM
1783 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1784
c617f3d0
GM
1785 Use relative filenames in TAGS files.
1786 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1787 (lisptagsfiles4, TAGS): Use relative file names.
1788 (TAGS-LISP): Remove.
1789 (maintainer-clean): No more TAGS-LISP file.
1790
b0b9e592
GM
1791 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1792 (lisptagsfiles4): Use absolute filenames again.
1793 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1794 Remove all *loaddefs files, not just the first. Remove esh-groups.
1795 (maintainer-clean): Delete TAGS, TAGS-LISP.
1796
d1c0ea6a
BB
17972013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1798
e61845c1
SM
1799 * emacs-lisp/package.el (package-version-join):
1800 Recognize snapshot versions.
d1c0ea6a 1801
684d71c6
BB
18022013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1803
1804 * subr.el (version-regexp-alist): Add support for snapshot versions.
1805
3d42b968
DG
18062013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1807
e61845c1
SM
1808 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1809 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
1810 skip over our direct parent if it's an assignment token..
1811 (ruby-smie-rules): Use it.
1812
7ffd3721
DG
18132013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1814
1815 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1816 unconditionally. Remove now unnecessary forward declarations.
1817 Remove XEmacs-specific setup.
1818 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1819 (ruby-font-lock-syntactic-keywords)
1820 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1821 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1822 (ruby-here-doc-end-syntax): Remove.
1823 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1824 defined as function.
1825
a3996a2e
BB
18262013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1827
1828 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1829
6f9260e8
BB
18302013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1831
1832 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1833 table and abbrev table, `define-derived-mode' does that for us
1834 anyway.
1835
6014de84
GM
18362013-11-01 Glenn Morris <rgm@gnu.org>
1837
1838 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1839 files is atomic for some time, so no parallel compilation issues).
1840
3c334c14
JD
18412013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1842
1843 * faces.el (face-x-resources): Add :distant-foreground.
1844 (region): Use :distant-foreground for gtk and ns.
1845
9bc236c8
TH
18462013-11-01 Tassilo Horn <tsdh@gnu.org>
1847
5246583b 1848 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
1849 BibTeX.
1850 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1851 (reftex-locate-bibliography-files): Us it.
1852
d14c81ee
CB
18532013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1854
0e7690de
CB
1855 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1856 allow comments in pbm files.
1857
d14c81ee
CB
1858 * term/w32-win.el (dynamic-library-alist): Support newer versions
1859 of libjpeg starting with v7: look only for the DLL from the
1860 version against which Emacs was built.
ac1bf374 1861 Support versions of libpng beyond 1.4.x.
019c8218 1862 Support libtiff v4.x.
d14c81ee 1863
983d0df5
BB
18642013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1865
1866 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1867 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1868 Add property :safe.
1869 (ruby-deep-arglist): Add property :type.
1870
47f58d85
GM
18712013-10-31 Glenn Morris <rgm@gnu.org>
1872
1873 * Makefile.in (custom-deps, finder-data): No need to setq the target
1874 variables, we are in the right directory and the defaults work fine.
1875
4f85b479
GM
18762013-10-30 Glenn Morris <rgm@gnu.org>
1877
ca7dd4cd
GM
1878 * Makefile.in (autoloads): Do not use abs_lisp.
1879
4f85b479
GM
1880 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1881 `newline' does not respect `standard-output', so use `princ'.
1882
cf59e41c
AA
18832013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1884
1885 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1886 * buff-menu.el (Buffer-menu--unmark): New function.
1887 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1888
74cf04fb
GM
18892013-10-30 Glenn Morris <rgm@gnu.org>
1890
b040b60e
GM
1891 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1892
f53d3815
GM
1893 * emacs-lisp/package.el (lm-homepage): Declare.
1894
5413d873
GM
1895 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1896 Fix doc typos.
1897
cecedb36
GM
1898 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1899
74cf04fb
GM
1900 * Makefile.in (finder-data, autoloads, update-subdirs)
1901 (compile-main, compile-clean, compile-always, bootstrap-clean):
1902 Check return value of cd.
1903 (compile-calc): Remove.
1904
195ee2f0
SM
19052013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1906
ae4002ce
SM
1907 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1908
1909 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1910 (byte-compile-and-folded): New function.
1911 (=, <, >, <=, >=): Use it.
1912
1913 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1914 (path-separator, null-device, buffer-file-coding-system)
1915 (lpr-headers-switches): Check system-type before modifying them.
1916 (find-buffer-file-type-coding-system): Mark obsolete.
1917 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1918 find-file-not-found-set-buffer-file-coding-system.
1919 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1920 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1921 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1922 (w32-direct-print-region-helper, w32-direct-print-region-function)
1923 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1924 * startup.el (normal-top-level-add-subdirs-to-load-path):
1925 * ps-print.el (ps-print-region-function):
1926 * lpr.el (print-region-function): Use new name.
1927
53b39e89
SM
1928 * subr.el (custom-declare-variable-early): Remove function.
1929 (custom-declare-variable-list): Remove var.
1930 (error, user-error): Remove `while' loop.
1931 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1932 (user-emacs-directory-warning, locate-user-emacs-file):
1933 Move to files.el.
1934 * simple.el (read-quoted-char-radix, read-quoted-char):
1935 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1936 Move from subr.el.
1937 * custom.el (custom-declare-variable-list): Don't process
1938 custom-declare-variable-list.
1939
195ee2f0
SM
1940 * progmodes/python.el (python-shell-get-buffer): New function.
1941 (python-shell-get-process): Use it.
1942 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1943 Python which encoding was used. Don't split-string since we only care
1944 about the first line. Return the temp-file, if applicable.
1945 (python-shell-send-region): Tell compile.el how to turn locations in
1946 the temp-file into locations in the source buffer.
1947
7e3561ee
SM
19482013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1949
4c9797cb
SM
1950 * subr.el (undefined): Add missing behavior from the C code for
1951 unbound keys.
1952
3472b6c6
SM
1953 * rect.el: Use lexical-binding. Add new rectangular region support.
1954 (rectangle-mark): New command.
1955 (rectangle--region): New var.
1956 (deactivate-mark-hook): Reset rectangle--region.
1957 (rectangle--extract-region, rectangle--insert-for-yank)
1958 (rectangle--highlight-for-redisplay)
1959 (rectangle--unhighlight-for-redisplay): New functions.
1960 (region-extract-function, redisplay-unhighlight-region-function)
1961 (redisplay-highlight-region-function): Use them to handle
1962 rectangular region.
1963 * simple.el (region-extract-function): New var.
1964 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1965 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1966 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1967 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1968 (redisplay-unhighlight-region-function)
1969 (redisplay-highlight-region-function): New vars.
1970 (redisplay--update-region-highlight): New function.
1971 (pre-redisplay-function): Use it.
1972 (exchange-point-and-mark): Don't deactivate the mark before
1973 reactivate-it anyway.
1974 * comint.el (comint-kill-region): Remove yank-handler argument.
1975 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1976 (delete-char): Remove property, since it's now part of their
1977 default behavior.
1978 (self-insert-iso): Remove property since this command doesn't exist.
1979
7e3561ee
SM
1980 * emacs-lisp/package.el (package--download-one-archive)
1981 (describe-package-1): Don't query the user about final newline.
1982
b9bef71f
DC
19832013-10-29 Daniel Colascione <dancol@dancol.org>
1984
1985 * net/tramp.el (tramp-methods): Document new functionality.
1986 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1987 tramp-hostname-checker if method provides one instead of scanning
1988 argument list for "%h" to decide hostname acceptability.
1989
4efc33f0
MA
19902013-10-28 Michael Albinus <michael.albinus@gmx.de>
1991
1992 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1993 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1994 Handle COPY-CONTENTS. (Bug#15737)
1995
ed42a877
DU
19962013-10-28 Daiki Ueno <ueno@gnu.org>
1997
1998 * epa-file.el
7e3561ee
SM
1999 (epa-file-cache-passphrase-for-symmetric-encryption):
2000 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 2001
18c9f8a2
XF
20022013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2003
7a4bc7be
XF
2004 * image.el (defimage):
2005 (image-load-path): Doc fixes.
18c9f8a2 2006
b1e8e010
AM
20072013-10-27 Alan Mackenzie <acm@muc.de>
2008
2009 Indent statements in macros following "##" correctly.
7e3561ee
SM
2010 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2011 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 2012
73d40d1e 20132013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
2014
2015 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2016
c8c605ac
DG
20172013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2018
2019 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2020 after `=' is probably a new expression.
2021
ca7e59d4
RS
20222013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2023
2024 * man.el (man-imenu-title): New option.
2025 (Man-mode-map): Add menu. (Bug#15722)
2026 (Man-mode): Add imenu to menu.
2027
bae91342
DG
20282013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2029
2030 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2031 specific in what the first arg can be: a non-keyword word,
2032 string/regexp/percent literal opener, opening paren, or unary
2033 operator followed directly by word.
2034
eb89dc14
SM
20352013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2036
2037 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2038 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2039 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2040 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2041 Remove vars, they do not apply any more.
2042 (prolog-mode-abbrev-table): Remove redundant declaration.
2043 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2044 (prolog-use-smie): Remove.
2045 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2046 supported by prolog-electric-if-then-else-flag.
2047 (prolog-mode-variables, prolog-menu): Use setq-local.
2048 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2049 Remove binding to `Backspace' since this key doesn't exist anyway.
2050 Remove bindings for electric self-inserting keys.
2051 (prog-mode): Assume it's defined.
2052 (prolog-post-self-insert): New function.
2053 (prolog-mode): Use it.
2054 (prolog-indent-line, prolog-indent-level)
2055 (prolog-find-indent-of-matching-paren)
2056 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2057 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2058 (prolog-goto-next-paren, prolog-in-string-or-comment)
2059 (prolog-tokenize, prolog-inside-mline-comment)
2060 (prolog-find-start-of-mline-comment): Remove functions.
2061 (prolog-find-unmatched-paren, prolog-clause-end)
2062 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2063 (prolog-electric--if-then-else): Rename from
2064 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2065 (prolog-tokenize-searchkey): Remove const.
2066 (prolog-clause-info): Use forward-sexp.
2067 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2068 (prolog-electric-if-then-else): Remove commands.
2069 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2070 for use in post-self-insert-hook.
2071 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2072 for use in post-self-insert-hook.
2073 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2074 for use in post-self-insert-hook.
2075 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2076 adapt it for use in post-self-insert-hook.
2077
3dab0a83
MA
20782013-10-25 Michael Albinus <michael.albinus@gmx.de>
2079
2080 * emacs-lisp/ert.el (ert-run-tests-interactively):
2081 Use `completing-read'. (Bug#9756)
2082
fbfd0e1d
EZ
20832013-10-25 Eli Zaretskii <eliz@gnu.org>
2084
2085 * simple.el (line-move): Call line-move-1 instead of
2086 line-move-visual when the current window hscroll is zero, but
2087 temporary-goal-column indicates we will need to hscroll as result
2088 of the movement. (Bug#15712)
2089
963ce636
DG
20902013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2091
2092 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
2093 capitalization. Use :visible instead of :active.
2094 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
2095 commands that are used with SMIE.
2096 (ruby-do-end-to-brace): Insert space after `{'.
2097
a0be396a
JA
20982013-10-25 John Anthony <john@jo.hnanthony.com>
2099
f73754c9
JA
2100 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2101
2102 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 2103
f5bf77df
GM
21042013-10-25 Glenn Morris <rgm@gnu.org>
2105
2106 * vc/vc.el (vc-print-log): Don't use a working revision unless
2107 one was explicitly specified. (Bug#15322)
2108
37241f62
SM
21092013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2110
2111 * subr.el (add-to-list): Preserve return value in compiler-macro
2112 (bug#15692).
2113
6408a65d
RS
21142013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2115
2116 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2117 result. Ask user to retry using '-all' flag. (Bug#15701)
2118
71e3276b
SM
21192013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2120
2121 * emacs-lisp/smie.el: New smie-config system.
2122 (smie-config): New defcustom.
2123 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2124 (smie-config-guess, smie-config-save): New commands.
2125 (smie-config--mode-local, smie-config--buffer-local)
2126 (smie-config--trace, smie-config--modefuns): New vars.
2127 (smie-config--advice, smie-config--mode-hook)
2128 (smie-config--setter, smie-config-local, smie-config--get-trace)
2129 (smie-config--guess-value, smie-config--guess): New functions.
2130 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2131 text properties. Treat "string fence" syntax like string syntax.
2132
2133 * progmodes/sh-script.el (sh-use-smie): Change default.
2134 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2135 (sh-var-value): Simplify by CSE.
2136 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2137 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2138 is used.
2139 (sh-guess-basic-offset): Use cl-incf.
2140 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2141
60db713e
HE
21422013-10-24 Helmut Eller <eller.helmut@gmail.com>
2143
2144 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2145 (bug#15699).
2146
8b251df6
GM
21472013-10-24 Glenn Morris <rgm@gnu.org>
2148
2149 * Makefile.in (abs_top_srcdir): Remove.
2150 (update-subdirs): Use relative path to update-subdirs.
2151
6be0e22b
EZ
21522013-10-24 Eli Zaretskii <eliz@gnu.org>
2153
2154 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2155 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
2156 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2157 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 2158
50b5b857
MA
21592013-10-24 Michael Albinus <michael.albinus@gmx.de>
2160
2161 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2162 (ert-test-skipped): New error.
2163 (ert-skip, ert-stats-skipped): New defuns.
2164 (ert--skip-unless): New macro.
2165 (ert-test-skipped): New struct.
2166 (ert--run-test-debugger, ert-test-result-type-p)
2167 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2168 (ert--stats-set-test-and-result, ert-char-for-test-result)
2169 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 2170 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 2171 Handle skipped tests. (Bug#9803)
50b5b857 2172
6f317c2f
GM
21732013-10-24 Glenn Morris <rgm@gnu.org>
2174
e43817c1
GM
2175 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2176
6f317c2f
GM
2177 * Makefile.in (abs_top_srcdir): New, set by configure.
2178 (update-subdirs): Correct build-aux location.
2179
369bbf71
DG
21802013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2181
8297b2cf
DG
2182 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2183 value, whether we could auto-deduce `backend', or not.
2184
369bbf71
DG
2185 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2186 with parameters" example. Simplify the "is it block or is it
2187 hash" check, but also make it more thorough.
2188
d5f1282f
MF
21892013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2190
2191 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2192
bc4aaa31
SM
21932013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2194
03d44565
SM
2195 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2196 { if it is hanging.
2197
bc4aaa31
SM
2198 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2199 :before ";".
2200
f493ff19
JB
22012013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2202
2203 * progmodes/compile.el (compilation-directory-matcher)
2204 (compilation-page-delimiter):
2205 Support GNU Make-4.0 directory quoting. (Bug#15678)
2206
c744a3b9
LL
22072013-10-23 Leo Liu <sdl.web@gmail.com>
2208
2209 * ido.el (ido-tidy): Handle read-only text.
2210
b8e3b0a9
GM
22112013-10-23 Glenn Morris <rgm@gnu.org>
2212
2213 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2214 (emacs, compile, compile-always):
2215 Quote entities that might contain whitespace.
2216 (custom-deps, finder-data, autoloads): Use abs_lisp.
2217 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2218 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2219 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2220
ee4282cd
DG
22212013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2222
bc4aaa31
SM
2223 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2224 Use `following-char'.
7790a270 2225
ee4282cd 22262013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
2227
2228 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2229 * progmodes/ruby-mode.el (ruby-smie-rules):
2230 Remove corresponding workaround. Fix indentation rule of ";" so it
2231 also applies when ";" is the parent.
2232
d40a46d7
XF
22332013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2234
2235 * frame.el (display-screens, display-pixel-height)
2236 (display-pixel-width, display-mm-width, display-backing-store)
2237 (display-save-under, display-planes, display-color-cells)
7790a270
SM
2238 (display-visual-class, display-monitor-attributes-list):
2239 Mention the optional ‘display’ argument in doc strings.
d40a46d7 2240
a0f143c9
MG
22412013-10-22 Michael Gauland <mikelygee@amuri.net>
2242
2243 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2244 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2245
18cacc39
DG
22462013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2247
2248 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2249 TODO. Add "." after " @ ".
2250 (ruby-smie--at-dot-call): New function. Checks if point at method
2251 call with explicit target.
2252 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2253 to the method name tokens when it precedes them.
2254 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2255 (ruby-smie-rules): Add rule for indentation before and after "."
2256 token.
2257
df74c4be
SM
22582013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2259
c6dab55f
SM
2260 * textmodes/remember.el (remember-diary-extract-entries):
2261 Avoid add-to-list.
2262
df74c4be
SM
2263 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2264 an instruction.
2265
8c1ae481
DG
22662013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2267
cfef16c0
DG
2268 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2269 (ruby-smie--implicit-semi-p): Add new operator chars.
2270
8c1ae481
DG
2271 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2272 `smie-down-list'.
2273 (ruby-smie--args-separator-p): Check that there's no newline
2274 between method call and its arguments.
2275
87756ca9
AM
22762013-10-20 Alan Mackenzie <acm@muc.de>
2277
2278 Allow comma separated lists after Java "implements".
2279
df74c4be
SM
2280 * progmodes/cc-engine.el (c-backward-over-enum-header):
2281 Parse commas.
87756ca9
AM
2282 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2283 from a "disallowed" list in enum fontification.
2284
c25f8957
JB
22852013-10-20 Johan Bockgård <bojohan@gnu.org>
2286
df74c4be 2287 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 2288
c25f8957
JB
2289 * progmodes/verilog-mode.el (verilog-mode): Don't set
2290 comment-indent-function globally.
2291
aca5fcdc
JD
22922013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2293
5f161884
JD
2294 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2295 Move Info menu item creation to ns-win.el.
2296
2297 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2298 in menu bar.
2299
aca5fcdc
JD
2300 * menu-bar.el: Move GNUStep specific menus...
2301
2302 * term/ns-win.el (ns-initialize-window-system): ... to here.
2303
914b7f98
SM
23042013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2305
2306 * simple.el (newline): Only run post-self-insert-hook when
2307 called interactively.
2308
846ffe77
JB
23092013-10-19 Johan Bockgård <bojohan@gnu.org>
2310
2311 * icomplete.el (icomplete-with-completion-tables): Add :version.
2312
033f22dd
AM
23132013-10-19 Alan Mackenzie <acm@muc.de>
2314
2315 Fix fontification bugs with constructors and const.
2316
2317 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2318 CASE 2) Remove the check for the absence of a suffix construct
2319 after a function declaration with only types (no identifiers) in
2320 the parentheses. Also, accept a function declaration with just a
2321 type inside the parentheses, if this type can be positively
2322 recognised as such, or if a prefix keyword like "explicit" nails
2323 down the construct as a declaration.
2324
58ce0cfc
EZ
23252013-10-19 Eli Zaretskii <eliz@gnu.org>
2326
2327 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2328 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2329 the problem whereby selecting a menu item that leads to a
2330 minibuffer prompt moves the cursor out of the minibuffer window,
2331 making it hard to type at the prompt. Suggested by Stefan Monnier
2332 <monnier@iro.umontreal.ca>.
2333
50e28e7d
JD
23342013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2335
2336 * menu-bar.el: Don't make Services menu.
2337
7deed4bf
RS
23382013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2339
2340 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2341 (ffap-alist): Use ffap-c++-mode for c++-mode.
2342 (ffap-c++-path): New variable.
2343 (ffap-c++-mode): New function.
2344
7bcb455b
JVJ
23452013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2346
2347 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2348
f0ff1cd5
MA
23492013-10-18 Michael Albinus <michael.albinus@gmx.de>
2350
2351 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2352 introduced on 2013-09-08, which results in an infinite loop
2353 requesting a password.
2354
d64da4b7
GM
23552013-10-18 Glenn Morris <rgm@gnu.org>
2356
2357 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2358
ea89ff08
WS
23592013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2360
2361 Sync with upstream verilog-mode revision 1a6ecec7.
2362 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2363 (verilog-mode-release-date): Remove.
2364 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2365 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2366 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2367 (verilog-auto-tieoff-ignore-regexp)
2368 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2369 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2370 (verilog-signals-with, verilog-dir-cache-preserving)
2371 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2372 Doc fixes.
2373 (verilog-case-fold): New option, to control case folding in
2374 regexp searches, bug597.
2375 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2376 (verilog-string-match-fold, verilog-in-paren-count)
2377 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2378 (verilog-at-close-struct-p): New functions.
2379 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2380 (verilog-forward-sexp, verilog-set-auto-endcomments):
2381 (verilog-leap-to-case-head): Handle "unique0" case.
2382 (verilog-in-constraint-re): New constant.
2383 (verilog-keywords, verilog-type-font-keywords):
2384 Add some SystemVerilog 1800-2012 keywords.
2385 (verilog-label-be): Remove unimplemented argument, bug669.
2386 (verilog-batch-execute-func): When batch expanding clear
2387 create-lockfiles to prevent spurious user locks when a file ends
2388 up not changing.
2389 (verilog-calculate-indent, verilog-calc-1)
2390 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2391 (verilog-do-indent): Fix indentation of nested constraints
2392 and structures.
2393 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2394 (verilog-auto-inst-param): Use verilog-string-match-fold.
2395 (verilog-read-inst-module-matcher):
2396 Fix AUTOINST on gate primitives with #1.
2397 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2398 Reads all user-defined typed variables.
2399 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2400 (verilog-signals-matching-regexp)
2401 (verilog-signals-not-matching-regexp, verilog-auto):
2402 Respect verilog-case-fold.
2403 (verilog-diff-report): Fix line count.
2404 (verilog-auto-assign-modport): Remove unused local `modi'.
2405 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2406 better handle multidimensional arrays.
2407 Fix packed array ports misadding bit index in AUTOINST, bug637.
2408 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2409 to not double-declare existing outputs and inputs, respectively.
2410 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2411 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2412 (verilog-sk-uvm-component): New skeleton.
2413 (verilog-submit-bug-report): Add verilog-case-fold,
2414 remove verilog-mode-release-date.
2415
ef566920
BR
24162013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2417
2418 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2419 as before.
2420
29df8a0b
RT
24212013-10-18 Reuben Thomas <rrt@sc3d.org>
2422
2423 * textmodes/remember.el (remember): set buffer-offer-save in
2424 remember buffers (bug#13566).
2425
04a19a79
DC
24262013-10-18 Daniel Colascione <dancol@dancol.org>
2427
2428 When evaluating forms in ielm, direct standard output to ielm
2429 buffer. Add new ielm-return-for-effect command. Remove trailing
2430 whitespace throughout.
2431
2432 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2433 (ielm-return-for-effect): New command.
2434 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
2435 (ielm-eval-input): Accept optional `for-effect' parameter.
2436 Bind `standard-output' to stream we create using
04a19a79
DC
2437 `ielm-standard-output-impl'. Suppress printing result when
2438 `for-effect'.
2439 (ielm-standard-output-impl): New function.
2440 (inferior-emacs-lisp-mode): Explain new features in documentation.
2441
4c1f03ef
MA
24422013-10-17 Michael Albinus <michael.albinus@gmx.de>
2443
2444 Code cleanup.
2445
2446 * net/tramp.el (tramp-debug-message): Do not check for connection
2447 buffer.
2448 (tramp-message): Use "vector" connection property.
2449
2450 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2451 (tramp-equal-remote, tramp-eshell-directory-change)
2452 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2453 (tramp-adb-handle-rename-file)
2454 * net/tramp-cmds.el (tramp-list-remote-buffers)
2455 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2456 * net/tramp-compat.el (tramp-compat-process-running-p)
2457 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2458 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2459 (tramp-gvfs-handle-rename-file)
2460 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2461 (tramp-set-file-uid-gid)
2462 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2463 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2464 of `file-remote-p'.
2465
2466 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2467 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2468 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2469 (tramp-gw-open-network-stream): Suppress unrelated traces.
2470
2471 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2472 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2473 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2474 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2475 connection property.
2476
2477 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 2478 persistency file.
4c1f03ef
MA
2479
2480 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2481 Refactor common code. Improve debug message.
2482 (tramp-maybe-open-connection)
2483 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2484 connection buffer too early.
2485
2486 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2487 from `tramp-smb-actions-with-acl'.
2488 (tramp-smb-actions-set-acl): New defconst.
2489 (tramp-smb-handle-copy-directory)
2490 (tramp-smb-action-get-acl): New defun, renamed from
2491 `tramp-smb-action-with-acl'.
2492 (tramp-smb-action-set-acl): New defun.
2493 (tramp-smb-handle-set-file-acl): Rewrite.
2494
642eb8b6
GM
24952013-10-17 Glenn Morris <rgm@gnu.org>
2496
2497 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2498
85527ff3
SM
24992013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2500
921c1d62
SM
2501 * skeleton.el (skeleton-newline): Remove.
2502 (skeleton-internal-1): Use (insert "\n") instead.
2503
e333fb10
SM
2504 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2505 let-bindings.
2506
85527ff3
SM
2507 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2508 forward-sexp-function while we redo its job (bug#15613).
2509
c8722a97
JB
25102013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2511
2512 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2513 represented by lists.
2514
7a550bbb
GM
25152013-10-16 Glenn Morris <rgm@gnu.org>
2516
2517 * tmm.el (tmm--history): New dynamic variable.
2518 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2519
f19da8ad
MA
25202013-10-16 Michael Albinus <michael.albinus@gmx.de>
2521
2522 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2523 (tramp-smb-errors): Add error messages.
2524 (tramp-smb-actions-with-acl): New defconst.
2525 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2526 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2527 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2528 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2529 (tramp-smb-get-stat-capability): Fix tests.
2530
a24b9961
DK
25312013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2532
2533 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2534 (bug#15580).
2535
62ad85e6
GM
25362013-10-16 Glenn Morris <rgm@gnu.org>
2537
0283d6b0
GM
2538 * ansi-color.el (ansi-color-drop-regexp):
2539 Add 1J, 1K, 2K. (Bug#15617)
2540
012e2f9f
GM
2541 * files.el (hack-local-variables--warned-lexical): New.
2542 (hack-local-variables):
2543 Warn about misplaced lexical-binding. (Bug#15616)
2544
62ad85e6
GM
2545 * net/eww.el (eww-render): Always set eww-current-url,
2546 and update header line. (Bug#15622)
2547 (eww-display-html): ... Rather than just doing it here.
2548
6456c0ea
EZ
25492013-10-15 Eli Zaretskii <eliz@gnu.org>
2550
2551 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2552 menu navigations commands.
2553
c2de5588
DK
25542013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2555
2556 * progmodes/subword.el (subword-capitalize): Be careful when
2557 the search for [[:alpha:]] fails (bug#15580).
2558
ccd4a783
EZ
25592013-10-14 Eli Zaretskii <eliz@gnu.org>
2560
2561 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2562 to commands that scroll the menu.
2563
1eda1d8d
DG
25642013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2565
c2de5588
DK
2566 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2567 Handle methods ending with `?' and `!'.
1eda1d8d 2568
e70181b8
AM
25692013-10-14 Akinori MUSHA <knu@iDaemons.org>
2570
2571 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2572 `japanese-cp932' to `cp932' to fix the problem where saving a
2573 source file written in Shift_JIS twice would end up having
2574 `coding: japanese-cp932' which Ruby could not recognize.
2575 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2576 in `ruby-encoding-map'.
2577 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2578 doesn't need to be explicitly declared in magic comment.
2579 (ruby-encoding-map): Add type declaration for better customize UI.
2580
9148ee92
GM
25812013-10-13 Glenn Morris <rgm@gnu.org>
2582
a5d38e34
GM
2583 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2584 Occur buffers are read-only. http://bugs.debian.org/720775
2585
9148ee92
GM
2586 * emacs-lisp/authors.el (authors-fixed-entries):
2587 Comment out old alpha stuff.
2588
a9ba094b
DG
25892013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2590
2591 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2592 to `after-save-hook' instead of `before-save-hook'.
2593 (ruby-mode-set-encoding): Use the value of coding system used to
2594 write the file. Call `basic-save-buffer-1' after modifying the
2595 buffer.
2596
7a068717
AM
25972013-10-13 Alan Mackenzie <acm@muc.de>
2598
2599 Fix indentation/fontification of Java enum with
2600 "implements"/generic.
2601
c2de5588
DK
2602 * progmodes/cc-engine.el (c-backward-over-enum-header):
2603 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
2604 (c-inside-bracelist-p): Uses new function above.
2605 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2606 function above.
2607 (c-font-lock-enum-tail): Uses new function above.
2608
85b64f02
KH
26092013-10-13 Kenichi Handa <handa@gnu.org>
2610
2611 * international/mule-cmds.el (select-safe-coding-system): Remove a
2612 superfluous condition in chekcing whether a coding system is safe
2613 or not.
2614
fc7f501b
OK
26152013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2616
2617 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2618
fdcb2049
AP
26192013-10-13 Andreas Politz <politza@hochschule-trier.de>
2620
2621 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2622
8c106d17
GM
26232013-10-13 Glenn Morris <rgm@gnu.org>
2624
feab892d
GM
2625 * menu-bar.el (menu-bar-update-buffers):
2626 Unify Buffers menu prompt string. (Bug#15576)
2627
b22d0686
GM
2628 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2629
8c106d17
GM
2630 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2631 Add some entries.
2632 (authors-fixed-entries): Use accented form of name.
2633
1b12c797
SM
26342013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2635
650fa7bf 2636 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 2637 method calls (bug#15594).
650fa7bf
SM
2638 (ruby-smie--args-separator-p): New function.
2639 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2640 recognize paren-free method calls.
2641
1b12c797
SM
2642 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2643 internals of universal-argument.
2644
029619c8
EZ
26452013-10-11 Eli Zaretskii <eliz@gnu.org>
2646
2647 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
2648 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2649 dropped menu on second mouse click on the menu bar.
029619c8 2650
dd070019
SM
26512013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2652
2653 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2654 (explicit-shell-file-name): Declare.
2655 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2656 (sh-completion-at-point-function): New function.
2657 (sh-mode): Use it.
2658 (sh-smie--keyword-p): Remove unused argument.
2659 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2660 vars.
2661 (sh-set-shell): Always setup SMIE, even if we use the
2662 old indentation code.
2663
0922b826
DG
26642013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2665
b68e2926
DG
2666 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2667 cases of ? and =.
2668 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2669 predicate would return nil are almost non-existent.
2670 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2671
0922b826
DG
2672 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2673 cache also after commands that modify the buffer but don't move
2674 point.
2675
ee041f2d
SM
26762013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2677
2678 * env.el (substitute-env-in-file-name): New function.
2679 (substitute-env-vars): Extend the meaning of the optional arg.
2680
a5dab159
EZ
26812013-10-10 Eli Zaretskii <eliz@gnu.org>
2682
2683 * term/w32-win.el (dynamic-library-alist): Define separate lists
2684 of GIF DLLs for versions before and after 5.0.0 of giflib.
2685 (Bug#15531)
2686
0449d6cd 26872013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
2688
2689 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2690 not locked, use last revision and current source as
2691 defaults. (Bug#15569)
2692
2f6e161e
MY
26932013-10-10 Masatake YAMATO <yamato@redhat.com>
2694
2695 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2696 menu-bar is hidden.
2697
6c8413fc
MR
26982013-10-10 Martin Rudalics <rudalics@gmx.at>
2699
2700 * window.el (pop-to-buffer-same-window): Fix doc-string.
2701 (Bug#15492)
2702
20832de0
SM
27032013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2704
2705 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2706
c6e8ae77
AC
27072013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2708
2709 * calendar/icalendar.el (icalendar-import-file):
2710 Fix interactive spec. (Bug#15482)
2711
9db13baf
GM
27122013-10-10 Glenn Morris <rgm@gnu.org>
2713
9271e90e
GM
2714 * desktop.el (desktop-save): Default to saving in .emacs.d,
2715 since PWD is no longer in desktop-path by default. (Bug#15319)
2716
9db13baf
GM
2717 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2718 now that text mode has a menu with the same entry.
2719 (menu-bar-text-mode-auto-fill): Remove now unused func.
2720 * textmodes/text-mode.el (text-mode-map):
2721 Use auto-fill help text from menu-bar.el.
2722
a0be396a 27232013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
2724
2725 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2726
2edcd3c7
JL
27272013-10-09 Juri Linkov <juri@jurta.org>
2728
2729 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2730 instead of this-command-keys. Add universal-argument-more and
2731 universal-argument-minus to the list of prefix commands. (Bug#15568)
2732
574411d0
GM
27332013-10-09 Glenn Morris <rgm@gnu.org>
2734
14afa541
GM
2735 * vc/vc-svn.el (vc-svn-create-repo):
2736 Expand paths in file://... url. (Bug#15446)
2737
574411d0
GM
2738 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2739 Add some entries.
2740 (authors): Remove unused local variables.
2741
79804536
SM
27422013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2743
2744 * profiler.el: Create a more coherent calltree from partial backtraces.
2745 (profiler-format): Hide the tail with `invisible' so that C-s can still
2746 find the hidden elements.
2747 (profiler-calltree-depth): Don't recurse so enthusiastically.
2748 (profiler-function-equal): New hash-table-test.
2749 (profiler-calltree-build-unified): New function.
2750 (profiler-calltree-build): Use it.
2751 (profiler-report-make-name-part): Indent the calltree less.
2752 (profiler-report-mode): Add visibility specs for profiler-format.
2753 (profiler-report-expand-entry, profiler-report-toggle-entry):
2754 Expand the whole subtree when provided with a prefix arg.
2755
238150c8
DG
27562013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2757
2758 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2759 iuwu-mod token.
2760 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2761 hanging iuwu-mod token.
2762 (ruby-smie--forward-token): Do not include a dot after a token in
2763 that token.
2764 (ruby-smie--backward-token): Likewise.
2765
b0949cc4
JL
27662013-10-08 Juri Linkov <juri@jurta.org>
2767
2768 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2769 to isearch-other-control-char.
2770 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2771 and isearch-post-command-hook to post-command-hook.
2772 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2773 and isearch-post-command-hook from post-command-hook.
2774 (isearch-unread-key-sequence)
2775 (isearch-reread-key-sequence-naturally)
2776 (isearch-lookup-scroll-key, isearch-other-control-char)
2777 (isearch-other-meta-char): Remove functions.
2778 (isearch-pre-command-hook, isearch-post-command-hook):
2779 New functions based on isearch-other-meta-char rewritten
2780 relying on the new behavior of overriding-terminal-local-map
2781 that does not replace the local keymaps any more. (Bug#15200)
2782
4ed77415
EZ
27832013-10-08 Eli Zaretskii <eliz@gnu.org>
2784
2785 Support menus on text-mode terminals.
2786 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2787 functionality.
2788
2789 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2790
c2de5588
DK
2791 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2792 Move here from mouse.el.
4ed77415
EZ
2793 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2794 and arrow keys.
2795 (tty-menu-navigation-map): New map for TTY menu navigation.
2796
2797 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2798
2799 * frame.el (display-mouse-p): Report text-mode mouse as available
2800 on w32.
2801 (display-popup-menus-p): Report availability if mouse is
2802 available; don't condition on window-system.
2803
2804 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2805 (tty-menu-selected-face): New faces.
2806
b7d5bd82
TL
28072013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2808
06286513
SM
2809 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2810 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2811 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2812 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2813 New constants.
2814 (lisp-mode-variables): New `elisp' argument.
2815 (emacs-lisp-mode): Use it.
2816 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2817 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2818
b7d5bd82
TL
2819 * indent.el: Use lexical-binding.
2820 (indent-region): Add progress reporter.
2821 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2822 last step.
2823 (indent--next-tab-stop): New function to implement this behavior.
2824 (tab-to-tab-stop, move-to-tab-stop): Use it.
2825
28262013-10-08 Teemu Likonen <tlikonen@iki.fi>
2827
2828 * indent.el (indent-rigidly--current-indentation): New function.
2829 (indent-rigidly-map): New var.
2830 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2831
5ea75d23
BG
28322013-10-08 Bastien Guerry <bzg@gnu.org>
2833
2834 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2835
cc5da1ec
SM
28362013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2837
8ffa1a0b
SM
2838 * progmodes/perl-mode.el: Use lexical-binding.
2839 Remove redundant :group args.
2840 (perl-nochange): Change default to be closer to other major modes's
2841 standard behavior.
2842 (perl-indent-line): Don't consider text on current line as a
2843 valid beginning of function from which to indent.
2844
f2223371
SM
2845 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2846 with more than one argument (bug#15538).
2847
44256060
SM
2848 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2849
cc5da1ec
SM
2850 * vc/pcvs.el: Use lexical-binding.
2851 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2852 environment of `eval'.
2853 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2854 than a list of expressions. Adjust callers.
2855 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2856
0ea1599d
DG
28572013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2858
2859 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 2860 case of the dot in a chained method call being on the following line.
0ea1599d 2861
da3e5ebb
SM
28622013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2863
2abb4e65
SM
2864 * electric.el (electric-indent-inhibit): New var.
2865 (electric-indent-post-self-insert-function): Use it.
2866 * progmodes/python.el (python-mode): Set it.
2867
d2e0e795
SM
2868 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2869 open braces.
2870
2871 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2872
bdc6b4c8
SM
2873 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2874 (css-mode): Use electric-indent-chars.
2875
da3e5ebb
SM
2876 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2877 (font-lock-beg, font-lock-end): Move before first use.
2878 (nxml-mode): Use syntax-propertize-function.
2879 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2880 (nxml-extend-after-change-region): Remove.
2881 * nxml/xmltok.el: Use lexical-binding.
2882 (xmltok-save): Use `declare'.
2883 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2884 * nxml/nxml-util.el: Use lexical-binding.
2885 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2886 Use `declare'.
2887 * nxml/nxml-ns.el: Use lexical-binding.
2888 (nxml-ns-save): Use `declare'.
2889 (nxml-ns-prefixes-for): Avoid add-to-list.
2890 * nxml/rng-match.el: Use lexical-binding.
2891 (rng--ipattern): Use cl-defstruct.
2892 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2893 (rng-cons-group-after, rng-subst-group-after)
2894 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2895 Use closures instead of `(lambda...).
2896
f8f91d5d
MA
28972013-10-07 Michael Albinus <michael.albinus@gmx.de>
2898
2899 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2900 of BEG and END.
2901
da3e5ebb
SM
2902 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2903 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
2904 (tramp-gvfs-handle-insert-file-contents): Remove function.
2905
da3e5ebb
SM
2906 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2907 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
2908
2909 * net/trampver.el: Update release number.
2910
7ccae3b1
SM
29112013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2912
55ca2c0d
SM
2913 * progmodes/compile.el (compilation-parse-errors):
2914 Use compilation--put-prop.
2915 (compilation--ensure-parse): Check compilation-multiline.
2916
731fc3ae
SM
2917 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2918
da3e5ebb
SM
2919 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2920 lexical-binding.
a5833280 2921
2e7ba2c2
SM
2922 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2923
7ccae3b1
SM
2924 * progmodes/ruby-mode.el: Fix recently added tests.
2925 (ruby-smie-grammar): Add - and +.
2926 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2927 (ruby-smie--backward-id): New functions.
2928 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2929 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2930 any more.
2931
85698d63
LL
29322013-10-07 Leo Liu <sdl.web@gmail.com>
2933
2934 * register.el (register-preview-delay)
2935 (register-preview-functions): New variables.
2936 (register-read-with-preview, register-preview)
2937 (register-describe-oneline): New functions.
2938 (point-to-register, window-configuration-to-register)
2939 (frame-configuration-to-register, jump-to-register)
2940 (number-to-register, view-register, insert-register)
2941 (copy-to-register, append-to-register, prepend-to-register)
2942 (copy-rectangle-to-register): Use register-read-with-preview to
2943 read register. (Bug#15525)
2944
3986af6c
DS
29452013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2946
2947 * net/network-stream.el (network-stream-open-starttls): Don't add
2948 --insecure if it's already present, because that gnutls-cli
2949 rejects getting that parameter twice.
2950
5cd9cda9
DG
29512013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2952
2953 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2954 keyword, too.
2955
da9ea6d9
DG
29562013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2957
2958 * newcomment.el (comment-use-global-state): Change default value
2959 to t, mark obsolete (Bug#15251).
2960 (comment-beginning): In addition to `comment-to-syntax', check the
2961 value of `comment-use-global-state'.
2962
34d1a133
SM
29632013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2964
2965 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2966 (ruby-comment-column): Follow the global default, by default.
2967 (ruby-smie-grammar): Add assignment syntax.
2968 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2969 open-paren, a comma, or a \.
2970 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2971 and line continuations.
2972 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2973 followed by implicit semi-colons. Add rule for string concatenation
2974 and for indentation at BOB.
2975 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2976
2977 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2978 calling next-sexp, since next-token may have skipped chars which
2979 next-sexp doesn't know should be skipped!
2980
6f6ab820
LL
29812013-10-05 Leo Liu <sdl.web@gmail.com>
2982
34d1a133
SM
2983 * progmodes/octave.el (octave-send-region):
2984 Call compilation-forget-errors.
6f6ab820 2985
34ca0f4c
XF
29862013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2987
2988 * vc/vc-svn.el (vc-svn-find-admin-dir):
2989 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2990 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2991 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2992 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2993
a27c1b72
SM
29942013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2995
2996 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2997
258ab3bc
SM
29982013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2999
3000 * subr.el (read-passwd): Hide chars even when called within a context
3001 where after-change-functions is disabled (bug#15501).
3002 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3003 until we removed ourself from overriding-terminal-local-map.
3004
939fb29c
LL
30052013-10-04 Leo Liu <sdl.web@gmail.com>
3006
258ab3bc
SM
3007 * progmodes/octave.el (inferior-octave-mode):
3008 Call compilation-forget-errors.
939fb29c 3009
63bd7f35
XF
30102013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3011
3012 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3013
9e6229fa
MA
30142013-10-04 Michael Albinus <michael.albinus@gmx.de>
3015
3016 * net/secrets.el (secrets-create-collection): Add optional
3017 argument ALIAS. Use proper Label keyword. Append ALIAS as
3018 dbus-call-method argument. (Bug#15516)
3019
1dab32a3
LL
30202013-10-04 Leo Liu <sdl.web@gmail.com>
3021
3022 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3023 (inferior-octave-compilation-font-lock-keywords): New variables.
3024 (compilation-error-regexp-alist)
3025 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3026 (inferior-octave-mode): Use compilation-shell-minor-mode.
3027
6cad7ba3
JS
30282013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3029
3030 * minibuffer.el (completion--replace): Be careful that `end' might be
3031 a marker.
3032
acbadd00
DU
30332013-10-03 Daiki Ueno <ueno@gnu.org>
3034
3035 Add support for package signature checking.
3036 * emacs-lisp/package.el (url-http-file-exists-p)
3037 (epg-make-context, epg-context-set-home-directory)
3038 (epg-verify-string, epg-context-result-for)
3039 (epg-signature-status, epg-signature-to-string)
3040 (epg-check-configuration, epg-configuration)
3041 (epg-import-keys-from-file): Declare.
3042 (package-check-signature): New user option.
3043 (package-unsigned-archives): New user option.
3044 (package-desc): Add `signed' field.
3045 (package-load-descriptor): Set `signed' field if .signed file exists.
3046 (package--archive-file-exists-p): New function.
3047 (package--check-signature): New function.
3048 (package-install-from-archive): Check package signature.
3049 (package--download-one-archive): Check archive signature.
3050 (package-delete): Remove .signed file.
3051 (package-import-keyring): New command.
3052 (package-refresh-contents): Import default keyring.
3053 (package-desc-status): Add "unsigned" status.
3054 (describe-package-1, package-menu--print-info)
3055 (package-menu-mark-delete, package-menu--find-upgrades)
3056 (package-menu--status-predicate): Support "unsigned" status.
3057
adf2aa61
SM
30582013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3059
3060 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3061 the new compilation scheme using the new byte-codes.
3062
3063 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3064 (byte-pophandler): New byte codes.
3065 (byte-goto-ops): Adjust accordingly.
3066 (byte-compile--use-old-handlers): New var.
3067 (byte-compile-catch): Use new byte codes depending on
3068 byte-compile--use-old-handlers.
3069 (byte-compile-condition-case--old): Rename from
3070 byte-compile-condition-case.
3071 (byte-compile-condition-case--new): New function.
3072 (byte-compile-condition-case): New function that dispatches depending
3073 on byte-compile--use-old-handlers.
3074 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3075 when we can.
3076
3077 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3078 Optimize under `condition-case' and `catch' if
3079 byte-compile--use-old-handlers is nil.
3080 (disassemble-offset): Handle new bytecodes.
3081
328a8179
SM
30822013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3083
3084 * subr.el (error): Use `declare'.
3085 (decode-char, encode-char): Use advertised-calling-convention instead
3086 of the docstring to discourage use of the `restriction' arg.
3087
15a1e936
DU
30882013-10-03 Daiki Ueno <ueno@gnu.org>
3089
3090 * epg.el (epg-verify-file): Add a comment saying that it does not
3091 notify verification error as a return value nor a signal.
3092 (epg-verify-string): Ditto.
3093
376f862a
KR
30942013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3095
3096 * progmodes/compile.el (compilation-start): Try globbing the arg to
3097 `cd' (bug#15417).
3098
a2f93a5f
MA
30992013-10-02 Michael Albinus <michael.albinus@gmx.de>
3100
3101 Sync with Tramp 2.2.8.
3102
3103 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3104 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3105 * net/trampver.el: Update release number.
3106
0daa0804
JD
31072013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3108
3109 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3110 and default-process-coding-system for darwin only.
3111
abd1ae34
SM
31122013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3113
3114 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3115
be4e325d
MH
31162013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3117
3118 * vc/vc-git.el (vc-git-grep): Disable pager.
3119
e9155c4a
DG
31202013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3121
494e898b
DG
3122 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3123 Use :url instead of :homepage, as per
3124 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3125
e9155c4a
DG
3126 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3127 non-nil, use `syntax-ppss' (Bug#15251).
3128
481a8e0f
RS
31292013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3130
be4e325d
MH
3131 * progmodes/octave.el (inferior-octave-startup-file):
3132 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 3133
056453c6
DG
31342013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3135
be4e325d
MH
3136 * emacs-lisp/package.el (package-desc-from-define):
3137 Accept additional arguments as plist, convert them to an alist and store
3138 them in the `extras' slot.
056453c6
DG
3139 (package-generate-description-file): Convert extras alist back to
3140 plist and append to the `define-package' form arguments.
3141 (package--alist-to-plist): New function.
3142 (package--ac-desc): Add `extras' slot.
3143 (package--add-to-archive-contents): Check if the archive-contents
3144 vector is long enough, and if it is, pass its `extras' slot value
3145 to `package-desc-create'.
3146 (package-buffer-info): Call `lm-homepage', pass the returned value
3147 to `package-desc-from-define'.
3148 (describe-package-1): Render the homepage button (Bug#13291).
3149
be4e325d
MH
3150 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3151 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 3152
832966e5
JD
31532013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3154
3155 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3156 and default-process-coding-system to utf-8-unix (Bug#15402).
3157
6cfe977d
XF
31582013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3159
3160 * subr.el (looking-back): Do not recommend using looking-back.
3161
38de11bd
AM
31622013-09-28 Alan Mackenzie <acm@muc.de>
3163
3164 Fix indentation/fontification of Java enum with "implements".
3165
3166 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3167 regexp which matches "implements", etc., in Java.
3168 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3169 specifier clauses coming after "enum".
3170 * progmodes/cc-fonts.el (c-font-lock-declarations)
3171 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3172 after "enum".
3173
1610938f
JD
31742013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3175
3176 * faces.el (region): Change ns_selection_color to
3177 ns_selection_fg_color, add ns_selection_bg_color.
3178
e090f499
LL
31792013-09-28 Leo Liu <sdl.web@gmail.com>
3180
4d2e94d1
LL
3181 * progmodes/octave.el (inferior-octave-completion-table)
3182 (inferior-octave-completion-at-point): Minor tweaks.
3183
e090f499
LL
3184 * textmodes/ispell.el (ispell-lookup-words): Rename from
3185 lookup-words. (Bug#15460)
3186 (lookup-words): Obsolete.
3187 (ispell-complete-word, ispell-command-loop): All uses changed.
3188
7e138a62
RS
31892013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3190
3191 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3192 (octave-mode-menu): Add octave-send-buffer.
3193 (octave-send-buffer): New function.
3194
5af5ed08
RS
31952013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3196
3197 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3198 octave-lookfor.
3199 (octave-mode-menu): Add octave-lookfor.
3200 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3201 octave-lookfor.
3202 (octave-lookfor): New function.
3203
3b7b2692
SM
32042013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3205
3206 * emacs-lisp/cl-macs.el:
3207 (cl--loop-destr-temps): Remove.
3208 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3209 its convention.
3210 (cl--loop-set-iterator-function): New function.
3211 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3212 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3213 Bind `it' with `let' instead of substituting it with `cl-subst'.
3214 (cl--unused-var-p): New function.
3215 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3216 Eliminate some unused variable warnings (bug#15326).
3217
529fb53f
TH
32182013-09-27 Tassilo Horn <tsdh@gnu.org>
3219
3220 * doc-view.el (doc-view-scale-reset): Rename from
3221 `doc-view-reset-zoom-level'.
3222 (doc-view-scale-adjust): New command.
3223 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3224 `doc-view-scale-adjust'.
3225
0550c95a
TH
32262013-09-26 Tassilo Horn <tsdh@gnu.org>
3227
3228 * doc-view.el (doc-view-reset-zoom-level): New command.
3229 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3230 zoom commands (bug#15466).
3231
6950f152
KH
32322013-09-26 Kenichi Handa <handa@gnu.org>
3233
3234 * international/quail.el (quail-help): Make it not a command.
3235
39587580
LL
32362013-09-26 Leo Liu <sdl.web@gmail.com>
3237
3238 * minibuffer.el (completion-all-sorted-completions): Make args
3239 optional as they are.
3240
00578659
DC
32412013-09-25 Daniel Colascione <dancol@dancol.org>
3242
3243 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3244 specs are and that they're not evaluated.
3245
0c173878
SS
32462013-09-24 Sam Steingold <sds@gnu.org>
3247
3248 * midnight.el (clean-buffer-list-kill-regexps)
3249 (clean-buffer-list-kill-buffer-names): Update for the new Man
3250 buffer naming which includes the object name.
3251
84998447
SM
32522013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3253
3254 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3255 (eshell-parse-command, eshell-parse-pipeline): Use it since
3256 eshell-separate-commands requires a dynamic scoped var.
3257 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3258
33215353
LL
32592013-09-23 Leo Liu <sdl.web@gmail.com>
3260
3261 * autoinsert.el (auto-insert-alist): Make the value of
3262 lexical-binding match its file setting.
3263
57b16162
JB
32642013-09-23 Juanma Barranquero <lekktu@gmail.com>
3265
c8af4e67
JB
3266 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3267
57b16162
JB
3268 * autoarg.el (autoarg-kp-digit-argument):
3269 * electric.el (Electric-command-loop):
3270 * kmacro.el (kmacro-step-edit-insert):
3271 Do not set universal-argument-num-events.
3272
7186ba60
LL
32732013-09-22 Leo Liu <sdl.web@gmail.com>
3274
3275 * files.el (interpreter-mode-alist): Add octave.
3276
ece15004
AM
32772013-09-21 Alan Mackenzie <acm@muc.de>
3278
3279 C++: fontify identifier in declaration following "public:" correctly.
3280 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3281 to match "public", etc.
3282 (c-decl-prefix-re): Add ":" into the C++ value.
3283 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3284 bit. Add a check for a ":" preceded by "public", etc.
3285
75d83e22
EZ
32862013-09-21 Eli Zaretskii <eliz@gnu.org>
3287
3288 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3289 recognized by GDB 7.5 and later.
3290
d052d3bd
XF
32912013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3292
3293 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3294
31dca772
R
32952013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3296
3297 * subr.el (internal--call-interactively): New const.
3298 (called-interactively-p): Use it (bug#3984).
3299
98ccf24e
XF
33002013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3301
3302 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
3303 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3304 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 3305
c39cc7d1
SM
33062013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3307
3308 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3309 (eshell-ls-orig-insert-directory): Remove.
3310 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3311 (eshell-ls-use-in-dired): Use advice-add/remove.
3312 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3313 Add `orig-fun' arg for use in :around advice.
3314 Make it check (redundantly) eshell-ls-use-in-dired.
3315
9a0289a2
GM
33162013-09-19 Glenn Morris <rgm@gnu.org>
3317
a2c501b8
GM
3318 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3319
c440407a
GM
3320 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3321
9a0289a2
GM
3322 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3323
85e05915
MA
33242013-09-19 Michael Albinus <michael.albinus@gmx.de>
3325
3326 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3327 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3328 (tramp-get-remote-python): New defuns.
3329 (tramp-get-remote-uid-with-perl)
3330 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3331 contributed by yary <not.com@gmail.com> (tiny change).
3332 (tramp-get-remote-uid-with-python)
3333 (tramp-get-remote-gid-with-python): New defuns. Python code
3334 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3335 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3336
ce503312
GM
33372013-09-19 Glenn Morris <rgm@gnu.org>
3338
f7544773
GM
3339 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3340
72fd2877
GM
3341 * eshell/em-unix.el (eshell-remove-entries):
3342 Rename argument to avoid name-clash with global `top-level'.
3343
336b5a56
GM
3344 * eshell/esh-proc.el (eshell-kill-process-function):
3345 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3346 (eshell-reset-after-proc): Remove unused arg `proc'.
3347
57a3a53d
GM
3348 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3349 (directory-files-and-attributes): Mark unused arg.
3350
3261d4af
GM
3351 * eshell/em-unix.el (eshell-remove-entries):
3352 Remove unused arg `path'. Update callers.
3353
8e51b5d0
GM
3354 * eshell/em-hist.el (eshell-hist-parse-arguments):
3355 Remove unused arg `silent'. Update callers.
3356
ce503312
GM
3357 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3358 Fix (f)boundp mix-up.
3359
3360 * eshell/em-smart.el (eshell-smart-scroll-window)
3361 (eshell-disable-after-change):
336b5a56 3362 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 3363
ee3ce8a7
AM
33642013-09-18 Alan Mackenzie <acm@muc.de>
3365
3366 Fix fontification of type when followed by "const".
3367 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3368 "known" types from fontification.
3369
ec9177ba
GM
33702013-09-18 Glenn Morris <rgm@gnu.org>
3371
7bb3e768
GM
3372 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3373 (chart-face-list): Drop Emacsen without display-color-p.
3374
5148da15
GM
3375 * net/eww.el (libxml-parse-html-region): Declare.
3376 (eww-display-html): Explicit error if no libxml2 support.
3377
2f68e157
GM
3378 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3379
9019d095
GM
3380 * image.el (image-type-from-buffer, image-multi-frame-p):
3381 Remove --without-x warning/error.
67645389 3382
5f30349b 3383 * mouse.el (mouse-yank-primary):
45069b2e 3384 * term.el (term-mouse-paste):
5f30349b
GM
3385 Reorder to silence --without-x compilation.
3386
cd8edbbe
GM
3387 * mpc.el (doc-view-mode): Silence --without-x compilation.
3388
8a78544e
GM
3389 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3390 Silence --without-x compilation.
3391
12679bfd
GM
3392 * progmodes/gud.el (gud-find-file, gud-mode):
3393 Silence --without-x compilation.
3394 (tooltip-mode): Declare.
30810a05 3395
f0047cb9
GM
3396 * wdired.el (dired-backup-overwrite): Remove declaration.
3397 (wdired-mode-map): Add doc string.
3398
e740f9d2
GM
3399 * custom.el (x-get-resource): Declare.
3400
92d77c89
GM
3401 * eshell/em-glob.el (ange-cache):
3402 * eshell/em-unix.el (ange-cache): Declare.
3403
76e69577
GM
3404 * faces.el (x-display-list, x-open-connection, x-get-resource):
3405 Declare.
7e58af4b
GM
3406
3407 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3408 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3409 Declare.
76e69577 3410
4bd4c0af 3411 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 3412
ffb82dbd
GM
3413 * net/gnutls.el (gnutls-log-level): Declare.
3414
986ed135
GM
3415 * net/shr.el (image-size, image-animate): Declare.
3416
e740f9d2
GM
3417 * simple.el (font-info): Declare.
3418
d2f3e9f8
GM
3419 * subr.el (x-popup-dialog): Declare.
3420
047a1a4c
GM
3421 * term/common-win.el (x-select-enable-primary)
3422 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3423 Declare.
3424
f4a1d572
GM
3425 * term/ns-win.el (x-handle-args): Declare.
3426
e843de77
GM
3427 * term/x-win.el (x-select-enable-clipboard): Declare.
3428
5fa89513
GM
3429 * term/w32-win.el (create-default-fontset): Declare.
3430
38702b5b
GM
3431 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3432 Declare.
3433
e740f9d2
GM
3434 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3435 (fit-frame-to-buffer): Explicit error if --without-x.
3436 (mouse-autoselect-window-select): Silence compiler.
3437
49a053fc
GM
3438 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3439
3440 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3441 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3442 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 3443 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
3444 Remove unused local variables.
3445
3446 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3447
ec9177ba
GM
3448 * textmodes/two-column.el: Make 2C-split work for --without-x.
3449 (scroll-bar-columns): Autoload.
3450 (top-level): Require fringe when compiling.
3451
9f25cb77
LL
34522013-09-18 Leo Liu <sdl.web@gmail.com>
3453
3454 * subr.el (add-hook): Robustify to handle closure as well.
3455
2b42da98
GM
34562013-09-17 Glenn Morris <rgm@gnu.org>
3457
3458 * simple.el (messages-buffer-mode-map): Unbind "g".
3459
e8b66a6a
SM
34602013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3461
9c0ad4f7
SM
3462 * help-mode.el (help-mode-finish): Use derived-mode-p.
3463 Remove obsolete highlighting.
3464
7a806dfb
SM
3465 * play/life.el (life-mode): Use define-derived-mode. Derive from
3466 special-mode.
3467 (life): Let-bind inhibit-read-only.
3468 (life-setup): Avoid `setq'. Use `life-mode'.
3469
96dbf5a8
SM
3470 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3471 which should not be needed any more.
3472 (package-menu-refresh, package-menu-describe-package): Use user-error.
3473
e8b66a6a
SM
3474 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3475 (eshell-post-rewrite-command-hook): Make obsolete.
3476 (eshell-parse-command): Simplify.
3477 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3478 (eshell--cmd): Declare.
3479 (eshell-parse-pipeline): Remove unused var `final-p'.
3480 Pass a dynvar to eshell-post-rewrite-command-hook.
3481 Implement the new eshell-post-rewrite-command-function.
3482 (eshell-invoke-directly): Remove unused arg `input'.
3483 * eshell/esh-io.el (eshell-io-initialize):
3484 Use eshell-post-rewrite-command-function (bug#15399).
3485 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3486 adjust to new calling convention.
3487 (eshell-create-handles): Rename args to avoid clashing with dynvar
3488 `standard-output'.
3489
90582f05
GM
34902013-09-17 Glenn Morris <rgm@gnu.org>
3491
3492 * simple.el (messages-buffer-mode): New major mode.
3493 (messages-buffer): New function.
3494 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3495 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 3496 (ert-run-test): Use `messages-buffer' function.
90582f05 3497 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
3498 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3499 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 3500
39eb0cb5 35012013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
3502
3503 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3504
1f1e06e2
SM
3505 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3506
70568a90
SM
35072013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3508
504a0381
SM
3509 * icomplete.el (icomplete-in-buffer): New var.
3510 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3511 vars and replace them with functions.
3512 (icomplete-minibuffer-setup): Adjust accordingly.
3513 (icomplete--completion-table, icomplete--completion-predicate)
3514 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3515 New functions.
3516 (icomplete-forward-completions, icomplete-backward-completions)
3517 (icomplete-simple-completing-p, icomplete-exhibit)
3518 (icomplete-completions): Use them.
3519 (icomplete--in-region-buffer): New var.
3520 (icomplete--in-region-setup): New function.
3521 (icomplete-mode): Use it.
3522
70568a90
SM
3523 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3524 (bug#15379).
3525 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3526 return args and options.
3527 (eshell-eval-using-options): Use the new return value of
3528 eshell--do-opts to set the options's vars in their scope.
3529 (eshell--set-option): Rename from eshell-set-option.
3530 Add arg `opt-vals'.
3531 (eshell--process-option): Rename from eshell-process-option.
3532 Add arg `opt-vals'.
3533 (eshell--process-args): Use an `opt-vals' alist to store the options's
3534 values during their processing and return them additionally to the
3535 remaining args.
3536
578c21bc
DG
35372013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3538
3539 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3540 continuation character an operator, as far as indentation is
3541 concerned (Bug#15369).
3542
c089653d
MR
35432013-09-15 Martin Rudalics <rudalics@gmx.at>
3544
3545 * window.el (window--state-put-2): Don't process buffer state
3546 when buffer doesn't exist any more (Bug#15382).
3547
1e53bb4b
GM
35482013-09-15 Glenn Morris <rgm@gnu.org>
3549
30753242
GM
3550 * eshell/em-unix.el (eshell/rm):
3551 Make -f ignore missing files. (Bug#15373)
3552
1e53bb4b
GM
3553 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3554 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3555 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3556
0d8863b3
GM
35572013-09-14 Glenn Morris <rgm@gnu.org>
3558
3559 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3560
d3fc6549
GM
35612013-09-13 Glenn Morris <rgm@gnu.org>
3562
3563 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3564 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3565
fcd42c11
DA
35662013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3567
3568 * frame.el (x-focus-frame): Mark as declared in frame.c.
3569
7830899f
SM
35702013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3571
3572 * ls-lisp.el: Use advice-add.
3573 (original-insert-directory): Remove.
3574 (ls-lisp--insert-directory): Rename from insert-directory; add
3575 `orig-fun' argument.
3576 (insert-directory): Advise.
3577
84387cd2
EZ
35782013-09-13 Eli Zaretskii <eliz@gnu.org>
3579
3580 * term.el (term-emulate-terminal): Decode the command string
3581 before passing it to term-command-hook. (Bug#15337)
3582
35ffc6ba
GM
35832013-09-13 Glenn Morris <rgm@gnu.org>
3584
5c3f9bcc
GM
3585 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3586
2ada368a
GM
3587 * eshell/esh-ext.el (eshell-search-path): Declare.
3588
fcef2e13
GM
3589 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3590 Otherwise an error occurs if eshell-dirs module not loaded.
3591
35ffc6ba
GM
3592 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3593
35c3d36e
MA
35942013-09-13 Michael Albinus <michael.albinus@gmx.de>
3595
3596 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3597 `tramp-check-proper-host'. Check for a valid method name.
3598
3599 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3600 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3601 * net/tramp-sh.el (tramp-maybe-open-connection):
3602 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3603
3604 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3605 also for hash values.
3606
ae5e4c48
SM
36072013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3608
379add74
SM
3609 * term/ns-win.el (parameters): Don't declare as dynamic.
3610 (before-make-frame-hook): Don't add ineffective function.
3611
ae5e4c48
SM
3612 * eshell/*.el: Use lexical-binding (bug#15231).
3613
b5623270
KH
36142013-09-12 Kenichi Handa <handa@gnu.org>
3615
ae5e4c48 3616 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 3617
30213927
GM
36182013-09-12 Glenn Morris <rgm@gnu.org>
3619
be94d713 3620 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 3621 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 3622
44915370
GM
3623 * subr.el (do-after-load-evaluation): Also give compiler warnings
3624 when obsolete files are used (except by obsolete files).
3625
a6ae021f
GM
3626 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3627 in the status output, assume `filename' is the first. (Bug#15322)
3628
40e64f0c
GM
3629 * vc/vc.el (vc-deduce-fileset): Doc fix.
3630
16d9f896
GM
3631 * calc/calc-help.el (Info-goto-node):
3632 * progmodes/cperl-mode.el (Info-find-node):
3633 * vc/ediff.el (Info-goto-node): Update declarations.
3634
dea01c6e
GM
3635 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3636
759880bf 3637 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
3638 (vc-bzr-pull): Require vc-dispatcher.
3639 * vc/vc-git.el (vc-compilation-mode): Declare.
3640 (vc-git-pull): Require vc-dispatcher.
3641
08d66420
GM
3642 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3643
30b626e9
GM
3644 * progmodes/octave.el (help-button-action): Declare.
3645
8c05cb10
GM
3646 * shell.el (shell-directory-tracker): Output error as a message
3647 rather than just returning it as a string.
3648 (shell-process-pushd): Remove useless use of message.
3649
30213927
GM
3650 * dframe.el (dframe-timer-fn):
3651 * files.el (dir-locals-read-from-file):
3652 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3653 (mpc-format):
3654 * reveal.el (reveal-post-command):
3655 * saveplace.el (load-save-place-alist-from-file):
3656 * shell.el (shell-resync-dirs):
3657 * w32-common-fns.el (x-get-selection-value):
3658 * emacs-lisp/copyright.el (copyright-find-copyright):
3659 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3660 * emulation/tpu-edt.el (tpu-copy-keyfile):
3661 * play/bubbles.el (bubbles--mark-neighbourhood):
3662 * progmodes/executable.el
3663 (executable-make-buffer-file-executable-if-script-p):
3664 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3665
d3b049e6
SM
36662013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3667
170266d0
SM
3668 Cleanup Eshell to rely less on dynamic scoping.
3669 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3670 last-value, and ext-command here. Bind `args' closer to `body'.
3671 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3672 (eshell--args): Declare new dynamic var.
3673 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3674 last-value, and ext-command. Pass `args' to `body'.
3675 (eshell-process-args): Bind eshell--args.
3676 (eshell-set-option): Use eshell--args.
3677 * eshell/eshell.el (eshell): Use derived-mode-p.
3678 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3679 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3680 (eshell-glob-function): Declare.
3681 * eshell/esh-util.el: Require cl-lib.
3682 (eshell-read-hosts-file): Avoid add-to-list.
3683 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3684 `err'.
3685 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3686 Declare.
3687 (eshell/diff): Remove unused var `err'.
3688 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3689 `killflag'.
3690 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3691 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3692 first use.
3693 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3694 Move declaration before first use.
3695 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
3696 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3697 rely on cl-return.
3698
56834f3b
GM
36992013-09-12 Glenn Morris <rgm@gnu.org>
3700
3701 * term/ns-win.el (global-map): Remove binding for ispell-next,
3702 deleted 1999-05-29. (Bug#15357)
3703
5c91a2b8
GM
37042013-09-11 Glenn Morris <rgm@gnu.org>
3705
da712f22
GM
3706 * echistory.el (electric-command-history): Remove call to deleted func.
3707
512e4cdc
GM
3708 * play/landmark.el (landmark-mode): Fix typos.
3709
d3506ca5
GM
3710 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3711 Check cvs-sort-ignore-file is bound.
3712
5c91a2b8
GM
3713 * savehist.el: No need for cl when compiling on Emacs.
3714
feeff482
SM
37152013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3716
656bd483
SM
3717 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3718 (bug#15338).
d3b049e6
SM
3719 (eshell-self-insert-command, eshell-send-invisible):
3720 Remove unused argument.
656bd483
SM
3721 (eshell-handle-control-codes): Remove unused var `orig'.
3722 Avoid delete-backward-char.
3723
feeff482
SM
3724 * files.el (set-auto-mode): Simplify a bit further.
3725
2a08047a
GM
37262013-09-11 Glenn Morris <rgm@gnu.org>
3727
3728 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3729 (set-auto-mode): Don't regexp-quote elements.
3730 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3731 * progmodes/cc-mode.el (interpreter-mode-alist):
3732 * progmodes/ruby-mode.el (interpreter-mode-alist):
3733 Revert previous change.
3734
34675540
SM
37352013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3736
1b3b87df
SM
3737 * play/snake.el (snake-mode):
3738 * play/mpuz.el (mpuz-mode):
3739 * play/landmark.el (lm-mode):
3740 * play/blackbox.el (blackbox-mode):
3741 * play/5x5.el (5x5-mode):
3742 * obsolete/options.el (Edit-options-mode):
3743 * net/quickurl.el (quickurl-list-mode):
3744 * net/newst-treeview.el (newsticker-treeview-mode):
3745 * mail/rmailsum.el (rmail-summary-mode):
3746 * mail/mspools.el (mspools-mode):
3747 * locate.el (locate-mode):
3748 * ibuffer.el (ibuffer-mode):
3749 * emulation/ws-mode.el (wordstar-mode):
3750 * emacs-lisp/debug.el (debugger-mode):
3751 * array.el (array-mode):
3752 * net/eudc.el (eudc-mode): Use define-derived-mode.
3753 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3754 Move initialization into declaration.
3755 (mairix-searches-mode): Use define-derived-mode.
3756 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3757 (eudc-edit-hotlist): Use dolist.
3758 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3759 (Man-mode): Use define-derived-mode.
3760 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3761 (Info-edit-mode): Use define-derived-mode.
3762 (Info-cease-edit): Use Info-mode.
3763 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3764 into declaration.
3765 (eshell-mode): Use define-derived-mode.
3766 * chistory.el (command-history-mode-map): Rename from
3767 command-history-map.
3768 (command-history-mode): Use define-derived-mode.
da712f22 3769 (Command-history-setup): Remove function.
1b3b87df
SM
3770 * calc/calc.el (calc-trail-mode-map): New var.
3771 (calc-trail-mode): Use define-derived-mode.
3772 (calc-trail-buffer): Set calc-main-buffer manually.
3773 * bookmark.el (bookmark-insert-annotation): New function.
3774 (bookmark-edit-annotation): Use it.
3775 (bookmark-edit-annotation-mode): Make it a proper major mode.
3776 (bookmark-send-edited-annotation): Use derived-mode-p.
3777 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3778 closer to its ideal place. Use \' to match EOS.
3779
34675540
SM
3780 * profiler.el (profiler-calltree-find): Use function-equal.
3781
6a5c15d9
GM
37822013-09-10 Glenn Morris <rgm@gnu.org>
3783
1af4c220
GM
3784 * files.el (interpreter-mode-alist): Convert to regexps.
3785 (set-auto-mode): Adapt for this. (Bug#15306)
3786 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3787 Comment out unused variable.
3788 * progmodes/cc-mode.el (interpreter-mode-alist):
3789 * progmodes/python.el (interpreter-mode-alist):
3790 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3791 * progmodes/sh-script.el (sh-set-shell):
3792 No longer use interpreter-mode-alist to get list of shells.
3793
6a5c15d9
GM
3794 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3795
8c27f5ff
SM
37962013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3797
02ef6c1a 3798 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 3799 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
3800 Bind switch-frame explicitly. Replace universal-argument-minus with
3801 a conditional binding.
3802 (universal-argument-num-events, saved-overriding-map): Remove.
3803 (restore-overriding-map): Remove.
3804 (universal-argument--mode): Rename from save&set-overriding-map,
3805 and rewrite.
3806 (universal-argument, universal-argument-more, negative-argument)
3807 (digit-argument): Adjust accordingly.
3808 (universal-argument-minus): Remove.
3809 (universal-argument-other-key): Remove.
3810
8c27f5ff
SM
3811 * subr.el (with-demoted-errors): Add `format' argument.
3812
6480194c
MA
38132013-09-10 Michael Albinus <michael.albinus@gmx.de>
3814
3815 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3816 `tramp-cleanup-connection'.
3817
3818 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3819 parameters KEEP-DEBUG and KEEP-PASSWORD.
3820
3821 * net/tramp.el (tramp-file-name-handler):
3822 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3823 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3824 (tramp-maybe-open-connection):
8c27f5ff
SM
3825 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3826 Use `tramp-cleanup-connection'.
6480194c 3827
8c27f5ff
SM
3828 * net/tramp-sh.el (tramp-maybe-open-connection):
3829 Catch 'uname-changed inside the progress reporter.
6480194c 3830
e5e916d8
GM
38312013-09-10 Glenn Morris <rgm@gnu.org>
3832
9a2c9b47
GM
3833 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3834
e5e916d8
GM
3835 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3836 returns "alternate access method" in mode (eg "-rw-r--r--.").
3837
144e38fe
GM
38382013-09-08 Glenn Morris <rgm@gnu.org>
3839
3840 * saveplace.el (load-save-place-alist-from-file):
3841 Demote errors. (Bug#15305)
3842
af9ff9e8
MA
38432013-09-08 Michael Albinus <michael.albinus@gmx.de>
3844
3845 Improve compatibility with older Emacsen, and XEmacs.
3846
3847 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3848 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
3849 (with-tramp-progress-reporter): Do not let-bind `result'.
3850 This yields to scoping errors in XEmacs.
af9ff9e8
MA
3851 (tramp-handle-make-auto-save-file-name): New function, moved from
3852 tramp-sh.el.
3853
3854 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3855 for `make-auto-save-file-name'.
8c27f5ff
SM
3856 (tramp-adb--gnu-switches-to-ash):
3857 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3858
3859 * net/tramp-cache.el (tramp-cache-print): Call
3860 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3861
3862 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3863 bound. It isn't for XEmacs.
3864
8c27f5ff
SM
3865 * net/tramp-compat.el (tramp-compat-copy-file):
3866 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
3867 (tramp-compat-replace-regexp-in-string): New defun.
3868
3869 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3870 for `make-auto-save-file-name'.
3871 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3872 `copy-file'.
3873 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3874 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3875 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3876
8c27f5ff
SM
3877 * net/tramp-gw.el (tramp-gw-open-network-stream):
3878 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 3879
8c27f5ff
SM
3880 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3881 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
3882 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3883 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
3884 (tramp-sh-file-inotifywait-process-filter):
3885 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3886 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3887
3888 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3889 for `make-auto-save-file-name'.
8c27f5ff
SM
3890 (tramp-smb-handle-copy-directory):
3891 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3892 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3893 (tramp-smb-handle-copy-file): Improve error message.
3894 (tramp-smb-handle-rename-file): Rename directly only in case
3895 `newname' does not exist yet. This is a restriction of smbclient.
3896 (tramp-smb-maybe-open-connection): Rerun the function only when
3897 `auth-sources' is non-nil.
3898
0ca754d0
KH
38992013-09-08 Kenichi Handa <handa@gnu.org>
3900
3901 * international/characters.el: Set category "^" (Combining) for
3902 more characters.
3903
e8dd0787
AM
39042013-09-07 Alan Mackenzie <acm@muc.de>
3905
3906 Correctly fontify Java class constructors.
3907 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3908 in Java Mode.
3909 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
3910 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3911 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
3912 "typeless" declaration there.
3913
f2f248e7
RW
39142013-09-07 Roland Winkler <winkler@gnu.org>
3915
3916 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3917 field subtitle for entry type book.
3918
67982e2b
SM
39192013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3920
3921 * minibuffer.el: Make minibuffer-complete call completion-in-region
3922 rather than other way around.
3923 (completion--some, completion-pcm--find-all-completions):
3924 Don't delay signals when debugging.
3925 (minibuffer-completion-contents): Beware fields within the
3926 minibuffer contents.
3927 (completion-all-sorted-completions): Use defvar-local.
3928 (completion--do-completion, completion--cache-all-sorted-completions)
3929 (completion-all-sorted-completions, minibuffer-force-complete):
3930 Add args `beg' and `end'.
3931 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3932 (minibuffer-complete): Use completion-in-region.
3933 (completion-complete-and-exit): New fun, extracted from
3934 minibuffer-complete-and-exit.
3935 (minibuffer-complete-and-exit): Use it.
3936 (completion--complete-and-exit): Rename from
3937 minibuffer--complete-and-exit.
3938 (completion-in-region--single-word): New function, extracted from
3939 minibuffer-complete-word.
3940 (minibuffer-complete-word): Use it.
3941 (display-completion-list): Make `common-substring' argument obsolete.
3942 (completion--in-region): Call completion--in-region-1 instead of
3943 minibuffer-complete.
3944 (completion-help-at-point): Pass boundaries to
3945 minibuffer-completion-help as args rather than via an overlay.
3946 (completion-pcm--string->pattern): Use `any-delim'.
3947 (completion-pcm--optimize-pattern): New function.
3948 (completion-pcm--pattern->regex): Handle `any-delim'.
3949 * icomplete.el (icomplete-forward-completions)
3950 (icomplete-backward-completions, icomplete-completions):
3951 Adjust calls to completion-all-sorted-completions and
3952 completion--cache-all-sorted-completions.
3953 (icomplete-with-completion-tables): Default to t.
3954 * emacs-lisp/crm.el (crm--current-element): Rename from
3955 crm--select-current-element. Don't put an overlay but return the
3956 boundaries instead.
3957 (crm--completion-command): Take two new args to bind to the boundaries.
3958 (crm-completion-help): Adjust accordingly.
3959 (crm-complete): Use completion-in-region.
3960 (crm-complete-word): Use completion-in-region--single-word.
3961 (crm-complete-and-exit): Use completion-complete-and-exit.
3962
e17d94a5
SM
39632013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3964
3965 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3966 than dynamically.
3967
96727100
JL
39682013-09-06 Juri Linkov <juri@jurta.org>
3969
3970 * info.el (Info-display-images-node): When image file doesn't exist
3971 display text version of the image if it's provided in the Info file.
3972 Otherwise, display the location of missing image from SRC attribute.
3973 Add help-echo text property from ALT attribute. (Bug#15279)
3974
86cf7329
SM
39752013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3976
3977 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3978 (edit-abbrevs-mode): Use define-derived-mode.
3979
3980 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3981 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3982 that it's defined.
3983 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3984 Use define-derived-mode.
3985
3986 * epg.el (epg-start-encrypt): Minor CSE simplification.
3987
816244a2
WX
39882013-09-06 William Xu <william.xwl@gmail.com>
3989
3990 * arc-mode.el: Add support for 7za (bug#15264).
3991 (archive-7z-program): New var.
3992 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3993 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3994 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3995
1486fa31
MA
39962013-09-06 Michael Albinus <michael.albinus@gmx.de>
3997
3998 Remove URL syntax.
3999
4000 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4001 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4002 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4003 (tramp-postfix-host-format, tramp-file-name-regexp)
4004 (tramp-completion-file-name-regexp)
4005 (tramp-completion-dissect-file-name)
4006 (tramp-handle-substitute-in-file-name): Remove 'url case.
4007 (tramp-file-name-regexp-url)
4008 (tramp-completion-file-name-regexp-url): Remove constants.
4009
39785324
GM
40102013-09-06 Glenn Morris <rgm@gnu.org>
4011
4012 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4013
1f896cb7
DG
40142013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4015
4016 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4017 keywords" below "here-doc beginnings" (Bug#15270).
4018
c0458e0b
SM
40192013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4020
4021 * subr.el (pop): Use `car-safe'.
4022 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4023 to detect unused `pop' return value.
4024
4025 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4026 var `block-regexp'.
4027 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4028 (python-fill-string): Remove unused var `marker'.
4029 (python-skeleton-add-menu-items): Remove unused var `items'.
4030
4031 * international/mule-cmds.el: Require CL.
4032 (find-coding-systems-for-charsets): Avoid add-to-list.
4033 (sanitize-coding-system-list): New function, extracted from
4034 select-safe-coding-system-interactively.
4035 (select-safe-coding-system-interactively): Use it.
4036 (read-input-method-name): Accept symbols for `default'.
4037
4038 * emacs-lisp/advice.el (defadvice): Add indent rule.
4039
6c42fc3e
DH
40402013-09-05 Daniel Hackney <dan@haxney.org>
4041
4042 * dired-x.el:
4043 * net/ange-ftp.el:
4044 * net/browse-url.el:
4045 * net/dbus.el:
4046 * net/eudc.el:
4047 * net/eudcb-ldap.el:
4048 * net/eww.el:
4049 * net/imap.el:
4050 * printing.el:
4051 * vc/ediff-diff.el:
4052 * vc/ediff-init.el:
4053 * vc/ediff-merg.el:
4054 * vc/ediff-mult.el:
4055 * vc/ediff-util.el:
4056 * vc/ediff-wind.el:
4057 * vc/ediff.el:
4058 * vc/emerge.el:
4059 * vc/pcvs.el:
4060 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4061 byte compiler. Remove some unused let-bound variables.
4062
4c528aab
SM
40632013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4064
4065 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4066 a "ref-cell", since it gets better optimized (bug#14883).
4067
bd15c390
GM
40682013-09-05 Glenn Morris <rgm@gnu.org>
4069
4070 * progmodes/cc-awk.el (c-forward-sws): Declare.
4071
1c3ac2e5
GM
40722013-09-04 Glenn Morris <rgm@gnu.org>
4073
4074 * generic-x.el [rul-generic-mode]: Require cc-mode.
4075 (c++-mode-syntax-table): Declare.
4076 (rul-generic-mode-syntax-table): Init in the defvar.
4077
52b1cc79
SM
40782013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4079
c828af56
SM
4080 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4081 (vc-do-command, vc-set-async-update):
4082 * vc/vc-mtn.el (vc-mtn-dir-status):
4083 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4084 (vc-hg-pull, vc-hg-merge-branch):
4085 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4086 (vc-git-merge-branch):
4087 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4088 (vc-cvs-dir-status-files):
4089 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4090 (vc-bzr-dir-status-files):
4091 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4092 * vc/vc-annotate.el: Use lexical-binding.
4093 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4094 (vc-sentinel-movepoint): Declare.
4095 (vc-annotate): Don't use `goto-line'.
4096 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4097 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4098 (vc-sentinel-movepoint): Declare.
4099 * vc/vc-svn.el: Use lexical-binding.
4100 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4101 * vc/vc-sccs.el:
4102 * vc/vc-rcs.el: Use lexical-binding.
4103
abae272c
SM
4104 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4105 `deleted'. Don't drop errors silently.
4106
52b1cc79
SM
4107 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4108
63191d9f
XF
41092013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4110
4111 * vc/vc.el (vc-ignore): Rewrite.
4112 (vc-default-ignore): New function.
4113 (vc-default-ignore-completion-table): Use find-ignore-file.
4114
4115 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4116 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4117 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4118 Remove. Most code moved to vc.el.
4119
9d3f707c
SM
41202013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4121
abae272c 4122 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
4123 * net/tramp-smb.el (tramp-smb-get-file-entries):
4124 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4125 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4126
fde38d49
SM
4127 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4128 Update call to it.
4129 (eww-change-select): Remove unused var `properties'.
4130 (eww-make-unique-file-name): Remove unused var `base'.
4131
4132 * finder.el (finder-compile-keywords): Don't mess with windows.
4133
84032db7
SM
4134 * calculator.el (calculator-funcall): Fix typo in last change.
4135
724f5e41
SM
4136 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4137
14b511d4
SM
4138 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4139 <pkg>-autoloads.el file stop us.
4140
9d3f707c 4141 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 4142 warnings, and factor out common code.
9d3f707c 4143
88527bc0
DG
41442013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4145
4146 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4147 two-character operators and whether the character preceding them
4148 changes their meaning (Bug#15208).
4149
96edb677
FEG
41502013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4151
4152 Format code sent to Python shell for robustness.
9d3f707c
SM
4153 * progmodes/python.el (python-shell-buffer-substring):
4154 New function.
96edb677
FEG
4155 (python-shell-send-region, python-shell-send-buffer): Use it.
4156
95beaef3
MA
41572013-09-02 Michael Albinus <michael.albinus@gmx.de>
4158
4159 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4160 * net/tramp.el (tramp-user-error): ... here.
4161 (tramp-find-method, tramp-check-proper-host)
4162 (tramp-dissect-file-name, tramp-debug-message)
4163 (tramp-handle-shell-command):
4164 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4165 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4166
4167 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4168
f167c27b
MR
41692013-09-02 Martin Rudalics <rudalics@gmx.at>
4170
4171 * avoid.el (mouse-avoidance-point-position)
4172 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4173 returns nil.
4174
cd16c5f1
FEG
41752013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4176
4177 * progmodes/python.el (python-shell-completion-get-completions):
4178 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 4179 (python-nav-if-name-main): New command.
cd16c5f1 4180
e73c3a0d
GM
41812013-09-01 Glenn Morris <rgm@gnu.org>
4182
f8ccce03
GM
4183 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4184 Avoid leading space in $wins. Otherwise the sed command used by
4185 eg compile-main ends up containing "/*.el". (Bug#15170)
4186
e73c3a0d
GM
4187 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4188
415f808e
GM
41892013-08-30 Glenn Morris <rgm@gnu.org>
4190
4191 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4192 Fix is-this-a-directory logic. (Bug#15220)
4193
f069bba8
SM
41942013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4195
112798c1
SM
4196 * textmodes/css-mode.el: Use SMIE.
4197 (css-smie-grammar): New var.
4198 (css-smie--forward-token, css-smie--backward-token)
4199 (css-smie-rules): New functions.
4200 (css-mode): Use them.
4201 (css-navigation-syntax-table): Remove var.
4202 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4203 (css-indent-calculate, css-indent-line): Remove functions.
4204
4205 Misc changes to reduce use of `(lambda...); and other cleanups.
4206 * cus-edit.el: Use lexical-binding.
4207 (customize-push-and-save, customize-apropos)
4208 (custom-buffer-create-internal): Use closures.
4209 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4210 * progmodes/ada-xref.el: Use setq.
4211 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4212 * dframe.el: Use lexical-binding.
4213 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4214 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4215 * descr-text.el: Use lexical-binding.
4216 (describe-text-widget, describe-text-sexp, describe-property-list):
4217 Use closures.
4218 * comint.el (comint-history-isearch-push-state): Use a closure.
4219 * calculator.el: Use lexical-binding.
4220 (calculator-number-to-string): Make it work with lexical-binding.
4221 (calculator-funcall): Same and use cl-letf.
4222
2da4c3ab
SM
4223 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4224 (lisp--company-doc-string, lisp--company-location): New functions.
4225 (lisp-completion-at-point): Use them to improve Company support.
4226
f069bba8
SM
4227 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4228 params of lambda expressions.
4229 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4230 (ruby-smie--opening-pipe-p): New function.
4231 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4232 symbols and matched |...| for formal params.
4233 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4234 from being treated as hanging. Handle "rescue".
4235
6758b6a8
GM
42362013-08-29 Glenn Morris <rgm@gnu.org>
4237
4238 * progmodes/cc-engine.el (c-pull-open-brace):
4239 Move definition before use.
4240
e8dfd197
SM
42412013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4242
4243 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4244 are immutable. Don't use `unsafe' any more.
4245 (cl--defsubst-expand): Don't substitute at the same time as keeping
4246 a residual unused let-binding. Don't use `unsafe' any more.
4247
cc585c96
GM
42482013-08-29 Glenn Morris <rgm@gnu.org>
4249
ba579ea6
GM
4250 * calendar/cal-china.el (calendar-chinese-year-cache):
4251 Recenter on 2015.
4252
8201a87e
GM
4253 * nxml/nxml-util.el (nxml-debug-clear-inside):
4254 Use cl-loop rather than loop.
4255
6ee877c7
GM
4256 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4257
cc585c96
GM
4258 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4259
27be8d39
GM
42602013-08-28 Glenn Morris <rgm@gnu.org>
4261
397440a1
GM
4262 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4263
2bb762d4
GM
4264 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4265
27be8d39
GM
4266 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4267
2d69b99e
SM
42682013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4269
f663baa7
SM
4270 * simple.el (repeat-complex-command--called-interactively-skip):
4271 New function.
4272 (repeat-complex-command): Use it (bug#14136).
4273
dd4f8b74
SM
4274 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4275 (c-define-abbrev-table): Add `doc' argument.
4276 (c-mode-abbrev-table, c++-mode-abbrev-table)
4277 (objc-mode-abbrev-table, java-mode-abbrev-table)
4278 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4279 (awk-mode-abbrev-table): Use it.
4280 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4281 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4282 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4283 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4284 Move initialization into the declaration; and remove any
4285 autoload cookie.
4286
b58969f7
SM
4287 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4288 and dynamic let binding.
4289
4021d6a6
SM
4290 * vc/smerge-mode.el: Remove redundant :group args.
4291
2d69b99e
SM
4292 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4293 to load-path.
4294
274919fd
JL
42952013-08-28 Juri Linkov <juri@jurta.org>
4296
4297 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4298 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4299 (isearch-other-meta-char): Handle an undefined shifted printing
4300 character by downshifting it. (Bug#15200)
4301
121f8c95
JL
43022013-08-28 Juri Linkov <juri@jurta.org>
4303
4304 * isearch.el (isearch-search): Change regexp error message for
4305 non-regexp searches. (Bug#15166)
4306
50b13cde
PE
43072013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4308
4309 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4310 for portability to hosts where /bin/sh has problems.
4311
95888bca
SM
43122013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4313
4314 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4315
bbe558f1
JL
43162013-08-27 Juri Linkov <juri@jurta.org>
4317
4318 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4319 in the keyboard macro. (Bug#15126)
4320
26f98a7d
JL
43212013-08-27 Juri Linkov <juri@jurta.org>
4322
4323 * isearch.el (isearch-quote-char): Comment out converting unibyte
4324 to multibyte, thus syncing with its `quoted-insert' counterpart.
4325 (Bug#15166)
4326
7c97d35e
MR
43272013-08-27 Martin Rudalics <rudalics@gmx.at>
4328
4329 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
4330 argument in call of get-largest-window (Bug#15185).
4331 Reported by Stephen Leake.
7c97d35e 4332
a0b5606e 43332013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
4334
4335 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4336
9e89d835
SM
43372013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4338
4339 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4340 from a matcher-function unless there's no more matches (bug#15161).
4341
78fc2530
MA
43422013-08-26 Michael Albinus <michael.albinus@gmx.de>
4343
4344 * minibuffer.el: Revert change from 2013-08-20.
4345
4346 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4347 with text property `tramp-default', if appropriate.
4348 (tramp-check-proper-host): New defun.
4349 (tramp-dissect-file-name): Do not check hostname. Revert change
4350 of 2013-03-18.
4351 (tramp-backtrace): Make VEC-OR-PROC optional.
4352
4353 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4354 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4355 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
4356 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4357 Apply `tramp-check-proper-host'.
78fc2530 4358
edca97cd
TH
43592013-08-26 Tassilo Horn <tsdh@gnu.org>
4360
4361 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4362 lambda expression in order to have `describe-variable' display it.
4363
df54bcbd
MA
43642013-08-26 Michael Albinus <michael.albinus@gmx.de>
4365
4366 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4367 BUF can be optional. (Bug#15186)
4368
eed99101
XF
43692013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4370
4371 * progmodes/flymake.el (flymake-get-real-file-name-function):
4372 Fix broken customization. (Bug#15184)
4373
b5eb9035
AM
43742013-08-25 Alan Mackenzie <acm@muc.de>
4375
8a51e842
AM
4376 Improve indentation of bracelists defined by macros (without "=").
4377
4378 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4379 expansion begins with "{", regard it as bracelist when it doesn't
4380 contain a ";".
4381
869455d4
AM
4382 Parse C++ inher-intro when there's a template split over 2 lines.
4383
4384 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4385 rigorously the search for "class" etc. followed by ":".
4386
4387 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4388 random languages a regexp which never matches rather than nil.
4389
b5eb9035
AM
4390 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4391
4392 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4393 (c-awk-regexp-one-line-possibly-open-char-list-re)
4394 (c-awk-one-line-possibly-open-regexp-re)
4395 (c-awk-one-line-non-syn-ws*-re): Remove.
4396 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4397 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4398 (c-awk-space*-unclosed-regexp-/-re): New constants.
4399 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4400 aren't regexp delimiters.
4401
4402 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4403 handling for a rare situation in AWK Mode involving unterminated
4404 strings/regexps.
4405
61611d54
GM
44062013-08-23 Glenn Morris <rgm@gnu.org>
4407
2d85dc34
GM
4408 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4409
cb8d2612
GM
4410 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4411
bb35f42f
GM
4412 * files.el (create-file-buffer): If the result would begin with
4413 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 4414
b9808e77
SM
44152013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4416
e3a66363
SM
4417 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4418 text-properties (bug#15155).
4419
b9808e77
SM
4420 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4421 exist any more.
4422 (calc-keypad-redraw): Remove unused var `pad'.
4423 (calc-keypad-press): Remove unused var `menu'.
4424
7fd5f65e
MR
44252013-08-23 Martin Rudalics <rudalics@gmx.at>
4426
b9808e77
SM
4427 * window.el (display-buffer-pop-up-frame):
4428 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
4429 use it as the new frame's buffer (Bug#15133).
4430
8352b530
SM
44312013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4432
4433 * calendar/timeclock.el: Minor cleanups.
4434 (timeclock-ask-before-exiting, timeclock-use-display-time):
4435 Use `symbol'.
4436 (timeclock-modeline-display): Define as alias before the
4437 actual definition.
4438 (timeclock-mode-line-display): Use define-minor-mode.
4439 (timeclock-day-list-template): Make it a function, add an argument.
4440 (timeclock-day-list-required, timeclock-day-list-length)
4441 (timeclock-day-list-debt, timeclock-day-list-span)
4442 (timeclock-day-list-break): Adjust calls accordingly.
4443
9f7b1925
SM
44442013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4445
4446 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4447 Use read--expression so that completion works again.
4448
6e50e983
SS
44492013-08-21 Sam Steingold <sds@gnu.org>
4450
4451 Add rudimentary inferior shell interaction
4452 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4453 (sh-set-shell): Reset it.
9f7b1925
SM
4454 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4455 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 4456
dbb0d350
SM
44572013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4458
4459 * align.el: Use lexical-binding.
4460 (align-region): Simplify accordingly.
4461
c88586a9
MA
44622013-08-20 Michael Albinus <michael.albinus@gmx.de>
4463
4464 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4465
4466 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4467 `non-essential' up.
4468
f95527c8
MA
44692013-08-17 Michael Albinus <michael.albinus@gmx.de>
4470
4471 * net/tramp.el:
4472 * net/tramp-adb.el:
4473 * net/tramp-cmds.el:
4474 * net/tramp-ftp.el:
4475 * net/tramp-gvfs.el:
4476 * net/tramp-gw.el:
4477 * net/tramp-sh.el: Don't wrap external variable declarations by
4478 `eval-when-compile'.
4479
4b5fe4ee
LMI
44802013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4481
4482 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4483 now that Emacs supports ImageMagick animations.
4484
13c366c9
MA
44852013-08-16 Michael Albinus <michael.albinus@gmx.de>
4486
4487 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4488 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4489
3dfc5cd6
MR
44902013-08-16 Martin Rudalics <rudalics@gmx.at>
4491
4492 * window.el (mouse-autoselect-window-select): Do autoselect when
4493 mouse pointer is on margin.
4494
4bbb4381
WP
44952013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4496
4497 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4498
3a2ddc2d
GM
44992013-08-16 Glenn Morris <rgm@gnu.org>
4500
e8bedf5a
GM
4501 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4502 Handle "Remote Directory" response of some clients. (Bug#15058)
4503
58c4682f
GM
4504 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4505 Tweak warning. (Bug#14926)
4506
57953f49
GM
4507 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4508 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4509
3a2ddc2d
GM
4510 * image-mode.el (image-mode-map): Add menu items to reverse,
4511 increase, decrease, reset animation speed.
4512 (image--set-speed, image-increase-speed, image-decrease-speed)
4513 (image-reverse-speed, image-reset-speed): New functions.
4514 (image-mode-map): Add bindings for speed commands.
4515
4516 * image.el (image-animate-get-speed, image-animate-set-speed):
4517 New functions.
4518 (image-animate-timeout): Respect image :speed property.
4519
10fa0ed3
SM
45202013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4521
4522 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4523 previous line (bug#15101).
4524 (debugger-eval-expression, debugger-record-expression):
4525 Use read--expression (bug#15102).
4526
5d89d9d2
MA
45272013-08-15 Michael Albinus <michael.albinus@gmx.de>
4528
4529 Remove byte compiler warnings, visible when compiling with
4530 `byte-compile-force-lexical-warnings' set to t.
4531
4532 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4533 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4534 (tramp-handle-unhandled-file-name-directory)
4535 (tramp-handle-file-notify-add-watch, tramp-action-login)
4536 (tramp-action-succeed, tramp-action-permission-denied)
4537 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4538 arguments with "_".
4539
4540 * net/tramp-adb.el (tramp-adb-parse-device-names)
4541 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4542 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4543 (tramp-adb-handle-file-truename): Remove unused arguments.
4544
4545 * net/tramp-cache.el (tramp-flush-directory-property)
4546 (tramp-flush-connection-property, tramp-list-connections)
4547 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4548
10fa0ed3
SM
4549 * net/tramp-compat.el (tramp-compat-make-temp-file):
4550 Rename FILENAME to F.
5d89d9d2
MA
4551
4552 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4553 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4554 (tramp-zeroconf-parse-workstation-device-names)
4555 (tramp-zeroconf-parse-webdav-device-names)
4556 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4557
4558 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4559 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4560
4561 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4562 arguments.
4563 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4564 (tramp-sh-handle-insert-file-contents-literally)
4565 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4566 with "_".
4567 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4568 Remove unused variables.
4569
4570 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4571 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4572 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4573
4574 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4575 Make them a defconst.
4576 (tramp-uuencode-region): Remove unused variable.
4577
62f33bae
JB
45782013-08-14 Juanma Barranquero <lekktu@gmail.com>
4579
4580 * frameset.el (frameset--prop-setter): New function.
4581 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
4582 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4583 parameter was already set in FILTERED. Doc fix.
4584 (frameset--record-minibuffer-relationships): Allow saving a
4585 minibufferless frame without its corresponding minibuffer frame.
4586 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4587 frame, if the frame id matches.
4588 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4589 frames before orphaned ones.
4590 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 4591
c660a885
MR
45922013-08-14 Martin Rudalics <rudalics@gmx.at>
4593
4594 * window.el (window-make-atom): Don't overwrite parameter
4595 already present.
4596 (display-buffer-in-atom-window): Handle special case where we
4597 split an already atomic window.
4598 (window--major-non-side-window, display-buffer-in-side-window)
4599 (window--side-check): Ignore minibuffer window when walking
4600 window tree.
4601 (window-deletable-p): Return 'frame only if no other frame uses
4602 our minibuffer window.
4603 (record-window-buffer): Run buffer-list-update-hook.
4604 (split-window): Make sure window--check-frame won't destroy an
4605 existing atomic window in case the new window gets nested
4606 inside.
4607 (display-buffer-at-bottom): Ignore minibuffer window when
4608 walking window tree. Don't split a side window.
4609 (pop-to-buffer): Don't set-buffer here, the select-window call
4610 should do that.
4611 (mouse-autoselect-window-select): Autoselect only if we are in the
4612 text portion of the window.
4613
8259030d
LMI
46142013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4615
21c58ae2
LMI
4616 * net/shr.el (shr-parse-image-data): New function to grab both the
4617 data itself and the Content-Type.
4618 (shr-put-image): Use it.
4619
4620 * net/eww.el (eww-display-image): Ditto.
4621
8259030d
LMI
4622 * image.el (image-content-type-suffixes): New variable.
4623
ad756449
FEG
46242013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4625
4626 * progmodes/python.el (python-imenu--build-tree)
4627 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4628
f73f4ce6
XF
46292013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4630
4631 * simple.el (backward-word): Mention the optional argument.
4632
1f585e65
SM
46332013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4634
4635 * frameset.el (frameset--make): Rename constructor from make-frameset.
4636 (frameset-p, frameset-valid-p): Don't autoload.
4637 (frameset-valid-p): Use normal accessors.
4638
af1c6c84
GM
46392013-08-13 Glenn Morris <rgm@gnu.org>
4640
55e47f95
GM
4641 * progmodes/compile.el (compile-command): Tweak example in doc.
4642 * obsolete/scribe.el (scribe-mode):
4643 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4644
f0024d8c
GM
4645 * mail/feedmail.el (feedmail-confirm-outgoing)
4646 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4647
4648 * cus-start.el (truncate-partial-width-windows): Fix type.
4649
4650 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4651
af1c6c84
GM
4652 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4653
5514cc4c
SM
46542013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4655
4656 * emacs-lisp/timer.el (timer--time-setter): New function.
4657 (timer--time): Use it as gv-setter.
4658
4659 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4660 setter is not a symbol.
4661
7997a2f1
GJ
46622013-08-12 Grégoire Jadi <daimrod@gmail.com>
4663
4664 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4665 if sending fails. This makes debugging easier.
4666
01f1a9ab
JB
46672013-08-12 Juanma Barranquero <lekktu@gmail.com>
4668
4669 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4670 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4671 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4672
594a4307
EZ
46732013-08-12 Eli Zaretskii <eliz@gnu.org>
4674
4675 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4676
7a22490f 46772013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
4678
4679 * format.el (format-annotate-function):
4680 Handle read-only text properties in the source. (Bug#14887)
4681
3e41a054
LMI
46822013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4683
5514cc4c
SM
4684 * net/eww.el (eww-display-html): Ignore coding system errors.
4685 One web site uses "utf-8lias" as the coding system.
3e41a054 4686
7ec326db
JB
46872013-08-11 Juanma Barranquero <lekktu@gmail.com>
4688
4689 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4690
5660113b
JB
46912013-08-10 Juanma Barranquero <lekktu@gmail.com>
4692
9a4ebc74
JB
4693 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4694 (tutorial--detailed-help): Remove unused local variables.
4695 (tutorial--save-tutorial-to): Use ignore-errors.
4696 (help-with-tutorial): Use looking-at-p.
4697
4698 * view.el (view-buffer-other-window, view-buffer-other-frame):
4699 Mark unused arguments.
4700
4701 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4702 (woman-select-symbol-fonts, woman, woman-find-file)
4703 (woman-insert-file-contents, woman-non-underline-faces):
4704 Use string-match-p.
4705 (woman1-unquote): Move declaration.
4706
4707 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4708 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4709 argument. Remove unused local variable.
4710 (xml-parse-elem-type): Use string-match-p.
4711 (xml-substitute-numeric-entities): Use ignore-errors.
4712
45fdb482
JB
4713 * calculator.el (calculator): Mark unused argument.
4714 (calculator-paste, calculator-quit, calculator-integer-p):
4715 Use ignore-errors.
4716 (calculator-string-to-number, calculator-decimal, calculator-exp)
4717 (calculator-op-or-exp): Use string-match-p.
4718
4719 * dired.el (dired-buffer-more-recently-used-p): Declare.
4720 (dired-insert-set-properties, dired-insert-old-subdirs):
4721 Use ignore-errors.
4722
4723 * dired-aux.el (dired-compress): Use ignore-errors.
4724 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4725 (dired-do-async-shell-command, dired-do-shell-command)
4726 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4727 (dired-insert-subdir-validate): Use string-match-p.
4728 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4729 (dired-add-entry): Use string-match-p, looking-at-p.
4730 (dired-insert-subdir-newpos): Remove unused local variable.
4731
4732 * filenotify.el (file-notify-callback): Remove unused local variable.
4733
4734 * filesets.el (filesets-error): Mark unused argument.
4735 (filesets-which-command-p, filesets-filter-dir-names)
4736 (filesets-directory-files, filesets-get-external-viewer)
4737 (filesets-ingroup-get-data): Use string-match-p.
4738
4739 * find-file.el (ff-other-file-name, ff-other-file-name)
4740 (ff-find-the-other-file, ff-cc-hh-converter):
4741 Remove unused local variables.
4742 (ff-get-file-name): Use string-match-p.
4743 (ff-all-dirs-under): Use ignore-errors.
4744
4745 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4746 (follow-select-if-visible): Remove unused local variable.
4747
4748 * forms.el (read-file-filter): Move declaration.
4749 (forms--make-format, forms--make-parser, forms-insert-record):
4750 Quote function with #'.
4751 (forms--update): Use string-match-p. Quote function with #'.
4752
4753 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4754 (help-make-xrefs): Use looking-at-p.
4755 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4756
4757 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4758 (ibuffer-confirm-operation-on): Use string-match-p.
4759
4760 * msb.el (msb-item-handler, msb-dired-item-handler):
4761 Mark unused arguments.
4762
4763 * ses.el (ses-decode-cell-symbol)
4764 (ses-kill-override): Remove unused local variable.
4765 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4766 (ses-load): Use ignore-errors, looking-at-p.
4767 (ses-jump-safe): Use ignore-errors.
4768 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4769
4770 * tabify.el (untabify, tabify): Mark unused arguments.
4771
4772 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4773 Mark unused argument.
4774 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4775 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4776
c880af52
JB
4777 * emacs-lisp/timer.el (timer--time): Define setter with
4778 gv-define-setter to avoid deprecation warning.
4779
5660113b 4780 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 4781 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
4782 (cmpl-statistics-block): Remove (body was commented out).
4783 All callers changed.
4784 (add-completions-from-buffer, load-completions-from-file):
4785 Remove unused variables.
4786
156aab80
JB
47872013-08-09 Juanma Barranquero <lekktu@gmail.com>
4788
5c5dee78
JB
4789 * filecache.el (file-cache-delete-file-list):
4790 Print message only when told so.
4791 (file-cache-files-matching): Use #' in mapconcat argument.
4792
156aab80
JB
4793 * ffap.el (ffap-url-at-point): Fix reference to variable
4794 thing-at-point-default-mail-uri-scheme.
4795
ad9dcd70
SM
47962013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4797
54bd972f
SM
4798 * subr.el (define-error): New function.
4799 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4800 error-file-not-found and define with define-error.
4801 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4802 and define with define-error.
4803 * userlock.el (file-locked, file-supersession):
4804 * simple.el (mark-inactive):
4805 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4806 * progmodes/ada-mode.el (ada-mode-errors):
4807 * play/life.el (life-extinct):
4808 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4809 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4810 * nxml/rng-util.el (rng-error):
4811 * nxml/rng-uri.el (rng-uri-error):
4812 * nxml/rng-match.el (rng-compile-error):
4813 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4814 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4815 * nxml/nxml-rap.el (nxml-scan-error):
4816 * nxml/nxml-outln.el (nxml-outline-error):
4817 * net/soap-client.el (soap-error):
4818 * net/gnutls.el (gnutls-error):
4819 * net/ange-ftp.el (ftp-error):
4820 * mpc.el (mpc-proc-error):
4821 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4822 (json-number-format, json-string-escape, json-string-format)
4823 (json-key-format, json-object-format):
4824 * jka-compr.el (compression-error):
4825 * international/quail.el (quail-error):
4826 * international/kkc.el (kkc-error):
4827 * emacs-lisp/ert.el (ert-test-failed):
4828 * calc/calc.el (calc-error, inexact-result, math-overflow)
4829 (math-underflow):
4830 * bookmark.el (bookmark-error-no-filename):
4831 * epg.el (epg-error): Define with define-error.
4832
0ea9e53a
SM
4833 * time.el (display-time-event-handler)
4834 (display-time-next-load-average): Don't call sit-for since it seems
4835 unnecessary (bug#15045).
4836
b0429158
SM
4837 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4838 Use #' instead of ' to quote functions.
4839 (checkdoc-output-mode): Use setq-local.
4840 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4841 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4842 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4843 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4844 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4845 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4846 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4847 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4848
ad9dcd70
SM
4849 * ido.el (ido-completion-help): Fix up compiler warning.
4850
77187e6f
JB
48512013-08-09 Juanma Barranquero <lekktu@gmail.com>
4852
4853 * frameset.el (frameset-p): Add autoload cookie.
4854 (frameset--jump-to-register): New function, based on code moved from
4855 register.el.
4856 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4857
4858 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4859 (frameset-restore, frameset-save, frameset-session-filter-alist):
4860 Remove declarations.
4861 (register-alist): Doc fix.
4862 (frameset-to-register): Move to frameset.el.
4863 (jump-to-register, describe-register-1): Remove frameset-specific code.
4864
9d3aa82c
JB
48652013-08-08 Juanma Barranquero <lekktu@gmail.com>
4866
4867 * allout-widgets.el (allout-widgets-pre-command-business)
4868 (allout-widgets-post-command-business)
4869 (allout-widgets-after-change-handler)
4870 (allout-decorate-item-and-context, allout-set-boundary-marker)
4871 (allout-body-modification-handler)
4872 (allout-graphics-modification-handler): Mark ignored arguments.
4873 (allout-widgets-post-command-business)
4874 (allout-widgets-exposure-change-processor)
4875 (allout-widgets-exposure-undo-processor)
4876 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4877 (allout-parse-item-at-point, allout-decorate-item-guides)
4878 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4879 * allout.el (epa-passphrase-callback-function): Declare.
4880 (allout-overlay-insert-in-front-handler)
4881 (allout-overlay-interior-modification-handler)
4882 (allout-isearch-end-handler, allout-chart-siblings)
4883 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4884 (allout-yank-processing, allout-process-exposed)
4885 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 4886 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
4887 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4888 (lisp-indent-defform): Mark ignored arguments.
4889 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4890 (calculate-lisp-indent): Remove unused variables.
4891 * international/characters.el (indian-2-column, arabic-2-column)
4892 (tibetan): Mark ignored arguments.
4893 (use-cjk-char-width-table): Mark ignored arguments.
4894 Remove unused variables.
4895 * international/fontset.el (build-default-fontset-data)
4896 (x-compose-font-name, create-fontset-from-fontset-spec):
4897 Mark ignored arguments.
4898 (fontset-plain-name): Remove unused variables.
4899 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4900 (keyboard-coding-system): Mark ignored arguments.
4901 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4902 * help.el (resize-temp-buffer-window):
4903 * window.el (display-buffer-in-major-side-window)
4904 (display-buffer-in-side-window, display-buffer-in-previous-window):
4905 Remove unused variables.
4906 * isearch.el (isearch-forward-symbol):
4907 * version.el (emacs-bzr-version-bzr):
4908 * international/mule-cmds.el (current-language-environment):
4909 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4910 (x-handle-display):
4911 * term/pc-win.el (x-list-fonts, x-display-planes)
4912 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4913 (x-server-version, x-display-screens, x-display-mm-height)
4914 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4915 (x-selection-owner-p, x-own-selection-internal)
4916 (x-disown-selection-internal, x-get-selection-internal)
4917 (msdos-initialize-window-system):
4918 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4919 * term/x-win.el (x-handle-no-bitmap-icon):
4920 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4921 (vc-default-find-file-hook, vc-default-extra-menu):
4922 Mark ignored arguments.
4923
0ca3f70e
SM
49242013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4925
4926 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4927 break-condition in the context of the debugged code (bug#12685).
4928
74c5d24c
CS
49292013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4930
4931 * comint.el:
4932 Do not use an overlay to highlight the last prompt. (Bug#14744)
4933 (comint-mode): Make comint-last-prompt buffer local.
4934 (comint-last-prompt): New variable.
4935 (comint-last-prompt-overlay): Remove. Superseded by
4936 comint-last-prompt.
0ca3f70e
SM
4937 (comint-snapshot-last-prompt, comint-output-filter):
4938 Use comint-last-prompt.
74c5d24c 4939
c03c02ee
JB
49402013-08-08 Juanma Barranquero <lekktu@gmail.com>
4941
a3738d20 4942 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
4943 (frameset-save): Check validity of the resulting frameset.
4944
04263d23
XF
49452013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4946
4947 * ido.el (ido-record-command): Add doc string.
4948
76c5e5ab
JB
49492013-08-08 Juanma Barranquero <lekktu@gmail.com>
4950
4951 * frameset.el (frameset): Do not disable creation of the default
4952 frameset-p predicate. Doc fix.
4953 (frameset-valid-p): New function, copied from the old predicate-p.
4954 Add additional checks.
4955 (frameset-restore): Check with frameset-valid-p.
4956 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4957 (frameset-name, frameset-description, frameset-properties)
4958 (frameset-states): Add docstring.
f9dbf1cb
JB
4959 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4960 (frameset-filter-alist): Doc fixes.
76c5e5ab 4961
bd0c3c0b
JB
49622013-08-08 Juanma Barranquero <lekktu@gmail.com>
4963
4964 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4965
c735544c
SM
49662013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4967
4968 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4969 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4970 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4971 (byte-compile-normal-call): Remove obsolescence check.
4972
2805a651
JB
49732013-08-08 Juanma Barranquero <lekktu@gmail.com>
4974
3677ffeb
JB
4975 * frameset.el (frameset-restore): Doc fix.
4976
2805a651
JB
4977 * register.el (frameset-frame-id, frameset-frame-with-id)
4978 (frameset-p, frameset-restore, frameset-save): Declare.
4979 (register-alist): Document framesets.
4980 (frameset-session-filter-alist): Declare.
4981 (frameset-to-register): New function.
4982 (jump-to-register): Implement jumping to framesets. Doc fix.
4983 (describe-register-1): Describe framesets.
4984
4985 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4986
a912c016
JB
49872013-08-07 Juanma Barranquero <lekktu@gmail.com>
4988
4989 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4990 Use lexical-binding.
4991
4992 * frameset.el (frameset): Use type vector, not list (incompatible
4993 change). Do not declare a new constructor, use the default one.
4994 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4995 `name' and `description', respectively, and add read-only slot
4996 `timestamp'. Doc fixes.
4997 (frameset-copy, frameset-persistent-filter-alist)
4998 (frameset-filter-alist, frameset-switch-to-gui-p)
4999 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5000 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5001 (frameset-filter-iconified, frameset-keep-original-display-p):
5002 Doc fixes.
5003 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5004 Rename from frameset-filter-(save|restore)-param. All callers changed.
5005 Doc fix.
5006 (frameset-p): Adapt to change to vector and be more thorough.
5007 Change arg name to OBJECT. Doc fix.
5008 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5009 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5010 All callers changed.
5011 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5012 All callers changed.
5013 (frameset--record-minibuffer-relationships): Rename from
5014 frameset--process-minibuffer-frames. All callers changed.
5015 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5016 Use new default constructor (again). Doc fix.
5017 (frameset--find-frame-if): Rename from `frameset--find-frame.
5018 All callers changed.
5019 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5020 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5021 Doc fix.
5022 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5023 PARAMETERS and WINDOW-STATE, respectively.
5024 (frameset-restore): Add new keyword argument PREDICATE.
5025 Reset frameset--target-display to nil. Doc fix.
5026
bb41480a
SM
50272013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5028
f001e98e
SM
5029 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5030 (bat-mode): Use it.
5031 (bat-mode-syntax-table): Mark \n as end-of-comment.
5032 (bat-font-lock-keywords): Remove comment rule.
5033
7679edb1
SM
5034 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5035 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5036
bb41480a
SM
5037 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5038 (byte-compile-callargs-warn): Use `push'.
5039 (byte-compile-arglist-warn): Ignore higher-order "calls".
5040 (byte-compile-file-form-autoload): Use `pcase'.
5041 (byte-compile-function-form): If quoting a symbol, check that it exists.
5042
cdc1ebb9
EZ
50432013-08-07 Eli Zaretskii <eliz@gnu.org>
5044
5045 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5046 and add a few popular commands found in batch files.
5047 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5048 (dos-mode): Doc fixes.
5049
312b1740
SM
50502013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5051
5052 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5053 (dos-mode): Use setq-local. Add space after "rem".
5054 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5055 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5056
400a3178
AM
50572013-08-07 Arni Magnusson <arnima@hafro.is>
5058
5059 * progmodes/dos.el: New file.
5060 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5061 dos-mode.
5062
3b5c03d3
GM
50632013-08-06 Glenn Morris <rgm@gnu.org>
5064
5065 * calendar/calendar.el: Add new faces, and day-header-array.
5066 (calendar-weekday-header, calendar-weekend-header)
5067 (calendar-month-header): New faces.
5068 (calendar-day-header-construct): New function.
5069 (calendar-day-header-width): Also :set calendar-day-header-array.
5070 (calendar-american-month-header, calendar-european-month-header)
5071 (calendar-iso-month-header): Use calendar- faces.
5072 (calendar-generate-month):
5073 Use calendar-day-header-array for day headers; apply faces to them.
5074 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5075 (calendar-abbrev-construct): Add optional maxlen argument.
5076 (calendar-day-name-array): Doc fix.
5077 (calendar-day-name-array, calendar-abbrev-length)
5078 (calendar-day-abbrev-array):
5079 Also :set calendar-day-header-array, and maybe redraw.
5080 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 5081 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
5082 (calendar-day-name): Add option to use header array.
5083
ec6a2d7a
LMI
50842013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5085
5086 * net/shr.el (shr-render-td): Remove debugging.
5087 (shr-render-td): Make width computation consistent by defaulting
5088 all zero-width columns to 10 characters. This may not be optimal,
5089 but it's at least consistent.
2122cb6d
LMI
5090 (shr-make-table-1): Redo last change to fix the real problem in
5091 colspan handling.
ec6a2d7a 5092
ed4fd9c5
DA
50932013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5094
0ca3f70e
SM
5095 * files.el (cache-long-line-scans):
5096 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 5097
64e22afe
JB
50982013-08-06 Juanma Barranquero <lekktu@gmail.com>
5099
024b38fc
JB
5100 * frameset.el (frameset, frameset-filter-alist)
5101 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5102 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5103 (frameset-compute-pos): Rename from frameset--compute-pos,
5104 and add docstring.
5105 (frameset-move-onscreen): Use frameset-compute-pos.
5106 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5107
64e22afe
JB
5108 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5109 Fix typos in docstrings.
5110
c8c2aca8
DA
51112013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5112
5113 * frame.el (get-other-frame): Tiny cleanup.
5114
1d237bba
JB
51152013-08-06 Juanma Barranquero <lekktu@gmail.com>
5116
8951efef
JB
5117 * vc/vc.el (vc-default-ignore-completion-table):
5118 Silence byte-compiler warning.
5119
307764cc
JB
5120 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5121 slot , which can indeed be nil.
5122 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5123 Move entry for `left' from persistent to live filter alist.
5124 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5125 Doc fixes.
5126 (frameset-filter-params): When restoring a frame, copy items added to
5127 `filtered', to avoid unwittingly modifying the original parameters.
5128 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5129 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5130
1d237bba
JB
5131 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5132 to use looking-at-p instead of looking-at. (Bug#15028)
5133
dc6c0eda
SM
51342013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5135
5136 Revert introduction of isearch-filter-predicates (bug#14714).
5137 Rely on add-function instead.
5138 * isearch.el (isearch-filter-predicates): Rename it back to
5139 isearch-filter-predicate.
5140 (isearch-message-prefix): Use advice-function-mapc and advice
5141 properties to get the isearch-message-prefix.
5142 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5143 instead of run-hook-with-args-until-failure.
5144 (isearch-filter-visible): Not obsolete any more.
5145 * loadup.el: Preload nadvice.
5146 * replace.el (perform-replace): Revert to funcall
5147 instead of run-hook-with-args-until-failure.
5148 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5149 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5150 dired-isearch-filenames-toggle; make it into a proper minor mode.
5151 Use add/remove-function.
5152 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5153 Call the minor-mode rather than add/remove-hook.
5154 (dired-isearch-filter-filenames):
5155 Remove isearch-message-prefix property.
5156 * info.el (Info--search-loop): New function, extracted from Info-search.
5157 Funcall isearch-filter-predicate instead of
5158 run-hook-with-args-until-failure isearch-filter-predicates.
5159 (Info-search): Use it.
5160 (Info-mode): Use isearch-filter-predicate instead of
5161 isearch-filter-predicates.
5162
290d5b58
DA
51632013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5164
5165 Do not call to `selected-window' where it is assumed by default.
5166 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5167 `window-hscroll', `window-width', `window-height', `window-buffer',
5168 `window-frame', `window-start', `window-point', `next-window'
5169 and `window-display-table'.
5170 * abbrev.el (abbrev--default-expand):
5171 * bs.el (bs--show-with-configuration):
5172 * buff-menu.el (Buffer-menu-mouse-select):
5173 * calc/calc.el (calc):
5174 * calendar/calendar.el (calendar-generate-window):
5175 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5176 (diary-make-entry):
5177 * comint.el (send-invisible, comint-dynamic-complete-filename)
5178 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5179 * completion.el (complete):
5180 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5181 * disp-table.el (describe-current-display-table):
5182 * doc-view.el (doc-view-insert-image):
5183 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5184 * ehelp.el (with-electric-help):
5185 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5186 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5187 * emacs-lisp/helper.el (Helper-help-scroller):
5188 * emulation/cua-base.el (cua--post-command-handler-1):
5189 * eshell/esh-mode.el (eshell-output-filter):
5190 * ffap.el (ffap-gnus-wrapper):
5191 * help-macro.el (make-help-screen):
5192 * hilit-chg.el (highlight-compare-buffers):
5193 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5194 * hl-line.el (global-hl-line-highlight):
5195 * icomplete.el (icomplete-simple-completing-p):
5196 * isearch.el (isearch-done):
5197 * jit-lock.el (jit-lock-stealth-fontify):
5198 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5199 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5200 * mpc.el (mpc-tagbrowser, mpc):
5201 * net/rcirc.el (rcirc-any-buffer):
5202 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5203 * play/landmark.el (landmark-max-width, landmark-max-height):
5204 * play/zone.el (zone):
5205 * progmodes/compile.el (compilation-goto-locus):
5206 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5207 * progmodes/etags.el (find-tag-other-window):
5208 * progmodes/fortran.el (fortran-column-ruler):
5209 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5210 * progmodes/verilog-mode.el (verilog-point-text):
5211 * reposition.el (reposition-window):
5212 * rot13.el (toggle-rot13-mode):
5213 * server.el (server-switch-buffer):
5214 * shell.el (shell-dynamic-complete-command)
5215 (shell-dynamic-complete-environment-variable):
5216 * simple.el (insert-buffer, set-selective-display)
5217 (delete-completion-window):
5218 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5219 (speedbar-recenter):
5220 * startup.el (fancy-splash-head):
5221 * textmodes/ispell.el (ispell-command-loop):
5222 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5223 * tutorial.el (help-with-tutorial):
5224 * vc/add-log.el (add-change-log-entry):
5225 * vc/compare-w.el (compare-windows):
5226 * vc/ediff-help.el (ediff-indent-help-message):
5227 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5228 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5229 (ediff-setup-control-frame):
5230 * vc/emerge.el (emerge-position-region):
5231 * vc/pcvs-util.el (cvs-bury-buffer):
5232 * window.el (walk-windows, mouse-autoselect-window-select):
5233 * winner.el (winner-set-conf, winner-undo): Related users changed.
5234
38276e01
JB
52352013-08-05 Juanma Barranquero <lekktu@gmail.com>
5236
5237 * frameset.el (frameset--set-id): Doc fix.
5238 (frameset-frame-id, frameset-frame-id-equal-p)
5239 (frameset-locate-frame-id): New functions.
5240 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5241 (frameset-restore): Use them.
5242
12b4c0ea
DA
52432013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5244
5245 Do not call to `selected-frame' where it is assumed by default.
5246 Affected functions are `raise-frame', `redraw-frame',
5247 `frame-first-window', `frame-terminal' and `delete-frame'.
5248 * calendar/appt.el (appt-disp-window):
5249 * epg.el (epg-wait-for-completion):
5250 * follow.el (follow-delete-other-windows-and-split)
5251 (follow-avoid-tail-recenter):
5252 * international/mule.el (set-terminal-coding-system):
5253 * mail/rmail.el (rmail-mail-return):
5254 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5255 * progmodes/f90.el (f90-add-imenu-menu):
5256 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5257 * server.el (server-switch-buffer):
5258 * simple.el (delete-completion-window):
5259 * talk.el (talk):
5260 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5261 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5262 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5263 * vc/ediff.el (ediff-documentation): Related users changed.
5264 * frame.el (selected-terminal): Remove the leftover.
5265
17f25e76
GM
52662013-08-05 Glenn Morris <rgm@gnu.org>
5267
5268 * calendar/calendar.el (calendar-generate-month):
5269 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
5270 (calendar-generate-month, calendar-font-lock-keywords):
5271 Fix for calendar-day-header-width > length of any day name.
17f25e76 5272
063233c3
JB
52732013-08-05 Juanma Barranquero <lekktu@gmail.com>
5274
5275 * desktop.el (desktop-clear): Use new name of sort predicate.
5276
5277 * frameset.el (frameset): Add docstring. Move :version property to its
5278 own `version' slot.
5279 (frameset-copy): Rename from copy-frameset.
5280 (frameset-p): Check more thoroughly.
5281 (frameset-prop): Do not check for :version, which is no longer a prop.
5282 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5283 Use new :never value instead of t.
5284 (frameset-filter-alist): Expand and clarify docstring.
5285 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5286 (frameset-filter-minibuffer, frameset-filter-save-param)
5287 (frameset-filter-restore-param, frameset-filter-iconified):
5288 Add pointer to docstring of frameset-filter-alist.
5289 (frameset-filter-params): Rename filter values to be more meaningful:
5290 :never instead of t, and reverse the meanings of :save and :restore.
5291 (frameset--process-minibuffer-frames): Clarify error message.
5292 (frameset-save): Avoid unnecessary and confusing call to framep.
5293 Use new BOA constructor for framesets.
5294 (frameset--reuse-list): Doc fix.
5295 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5296 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5297 (frameset-minibufferless-first-p): Doc fix.
5298 Rename from frameset-sort-frames-for-deletion.
5299 (frameset-restore): Doc fixes. Use new function names.
5300 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5301
d5671a82
JB
53022013-08-04 Juanma Barranquero <lekktu@gmail.com>
5303
5304 * desktop.el (desktop-restore-forces-onscreen)
5305 (desktop-restore-reuses-frames): Document :keyword constant values.
5306 (desktop-filter-parameters-alist): Remove, now identical to
5307 frameset-filter-alist.
5308 (desktop--filter-tty*): Remove, moved to frameset.el.
5309 (desktop-save-frameset, desktop-restore-frameset):
5310 Do not pass :filters argument.
5311
5312 * frameset.el (frameset-live-filter-alist)
5313 (frameset-persistent-filter-alist): New variables.
5314 (frameset-filter-alist): Use them. Add autoload cookie.
5315 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5316 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5317 `frameset--id' (it's supposed to be internal to frameset.el).
5318 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5319 (frameset--initial-params): New function.
5320 (frameset--get-frame): Use it. Doc fix.
5321 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5322 Accept :all, not 'all.
5323 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5324 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5325 with fbound symbols. Fix frame id matching, and remove matching ids if
5326 the frame being restored is deleted. Obey :delete.
5327
671d5c16
SM
53282013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5329
5330 * subr.el (macrop): New function.
5331 (text-clone--maintaining): New var.
5332 (text-clone--maintain): Rename from text-clone-maintain. Use it
5333 instead of inhibit-modification-hooks.
5334
5335 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5336 a proxy, so as handle autoloads and redefinitions of the target.
5337 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5338
5339 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5340 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5341 (pcase--mutually-exclusive-p): New function.
5342 (pcase--split-consp): Use it.
5343 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5344 mutually exclusive with the current predicate.
5345
5346 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5347 (edebug-macrop): Remove. Use `macrop' instead.
5348 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5349 (ad-macro-p):
5350 * eshell/esh-cmd.el (eshell-macrop):
5351 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5352
1d44e9dc
SM
53532013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5354
5355 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5356 (advice-mapc): New function, using it.
5357 (advice-function-member-p): New function.
5358 (advice--normalize): Store the cdr in advice--saved-rewrite since
5359 that's the part that will be changed.
5360 (advice--symbol-function): New function.
5361 (advice-remove): Handle removal before the function is defined.
5362 Adjust to new advice--saved-rewrite.
5363 (advice-member-p): Use advice-function-member-p and
5364 advice--symbol-function.
5365
5414a283
JB
53662013-08-04 Juanma Barranquero <lekktu@gmail.com>
5367
51d30f2c
JB
5368 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5369 (frameset-filter-minibuffer): Doc fix.
5370 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
5371 (frameset--set-id, frameset--process-minibuffer-frames)
5372 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5373 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 5374
5414a283
JB
5375 * desktop.el (desktop-clear): Only delete frames when called
5376 interactively and desktop-restore-frames is non-nil. Doc fix.
5377 (desktop-read): Set desktop-saved-frameset to nil.
5378
ab419665
XF
53792013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5380
5381 * vc/vc.el (vc-ignore): Rewrite.
5382 (vc-default-ignore-completion-table):
5383 (vc--read-lines):
5384 (vc--add-line, vc--remove-regexp): New functions.
5385
5386 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5387 (vc-svn-ignore-completion-table): New function.
5388
5389 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5390 (vc-hg-ignore-completion-table):
5391 (vc-hg-find-ignore-file): New functions.
5392
5393 * vc/vc-git.el (vc-git-ignore): Rewrite.
5394 (vc-git-ignore-completion-table):
5395 (vc-git-find-ignore-file): New functions.
5396
5397 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5398
5399 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5400 (vc-bzr-ignore-completion-table):
5401 (vc-bzr-find-ignore-file): New functions.
5402
2613dea2
JB
54032013-08-03 Juanma Barranquero <lekktu@gmail.com>
5404
5405 * frameset.el (frameset-prop): New function and setter.
5406 (frameset-save): Do not modify frame list passed by the caller.
5407
9c959872
SM
54082013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5409
5410 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5411
a104f656
SM
54122013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5413
70122acf
SM
5414 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5415 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5416
a104f656
SM
5417 * custom.el (custom-initialize-default, custom-initialize-set)
5418 (custom-initialize-reset, custom-initialize-changed): Affect the
5419 toplevel-default-value (bug#6275, bug#14586).
5420 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5421 for bug#6275.
5422
f078d570
JB
54232013-08-02 Juanma Barranquero <lekktu@gmail.com>
5424
185e3b5a
JB
5425 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5426 Add cl-def* expressions.
5427
f078d570
JB
5428 * frameset.el (frameset-filter-params): Fix order of arguments.
5429
9421876d
JB
54302013-08-02 Juanma Barranquero <lekktu@gmail.com>
5431
5432 Move code related to saving frames to frameset.el.
5433 * desktop.el: Require frameset.
5434 (desktop-restore-frames): Doc fix.
5435 (desktop-restore-reuses-frames): Rename from
5436 desktop-restoring-reuses-frames.
5437 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5438 (desktop-clear): Clear frames too.
5439 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5440 (desktop--filter-tty*, desktop-save, desktop-read):
5441 Use frameset functions.
5442 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5443 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5444 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5445 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5446 (desktop--process-minibuffer-frames, desktop-save-frames)
5447 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5448 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5449 (desktop--sort-states, desktop-restoring-frames-p)
5450 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5451 (desktop-restoring-frameset-p, desktop-restore-frameset)
5452 (desktop--check-dont-save, desktop-save-frameset): New functions.
5453 (desktop--app-id): New constant.
5454 (desktop-first-buffer, desktop-buffer-ok-count)
5455 (desktop-buffer-fail-count): Move before first use.
5456 * frameset.el: New file.
5457
76dc5996
SM
54582013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5459
5460 * files.el: Use lexical-binding.
5461 (dir-locals-read-from-file): Remove unused `err' variable.
5462 (hack-dir-local-variables--warned-coding): New var.
5463 (hack-dir-local-variables): Use it to avoid repeated warnings.
5464 (make-backup-file-name--default-function): New function.
5465 (make-backup-file-name-function): Use it as default.
5466 (buffer-stale--default-function): New function.
5467 (buffer-stale-function): Use it as default.
5468 (revert-buffer-insert-file-contents--default-function): New function.
5469 (revert-buffer-insert-file-contents-function): Use it as default.
5470 (insert-directory): Avoid add-to-list.
5471
5472 * autorevert.el (auto-revert-handler): Simplify.
5473 Use buffer-stale--default-function.
5474
06d36e2b
TH
54752013-08-01 Tassilo Horn <tsdh@gnu.org>
5476
5f648ab4
TH
5477 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5478
06d36e2b
TH
5479 * whitespace.el (whitespace-ensure-local-variables): New function.
5480 (whitespace-cleanup-region): Call it.
5481 (whitespace-turn-on): Call it.
5482
a43dc424
MA
54832013-08-01 Michael Albinus <michael.albinus@gmx.de>
5484
5485 Complete file name handlers.
5486
5487 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5488 (tramp-handle-verify-visited-file-modtime)
5489 (tramp-handle-file-notify-rm-watch): New functions.
5490 (tramp-call-process): Do not bind `default-directory'.
5491
44e18199
JB
5492 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5493 Order alphabetically.
a43dc424
MA
5494 [access-file, add-name-to-file, dired-call-process]:
5495 [dired-compress-file, file-acl, file-notify-rm-watch]:
5496 [file-ownership-preserved-p, file-selinux-context]:
5497 [make-directory-internal, make-symbolic-link, set-file-acl]:
5498 [set-file-selinux-context, set-visited-file-modtime]:
5499 [verify-visited-file-modtime]: Add handler.
5500 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5501
5502 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5503 [file-notify-add-watch, file-notify-rm-watch]:
5504 [set-file-times, set-visited-file-modtime]:
5505 [verify-visited-file-modtime]: Add handler.
5506 (with-tramp-gvfs-error-message)
5507 (tramp-gvfs-handle-set-visited-file-modtime)
5508 (tramp-gvfs-fuse-file-name): Remove.
5509 (tramp-gvfs-handle-file-notify-add-watch)
5510 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5511 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5512
44e18199
JB
5513 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5514 Order alphabetically.
a43dc424
MA
5515 [file-notify-rm-watch ]: Use default Tramp handler.
5516 [executable-find]: Remove private handler.
5517 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5518 `default-directory'.
5519 (tramp-sh-handle-executable-find)
5520 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5521 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5522 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5523 Do not use `format' in `tramp-message'.
5524
5525 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5526 [file-notify-rm-watch, set-visited-file-modtime]:
5527 [verify-visited-file-modtime]: Add handler.
5528 (tramp-smb-call-winexe): Do not bind `default-directory'.
5529
7188b515
XF
55302013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5531
5532 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5533
2412ee1a
DG
55342013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5535
5536 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5537 use it.
5538 (log-view-diff-changeset): Same.
5539 (log-view-diff-common): Call backend command `previous-revision'
5540 to find out the previous revision, in both cases. Swap the
5541 variables `to' and `fr', so that `fr' usually refers to the
5542 earlier revision (Bug#14989).
5543
5002a754
KRC
55442013-07-31 Kan-Ru Chen <kanru@kanru.info>
5545
5546 * ibuf-ext.el (ibuffer-filter-by-filename):
5547 Make it work with dired buffers too.
5548
44e18199 55492013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
5550
5551 * emacs-lisp/re-builder.el (reb-color-display-p):
5552 * files.el (save-buffers-kill-terminal):
5553 * net/browse-url.el (browse-url):
5554 * server.el (server-save-buffers-kill-terminal):
5555 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5556 Prefer nil to selected-frame for the first arg of frame-parameter.
5557
aeca3fbb
XF
55582013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5559
5560 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5561
158bc55c
SB
55622013-07-30 Stephen Berman <stephen.berman@gmx.net>
5563
5564 * minibuffer.el (completion--twq-all): Try and preserve each
5565 completion's case choice (bug#14907).
5566
d50fceab
LMI
55672013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5568
ac38e731
LMI
5569 * net/network-stream.el (open-network-stream): Mention the new
5570 :nogreeting parameter.
5571 (network-stream-open-starttls): Use the :nogreeting parameter
5572 (bug#14938).
5573
1211de50
LMI
5574 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5575
997798bf
LMI
5576 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5577 more natural than popping.
5578
d50fceab 5579 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 5580 (shr-urlify): Highlight under mouse.
d50fceab 5581
5c09de04
XF
55822013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5583
207d1d04
XF
5584 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5585
5586 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5587
5c09de04
XF
5588 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5589 buffer for output.
5590
3cd51eaa
XF
5591 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5592 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 5593
44e18199 5594 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 5595 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
5596
5597 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5598
5599 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5600 buffer for output.
5601
35a89bdd
EZ
56022013-07-29 Eli Zaretskii <eliz@gnu.org>
5603
5604 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5605 initial frame is minibuffer-less. (Bug#14841)
5606
78822e94
MA
56072013-07-29 Michael Albinus <michael.albinus@gmx.de>
5608
5609 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5610 option.
5611
5612 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5613 (tramp-maybe-open-connection): Use it.
5614
9503c190
JB
56152013-07-28 Juanma Barranquero <lekktu@gmail.com>
5616
5617 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5618 minimal set of parameters passed when creating a frame, because
5619 the minibuffer status of a frame cannot be changed later.
5620
d5a845b4
SB
56212013-07-28 Stephen Berman <stephen.berman@gmx.net>
5622
5623 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5624 replace-regexp-in-string and inadvertent omissions in previous change.
5625 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 5626 name of filtered items buffer.
d5a845b4 5627
ddeffb17
JB
56282013-07-28 Juanma Barranquero <lekktu@gmail.com>
5629
5630 * desktop.el: Optionally force offscreen frames back onscreen.
5631 (desktop-restoring-reuses-frames): New option.
5632 (desktop--compute-pos, desktop--move-onscreen): New functions.
5633 (desktop--make-frame): Use desktop--move-onscreen.
5634
f5950f7a
AM
56352013-07-27 Alan Mackenzie <acm@muc.de>
5636
5637 Fontify a Java generic method as a function.
5638 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5639 value to t.
5640
ae43b66a
SB
56412013-07-27 Stephen Berman <stephen.berman@gmx.net>
5642
5643 * calendar/todo-mode.el: Add command to rename todo files.
5644 (todo-rename-file): New command.
5645 (todo-key-bindings-t): Add key binding for it. Change the
5646 bindings of todo-filter-regexp-items(-multifile) to use `x'
5647 instead of `r', since the latter is better suited to the new
5648 renaming command.
5649
5ab78d3d
AM
56502013-07-27 Alan Mackenzie <acm@muc.de>
5651
5652 Make Java try-with-resources statement parse properly.
5653 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5654 (c-block-stmt-1-2-key): New language constants/variables.
5655 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5656 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5657 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 5658 with c-block-stmt-1-2-key.
5ab78d3d 5659
d85c4d50
JB
56602013-07-27 Juanma Barranquero <lekktu@gmail.com>
5661
5662 * desktop.el (desktop--make-frame): Apply most frame parameters after
5663 creating the frame to force (partially or totally) offscreen frames to
5664 be restored as such.
5665
e4c467f9
XF
56662013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5667
5668 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 5669 (Bug#14948)
e4c467f9 5670
7ced0d04
SM
56712013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5672
5673 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5674 `base' arg of backtrace-frame.
5675
fec92060
EZ
56762013-07-26 Eli Zaretskii <eliz@gnu.org>
5677
5678 * simple.el (list-processes): Doc fix.
5679
d58d31fb
JB
56802013-07-26 Juanma Barranquero <lekktu@gmail.com>
5681
5682 * desktop.el (desktop--select-frame):
d85c4d50 5683 Try harder to reuse existing frames.
d58d31fb 5684
53ff3e77
SM
56852013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5686
5687 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5688 (edebug-eval): Use backtrace-eval.
5689 (edebug--display, edebug--recursive-edit): Don't let-bind the
5690 edebug-outer-* vars that keep track of variables we locally let-bind.
5691 (edebug-outside-excursion): Don't restore outside values of locally
5692 let-bound vars.
5693 (edebug--display): Use user-error.
5694 (cl-lexical-debug, cl-debug-env): Remove.
5695
045f7a53
JB
56962013-07-26 Juanma Barranquero <lekktu@gmail.com>
5697
5698 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5699 are restored to be sure that they are visible before deleting any
5700 remaining ones.
5701
59070b32
MM
57022013-07-26 Matthias Meulien <orontee@gmail.com>
5703
742a3501
XF
5704 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5705 vc-print-root-log. (Bug#14948)
59070b32 5706
b1fb3596
RS
57072013-07-26 Richard Stallman <rms@gnu.org>
5708
5709 Add aliases for encrypting mail.
5710 * epa.el (epa-mail-aliases): New option.
5711 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5712 Bind inhibit-read-only so read-only text doesn't ruin everything.
5713 (epa-mail-default-recipients): New subroutine broken out.
5714 Handle epa-mail-aliases.
5715
56ea7291
SM
57162013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5717
5718 Add support for lexical variables to the debugger's `e' command.
5719 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5720 vars, except for debugger-outer-match-data.
5721 (debugger-frame-number): Move check for "on a function call" from
5722 callers into it. Add `skip-base' argument.
5723 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5724 (debugger-env-macro): Only reset the state stored in non-variables,
5725 i.e. current-buffer and match-data.
5726 (debugger-eval-expression): Rewrite using backtrace-eval.
5727 * subr.el (internal--called-interactively-p--get-frame): Remove.
5728 (called-interactively-p):
5729 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5730 `base' arg of backtrace-frame instead.
5731
15ac32d5
GM
57322013-07-26 Glenn Morris <rgm@gnu.org>
5733
8358a09d
GM
5734 * align.el (align-regexp): Doc fix. (Bug#14857)
5735 (align-region): Explicit error if subexpression missing/does not match.
5736
15ac32d5
GM
5737 * simple.el (global-visual-line-mode):
5738 Do not duplicate the mode lighter. (Bug#14858)
5739
f47ad11b
MR
57402013-07-25 Martin Rudalics <rudalics@gmx.at>
5741
5742 * window.el (display-buffer): In display-buffer bind
5743 split-window-keep-point to t, bug#14829.
5744
02530987
JB
57452013-07-25 Juanma Barranquero <lekktu@gmail.com>
5746
5747 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5748 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5749 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5750 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5751 Change accordingly.
f63ebeb5
JB
5752 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5753 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 5754
6ccb9cab 57552013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 5756
6ccb9cab 5757 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 5758
cb3a56d2
JB
57592013-07-25 Juanma Barranquero <lekktu@gmail.com>
5760
5761 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5762 parameter to modify-frame-parameters if the value has not changed;
5763 this is a workaround for bug#14949.
5764 (desktop--make-frame): On cl-delete-if call, check parameter name,
5765 not full parameter.
5766
7aa7fff0
XF
57672013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5768
5769 * vc/vc.el (vc-ignore): New function.
5770
5771 * vc/vc-svn.el (vc-svn-ignore): New function.
5772
5773 * vc/vc-hg.el (vc-hg-ignore): New function.
5774
5775 * vc/vc-git.el (vc-git-ignore): New function.
5776
5777 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5778 (vc-dir-ignore): New function.
5779
5780 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 5781 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
5782
5783 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5784
5785 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5786
889acc5c
JB
57872013-07-24 Juanma Barranquero <lekktu@gmail.com>
5788
5789 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5790 (desktop-restore-frames): Warn when deleting an existing frame failed.
5791
86c40970
GM
57922013-07-24 Glenn Morris <rgm@gnu.org>
5793
5794 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5795
d5d3c58a
MA
57962013-07-24 Michael Albinus <michael.albinus@gmx.de>
5797
5798 * filenotify.el (file-notify-supported-p):
5799 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5800 Remove functions.
5801
5802 * autorevert.el (auto-revert-use-notify):
5803 (auto-revert-notify-add-watch):
5804 * net/tramp.el (tramp-file-name-for-operation):
5805 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5806 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5807 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5808 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5809 Remove `file-notify-supported-p' entry.
5810
d100084b
GM
58112013-07-24 Glenn Morris <rgm@gnu.org>
5812
5813 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 5814 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 5815
ac93e56b
SM
58162013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5817
249eea30
SM
5818 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5819 checked with memq (bug#14935).
5820
ac93e56b
SM
5821 * files.el (revert-buffer-function): Use a non-nil default.
5822 (revert-buffer-preserve-modes): Declare var to
5823 provide access to the `preserve-modes' argument.
5824 (revert-buffer): Let-bind it.
5825 (revert-buffer--default): New function, extracted from revert-buffer.
5826
2cdeb903
SM
58272013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5828
5829 * lpr.el: Signal print errors more prominently.
5830 (print-region-function): Don't default to nil.
5831 (lpr-print-region): New function, extracted from print-region-1.
5832 Check lpr's return value and signal an error in case of problem.
5833 (print-region-1): Use it.
5834 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5835 versions instead.
5836 (ps-printer-name): Default to nil.
5837 (ps-printer-name-option): Default to lpr-printer-switch.
5838 (ps-print-region-function): Don't default to nil.
5839 (ps-postscript-code-directory): Simplify default.
5840 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5841 (ps-string-list, ps-eval-switch, ps-flatten-list)
5842 (ps-flatten-list-1): Remove.
5843 (ps-multibyte-buffer): Avoid setq.
5844 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5845 (print-region-function, ps-print-region-function): Don't set them here.
5846
73600831
XF
58472013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5848
0e55c076
XF
5849 * ido.el (ido-fractionp):
5850 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5851 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5852 (ido-max-directory-size, ido-max-dir-file-cache)
5853 (ido-decorations): Doc fix.
5854
73600831
XF
5855 * ansi-color.el: Fix old URL.
5856
3d012865
MM
58572013-07-23 Michael R. Mauger <michael@mauger.com>
5858
e903c210 5859 * progmodes/sql.el: Version 3.3
3d012865
MM
5860 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5861 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5862 (sql-interactive-remove-continuation-prompt): Rewrite, use
5863 functions above. Fix continuation prompt and complete output line
5864 handling.
5865 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5866 redirected output buffer.
5867 (sql-mode): Restore deleted code (Bug#13591).
5868
da77a2e2
JB
58692013-07-23 Juanma Barranquero <lekktu@gmail.com>
5870
5871 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5872
80ff0c71
MA
58732013-07-23 Michael Albinus <michael.albinus@gmx.de>
5874
5875 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5876
5877 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5878 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5879 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5880
b61d71e4
JB
58812013-07-23 Juanma Barranquero <lekktu@gmail.com>
5882
5883 * desktop.el (desktop-clear): Simplify; remove useless checks
5884 against invalid buffer names.
5885 (desktop-list*): Use cl-list*.
5886 (desktop-buffer-info, desktop-create-buffer): Simplify.
5887
c3512092
LL
58882013-07-23 Leo Liu <sdl.web@gmail.com>
5889
5890 * bookmark.el (bookmark-make-record): Restore NAME as a default
5891 value. (Bug#14933)
5892
0ac26976
SM
58932013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5894
7d22ce18
SM
5895 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5896 extracted from autoload--insert-text.
5897 (autoload--insert-text): Remove.
5898 (autoload--print-cookie-text): New function, extracted from
5899 autoload--insert-cookie-text.
5900 (autoload--insert-cookie-text): Remove.
5901 (autoload-generate-file-autoloads): Adjust calls accordingly.
5902
9b2607e8
SM
5903 * winner.el (winner-hook-installed-p): Remove.
5904 (winner-mode): Simplify accordingly.
5905
c43a8618
SM
5906 * subr.el (add-to-list): Fix compiler-macro when `append' is
5907 not constant. Don't use `cl-member' for the base case.
5908
0ac26976
SM
5909 * progmodes/subword.el: Fix boundary case (bug#13758).
5910 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5911 own group.
5912 (subword-backward-regexp): Make it a constant.
5913 (subword-forward-internal): Don't treat a trailing capital as the
5914 beginning of a word.
5915
6874724a
AR
59162013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5917
5918 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5919 global value of tabulated-list-revert-hook (bug#14930).
5920
70f1b5e8
JB
59212013-07-22 Juanma Barranquero <lekktu@gmail.com>
5922
a1c80d9d
JB
5923 * desktop.el: Require 'cl-lib.
5924 (desktop-before-saving-frames-functions): New hook.
5925 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5926 for frames being saved. Rename from desktop--save-minibuffer-frames.
5927 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
5928 Do not save frames with non-nil `desktop-dont-save' parameter.
5929 Filter out deleted frames.
a1c80d9d
JB
5930 (desktop--find-frame): Use cl-find-if.
5931 (desktop--select-frame): Use cl-(first|second|third) to access values
5932 of desktop-mini.
5933 (desktop--make-frame): Use cl-delete-if.
5934 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5935 (desktop-restore-frames): Use cl-(first|second|third) to access values
5936 of desktop-mini. Look for visible frame at the end, not while
5937 restoring frames.
5938
70f1b5e8
JB
5939 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5940 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5941 Use string-match-p, looking-at-p (bug#14927).
5942
728dc3cc
JB
59432013-07-21 Juanma Barranquero <lekktu@gmail.com>
5944
56bc453c
JB
5945 * desktop.el (desktop-saved-frame-states):
5946 Rename from desktop--saved-states; all users changed.
5947 (desktop-save-frames): Rename from desktop--save-frames.
5948 Do not save state to desktop file.
5949 (desktop-save): Save desktop-saved-frame-states to desktop file
5950 and reset to nil.
5951 (desktop-restoring-frames-p): New function.
5952 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5953 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5954 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5955
728dc3cc
JB
5956 * desktop.el: Correctly restore iconified frames.
5957 (desktop--filter-iconified-position): New function.
5958 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5959
862f1c9c
GM
59602013-07-20 Glenn Morris <rgm@gnu.org>
5961
c4074c9f
GM
5962 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5963 Let `message' do the formatting.
5964 (def-gdb-preempt-display-buffer): Add explicit format.
5965
d828e5f9
GM
5966 * image-dired.el (image-dired-track-original-file):
5967 Use with-current-buffer.
5968 (image-dired-track-thumbnail): Use with-current-buffer.
5969 Avoid changing point of wrong window.
5970
862f1c9c
GM
5971 * image-dired.el (image-dired-track-original-file):
5972 Avoid changing point of wrong window. (Bug#14909)
5973
f0398ec1 59742013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
5975
5976 * progmodes/gdb-mi.el (gdb-done-or-error):
5977 Guard against "%" in gdb output. (Bug#14127)
5978
1451928f
AS
59792013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5980
763a086d
JB
5981 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5982 (Bug#14826)
f7a03897 5983
1451928f
AS
5984 * international/mule.el (coding-system-iso-2022-flags): Fix last
5985 change.
5986
99107004
KH
59872013-07-20 Kenichi Handa <handa@gnu.org>
5988
763a086d
JB
5989 * international/mule.el (coding-system-iso-2022-flags):
5990 Add `8-bit-level-4'. (Bug#8522)
99107004 5991
48494e06
LMI
59922013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5993
8ba8eec5
LMI
5994 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5995 (bug#14815).
5996
dfbc66e3
LMI
5997 * net/eww.el (eww-process-text-input): Allow inputting when the
5998 point is at the start of the line, as the properties aren't
5999 front-sticky.
6000
48494e06
LMI
6001 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6002 degenerate widths.
6003
77c92cb9
RS
60042013-07-19 Richard Stallman <rms@gnu.org>
6005
aec7da77
RS
6006 * epa.el (epa-popup-info-window): Doc fix.
6007
77c92cb9
RS
6008 * subr.el (split-string): New arg TRIM.
6009
945c5bb1
JB
60102013-07-18 Juanma Barranquero <lekktu@gmail.com>
6011
6012 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6013 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6014
e06ec67f
MA
60152013-07-18 Michael Albinus <michael.albinus@gmx.de>
6016
c7064f05 6017 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
6018 `file-notify-support'. Do not autoload. Adapt all uses.
6019 (file-notify-supported-p): New defun.
6020
c7064f05
JB
6021 * autorevert.el (auto-revert-use-notify):
6022 Use `file-notify-supported-p' instead of `file-notify-support'.
6023 Adapt docstring.
e06ec67f
MA
6024 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6025
6026 * net/tramp.el (tramp-file-name-for-operation):
6027 Add `file-notify-supported-p'.
6028
6029 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6030 New defun.
6031 (tramp-sh-file-name-handler-alist): Add it as handler for
6032 `file-notify-supported-p '.
6033
6034 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6035 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6036 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6037 Add `ignore' as handler for `file-notify-*' functions.
6038
5dc8a629
EZ
60392013-07-17 Eli Zaretskii <eliz@gnu.org>
6040
6041 * simple.el (line-move-partial, line-move): Don't start vscroll or
6042 scroll-up if the current line is not taller than the window.
6043 (Bug#14881)
6044
77aea2fb
DG
60452013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6046
6047 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6048 highlight question marks in the method names as strings.
ac72c08d
DG
6049 (ruby-block-beg-keywords): Inline.
6050 (ruby-font-lock-keyword-beg-re): Extract from
6051 `ruby-font-lock-keywords'.
77aea2fb 6052
18c26d81
JD
60532013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6054
6055 * frame.el (blink-cursor-blinks): New defcustom.
6056 (blink-cursor-blinks-done): New defvar.
6057 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6058 (blink-cursor-timer-function): Check if number of blinks has been
6059 done on X and NS.
6060 (blink-cursor-suspend, blink-cursor-check): New defuns.
6061
da48522e
GM
60622013-07-15 Glenn Morris <rgm@gnu.org>
6063
6064 * edmacro.el (edmacro-format-keys): Fix previous change.
6065
0463c1ef
PE
60662013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6067
6068 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6069 The hack didn't work outside English locales anyway.
6070
b43f6451
JB
60712013-07-15 Juanma Barranquero <lekktu@gmail.com>
6072
6073 * simple.el (define-alternatives): Rename from alternatives-define,
6074 per RMS' suggestion.
6075
b958c0ad
JB
60762013-07-14 Juanma Barranquero <lekktu@gmail.com>
6077
6078 * desktop.el (desktop-restore-frames): Change default to t.
6079 (desktop-restore-in-current-display): Now offer more options.
6080 (desktop-restoring-reuses-frames): New customization option.
6081 (desktop--saved-states): Doc fix.
6082 (desktop-filter-parameters-alist): New variable, renamed and expanded
6083 from desktop--excluded-frame-parameters.
6084 (desktop--target-display): New variable.
6085 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6086 (desktop--filter-tty*, desktop--filter-*-color)
6087 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6088 (desktop--filter-save-desktop-parm)
6089 (desktop-restore-in-original-display-p): New functions.
6090 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6091 (desktop--save-minibuffer-frames): New function, inspired by a similar
6092 function from Martin Rudalics.
6093 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6094 (desktop--restore-in-this-display-p): Remove.
6095 (desktop--find-frame): Rename from desktop--find-frame-in-display
6096 and add predicate argument.
6097 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6098 (desktop--reuse-list): New variable.
6099 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6100 New functions.
6101 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6102
f6dd8b36
MA
61032013-07-14 Michael Albinus <michael.albinus@gmx.de>
6104
6105 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6106
2ce3c565
DG
61072013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6108
763a086d
JB
6109 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6110 Highlight conversion methods on Kernel.
2ce3c565 6111
2cdb7698
AM
61122013-07-13 Alan Mackenzie <acm@muc.de>
6113
6114 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6115 and comment it out. This out-commenting enables certain C++
6116 declarations to be parsed correctly.
6117
1a67b811
EZ
61182013-07-13 Eli Zaretskii <eliz@gnu.org>
6119
1b796d6b
EZ
6120 * international/mule.el (define-coding-system): Doc fix.
6121
1a67b811
EZ
6122 * simple.el (default-font-height): Don't call font-info if the
6123 frame's default font didn't change since the frame was created.
6124 (Bug#14838)
6125
58fbe886
LL
61262013-07-13 Leo Liu <sdl.web@gmail.com>
6127
6128 * ido.el (ido-read-file-name): Guard against non-symbol value.
6129
1f0480d4
FEG
61302013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6131
6132 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6133 in nested defuns.
6134
97ead0e5
LL
61352013-07-13 Leo Liu <sdl.web@gmail.com>
6136
6137 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6138 ido-set-matches call. (Bug#6852)
6139
0880a952
DG
61402013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6141
6142 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6143 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6144 Ruby 2.0.
6145 (ruby-font-lock-keywords): Distinguish calls to functions with
6146 module-like names from module references. Highlight character
6147 literals.
6148
a7d8babb
SDJ
61492013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6150
6151 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 6152 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 6153
acfcc8c5
JB
61542013-07-12 Juanma Barranquero <lekktu@gmail.com>
6155
6156 * desktop.el (desktop--v2s): Remove unused local variable.
6157 (desktop-save-buffer): Make defvar-local; adjust docstring.
6158 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6159 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6160
051f2775
AS
61612013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6162
6163 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6164
f24e7572
GM
61652013-07-12 Eli Zaretskii <eliz@gnu.org>
6166
6167 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6168 (Bug#14842)
6169
539a920c
GM
61702013-07-12 Glenn Morris <rgm@gnu.org>
6171
6172 * doc-view.el: Require cl-lib at runtime too.
6173 (doc-view-remove-if): Remove.
6174 (doc-view-search-next-match, doc-view-search-previous-match):
6175 Use cl-remove-if.
6176
6177 * edmacro.el: Require cl-lib at runtime too.
6178 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6179 (edmacro-mismatch, edmacro-subseq): Remove.
6180
6181 * shadowfile.el: Require cl-lib.
6182 (shadow-remove-if): Remove.
6183 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6184 Use cl-remove-if.
6185
6186 * wid-edit.el: Require cl-lib.
6187 (widget-choose): Use cl-remove-if.
6188 (widget-remove-if): Remove.
6189
6190 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6191 (ebrowse-delete-if-not): Remove.
6192 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6193 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6194 Use cl-delete-if-not.
6195
1048af7c
JB
61962013-07-12 Juanma Barranquero <lekktu@gmail.com>
6197
6198 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6199 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6200
6c0674ee
LL
62012013-07-12 Leo Liu <sdl.web@gmail.com>
6202
6203 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6204
a19b3c2d
GM
62052013-07-11 Glenn Morris <rgm@gnu.org>
6206
4582a01c
GM
6207 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6208 (edebug-gensym-index, edebug-gensym):
6209 Remove reimplementation of cl-gensym.
6210 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6211
6212 * thumbs.el: Require cl-lib at run-time too.
6213 (thumbs-gensym-counter, thumbs-gensym):
6214 Remove reimplementation of cl-gensym.
6215 (thumbs-temp-file): Use cl-gensym.
6216
a19b3c2d
GM
6217 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6218 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6219 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6220 (ert--union, ert--gensym-counter, ert--gensym-counter)
6221 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6222 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6223 (ert-make-test-unbound, ert--expand-should-1)
6224 (ert--expand-should, ert--should-error-handle-error)
6225 (should-error, ert--explain-equal-rec)
6226 (ert--plist-difference-explanation, ert-select-tests)
6227 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6228 Use cl-lib functions rather than reimplementations.
6229
88f6a933
MA
62302013-07-11 Michael Albinus <michael.albinus@gmx.de>
6231
6232 * net/tramp.el (tramp-methods): Extend docstring.
6233 (tramp-connection-timeout): New defcustom.
6234 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6235 (with-tramp-progress-reporter): Simplify.
6236 (tramp-process-actions): Improve messages.
6237
6238 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6239 * net/tramp-sh.el (tramp-maybe-open-connection):
6240 Use `tramp-connection-timeout'.
6241 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6242 (Bug#14808)
6243
a43d577e
LL
62442013-07-11 Leo Liu <sdl.web@gmail.com>
6245
6246 * ido.el (ido-read-file-name): Conform to the requirements of
6247 read-file-name. (Bug#11861)
6248 (ido-read-directory-name): Conform to the requirements of
6249 read-directory-name.
6250
d77974bf
JB
62512013-07-11 Juanma Barranquero <lekktu@gmail.com>
6252
6253 * subr.el (delay-warning): New function.
6254
35cb8a3e
EZ
62552013-07-10 Eli Zaretskii <eliz@gnu.org>
6256
6257 * simple.el (default-line-height): New function.
6258 (line-move-partial, line-move): Use it instead of computing the
6259 line height inline.
6260 (line-move-partial): Always compute ROWH. If the last line is
6261 partially-visible, but its text is completely visible, allow
6262 cursor to enter such a partially-visible line.
6263
525c5c77
MA
62642013-07-10 Michael Albinus <michael.albinus@gmx.de>
6265
6266 Improve error messages. (Bug#14808)
6267
6268 * net/tramp.el (tramp-current-connection): New defvar, moved from
6269 tramp-sh.el.
0ac26976 6270 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 6271 needed anymore.
0ac26976
SM
6272 (tramp-error-with-buffer): Show message in minibuffer.
6273 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
6274 (with-tramp-progress-reporter): Improve messages.
6275 (tramp-process-actions): Use progress reporter. Delete process in
6276 case of error. Improve messages.
6277
763a086d
JB
6278 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6279 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 6280 (tramp-current-connection): Remove.
525c5c77
MA
6281 (tramp-maybe-open-connection): The car of
6282 `tramp-current-connection' are the first 3 slots of the vector.
6283
c7a4d368
TZ
62842013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6285
6286 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6287 inside continued strings.
6288
954b166e
PE
62892013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6290
6291 Timestamp fixes for undo (Bug#14824).
6292 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6293
56973319
LL
62942013-07-10 Leo Liu <sdl.web@gmail.com>
6295
6296 * files.el (require-final-newline): Allow safe local value.
6297 (Bug#14834)
6298
5550a72c
LL
62992013-07-09 Leo Liu <sdl.web@gmail.com>
6300
6301 * ido.el (ido-read-directory-name): Handle fallback.
6302 (ido-read-file-name): Update DIR to ido-current-directory.
6303 (Bug#1516)
c28b9050 6304 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 6305
70c46b28
DG
63062013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6307
6308 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6309 "autoload". Remove "warn lower camel case" section, previously
6310 commented out. Highlight negation char. Do not highlight the
6311 target in singleton method definitions.
6312
0b64b838
SM
63132013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6314
7fd72e2c
SM
6315 * faces.el (tty-setup-hook): Declare the hook.
6316
0b64b838
SM
6317 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6318 and detect when a guard/pred depends on local vars (bug#14773).
6319 (pcase--u1): Adjust caller.
6320
ab49d60b
EZ
63212013-07-08 Eli Zaretskii <eliz@gnu.org>
6322
6323 * simple.el (line-move-partial, line-move): Account for
6324 line-spacing.
701d79aa
EZ
6325 (line-move-partial): Avoid setting vscroll when the last
6326 partially-visible line in window is of default height.
ab49d60b 6327
2d756ae0
LMI
63282013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6329
6330 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6331 been used a while.
6332
ed095bd7
JB
63332013-07-07 Juanma Barranquero <lekktu@gmail.com>
6334
6335 * subr.el (read-quoted-char): Remove unused local variable `char'.
6336
f1e6674b
MK
63372013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6338
584ee3fc
GM
6339 * ediff.el (ediff-version): Version update.
6340 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6341 (ediff-merge-with-ancestor-command, ediff-directories-command)
6342 (ediff-directories3-command, ediff-merge-directories-command)
6343 (ediff-merge-directories-with-ancestor-command): New functions.
6344 All are command-line interfaces to ediff: to facilitate calling
6345 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
6346
6347 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6348 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 6349
584ee3fc
GM
6350 * viper.el (viper-version): Version update.
6351 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 6352
584ee3fc
GM
63532013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6354
6355 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6356 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6357 (viper-intercept-ESC-key): Simplify.
6358 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6359 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6360 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6361 (viper-setup-ESC-to-escape): New functions.
6362 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6363 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 6364
9aff9b38
EZ
63652013-07-07 Eli Zaretskii <eliz@gnu.org>
6366
5165d44a
JB
6367 * simple.el (default-font-height, window-screen-lines):
6368 New functions.
9aff9b38
EZ
6369 (line-move, line-move-partial): Use them instead of
6370 frame-char-height and window-text-height. This makes scrolling
6371 text smoother when the buffer's default face uses a font that is
6372 different from the frame's default font.
6373
1afb1d07
JD
63742013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6375
6376 * files.el (write-file): Do not display confirm dialog for NS,
6377 it does its own dialog, which can't be cancelled (Bug#14578).
6378
23de972a
EZ
63792013-07-06 Eli Zaretskii <eliz@gnu.org>
6380
6381 * simple.el (line-move-partial): Adjust the row returned by
6382 posn-at-point for the current window-vscroll. (Bug#14567)
6383
54a42486
MA
63842013-07-06 Michael Albinus <michael.albinus@gmx.de>
6385
6386 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6387 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6388 spaces.
6389
34ada5f4
MR
63902013-07-06 Martin Rudalics <rudalics@gmx.at>
6391
6392 * window.el (window-state-put-stale-windows): New variable.
6393 (window--state-put-2): Save list of windows without matching buffer.
6394 (window-state-put): Remove "bufferless" windows if possible.
6395
11e03d89
JB
63962013-07-06 Juanma Barranquero <lekktu@gmail.com>
6397
6398 * simple.el (alternatives-define): Remove leftover :group keyword.
6399 Tweak docstring.
6400
3504a4be
LL
64012013-07-06 Leo Liu <sdl.web@gmail.com>
6402
6403 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6404 (ido-enable-virtual-buffers): New variable.
6405 (ido-buffer-internal, ido-toggle-virtual-buffers)
6406 (ido-make-buffer-list): Use it.
6407 (ido-exhibit): Support turning on and off virtual buffers
6408 automatically.
6409
61e56e2c
JB
64102013-07-06 Juanma Barranquero <lekktu@gmail.com>
6411
6412 * simple.el (alternatives-define): New macro.
6413
321e1a9c
SM
64142013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6415
6416 * subr.el (read-quoted-char): Use read-key.
6417 (sit-for): Let read-event decode tty input (bug#14782).
6418
d610f6dd
SB
64192013-07-05 Stephen Berman <stephen.berman@gmx.net>
6420
6421 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
6422 mode command and externally. Fix various related bugs.
6423 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
6424 (todo-delete-file): New command.
6425 (todo-check-file): New function.
6426 (todo-show): Handle external deletion of the file we're trying to
6427 show (bug#14688). Replace called-interactively-p by an optional
6428 prefix argument to avoid problematic interaction with catch form
6429 when byte compiled (bug#14702).
6430 (todo-quit): Handle external deletion of the archive's todo file.
6431 Make sure the buffer that was visiting the archive file is still
6432 live before trying to bury it.
6433 (todo-category-completions): Handle external deletion of any
6434 category completion files.
6435 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6436 of todo files, in case of external deletion.
6437 (todo-add-file): Replace unnecessary setq by let-binding.
6438 (todo-find-archive): Check whether there are any archives.
6439 Replace unnecessary setq by let-binding.
6440 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
6441 archive buffer whether or not the archive already exists.
6442 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
6443 check if the archive is new; if it is, update list of archives.
6444 (todo-default-todo-file): Allow nil to be a valid value for when
6445 there are no todo files.
6446 (todo-reevaluate-default-file-defcustom): Use corrected definition
6447 of todo-default-todo-file.
6448 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6449 (todo-delete-category, todo-show-categories-table)
6450 (todo-category-number): Clarify comment.
6451 (todo-filter-items): Clarify documentation string.
6452 (todo-show-current-file, todo-display-as-todo-file)
6453 (todo-reset-and-enable-done-separator): Tweak documentation string.
6454 (todo-done-separator): Make separator length window-width, since
6455 bug#2749 is now fixed.
6456
ddbdfd6f
MA
64572013-07-05 Michael Albinus <michael.albinus@gmx.de>
6458
321e1a9c
SM
6459 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6460 Support both "gvfs-monitor-dir" and "inotifywait".
6461 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
6462 `tramp-sh-file-notify-process-filter'.
6463 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6464 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6465
96eb829a
LL
64662013-07-05 Leo Liu <sdl.web@gmail.com>
6467
6468 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6469
cf13177e
YM
64702013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6471
6472 * frame.el (display-pixel-height, display-pixel-width)
6473 (display-mm-height, display-mm-width): Mention behavior on
6474 multi-monitor setups in docstrings.
6475 (w32-display-monitor-attributes-list): Declare function.
6476 (display-monitor-attributes-list): Use it.
6477
864c58ca
MA
64782013-07-04 Michael Albinus <michael.albinus@gmx.de>
6479
6480 * filenotify.el: New package.
6481
6482 * autorevert.el (top): Require filenotify.el.
6483 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6484 instead.
6485 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6486 (auto-revert-notify-handler): Use `file-notify-*' functions.
6487
6488 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6489
321e1a9c
SM
6490 * net/tramp.el (tramp-file-name-for-operation):
6491 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
6492
6493 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6494 for `file-notify-add-watch' and `file-notify-rm-watch'.
6495 (tramp-process-sentinel): Improve trace.
6496 (tramp-sh-handle-file-notify-add-watch)
6497 (tramp-sh-file-notify-process-filter)
6498 (tramp-sh-handle-file-notify-rm-watch)
6499 (tramp-get-remote-inotifywait): New defuns.
6500
96673afe
JL
65012013-07-03 Juri Linkov <juri@jurta.org>
6502
6503 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6504 call of `occur-read-primary-args' to interactive spec.
6505
6506 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6507 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6508
924494f4
MM
65092013-07-03 Matthias Meulien <orontee@gmail.com>
6510
6511 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6512 `Buffer-menu-multi-occur'. Add it to the menu.
6513 (Buffer-menu-mode): Document it in docstring.
6514 (Buffer-menu-multi-occur): New command. (Bug#14673)
6515
56f75efc
DG
65162013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6517
6518 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6519 keywords and built-ins.
6520
9b057d61
GM
65212013-07-03 Glenn Morris <rgm@gnu.org>
6522
208dee4d
GM
6523 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6524
9b057d61
GM
6525 Make info-xref checks case-sensitive by default
6526 * info.el (Info-find-node, Info-find-in-tag-table)
6527 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6528 Add option for exact case matching of nodes.
6529 * info-xref.el (info-xref): New custom group.
6530 (info-xref-case-fold): New option.
6531 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6532
e01aa29c
LL
65332013-07-03 Leo Liu <sdl.web@gmail.com>
6534
6535 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6536
3086ca2e
DG
65372013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6538
6539 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6540 middle of block statement initially, lower the depth. Remove
6541 FIXME comment, not longer valid. Remove middle of block statement
6542 detection, no need to do that anymore since we've been using
6543 `ruby-parse-region' here.
6544
a3b49114
JD
65452013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6546
6547 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6548
08e5c823 65492013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
6550
6551 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6552
2addf922
JB
65532013-07-01 Juanma Barranquero <lekktu@gmail.com>
6554
6555 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6556 (desktop-restore-in-current-display): New customization option.
6557 (desktop--excluded-frame-parameters): Add `font'.
6558 (desktop--save-frames): Rename from desktop--save-windows.
6559 (desktop--restore-in-this-display-p): New function.
6560 (desktop--make-full-frame): Remove unwanted width/height from
6561 full(width|height) frames.
6562 (desktop--restore-frames): Rename from desktop--restore-windows.
6563 Obey desktop-restore-current-display. Do not delete old frames or
6564 select a new frame unless we were able to restore at least one frame.
6565
ef099a94
MN
65662013-06-30 Michal Nazarewicz <mina86@mina86.com>
6567
6568 * files.el (find-file-noselect): Simplify conditional expression.
6569
6570 * remember.el (remember-append-to-file):
6571 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6572
6573 Add `remember-notes' function to store random notes across Emacs
6574 restarts.
6575 * remember.el (remember-data-file): Add :set callback to affect
6576 notes buffer (if any).
6577 (remember-notes): New command.
6578 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6579 New defcustoms for the `remember-notes' function.
6580 (remember-notes-save-and-bury-buffer): New command.
6581 (remember-notes-mode-map): New variable.
6582 (remember-mode): New minor mode.
6583 (remember-notes--kill-buffer-query): New function.
6584 * startup.el (initial-buffer-choice): Add notes to custom type.
6585
0865d506
EZ
65862013-06-30 Eli Zaretskii <eliz@gnu.org>
6587
0ba54312
EZ
6588 * bindings.el (right-char, left-char): Don't call sit-for, this is
6589 no longer needed. Use arithmetic comparison only for numerical
6590 arguments.
6591
ef099a94
MN
6592 * international/mule-cmds.el (select-safe-coding-system):
6593 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 6594
2fae38e5
LMI
65952013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6596
6597 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6598 progression on degenerate tables.
ef099a94 6599 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 6600
a47cbd64
JB
66012013-06-30 Juanma Barranquero <lekktu@gmail.com>
6602
6603 Some fixes and improvements for desktop frame restoration.
6604 It is still experimental and disabled by default.
6605 * desktop.el (desktop--save-windows): Put the selected frame at
6606 the head of the list.
6607 (desktop--make-full-frame): New function.
6608 (desktop--restore-windows): Try to re-select the frame that was
6609 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
6610 just show an error message and continue. Set up maximized frames
6611 so they have default non-maximized dimensions.
a47cbd64 6612
6dbafa30
DG
66132013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6614
ef099a94
MN
6615 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6616 Don't start heredoc inside a string or comment.
6dbafa30 6617
4c672a0f
EZ
66182013-06-29 Eli Zaretskii <eliz@gnu.org>
6619
6620 * bindings.el (visual-order-cursor-movement): New defcustom.
6621 (right-char, left-char): Provide visual-order cursor motion by
6622 calling move-point-visually. Update the doc strings.
6623
50960f36
KH
66242013-06-28 Kenichi Handa <handa@gnu.org>
6625
6626 * international/mule.el (define-coding-system): New coding system
6627 properties :inhibit-null-byte-detection,
6628 :inhibit-iso-escape-detection, and :prefer-utf-8.
6629 (set-buffer-file-coding-system): If :charset-list property of
6630 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6631 appropriate for setting.
6632
c1ea3abf
JB
6633 * international/mule-cmds.el (select-safe-coding-system):
6634 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6635 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
6636
6637 * international/mule-conf.el (prefer-utf-8): New coding system.
6638 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6639 files.
6640
75dbaf9d
IK
66412013-06-28 Ivan Kanis <ivan@kanis.fr>
6642
eadb6068
IK
6643 * net/shr.el (shr-render-region): New function.
6644
75dbaf9d
IK
6645 * net/eww.el: Autoload `eww-browse-url'.
6646
9ea5cf9f
DG
66472013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6648
c1ea3abf
JB
6649 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6650 Adapt to `package-desc-version' being a list.
6651 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
6652 archive element.
6653
39c0e36f
JB
66542013-06-27 Juanma Barranquero <lekktu@gmail.com>
6655
6656 New experimental feature to save&restore window and frame setup.
6657 * desktop.el (desktop-save-windows): New defcustom.
6658 (desktop--saved-states): New var.
6659 (desktop--excluded-frame-parameters): New defconst.
6660 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6661 (desktop--restore-windows, desktop--save-windows): New functions.
6662 (desktop-save): Call `desktop--save-windows'.
6663 (desktop-read): Call `desktop--restore-windows'.
6664
7f13406b
LMI
66652013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6666
ef099a94 6667 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 6668
1e072639
SB
66692013-06-27 Stephen Berman <stephen.berman@gmx.net>
6670
6671 * info.el (Info-try-follow-nearest-node): Move search for footnote
6672 above search for node name to prevent missing a footnote (bug#14717).
6673
f3e2cbde
SB
66742013-06-27 Stephen Berman <stephen.berman@gmx.net>
6675
6676 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6677
99906aa0
LL
66782013-06-27 Leo Liu <sdl.web@gmail.com>
6679
6680 * net/eww.el (eww-read-bookmarks): Check file size.
6681
539f75f4
SM
66822013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6683
6684 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6685 advice--pending if newdef is nil or an autoload (bug#13820).
6686 (advice-mapc): New function.
6687
843571cb
LMI
66882013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6689
6690 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6691 probably.
23a75d7f 6692 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
6693 (eww-add-bookmark): New command.
6694 (eww-bookmark-mode): New mode and commands.
a285ce99 6695 (eww-add-bookmark): Remove newlines from the title.
47fd571b 6696 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 6697
f2136e1e
GM
66982013-06-26 Glenn Morris <rgm@gnu.org>
6699
eab35f39
GM
6700 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6701 (hfy-size): Handle ttys. (Bug#14668)
6702
f2136e1e
GM
6703 * info-xref.el: Update for Texinfo 5 change in *note format.
6704 (info-xref-node-re, info-xref-note-re): New constants.
6705 (info-xref-check-buffer): Use info-xref-note-re.
6706
a49ff80c
SM
67072013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6708
a343d218
SM
6709 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6710
a49ff80c
SM
6711 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6712 nil terminate the loop (bug#14718).
6713
8308f184
LMI
67142013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6715
6716 * net/eww.el: Rework history traversal. When going forward/back,
6717 put these actions into the history, too, so that they can be
6718 replayed.
26bf2b82 6719 (eww-render): Move the history reset to the correct buffer.
8308f184 6720
ec64c273
JL
67212013-06-25 Juri Linkov <juri@jurta.org>
6722
6723 * files-x.el (modify-dir-local-variable): Change the header comment
6724 in the file with directory local variables. (Bug#14692)
6725
e080a9d7
JL
6726 * files-x.el (read-file-local-variable-value): Add `default'.
6727 (Bug#14710)
6728
bfbc93a1
IK
67292013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6730
6731 * net/eww.el (eww-make-unique-file-name): Create a unique file
6732 name before saving to entering `y' accidentally asynchronously.
6733
67342013-06-25 Ivan Kanis <ivan@kanis.fr>
6735
6736 * net/eww.el (eww-download): New command and keystroke.
6737
16f74f10
LMI
67382013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6739
a49ff80c 6740 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
6741
6742 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6743 be more consistent with Info and dired.
6744
6745 * net/eww.el (eww-mode-map): Ditto.
6746
12059709
SM
67472013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6748
6749 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6750 packages from archives.
6751 (package-archive-contents): Change format; include obsolete packages.
6752 (package-desc): Use `dir' to mark builtin packages.
6753 (package--from-builtin): Set the `dir' field to `builtin'.
6754 (generated-autoload-file, version-control): Declare.
6755 (package-compute-transaction): Change first arg and return value to be
6756 lists of package-descs. Adjust to new package-archive-contents format.
6757 (package--add-to-archive-contents): Adjust to new
6758 package-archive-contents format.
6759 (package-download-transaction): Arg is now a list of package-descs.
6760 (package-install): If `pkg' is a package name, pass it as
6761 a requirement, so it is subject to the usual (e.g. disabled) checks.
6762 (describe-package): Accept package-desc as well.
6763 (describe-package-1): Describe a specific package-desc. Add links to
6764 other package-descs for the same package name.
6765 (package-menu-describe-package): Pass the actual package-desc.
6766 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6767 works correctly.
6768 (package-desc-status): New function.
6769 (package-menu--refresh): New function, extracted
6770 from package-menu--generate.
6771 (package-menu--generate): Use it.
6772 (package-delete): Update package-alist.
6773 (package-menu-execute): Don't call package-initialize.
6774
6775 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6776 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6777 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6778 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6779 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6780 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6781
8bbdea0f
MR
67822013-06-25 Martin Rudalics <rudalics@gmx.at>
6783
6784 * window.el (window--state-get-1): Workaround for bug#14527.
6785 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6786
e82b0991
LMI
67872013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6788
6789 * net/eww.el (eww-back-url): Implement the history by stashing all
6790 the data into a list.
d3f0f918 6791 (eww-forward-url): Allow going forward in the history, too.
e82b0991 6792
c763842b
SM
67932013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6794
6795 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6796 for values and use read--expression for expressions (bug#14710).
6797 (read-file-local-variable): Avoid setq.
6798 (read-file-local-variable-mode): Use minor-mode-list.
6799
bceff189
RW
68002013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6801
864c58ca 6802 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
6803 for DOI URLs.
6804
45f431c6
RW
68052013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6806
864c58ca 6807 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
6808 Update imenu-support when dialect changes.
6809
f42d8237
LL
68102013-06-25 Leo Liu <sdl.web@gmail.com>
6811
6812 * ido.el (ido-read-internal): Allow forward slash on windows.
6813
be549ce6
LMI
68142013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6815
6816 * net/eww.el (eww): Start of strings is \\`, not ^.
6817
71d4c19d
IK
68182013-06-24 Ivan Kanis <ivan@kanis.fr>
6819
5196f88a
IK
6820 * net/shr.el (shr-browse-url): Fix interactive spec.
6821
71d4c19d
IK
6822 * net/eww.el (eww): Add a trailing slash to domain names.
6823
ae36ca55
JB
68242013-06-24 Juanma Barranquero <lekktu@gmail.com>
6825
6826 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6827
0ebd92a3
LMI
68282013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6829
bdaa086b
LMI
6830 * net/shr.el (shr-browse-url): Use an external browser if given a
6831 prefix.
6832
c763842b 6833 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 6834
b89fc156
IK
68352013-06-24 Ivan Kanis <ivan@kanis.fr>
6836
6837 * net/eww.el (eww): Work more correctly for file: URLs.
6838 (eww-detect-charset): Allow quoted charsets.
6839 (eww-yank-page-url): New command and keystroke.
6840
18eb4bca
DU
68412013-06-24 Daiki Ueno <ueno@gnu.org>
6842
6843 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6844 file name of gpg executable.
6845 (epg-context-program): New function.
6846 (epg-context-home-directory): New function.
6847 (epg-context-set-program): New function.
6848 (epg-context-set-home-directory): New function.
6849 (epg--start): Use `epg-context-program' instead of
6850 'epg-gpg-program'.
6851 (epg--list-keys-1): Likewise.
6852
6c6268c8
LL
68532013-06-24 Leo Liu <sdl.web@gmail.com>
6854
6855 * ido.el (ido-read-internal): Fix bug#14620.
6856
5e400cb3
JB
68572013-06-23 Juanma Barranquero <lekktu@gmail.com>
6858
6859 * faces.el (face-documentation): Simplify.
6860 (read-face-attribute, tty-find-type, x-resolve-font-name):
6861 Use `string-match-p'.
6862 (list-faces-display): Use `string-match-p'. Simplify.
6863 (face-spec-recalc): Check face to avoid face alias loops.
6864 (read-color): Use `string-match-p' and non-capturing parenthesis.
6865
f3f9606c
LMI
68662013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6867
6868 * net/shr.el (shr-rescale-image): Use the new
6869 :max-width/:max-height functionality.
6870
a3ca09b9
IK
68712013-06-23 Ivan Kanis <ivan@kanis.fr>
6872
6873 * net/eww.el (eww-search-prefix): New variable.
6874 (eww): Use it.
f865b474
IK
6875 (eww-external-browser): New variable.
6876 (eww-mode-map): New keystroke.
6877 (eww-browse-with-external-browser): New command.
a3ca09b9 6878
e854cfc7
IK
6879 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6880
18bb9e21
JB
68812013-06-23 Juanma Barranquero <lekktu@gmail.com>
6882
6883 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6884 Don't skip aligning the next header field when padding is 0;
6885 otherwise, field width is not respected unless the title is as
6886 wide as the field.
6887
5b165ade
SM
68882013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6889
6890 * emacs-lisp/package.el (package-el-version): Remove.
6891 (package-process-define-package): Fix inf-loop.
6892 (package-install): Allow symbols as arguments again.
6893
12adebe9
DG
68942013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6895
6896 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6897 add some more keyword-like methods.
6898 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6899
388573ee
JB
69002013-06-22 Juanma Barranquero <lekktu@gmail.com>
6901
6902 * bs.el (bs-buffer-show-mark): Make defvar-local.
6903 (bs-mode): Use setq-local.
6904
6905 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6906 (emacs-lock--try-unlocking): Make defvar-local.
6907
4582a01c 69082013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 6909
2663dd23
GM
6910 * play/cookie1.el (cookie-apropos): Minor simplification.
6911
3d94f3ad
GM
6912 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6913
f72e2fdb
DG
69142013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6915
6916 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6917 `regexp-opt', it breaks the build during dumping.
6918
73eab938
DG
69192013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6920
c763842b
SM
6921 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6922 Highlight keyword-like methods on Kernel and Module with
73eab938 6923 font-lock-builtin-face.
5cf8176d
DG
6924 (auto-mode-alist): Consolidate different entries into one regexp
6925 and add more *file-s.
73eab938 6926
d26255f6
SB
69272013-06-21 Stephen Berman <stephen.berman@gmx.net>
6928
6929 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6930
6931 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6932 (diary-entry): Use it in the action of this button type instead of
6933 diary-goto-entry.
6934
6935 * calendar/todo-mode.el: New version.
6936 (todo-add-category): Append new category to end of file and give
6937 it the highest number, instead of putting it at the beginning and
6938 giving it 0. Incorporate noninteractive functionality.
6939 (todo-forward-category): Adapt to 1-based category numbering.
6940 Allow skipping over archived categories.
6941 (todo-backward-category): Derive from todo-forward-category.
6942 (todo-backward-item, todo-forward-item): Make noninteractive and
6943 delegate interactive part to new commands. Make sensitive to done items.
6944 (todo-categories): Make value an alist of category names and
6945 vectors of item counts.
6946 (todo-category-beg): Make a defconst.
6947 (todo-category-number): Use 1 instead of 0 as initial value.
6948 (todo-category-select): Make sensitive to overlays, optional item
6949 highlighting and done items.
6950 (todo-delete-item): Make sensitive to overlays and marked and done items.
6951 (todo-edit-item): Make sensitive to overlays and editing of
6952 date/time header optional. Add format checks.
6953 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6954 no-op if point is not on an item. Advertise using todo-edit-quit.
6955 (todo-edit-mode): Make sensitive to new format, font-locking, and
6956 multiple todo files.
6957 (todo-insert-item, todo-insert-item-here): Derive from
6958 todo-basic-insert-item and extend functionality.
6959 (todo-item-end, todo-item-start): Make sensitive to done items.
6960 (todo-item-string): Don't return text properties. Restore point.
6961 (todo-jump-to-category): Make sensitive to multiple todo files and
6962 todo archives. Use extended category completion.
6963 (todo-lower-item, todo-raise-item): Rename to *-priority and
6964 derive from todo-set-item-priority.
6965 (todo-mode): Derive from special-mode. Make sensitive to new
6966 format, font-locking and multiple todo files. Make read-only.
6967 (todo-mode-map): Don't suppress digit keys, so they can supply
6968 prefix arguments. Add many new key bindings.
6969 (todo-prefix): Insert as an overlay instead of file text.
6970 Change semantics from diary date expression to purely visual mark.
6971 (todo-print): Rename to todo-print-buffer. Make buffer display
6972 features printable. Remove option to restrict number of items
6973 printed. Add option to print to file.
6974 (todo-print-function): Rename to todo-print-buffer-function.
6975 (todo-quit): Extend to handle exiting new todo modes.
6976 (todo-remove-item): Make sensitive to overlays.
6977 (todo-save): Extend to buffers of filtered items.
6978 (todo-show): Make sensitive to done items, multiple todo files and
6979 new todo modes. Offer to convert legacy todo file before creating
6980 first new todo file.
6981 (todo-show-priorities): Rename to todo-top-priorities.
6982 Change semantics of value 0.
6983 (todo-top-priorities): Rename to todo-filter-top-priorities,
6984 derive from todo-filter-items and extend functionality.
6985 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6986 and extend functionality to other types of filtered items.
6987 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6988 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6989 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6990 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6991 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6992 (todo-edit-mode-hook, todo-entry-prefix-function)
6993 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6994 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6995 (todo-initials, todo-insert-threshold, todo-item-string-start)
6996 (todo-line-string, todo-menu, todo-mode-hook)
6997 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6998 (todo-print-priorities, todo-remove-separator)
6999 (todo-save-top-priorities-too, todo-string-count-lines)
7000 (todo-string-multiline-p, todo-time-string-format)
7001 (todo-tmp-buffer-name): Remove.
7002 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7003 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7004 (todo-edit-category-diary-inclusion)
7005 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7006 (todo-edit-file, todo-edit-item-date-day)
7007 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7008 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7009 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7010 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7011 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7012 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7013 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7014 (todo-filter-top-priorities-multifile, todo-find-archive)
7015 (todo-find-filtered-items-file, todo-go-to-source-item)
7016 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7017 (todo-jump-to-archive-category, todo-lower-category)
7018 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7019 (todo-move-category, todo-move-item, todo-next-button)
7020 (todo-next-item, todo-padded-string, todo-powerset)
7021 (todo-previous-button, todo-previous-item)
7022 (todo-print-buffer-to-file, todo-raise-category)
7023 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7024 (todo-set-category-number, todo-set-item-priority)
7025 (todo-set-top-priorities-in-category)
7026 (todo-set-top-priorities-in-file, todo-show-categories-table)
7027 (todo-sort-categories-alphabetically-or-numerically)
7028 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7029 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7030 (todo-toggle-item-header, todo-toggle-item-highlighting)
7031 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7032 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7033 (todo-unarchive-items, todo-unmark-category): New commands.
7034 (todo-absolute-file-name, todo-add-to-buffer-list)
7035 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7036 (todo-basic-insert-item, todo-category-completions)
7037 (todo-category-number, todo-category-string-matcher-1)
7038 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7039 (todo-check-format, todo-clear-matches)
7040 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7041 (todo-current-category, todo-date-string-matcher)
7042 (todo-define-insertion-command, todo-diary-expired-matcher)
7043 (todo-diary-goto-entry, todo-diary-item-p)
7044 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7045 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7046 (todo-done-item-section-p, todo-done-separator)
7047 (todo-done-string-matcher, todo-files, todo-filter-items)
7048 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7049 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7050 (todo-insert-category-line, todo-insert-item-from-calendar)
7051 (todo-insert-sort-button, todo-insert-with-overlays)
7052 (todo-insertion-command-name, todo-insertion-key-bindings)
7053 (todo-label-to-key, todo-longest-category-name-length)
7054 (todo-make-categories-list, todo-mode-external-set)
7055 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7056 (todo-modes-set-3, todo-multiple-filter-files)
7057 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7058 (todo-read-category, todo-read-date, todo-read-dayname)
7059 (todo-read-file-name, todo-read-time)
7060 (todo-reevaluate-category-completions-files-defcustom)
7061 (todo-reevaluate-default-file-defcustom)
7062 (todo-reevaluate-filelist-defcustoms)
7063 (todo-reevaluate-filter-files-defcustom)
7064 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7065 (todo-reset-done-separator, todo-reset-done-separator-string)
7066 (todo-reset-done-string, todo-reset-global-current-todo-file)
7067 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7068 (todo-reset-prefix, todo-set-categories)
7069 (todo-set-date-from-calendar, todo-set-show-current-file)
7070 (todo-set-top-priorities, todo-short-file-name)
7071 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7072 (todo-total-item-counts, todo-update-buffer-list)
7073 (todo-update-categories-display, todo-update-categories-sexp)
7074 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7075 New functions.
7076 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7077 New major modes.
7078 (todo-categories, todo-display, todo-edit, todo-faces)
7079 (todo-filtered): New defgroups.
7080 (todo-archived-only, todo-button, todo-category-string, todo-date)
7081 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7082 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7083 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7084 (todo-add-item-if-new-category, todo-always-add-time-string)
7085 (todo-categories-align, todo-categories-archived-label)
7086 (todo-categories-category-label, todo-categories-diary-label)
7087 (todo-categories-done-label, todo-categories-number-separator)
7088 (todo-categories-todo-label, todo-categories-totals-label)
7089 (todo-category-completions-files, todo-completion-ignore-case)
7090 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7091 (todo-done-separator-string, todo-done-string)
7092 (todo-files-function, todo-filter-done-items, todo-filter-files)
7093 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7094 (todo-initial-category, todo-initial-file, todo-item-mark)
7095 (todo-legacy-date-time-regexp, todo-mode-line-function)
7096 (todo-nondiary-marker, todo-number-prefix)
7097 (todo-print-buffer-function, todo-show-current-file)
7098 (todo-show-done-only, todo-show-first, todo-show-with-done)
7099 (todo-skip-archived-categories, todo-top-priorities-overrides)
7100 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7101 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7102 New defcustoms.
7103 (todo-category-done, todo-date-pattern, todo-date-string-start)
7104 (todo-diary-items-buffer, todo-done-string-start)
7105 (todo-filtered-items-buffer, todo-item-start)
7106 (todo-month-abbrev-array, todo-month-name-array)
7107 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7108 (todo-top-priorities-buffer): New defconsts.
7109 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7110 (todo-categories-with-marks, todo-category-string-face)
7111 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7112 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7113 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7114 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7115 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7116 (todo-font-lock-keywords, todo-global-current-todo-file)
7117 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7118 (todo-insertion-commands-args)
7119 (todo-insertion-commands-args-genlist)
7120 (todo-insertion-commands-names, todo-insertion-map)
7121 (todo-key-bindings-t, todo-key-bindings-t+a)
7122 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7123 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7124 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7125 (todo-visited): New variables.
7126
cad5d1cb
GM
71272013-06-21 Glenn Morris <rgm@gnu.org>
7128
7129 * play/cookie1.el (cookie-apropos): Add optional display argument.
7130 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7131 (psychoanalyze-pinhead): Use cookie-doctor.
7132
9e277302
JB
71332013-06-21 Juanma Barranquero <lekktu@gmail.com>
7134
7135 * emacs-lisp/package.el (tar-get-file-descriptor)
7136 (tar--extract): Declare.
7137
c5b0993e
EW
71382013-06-21 Eduard Wiebe <usenet@pusto.de>
7139
7140 Extend flymake's warning predicate to be a function (bug#14217).
7141 * progmodes/flymake.el (flymake-warning-predicate): New.
7142 (flymake-parse-line): Use it.
7143 (flymake-warning-re): Make obsolete alias to
7144 `flymake-warning-predicate'.
7145
a7d2d465
SM
71462013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7147
7148 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7149 (package-obsolete-list): Remove.
7150 (package-activate): Remove min-version argument. Add `force' argument.
7151 Adjust to new package-alist format.
7152 (package-mark-obsolete): Remove.
7153 (package-unpack): Force reload of the package's autoloads.
7154 (package-installed-p): Check builtins if the installed package is not
7155 recent enough.
7156 (package-initialize): Don't reset package-obsolete-list.
7157 Don't specify which package version to activate.
7158 (package-process-define-package, describe-package-1)
7159 (package-menu--generate): Adjust to new package-alist format.
7160
cedf5c9d
JB
71612013-06-21 Juanma Barranquero <lekktu@gmail.com>
7162
7163 * allout-widgets.el (allout-widgets-mode-off)
7164 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7165 (allout-widgets-post-command-business)
7166 (allout-widgets-after-copy-or-kill-function)
7167 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7168 (allout-decorate-item-and-context)
7169 (allout-graphics-modification-handler): Fix typos in docstrings.
7170 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7171
7172 * cmuscheme.el (scheme-start-file): Doc fix.
7173 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7174 (scheme-input-filter): Use `string-match-p'.
7175
7176 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7177
7178 * dired-x.el: Use Dired consistently in docstrings.
7179
7180 * dired.el: Use Dired consistently in docstrings.
7181 (dired-readin, dired-mode): Use `setq-local'.
7182 (dired-switches-alist): Make defvar-local.
7183 (dired-buffers-for-dir): Use `zerop'.
7184 (dired-safe-switches-p, dired-switches-escape-p)
7185 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7186 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7187 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7188 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7189 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7190 (dired-toggle-marks, dired-mark-files-containing-regexp)
7191 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7192 (dired-flag-auto-save-files, dired-flag-backup-files):
7193 Use `looking-at-p'.
7194 (dired-mark-files-regexp, dired-build-subdir-alist):
7195 Use `string-match-p', `looking-at-p'.
7196
7197 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7198 (direct-print-region-helper): Use `string-match-p'.
7199
aed838b5
LL
72002013-06-21 Leo Liu <sdl.web@gmail.com>
7201
cedf5c9d
JB
7202 * comint.el (comint-redirect-results-list-from-process):
7203 Fix infinite loop.
aed838b5 7204
d80a808f
LMI
72052013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7206
7207 * net/eww.el (eww-update-header-line-format): Quote % characters.
7208
e7a526e3
GM
72092013-06-21 Glenn Morris <rgm@gnu.org>
7210
7211 * play/cookie1.el (cookie): New custom group.
7212 (cookie-file): New option.
7213 (cookie-check-file): New function.
7214 (cookie): Make it interactive. Make start and end messages optional.
7215 Interactively, display the result. Default to cookie-file.
7216 (cookie-insert): Default to cookie-file.
7217 (cookie-snarf): Make start and end messages optional.
7218 Default to cookie-file. Use with-temp-buffer.
7219 (cookie-read): Rename from read-cookie.
7220 Make start and end messages optional. Default to cookie-file.
7221 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 7222 Do not autoload it.
e7a526e3
GM
7223 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7224 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7225
62efb35e
LL
72262013-06-21 Leo Liu <sdl.web@gmail.com>
7227
7228 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7229
21e3f963
GM
72302013-06-21 Glenn Morris <rgm@gnu.org>
7231
7232 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7233
fd846ab4
SM
72342013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7235 Daniel Hackney <dan@haxney.org>
7236
7237 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7238 Consolidate the single-file vs tarball code.
7239 (package-desc-suffix): New function.
7240 (package-desc-full-name): Don't bother inlining it.
7241 (package-load-descriptor): Return the new package-desc.
7242 (package-mark-obsolete): Remove unused arg `package'.
7243 (package-unpack): Make it work for single files as well.
7244 Make it update package-alist.
7245 (package--make-autoloads-and-stuff): Rename from
7246 package--make-autoloads-and-compile. Don't compile any more.
7247 (package--compile): New function.
7248 (package-generate-description-file): New function, extracted from
7249 package-unpack-single.
7250 (package-unpack-single): Remove.
7251 (package--with-work-buffer): Add indentation and debugging info.
7252 (package-download-single): Remove.
7253 (package-install-from-archive): Rename from package-download-tar, make
7254 it take a pkg-desc, and make it work for single files as well.
7255 (package-download-transaction): Simplify.
7256 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7257 external tar program.
7258 (package-install-from-buffer): Remove `pkg-desc' argument.
7259 Use package-tar-file-info for tar-mode buffers.
7260 (package-install-file): Simplify accordingly.
7261 (package-archive-base): Change to take a pkg-desc.
7262 * tar-mode.el (tar--check-descriptor): New function, extracted from
7263 tar-get-descriptor.
7264 (tar-get-descriptor): Use it.
7265 (tar-get-file-descriptor): New function.
7266 (tar--extract): New function, extracted from tar-extract.
7267 (tar--extract): Use it.
7268 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7269 case the summary uses non-ascii. Adjust to new calling convention of
7270 package-tar-file-info.
7271
b7deae5e
LL
72722013-06-21 Leo Liu <sdl.web@gmail.com>
7273
fd846ab4
SM
7274 * comint.el (comint-redirect-results-list-from-process):
7275 Fix random delay. (Bug#14681)
b7deae5e 7276
7a65a0b2
JB
72772013-06-21 Juanma Barranquero <lekktu@gmail.com>
7278
7279 * profiler.el (profiler-format-number): Use log, not log10.
7280
1493c2af
JB
72812013-06-20 Juanma Barranquero <lekktu@gmail.com>
7282
7283 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7284
aff6371e
SM
72852013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7286
7287 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7288 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7289 yet available.
7290 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7291 (AUTOGENEL): ... here.
7292 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7293 (cl--defsubst-expand): Use it.
7294
89561f72
PE
72952013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7296
7297 * subr.el (log10): Move here from C code, and declare as obsolete.
7298 All uses of (log10 X) replaced with (log X 10).
7299
47199123
JB
73002013-06-20 Juanma Barranquero <lekktu@gmail.com>
7301
7302 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7303 Declare with `defvar-local'.
7304 (tabulated-list-use-header-line, tabulated-list-entries)
7305 (tabulated-list-padding, tabulated-list-printer)
7306 (tabulated-list-sort-key): Declare with `defvar-local'.
7307 (tabulated-list-init-header, tabulated-list-print-fake-header):
7308 Use `setq-local'.
7309
4a172eab
MA
73102013-06-20 Michael Albinus <michael.albinus@gmx.de>
7311
47199123
JB
7312 * arc-mode.el (archive-mode): Add `archive-write-file' to
7313 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 7314
5fc0acc0
JB
73152013-06-20 Juanma Barranquero <lekktu@gmail.com>
7316
d5b27848
JB
7317 * cus-edit.el (custom-commands): Fix typos.
7318 (custom-display): Fix tooltip text.
7319 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7320 Fix typos in docstrings.
7321 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7322 (custom-unlispify-menu-entry, custom-magic-value-create)
7323 (custom-add-see-also, custom-group-value-create): Use ?\s.
7324 (custom-guess-type, customize-apropos, editable-field)
7325 (custom-face-value-create): Use `string-match-p'.
7326 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7327
7328 * custom.el (custom-load-symbol): Use `string-match-p'.
7329
a5c581d8
JB
7330 * ansi-color.el: Convert to lexical binding.
7331 (ansi-colors): Fix URL.
7332 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7333 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7334 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7335
970ad972
G
73362013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7337
7338 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7339
7340 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7341
73422013-06-19 Tom Tromey <tromey@redhat.com>
7343
7344 * net/eww.el (eww-top-url): Remove.
7345 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7346 (eww-render): Set new variables. Don't set eww-top-url.
7347 (eww-handle-link): Handle "prev", "home", and "contents".
7348 Downcase the rel text.
7349 (eww-top-url): Choose best top URL.
7350
73512013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7352
7353 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7354 relying in widget.el. Using widget.el leads to too many
7355 user interface inconsistencies.
7356 (eww-self-insert): Implement entering commands in text fields.
7357 (eww-process-text-input): New function to make text input field editing
7358 work.
7359 (eww-submit): Rewrite to use the new-style form methods.
7360 (eww-select-display): Display the correct selected item.
7361 (eww-change-select): Implement changing the select value.
7362 (eww-toggle-checkbox): Implement radio/checkboxes.
7363 (eww-update-field): Fix compilation error.
7364 (eww-tag-textarea): Implement <textarea>.
7365
7366 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7367 we don't shadow mode-specific bindings.
7368
7369 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7370 nothing to push.
7371
7372 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7373
4582a01c 73742013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
7375
7376 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7377
15b263dc
MA
73782013-06-19 Michael Albinus <michael.albinus@gmx.de>
7379
7380 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7381 not needed.
7382
7383 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7384
8f5297f7
LMI
73852013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7386
7387 * net/browse-url.el (browse-url-browser-function):
7388 `eww-browse-url' has the right calling signature, `eww' does not.
7389
011c4552
GM
73902013-06-19 Glenn Morris <rgm@gnu.org>
7391
2285bd27
GM
7392 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7393 Only eval autoloaded macros.
7394 (byte-compile-autoload): Only give the macro warning for macros.
7395
1d653303
GM
7396 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7397 (ps-underlined-faces): Declare.
7398
bdd779ec
GM
7399 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7400 (speedbar-add-supported-extension): Declare.
7401
011c4552
GM
7402 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7403 Don't include a date stamp in the header of the generated file;
7404 it leads to needless differences between output files.
7405
e59dfb0e
MA
74062013-06-19 Michael Albinus <michael.albinus@gmx.de>
7407
c763842b
SM
7408 * net/secrets.el (secrets-struct-secret-content-type):
7409 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 7410 Some servers do not offer introspection.
e59dfb0e 7411
102626e2
SM
74122013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7413
7414 * electric.el (electric-pair-mode): Improve interaction with
7415 electric-layout-mode.
7416 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7417 (electric-pair-syntax): Use text-mode-syntax-table in comments
7418 and strings.
7419 (electric-pair--insert): New function.
7420 (electric-pair-post-self-insert-function): Use it and
7421 electric--after-char-pos.
7422
ad528125
LL
74232013-06-19 Leo Liu <sdl.web@gmail.com>
7424
7425 * progmodes/octave.el (octave-help): Fix regexp.
7426
924d6997
G
74272013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7428
7429 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7430 (shr-table-horizontal-line): Allow nil as a value, and change the
7431 default.
7432 (shr-insert-table-ruler): Respect the nil value.
7433
74342013-06-18 Tom Tromey <tromey@barimba>
7435
7436 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7437 New defvars.
7438 (eww-open-file): New defun.
7439 (eww-render): Initialize new variables.
7440 (eww-display-html): Handle "link" and "a".
7441 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7442 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7443 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
7444 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7445 New defuns.
924d6997 7446
d1bbba4f
DG
74472013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7448
7449 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7450 Distinguish ternary operator tokens from slash symbol and slash
7451 char literal.
7452
14dd22d2
JB
74532013-06-18 Juanma Barranquero <lekktu@gmail.com>
7454
7455 Convert symbol prettification into minor mode and global minor mode.
7456
7457 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7458 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7459 (prettify-symbols--keywords): Rename from
7460 `prog-prettify-symbols-alist' and make a local defvar.
7461 (prettify-symbols--compose-symbol): Rename from
7462 `prog--prettify-font-lock-compose-symbol'.
7463 (prettify-symbols--make-keywords): Rename from
7464 `prog-prettify-font-lock-symbols-keywords' and simplify.
7465 (prog-prettify-install): Remove.
7466 (prettify-symbols-mode): New minor mode, based on
7467 `prog-prettify-install'.
7468 (turn-on-prettify-symbols-mode): New function.
7469 (global-prettify-symbols-mode): New globalized minor mode.
7470
7471 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7472 * progmodes/cfengine.el (cfengine3-mode):
7473 * progmodes/perl-mode.el (perl-mode): Don't call
7474 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7475
292c880c
JL
74762013-06-18 Juri Linkov <juri@jurta.org>
7477
7478 * files-x.el (modify-file-local-variable-message): New function.
7479 (modify-file-local-variable)
7480 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7481 and call `modify-file-local-variable-message' when it's non-nil.
7482 (add-file-local-variable, delete-file-local-variable)
7483 (add-file-local-variable-prop-line)
7484 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7485 and use it. (Bug#9820)
7486
0950aa27
JL
74872013-06-18 Juri Linkov <juri@jurta.org>
7488
7489 * emulation/vi.el (vi-shell-op):
7490 * emulation/vip.el (vip-execute-com, ex-command):
7491 * emulation/viper-cmd.el (viper-exec-bang):
7492 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7493 the call of `shell-command-on-region'. (Bug#14637)
7494
7495 * simple.el (shell-command-on-region): Doc fix.
7496
8fbcca16
SM
74972013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7498
7499 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7500 (bug#14633).
7501
dd7426ea
GM
75022013-06-18 Glenn Morris <rgm@gnu.org>
7503
4ba54f7d
GM
7504 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7505
dd7426ea
GM
7506 * newcomment.el (comment-search-forward, comment-search-backward):
7507 Doc fix. (Bug#14376)
7508
58aa805b
JB
75092013-06-18 Juanma Barranquero <lekktu@gmail.com>
7510
7511 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7512 (buffer-face-mode-invoke): Doc fix.
7513
9a08a617
MM
75142013-06-18 Matthias Meulien <orontee@gmail.com>
7515
7516 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 7517 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 7518
f2f426ca
GM
75192013-06-18 Glenn Morris <rgm@gnu.org>
7520
9445f99b
GM
7521 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7522 Replace obsolete function generic-make-keywords with its expansion.
7523
e0df2d14
GM
7524 * progmodes/python.el (ffap-alist): Declare.
7525
f2f426ca
GM
7526 * textmodes/reftex.el (bibtex-mode-map): Declare.
7527
f7f9a720
SM
75282013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7529
7530 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7531 (package-unpack, package-unpack-single): Return the pkg-dir.
7532 (package-download-transaction): Use it to update package-alist.
7533
57ff04e0
LMI
75342013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7535
7536 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7537 possible choice.
7538
c048c022
JL
75392013-06-17 Juri Linkov <juri@jurta.org>
7540
7541 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7542
b5bcaee5
DG
75432013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7544
a020afb9
JB
7545 * emacs-lisp/package.el (package-load-descriptor):
7546 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
7547 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7548
551e07e5
JB
75492013-06-17 Juanma Barranquero <lekktu@gmail.com>
7550
7551 * startup.el (command-line): Expand package name returned by
7552 `package--description-file' (bug#14639).
7553
d363bffb
DG
75542013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7555
7556 * emacs-lisp/package.el (package-load-descriptor): Do not call
7557 `emacs-lisp-mode', just use its syntax table.
7558
f612933b
JB
75592013-06-17 Juanma Barranquero <lekktu@gmail.com>
7560
7561 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7562 `font-lock-extra-managed-props' if any prettifying keyword is added.
7563 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7564 (prog-mode): Use `setq-local'.
7565
db3b7db5
SM
75662013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7567
7568 * international/characters.el (standard-case-table): Set syntax of ?»
7569 and ?« to punctuation.
7570
f3d674df
JB
75712013-06-16 Juanma Barranquero <lekktu@gmail.com>
7572
7573 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7574 Save relevant match data before calling `syntax-ppss' (bug#14595).
7575
31489a32
JL
75762013-06-15 Juri Linkov <juri@jurta.org>
7577
7578 * files-x.el (modify-file-local-variable-prop-line): Add local
7579 variables to the end of the existing comment on the first line.
7580 Use `file-auto-mode-skip' to skip interpreter magic line,
7581 and also skip XML declaration.
7582
66bd25ab
SM
75832013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7584
7585 * startup.el (package--builtin-versions): New var.
7586 (package-subdirectory-regexp): Remove.
7587 (package--description-file): Hard code its value instead.
7588
7589 * emacs-lisp/package.el: Don't activate packages older than builtin.
7590 (package-obsolete-list): Rename from package-obsolete-alist, and make
7591 it into a simple list of package-desc.
7592 (package-strip-version): Remove.
7593 (package-built-in-p): Use package--builtin-versions.
7594 (package-mark-obsolete): Simplify.
7595 (package-process-define-package): Mark it obsolete if older than the
7596 builtin version.
7597 (package-handle-response): Use line-end-position.
7598 (package-read-archive-contents, package--download-one-archive):
7599 Simplify.
7600 (package--add-to-archive-contents): Skip if older than the builtin or
7601 installed version.
7602 (package-menu-describe-package): Fix last change.
7603 (package-list-unversioned): New var.
7604 (package-menu--generate): Use it.
7605
7606 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7607 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7608 (autoload-builtin-package-versions): New variable.
7609 (autoload-generate-file-autoloads): Use them.
7610 Remove the list of autoloaded functions/macros from the
7611 (autoload...) comments.
7612
7613 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7614
9583ec36
EZ
76152013-06-15 Eli Zaretskii <eliz@gnu.org>
7616
7617 * simple.el (line-move-partial): Don't jump to the next screen
7618 line as soon as it becomes visible. Instead, continue enlarging
7619 the vscroll until the portion of a tall screen line that's left on
7620 display is about the height of the frame's default font.
7621 (Bug#14567)
7622
f0100d8a
GM
76232013-06-15 Glenn Morris <rgm@gnu.org>
7624
b86a85ca
GM
7625 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7626 compilation-error-regexp-alist void, or local while let-bound.
7627
f0100d8a
GM
7628 * progmodes/make-mode.el (makefile-mode-syntax-table):
7629 Treat "=" as punctuation. (Bug#14614)
7630
05e7ce90
JB
76312013-06-15 Juanma Barranquero <lekktu@gmail.com>
7632
7633 * help-fns.el (describe-variable):
7634 Add extra line for permanent-local variables.
7635
12e5e86e
SH
76362013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7637
7638 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7639 Add export, import, library. (Bug#9164)
7640 (library): Set indent function.
7641
230dcbaf
GM
76422013-06-14 Glenn Morris <rgm@gnu.org>
7643
7644 * term/xterm.el (xterm--query):
7645 Stop after first matching handler. (Bug#14615)
7646
e36b2d20 76472013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
7648
7649 Add support for dired in saveplace.
7650 * dired.el (dired-initial-position-hook): New variable.
7651 (dired-initial-position): Call hook to place cursor position.
7652 * saveplace.el (save-place-to-alist): Add dired position.
7653 (save-place-dired-hook): New function.
7654
0b31660d
SM
76552013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7656
bf1e6ae8
SM
7657 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7658 through a symbol rather than letrec.
7659
1b8dff23
SM
7660 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7661 (package-desc): Add `dir' field.
7662 (package-desc-full-name): New function.
7663 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7664 (package-maybe-load-descriptor): Remove.
7665 (package-load-all-descriptors): Just call package-load-descriptor.
7666 (package--disabled-p): New function.
7667 (package-desc-vers, package-desc-doc): Remove aliases.
7668 (package--dir): Remove function.
7669 (package-activate): Check if a package is disabled.
7670 (package-process-define-package): New function, extracted from
7671 define-package.
7672 (define-package): Turn into a place holder.
7673 (package-unpack-single, package-tar-file-info):
7674 Use package--description-file.
7675 (package-compute-transaction): Use package--disabled-p.
7676 (package-download-transaction): Don't call
7677 package-maybe-load-descriptor since they're all loaded anyway.
7678 (package-install): Change argument to be a pkg-desc.
7679 (package-delete): Use a single pkg-desc argument.
7680 (describe-package-1): Use package-desc-dir instead of package--dir.
7681 Use package-desc property instead of package-symbol.
7682 (package-install-button-action): Adjust accordingly.
7683 (package--push): Rewrite.
7684 (package-menu--print-info): Adjust accordingly. Change the ID format
7685 to be a pkg-desc.
7686 (package-menu-describe-package, package-menu-get-status)
7687 (package-menu--find-upgrades, package-menu-mark-upgrades)
7688 (package-menu-execute, package-menu--name-predicate):
7689 Adjust accordingly.
7690 * startup.el (package--description-file): New function.
7691 (command-line): Use it.
7692 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7693 Use package-desc-version.
7694
0b31660d
SM
7695 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7696 (byte-compile-preprocess): Use it.
7697 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7698 can't quite recognize.
7699 (byte-compile-add-to-list): Remove.
7700 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7701 (cconv-closure-convert): Add assertion.
7702
7703 * emacs-lisp/map-ynp.el: Use lexical-binding.
7704 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7705 Factor out some repeated code.
7706
de0503df
SM
77072013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7708
7709 * subr.el (with-eval-after-load): New macro.
7710 (eval-after-load): Allow form to be a function.
7711 take advantage of lexical-binding.
7712 (do-after-load-evaluation): Use dolist and adjust to new format.
7713 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7714
bc5c8c5a
JL
77152013-06-13 Juri Linkov <juri@jurta.org>
7716
7717 * replace.el (perform-replace): Display "symbol " and other search
7718 modes from `isearch-message-prefix' in the *Help* buffer.
7719
7720 * isearch.el (isearch-query-replace): Add " symbol" and other
7721 possible search modes from `isearch-message-prefix' to the prompt.
7722 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7723 when reading a regexp to collect.
7724
a22289f7
JL
77252013-06-13 Juri Linkov <juri@jurta.org>
7726
7727 * isearch.el (word-search-regexp): Match whitespace if the search
7728 string begins or ends in whitespace. The LAX arg is applied to
7729 both ends of the search string. Use `regexp-quote' and explicit
7730 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7731 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7732 boundaries are replaced with symbol boundaries, and characters
7733 between symbols match non-word non-symbol syntax. (Bug#14602)
7734
cb89acab
JL
77352013-06-13 Juri Linkov <juri@jurta.org>
7736
7737 * isearch.el (isearch-del-char): Don't exceed the length of
7738 `isearch-string' by the prefix arg. (Bug#14563)
7739
6e8cfc81
JL
77402013-06-13 Juri Linkov <juri@jurta.org>
7741
7742 * isearch.el (isearch-yank-word, isearch-yank-line)
7743 (isearch-char-by-name, isearch-quote-char)
7744 (isearch-printing-char, isearch-process-search-char):
7745 Add optional count prefix arg. (Bug#14563)
7746
7747 * international/isearch-x.el
7748 (isearch-process-search-multibyte-characters):
7749 Add optional count prefix arg.
7750
c23d55f4
VS
77512013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7752
7753 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7754 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7755 lexical-binding.
7756
77572013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7758
7759 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7760
ba947bc4
GM
77612013-06-13 Glenn Morris <rgm@gnu.org>
7762
8baeb37a
GM
7763 * startup.el (tty-handle-args):
7764 Don't just discard "--" and anything after. (Bug#14608)
7765
ba947bc4
GM
7766 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7767
9abefce4
MA
77682013-06-13 Michael Albinus <michael.albinus@gmx.de>
7769
7770 Implement changes in Secret Service API. Make it backward compatible.
7771 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7772 (secrets-create-item): Use it. Prefix properties with interface.
7773
5755011f
MH
77742013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7775
7776 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7777 (term-emulate-terminal): Respect term-suppress-hard-newline.
7778
1261d2da
S
77792013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7780
7781 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7782 Only remove a `thumb-file' overlay. (Bug#14548)
7783
868490bb
GJ
77842013-06-12 Grégoire Jadi <daimrod@gmail.com>
7785
7786 * mail/reporter.el (reporter-submit-bug-report):
7787 Handle missing package-name. (Bug#14600)
7788
79d7167f
TH
77892013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7790
7791 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7792 (reftex-citation-prompt, reftex-default-bibliography)
7793 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7794 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7795 (reftex-bib-sort-author, reftex-bib-sort-year)
7796 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7797 (reftex-extract-bib-entries-from-thebibliography)
7798 (reftex-get-bibkey-default, reftex-get-bib-names)
7799 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7800 (reftex-format-bib-entry, reftex-parse-bibitem)
7801 (reftex-format-bibitem, reftex-do-citation)
7802 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7803 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7804 (reftex-insert-bib-matches, reftex-format-citation)
7805 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7806 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7807 existing comments into docstrings.
7808
5f9dbd7a
XF
78092013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7810
7811 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7812
94df41ab
AS
78132013-06-12 Andreas Schwab <schwab@suse.de>
7814
7815 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7816 for auto-save files.
7817
a7f3fecc
GM
78182013-06-12 Glenn Morris <rgm@gnu.org>
7819
001809f6
GM
7820 * ido.el (ido-delete-ignored-files): Remove.
7821 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7822 Go back to calling ido-ignore-item-p directly.
a7f3fecc 7823
834b5ded
EL
78242013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7825
08c73ed2
EL
7826 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7827
834b5ded
EL
7828 * ido.el (ido-delete-ignored-files): New function,
7829 split from ido-make-file-list-1.
7830 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7831 (ido-make-file-list-1): Use ido-delete-ignored-files.
7832
daabf15a
LL
78332013-06-12 Leo Liu <sdl.web@gmail.com>
7834
7835 * progmodes/octave.el (inferior-octave-startup)
7836 (inferior-octave-completion-table)
7837 (inferior-octave-track-window-width-change)
7838 (octave-eldoc-function-signatures, octave-help)
7839 (octave-find-definition): Use single quoted strings.
7840 (inferior-octave-startup-args): Change default value.
7841 (inferior-octave-startup): Do not hard code "-i" and
7842 "--no-line-editing".
7843 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7844 (inferior-octave-directory-tracker): Use it.
7845 (octave-goto-function-definition): Robustify.
7846 (octave-help): Support highlighting operators in 'See also'.
7847 (octave-find-definition): Find subfunctions only in Octave mode.
7848
cf4e5178
SM
78492013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7850
7851 * help-fns.el (help-fns--compiler-macro): If the handler function is
7852 named, then put a link to it.
7853 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7854 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7855 (cl-typep): Use it.
7856 (cl-eval-when): Simplify debug spec.
7857 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7858 compiler-macro function instead of setting `compiler-macro-file'.
7859
99c81280 78602013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
7861
7862 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7863 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7864
f56be016
SM
78652013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7866 Daniel Hackney <dan@haxney.org>
7867
7868 First part of Daniel Hackney's patch to package.el.
7869 * emacs-lisp/package.el: Use defstruct.
7870 (package-desc): New, main struct.
7871 (package--bi-desc, package--ac-desc): New structs, used to describe the
7872 format in external files.
7873 (package-desc-vers): Replace with package-desc-version accessor.
7874 (package-desc-doc): Replace with package-desc-summary accessor.
7875 (package-activate-1): Remove `package' arg since the pkg-vec now
7876 includes the name.
7877 (define-package): Use package-desc-from-define.
7878 (package-unpack-single): Change file-name arg to be a symbol.
7879 (package--add-to-archive-contents): Use package-desc-create and new
7880 accessor functions to package--ac-desc.
7881 (package-buffer-info, package-tar-file-info): Return a package-desc.
7882 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7883 arg to be a package-desc.
7884 (package-install-file): Adjust accordingly. Use \' to match EOS.
7885 (package--from-builtin): New function.
7886 (describe-package-1, package-menu--generate): Use it.
7887 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7888 (package-generate-autoloads): Idem and return the name of the file.
7889 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7890 Change pkg-info arg to be a package-desc.
7891 Use package-make-ac-desc.
7892 (package-upload-file): Use \' to match EOS.
7893 * finder.el (finder-compile-keywords): Use package-make-builtin.
7894
31119d63
SM
78952013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7896
931a2762
SM
7897 * vc/vc.el (vc-deduce-fileset): Change error message.
7898 (vc-read-backend): New function.
7899 (vc-next-action): Use it.
7900
5a3eb0c6
SM
7901 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7902
e3eb1bb7
SM
7903 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7904 (prolog-font-lock-keywords): Use regexp-opt instead.
7905 Don't manually highlight strings.
7906 (prolog-mode-variables): Simplify comment-start-skip.
7907 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7908
31119d63
SM
7909 * emacs-lisp/generic.el (generic--normalise-comments)
7910 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7911 (generic-mode-set-comments): Use them.
7912 (generic-bracket-support): Use setq-local.
7913 (generic-make-keywords-list): Declare obsolete.
7914
7de135d0
GM
79152013-06-11 Glenn Morris <rgm@gnu.org>
7916
7917 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7918 Prettify after setting font-lock-defaults. (Bug#14574)
7919
fa6bc6fd
JB
79202013-06-11 Juanma Barranquero <lekktu@gmail.com>
7921
7922 * replace.el (query-replace, occur-read-regexp-defaults-function)
7923 (replace-search):
7924 * subr.el (declare-function, number-sequence, local-set-key)
7925 (substitute-key-definition, locate-user-emacs-file)
7926 (with-silent-modifications, split-string, eval-after-load):
7927 Fix typos, remove unneeded backslashes and reflow some docstrings.
7928
cf1f9b9a
SM
79292013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7930
7931 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7932 default for Elisp files.
7933
56602a4b
GM
79342013-06-11 Glenn Morris <rgm@gnu.org>
7935
7936 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7937 although define-derived-mode was doing this anyway. (Bug#14583)
7938
30ae0b2c
JB
79392013-06-10 Juanma Barranquero <lekktu@gmail.com>
7940
7941 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7942 Fix make-variable-buffer-local call to refer to the correct variable.
7943
fa472906
AG
79442013-06-10 Aidan Gauland <aidalgol@amuri.net>
7945
7946 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
7947 (eshell-visual-subcommands, eshell-visual-options):
7948 Add summary line to docstrings. Add cross-references.
fa472906 7949
ff4871b9
GM
79502013-06-10 Glenn Morris <rgm@gnu.org>
7951
7952 * epa.el (epa-read-file-name): New function. (Bug#14510)
7953 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7954
04fcf1b0
AG
79552013-06-09 Aidan Gauland <aidalgol@amuri.net>
7956
7957 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7958 output redirection to be ignored with visual commands.
7959
88b00caa
AG
79602013-06-09 Aidan Gauland <aidalgol@amuri.net>
7961
7962 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
7963 (eshell-term-initialize): Move long lambda to separate function
7964 eshell-visual-command-p.
e7b41c4c
JB
7965 * eshell/em-dirs.el (eshell-dirs-initialise):
7966 * eshell/em-script.el (eshell-script-initialize):
7967 Add missing #' to lambda.
88b00caa 7968
fda74125
LL
79692013-06-08 Leo Liu <sdl.web@gmail.com>
7970
7971 * progmodes/octave.el (octave-add-log-current-defun): New function.
7972 (octave-mode): Set add-log-current-defun-function.
7973 (octave-goto-function-definition): Do not move point if not found.
7974 (octave-find-definition): Enhance to try subfunctions first.
7975
467f3b33
GM
79762013-06-08 Glenn Morris <rgm@gnu.org>
7977
7978 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7979 (byte-compile-backward-char, byte-compile-backward-word):
7980 Improve previous change, to handle non-explicit nil.
7981
544badc3
SM
79822013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7983
7984 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7985 (smie--opener/closer-at-point): New function.
7986 (smie--matching-block-data): Use it. Don't match from right after an
7987 opener or right before a closer. Obey smie-blink-matching-inners.
7988 Don't signal a mismatch for repeated inners like "switch..case..case".
7989
a175bf33
LL
79902013-06-07 Leo Liu <sdl.web@gmail.com>
7991
7992 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7993 to t. (Bug#14303)
ce8209d4
LL
7994 (octave-function-header-regexp): Fix. (Bug#14570)
7995 (octave-help-mode-finish-hook, octave-help-mode-finish):
7996 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
7997
7998 * newcomment.el (comment-search-backward): Revert last change.
7999 (Bug#14434)
8000
8001 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8002
a822acff
EZ
80032013-06-07 Eli Zaretskii <eliz@gnu.org>
8004
8005 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8006 through xargs, to avoid failure due to MS-Windows limitations on
8007 command-line length.
8008
961166f5
GM
80092013-06-06 Glenn Morris <rgm@gnu.org>
8010
d0341459
GM
8011 * font-lock.el (lisp-font-lock-keywords-2):
8012 Treat user-error like error.
8013
961166f5
GM
8014 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8015 (byte-compile-backward-char, byte-compile-backward-word):
8016 Handle explicit nil arguments. (Bug#14565)
8017
80fa505f
AM
80182013-06-05 Alan Mackenzie <acm@muc.de>
8019
8020 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 8021 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 8022 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 8023 (Bug#9706)
80fa505f 8024
fccdc796
SM
80252013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8026
8027 * autorevert.el (auto-revert-notify-handler): Use memq.
8028 Hide assertion failure.
8029
8030 * skeleton.el: Use cl-lib.
8031 (skeleton-further-elements): Use defvar-local.
8032 (skeleton-insert): Use cl-progv.
8033
9bfff84b
TZ
80342013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8035
8036 * progmodes/prog-mode.el (prog-prettify-symbols)
8037 (prog-prettify-install): Update docstrings.
8038
55577e7c
SM
80392013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8040
8041 * simple.el: Move all the prog-mode code to prog-mode.el.
8042 * progmodes/prog-mode.el: New file.
8043 * loadup.el: Add prog-mode.el.
8044
8fc57765
TZ
80452013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8046
8047 * simple.el (prog-prettify-symbols): Add version.
8048 (prog-prettify-install): Add convenience function to prettify symbols.
8049
8050 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8051 (perl--augmented-font-lock-keywords-1)
8052 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8053 variables and use it.
8054
8055 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8056 (cfengine3-mode): Remove unneeded variable and use it.
8057
8058 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8059 (lisp--augmented-font-lock-keywords-1)
8060 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8061 Remove unneeded variables and use it.
8062
650645d5 80632013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
8064
8065 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 8066 to point when opening the connection. (Bug#14380)
28f5da6d 8067
781b4af6
SM
80682013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8069
8070 * subr.el (load-history-regexp, load-history-filename-element)
8071 (eval-after-load, after-load-functions, do-after-load-evaluation)
8072 (eval-next-after-load, display-delayed-warnings)
8073 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8074 definition of save-match-data.
8075 (overriding-local-map): Remove accidental obsolescence declaration.
8076
8077 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8078
3ca0d0b4
TZ
80792013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8080
8081 Generalize symbol prettify support to prog-mode and implement it
8082 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8083 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8084 (prog--prettify-font-lock-compose-symbol)
8085 (prog-prettify-font-lock-symbols-keywords): New variables and
8086 functions to support symbol prettification.
8087 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8088 (lisp--augmented-font-lock-keywords-1)
8089 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8090 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8091 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
8092 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8093 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
8094 * progmodes/perl-mode.el (perl-prettify-symbols)
8095 (perl--font-lock-compose-symbol)
8096 (perl--font-lock-symbols-keywords): Move to prog-mode.
8097 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8098 (perl-font-lock-keywords-1)
8099 (perl-font-lock-keywords-2): Remove explicit prettify support.
8100 (perl--augmented-font-lock-keywords)
8101 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
8102 (perl--augmented-font-lock-keywords-2, perl-mode):
8103 Implement prettify support.
3ca0d0b4 8104
976cb066
LL
81052013-06-05 Leo Liu <sdl.web@gmail.com>
8106
8107 Re-implement smie matching block highlight using
8108 show-paren-data-function. (Bug#14395)
8109 * emacs-lisp/smie.el (smie-matching-block-highlight)
8110 (smie--highlight-matching-block-overlay)
8111 (smie--highlight-matching-block-lastpos)
8112 (smie-highlight-matching-block)
8113 (smie-highlight-matching-block-mode): Remove.
8114 (smie--matching-block-data-cache): New variable.
8115 (smie--matching-block-data): New function.
8116 (smie-setup): Use smie--matching-block-data for
8117 show-paren-data-function.
8118
8119 * progmodes/octave.el (octave-mode-menu): Fix.
8120 (octave-find-definition): Skip garbage lines.
8121
208d0342
SM
81222013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8123
8124 Fix compilation error with simultaneous dynamic+lexical scoping.
8125 Add warning when a defvar appears after the first let-binding.
8126 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8127 (byte-compile-close-variables): Initialize it.
8128 (byte-compile--declare-var): New function.
8129 (byte-compile-file-form-defvar)
8130 (byte-compile-file-form-define-abbrev-table)
8131 (byte-compile-file-form-custom-declare-variable): Use it.
8132 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8133 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8134 (byte-compile-bind): Handle dynamic bindings that shadow
8135 lexical bindings.
8136 (byte-compile-unbind): Make arg non-optional.
8137 (byte-compile-let): Simplify.
8138 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8139 (cconv--analyse-function, cconv-analyse-form): Populate it.
8140 Protect byte-compile-bound-variables to limit the scope of defvars.
8141 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8142 Remove unneeded rule for `declare'.
8143
8144 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8145 so as to avoid depending on cl-adjoin at run-time.
8146 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8147
8148 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8149 (macroexp--warn-and-return): Use it.
8150
1ac2891e
GM
81512013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8152
8153 * lisp/subr.el: Convert to lexical binding.
8154 (overriding-local-map): Make obsolete.
8155 (add-to-list): Doc fix. Add compiler macro.
8156 (read-key): Swap values of local maps.
8157
2587b005
LL
81582013-06-05 Leo Liu <sdl.web@gmail.com>
8159
8160 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8161
f1da3c88
LL
81622013-06-04 Leo Liu <sdl.web@gmail.com>
8163
8164 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8165 (compilation-auto-jump): Suppress the "Mark set" message to give
8166 way to exit message.
8167
3caa391f
AM
81682013-06-04 Alan Mackenzie <acm@muc.de>
8169
8170 Remove faulty optimisation from indentation calculation.
8171 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8172 search limit based on 2000 characters back from indent-point.
8173
068922a2
TH
81742013-06-03 Tassilo Horn <tsdh@gnu.org>
8175
8176 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8177
1f8fdd53
SM
81782013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8179
bbcc4d97
SM
8180 * emacs-lisp/lisp.el: Use lexical-binding.
8181 (lisp--local-variables-1, lisp--local-variables): New functions.
8182 (lisp--local-variables-completion-table): New var.
208d0342 8183 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8184
1f8fdd53
SM
8185 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8186 eagerly (bug#14422).
8187
c9628c79
MA
81882013-06-03 Michael Albinus <michael.albinus@gmx.de>
8189
8190 * autorevert.el (auto-revert-notify-enabled)
8191 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8192 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8193 (auto-revert-notify-handler): Handle also gfilenotify.
8194
e7b41c4c 8195 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 8196 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 8197 Remove.
c9628c79 8198
e5e4a942
JL
81992013-06-03 Juri Linkov <juri@jurta.org>
8200
8201 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8202 `M-s h .'. (Bug#14427)
8203
8204 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8205 command `hi-lock-face-symbol-at-point'.
8206 (hi-lock-face-symbol-at-point): New command.
8207 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8208 (hi-lock-menu): Add `highlight-symbol-at-point'.
8209 (hi-lock-mode): Doc fix.
8210
8211 * isearch.el (isearch-forward-symbol-at-point): New command.
8212 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8213 (isearch-highlight-regexp): Add a regexp which matches
8214 words/symbols for word/symbol mode.
8215
8216 * subr.el (find-tag-default-bounds): New function with the body
8217 mostly moved from `find-tag-default'.
8218 (find-tag-default): Move most code to `find-tag-default-bounds',
8219 call it and apply `buffer-substring-no-properties' afterwards.
8220
26b3353a
TH
82212013-06-03 Tassilo Horn <tsdh@gnu.org>
8222
781b4af6
SM
8223 * eshell/em-term.el (eshell-term-initialize):
8224 Use `cl-intersection' rather than `intersection'.
26b3353a 8225
51b60f53
XF
82262013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8227
fe054b63 8228 * vc/log-view.el: Doc fix.
d3ffe17c 8229 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 8230
a0eb10b3 82312013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
8232
8233 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8234 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8235 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8236 (eieio-unbound, eieio-default-superclass)
8237 (eieio--define-field-accessors, method-static, method-before)
8238 (method-primary, method-after, method-num-lists)
8239 (method-generic-before, method-generic-primary)
8240 (method-generic-after, method-num-slots)
8241 (eieio-specialized-key-to-generic-key)
8242 (eieio--check-type, class-v, class-p)
8243 (eieio-class-name, define-obsolete-function-alias)
8244 (eieio-class-parents-fast, eieio-class-children-fast)
8245 (same-class-fast-p, class-constructor, generic-p)
8246 (generic-primary-only-p, generic-primary-only-one-p)
8247 (class-option-assoc, class-option, eieio-object-p)
8248 (class-abstract-p, class-method-invocation-order)
8249 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8250 (eieio-class-un-autoload, eieio-defclass)
8251 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8252 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8253 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8254 (eieio-defgeneric-reset-generic-form)
8255 (eieio-defgeneric-form-primary-only)
8256 (eieio-defgeneric-reset-generic-form-primary-only)
8257 (eieio-defgeneric-form-primary-only-one)
8258 (eieio-defgeneric-reset-generic-form-primary-only-one)
8259 (eieio-unbind-method-implementations)
8260 (eieio--defmethod, eieio--typep)
8261 (eieio-perform-slot-validation, eieio-validate-slot-value)
8262 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8263 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8264 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8265 (eieio-slot-name-index, eieio-class-slot-name-index)
8266 (eieio-set-defaults, eieio-initarg-to-attribute)
8267 (eieio-attribute-to-initarg, eieio-c3-candidate)
8268 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8269 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8270 (eieio-class-precedence-list, eieio-generic-call-methodname)
8271 (eieio-generic-call-arglst, eieio-generic-call-key)
8272 (eieio-generic-call-next-method-list)
8273 (eieio-pre-method-execution-functions, eieio-generic-call)
8274 (eieio-generic-call-primary-only, eieiomt-method-list)
8275 (eieiomt-optimizing-obarray, eieiomt-install)
8276 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8277 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 8278 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
8279 (defclass): Remove `eval-and-compile' from macro.
8280 (call-next-method, shared-initialize): Instead of using
8281 `scoped-class' variable, use new eieio--scoped-class, and
8282 eieio--with-scoped-class.
8283 (initialize-instance): Rename local variable 'scoped-class' to
8284 'this-class' to remove ambiguitity from old global.
8285
8286 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8287 eieio.el.
4f405069
JB
8288 (eieio--scoped-class-stack): New variable.
8289 (eieio--scoped-class): New fcn.
890f7890
DE
8290 (eieio--with-scoped-class): New scoping macro.
8291 (eieio-defclass): Use pushnew instead of add-to-list.
8292 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8293 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8294 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8295 `scoped-class' variable, use new eieio--scoped-class, and
8296 eieio--with-scoped-class.
8297
8298 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8299
d105b0e2
TH
83002013-06-02 Tassilo Horn <tsdh@gnu.org>
8301
8302 * eshell/esh-ext.el (eshell-external-command): Pass args to
8303 `eshell-find-interpreter'.
8304 (eshell-find-interpreter): Add new second parameter ARGS.
8305
8306 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 8307 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8308
8309 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 8310 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8311
8312 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8313 (eshell-visual-options): New defcustom.
8314 (eshell-escape-control-x): Adapt docstring.
8315 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8316 `eshell-visual-options' in addition to `eshell-visual-commands'.
8317 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8318
f46305c8 83192013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
8320
8321 * progmodes/python.el (python-indent-block-enders): Add break,
8322 continue and raise keywords.
8323
d870df21
GM
83242013-06-01 Glenn Morris <rgm@gnu.org>
8325
9133b82e
GM
8326 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8327
02c992ec 8328 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
8329 * progmodes/cc-cmds.el (delete-forward-p):
8330 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8331 * progmodes/cc-engine.el (buffer-syntactic-context):
8332 * progmodes/cc-fonts.el (face-property-instance):
8333 * progmodes/cc-mode.el (set-keymap-parents):
8334 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8335 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8336 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
8337 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8338 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 8339
31e7b090
GM
8340 * progmodes/cc-vars.el (other): Emacs has this widget since
8341 at least 21.1, so don't (re)define it.
8342
d870df21
GM
8343 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8344 Replace the obsolete alias pcomplete-arg-quote-list.
8345
c75c93c7
LL
83462013-06-01 Leo Liu <sdl.web@gmail.com>
8347
8348 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8349 punctuation syntax.
8350 (inferior-octave-minimal-columns)
8351 (inferior-octave-last-column-width): New variables.
8352 (inferior-octave-track-window-width-change): New function.
8353 (inferior-octave-mode): Adjust column width so that Octave output,
8354 for example from 'ls', can fit into the window nicely.
8355
973d1e12
DG
83562013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8357
8358 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8359 Highlight expansions inside regexp literals.
8360
0888c286
GM
83612013-05-31 Glenn Morris <rgm@gnu.org>
8362
e26aac1f
GM
8363 * obsolete/sym-comp.el (symbol-complete):
8364 Replace obsolete completion-annotate-function.
8365
0888c286
GM
8366 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8367
19bb8e62
DG
83682013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8369
781b4af6
SM
8370 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8371 New function, checks if point is inside a literal that allows
19bb8e62
DG
8372 expression expansion.
8373 (ruby-syntax-propertize-expansion): Use it.
8374 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8375 around the body.
8376
01dea85f
JL
83772013-05-30 Juri Linkov <juri@jurta.org>
8378
8379 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8380 to "\M-si".
8381 (isearch-invisible): New variable.
8382 (isearch-forward): Doc fix.
8383 (isearch-mode): Set `isearch-invisible'
8384 to the value of `search-invisible'.
8385 (isearch-toggle-case-fold): Doc fix.
8386 (isearch-toggle-invisible): New command.
8387 (isearch-query-replace): Let-bind `search-invisible'
8388 to the value of `isearch-invisible'.
8389 (isearch-search): Use `isearch-invisible' instead of
8390 `search-invisible'. Let-bind `search-invisible'
8391 to the value of `isearch-invisible'. (Bug#11378)
8392
ab1bdce5
JL
83932013-05-30 Juri Linkov <juri@jurta.org>
8394
8395 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8396 call when `query-flag' is nil and `search-invisible' is non-nil.
8397 (Bug#11746)
8398
d6d236e2
GM
83992013-05-30 Glenn Morris <rgm@gnu.org>
8400
8accd027
GM
8401 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8402
2a8bed1c
GM
8403 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8404 (cc-require): Suppress spurious "noruntime" warnings.
8405 (cc-require-when-compile): Use fboundp, for sake of compiler.
8406
d6d236e2
GM
8407 * progmodes/cc-mode.el: Move load of cc-vars before that of
8408 cc-langs (which in turn loads cc-vars), to quieten compiler.
8409
9190b35b
SM
84102013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8411
8412 * paren.el: Simplify the code.
8413 (show-paren-mode): Always start the timer.
8414 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8415 (show-paren--overlay, show-paren--overlay-1): Rename from
8416 show-paren-overlay and show-paren-overlay-1, and initialize to an
8417 overlay rather than to nil.
8418 (show-paren-function): Misc cleanup and simplifications.
8419
4f8d1cf6
SM
84202013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8421
8422 * paren.el (show-paren-data-function): New hook.
8423 (show-paren--default): New function, extracted from show-paren-function.
8424 (show-paren-function): Use show-paren-data-function.
8425
02d844b5
GM
84262013-05-30 Glenn Morris <rgm@gnu.org>
8427
d209d4a9
GM
8428 * ielm.el (ielm-map, ielm-complete-symbol):
8429 Use completion-at-point rather than obsolete functions.
8430 (inferior-emacs-lisp-mode): Doc fix.
8431 Set completion-at-point-functions, rather than
8432 comint-dynamic-complete-functions.
8433
2082faa6
GM
8434 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8435 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8436 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8437
dd8620de
GM
8438 * image.el (image-animated-p): Tweak definition.
8439
ceca95b1
GM
8440 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8441 (rlogin-process-connection-type): Tweak default. Add set-after.
8442 (rlogin-host): Doc fix.
8443 (rlogin): Tweak prompt.
8444 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8445
ee9f1acc
GM
8446 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8447 * progmodes/tcl.el (inferior-tcl-mode-map):
8448 Use completion-at-point rather than obsolete alias.
8449
45ce222e
GM
8450 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8451
02d844b5
GM
8452 * minibuffer.el (read-file-name-completion-ignore-case):
8453 Move before completion--in-region, for eager macro expansion.
8454
ac44d6c1
JL
84552013-05-29 Juri Linkov <juri@jurta.org>
8456
8457 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8458 for total count of matching lines. Add `global-matches' for total
8459 count of matches. Rename `matches' to `lines' for count of
8460 matching lines. Add `matches' for count of matches.
8461 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8462 to `prev-line' for line number of prev match endpt.
8463 Increment `matches' for every match. Print the number of
8464 matching lines in the header.
8465 (occur-context-lines): Rename `lines' to `curr-line'.
8466 Rename `prev-lines' to `prev-line'. (Bug#14017)
8467
3c9c9d38
JL
84682013-05-29 Juri Linkov <juri@jurta.org>
8469
8470 * replace.el (perform-replace): Add `skip-read-only-count',
8471 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8472 Increment them for corresponding conditions and report the number
8473 of skipped occurrences in the final message. (Bug#11746)
8474 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8475 (replace-string, replace-regexp): Doc fix.
8476
33e249a2
SM
84772013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8478
8e399682
SM
8479 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8480
33e249a2 8481 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 8482 prog-mode-map (bug#14504).
33e249a2 8483
f236dd84
LL
84842013-05-29 Leo Liu <sdl.web@gmail.com>
8485
8486 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8487 (octave-help): Small simplification.
8488
8489 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8490 off the highlight first.
8491
3694d13f
GM
84922013-05-29 Glenn Morris <rgm@gnu.org>
8493
03983bdc
GM
8494 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8495 Handle idlwave-last-system-routine-info-cons-cell being nil.
8496
bc74a74a
GM
8497 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8498 (idlwave-write-paths): Simplify via with-temp-buffer.
8499
8b394200
GM
8500 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8501 * emulation/cua-rect.el: Also load cua-base at run time.
8502
3694d13f
GM
8503 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8504 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8505 (cperl-imenu-on-info): Require imenu.
8506
336d7284
AM
85072013-05-28 Alan Mackenzie <acm@muc.de>
8508
8509 Handle "capitalised keywords" correctly.
33e249a2 8510 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 8511
cb29c582
AG
85122013-05-28 Aidan Gauland <aidalgol@amuri.net>
8513
781b4af6 8514 * eshell/em-unix.el: Add -r option to cp.
cb29c582 8515
690e44b2
GM
85162013-05-28 Glenn Morris <rgm@gnu.org>
8517
e658d75c
GM
8518 * vc/vc-arch.el (vc-exec-after): Declare.
8519 (vc-switches): Autoload.
8520 * vc/vc-bzr.el: No need to require vc when compiling.
8521 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8522 (vc-resynch-buffer, vc-dir-refresh): Declare.
8523 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
8524 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8525 (vc-resynch-buffer): Declare.
8526 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 8527 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
8528 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8529 (grep-read-regexp, grep-read-files, grep-expand-template)
8530 (vc-dir-refresh): Declare.
8531 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8532 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8533 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
8534 * vc/vc-mtn.el (vc-exec-after): Declare.
8535 (vc-switches): Autoload.
8536 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8537 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8538 (vc-file-tree-walk): Declare.
712b9732
GM
8539 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8540 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8541 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
8542 * vc/vc-svn.el (vc-exec-after): Declare.
8543 (vc-switches, vc-setup-buffer): Autoload.
8544 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8545 Autoload.
8546 (vc-resynch-buffer): Declare.
8547
98e87fb3
GM
8548 * obsolete/fast-lock.el (byte-compile-warnings):
8549 Don't warn about obsolete features in this obsolete file.
8550
f5379553
GM
8551 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8552 Move definition before use.
8553
7a20ef83
GM
8554 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8555 (dun-unix-verbs): Remove dun-zippy.
8556 (dun-zippy): Remove function.
8557
690e44b2
GM
8558 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8559
3a52ccf7
JL
85602013-05-27 Juri Linkov <juri@jurta.org>
8561
8562 * replace.el (replace-search): New function with code moved out
8563 from `perform-replace'.
8564 (replace-highlight, replace-dehighlight): Move function definitions
8565 up closer to `replace-search'. (Bug#11746)
8566
d289938a
JL
85672013-05-27 Juri Linkov <juri@jurta.org>
8568
8569 * replace.el (perform-replace): Ignore invisible matches.
8570 In addition to checking `query-replace-skip-read-only', also
8571 filter out matches by calling `run-hook-with-args-until-failure'
8572 on `isearch-filter-predicates', and also check `search-invisible'
8573 for t or call `isearch-range-invisible'.
8574 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8575
66fc57e3
JL
85762013-05-27 Juri Linkov <juri@jurta.org>
8577
8578 * isearch.el (isearch-filter-predicates): Rename from
8579 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8580 (isearch-message-prefix): Display text from the property
8581 `isearch-message-prefix' of the currently active filters.
8582 (isearch-search): Don't compare `isearch-filter-predicate' with
8583 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8584 on `isearch-filter-predicates'. Also check `search-invisible' for t
8585 or call `isearch-range-invisible'.
8586 (isearch-filter-visible): Make obsolete.
8587 (isearch-lazy-highlight-search):
8588 Call `run-hook-with-args-until-failure' on
8589 `isearch-filter-predicates' and use `isearch-range-invisible'.
8590
8591 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8592 `isearch-filter-predicates' instead of `funcall'ing
8593 `isearch-filter-predicate'.
8594 (Info-mode): Set `Info-isearch-filter' to
8595 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8596
8597 * dired-aux.el (dired-isearch-filter-predicate-orig):
8598 Remove variable.
8599 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8600 (dired-isearch-filenames-end): Add and remove
8601 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8602 instead of changing the value of `isearch-filter-predicate'.
8603 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8604 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8605 Put property `isearch-message-prefix' to "filename " on
8606 `dired-isearch-filter-filenames'.
8607
8608 * wdired.el (wdired-change-to-wdired-mode):
8609 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8610 locally instead of changing `isearch-filter-predicate'.
8611 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8612
f1a60a0f
DG
86132013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8614
8615 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8616 return the commit hash (Bug#14459). Also set the
8617 `vc-git-detached' property.
8618 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8619 (vc-git-mode-line-string): Use the same help-echo format whether
8620 in detached mode or not, because we know the actual revision now.
8621 When in detached mode, shorten the revision to 7 chars.
8622
7f17cc40
SM
86232013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8624
8625 * emacs-lisp/easy-mmode.el (define-minor-mode):
8626 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8627 mode hook and provide a docstring.
8628
25c8401c
AM
86292013-05-27 Alan Mackenzie <acm@muc.de>
8630
8631 Remove spurious syntax-table text properties inserted by C-y.
8632 * progmodes/cc-mode.el (c-after-change): Also clear hard
8633 syntax-table property with value nil.
8634
dde84790
MA
86352013-05-27 Michael Albinus <michael.albinus@gmx.de>
8636
8637 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8638 when reading the events; the buffer layout shall not be changed.
8639
837fd9af
LL
86402013-05-27 Leo Liu <sdl.web@gmail.com>
8641
8642 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8643 New variable.
8644 (inferior-octave-directory-tracker): Automatically re-sync
8645 default-directory.
8646 (octave-help): Improve handling of 'See also'.
8647
4fd996b3
SM
86482013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8649
416f1802
SM
8650 * doc-view.el: Minor naming convention tweaks.
8651 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8652
4fd996b3
SM
8653 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8654 even if there's no `display' property yet (bug#14435).
8655
a052ef3b
EZ
86562013-05-25 Eli Zaretskii <eliz@gnu.org>
8657
4fd996b3 8658 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
8659
8660 * Makefile.in (custom-deps, finder-data, autoloads)
8661 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8662 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8663 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8664
c9023370
SM
86652013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8666
8667 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8668 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 8669 Don't burp at EOB.
c9023370 8670
24d699fa
LL
86712013-05-25 Leo Liu <sdl.web@gmail.com>
8672
8673 * comint.el (comint-previous-matching-input): Do not flood the
8674 *Messages* buffer with trivial messages.
8675
17e5c0cc
SM
86762013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8677
8678 * progmodes/flymake.el (flymake-nop): Don't return a string.
8679 (flymake-set-at): Fix typo.
8680
8681 * simple.el (read--expression): New function, extracted from
8682 eval-expression. Set completion-at-point-functions (bug#14465).
8683 (eval-expression, eval-minibuffer): Use it.
8684
5d028165
XF
86852013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8686
8687 * progmodes/flymake.el (flymake-save-buffer-in-file)
8688 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8689 (flymake-selected-frame, flymake-log, flymake-ins-after)
8690 (flymake-set-at, flymake-get-buildfile-from-cache)
8691 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8692 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8693 Refine the doc string.
8694 (flymake-get-file-name-mode-and-masks): Reformat.
8695 (flymake-get-real-file-name-function): Fix a minor bug.
8696
7a1d7ba7
JL
86972013-05-24 Juri Linkov <juri@jurta.org>
8698
8699 * progmodes/grep.el (grep-mode-font-lock-keywords):
8700 Support =linenumber= format used by git-grep for lines with
8701 function names. (Bug#13549)
8702
650cff3d
SM
87032013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8704
8705 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8706 0 after a semi-colon; it works better for smie-auto-fill.
8707 (octave--indent-new-comment-line): New function.
8708 (octave-indent-new-comment-line): Use it (indirectly).
8709 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8710 modify comment-line-break-function.
8711
8712 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8713 (smie-setup): Use add-function to set it.
8714
9631677d
SS
87152013-05-24 Sam Steingold <sds@gnu.org>
8716
8717 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8718 argument (before the `interactive' argument).
8719
50105835
SM
87202013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8721
8722 * image-mode.el (image-mode-winprops): Add winprops to
8723 image-mode-winprops-alist before running
8724 image-mode-new-window-functions.
8725 * doc-view.el (doc-view-new-window-function): Don't delay
8726 doc-view-goto-page via timers (bug#14435).
8727
57b9823e
TH
87282013-05-24 Tassilo Horn <tsdh@gnu.org>
8729
8730 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8731 (doc-view-desktop-save-buffer): New function.
8732 (doc-view-restore-desktop-buffer): New function.
50105835
SM
8733 (desktop-buffer-mode-handlers):
8734 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
8735 handler.
8736 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8737 `desktop-save-buffer' function.
8738
91aafa16
MA
87392013-05-24 Michael Albinus <michael.albinus@gmx.de>
8740
8741 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8742 (tramp-gvfs-file-name-handler): Raise a user error when
8743 `tramp-gvfs-enabled' is nil.
8744 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8745 Do not raise a user error when loading package. (Bug#14447)
8746
ec076379
MA
8747 * net/xesam.el: Move to obsolete/.
8748
db785726
GM
87492013-05-24 Glenn Morris <rgm@gnu.org>
8750
af5c7606
GM
8751 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8752
e5d1916a
GM
8753 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8754
ded62b08
GM
8755 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8756 (Info-find-node, Man-getpage-in-background): Declare.
8757
9e614a3f
GM
8758 * mail/unrmail.el (unrmail):
8759 Replace obsolete detect-coding-with-priority.
8760
892f8ca3
GM
8761 * net/socks.el (socks-split-string): Use this rather than split-string.
8762 (socks-nslookup-host): Update for above change.
8763 (dynamic-choice, s5-dynamic-choice-match)
8764 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8765 Comment out unused code.
8766
3c291973
GM
8767 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8768 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8769 (gud-tooltip-echo-area): Make obsolete.
8770 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8771
43cc956b
GM
8772 * progmodes/js.el (js--optimize-arglist): Declare.
8773
dab49a3b
GM
8774 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8775
36b9d085
GM
8776 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8777 (ediff-window-C): Declare.
8778
e354ae76
GM
8779 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8780 Tweak requires to silence compiler.
8781
b8e57bf4
GM
8782 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8783 (he-search-string, he-tried-table, he-expand-list)
8784 (he-init-string, he-string-member, he-substitute-string)
8785 (he-reset-string): Declare.
8786
db785726
GM
8787 * obsolete/options.el (list-options): Use custom-variable-p,
8788 rather than obsolete alias.
8789
b3531901
SS
87902013-05-23 Sam Steingold <sds@gnu.org>
8791
8792 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 8793 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
8794 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8795
bdda4c66
SM
87962013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8797
8798 * emacs-lisp/smie.el (smie-indent-forward-token)
8799 (smie-indent-backward-token): Handle string tokens (bug#14381).
8800
c43d45f9
TH
88012013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8802
fe1eb856
RS
8803 * ielm.el (ielm-menu): New menu.
8804 (inferior-emacs-lisp-mode): Set comment-start.
96172128 8805
fe1eb856
RS
88062013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8807
8808 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8809 Fix deactivate action.
8810
8811 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8812 Add cleveref macros.
074dd971 8813
c43d45f9
TH
8814 * lisp/textmodes/reftex-parse.el
8815 (reftex-locate-bibliography-files): Accept options for
8816 bibliography commands.
8817 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8818 Add addbibresource. Basic Biblatex support.
8819
7764286e
MA
88202013-05-23 Michael Albinus <michael.albinus@gmx.de>
8821
8822 * net/tramp-gvfs.el (top):
8823 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8824 when loading package. (Bug#14447)
8825
d361bc10
GM
88262013-05-23 Glenn Morris <rgm@gnu.org>
8827
8fa23984
GM
8828 * progmodes/js.el: No need to load comint when compiling.
8829 (ring-insert, comint-send-string, comint-send-input)
8830 (comint-last-input-end, ido-chop): Declare.
8831
a5c7df1a
GM
8832 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8833 * vc/ediff-mult.el: Adjust requires.
8834 (ediff-directories-internal, ediff-directory-revisions-internal)
8835 (ediff-patch-file-internal): Declare.
8836 * vc/ediff-ptch.el: Adjust requires.
8837 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8838 (ediff-find-file): Autoload.
8839 * vc/ediff-util.el: No need to load ediff when compiling.
8840 (ediff-regions-internal): Declare.
8841 * vc/ediff-wind.el: Adjust requires.
8842 (ediff-compute-toolbar-width): Define when compiling.
8843 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8844 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8845 (dired-get-filename, dired-get-marked-files)
8846 (ediff-last-dir-patch, ediff-patch-default-directory)
8847 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8848 (ediff-patch-buffer-internal): Declare.
8849
e2aec513
GM
8850 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8851 (ispell-process, ispell-buffer-local-words, lm-summary)
8852 (lm-section-start, lm-section-end): Declare.
8853 (checkdoc-ispell-init): Simplify.
8854
e68bbd7c
GM
8855 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8856 (he-string-member, he-reset-string, he-substitute-string): Declare.
8857
7efe0991
GM
8858 * eshell/em-ls.el: Adjust requires.
8859 (eshell-glob-regexp): Declare.
f87b1284
GM
8860 * eshell/em-tramp.el: Adjust requires.
8861 (eshell-parse-command): Autoload.
8862 * eshell/em-xtra.el: Adjust requires.
8863 (eshell-parse-command): Autoload.
8864 * eshell/esh-ext.el: Adjust requires.
8865 (eshell-parse-command, eshell-close-handles): Autoload.
8866 * eshell/esh-io.el: Adjust requires.
8867 (eshell-output-filter): Autoload.
8868 * eshell/esh-util.el: No need to load tramp when compiling.
8869 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8870 Declare.
8871 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8872 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8873 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8874 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8875 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8876 * eshell/esh-opt.el, eshell/esh-proc.el:
8877 * eshell/esh-var.el: Adjust requires.
8878 * eshell/eshell.el: Do not require esh-util twice.
8879 (eshell-add-input-to-history): Declare.
8880 (eshell-command): Check history module is active before using it.
8881
d361bc10
GM
8882 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8883
85d090a9
LL
88842013-05-22 Leo Liu <sdl.web@gmail.com>
8885
8886 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8887
5d0acd9d
MA
88882013-05-22 Michael Albinus <michael.albinus@gmx.de>
8889
8890 * autorevert.el (auto-revert-notify-add-watch)
8891 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8892 it indicates changes in file modification time.
8893
0cdffd7d
GM
88942013-05-22 Glenn Morris <rgm@gnu.org>
8895
ca5995ec
GM
8896 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8897 Always delete the autoloaded function from the noruntime and
8898 unresolved functions lists.
8899
6450907e
GM
8900 * allout.el: No need to load epa, epg, overlay when compiling.
8901 (epg-context-set-passphrase-callback, epg-list-keys)
8902 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8903 (epg-key-user-id-list): Declare.
8904
9c6906f6
GM
8905 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8906 (viper-set-parsing-style-toggling-macro)
8907 (viper-set-emacs-state-searchstyle-macros):
8908 Use called-interactively-p on Emacs.
8909 (viper-looking-back): Make it an obsolete alias. Update callers.
8910 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8911 Use looking-back rather than viper-looking-back.
8912 (viper-tmp-insert-at-eob, viper-enlarge-region)
8913 (viper-read-string-with-history, viper-register-to-point)
8914 (viper-append-to-register, viper-change-state-to-vi)
8915 (viper-backward-char-carefully, viper-forward-char-carefully)
8916 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8917 (viper-change-state-to-emacs): Declare.
8918 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8919 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8920 * emulation/viper-mous.el: Do not load viper-cmd.
8921 (viper-backward-char-carefully, viper-forward-char-carefully)
8922 (viper-forward-word, viper-adjust-window): Declare.
8923
5f70c169
GM
8924 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8925
b1b7f300
GM
8926 * progmodes/idlw-help.el (idlwave-help-fontify):
8927 Use called-interactively-p.
8928
f6ebbb46
GM
8929 * term/w32console.el (w32-get-console-codepage)
8930 (w32-get-console-output-codepage): Declare.
8931
0cdffd7d
GM
8932 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8933 Remove unnecessary declarations.
8934 (dframe-message): Doc fix.
8935
8936 * info.el (dframe-select-attached-frame, dframe-current-frame):
8937 Declare.
8938
8939 * speedbar.el (speedbar-message): Make it an obsolete alias.
8940 Update all callers.
8941 (speedbar-with-attached-buffer)
8942 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8943 (speedbar-with-writable): Use backquote.
8944 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8945 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8946 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8947 rather than speedbar- aliases.
8948 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8949 (speedbar-make-specialized-keymap, speedbar-insert-button)
8950 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8951 (speedbar-do-function-pointer): Declare.
8952 (rmail-speedbar-button, rmail-speedbar-find-file)
8953 (rmail-speedbar-move-message):
8954 Use dframe-with-attached-buffer rather than speedbar- alias.
8955 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8956 (dframe-message, speedbar-make-specialized-keymap)
8957 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8958 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8959 (speedbar-insert-button, dframe-select-attached-frame)
8960 (dframe-maybee-jump-to-attached-frame)
8961 (speedbar-change-initial-expansion-list)
8962 (speedbar-previously-used-expansion-list-name): Declare.
8963 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8964 Use dframe-message, dframe-with-attached-buffer rather than
8965 speedbar- aliases.
8966 (gud-sentinel): Silence compiler.
8967 * progmodes/vhdl-mode.el (speedbar-refresh)
8968 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8969 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8970 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8971 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8972 (speedbar-file-lists, speedbar-make-tag-line)
8973 (speedbar-line-directory, speedbar-goto-this-file)
8974 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8975 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8976 (speedbar-make-button, speedbar-reset-scanners)
8977 (speedbar-files-item-info, speedbar-line-text)
8978 (speedbar-find-file-in-frame, speedbar-set-timer)
8979 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8980 (speedbar-with-writable): Do not (re)define it.
8981 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8982 rather than speedbar- alias.
8983
ee44b62a
LL
89842013-05-21 Leo Liu <sdl.web@gmail.com>
8985
8986 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8987 menu items.
8988 (octave-mode): Tweak fill-nobreak-predicate.
8989 (inferior-octave-startup): Check process to avoid infinite loop.
8990 (inferior-octave): Pop to buffer first to show abornmal process
8991 exit information.
8992
640f050f
GM
89932013-05-21 Glenn Morris <rgm@gnu.org>
8994
79458038
GM
8995 * printing.el (pr-menu-bar): Define when compiling.
8996
9cc3e83f
LL
89972013-05-21 Leo Liu <sdl.web@gmail.com>
8998
8999 * progmodes/octave.el (octave-auto-fill): Remove.
9000 (octave-indent-new-comment-line): Improve.
9001 (octave-mode): Use auto fill mode through
4f405069 9002 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 9003 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 9004 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
9005 (octave-help): Show parent directory.
9006
f440830d
GM
90072013-05-21 Glenn Morris <rgm@gnu.org>
9008
9009 * files.el (dired-unmark):
9010 * progmodes/gud.el (gdb-input): Update declarations.
9011
9012 * calculator.el (electric, ehelp): No need to load when compiling.
9013 (Electric-command-loop, electric-describe-mode): Declare.
9014
9015 * doc-view.el (doc-view-current-converter-processes): Move before use.
9016
9017 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9018 Move MODE-set-explicitly definition before use.
9019
9020 * international/mule-diag.el (mule-diag):
9021 Don't use obsolete window-system-version.
9022
9023 * mail/feedmail.el (smtpmail): No need to load when compiling.
9024 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9025
9026 * mail/mail-utils.el (rfc822): No need to load when compiling.
9027 (rfc822-addresses): Autoload it.
9028 (mail-strip-quoted-names): Trivial simplification.
9029
9030 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9031 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9032
9033 * net/snmp-mode.el (tempo): Don't duplicate requires.
9034
9035 * progmodes/prolog.el (info): No need to load when compiling.
9036 (comint): Require before shell requires it.
9037 (Info-goto-node): Autoload it.
9038 (Info-follow-nearest-node): Declare.
9039 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9040
9041 * textmodes/artist.el (picture-mode-exit): Declare.
9042
9043 * textmodes/reftex-parse.el (reftex-parse-from-file):
9044 Trivial rewrite so the compiler can parse it better.
9045
b4da2cbb
LL
90462013-05-20 Leo Liu <sdl.web@gmail.com>
9047
9048 * progmodes/octave.el (octave-help-mode-map)
9049 (octave-help-mode-finish-hook): New variables.
9050 (octave-help-mode, octave-help-mode-finish): New functions.
9051 (octave-help): Use octave-help-mode.
9052
33c0f65b
GM
90532013-05-20 Glenn Morris <rgm@gnu.org>
9054
9055 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9056
1a0a0a8a
DG
90572013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9058
9059 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9060 start at point, so that expansion starting right after opening
9061 slash in a regexp is recognized.
9062 (ruby-syntax-before-regexp-re): New defvar, extracted from
9063 ruby-syntax-propertize-function. Since the value of this regexp
9064 is looked up at runtime now, we should be able to turn
9065 `ruby-syntax-methods-before-regexp' into a defcustom later.
9066 (ruby-syntax-propertize-function): Split regexp matching into two
9067 parts, for opening and closing slashes. That allows us to skip
9068 over string interpolations and support multiline regexps.
9069 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9070 for them, which calls `ruby-syntax-propertize-expansion'.
9071 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9072 call to `ruby-syntax-propertize-function'.
9073 (ruby-syntax-propertize-expansion): Extracted from
9074 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
9075 (ruby-syntax-propertize-percent-literal): Leave point right after
9076 the percent symbol, so that the expression expansion rule can
9077 propertize the contents.
462388b6
DG
9078 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9079 heredoc openers.
9080 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 9081
c1a6c0a4
JL
90822013-05-18 Juri Linkov <juri@jurta.org>
9083
9084 * man.el (Man-default-man-entry): Remove `-' from the end
9085 of the default value. (Bug#14400)
9086
8051fccd
GM
90872013-05-18 Glenn Morris <rgm@gnu.org>
9088
9089 * comint.el (comint-password-prompt-regexp):
9090 Allow "password for XXX" where XXX contains colons (eg https://...).
9091
5e80b74f
LL
90922013-05-18 Leo Liu <sdl.web@gmail.com>
9093
9094 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 9095 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
9096 (octave-source-directories): Don't check process.
9097 (octave-source-directories, octave-find-definition): Doc fix.
9098
521a54c5
GM
90992013-05-18 Glenn Morris <rgm@gnu.org>
9100
86a94b05
GM
9101 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9102 Remove backspace/delete bindings. (Bug#14392)
9103
521a54c5
GM
9104 * cus-dep.el (custom-make-dependencies): Sort the output.
9105 (custom-versions-load-alist): Convert comment to doc.
9106
42caeb89
LL
91072013-05-17 Leo Liu <sdl.web@gmail.com>
9108
9109 * newcomment.el (comment-search-backward): Stricter in finding
9110 comment start. (Bug#14303)
9111
9112 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9113 (octave-comment-start-skip): Properly anchored.
9114
e219dd97
LL
91152013-05-17 Leo Liu <sdl.web@gmail.com>
9116
fe1eb856
RS
9117 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9118 Clean up when turned off. (Bug#14395)
e219dd97
LL
9119 (smie--highlight-matching-block-overlay): No longer buffer-local.
9120 (smie-highlight-matching-block): Adjust.
9121
dc5dcb4b
PE
91222013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9123
9124 Doc string fix for "nanoseconds" (Bug#14406).
9125 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9126 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9127
1db165f0
JB
91282013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9129
9130 * calc/calc-units.el (math-extract-units): Preserve powers
9131 of units.
9132
c7a8fcac
LL
91332013-05-17 Leo Liu <sdl.web@gmail.com>
9134
9135 * subr.el (delete-consecutive-dups): New function.
9136 * ido.el (ido-set-matches-1): Use it.
9137 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9138 * ido.el (ido-remove-consecutive-dups): Remove.
9139
f678b18a
SM
91402013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9141
9142 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9143 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9144 regexp-opt's `words'.
9145
ebfe68e8
LL
91462013-05-16 Leo Liu <sdl.web@gmail.com>
9147
9148 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9149 (smie--highlight-matching-block-overlay)
9150 (smie--highlight-matching-block-lastpos)
9151 (smie--highlight-matching-block-timer): New variables.
9152 (smie-highlight-matching-block): New function.
9153 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9154 (smie-setup): Conditionally enable smie-blink-matching-open.
9155
bc8bc17d
WS
91562013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9157
9158 Sync with upstream verilog-mode r840.
9159 * progmodes/verilog-mode.el (verilog-mode-version)
9160 (verilog-mode-release-date): Update.
9161 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9162 (verilog-sig-tieoff): Fix string error on
9163 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9164 (verilog-read-decls): Fix parameters confusing
9165 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9166
df065a0b
EZ
91672013-05-16 Eli Zaretskii <eliz@gnu.org>
9168
9169 * subr.el (reveal-filename): New function.
9170
9171 * loadup.el: Compute Emacs executable versions on MS-Windows,
9172 where executables have the .exe extension. Add a hard link
9173 emacs-XX.YY.ZZ.exe on MS-Windows.
9174
9175 * Makefile.in (XARGS_LIMIT): New variable.
9176 (custom-deps, finder-data, autoloads)
9177 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9178 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9179 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9180 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9181
2d4bf34b
LL
91822013-05-16 Leo Liu <sdl.web@gmail.com>
9183
9184 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9185 (octave-mode-menu, octave-mode-map): Remove its uses.
9186
6b9c2d85
RZ
91872013-05-16 Reto Zimmermann <reto@gnu.org>
9188
9189 Sync with upstream vhdl mode v3.34.2.
9190 * progmodes/vhdl-mode.el: Use `push' throughout.
9191 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9192 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9193 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9194 (vhdl-actual-generic-name): New option to derive actual generic name.
9195 (vhdl-port-paste-signals): Replace formal by actual generics.
9196 (vhdl-beautify): New name for old group vhdl-align. Update users.
9197 (vhdl-beautify-options): New option.
9198 (vhdl-last-input-event): New compat alias. Use throughout.
9199 (vhdl-goto-line): Replace user level function `goto-line'.
9200 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9201 vhdl-fix-statement-buffer.
9202 (vhdl-create-mode-menu): Add some entries.
9203 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9204 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9205 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9206 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9207 to force statements on one line.
9208 (vhdl-remove-trailing-spaces-region):
9209 New, split from vhdl-remove-trailing-spaces.
9210 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9211 Respect vhdl-beautify-options.
9212 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9213 (vhdl-update-sensitivity-list): Not add with index if exists without.
9214 Not include array index with signal. Ignore keywords in comments.
9215 (vhdl-get-visible-signals): Regexp tweaks.
9216 (vhdl-template-component-inst): Handle empty library.
9217 (vhdl-template-type): Add template for 'enum' type.
9218 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9219 Use vhdl-replace-string.
9220 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9221 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9222 (vhdl-speedbar-initialize): Update for above name change.
9223 (vhdl-compose-wire-components): Fix in handling of constants.
9224 (vhdl-error-regexp-emacs-alist): New variable.
9225 (vhdl-error-regexp-add-emacs): New function;
9226 adds support for new compile.el (Emacs 22+)
9227 (vhdl-generate-makefile-1): Change target order for single lib. units.
9228 Allow use of absolute file names.
9229
9df4ec5e
LL
92302013-05-16 Leo Liu <sdl.web@gmail.com>
9231
9232 * simple.el (prog-indent-sexp): Indent enclosing defun.
9233
f5ba00a6
GM
92342013-05-15 Glenn Morris <rgm@gnu.org>
9235
ed8be7ff
GM
9236 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9237 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9238 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9239 (whitespace-highlight): Move to whitespace group.
9240
9241 * comint.el (comint-source):
9242 * pcmpl-linux.el (pcmpl-linux):
9243 * shell.el (shell-faces):
9244 * eshell/esh-opt.el (eshell-opt):
9245 * international/ccl.el (ccl): Remove empty custom groups.
9246
9247 * completion.el (dynamic-completion-mode):
9248 * jit-lock.el (jit-lock-debug-mode):
9249 * minibuffer.el (completion-in-region-mode):
9250 * type-break.el (type-break-mode-line-message-mode)
9251 (type-break-query-mode):
9252 * emulation/tpu-edt.el (tpu-edt-mode):
9253 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9254 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9255 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9256
9257 * term/xterm.el (xterm): Change parent group to terminals.
9258
9259 * master.el (master): Remove empty custom group.
9260 (master-mode): Remove unused :group argument.
9261 * textmodes/refill.el (refill): Remove empty custom group.
9262 (refill-mode): Remove unused :group argument.
9263
9264 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9265
82a7c41b
GM
9266 * cus-dep.el: Provide a feature.
9267 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
9268 Don't mistakenly ignore files whose basenames match a basename
9269 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 9270 Add a fallback method for getting :group.
f5ba00a6 9271
6d65486d
JL
92722013-05-15 Juri Linkov <juri@jurta.org>
9273
da547b32
JL
9274 * isearch.el (isearch-char-by-name): Rename from
9275 `isearch-insert-char-by-name'. Doc fix.
9276 (isearch-forward): Mention `isearch-char-by-name' in
9277 the docstring. (Bug#13348)
9278
6d65486d
JL
9279 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9280 `exit-minibuffer' instead of
9281 `isearch-nonincremental-exit-minibuffer'.
9282 (isearch-edit-string): Remove mention of
9283 `isearch-nonincremental-exit-minibuffer' from docstring.
9284 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9285 (isearch-forward-exit-minibuffer)
9286 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9287
c9990474
SM
92882013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9289
6e911150
SM
9290 * loadup.el: Just use unversioned DOC.
9291
c9990474
SM
9292 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9293 literals as extending to EOB.
9294 (nxml-last-fontify-end): Remove unused variable.
9295 (nxml-after-change1): Use with-silent-modifications.
9296 (nxml-extend-after-change-region): Simplify.
9297 (nxml-extend-after-change-region1): Remove function.
9298 (nxml-after-change1): Don't adjust for dependent regions.
9299 (nxml-fontify-matcher): Simplify.
9300 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9301 (xmltok-add-dependent): Remove function.
9302 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9303 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9304 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9305 unclosed <[[, <?, comment, and other literals as extending to EOB.
9306 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9307 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9308 Remove functions.
9309 (rng-do-some-validation-1): Don't mark dependent regions.
9310 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9311 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9312 (nxml-clear-dependent-regions): Remove functions.
9313 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9314 (nxml-ensure-scan-up-to-date):
9315 Don't clear&mark dependent regions.
9316
e3772e98
LL
93172013-05-15 Leo Liu <sdl.web@gmail.com>
9318
c9990474
SM
9319 * progmodes/octave.el (octave-goto-function-definition):
9320 Improve and fix callers.
e3772e98 9321
5ac2eb34
SM
93222013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9323
c46c57b0
SM
9324 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9325 the setter (bug#14387).
9326
5ac2eb34
SM
9327 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9328 surrounding group (bug#14402).
9329
180ed218
JL
93302013-05-14 Juri Linkov <juri@jurta.org>
9331
9332 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9333 (Bug#14390)
9334
0ac0fecb
GM
93352013-05-14 Glenn Morris <rgm@gnu.org>
9336
9337 * progmodes/f90.el (f90-imenu-generic-expression):
9338 Fix typo in 2013-05-08 change. (Bug#14402)
9339
2e78e6a7
JPG
93402013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9341
5ac2eb34
SM
9342 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9343 Remove signals for which replies are never received.
2e78e6a7 9344
53267cca
JPG
93452013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9346
9347 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9348 (gdb-handler-alist, gdb-handler-number): Remove variables.
9349 (gdb-handler-list): New variable.
9350 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9351 (gdb-pending-handler-p, gdb-handle-reply)
9352 (gdb-remove-all-pending-triggers): New functions.
9353 (gdb-discard-unordered-replies): New defcustom.
9354 (gdb-handler): New defstruct.
9355 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9356 instead of gdb-pending-triggers. Update docstring.
9357 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9358 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9359 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9360 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9361 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9362 (gdb-frame-handler): Pending triggers are now automatically managed.
9363 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9364 Remove argument.
9365 (gdb-input): Automatically handles pending triggers. Update docstring.
9366 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9367 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9368 Update comments.
9369 (gdb-done-or-error): Now use gdb-handle-reply.
9370
d04ce803
JPG
93712013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9372
9373 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9374 gdb-debug-log.
9375
0114073a
GM
93762013-05-14 Glenn Morris <rgm@gnu.org>
9377
9378 * subr.el (user-emacs-directory-warning): New option.
9379 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9380
4d25fd7e
LL
93812013-05-14 Leo Liu <sdl.web@gmail.com>
9382
9383 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9384 during redisplay.
9385 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
9386 (octave-font-lock-texinfo-comment): Fix invalid search bound
9387 error: wrong side of point.
4d25fd7e 9388
27c8b6eb
GM
93892013-05-14 Glenn Morris <rgm@gnu.org>
9390
61aaeb01
GM
9391 * progmodes/flymake.el (flymake-xml-program): New option.
9392 (flymake-xml-init): Use it.
9393
5bf90bc5
GM
9394 * term/xterm.el: Provide a feature.
9395
9396 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 9397
f4c7dfd2
GM
93982013-05-13 Glenn Morris <rgm@gnu.org>
9399
9400 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9401 Add compat aliases as a hack workaround. (Bug#14384)
9402
2aeb3a1d
LL
94032013-05-13 Leo Liu <sdl.web@gmail.com>
9404
b0e069c2
LL
9405 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9406 ###, and %!.
f5a9432f
LL
9407 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9408 C-M-q.
b0e069c2
LL
9409 (octave-comment-start-skip): Include %!.
9410 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 9411
30ea8374
LL
94122013-05-12 Leo Liu <sdl.web@gmail.com>
9413
9414 * progmodes/octave.el (inferior-octave-startup): Store the value
9415 of __octave_srcdir__ for octave-source-directories.
9416 (inferior-octave-check-process): New function refactored out of
9417 inferior-octave-send-list-and-digest.
9418 (octave-source-directories)
9419 (octave-find-definition-filename-function): New variables.
9420 (octave-source-directories)
9421 (octave-find-definition-default-filename): New functions.
9422 (octave-find-definition): Improve to find functions implemented in C++.
9423
472a3834
GM
94242013-05-12 Glenn Morris <rgm@gnu.org>
9425
9426 * calendar/diary-lib.el (diary-outlook-format-1):
9427 Don't include dayname in the output. (Bug#14349)
9428
3191b52f
GM
94292013-05-11 Glenn Morris <rgm@gnu.org>
9430
0060ac73
GM
9431 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9432
3191b52f
GM
9433 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9434 Treat cc-provide like provide.
9435
e065ba74
KR
94362013-05-11 Kevin Ryde <user42@zip.com.au>
9437
9438 * cus-dep.el (custom-make-dependencies):
9439 Use generated-autoload-load-name for the sake of files such
9440 such cedet/semantic/bovine/c.el, where the base file name
9441 is not in load-path. (Bug#5277)
9442
36f84c37
GM
94432013-05-11 Glenn Morris <rgm@gnu.org>
9444
9445 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9446 Provide features.
9447
c8730c3a
LL
94482013-05-11 Leo Liu <sdl.web@gmail.com>
9449
9450 * progmodes/octave.el (octave-indent-comment): Improve.
9451 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
9452 (octave-eldoc-function-signatures, octave-eldoc-function):
9453 New functions.
c8730c3a
LL
9454 (octave-mode, inferior-octave-mode): Add eldoc support.
9455
212e29f2
RS
94562013-05-11 Richard Stallman <rms@gnu.org>
9457
9458 * epa.el (epa-decrypt-file): Take output file name as argument
9459 and read it using `interactive'.
9460
083fe0d7
LL
94612013-05-11 Leo Liu <sdl.web@gmail.com>
9462
9463 * progmodes/octave.el (octave-beginning-of-line)
9464 (octave-end-of-line): Check before using up-list because it jumps
9465 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
9466 (octave-indent-comment): New function.
9467 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
9468 (octave-begin-keywords, octave-end-keywords)
9469 (octave-reserved-words, octave-smie-bnf-table)
9470 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 9471
8582e4c4
GM
94722013-05-11 Glenn Morris <rgm@gnu.org>
9473
f20def1f
GM
9474 * faces.el (internal-face-x-get-resource):
9475 * frame.el (ns-display-monitor-attributes-list):
d78abe37 9476 * calc/calc-aent.el (math-to-radians-2):
f20def1f 9477 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 9478 Fix declarations.
f20def1f 9479
445f95e2
GM
9480 * calc/calc-menu.el: Make it loadable in isolation.
9481
9482 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9483 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9484 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9485 (eudc-bbdb-query-internal): Require 'bbdb.
9486
99fb2756
GM
9487 * lpr.el (lpr-headers-switches):
9488 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9489
9490 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9491
0da7ad96
GM
9492 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9493
8582e4c4
GM
9494 * term.el (term-set-escape-char): Make it idempotent.
9495
f71c50d0
LL
94962013-05-10 Leo Liu <sdl.web@gmail.com>
9497
5ac2eb34
SM
9498 * progmodes/octave.el (inferior-octave-completion-table):
9499 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
9500 completion due to bug#11906.
9501 (octave-beginning-of-defun): Re-write to be more general.
9502
d5837773
GM
95032013-05-10 Glenn Morris <rgm@gnu.org>
9504
9505 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9506
027c0f75
SM
95072013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9508
9509 * comint.el (comint-redirect-send-command-to-process): Use :around
9510 rather than :override for comint-redirect-filter.
9511 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9512 Call it instead of comint-redirect-original-filter-function (which
9513 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9514
4465bfb4
JD
95152013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9516
9517 * frame.el (display-monitor-attributes-list): Add NS case.
9518 (ns-display-monitor-attributes-list): Declare.
9519
2d809ffa 95202013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
9521
9522 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9523
e54eeb9b
GM
95242013-05-09 Glenn Morris <rgm@gnu.org>
9525
56cd351d
GM
9526 * international/fontset.el (vertical-centering-font-regexp):
9527 Set standard-value.
9528
d84b6108
GM
9529 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9530
a931698a
GM
9531 * bookmark.el (bookmark-search-delay):
9532 * cus-start.el (vertical-centering-font-regexp):
9533 * ps-mule.el (ps-mule-font-info-database-default):
9534 * ps-print.el (ps-default-fg, ps-default-bg):
9535 * type-break.el (type-break-good-break-interval):
9536 * whitespace.el (whitespace-indentation-regexp)
9537 (whitespace-space-after-tab-regexp):
9538 * emacs-lisp/testcover.el (testcover-1value-functions)
9539 (testcover-noreturn-functions, testcover-progn-functions)
9540 (testcover-prog1-functions):
9541 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9542 * eshell/em-glob.el (eshell-glob-translate-alist):
9543 * play/tetris.el (tetris-tty-colors):
9544 * progmodes/cpp.el (cpp-face-default-list):
9545 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9546 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9547 (idlwave-help-browser-generic-args):
9548 * progmodes/make-mode.el (makefile-special-targets-list):
9549 * progmodes/python.el (python-shell-virtualenv-path):
9550 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9551 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9552 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9553 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9554 * textmodes/reftex-vars.el (reftex-format-label-function):
9555 * textmodes/remember.el (remember-diary-file): Fix custom types.
9556
e54eeb9b
GM
9557 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9558 Add :version.
9559
455851dd
LL
95602013-05-09 Leo Liu <sdl.web@gmail.com>
9561
9562 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 9563 Restore file completion. (Bug#14300)
455851dd
LL
9564 (inferior-octave-startup): Fix incorrect highlighting for the
9565 first prompt.
9566
a9e4425b
SM
95672013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9568
9569 * progmodes/ruby-mode.el: First cut at SMIE support.
9570 (ruby-use-smie): New var.
9571 (ruby-smie-grammar): New constant.
9572 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9573 (ruby-smie--forward-token, ruby-smie--backward-token)
9574 (ruby-smie-rules): New functions.
9575 (ruby-mode-variables): Setup SMIE if applicable.
9576
060ca408
EZ
95772013-05-08 Eli Zaretskii <eliz@gnu.org>
9578
9579 * simple.el (line-move-visual): Signal beginning/end of buffer
9580 only if vertical-motion moved less than it was requested. Avoids
9581 silly incorrect error messages when there are display strings with
9582 multiple newlines at EOL.
9583
1d5963cc
SM
95842013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9585
9586 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9587 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9588 (prolog-char-quote-workaround):
9589 * progmodes/cperl-mode.el (cperl-under-as-char):
9590 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
9591 Mark as obsolete.
9592 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
9593 their declaration.
9594 (vhdl-mode-syntax-table-init): Remove.
9595
c9990474
SM
9596 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9597 last change.
1d5963cc
SM
9598
9599 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9600 syntax for "_".
9601 (ld-script-font-lock-keywords):
9602 Change regexps to use things like \_< and \_>.
9603
9604 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9605 Change all regexps to use things like \_< and \_>.
9606
9607 * progmodes/autoconf.el (autoconf-definition-regexp)
9608 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9609 Handle a _ with symbol syntax.
9610 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9611
c9990474
SM
9612 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9613 Consolidate declaration.
1d5963cc
SM
9614 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9615 the declaration.
9616 (ada-create-syntax-table): Remove.
9617 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9618 already has the right syntax nowadays.
9619 (ada-goto-next-word): Don't change the syntax of "_".
9620
9621 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9622 with-wrapper-hook.
9623
72d3cfca
SS
96242013-05-08 Sam Steingold <sds@gnu.org>
9625
9626 * thingatpt.el (thing-at-point): Accept optional second argument
9627 NO-PROPERTIES to strip the text properties from the return value.
9628 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9629 to `thing-at-point' instead of stripping the properties ourselves.
9630 Also, when `thing-at-point' fails to find a url, prepend "http://"
9631 to the filename at point on the assumption that the user is
9632 pointing at something like gnu.org/gnu.
9633
5cb15713
JB
96342013-05-08 Juanma Barranquero <lekktu@gmail.com>
9635
9636 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9637 * faces.el (crm-separator):
9638 Silence byte-compiler.
9639
9640 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9641 (tool-bar-map): Remove unneeded defvars.
9642
ea78b95b
LL
96432013-05-08 Leo Liu <sdl.web@gmail.com>
9644
9645 Re-work a fix for bug#10994 based on Le Wang's patch.
9646 * ido.el (ido-remove-consecutive-dups): New helper.
9647 (ido-completing-read): Use it.
9648 (ido-chop): Revert fix for bug#10994.
9649
dc7466df
AS
96502013-05-08 Adam Spiers <emacs@adamspiers.org>
9651
9652 * cus-edit.el (custom-save-variables):
9653 Pretty-print long values. (Bug#14187)
9654
9ecf672a
GM
96552013-05-08 Glenn Morris <rgm@gnu.org>
9656
9657 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9658 (m4-mode-syntax-table): Init in the defvar.
9659 (m4-mode-abbrev-table): Let define-derived-mode define it.
9660
3f555be8
TT
96612013-05-08 Tom Tromey <tromey@redhat.com>
9662
9663 * progmodes/m4-mode.el (m4-mode-syntax-table):
9664 Do not treat "_" as word constituent. (Bug#14167)
9665
7cc8ae06
GM
96662013-05-07 Glenn Morris <rgm@gnu.org>
9667
4f58bc06
GM
9668 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9669 Remove explicit eshell-isearch-cancel-map.
9670
7cc8ae06
GM
9671 * progmodes/f90.el (f90-smart-end-names): New option.
9672 (f90-smart-end): Doc fix.
9673 (f90-end-block-optional-name): New constant.
9674 (f90-block-match): Respect f90-smart-end-names.
9675
ceb57e59
SM
96762013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9677
9678 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9679 about implicit semi-colons (bug#14218).
9680
4e3f9230
YM
96812013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9682
9683 * frame.el (display-monitor-attributes-list)
9684 (frame-monitor-attributes): New functions.
9685
203a5572
LL
96862013-05-06 Leo Liu <sdl.web@gmail.com>
9687
9688 * progmodes/octave.el (octave-syntax-propertize-function): Change
9689 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9690 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 9691 (octave-completion-at-point): Rename from
203a5572
LL
9692 octave-completion-at-point-function.
9693 (inferior-octave-directory-tracker): Robustify.
9694 (octave-text-functions): Remove and fix its uses. No such things
9695 any more.
9696
ee6cff99
SM
96972013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9698
9699 * emacs-lisp/trace.el (trace--display-buffer): New function.
9700 (trace-make-advice): Use it.
9701
32985194
JL
97022013-05-06 Juri Linkov <juri@jurta.org>
9703
9704 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9705 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9706 Doc fix.
9707 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9708 in the help string. (Bug#12985)
9709
a1c700de
KD
97102013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9711
9712 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9713
c67c0839
SM
97142013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9715
323885fd
SM
9716 * progmodes/perl-mode.el: Add support for here documents.
9717 (perl-syntax-propertize-function): Match here-doc markers.
9718 (perl-syntax-propertize-special-constructs): Find their end.
9719 (perl-imenu-generic-expression): Use [:alnum:].
9720
c67c0839
SM
9721 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9722 (advice--add-function): Refresh the advice if already present
9723 (bug#14317).
9724
d491e7a8
IA
97252013-05-06 Ivan Andrus <darthandrus@gmail.com>
9726
9727 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9728
ddf9925e
GM
97292013-05-06 Glenn Morris <rgm@gnu.org>
9730
7cc3af27
GM
9731 * w32-fns.el (w32-charset-info-alist): Declare.
9732
16e343d6
GM
9733 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9734 of its defcustom properties.
9735 (eshell-cmpl-initialize): No need to load pcomplete.
9736
7d889a47
GM
9737 * generic-x.el: No need to require comint when compiling.
9738
ddf9925e
GM
9739 * net/eudc-export.el: Make it loadable without bbdb.
9740 (top-level): Use require rather than load-library.
9741 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9742 (eudc-batch-export-records-to-bbdb)
9743 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9744 Require bbdb.
9745
1e2c18df
SM
97462013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9747
9748 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9749 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9750 some tweaks, instead.
9751
02502a5f
LL
97522013-05-05 Leo Liu <sdl.web@gmail.com>
9753
9754 * progmodes/octave.el (octave-font-lock-keywords)
9755 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9756 (inferior-octave-send-list-and-digest): Improve error message.
9757 (octave-mode, inferior-octave-mode): Use setq-local.
9758 (octave-help): Set info-lookup-mode.
9759
0dc04f42
RS
97602013-05-05 Richard Stallman <rms@gnu.org>
9761
6c54491c
RS
9762 * vc/compare-w.el (compare-windows-whitespace):
9763 Treat no-break space as whitespace.
9764
0dc04f42
RS
9765 * mail/rmailsum.el (rmail-summary-rmail-update):
9766 Detect empty summary and don't change selected message.
9767 (rmail-summary-goto-msg): Likewise.
9768
df8f35df
RS
9769 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9770 Doc fixes, rename args.
9771
5356e1a3
AM
97722013-05-05 Alan Mackenzie <acm@muc.de>
9773
9774 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9775
d44014cb
JL
97762013-05-05 Juri Linkov <juri@jurta.org>
9777
9778 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9779 to not add the length of the summary segment to the return value.
9780 (Bug#14125)
9781
c129b51f
LL
97822013-05-05 Leo Liu <sdl.web@gmail.com>
9783
9784 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9785 (inferior-octave-output-filter): Remove.
9786 (octave-send-region, inferior-octave-startup): Fix callers.
9787 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9788 (octave-binary-file-extensions): New user variable.
9789 (octave-find-definition): Confirm if opening binary files.
9790 (octave-help-file): Use octave-find-definition to get the binary
9791 confirmation.
9792 (octave-help): Adjust for octave-help-file change.
9793
aa7dab97
SM
97942013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9795
9796 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9797 Merge the two entries that handle function definitions.
9798 (pascal--syntax-propertize): New const.
9799 (pascal-mode): Use it. Use setq-local.
9800
fd3a9a6b
GM
98012013-05-04 Glenn Morris <rgm@gnu.org>
9802
9803 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9804 (diary-from-outlook): Respect diary-from-outlook-function.
9805
30c7e542
SM
98062013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9807
9808 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9809 Move the declaration from C.
9810 (read-minibuffer, eval-minibuffer): Move from C.
9811 (completion-setup-function): Avoid minibuffer-completion-contents.
9812
b54f978b
LL
98132013-05-03 Leo Liu <sdl.web@gmail.com>
9814
9815 * progmodes/octave.el (octave-font-lock-keywords): Do not
9816 dehighlight 'end' in comments or strings.
30c7e542
SM
9817 (octave-completing-read, octave-goto-function-definition):
9818 New helpers.
d4d0f9b3
LL
9819 (octave-help-buffer): New user variable.
9820 (octave-help-file, octave-help-function): New button types.
9821 (octave-help): New command and bind it to C-h ;.
9822 (octave-find-definition): New command and bind it to M-.
d74a1581 9823 (user-error): Alias to error if not defined.
b54f978b 9824
27135018
LL
98252013-05-02 Leo Liu <sdl.web@gmail.com>
9826
9827 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9828 for \. (bug#14332)
9829 (octave-font-lock-keywords): Include [ and {.
9830
0d634d3a
LL
98312013-05-02 Leo Liu <sdl.web@gmail.com>
9832
9833 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9834 (inferior-octave): Remove calling comint-mode and return the buffer.
9835 (inferior-octave-startup): Cosmetic changes.
9836
b4c8295e
LL
98372013-05-02 Leo Liu <sdl.web@gmail.com>
9838
30c7e542
SM
9839 * progmodes/octave.el (octave-syntax-propertize-function):
9840 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 9841
f12ad6ec
GM
98422013-05-02 Glenn Morris <rgm@gnu.org>
9843
9844 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9845 * desktop.el (vc-dir-mode): Just autoload it here.
9846
30cac1e0
AM
98472013-05-02 Alan Mackenzie <acm@muc.de>
9848
9849 Eliminate variable c-standard-font-lock-fontify-region-function.
9850 * progmodes/cc-mode.el
9851 (c-standard-font-lock-fontify-region-function): Remove.
9852 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9853
d8ef28b1
LL
98542013-05-01 Leo Liu <sdl.web@gmail.com>
9855
2640d52e 9856 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 9857 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 9858 variables were removed from Octave in 2007.
d8ef28b1
LL
9859 (inferior-octave-startup): Fix uses.
9860 (comint-line-beginning-position): Remove compatibility code for
9861 emacs 21.
9862
ac63ec89
JL
98632013-05-01 Juri Linkov <juri@jurta.org>
9864
9865 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9866
9e9be37c
JL
98672013-05-01 Juri Linkov <juri@jurta.org>
9868
9869 * comint.el (comint-previous-matching-input): Don't print message
9870 "History item: %d" when `isearch-mode' is active.
9871 (comint-history-isearch-message): Print message "History item: %d"
9872 when `comint-input-ring-index' is not empty and this function is
9873 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9874
9b92c13b
LL
98752013-05-01 Leo Liu <sdl.web@gmail.com>
9876
9877 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9878 definitions. Use completion-at-point to insert keywords.
9879 (octave-abbrev-start): Remove.
9880 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9881
b12d33d7
LL
98822013-04-30 Leo Liu <sdl.web@gmail.com>
9883
9884 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9885 change.
9886
3d1c39fa
AM
98872013-04-30 Alan Mackenzie <acm@muc.de>
9888
9889 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
9890 * progmodes/cc-engine.el (c-back-over-member-initializers):
9891 new function.
3d1c39fa
AM
9892 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9893 (most) member init lists.
9894
5147fc17
RS
98952013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9896
9897 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9898 variable.
9899
5b78d7fc
LL
99002013-04-30 Leo Liu <sdl.web@gmail.com>
9901
9902 * progmodes/octave.el (octave-variables): Remove. No builtin
9903 variables any more. All converted to functions.
9904 (octave-font-lock-keywords, octave-completion-at-point-function):
9905 Fix uses.
9906 (octave-font-lock-texinfo-comment): New user variable.
9907 (octave-texinfo-font-lock-keywords): New variable for texinfo
9908 comment block.
9909 (octave-function-comment-block): New face.
9910 (octave-font-lock-texinfo-comment): New function.
9911 (octave-mode): Font lock texinfo comment block.
9912
38d8527b
LL
99132013-04-29 Leo Liu <sdl.web@gmail.com>
9914
9915 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9916 indexing expression.
9917 (octave-continuation-string): Do not use \.
9918 (inferior-octave-complete-impossible): Remove.
9919 (inferior-octave-completion-table)
9920 (inferior-octave-completion-at-point): Remove its uses.
9921 (inferior-octave-startup): completion_matches was introduced to
9922 Octave in 1996 so safe to assume it.
9923 (octave-function-file-comment): Improve to follow how Octave does it.
9924 (octave-update-function-file-comment): Tweak.
9925
2ec12cb0
LL
99262013-04-29 Leo Liu <sdl.web@gmail.com>
9927
9928 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9929 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9930 (octave-function-file-comment): Fix typo.
9931 (octave-sync-function-file-names): Use read-char-choice.
9932
6eaed048
JB
99332013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9934
9935 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9936 to t for the less important warnings.
9937
3ffa2d4f
DH
99382013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9939
9940 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9941
685c9501
GM
99422013-04-27 Glenn Morris <rgm@gnu.org>
9943
9944 * vc/log-view.el (log-view-current-entry):
9945 Treat "---" separator lines as part of the following rev. (Bug#14169)
9946
0208ede7
JL
99472013-04-27 Juri Linkov <juri@jurta.org>
9948
9949 * subr.el (read-number): Doc fix about using it by interactive
9950 code letter `n'. (Bug#14254)
9951
5db9dace
JL
99522013-04-27 Juri Linkov <juri@jurta.org>
9953
9954 * desktop.el (desktop-auto-save-timeout): New option.
9955 (desktop-file-checksum): New variable.
9956 (desktop-save): Add optional arg `auto-save' and don't auto-save
9957 if nothing changed.
9958 (desktop-auto-save-timer): New variable.
9959 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9960 (after-init-hook): Call `desktop-auto-save-set-timer'.
9961 Suggested by Reuben Thomas <rrt@sc3d.org> in
9962 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9963
b7260dd4
LL
99642013-04-27 Leo Liu <sdl.web@gmail.com>
9965
9966 * progmodes/octave.el (octave-function-file-p)
9967 (octave-skip-comment-forward, octave-function-file-comment)
9968 (octave-update-function-file-comment): New functions.
9969 (octave-mode-map): Bind C-c ; to
9970 octave-update-function-file-comment.
9971 (octave-mode-menu): Add octave-update-function-file-comment.
9972 (octave-mode, inferior-octave-mode): Fix doc-string.
9973 (octave-insert-defun): Conform to Octave's coding convention.
9974 (Bug#14285)
9975
9976 * files.el (basic-save-buffer): Don't let errors in
9977 before-save-hook prevent saving buffer.
9978
c46da669
RW
99792013-04-20 Roland Winkler <winkler@gnu.org>
9980
9981 * faces.el (read-face-name): Use completing-read if arg multiple
9982 is nil.
9983
a81ee1eb
IL
99842013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9985
9986 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
9987 displayed, move point to after the totals line.
9988 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
9989 for the details.
9990
4fac34ce
SM
99912013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9992
9993 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9994 Add current dir to the load-path.
9995 (package-generate-autoloads): Don't rely on
9996 autoload-ensure-default-file.
9997
f6bfc063
RT
99982013-04-26 Reuben Thomas <rrt@sc3d.org>
9999
d40ab5cf
BG
10000 * textmodes/remember.el (remember-store-in-files): Document that
10001 the file name format is passed to `format-time-string'.
f6bfc063 10002
e55d3b04
LL
100032013-04-26 Leo Liu <sdl.web@gmail.com>
10004
10005 * progmodes/octave.el (octave-sync-function-file-names): New function.
10006 (octave-mode): Use it in before-save-hook.
10007
e53052d3
SM
100082013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10009
140ef50c
SM
10010 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10011 (bug#14274).
10012
e53052d3
SM
10013 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10014 \n and comment, even if it's not an implicit ; (bug#14218).
10015
af80458d 100162013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
10017
10018 * subr.el (read-number): Once more use `read' rather than
10019 `string-to-number', to trap non-numeric input. (Bug#14254)
10020
af80458d 100212013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
10022
10023 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10024 Use `syntax-multiline' text property consistently instead of
8a621d53 10025 `font-lock-multiline'. (Bug#14237)
70203c2e 10026
e6ea1f6c
GM
100272013-04-26 Glenn Morris <rgm@gnu.org>
10028
10029 * emacs-lisp/shadow.el (list-load-path-shadows):
10030 No longer necessary to check for duplicate simple.el, since
10031 2012-07-07 change to init_lread to not include installation lisp
10032 directories in load-path when running uninstalled. (Bug#14270)
10033
070ccca4
LL
100342013-04-26 Leo Liu <sdl.web@gmail.com>
10035
10036 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10037 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 10038 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
10039 octave-in-string-or-comment-p.
10040 (octave-in-comment-p, octave-in-string-p)
10041 (octave-in-string-or-comment-p): Replace defsubst with defun.
10042
9d1c5fb6
PE
100432013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10044
10045 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10046
c034abda
BG
100472013-04-25 Bastien Guerry <bzg@gnu.org>
10048
10049 * textmodes/remember.el (remember-data-directory)
10050 (remember-directory-file-name-format): Fix custom types.
10051
584ea277
LL
100522013-04-25 Leo Liu <sdl.web@gmail.com>
10053
e53052d3
SM
10054 * progmodes/octave.el (octave-completion-at-point-function):
10055 Make use of inferior octave process.
584ea277
LL
10056 (octave-initialize-completions): Remove.
10057 (inferior-octave-completion-table): New function.
10058 (inferior-octave-completion-at-point): Use it.
10059 (octave-completion-alist): Remove.
10060
1693b06a
SM
100612013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10062
10063 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10064 (opascal-mode-syntax-table): New var.
10065 (opascal-literal-kind, opascal-is-literal-end)
10066 (opascal-literal-token-at): Rewrite.
10067 (opascal--literal-start-re, opascal-font-lock-keywords)
10068 (opascal--syntax-propertize): New constants.
10069 (opascal-font-lock-defaults): Adjust.
10070 (opascal-mode): Use them. Set comment-<foo> variables as well.
10071 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10072 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10073 (delphi-other-face, opascal-other-face): Remove face variables.
10074 (opascal-save-state): Remove macro.
10075 (opascal-fontifying-progress-step): Remove constant.
10076 (opascal--ignore-changes): Remove var.
10077 (opascal-set-token-property, opascal-parse-next-literal)
10078 (opascal-is-stable-literal, opascal-complete-literal)
10079 (opascal-is-literal-start, opascal-face-of)
10080 (opascal-parse-region, opascal-parse-region-until-stable)
10081 (opascal-fontify-region, opascal-after-change)
10082 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10083 (opascal-debug-parse-region, opascal-debug-parse-window)
10084 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10085 (opascal-debug-fontify-buffer): Remove.
10086 (opascal-debug-mode-map): Adjust accordingly.
10087
be64c05d
LL
100882013-04-25 Leo Liu <sdl.web@gmail.com>
10089
10090 Merge octave-mod.el and octave-inf.el into octave.el with some
10091 cleanups.
10092 * progmodes/octave.el: New file renamed from octave-mod.el.
10093 * progmodes/octave-inf.el: Merged into octave.el.
10094 * progmodes/octave-mod.el: Renamed to octave.el.
10095
d79d37bd
TH
100962013-04-25 Tassilo Horn <tsdh@gnu.org>
10097
10098 * textmodes/reftex-vars.el
10099 (reftex-label-ignored-macros-and-environments): New defcustom.
10100
10101 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10102
ced3fc5d
SM
101032013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10104
10105 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10106 (smie-indent-keyword): Improve the check to ensure that the next
10107 comment is really on the same line.
10108 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10109
10110 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10111 semi-colons if the line is not otherwise empty (bug#14218).
10112
1c141dad
GM
101132013-04-25 Glenn Morris <rgm@gnu.org>
10114
10115 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10116
5058062a
SM
101172013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10118
10119 * progmodes/opascal.el (opascal-set-token-property): Rename from
10120 opascal-set-text-properties and only set `token' (bug#14134).
10121 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10122 (opascal-literal-text-properties): Remove.
10123 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10124 Adjust callers.
10125
5db9dace 101262013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
10127
10128 * textmodes/remember.el (remember-handler-functions): Add an
10129 option for a new handler `remember-store-in-files'.
10130 (remember-data-directory, remember-directory-file-name-format):
10131 New options.
10132 (remember-store-in-files): New function to store remember notes
10133 as separate files within a directory.
10134
4391916c
MH
101352013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10136
10137 * progmodes/compile.el (compilation-next-error-function):
10138 Pass "formats" to compilation-find-file (bug#11777).
10139
bb7cdf58
GM
101402013-04-24 Glenn Morris <rgm@gnu.org>
10141
3b8fe752 10142 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
10143 * vc/vc-hg.el (vc-hg-print-log):
10144 * vc/vc-svn.el (vc-svn-print-log):
10145 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10146
bb7cdf58
GM
10147 * vc/vc-bzr.el (vc-bzr-print-log):
10148 * vc/vc-cvs.el (vc-cvs-print-log):
10149 * vc/vc-git.el (vc-git-print-log):
10150 * vc/vc-hg.el (vc-hg-print-log):
10151 * vc/vc-mtn.el (vc-mtn-print-log):
10152 * vc/vc-rcs.el (vc-rcs-print-log):
10153 * vc/vc-sccs.el (vc-sccs-print-log):
10154 * vc/vc-svn.el (vc-svn-print-log):
10155 * vc/vc.el (vc-print-log-internal): Doc fixes.
10156
b46a056e
GM
101572013-04-23 Glenn Morris <rgm@gnu.org>
10158
10159 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10160 Remove venerable code attempting to avoid substitute-command-keys.
10161
0aecf718
TH
101622013-04-23 Tassilo Horn <tsdh@gnu.org>
10163
4391916c
MH
10164 * textmodes/reftex-vars.el (reftex-label-regexps):
10165 Call `reftex-compile-variables' after changes to this variable.
0aecf718 10166
117f94cf
SM
101672013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10168
4391916c 10169 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
10170 Use lexical-binding.
10171 (jit-lock-force-redisplay): Use markers, check buffer's continued
10172 existence and beware narrowed buffers.
10173 (jit-lock-fontify-now): Adjust call accordingly.
10174
1d829c64
SM
101752013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10176
10177 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10178 to avoid misleading the user.
10179
72d548a9
LL
101802013-04-22 Leo Liu <sdl.web@gmail.com>
10181
10182 * info-look.el: Prefer latex2e.info. (Bug#14240)
10183
d0853629
MA
101842013-04-22 Michael Albinus <michael.albinus@gmx.de>
10185
10186 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10187
10188 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10189 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10190 (tramp-set-completion-function, tramp-parse-putty):
10191 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10192 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10193 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10194 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10195 (tramp-call-local-coding-command): Use `tramp-call-process'
10196 instead of `tramp-compat-call-process'.
10197
10198 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10199 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10200 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 10201 (tramp-find-inline-compress): Improve traces.
d0853629
MA
10202 (tramp-maybe-send-script): Check for Perl binary.
10203 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10204
38cc0210
DU
102052013-04-22 Daiki Ueno <ueno@gnu.org>
10206
10207 * epg.el (epg-context-pinentry-mode): New function.
10208 (epg-context-set-pinentry-mode): New function.
10209 (epg--start): Pass --pinentry-mode option to gpg command.
10210
cc641ee1
XF
102112013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10212
02d844b5 10213 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 10214 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 10215 `completion-at-point'. (Bug#13774)
5d4e5c31 10216
cc641ee1
XF
10217 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10218 default key binding for `describe-distribution' has been moved to
10219 `C-h C-o'. (Bug#13970)
10220
1b42ee43
GM
102212013-04-21 Glenn Morris <rgm@gnu.org>
10222
10223 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10224 Add doc strings.
10225 (vc-print-log): Clarify interactive prompt.
10226
a6d63d97
GM
102272013-04-20 Glenn Morris <rgm@gnu.org>
10228
10229 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10230 No longer include timestamp etc information.
10231
d7f5c16f
RW
102322013-04-20 Roland Winkler <winkler@gnu.org>
10233
10234 * faces.el (read-face-name): Bug fix, return just one face if arg
10235 multiple is nil. (Bug#14209)
10236
bcd7a0a4
SM
102372013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10238
10239 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10240 (remove-function): Autoload.
10241
10242 * comint.el (comint-redirect-original-filter-function): Remove.
10243 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
10244 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10245 (vc-cvs-annotate-command):
bcd7a0a4
SM
10246 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10247 * progmodes/prolog.el (prolog-consult-compile):
10248 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10249 Use add/remove-function instead.
10250 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10251 (gud-tooltip-process-output, gud-tooltip-tips):
10252 Use add/remove-function instead.
10253 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10254 (scheme-interaction-mode, exit-scheme-interaction-mode):
10255 Use add/remove-function instead.
10256
10257 * vc/vc-dispatcher.el: Use lexical-binding.
10258 (vc--process-sentinel): Rename from vc-process-sentinel.
10259 Change last arg to be the code to run. Don't use vc-previous-sentinel
10260 and vc-sentinel-commands any more.
10261 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10262 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10263
e36b2d20 102642013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 10265
bcd7a0a4 10266 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 10267 Handle function names with a single character. (Bug#14111)
4d3268ba 10268
781b4af6 102692013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
10270
10271 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10272 for subroutines defined in an eval (bug#14182).
10273
7d688336
TV
102742013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10275
10276 * bookmark.el (bookmark-completing-read): Improve handling of empty
10277 string (bug#14176).
10278
31dcede0
SM
102792013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10280
10281 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10282
adc31213
FEG
102832013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10284
10285 New faster Imenu implementation (bug#14058).
10286 * progmodes/python.el:
10287 (python-imenu-prev-index-position):
10288 (python-imenu-format-item-label-function)
10289 (python-imenu-format-parent-item-label-function)
10290 (python-imenu-format-parent-item-jump-label-function):
10291 New vars.
10292 (python-imenu-format-item-label)
10293 (python-imenu-format-parent-item-label)
10294 (python-imenu-format-parent-item-jump-label)
10295 (python-imenu--put-parent, python-imenu--build-tree)
10296 (python-imenu-create-index, python-imenu-create-flat-index)
10297 (python-util-popn): New functions.
10298 (python-mode): Set imenu-create-index-function to
10299 python-imenu-create-index.
10300
cdca8255
SM
103012013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10302
10303 * winner.el (winner-active-region): Use region-active-p, activate-mark
10304 and deactivate-mark (bug#14225).
10305
10306 * simple.el (deactivate-mark): Don't inline it.
10307
beb42340
MA
103082013-04-18 Michael Albinus <michael.albinus@gmx.de>
10309
10310 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10311
fc7f4d7e
TH
103122013-04-18 Tassilo Horn <tsdh@gnu.org>
10313
10314 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10315 file extensions from the archive-mode entry in order to prefer
10316 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10317
29f47822
LL
103182013-04-18 Leo Liu <sdl.web@gmail.com>
10319
10320 * bindings.el (help-event-list): Add ?\?.
10321
d36ed1c8
SM
103222013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10323
10324 * subr.el (with-wrapper-hook): Declare obsolete.
10325 * simple.el (filter-buffer-substring-function): New hook.
10326 (filter-buffer-substring): Use it.
10327 (filter-buffer-substring-functions): Mark obsolete.
10328 * minibuffer.el (completion-in-region-function): New hook.
10329 (completion-in-region): Use it.
10330 (completion-in-region-functions): Mark obsolete.
10331 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10332 * abbrev.el (abbrev-expand-function): New hook.
10333 (expand-abbrev): Use it.
10334 (abbrev-expand-functions): Mark obsolete.
10335 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10336 and :filter-return.
10337
04754d36
FEG
103382013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10339
10340 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10341 and do not care about match data.
10342
dd8791e9
SM
103432013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10344
10345 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10346 completion tables when completing error conditions and
10347 `declare' arguments.
10348 (lisp-complete-symbol, field-complete): Mark as obsolete.
10349 (check-parens): Unmatched parens are user errors.
10350 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10351
ffe54a13
AM
103522013-04-17 Michal Nazarewicz <mina86@mina86.com>
10353
dd8791e9
SM
10354 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10355 command changed buffer (ie. `flyspell-pre-buffer' is not current
10356 buffer), which prevents making decisions based on invalid value of
10357 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10358 cause an error when `flyspell-pre-point' was nil after switching
10359 buffers.
10360 (flyspell-post-command-hook): No longer needs to change buffers when
10361 checking pre-word. While at it remove unnecessary progn.
ffe54a13 10362
ec7e39f2
AM
103632013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10364
10365 * textmodes/ispell.el (ispell-add-per-file-word-list):
10366 Fix `flyspell-correct-word-before-point' error when accepting
10367 words and `coment-padding' is an integer by using
10368 `comment-normalize-vars' (Bug #14214).
10369
083850a6
FEG
103702013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10371
10372 New defun movement commands.
10373 * progmodes/python.el (python-nav--syntactically)
10374 (python-nav--forward-defun, python-nav-backward-defun)
10375 (python-nav-forward-defun): New functions.
10376
619ed6e1
FEG
103772013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10378
10379 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10380 (python-syntax-context): Use named compiler-macro for backwards
10381 compatibility with Emacs 24.x.
10382
7a1beb6c
LL
103832013-04-17 Leo Liu <sdl.web@gmail.com>
10384
10385 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10386 octave-hide-process-buffer.
10387
2d3fa3e5
SM
103882013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10389
10390 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10391 (bug#14216).
10392
7ce5be54
JPG
103932013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10394
10395 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10396 Fix adjustment of offset when receiving incomplete responses from GDB
10397 (bug#14129).
10398
351edece
SM
103992013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10400
10401 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10402 python-mode-abbrev-table.
10403 (python-skeleton-define): Adjust accordingly.
10404 (python-mode-abbrev-table): New table that inherits from it so that
10405 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10406
10407 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10408 (abbrev-symbol): Use it.
10409 (abbrev--before-point): Use it since we already handle inheritance.
10410
613f9481
LL
104112013-04-16 Leo Liu <sdl.web@gmail.com>
10412
10413 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10414 binding to info-lookup-symbol.
10415
51646b62
JB
104162013-04-16 Juanma Barranquero <lekktu@gmail.com>
10417
10418 * minibuffer.el (completion--twq-all):
10419 * term/ns-win.el (ns-initialize-window-system):
10420 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10421
efb3f01d
SM
104222013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10423
36c0a301
SM
10424 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10425 global bindings.
10426
efb3f01d
SM
10427 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10428
fb549d64
DG
104292013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10430
10431 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10432 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10433 to nil.
10434 (ruby-end-of-defun): Remove the unused arg, change the docstring
10435 to reflect that this function is only used as the value of
10436 `end-of-defun-function'.
10437 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10438 to reflect an earlier change that beginning/end-of-defun functions
10439 jump between methods in a class definition, as well as top-level
10440 functions.
10441
21e8fe2f
SM
104422013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10443
10444 * minibuffer.el (minibuffer-complete): Don't just scroll
10445 a *Completions* that's been iconified.
10446 (minibuffer-force-complete): Make sure repetitions do cycle when going
10447 through completion-in-region -> minibuffer-complete.
10448
20e527d0
AM
104492013-04-15 Alan Mackenzie <acm@muc.de>
10450
10451 Correct the placement of c-cpp-delimiters when there're #s not at
10452 col 0.
10453
10454 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10455 place a submatch around the #.
21e8fe2f
SM
10456 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10457 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
10458 on the #, not BOL.
10459
dabefae5
SM
104602013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10461
10462 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10463 (advice--member-p): New arg `name'.
10464 (advice--add-function, advice-member-p): Use it (bug#14202).
10465
85c9ab64
AM
104662013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10467
10468 Reformulate java imenu-generic-expression.
10469 The old expression contained ill formed regexps.
10470
10471 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10472 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10473 (cc-imenu-java-method-arg-regexp): New defconsts.
10474 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 10475 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
10476 handling of spaces in the regexp.
10477
0f821d99
AM
104782013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10479
10480 * textmodes/ispell.el (ispell-command-loop): Remove
10481 flyspell highlight of a word when ispell accepts it (bug #14178).
10482
eb922adf
MA
104832013-04-15 Michael Albinus <michael.albinus@gmx.de>
10484
10485 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10486 uses code from the previous `ange-ftp-run-real-handler'.
10487 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10488 only in case that function exist. This is needed for proper
10489 unloading of Tramp.
10490
4d9a0979
TH
104912013-04-15 Tassilo Horn <tsdh@gnu.org>
10492
10493 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10494
10495 * textmodes/reftex.el (reftex-compile-variables): Use it.
10496
a829b0dc
SM
104972013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10498
91e8293c
SM
10499 * files.el (normal-mode): Only use default major-mode if no other mode
10500 was specified.
10501
830aed4d
SM
10502 * emacs-lisp/trace.el (trace-values): New function.
10503
a829b0dc
SM
10504 * files.el: Allow : in local variables (bug#14089).
10505 (hack-local-variable-regexp): New var.
10506 (hack-local-variables-prop-line, hack-local-variables): Use it.
10507
7ae9f0fb
RW
105082013-04-13 Roland Winkler <winkler@gnu.org>
10509
10510 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10511 data before it gets modified by bibtex-beginning-of-entry.
10512
6646e848
RW
105132013-04-13 Roland Winkler <winkler@gnu.org>
10514
10515 * textmodes/bibtex.el (bibtex-url): Doc fix.
10516
105172013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
10518
10519 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10520 does not visit a BibTeX file, exclude it from the list of buffers
10521 returned by bibtex-initialize.
10522
0aa3616e
SB
105232013-04-13 Stephen Berman <stephen.berman@gmx.net>
10524
10525 * window.el (split-window): Remove interactive form, since as a
10526 command this function is a special case of split-window-below.
10527 Correct doc string.
10528
011cddd6
RW
105292013-04-12 Roland Winkler <winkler@gnu.org>
10530
10531 * faces.el (read-face-name): Do not override value of arg default.
10532 Allow single faces and strings as default values. Remove those
10533 elements from return value that are not faces.
10534 (describe-face): Simplify.
10535 (face-at-point): New optional args thing and multiple so that this
10536 function can provide the same functionality previously provided by
10537 read-face-name.
10538 (make-face-bold, make-face-unbold, make-face-italic)
10539 (make-face-unitalic, make-face-bold-italic, invert-face)
10540 (modify-face, read-face-and-attribute): Use face-at-point.
10541
10542 * cus-edit.el (customize-face, customize-face-other-window)
10543 * cus-theme.el (custom-theme-add-face)
10544 * face-remap.el (buffer-face-set)
10545 * facemenu.el (facemenu-set-face): Use face-at-point.
10546
f24e0036
MA
105472013-04-12 Michael Albinus <michael.albinus@gmx.de>
10548
10549 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10550
da3cda2d
TH
105512013-04-10 Tassilo Horn <tsdh@gnu.org>
10552
10553 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10554 off leading { and trailing } from field values.
10555
15e54145
SM
105562013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10557
78ce603d
SM
10558 * emacs-lisp/timer.el (timer--check): New function.
10559 (timer--time, timer-set-function, timer-event-handler): Use it.
10560 (timer-set-idle-time): Simplify.
10561 (timer--activate): CSE.
10562 (timer-event-handler): Give more info in error message.
10563 (internal-timer-start-idle): New function, moved from C.
10564
15e54145
SM
10565 * mpc.el (mpc-proc): Add `restart' argument.
10566 (mpc-proc-cmd): Use it.
10567 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10568 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10569 less often.
10570
7144c627
MY
105712013-04-10 Masatake YAMATO <yamato@redhat.com>
10572
10573 * progmodes/sh-script.el: Implement `sh-mode' own
10574 `add-log-current-defun-function' (bug#14112).
10575 (sh-current-defun-name): New function.
10576 (sh-mode): Use the function.
10577
b39792eb
BG
105782013-04-09 Bastien Guerry <bzg@gnu.org>
10579
10580 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10581
8acdeb71
SM
105822013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10583
6fcdab68
SM
10584 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10585
8acdeb71
SM
10586 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10587 timer (bug#14156).
10588
e3e7b504
NF
105892013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10590
10591 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10592 declaration.
10593
201bb296
LL
105942013-04-07 Leo Liu <sdl.web@gmail.com>
10595
10596 * pcmpl-x.el: New file.
10597
ebb19708
DA
105982013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10599
10600 Do not set x-display-name until X connection is established.
10601 This is needed to prevent from weird situation described at
10602 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10603 * frame.el (make-frame): Set x-display-name after call to
10604 window system initialization function, not before.
10605 * term/x-win.el (x-initialize-window-system): Add optional
10606 display argument and use it.
10607 * term/w32-win.el (w32-initialize-window-system):
10608 * term/ns-win.el (ns-initialize-window-system):
10609 * term/pc-win.el (msdos-initialize-window-system):
10610 Add compatible optional display argument.
10611
33bb237a
EZ
106122013-04-06 Eli Zaretskii <eliz@gnu.org>
10613
10614 * files.el (normal-backup-enable-predicate): On MS-Windows and
10615 MS-DOS compare truenames of temporary-file-directory and of the
10616 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10617 don't fail comparison by compare-strings. Also, compare file
10618 names case-insensitively on MS-Windows and MS-DOS.
10619
134abf1f
SM
106202013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10621
10622 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10623 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10624
d695cb94
DG
106252013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10626
e3e7b504
NF
10627 * whitespace.el (whitespace-color-on, whitespace-color-off):
10628 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 10629
f4ad7ea1 106302013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
10631
10632 * ispell.el (ispell-set-spellchecker-params):
10633 Really set `ispell-args' for all equivs.
10634
632556e4
SM
106352013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10636
10637 * ido.el (ido-completions): Use extra elements of ido-decorations
10638 (bug#14143).
10639 (ido-decorations): Update docstring.
10640
2a417372
MA
106412013-04-05 Michael Albinus <michael.albinus@gmx.de>
10642
10643 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10644 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10645 nil during initialization, in order not to miss changes since the
10646 file was opened. (Bug#14140)
10647
fc164b0c
LL
106482013-04-05 Leo Liu <sdl.web@gmail.com>
10649
10650 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10651
0ccecc08
JB
106522013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10653
10654 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10655
51af1aa2
GM
106562013-04-04 Glenn Morris <rgm@gnu.org>
10657
10658 * electric.el (electric-pair-inhibit-predicate): Add :version.
10659
b208ebc6
SM
106602013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10661
10662 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10663 when a package is required several times (bug#14082).
10664
f3d3eaf0
RW
106652013-04-04 Roland Winkler <winkler@gnu.org>
10666
10667 * faces.el (read-face-name): Behave as promised by the docstring.
10668 Assume that arg default is a list of faces.
10669 (describe-face): Call read-face-name with list of default faces.
10670
2575da50
TV
106712013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10672
10673 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10674 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10675 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10676 the header.
10677 (bookmark-exit-hook-internal): Save even if list is empty.
10678
397703b4
YH
106792013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10680
10681 * emacs-lisp/package.el (package-pinned-packages): New var.
10682 (package--add-to-archive-contents): Obey it (bug#14118).
10683
691e26ae
AM
106842013-04-03 Alan Mackenzie <acm@muc.de>
10685
8a621d53
JB
10686 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10687 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
10688
10689 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10690 parameter `not-in-delimiter'. Handle being inside comment opener.
10691 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10692 character in case we're typing a '*' after a '/'.
10693 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10694 instead by passing the parameter to c-state-pp-to-literal.
10695
10696 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10697 for elt. 7 of a parse state.
10698
4b725a70
PE
106992013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10700
10701 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10702 * international/latin1-disp.el, international/mule-util.el:
10703 * language/cyril-util.el, language/european.el, language/ind-util.el:
10704 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10705 * language/tibetan.el, language/viet-util.el:
10706 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10707
15c579f0
SM
107082013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10709
10710 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10711 (electric-pair-post-self-insert-function): Use it.
10712 (electric-pair-default-inhibit): New function, extracted from
10713 electric-pair-post-self-insert-function.
10714
a77e2924
RW
107152013-03-31 Roland Winkler <winkler@gnu.org>
10716
10717 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10718
2bd8a4a8
SM
107192013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10720
10721 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10722
8d3655be 107232013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
10724
10725 Un-indent after "pass" and "return" statements (Bug#13888)
10726 * progmodes/python.el (python-indent-block-enders): New var.
10727 (python-indent-calculate-indentation): Use it.
10728
8d3655be 107292013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
10730
10731 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10732 defun. Defining it as defalias could introduce too eager
10733 byte-compiler optimization. (Bug#14030)
10734
8d3655be 107352013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
10736
10737 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10738
0b1619da
LL
107392013-03-30 Leo Liu <sdl.web@gmail.com>
10740
10741 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10742 (kmacro-execute-from-register): Pass the keyboard macro to
10743 kmacro-call-macro or repeating won't work correctly.
10744
0b938190
TZ
107452013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10746
10747 * progmodes/subword.el: Back to using `forward-symbol'.
10748
10749 * subr.el (forward-whitespace, forward-symbol)
10750 (forward-same-syntax): Move from thingatpt.el.
10751
35710234
LL
107522013-03-29 Leo Liu <sdl.web@gmail.com>
10753
10754 * kmacro.el (kmacro-to-register): New command.
10755 (kmacro-execute-from-register): New function.
10756 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10757
efc0bb73
SM
107582013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10759
10760 * mpc.el: Use defvar-local and setq-local.
10761 (mpc--proc-connect): Connection failures are not bugs.
10762 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10763 (mpc-volume-map): Bind to the up-events.
10764
75a2f981
TZ
107652013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10766
10767 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10768 instead of `forward-symbol'.
10769
17c781d1
SM
107702013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10771
10772 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10773 (edebug--recursive-edit): Use it.
10774 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10775 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10776
f67bfbcf
LL
107772013-03-28 Leo Liu <sdl.web@gmail.com>
10778
10779 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10780
b59f639d
EZ
107812013-03-27 Eli Zaretskii <eliz@gnu.org>
10782
10783 * facemenu.el (list-colors-callback): New defvar.
10784 (list-colors-redisplay): New function.
10785 (list-colors-display): Install list-colors-redisplay as the
10786 revert-buffer-function. (Bug#14063)
10787
f557c1b1
SM
107882013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10789
b1da2957
SM
10790 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10791 and suffixes don't overlap (bug#14061).
10792
f557c1b1
SM
10793 * case-table.el: Use lexical-binding.
10794 (case-table-get-table): New function.
10795 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10796
002668e1
TZ
107972013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10798
10799 * progmodes/subword.el: Add `superword-mode' to do word motion
10800 over symbol_words (parallels and leverages `subword-mode' which
10801 does word motion inside MixedCaseWords).
10802
73572c72
AG
108032013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10804
78b8f320 10805 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 10806 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 10807
69b2c07e
SM
108082013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10809
10810 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10811 Change return value to be a sexp. Delay `get-buffer' to after
10812 restoring the desktop (bug#13951).
10813
08bb5ee2
LL
108142013-03-26 Leo Liu <sdl.web@gmail.com>
10815
10816 * register.el: Move semantic tag handling back to
10817 cedet/semantic/senator.el. (Bug#14052)
10818
8d4c974e
SM
108192013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10820
10821 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10822 into the prompt either (bug#13963).
10823
b234d92c
SM
108242013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10825
10826 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10827 part of "(error-foo)".
10828
ddfa3cb4
JL
108292013-03-24 Juri Linkov <juri@jurta.org>
10830
10831 * replace.el (list-matching-lines-prefix-face): New defcustom.
10832 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10833 `occur-engine' if `face-differs-from-default-p' returns t.
10834 (occur-engine): Add `,' inside backquote construct to evaluate
10835 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10836 Pass `prefix-face' to the functions `occur-context-lines' and
10837 `occur-engine-add-prefix'.
10838 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10839 `prefix-face' and propertize the prefix with `prefix-face'.
10840 (Bug#14017)
10841
7b0e2f85
LL
108422013-03-24 Leo Liu <sdl.web@gmail.com>
10843
10844 * nxml/rng-valid.el (rng-validate-while-idle)
10845 (rng-validate-quick-while-idle): Guard against deleted buffer.
10846 (Bug#13999)
10847
10848 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10849 is the last entry in kill-buffer-hook.
10850
10851 * files.el (kill-buffer-hook): Doc fix.
10852
b3082f49
DG
108532013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10854
b234d92c
SM
10855 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10856 Make it safe-local.
bde73d27 10857
b3082f49
DG
10858 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10859
a320a2db
LL
108602013-03-23 Leo Liu <sdl.web@gmail.com>
10861
7e74b0fb
LL
10862 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10863 Remove.
10864
10865 * nxml/rng-valid.el (rng-validate-mode)
10866 (rng-after-change-function, rng-do-some-validation):
10867 * nxml/rng-maint.el (rng-validate-buffer):
10868 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10869 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10870 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10871 (nxml-extend-after-change-region): Use with-silent-modifications.
10872
a320a2db
LL
10873 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10874 timer-idle-list.
10875
10876 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10877 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10878 timer-idle-list. (Bug#13999)
10879
e38e6780
JL
108802013-03-23 Juri Linkov <juri@jurta.org>
10881
10882 * info.el (info-index-match): New face.
10883 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10884 main pattern and add text properties with the new face to matches
10885 in index entries relative to the beginning of the index entry.
10886 (Bug#14015)
10887
e8cc7880
DE
108882013-03-21 Eric Ludlam <zappo@gnu.org>
10889
10890 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10891 Inhibit read only while inserting objects.
10892
9bb0d822
TZ
108932013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10894
10895 * progmodes/cfengine.el: Update docs to mention
10896 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10897 symbol motion. Remove "_" from the word syntax.
10898
aa703640
TZ
108992013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10900
10901 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10902 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10903
afff09d0
JL
109042013-03-20 Juri Linkov <juri@jurta.org>
10905
10906 * info.el (Info-next-reference-or-link)
10907 (Info-prev-reference-or-link): New functions.
10908 (Info-next-reference, Info-prev-reference): Use them.
10909 (Info-try-follow-nearest-node): Handle footnote navigation.
10910 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10911
9a1ff164
SM
109122013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10913
10914 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10915 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10916
2667d15d
PE
109172013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10918
10919 Suppress unnecessary non-ASCII chatter during build process.
10920 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10921 (batch-skkdic-convert): Suppress most of the chatter.
10922 It's not needed so much now that machines are faster,
10923 and its non-ASCII component was confusing; see Dmitry Gutov in
10924 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10925
438b0579
LL
109262013-03-20 Leo Liu <sdl.web@gmail.com>
10927
10928 * ido.el (ido-chop): Fix bug#10994.
10929
c128ab07
DG
109302013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10931
10932 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10933 Remove vars.
9a1ff164
SM
10934 (whitespace-color-on, whitespace-color-off):
10935 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 10936
0e6008c5
SM
109372013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10938
10939 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10940 remapping in mode-line.
10941 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10942
627b52b0
DG
109432013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10944
10945 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10946 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
10947 (whitespace-font-lock-keywords): Change description.
10948 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10949 the constructed keywords instead.
10950 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 10951
50c3a20b
LL
109522013-03-19 Leo Liu <sdl.web@gmail.com>
10953
10954 * progmodes/compile.el (compilation-display-error): New command.
10955 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10956 C-o. (Bug#13992)
10957
2aa2157b
PE
109582013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10959
10960 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10961
e477dbfa
JD
109622013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10963
10964 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10965
64ab82d1
MA
109662013-03-18 Michael Albinus <michael.albinus@gmx.de>
10967
10968 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10969
10970 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10971 * net/tramp-gvfs.el (top):
10972 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10973 (tramp-handle-shell-command): Use it.
10974 (tramp-dissect-file-name): Raise an error when hostname is a
10975 method name, and neither method nor user is specified.
10976
10977 * net/trampver.el: Update release number.
10978
33cef733
LL
109792013-03-18 Leo Liu <sdl.web@gmail.com>
10980
10981 Make sure eldoc can be turned off properly.
10982 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10983 eldoc-mode.
10984 (eldoc-display-message-p): Revert last change.
10985 (eldoc-display-message-no-interference-p)
10986 (eldoc-print-current-symbol-info): Tweak.
10987
2167b7b2
TH
109882013-03-18 Tassilo Horn <tsdh@gnu.org>
10989
10990 * doc-view.el (doc-view-new-window-function): Check the new window
10991 overlay's display property instead the char property of the
10992 buffer's first char. Use `with-selected-window' instead of
10993 `save-window-excursion' with `select-window'.
10994 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 10995 display property instead the char property of the buffer's first char.
2167b7b2 10996
982efbcd
PE
109972013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10998
10999 Automate the build of ja-dic.el (Bug#13984).
11000 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11001 from the input, rather than assume that it's been done for us by the
11002 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11003 the current date into a ja-dic.el comment, as that complicates
11004 regression testing.
11005
2fcc7665
SM
110062013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11007
11008 * whitespace.el: Fix double evaluation.
11009 (whitespace-space, whitespace-hspace, whitespace-tab)
11010 (whitespace-newline, whitespace-trailing, whitespace-line)
11011 (whitespace-space-before-tab, whitespace-indentation)
11012 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11013 obsolete defvars.
11014 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11015 (whitespace-color-on): Use a single font-lock-add-keywords call.
11016 Fix double-evaluation of face variables.
11017
67c0a6e6
MA
110182013-03-17 Michael Albinus <michael.albinus@gmx.de>
11019
2fcc7665
SM
11020 * net/tramp-adb.el (tramp-adb-parse-device-names):
11021 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 11022 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 11023
69489f1d
LL
110242013-03-17 Leo Liu <sdl.web@gmail.com>
11025
11026 Extend eldoc to display info in the mode-line. (Bug#13978)
11027 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11028 (eldoc-mode-line-string): New variable.
11029 (eldoc-minibuffer-message): New function.
11030 (eldoc-message-function): New variable.
11031 (eldoc-message): Use it.
11032 (eldoc-display-message-p)
2fcc7665
SM
11033 (eldoc-display-message-no-interference-p):
11034 Support eldoc-post-insert-mode.
69489f1d
LL
11035
11036 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11037 (eval-expression): Run it.
11038
9c44569e
RW
110392013-03-17 Roland Winkler <winkler@gnu.org>
11040
11041 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11042 strings in the list of return values.
11043
327f1f6f
JB
110442013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11045
11046 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11047 radix before checking for HMS forms.
11048
67ed8fcd
LL
110492013-03-16 Leo Liu <sdl.web@gmail.com>
11050
11051 * progmodes/scheme.el: Add indentation and font-locking for λ.
11052 (Bug#13975)
11053
78be8b64 110542013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
11055
11056 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11057 token before point (bug#13942).
11058
78be8b64 110592013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 11060
95b43468 11061 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 11062
98e775e6
EZ
110632013-03-16 Eli Zaretskii <eliz@gnu.org>
11064
11065 * startup.el (command-line-normalize-file-name): Fix handling of
11066 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11067 <xfq.free@gmail.com> in
11068 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11069
2edd6029
MA
110702013-03-15 Michael Albinus <michael.albinus@gmx.de>
11071
11072 Sync with Tramp 2.2.7.
11073
11074 * net/trampver.el: Update release number.
11075
d35f5864
TH
110762013-03-14 Tassilo Horn <tsdh@gnu.org>
11077
e903c210 11078 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
11079 (doc-view-insert-image): Don't modify overlay associated to
11080 non-live windows, and implement horizontal centering of image in
11081 case it's smaller than the window.
11082 (doc-view-new-window-function): Force redisplay of new windows on
11083 doc-view buffers.
d35f5864 11084
1c4a85ed
KF
110852013-03-13 Karl Fogel <kfogel@red-bean.com>
11086
11087 * saveplace.el (save-place-alist-to-file): Don't sort
11088 `save-place-alist', just pretty-print it (bug#13882).
11089
85b66a21
MA
110902013-03-13 Michael Albinus <michael.albinus@gmx.de>
11091
a020afb9
JB
11092 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11093 Check whether `default-file-name-coding-system' is bound.
11094 It isn't in XEmacs.
85b66a21 11095
175600da
SM
110962013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11097
e7f7cb1a
SM
11098 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11099 backquotes for `obsolete' (bug#13929).
11100
175600da
SM
11101 * international/mule.el (find-auto-coding): Include file name in
11102 obsolescence warning (bug#13922).
11103
ca68a22e
TZ
111042013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11105
11106 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11107 for CFEngine 3-specific indentation.
11108 (cfengine3-indent-line): Use it. Fix up category regex.
11109 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11110
940e5099
SM
111112013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11112
11113 * type-break.el (type-break-file-name):
11114 * textmodes/remember.el (remember-data-file):
11115 * strokes.el (strokes-file):
11116 * shadowfile.el (shadow-initialize):
11117 * saveplace.el (save-place-file):
11118 * ps-bdf.el (bdf-cache-file):
11119 * progmodes/idlwave.el (idlwave-config-directory):
11120 * net/quickurl.el (quickurl-url-file):
11121 * international/kkc.el (kkc-init-file-name):
11122 * ido.el (ido-save-directory-list-file):
11123 * emulation/viper.el (viper-custom-file-name):
11124 * emulation/vip.el (vip-startup-file):
11125 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11126 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11127
cc725808
PE
111282013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11129
11130 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11131 * language/thai-word.el: Switch to UTF-8.
11132
a020afb9 11133See ChangeLog.16 for earlier changes.
e3d51b27
MR
11134
11135;; Local Variables:
11136;; coding: utf-8
e3d51b27
MR
11137;; End:
11138
ab422c4d 11139 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
11140
11141 This file is part of GNU Emacs.
11142
11143 GNU Emacs is free software: you can redistribute it and/or modify
11144 it under the terms of the GNU General Public License as published by
11145 the Free Software Foundation, either version 3 of the License, or
11146 (at your option) any later version.
11147
11148 GNU Emacs is distributed in the hope that it will be useful,
11149 but WITHOUT ANY WARRANTY; without even the implied warranty of
11150 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11151 GNU General Public License for more details.
11152
11153 You should have received a copy of the GNU General Public License
11154 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.