Merge from gnulib, incorporating:
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
2d6b6005
SM
12013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * window.el (window--pixel-to-total): Remove unused `mini' var.
4 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5 (split-window): Remove unused `new' var.
6 (window--display-buffer): Remove unused `frame' and `delta' vars.
7 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
8 and display-width'.
9
cf2b7efc
MR
102013-12-17 Martin Rudalics <rudalics@gmx.at>
11
12 * dired.el (dired-mark-pop-up):
13 * register.el (register-preview): Don't bind
14 split-height-threshold here since it's now done in
15 display-buffer-below-selected.
16
ed3af8a7 172013-12-17 oblique <psyberbits@gmail.com> (tiny change)
18
19 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
20 xterm-rgb-convert-to-16bit.
21 (rxvt-register-default-colors): Standardize with
22 xterm-register-default-colors (Bug#14078).
23
76da3455
DK
242013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
25
26 * simple.el (kill-region): Pass mark first, then point, so that
27 kill-append works right (Bug#12819).
28 (copy-region-as-kill, kill-ring-save): Likewise.
29
2b84d763
LL
302013-12-17 Leo Liu <sdl.web@gmail.com>
31
32 * net/rcirc.el (rcirc-add-face):
33 * eshell/em-prompt.el (eshell-emit-prompt):
34 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
35 (Bug#16167)
36
e2f6a0bc
CY
372013-12-17 Chong Yidong <cyd@gnu.org>
38
39 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
40 Suggested by Xue Fuqiao.
41
35b249a6
DG
422013-12-17 Dmitry Gutov <dgutov@yandex.ru>
43
44 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
45
e9145444
SM
462013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
47
48 * net/shr.el (shr-insert-document): Remove unused var
49 `shr-preliminary-table-render'.
50 (shr-rescale-image): Remove unused arg `force'.
51 (shr-put-image): Update calls accordingly.
52 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
53
5556c0ce
DG
542013-12-17 Dmitry Gutov <dgutov@yandex.ru>
55
56 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
57 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
58 :close-all, to see which indentation method to use (Bug#16116).
59 (smie-rules-function): Document the method :close-all.
60
11bade0a
LMI
612013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
62
1c4b1e61
LMI
63 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
64
11bade0a
LMI
65 * net/eww.el (eww-display-html): If we can't find the anchor we're
66 looking for, then go to point-min.
67
8fb8c4f3
PE
682013-12-16 Paul Eggert <eggert@cs.ucla.edu>
69
70 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
71 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
72 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
73 Expand dir too, in case it's relative.
74
6c8e0ae6
JL
752013-12-16 Juri Linkov <juri@jurta.org>
76
77 * desktop.el (desktop-auto-save-timeout): Change default to
78 `auto-save-timeout'. Doc fix.
79 (desktop-save): Skip the timestamp in desktop-saved-frameset
80 when checking for auto-save changes.
81 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
82 `desktop-auto-save' is called repeatedly by the idle timer.
83 (desktop-auto-save-set-timer): Replace `run-with-timer' with
84 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
85 (Bug#15331)
86
2178e858
JL
872013-12-16 Juri Linkov <juri@jurta.org>
88
89 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
90 (Bug#16035)
91 (isearch-pre-command-hook): Check `this-command' for symbolp.
92
39cb42c6
SM
932013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
94
95 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
96
5b9b750a
TZ
972013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
98
99 * progmodes/cfengine.el (cfengine3--current-word): Remove.
100 (cfengine3--current-function): Bring in the current-function
101 functionality from `cfengine3--current-word'.
102 (cfengine3-completion-function): Bring in the
103 bounds-of-current-word functionality from
104 `cfengine3--current-word'.
105
d144ef06
MR
1062013-12-16 Martin Rudalics <rudalics@gmx.at>
107
39cb42c6
SM
108 * window.el (display-buffer-below-selected):
109 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 110
a8bbe298
LL
1112013-12-16 Leo Liu <sdl.web@gmail.com>
112
113 * progmodes/compile.el (compile-goto-error): Do not push-mark.
114 Remove NOMSG arg and all uses changed.
115
2013a2f9
SM
1162013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
117
118 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
119 (cua--deactivate-rectangle): Don't deactivate the mark.
120 (cua-set-rectangle-mark): Don't set mark-active since
121 cua--activate-rectangle already does it for us.
122 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
123 non-rectangular region.
124
125 * emulation/cua-base.el (cua-repeat-replace-region):
126 Use with-current-buffer.
127
128 * net/gnutls.el: Use cl-lib.
129 (gnutls-negotiate): `mapcan' -> cl-mapcan.
130
5ae811dd
TZ
1312013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
132
133 * emacs-lisp/package.el (package-built-in-p): Support both
134 built-in and the package.el converted package descriptions.
135 (package-show-package-list): Allow keywords.
136 (package-keyword-button-action): Use it instead of
137 `finder-list-matches'.
138 (package-menu-filter-interactive): Interactive filtering (by
139 keyword) function.
140 (package-menu--generate): Support keywords and change keymappings
141 and headers when they are given.
142 (package--has-keyword-p): Helper function.
143 (package-menu--refresh): Use it.
144 (package--mapc): Helper function.
145 (package-all-keywords): Use it.
146 (package-menu-mode-map): Set up menu items and keybindings to
147 provide a filtering UI.
148
31b4827e
TZ
1492013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
150
151 * net/gnutls.el (gnutls-verify-error): New defcustom to control
152 the behavior when a certificate fails validation. Defaults to
153 old behavior: never abort, just warn.
154 (gnutls-negotiate): Use it.
155
f93cc74f
MR
1562013-12-14 Martin Rudalics <rudalics@gmx.at>
157
158 * window.el (display-buffer-below-selected): Never split window
159 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
160
f77d7d17
TW
1612013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
162
163 * emacs-lisp/package.el (package--prepare-dependencies): New function.
164 (package-buffer-info): Use it (bug#15108).
aa2bddd7
SM
165
166 * icomplete.el (icomplete-completions): Make sure the prefix is already
167 displayed elsewhere before hiding it.
168
276bc333
DG
1692013-12-14 Dmitry Gutov <dgutov@yandex.ru>
170
171 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
172 open-paren tokens when preceded by a open-paren, too.
173 (ruby-smie-rules): Handle virtual indentation after open-paren
174 tokens specially. If there is code between it and eol, return the
175 column where is starts (Bug#16118).
176
d43957f3
TZ
1772013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
178
a5c1ac0c 179 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 180 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
181 (cfengine3--current-word): Fix parameters.
182 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
183 (cfengine3-completion-function, cfengine3--current-function):
184 Use `assq' for symbols.
d43957f3
TZ
185 (cfengine3--current-function): Fix `cfengine3--current-word' call.
186
06a4f110
GM
1872013-12-13 Glenn Morris <rgm@gnu.org>
188
189 * loadup.el (load-path): Warn if site-load or site-init changes it.
190 No more need to reset it when bootstrapping.
191
978a5fda
TZ
1922013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
193
194 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
195 locations for cf-promises.
196 (cfengine-mode-syntax-functions-regex): New caching variable.
197 (cfengine3-fallback-syntax): Fallback syntax for cases where
198 cf-promises doesn't run.
199 (cfengine3--current-word): Reimplement using
200 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
201 (cfengine3-completion-function, cfengine3--current-function):
202 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
203 (cfengine3-clear-syntax-cache): New function.
204 (cfengine3-make-syntax-cache): Simplify and create
205 `cfengine-mode-syntax-functions-regex' on demand.
206 (cfengine3-format-function-docstring): Don't call
207 `cfengine3-make-syntax-cache' explicitly.
208
71e6691e
MR
2092013-12-13 Martin Rudalics <rudalics@gmx.at>
210
211 Fix windmove-find-other-window broken after pixelwise resizing
212 (Bug#16017).
213 * windmove.el (windmove-other-window-loc): Revert change from
214 2013-12-04.
215 (windmove-find-other-window): Call window-in-direction.
216 * window.el (window-in-direction): New arguments SIGN, WRAP and
217 MINI to emulate original windmove-find-other-window behavior.
218
84c73ba0
DG
2192013-12-13 Dmitry Gutov <dgutov@yandex.ru>
220
221 * simple.el (blink-matching--overlay): New variable.
222 (blink-matching-open): Instead of moving point, highlight the
223 matching paren with an overlay
224 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
225
226 * faces.el (paren-showing-faces, show-paren-match)
227 (show-paren-mismatch): Move from paren.el.
228
b9e20952
LL
2292013-12-13 Leo Liu <sdl.web@gmail.com>
230
231 * indent.el (indent-region): Disable progress reporter in
232 minibuffer. (Bug#16108)
233
234 * bindings.el (visual-order-cursor-movement): Fix version.
235
ce030451
FEG
2362013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
237
238 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
239 Also match after beginning of line.
240 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
241 files. Thanks to Russell Sim. (Bug#15378)
242
4a9c6865
JL
2432013-12-13 Juri Linkov <juri@jurta.org>
244
245 * simple.el <Keypad support>: Remove key bindings duplicated
246 with bindings.el. (Bug#14397)
247
2bc170c3
JL
2482013-12-13 Juri Linkov <juri@jurta.org>
249
250 * comint.el (comint-mode-map): Replace `delete-char' with
251 `delete-forward-char'. (Bug#16109)
252
bc9222c9
FEG
2532013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
254
aa2bddd7
SM
255 * progmodes/python.el (python-indent-calculate-indentation):
256 Fix de-denters cornercase. (Bug#15731)
bc9222c9 257
cb3a1380
SM
2582013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
259
260 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
261 (advice--make): Pay attention to `depth'.
262 (advice--make-1): Don't autoload commands eagerly.
263 * emacs-lisp/elp.el (elp-instrument-function):
264 * emacs-lisp/trace.el (trace-function-internal):
265 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
266
267 * iswitchb.el (iswitchb-mode): Don't belittle ido.
268
01633a17
EZ
2692013-12-12 Eli Zaretskii <eliz@gnu.org>
270
271 * term/w32-win.el (w32-handle-dropped-file):
272 * startup.el (normal-top-level):
273 * net/browse-url.el (browse-url-file-url):
274 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
275 decode file names using 'utf-8' rather than
276 file-name-coding-system.
277
09faee72
FEG
2782013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
279
280 * progmodes/python.el (python-indent-context)
281 (python-indent-calculate-indentation): Fix auto-identation
282 behavior for comment blocks. (Bug#15916)
283
f4f84024 2842013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 285
cb3a1380
SM
286 * progmodes/python.el (python-indent-calculate-indentation):
287 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
288 operators when they are just string constituents. (Bug#15812)
289
d5ccb7be
JL
2902013-12-12 Juri Linkov <juri@jurta.org>
291
292 * uniquify.el (uniquify-buffer-name-style): Change default to
293 `post-forward-angle-brackets'.
294
295 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
296 `uniquify'. Change default to `post-forward-angle-brackets'.
297
7b3f5679
GM
2982013-12-11 Glenn Morris <rgm@gnu.org>
299
300 * emacs-lisp/package.el (finder-list-matches):
301 Autoload rather than falsely declaring.
302
f4fe8fdd
TZ
3032013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
304
305 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
306 (eww-mode-map): Use them.
307
3c29190f
MR
3082013-12-11 Martin Rudalics <rudalics@gmx.at>
309
310 * window.el (display-buffer-in-side-window): Fix doc-string
311 (Bug#16115).
312
0cd616a2
JB
3132013-12-11 Juanma Barranquero <lekktu@gmail.com>
314
315 * vc/vc-git.el: Silence byte-compiler warnings.
316 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
317 (log-edit-set-header): Declare.
318
3ef8e0d1
EZ
3192013-12-11 Eli Zaretskii <eliz@gnu.org>
320
321 * Makefile.in (custom-deps, finder-data): Run output file names
322 through unmsys--file-name. (Bug#16099)
323
afdadaf7
SM
3242013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
325
7ae3ae39 326 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 327 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 328
5b4f37ab
SM
329 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
330 instead of deleting the selection "by hand" (bug#16098).
331 Rely on insert-for-yank to yank rectangles.
332 (cua-highlight-region-shift-only): Mark obsolete.
333 (cua-mode): Don't enable/disable transient-mark-mode,
334 shift-select-mode (cua-mode works both with and without them), and
335 pc-selection-mode (obsolete).
336 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
337 (cua--deactivate-rectangle): Deactivate it.
338
4b72c12b
SM
339 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
340 (delete-selection-helper): Make sure yank starts at the top of the
341 deleted region.
342 (minibuffer-keyboard-quit): Use region-active-p.
343
e82af72d
SM
344 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
345
afdadaf7
SM
346 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
347 to `delete' (bug#16109).
348
ed4bc201
RS
3492013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
350
351 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
352 info manual and show keybindings and set `:group' keyword.
353
bb8097b9
JL
3542013-12-11 Juri Linkov <juri@jurta.org>
355
356 * delsel.el (delete-active-region): Let-bind `this-command'
357 to prevent `kill-region' from changing its original value.
358 (delete-selection-helper): Handle `overwrite-mode' for the type
359 `kill' exactly the same way as for the type `t'.
360 (insert-char, quoted-insert, reindent-then-newline-and-indent):
361 Support more commands. (Bug#13312)
362
c1916ff5
JL
3632013-12-11 Juri Linkov <juri@jurta.org>
364
365 * bindings.el: Map kp keys to non-kp keys systematically
366 with basic modifiers control, meta and shift. (Bug#14397)
367
b68cf43c
KN
3682013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
369
370 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
371 "Close browser" menu items. Fix wrong function of "List
372 bookmarks".
373
4cc51eaf
JL
3742013-12-11 Juri Linkov <juri@jurta.org>
375
376 * misearch.el (multi-isearch-buffers): Set the value of
377 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
378 arg of isearch-forward to t.
379 (multi-isearch-buffers-regexp): Set the value of
380 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
381 arg of isearch-forward-regexp to t.
382 (multi-isearch-files): Set the value of
383 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
384 arg of isearch-forward to t.
385 (multi-isearch-files-regexp): Set the value of
386 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
387 arg of isearch-forward-regexp to t. (Bug#16035)
388
389 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
390 arg of isearch-forward to t.
391 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
392 arg of isearch-forward-regexp to t.
393 (dired-isearch-filter-filenames): Remove unnecessary check for
394 `dired-isearch-filenames'.
395
396 * comint.el (comint-history-isearch-backward):
397 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
398 (comint-history-isearch-backward-regexp):
399 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
400
ceac12b7
EZ
4012013-12-10 Eli Zaretskii <eliz@gnu.org>
402
403 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
404 unmsys--file-name. (Bug#16099)
405
5a565782
TZ
4062013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
407
cb3a1380
SM
408 * emacs-lisp/package.el (package-keyword-button-action):
409 Remove finder.el require dependency.
5a565782 410
a81fc7ba
TZ
4112013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
412
413 * emacs-lisp/package.el: Require finder.el.
414 (describe-package-1): Add keyword buttons.
415 (package-make-button): New convenience function.
416 (package-keyword-button-action): Keyword button action using
417 `finder-list-matches'
418
6aaca951
EZ
4192013-12-09 Eli Zaretskii <eliz@gnu.org>
420
421 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
422 last commit.
423
a1099a91
MA
4242013-12-09 Michael Albinus <michael.albinus@gmx.de>
425
426 * autorevert.el (auto-revert-notify-add-watch): Do not handle
427 symlinked files.
428
8212d9c0
DG
4292013-12-09 Dmitry Gutov <dgutov@yandex.ru>
430
431 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
432 after the end of a percent literal.
433
8f48d131
CD
4342013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
435
cb3a1380
SM
436 * progmodes/ruby-mode.el (ruby-forward-string): Document.
437 Handle caret-delimited strings (Bug#16079).
8f48d131 438
ff8c9764
DG
4392013-12-09 Dmitry Gutov <dgutov@yandex.ru>
440
cb3a1380
SM
441 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
442 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
443 `ruby-parse-partial' (Bug#16078).
444
d64643b4
LL
4452013-12-09 Leo Liu <sdl.web@gmail.com>
446
447 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
448
47e59c66
DG
4492013-12-08 Dmitry Gutov <dgutov@yandex.ru>
450
451 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
452 (js-switch-indent-offset): New option.
453 (js--proper-indentation): Use it. And handle the case when
454 "default" is actually a key in an object literal.
455 (js--same-line): New function.
456 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
457 (js--indent-in-array-comp, js--array-comp-indentation):
458 New functions.
47e59c66
DG
459 (js--proper-indentation): Use them, to handle array comprehension
460 continuations.
461
974ebc9c
LL
4622013-12-08 Leo Liu <sdl.web@gmail.com>
463
464 * progmodes/flymake.el (flymake-highlight-line): Re-write.
465 (flymake-make-overlay): Remove arg MOUSE-FACE.
466 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
467
27262e39
SM
4682013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
469
470 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
471 New function.
472 (redisplay-highlight-region-function): Use it.
473
474 * emulation/cua-base.el (cua--explicit-region-start)
475 (cua--last-region-shifted): Remove.
476 (cua--deactivate): Use deactivate-mark.
477 (cua--pre-command-handler-1): Don't handle shift-selection.
478 (cua--post-command-handler-1): Don't change transient-mark-mode.
479 (cua--select-keymaps): Use region-active-p rather than
480 cua--explicit-region-start or cua--last-region-shifted.
481 (cua-mode): Enable shift-select-mode.
482
6407822c
LL
4832013-12-08 Leo Liu <sdl.web@gmail.com>
484
27262e39
SM
485 * progmodes/flymake.el (flymake-popup-current-error-menu):
486 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
487 (flymake-posn-at-point-as-event, flymake-popup-menu)
488 (flymake-make-emacs-menu): Remove. (Bug#16077)
489
00a2b823
SM
4902013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
491
02033d49
SM
492 * rect.el (rectangle-mark-mode): Activate mark even if
493 transient-mark-mode is off (bug#16066).
494 (rectangle--highlight-for-redisplay): Fix boundary condition when point
495 is > mark and at bolp.
496
6f8dfccf
SM
497 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
498 (region-extract-function): Use it.
499 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
500 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
501 Delete functions.
502 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
503 kill-ring-save, kill-region, delete-char, delete-forward-char.
504 Ignore self-insert-iso.
505
506 * emulation/cua-gmrk.el (cua--init-global-mark):
507 Ignore `self-insert-iso'.
508
509 * emulation/cua-base.el (cua--prefix-copy-handler)
510 (cua--prefix-cut-handler): Rely on region-extract-function rather than
511 checking cua--rectangle.
512 (cua-delete-region): Use region-extract-function.
513 (cua-replace-region): Delete function.
514 (cua-copy-region, cua-cut-region): Obey region-extract-function.
515 (cua--pre-command-handler-1): Don't do the delete-selection thing.
516 (cua--self-insert-char-p): Ignore `self-insert-iso'.
517 (cua--init-keymaps): Don't remap delete-selection commands.
518 (cua-mode): Use delete-selection-mode instead of rolling our own
519 (bug#16085).
520
521 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
522 Obey region-extract-function.
523
00a2b823
SM
524 Make registers and delete-selection-mode work on rectangles.
525 * register.el (describe-register-1): Don't modify the register's value.
526 (copy-to-register): Obey region-extract-function.
527 * delsel.el (delete-active-region): Obey region-extract-function.
528
a92fa5f1
LL
5292013-12-08 Leo Liu <sdl.web@gmail.com>
530
531 * progmodes/flymake.el (flymake, flymake-error-bitmap)
532 (flymake-warning-bitmap, flymake-fringe-indicator-position)
533 (flymake-compilation-prevents-syntax-check)
534 (flymake-start-syntax-check-on-newline)
535 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
536 (flymake-start-syntax-check-on-find-file, flymake-log-level)
537 (flymake-xml-program, flymake-master-file-dirs)
538 (flymake-master-file-count-limit)
539 (flymake-allowed-file-name-masks): Relocate.
540 (flymake-makehash, flymake-float-time)
541 (flymake-replace-regexp-in-string, flymake-split-string)
542 (flymake-get-temp-dir): Remove.
543 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
544 (flymake-current-row, flymake-selected-frame)
545 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
546 related functions. (Bug#16077)
547
73c8ceea
BB
5482013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
549
550 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
551
faec28d9
TH
5522013-12-07 Tassilo Horn <tsdh@gnu.org>
553
554 * help-fns.el (describe-function-1): Use new advice-* functions
555 rather than old ad-* functions. Fix function type description and
556 source links for advised functions and subrs.
557
e330b646
LMI
5582013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
559
00a2b823 560 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 561
4803595d
MA
5622013-12-06 Michael Albinus <michael.albinus@gmx.de>
563
564 * progmodes/compile.el (compilation-start):
565 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
566
567 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
568 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
569
fa834a93
DG
5702013-12-06 Dmitry Gutov <dgutov@yandex.ru>
571
00a2b823
SM
572 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
573 Touch up the last change.
fa834a93 574
b2856a6f
LL
5752013-12-06 Leo Liu <sdl.web@gmail.com>
576
577 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
578 (inferior-octave-startup): Always use "octave> " for prompt.
579 (octave-goto-function-definition)
580 (octave-sync-function-file-names)
581 (octave-find-definition-default-filename): Remove redundant backquotes.
582
af67e79a
DG
5832013-12-06 Dmitry Gutov <dgutov@yandex.ru>
584
585 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
586 syntax for `?'.
587 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
588 where appropriate already.
589 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
590 end of method names (Bug#15874).
591
bf093209
JL
5922013-12-06 Juri Linkov <juri@jurta.org>
593
594 * isearch.el (isearch--saved-overriding-local-map):
595 New internal variable.
596 (isearch-mode): Set it to the initial value of
597 `overriding-terminal-local-map'.
598 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
599 with `isearch--saved-overriding-local-map'. (Bug#16035)
600
16588fad
DG
6012013-12-06 Dmitry Gutov <dgutov@yandex.ru>
602
00a2b823
SM
603 * progmodes/octave.el (inferior-octave-completion-table):
604 Turn back into function, use `completion-table-with-cache'
16588fad
DG
605 (Bug#11906). Update all references.
606
607 * minibuffer.el (completion-table-with-cache): New function.
608
bf4906d7
CD
6092013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
610
611 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
612
ff69c18f
TZ
6132013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
614
615 * net/eww.el (eww-current-source): New variable to store page
616 source.
617 (eww-display-html, eww-mode, eww-save-history)
618 (eww-restore-history): Use it.
619 (eww-view-source): New command to view page source.
620 Opportunistically uses `html-mode' to highlight the buffer.
621 (eww-mode-map): Install it.
622
b85eff45
MA
6232013-12-05 Michael Albinus <michael.albinus@gmx.de>
624
625 * net/dbus.el (dbus-unregister-service)
626 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
627 Fix docstring.
628 (dbus-unregister-service): Skip :serial entries in
629 `dbus-registered-objects-table'.
630 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
631
39eb0899
TZ
6322013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
633
634 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
635 around keywords with extra `split-string' argument.
636
456760a5
MR
6372013-12-04 Martin Rudalics <rudalics@gmx.at>
638
639 * windmove.el (windmove-other-window-loc): Handle navigation
640 between windows (excluding the minibuffer window - Bug#16017).
641
81961e4c
MA
6422013-12-04 Michael Albinus <michael.albinus@gmx.de>
643
644 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
645 in D-Bus type syntax.
646 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
647 preserve unibyte strings. (Bug#16048)
648
8497f938
SM
6492013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
650
651 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
652 Call force-mode-line-update is the proper buffer (bug#16042).
653
dda61916
DG
6542013-12-04 Dmitry Gutov <dgutov@yandex.ru>
655
656 * vc/log-edit.el (log-edit-add-new-comment): Rename to
657 `log-edit-remember-comment', make argument optional. Adjust all
658 callers.
659 (log-edit-mode): Add `log-edit-remember-comment' to
660 `kill-buffer-hook' locally.
661 (log-edit-kill-buffer): Don't remember comment explicitly since
662 the buffer is killed anyway.
663
c085e5b9
JL
6642013-12-04 Juri Linkov <juri@jurta.org>
665
666 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
667 add-hook and remove-hook for multi-buffer search. (Bug#16035)
668
d6f2380e
TR
6692013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
670
671 * notifications.el (notifications-close-notification): Call the
81961e4c 672 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 673
39fa32d6
KY
6742013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
675
676 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
677
9139632a
JL
6782013-12-03 Juri Linkov <juri@jurta.org>
679
680 * progmodes/compile.el (compilation-start): Rename window alist
681 entry `no-display-ok' to `allow-no-window'.
682
683 * simple.el (shell-command): Add window alist entry
684 `allow-no-window' to `display-buffer'.
685 (async-shell-command): Doc fix.
686
687 * window.el (display-buffer-no-window): New action function.
688 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
689
0f457a37
DG
6902013-12-02 Dmitry Gutov <dgutov@yandex.ru>
691
692 * vc/log-edit.el (log-edit-set-header): Extract from
693 `log-edit-toggle-header'.
694 (log-edit-extract-headers): Separate the summary, when extracted
695 from header, from the rest of the message with an empty line.
696
697 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
698 line, if present, to the Summary header.
699
0962f376
SM
7002013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
701
702 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
703 in current-buffer (bug#16029).
704
f345395c
HE
7052013-12-02 Helmut Eller <eller.helmut@gmail.com>
706
707 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
708 (debugger-mode-map): Bind it.
709 (debugger--backtrace-base): New function.
710 (debugger-eval-expression): Use it.
711 (debugger-frame-number): Skip local vars when present.
712 (debugger--locals-visible-p, debugger--insert-locals)
713 (debugger--show-locals, debugger--hide-locals): New functions.
714
a8a15d9d
MA
7152013-12-02 Michael Albinus <michael.albinus@gmx.de>
716
717 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
718 "LC_ALL".
719 (tramp-get-remote-locale): New defun.
720 (tramp-open-connection-setup-interactive-shell): Use it.
721
0518b057
LL
7222013-12-02 Leo Liu <sdl.web@gmail.com>
723
724 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
725
726 * progmodes/sh-script.el (sh-shell-process):
727 * progmodes/octave.el (inferior-octave-process-live-p):
728 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
729 (gdb-inferior-io-sentinel):
730 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
731
3adc9c6d
DG
7322013-12-02 Dmitry Gutov <dgutov@yandex.ru>
733
734 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
735 `save-selected-window' to `log-edit-hide-buf'. This makes
736 `log-edit-show-files' idempotent.
737 (log-edit-show-files): Mark the new window as dedicated.
738
47e8b74e
DG
7392013-12-02 Dmitry Gutov <dgutov@yandex.ru>
740
741 * vc/log-edit.el (log-edit-mode-map): Add binding for
742 `log-edit-kill-biffer'.
743 (log-edit-hide-buf): Add a FIXME comment.
744 (log-edit-add-new-comment): New function, extracted from
745 `log-edit-done'.
746 (log-edit-done, log-edit-add-to-changelog): Use it.
747 (log-edit-kill-buffer): New command.
748
1f6e1bb0
LMI
7492013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
750
751 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
752 instead of killing the buffer.
753
fb651d15
SM
7542013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
755
756 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
757
8feacce0
RS
7582013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
759
fb651d15 760 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 761 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
762 (eww-form-checkbox, eww-toggle-checkbox):
763 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
764
765 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
766 (shr--get-media-pref, shr--extract-best-source): New function.
ad9a773c
RS
767 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
768 no :src tag was specified.
769
fb651d15 770 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
771 (eww-render): Handle `eww-use-external-browser-for-content-type'.
772 Use \\` to match beginning of string instead of ^.
773 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 774 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 775
177948a5
RS
776 * net/shr.el (shr-tag-video): Display content for video if no
777 poster is available.
eb2dd24d 778 (shr-tag-audio): Add support for <audio> tag.
177948a5
RS
779
780 * net/eww.el (eww-text-input-types): : New const.
781 (eww-process-text-input): Treat input types in
782 `eww-text-input-types' as text.
783
8feacce0
RS
784 * net/shr.el (shr-tag-table): Fix comment typo.
785
513562a1
LMI
7862013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
787
788 * net/eww.el (eww-follow-link): New command to avoid reloading
789 pages when we follow #target links (bug#15243).
de8a5633 790 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 791
9dd99753
KN
7922013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
793
794 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
795 forms.
796
3e9876de
LMI
7972013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
798
799 * net/eww.el (eww-restore-history): Update the window title after
800 moving in the history.
ab6dea82 801 (eww-current-dom): New variable used to save the current DOM.
3e9876de 802
52789f7f
DG
8032013-12-01 Dmitry Gutov <dgutov@yandex.ru>
804
805 * vc/log-edit.el (log-edit-mode-map): Add binding for
806 `log-edit-beginning-of-line'.
807 (log-edit-setup-add-author): New user option.
808 (log-edit-beginning-of-line): New command.
809 (log-edit): Move major mode call above the contents setup so that
810 the local variable values are already applied.
811 (log-edit): Only insert "Author: " when
812 `log-edit-setup-add-author' is non-nil.
813 (log-edit): When SETUP is non-nil, position point after ": "
814 instead of point-min.
815
2e6710c3
GM
8162013-12-01 Glenn Morris <rgm@gnu.org>
817
818 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
819
fadec31f
EZ
8202013-11-30 Eli Zaretskii <eliz@gnu.org>
821
822 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 823 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
824 visible. (Bug#16014)
825
10634b40 8262013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
827
828 Support resizing frames and windows pixelwise.
829 * cus-start.el (frame-resize-pixelwise)
830 (window-resize-pixelwise): New entries.
831 * emacs-lisp/debug.el (debug): Use window-total-height instead
832 of window-total-size.
833 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
834 * help.el (describe-bindings-internal): Call help-buffer
835 (temp-buffer-max-width): New option.
836 (resize-temp-buffer-window, help-window-setup)
837 (with-help-window): Rewrite.
838 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
839 dragging dividers.
840 * window.el (frame-char-size, window-min-pixel-height)
841 (window-safe-min-pixel-height, window-safe-min-pixel-width)
842 (window-min-pixel-width, window-safe-min-pixel-size)
843 (window-combination-p, window-safe-min-size)
844 (window-resizable-p, window--size-to-pixel)
845 (window--pixel-to-size, window--resize-apply-p): New functions.
846 (window-safe-min-height): Fix doc-string.
847 (window-size, window-min-size, window--min-size-1)
848 (window-sizable, window-sizable-p, window--min-delta-1)
849 (window-min-delta, window--max-delta-1, window-max-delta)
850 (window--resizable, window--resizable-p, window-resizable)
851 (window-full-height-p, window-full-width-p, window-at-side-p)
852 (window--in-direction-2, window-in-direction)
853 (window--resize-reset-1, window--resize-mini-window)
854 (window-resize, window-resize-no-error)
855 (window--resize-child-windows-normal)
856 (window--resize-child-windows, window--resize-siblings)
857 (window--resize-this-window, window--resize-root-window)
858 (window--resize-root-window-vertically)
859 (adjust-window-trailing-edge, enlarge-window, shrink-window)
860 (maximize-window, minimize-window, delete-window)
861 (quit-restore-window, window-split-min-size, split-window)
862 (balance-windows-2, balance-windows)
863 (balance-windows-area-adjust, balance-windows-area)
864 (window--state-get-1, window-state-get, window--state-put-1)
865 (window--state-put-2, window-state-put)
fb651d15
SM
866 (display-buffer-record-window, window--display-buffer):
867 Make functions handle pixelwise sizing of windows.
880e6158 868 (display-buffer--action-function-custom-type)
fb651d15
SM
869 (display-buffer-fallback-action):
870 Add display-buffer-in-previous-window.
880e6158
MR
871 (display-buffer-use-some-window): Resize window to height it had
872 before.
873 (fit-window-to-buffer-horizontally): New option.
874 (fit-frame-to-buffer): Describe new values.
875 (fit-frame-to-buffer-bottom-margin): Replace with
876 fit-frame-to-buffer-margins.
877 (window--sanitize-margin): New function.
878 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
879 using window-text-pixel-size.
880
f9b697dd
GM
8812013-11-30 Glenn Morris <rgm@gnu.org>
882
3e2fb4db
GM
883 * emacs-lisp/bytecomp.el (byte-compile-form):
884 Make the `interactive-only' warning like the `obsolete' one.
885 * comint.el (comint-run):
886 * files.el (insert-file-literally, insert-file):
887 * replace.el (replace-string, replace-regexp):
888 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
889 (goto-line, insert-buffer, next-line, previous-line):
890 Tweak `interactive-only' spec.
891
f9b697dd
GM
892 Stop keeping (most) generated cedet grammar files in the repository.
893 * Makefile.in (semantic): New.
894 (compile-main): Depend on semantic.
895
da048127
SM
8962013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
897
7784b779
SM
898 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
899 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
900
4e36a6a6
SM
901 * uniquify.el (uniquify-buffer-name-style): Change default.
902
903 * loadup.el: Preload "uniquify".
904
e0ba1308
SM
905 * time.el (display-time-update): Update all mode lines (bug#15999).
906
da048127
SM
907 * electric.el (electric-indent-mode): Enable by default.
908 * loadup.el: Preload "electric".
909
015b3b3e
BB
9102013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
911
912 * emacs-lisp/helpers.el (string-empty-p): New function.
913 (string-blank-p): New function.
914
7efb806d
AP
9152013-11-29 Andreas Politz <politza@hochschule-trier.de>
916
917 * imenu.el (imenu--index-alist): Add missing dot to the docstring
918 (Bug#14029).
919
c8f0efc2
AP
9202013-11-29 Andreas Politz <politza@fh-trier.de>
921 * imenu.el (imenu--subalist-p): Don't error on non-conses and
922 allow non-lambda lists as functions.
923 (imenu--in-alist): Don't recurse into non-subalists.
924 (imenu): Don't pass function itself as an argument (Bug#14029).
925
bd15d9d1
SM
9262013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
927
928 * progmodes/python.el (python-mode-map): Remove binding for ":".
929 (python-indent-electric-colon): Remove command.
930 (python-indent-post-self-insert-function): Integrate the previous code
931 of python-indent-electric-colon. Make it conditional on
932 electric-indent-mode.
933 (python-mode): Add ?: to electric-indent-chars.
934 Move python-indent-post-self-insert-function to the end of
935 post-self-insert-hook.
936
1b10adb6
SM
9372013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
938
655ab9a3
SM
939 * doc-view.el (doc-view-goto-page): Update mode-line.
940
1b10adb6
SM
941 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
942
7e3bf78c
GM
9432013-11-27 Glenn Morris <rgm@gnu.org>
944
945 * international/charprop.el, international/uni-bidi.el:
946 * international/uni-category.el, international/uni-combining.el:
947 * international/uni-comment.el, international/uni-decimal.el:
948 * international/uni-decomposition.el, international/uni-digit.el:
949 * international/uni-lowercase.el, international/uni-mirrored.el:
950 * international/uni-name.el, international/uni-numeric.el:
951 * international/uni-old-name.el, international/uni-titlecase.el:
952 * international/uni-uppercase.el:
953 Remove generated files from VCS repository.
954
fb6a5d68
EZ
9552013-11-27 Eli Zaretskii <eliz@gnu.org>
956
957 * filenotify.el (file-notify-add-watch): Don't special-case
958 w32notify when computing the directory to watch.
959
cb6c95a3
GM
9602013-11-27 Glenn Morris <rgm@gnu.org>
961
20372d0c
GM
962 Make bootstrap without generated uni-*.el files possible again.
963 * loadup.el: Update command-line-args checking for unidata-gen.
964 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
965 * composite.el, international/characters.el:
966 Handle unicode tables being undefined.
967
52d6635f 968 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
969 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
970 (compile-main): Depend on leim rule.
971 (leim): New rule.
972 * loadup.el: Move leim-list.el to leim/ subdirectory.
973 * startup.el (normal-top-level): No more leim directory.
974 * international/ja-dic-cnv.el (skkdic-convert):
975 Disable version-control and autoloads in output files.
976 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
977 Disable version-control and autoloads in output files.
978 * leim/quail: Move here from ../leim.
979 * leim/quail/hangul.el (hangul-input-method-activate):
980 Add autoload cookie.
981 (generated-autoload-load-name): Set file-local value.
982 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
983 (generated-autoload-load-name): Set file-local value.
984
0449d6cd 9852013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee
TZ
986
987 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
988 (eww-add-bookmark): ask confirmation when add to bookmarks
989 (eww-quit): ask confirmation before quitting eww
990
0e2c793f
EZ
9912013-11-26 Eli Zaretskii <eliz@gnu.org>
992
993 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
994 reading output from Diff on MS-Windows and MS-DOS.
995
447bdcb8
BB
9962013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
997
998 * emacs-lisp/helpers.el (string-reverse): New function.
999
5fbf6856
MA
10002013-11-26 Michael Albinus <michael.albinus@gmx.de>
1001
1002 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1003 names on MS Windows, like "/[::1]:".
1004
1005 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1006 SWITCHES.
1007
624780f0
GM
10082013-11-26 Glenn Morris <rgm@gnu.org>
1009
0bf3f0fa
GM
1010 * progmodes/python.el (python-indent-guess-indent-offset):
1011 Avoid corner-case error. (Bug#15975)
1012
624780f0
GM
1013 Preload leim-list.el. (Bug#4789)
1014 * loadup.el: Load leim-list.el when found.
1015 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1016
4301875e 10172013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
1018
1019 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1020
4301875e
BB
1021 * emacs-lisp/helpers.el (string-join): New function.
1022
1633a815 10232013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
1024
1025 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1026 Mark as obsolete and replace it with a symbol property.
1027 (byte-compile-form): Use new 'interactive-only property.
1028 * comint.el, files.el, replace.el, simple.el:
1029 Apply new 'interactive-only properly.
1030
00139435
MR
10312013-11-25 Martin Rudalics <rudalics@gmx.at>
1032
1033 * window.el (display-buffer-at-bottom): Make sure that
1034 split-window-sensibly creates the new window on bottom
1035 (Bug#15961).
1036
5f5b128d
DK
10372013-11-23 David Kastrup <dak@gnu.org>
1038
1039 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1040 on the conflict markers when available.
1041 (smerge--get-marker): New function.
1042 (smerge-end-re, smerge-base-re): Add subgroup.
1043
623891e5
SM
10442013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1045
1046 * frame.el (handle-focus-in, handle-focus-out): Add missing
1047 interactive spec.
1048
05ca27d8
MA
10492013-11-25 Michael Albinus <michael.albinus@gmx.de>
1050
1051 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1052 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1053
511fa0d3
SM
10542013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1055
e82ad66c
SM
1056 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1057 (gomoku--last-pos): New var.
1058 (gomoku--intangible-chars): New const.
1059 (gomoku--intangible): New function.
1060 (gomoku-mode): Use it. Derive from special-mode.
1061 (gomoku-move-up): Adjust line count.
1062 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1063 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1064 Simplify accordingly.
1065
511fa0d3
SM
1066 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1067 Remove blink-cursor code.
1068 (blink-cursor-timer-function, blink-cursor-suspend):
1069 Don't special-case GUIs.
1070 (blink-cursor-mode): Use focus-in/out-hook.
1071
6f20dd03
DG
10722013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1073
1074 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1075 work when annotation is invisible (Bug#13886).
1076
431dec31 10772013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
1078
1079 * json.el (json-alist-p): Only return non-nil if the alist has
1080 simple keys (Bug#13518).
1081
431dec31 10822013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
1083
1084 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1085 when control-statement is the first statement in a buffer (Bug#15956).
1086
ee4f0261
DG
10872013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1088
1089 * imenu.el (imenu-generic-skip-comments-and-strings):
1090 New option (Bug#15560).
1091 (imenu--generic-function): Use it.
1092
c484f866
JS
10932013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1094
1095 * minibuffer.el (completion--in-region-1): Scroll the correct
1096 window. (Bug#13898)
1097
41ce6f70
BB
10982013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1099
b55aea38
BB
1100 * emacs-lisp/helpers.el: Add some string helpers.
1101 (string-trim-left): Removes leading whitespace.
1102 (string-trim-right): Removes trailing whitespace.
1103 (string-trim): Removes leading and trailing whitespace.
1104
41ce6f70
BB
1105 * subr.el (string-suffix-p): New function.
1106
3cfb6af3
GM
11072013-11-23 Glenn Morris <rgm@gnu.org>
1108
1109 * progmodes/python.el (python-shell-send-file):
1110 Add option to delete file when done. (Bug#15647)
1111 (python-shell-send-string, python-shell-send-region): Use it.
1112
c27924b7
IS
11132013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1114
e1b01c7f
IS
1115 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1116 to set buffer-read-only to t, never to nil. (Bug#15938)
1117
c27924b7
IS
1118 * textmodes/tex-mode.el (latex-noindent-environments):
1119 Add safe-local-variable property. (Bug#15936)
1120
17e0445b
GM
11212013-11-23 Glenn Morris <rgm@gnu.org>
1122
92f78ea3
GM
1123 * textmodes/enriched.el (enriched-mode): Doc fix.
1124 * emacs-lisp/authors.el (authors-renamed-files-alist):
1125 Add enriched.doc -> enriched.txt.
1126
17e0445b
GM
1127 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1128
965bb23a
LL
11292013-11-22 Leo Liu <sdl.web@gmail.com>
1130
1131 * progmodes/octave.el (inferior-octave-startup): Spit out error
1132 message.
1133
d19ffd64
BB
11342013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1135
1136 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1137 Improve docstring.
15ba2182
BB
1138 Add :version.
1139 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 1140
7a7567d2
LL
11412013-11-22 Leo Liu <sdl.web@gmail.com>
1142
1143 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1144 (Bug#15076)
8c09f64b
LL
1145 (octave-help-mode): Adapt to change to help-mode-finish to use
1146 derived-mode-p on 2013-09-17.
1147 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 1148 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 1149
724bc265
LL
11502013-11-22 Leo Liu <sdl.web@gmail.com>
1151
1152 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1153 (inferior-octave-startup, inferior-octave-check-process)
1154 (inferior-octave-track-window-width-change)
1155 (octave-completion-at-point, octave-eldoc-function): Use it.
1156 (octave-kill-process): Provide confirmation. (Bug#10564)
1157
38637cca
LL
11582013-11-21 Leo Liu <sdl.web@gmail.com>
1159
511fa0d3
SM
1160 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1161 Fix obsolete variable comment-use-global-state.
38637cca 1162
06e752b4
RS
11632013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1164
511fa0d3
SM
1165 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1166 Add `octave-source-file'.
06e752b4
RS
1167 (octave-source-file): New function. (Bug#15935)
1168
0449d6cd 11692013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
1170
1171 * net/eww.el (eww-local-regex): New variable.
1172 (eww): Use it to detect localhost and similar.
1173
b6ffa04a
LL
11742013-11-21 Leo Liu <sdl.web@gmail.com>
1175
1176 Add completion for command `ag'.
2021a200
LL
1177 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1178 (pcomplete/ag): New function.
1179 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 1180
d1a6bccc
SM
11812013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1182
1183 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1184 (bug#14646).
1185 (make-obsolete): Remove interactive spec.
1186
2df10228
GM
11872013-11-21 Glenn Morris <rgm@gnu.org>
1188
1189 * startup.el (command-line-1): Use path-separator with -L.
1190
86fd16b6
TZ
11912013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1192
1193 * emacs-lisp/package.el (describe-package-1): Add package archive
1194 to shown fields.
1195
0449d6cd 11962013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
1197
1198 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1199 Change default to "# encoding: %s" to differentiate it from the
1200 default Ruby encoding comment template.
1201
dc7e8c17 12022013-11-20 era eriksson <era+emacsbugs@iki.fi>
1203
1204 * ses.el (ses-mode): Doc fix. (Bug#14748)
1205
f0cfa5fe
LL
12062013-11-20 Leo Liu <sdl.web@gmail.com>
1207
1208 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1209
826dc7b6
DN
12102013-11-19 Dan Nicolaescu <dann@gnu.org>
1211
1212 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1213 when rebase or bisect are in progress.
1214
a6e3a5d5
XF
12152013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1216
1217 * filenotify.el (file-notify-add-watch): Doc fix.
1218
f130cb76
LL
12192013-11-19 Leo Liu <sdl.web@gmail.com>
1220
e0855d7d
LL
1221 * obsolete/rcompile.el: Mark obsolete.
1222
f130cb76 1223 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
1224 (compilation-goto-locus, compilation-find-file):
1225 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
1226 (Bug#13594)
1227
1228 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
1229 new parameter no-display-ok. Return either a window or nil
1230 but never a non-window value.
f130cb76 1231
1f35d401
SM
12322013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1233
25158c76
SM
1234 * electric.el (electric-indent-mode-map): Remove.
1235 (electric-indent-mode): Change the global-map instead (bug#15915).
1236
1237 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1238 Use add-function.
1f35d401 1239
9bc67baa
SM
12402013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1241
986545b5
SM
1242 * emacs-lisp/nadvice.el (remove-function): Align with
1243 add-function's behavior.
1244
9bc67baa
SM
1245 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1246 (gdb--string-regexp): New constant.
1247 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1248 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1249 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1250 submatch 1.
1251 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1252 Adjust use accordingly.
1253 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1254
56cd894e
AS
12552013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1256
1257 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1258 interpolation curlies (Bug#15914).
1259
014690de
JB
12602013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1261
1262 * calc/calc.el (calc-context-sensitive-enter): New variable.
1263 (calc-enter): Use `calc-context-sensitive-enter'.
1264
7e26a6c3
TZ
12652013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1266
1267 * progmodes/cfengine.el: Version bump.
1268 (cfengine-cf-promises): New defcustom to locate cf-promises.
1269 (cfengine3-vartypes): Add new "data" type.
1270 (cfengine3--current-word): New function to get current name-like
1271 word or its bounds.
1272 (cfengine3--current-function): New function to look up a CFEngine
1273 function's definition.
1274 (cfengine3-format-function-docstring): New function.
1275 (cfengine3-make-syntax-cache): New function.
1276 (cfengine3-documentation-function): New function: ElDoc glue.
1277 (cfengine3-completion-function): New function: completion glue.
1278 (cfengine3-mode): Set `compile-command',
1279 `eldoc-documentation-function', and add to
1280 `completion-at-point-functions'.
1281
355204dd
MA
12822013-11-16 Michael Albinus <michael.albinus@gmx.de>
1283
1284 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1285 `tramp-current-connection'.
1286
43cebc23
DG
12872013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1288
1289 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1290 nil/self/true/false with "end of symbol".
1291
a3fed6ff
BB
12922013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1293
1294 * subr.el (version-regexp-alist): Fix a typo.
1295
e675b3e4
MA
12962013-11-15 Michael Albinus <michael.albinus@gmx.de>
1297
1298 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1299 "en_US.utf8" and "LC_CTYPE" to "".
1300 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1301 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1302
a1f03e89
LL
13032013-11-15 Leo Liu <sdl.web@gmail.com>
1304
1305 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1306
5d9d9451
SM
13072013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1308
58362662
CS
1309 * progmodes/gud.el (ctl-x-map):
1310 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
1311 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1312
6c1bf086
BB
13132013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1314
0d5363c4
BB
1315 * subr.el (version-regexp-alist):
1316 Recognize hg, svn and darcs versions as snapshot versions.
1317
4e9fc48c
BB
1318 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1319 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1320 (ruby--encoding-comment-required-p): Extract from
1321 `ruby-mode-set-encoding'.
1322 (ruby-mode-set-encoding): Add the ability to always insert an
1323 utf-8 encoding comment. Fix and simplify coding comment update
1324 logic.
6c1bf086 1325
2f7e72f8
MA
13262013-11-14 Michael Albinus <michael.albinus@gmx.de>
1327
1328 * net/tramp-gvfs.el (top): Run init code only when
1329 `tramp-gvfs-enabled' is not nil.
1330 (tramp-gvfs-enabled): Check also :system bus.
1331
0f137a73
SM
13322013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1333
1334 Sync with upstream verilog-mode revision 78e66ba.
1335 * progmodes/verilog-mode.el (verilog-end-of-defun)
1336 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1337 (verilog-get-end-of-defun): Remove unused argument.
1338 (verilog-comment-depth): Remove unused local `e'.
1339 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1340 Don't pass arg to verilog-get-end-of-defun.
1341
1c276bdd
GM
13422013-11-14 Glenn Morris <rgm@gnu.org>
1343
1344 * obsolete/assoc.el (aget): Prefix dynamic variable.
1345
1346 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1347
ff6ec81d
SM
13482013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1349
1350 * widget.el, hfy-cmap.el: Remove bogus package version number.
1351
75f777b6
GM
13522013-11-13 Glenn Morris <rgm@gnu.org>
1353
1d43dba1
GM
1354 * replace.el (replace-eval-replacement):
1355 Try to give more helpful error message. (Bug#15836)
1356
ff4b7bd5
GM
1357 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1358 (archive-7z-update): Avoid custom type mismatches.
1359
75f777b6
GM
1360 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1361
11151a06
MA
13622013-11-13 Michael Albinus <michael.albinus@gmx.de>
1363
e675b3e4 1364 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
1365 address can be empty.
1366
1367 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1368 Accept nil SWITCHES.
1369 (tramp-gvfs-handle-write-region): Implement APPEND.
1370
7b08f97e
DG
13712013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1372
1373 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
1374 binary "|" operator and closing block args delimiter.
1375 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
1376 (ruby-smie--implicit-semi-p): Not after "|" operator.
1377 (ruby-smie--closing-pipe-p): New function.
1378 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1379 (ruby-smie-rules): Indent after "|".
1380
f201cf3a
GM
13812013-11-12 Glenn Morris <rgm@gnu.org>
1382
1383 * ps-print.el (ps-face-attribute-list):
1384 Handle anonymous faces. (Bug#15827)
1385
e6f759f9
MR
13862013-11-12 Martin Rudalics <rudalics@gmx.at>
1387
1388 * window.el (display-buffer-other-frame): Fix doc-string.
1389 (Bug#15868)
1390
ecda65d4
SM
13912013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1392
1393 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1394
7ce8fcc3
MA
13952013-11-11 Michael Albinus <michael.albinus@gmx.de>
1396
1397 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1398 (tramp-sh-handle-file-local-copy): Don't write a message when
1399 saving temporary files.
1400
1401 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1402 both directories are remote.
1403 (tramp-smb-handle-directory-files): Do not return double entries.
1404 Do not expand full file names.
1405 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1406 (tramp-smb-handle-write-region): Implement APPEND.
1407 (tramp-smb-get-stat-capability): Fix a stupid bug.
1408
7818df11
SM
14092013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1410
1411 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1412
608c2085
NT
14132013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1414
1415 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1416 throwing error over malformed let/let* (bug#15814).
1417
122a7e46
SM
14182013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1419
1420 * iswitchb.el (iswitchb-mode): Mark obsolete.
1421
766284d9
GM
14222013-11-11 Glenn Morris <rgm@gnu.org>
1423
1424 * international/uni-bidi.el, international/uni-category.el:
1425 * international/uni-name.el, international/uni-numeric.el:
1426 Regenerate for Unicode 6.3.0.
1427
7072a4e9
MA
14282013-11-10 Michael Albinus <michael.albinus@gmx.de>
1429
1430 * net/tramp.el (tramp-methods):
1431 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1432 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1433
c9df215b
AS
14342013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1435
608c2085
NT
1436 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1437 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 1438
fa47d796
DG
14392013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1440
1441 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 1442 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
1443 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1444 (ispell-complete-word): Call `ispell-lookup-words' with the value
1445 independent of `ispell-look-p'.
1446
1629a329
DG
14472013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1448
1449 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1450 Not after "||".
1451 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1452 their parent.
1453
ad16897c
SM
14542013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1455
1456 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1457 (ruby-font-lock-keywords): Use backquote.
1458
ffa2df72
DG
14592013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1460
1461 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1462 (ruby-smie--backward-token): Only consider full-string matches.
1463
5b97b4c0
JD
14642013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1465
1466 * faces.el (describe-face): Add distant-foreground.
1467
71731c03
BB
14682013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1469
4e9fc48c
BB
1470 * progmodes/ruby-mode.el: Improve encoding comment handling.
1471 (ruby-encoding-magic-comment-style): New option.
1472 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
1473 (ruby--insert-coding-comment, ruby--detect-encoding):
1474 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
1475 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1476 to control the style of the auto-inserted encoding comment.
71731c03 1477
da3b328d
DG
14782013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1479
ad16897c
SM
1480 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1481 Use `smie-backward-sexp' with token argument.
da3b328d 1482
1606c2d3
MA
14832013-11-08 Michael Albinus <michael.albinus@gmx.de>
1484
1485 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1486 Remove instrumentation code.
1487
b0f4c320
GM
14882013-11-08 Glenn Morris <rgm@gnu.org>
1489
1490 * progmodes/autoconf.el (autoconf-mode):
1491 Tweak comment-start-skip. (Bug#15822)
1492
43668fb1
SM
14932013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1494
1495 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1496 at bobp (bug#15826).
1497 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1498
daddb3fd
DH
14992013-11-08 Darren Hoo <darren.hoo@gmail.com>
1500
1501 * man.el (Man-start-calling): New macro, extracted from
1502 Man-getpage-in-background.
1503 (Man-getpage-in-background): Use it.
1504 (Man-update-manpage): New command.
1505 (Man-mode-map): Bind it.
1506
1f923923
DG
15072013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1508
1509 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1510 of "and", "or", "&&" and "||".
1511 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1512 argument. Prohibit opening curly brace because it could only be a
1513 block opener in that position.
daddb3fd
DH
1514 (ruby-smie--forward-token, ruby-smie--backward-token):
1515 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
1516 arguments.
1517 (ruby-smie--indent-to-stmt): New function, seeks the end of
1518 previous statement or beginning of buffer.
1519 (ruby-smie-rules): Use it.
1520 (ruby-smie-rules): Check if there's a ":" before a curly block
1521 opener candidate; if there is, it's a hash.
1522
3220d527
SM
15232013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1524
1525 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1526 (cl--block-wrapper): Fix last accidental change.
1527
1eb1f9e0
MA
15282013-11-07 Michael Albinus <michael.albinus@gmx.de>
1529
1530 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1531 Instrument, in order to hunt failure on hydra.
1532
e6e4db3c
NT
15332013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1534
1535 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1536 malformed bindings form (bug#15814).
1537
b420ccfc
DG
15382013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1539
1540 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
1541 "." compared to " @ ". This incidentally fixes some indentation
1542 examples with "do".
e6e4db3c 1543 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
1544 (ruby-smie-grammar): New tokens: "and" and "or".
1545 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1546 Exclude "and" and "or". Remove "do" in order to work around token
1547 priorities.
1548 (ruby-smie-rules): Add all infix tokens. Handle the case of
1549 beginning-of-buffer.
b420ccfc 1550
6b4ac03e
GM
15512013-11-06 Glenn Morris <rgm@gnu.org>
1552
1553 * Makefile.in (setwins_almost, setwins_for_subdirs):
1554 Avoid accidental matches.
1555
5ca114d1
SM
15562013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1557
1558 * menu-bar.el (popup-menu): Use key-binding.
1559
f72552bd
EZ
15602013-11-06 Eli Zaretskii <eliz@gnu.org>
1561
1562 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1563 menus, support also the menus produced by minor modes.
1564 (Bug#15817)
1565
5d5c701e
LL
15662013-11-06 Leo Liu <sdl.web@gmail.com>
1567
1568 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1569 DISTANCE to bound the search. All uses changed. (Bug#15808)
1570
0a8b75e2
GM
15712013-11-06 Glenn Morris <rgm@gnu.org>
1572
1573 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
1574 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1575 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 1576
a35287ea
SM
15772013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1578
feca4e2d
SM
1579 * electric.el (electric-indent-just-newline): New command.
1580 (electric-indent-mode-map): New keymap.
1581 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1582 Re-add :group which weren't redundant.
1583
a35287ea
SM
1584 * electric.el (electric-indent-local-mode): New minor mode.
1585 (electric-indent-functions-without-reindent): New var.
1586 (electric-indent-post-self-insert-function): Use it.
1587 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1588
375761b2
EZ
15892013-11-05 Eli Zaretskii <eliz@gnu.org>
1590
9a6ad735
EZ
1591 * international/quail.el (quail-help): Be more explicit about the
1592 meaning of the labels shown on the keys. (Bug#15800)
1593
375761b2
EZ
1594 * startup.el (normal-top-level): Load the subdirs.el files before
1595 setting the locale environment. (Bug#15805)
1596
520a6e4a
SM
15972013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1598
0acfafef
SM
1599 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1600 via arguments so as to get the right ones (bug#15418).
1601
520a6e4a
SM
1602 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1603
15826261
MA
16042013-11-05 Michael Albinus <michael.albinus@gmx.de>
1605
1606 Fix problems found while writing a test suite.
1607
1608 * net/tramp-compat.el (tramp-compat-load): New defun.
1609 * net/tramp.el (tramp-handle-load): Use it.
1610
1611 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1612 "(numberp ok-if-already-exists)" correctly.
1613
d35f31a4
XF
16142013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1615
1616 * international/characters.el (glyphless-char-display-control):
1617 Add usage note.
1618
ae93bc74
BB
16192013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1620
520a6e4a
SM
1621 * progmodes/python.el (python-mode):
1622 * progmodes/scheme.el (scheme-mode):
1623 * progmodes/prolog.el (prolog-mode):
1624 * progmodes/ruby-mode.el (ruby-mode):
1625 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1626 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 1627
0ade65b5
SM
16282013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1629
a0d5f7a4
SM
1630 * rect.el (rectangle--highlight-for-redisplay):
1631 * emacs-lisp/smie.el (smie--next-indent-change):
1632 Use buffer-chars-modified-tick.
1633
c93f3f5c
SM
1634 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1635
0ade65b5
SM
1636 * electric.el (electric-indent-post-self-insert-function):
1637 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1638
ef9dd188
HE
16392013-11-04 Helmut Eller <eller.helmut@gmail.com>
1640
1641 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1642
306e7308
NT
16432013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1644
1645 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1646 (bug#15786).
1647
e5afbcac
SM
16482013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1649
1d01ad41
SM
1650 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1651
e5afbcac
SM
1652 * progmodes/python.el: Fix up last change.
1653 (python-shell--save-temp-file): New function.
1654 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1655 `string' comes from the current buffer.
1656 (python-shell-send-string-no-output): Remove `msg' arg.
1657 (python--use-fake-loc): New var.
1658 (python-shell-buffer-substring): Obey it. Try to compensate for the
1659 extra coding line added by python-shell--save-temp-file.
1660 (python-shell-send-region): Use python-shell--save-temp-file and
1661 python-shell-send-file directly. Add `nomain' argument.
1662 (python-shell-send-buffer): Use python-shell-send-region.
1663 (python-electric-pair-string-delimiter): New function.
1664 (python-mode): Use it.
1665
d0065ff1
EZ
16662013-11-04 Eli Zaretskii <eliz@gnu.org>
1667
1668 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1669 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1670 environment and decoding all of the default-directory's to here
1671 from command-line.
1672 (command-line): Decode also argv[0].
1673
1674 * loadup.el: Error out if default-directory is a multibyte string
1675 when we are dumping.
1676
1677 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1678
7397c587
TZ
16792013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1680
1681 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
1682 (package-menu--print-info, package-menu--archive-predicate):
1683 Add Archive column to package list.
7397c587 1684
b27cc9fc
MA
16852013-11-04 Michael Albinus <michael.albinus@gmx.de>
1686
1687 Fix problems found while writing a test suite.
1688
1689 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1690 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1691 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1692 to nil when running original file name handler. Otherwise,
1693 there are problems with constructs like "$$FOO".
1694
1695 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1696 for `localname'.
1697
d8c4f18a
BB
16982013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1699
7b530552
BB
1700 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1701
1702 * subr.el (version<, version<=, version=):
1703 Update docstrings with information for snapshot versions.
1704
d8c4f18a
BB
1705 * helpers.el: New library for misc helper functions.
1706 (hash-table-keys): New function returning a list of hash keys.
1707 (hash-table-values): New function returning a list of hash values.
1708
dca01b09
DG
17092013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1710
1711 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1712 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1713
0a749fa0
MN
17142013-11-04 Michal Nazarewicz <mina86@mina86.com>
1715
1716 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1717 checking whether point is after a 1-letter word.
1718
17192013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
1720
1721 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1722 Don't infloop when expanding region over `multiline' syntax-type that
1723 begins a line (bug#15778).
1724
4aca7145
SM
17252013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1726
1727 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1728 Make it into a proper minor mode.
1729 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1730 (rectangle-mark-mode-map): New keymap.
1731 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1732
a0833f62
GM
17332013-11-04 Glenn Morris <rgm@gnu.org>
1734
1735 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1736
e61845c1
SM
17372013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1738
1739 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1740 (ruby-smie-rules): Use smie-rule-parent instead.
1741
1742 * emacs-lisp/smie.el (smie-rule-parent): Always call
1743 smie-indent-virtual rather than only for hanging tokens.
1744 (smie--next-indent-change): New helper command.
1745
62942f89
GM
17462013-11-03 Glenn Morris <rgm@gnu.org>
1747
1748 * Makefile.in (abs_srcdir): Remove.
1749 (emacs): Unset EMACSLOADPATH.
1750
b0b9e592
GM
17512013-11-02 Glenn Morris <rgm@gnu.org>
1752
18ba6a33 1753 * Makefile.in (EMACS): Use a relative filename.
8061810d 1754 (abs_top_builddir): Remove.
18ba6a33
GM
1755 (custom-deps, finder-data, autoloads): Use --chdir.
1756
6a8b929e
GM
1757 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1758
c617f3d0
GM
1759 Use relative filenames in TAGS files.
1760 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1761 (lisptagsfiles4, TAGS): Use relative file names.
1762 (TAGS-LISP): Remove.
1763 (maintainer-clean): No more TAGS-LISP file.
1764
b0b9e592
GM
1765 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1766 (lisptagsfiles4): Use absolute filenames again.
1767 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1768 Remove all *loaddefs files, not just the first. Remove esh-groups.
1769 (maintainer-clean): Delete TAGS, TAGS-LISP.
1770
d1c0ea6a
BB
17712013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1772
e61845c1
SM
1773 * emacs-lisp/package.el (package-version-join):
1774 Recognize snapshot versions.
d1c0ea6a 1775
684d71c6
BB
17762013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1777
1778 * subr.el (version-regexp-alist): Add support for snapshot versions.
1779
3d42b968
DG
17802013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1781
e61845c1
SM
1782 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1783 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
1784 skip over our direct parent if it's an assignment token..
1785 (ruby-smie-rules): Use it.
1786
7ffd3721
DG
17872013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1788
1789 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1790 unconditionally. Remove now unnecessary forward declarations.
1791 Remove XEmacs-specific setup.
1792 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1793 (ruby-font-lock-syntactic-keywords)
1794 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1795 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1796 (ruby-here-doc-end-syntax): Remove.
1797 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1798 defined as function.
1799
a3996a2e
BB
18002013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1801
1802 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1803
6f9260e8
BB
18042013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1805
1806 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1807 table and abbrev table, `define-derived-mode' does that for us
1808 anyway.
1809
6014de84
GM
18102013-11-01 Glenn Morris <rgm@gnu.org>
1811
1812 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1813 files is atomic for some time, so no parallel compilation issues).
1814
3c334c14
JD
18152013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1816
1817 * faces.el (face-x-resources): Add :distant-foreground.
1818 (region): Use :distant-foreground for gtk and ns.
1819
9bc236c8
TH
18202013-11-01 Tassilo Horn <tsdh@gnu.org>
1821
5246583b 1822 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
1823 BibTeX.
1824 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1825 (reftex-locate-bibliography-files): Us it.
1826
d14c81ee
CB
18272013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1828
0e7690de
CB
1829 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1830 allow comments in pbm files.
1831
d14c81ee
CB
1832 * term/w32-win.el (dynamic-library-alist): Support newer versions
1833 of libjpeg starting with v7: look only for the DLL from the
1834 version against which Emacs was built.
ac1bf374 1835 Support versions of libpng beyond 1.4.x.
019c8218 1836 Support libtiff v4.x.
d14c81ee 1837
983d0df5
BB
18382013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1839
1840 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1841 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1842 Add property :safe.
1843 (ruby-deep-arglist): Add property :type.
1844
47f58d85
GM
18452013-10-31 Glenn Morris <rgm@gnu.org>
1846
1847 * Makefile.in (custom-deps, finder-data): No need to setq the target
1848 variables, we are in the right directory and the defaults work fine.
1849
4f85b479
GM
18502013-10-30 Glenn Morris <rgm@gnu.org>
1851
ca7dd4cd
GM
1852 * Makefile.in (autoloads): Do not use abs_lisp.
1853
4f85b479
GM
1854 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1855 `newline' does not respect `standard-output', so use `princ'.
1856
cf59e41c
AA
18572013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1858
1859 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1860 * buff-menu.el (Buffer-menu--unmark): New function.
1861 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1862
74cf04fb
GM
18632013-10-30 Glenn Morris <rgm@gnu.org>
1864
b040b60e
GM
1865 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1866
f53d3815
GM
1867 * emacs-lisp/package.el (lm-homepage): Declare.
1868
5413d873
GM
1869 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1870 Fix doc typos.
1871
cecedb36
GM
1872 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1873
74cf04fb
GM
1874 * Makefile.in (finder-data, autoloads, update-subdirs)
1875 (compile-main, compile-clean, compile-always, bootstrap-clean):
1876 Check return value of cd.
1877 (compile-calc): Remove.
1878
195ee2f0
SM
18792013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1880
ae4002ce
SM
1881 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1882
1883 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1884 (byte-compile-and-folded): New function.
1885 (=, <, >, <=, >=): Use it.
1886
1887 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1888 (path-separator, null-device, buffer-file-coding-system)
1889 (lpr-headers-switches): Check system-type before modifying them.
1890 (find-buffer-file-type-coding-system): Mark obsolete.
1891 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1892 find-file-not-found-set-buffer-file-coding-system.
1893 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1894 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1895 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1896 (w32-direct-print-region-helper, w32-direct-print-region-function)
1897 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1898 * startup.el (normal-top-level-add-subdirs-to-load-path):
1899 * ps-print.el (ps-print-region-function):
1900 * lpr.el (print-region-function): Use new name.
1901
53b39e89
SM
1902 * subr.el (custom-declare-variable-early): Remove function.
1903 (custom-declare-variable-list): Remove var.
1904 (error, user-error): Remove `while' loop.
1905 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1906 (user-emacs-directory-warning, locate-user-emacs-file):
1907 Move to files.el.
1908 * simple.el (read-quoted-char-radix, read-quoted-char):
1909 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1910 Move from subr.el.
1911 * custom.el (custom-declare-variable-list): Don't process
1912 custom-declare-variable-list.
1913
195ee2f0
SM
1914 * progmodes/python.el (python-shell-get-buffer): New function.
1915 (python-shell-get-process): Use it.
1916 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1917 Python which encoding was used. Don't split-string since we only care
1918 about the first line. Return the temp-file, if applicable.
1919 (python-shell-send-region): Tell compile.el how to turn locations in
1920 the temp-file into locations in the source buffer.
1921
7e3561ee
SM
19222013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1923
4c9797cb
SM
1924 * subr.el (undefined): Add missing behavior from the C code for
1925 unbound keys.
1926
3472b6c6
SM
1927 * rect.el: Use lexical-binding. Add new rectangular region support.
1928 (rectangle-mark): New command.
1929 (rectangle--region): New var.
1930 (deactivate-mark-hook): Reset rectangle--region.
1931 (rectangle--extract-region, rectangle--insert-for-yank)
1932 (rectangle--highlight-for-redisplay)
1933 (rectangle--unhighlight-for-redisplay): New functions.
1934 (region-extract-function, redisplay-unhighlight-region-function)
1935 (redisplay-highlight-region-function): Use them to handle
1936 rectangular region.
1937 * simple.el (region-extract-function): New var.
1938 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1939 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1940 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1941 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1942 (redisplay-unhighlight-region-function)
1943 (redisplay-highlight-region-function): New vars.
1944 (redisplay--update-region-highlight): New function.
1945 (pre-redisplay-function): Use it.
1946 (exchange-point-and-mark): Don't deactivate the mark before
1947 reactivate-it anyway.
1948 * comint.el (comint-kill-region): Remove yank-handler argument.
1949 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1950 (delete-char): Remove property, since it's now part of their
1951 default behavior.
1952 (self-insert-iso): Remove property since this command doesn't exist.
1953
7e3561ee
SM
1954 * emacs-lisp/package.el (package--download-one-archive)
1955 (describe-package-1): Don't query the user about final newline.
1956
b9bef71f
DC
19572013-10-29 Daniel Colascione <dancol@dancol.org>
1958
1959 * net/tramp.el (tramp-methods): Document new functionality.
1960 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1961 tramp-hostname-checker if method provides one instead of scanning
1962 argument list for "%h" to decide hostname acceptability.
1963
4efc33f0
MA
19642013-10-28 Michael Albinus <michael.albinus@gmx.de>
1965
1966 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1967 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1968 Handle COPY-CONTENTS. (Bug#15737)
1969
ed42a877
DU
19702013-10-28 Daiki Ueno <ueno@gnu.org>
1971
1972 * epa-file.el
7e3561ee
SM
1973 (epa-file-cache-passphrase-for-symmetric-encryption):
1974 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 1975
18c9f8a2
XF
19762013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1977
7a4bc7be
XF
1978 * image.el (defimage):
1979 (image-load-path): Doc fixes.
18c9f8a2 1980
b1e8e010
AM
19812013-10-27 Alan Mackenzie <acm@muc.de>
1982
1983 Indent statements in macros following "##" correctly.
7e3561ee
SM
1984 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1985 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 1986
73d40d1e 19872013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
1988
1989 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1990
c8c605ac
DG
19912013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1992
1993 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1994 after `=' is probably a new expression.
1995
ca7e59d4
RS
19962013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1997
1998 * man.el (man-imenu-title): New option.
1999 (Man-mode-map): Add menu. (Bug#15722)
2000 (Man-mode): Add imenu to menu.
2001
bae91342
DG
20022013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2003
2004 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2005 specific in what the first arg can be: a non-keyword word,
2006 string/regexp/percent literal opener, opening paren, or unary
2007 operator followed directly by word.
2008
eb89dc14
SM
20092013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2010
2011 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2012 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2013 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2014 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2015 Remove vars, they do not apply any more.
2016 (prolog-mode-abbrev-table): Remove redundant declaration.
2017 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2018 (prolog-use-smie): Remove.
2019 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2020 supported by prolog-electric-if-then-else-flag.
2021 (prolog-mode-variables, prolog-menu): Use setq-local.
2022 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2023 Remove binding to `Backspace' since this key doesn't exist anyway.
2024 Remove bindings for electric self-inserting keys.
2025 (prog-mode): Assume it's defined.
2026 (prolog-post-self-insert): New function.
2027 (prolog-mode): Use it.
2028 (prolog-indent-line, prolog-indent-level)
2029 (prolog-find-indent-of-matching-paren)
2030 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2031 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2032 (prolog-goto-next-paren, prolog-in-string-or-comment)
2033 (prolog-tokenize, prolog-inside-mline-comment)
2034 (prolog-find-start-of-mline-comment): Remove functions.
2035 (prolog-find-unmatched-paren, prolog-clause-end)
2036 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2037 (prolog-electric--if-then-else): Rename from
2038 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2039 (prolog-tokenize-searchkey): Remove const.
2040 (prolog-clause-info): Use forward-sexp.
2041 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2042 (prolog-electric-if-then-else): Remove commands.
2043 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2044 for use in post-self-insert-hook.
2045 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2046 for use in post-self-insert-hook.
2047 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2048 for use in post-self-insert-hook.
2049 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2050 adapt it for use in post-self-insert-hook.
2051
3dab0a83
MA
20522013-10-25 Michael Albinus <michael.albinus@gmx.de>
2053
2054 * emacs-lisp/ert.el (ert-run-tests-interactively):
2055 Use `completing-read'. (Bug#9756)
2056
fbfd0e1d
EZ
20572013-10-25 Eli Zaretskii <eliz@gnu.org>
2058
2059 * simple.el (line-move): Call line-move-1 instead of
2060 line-move-visual when the current window hscroll is zero, but
2061 temporary-goal-column indicates we will need to hscroll as result
2062 of the movement. (Bug#15712)
2063
963ce636
DG
20642013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2065
2066 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
2067 capitalization. Use :visible instead of :active.
2068 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
2069 commands that are used with SMIE.
2070 (ruby-do-end-to-brace): Insert space after `{'.
2071
a0be396a
JA
20722013-10-25 John Anthony <john@jo.hnanthony.com>
2073
f73754c9
JA
2074 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2075
2076 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 2077
f5bf77df
GM
20782013-10-25 Glenn Morris <rgm@gnu.org>
2079
2080 * vc/vc.el (vc-print-log): Don't use a working revision unless
2081 one was explicitly specified. (Bug#15322)
2082
37241f62
SM
20832013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2084
2085 * subr.el (add-to-list): Preserve return value in compiler-macro
2086 (bug#15692).
2087
6408a65d
RS
20882013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2089
2090 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2091 result. Ask user to retry using '-all' flag. (Bug#15701)
2092
71e3276b
SM
20932013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2094
2095 * emacs-lisp/smie.el: New smie-config system.
2096 (smie-config): New defcustom.
2097 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2098 (smie-config-guess, smie-config-save): New commands.
2099 (smie-config--mode-local, smie-config--buffer-local)
2100 (smie-config--trace, smie-config--modefuns): New vars.
2101 (smie-config--advice, smie-config--mode-hook)
2102 (smie-config--setter, smie-config-local, smie-config--get-trace)
2103 (smie-config--guess-value, smie-config--guess): New functions.
2104 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2105 text properties. Treat "string fence" syntax like string syntax.
2106
2107 * progmodes/sh-script.el (sh-use-smie): Change default.
2108 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2109 (sh-var-value): Simplify by CSE.
2110 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2111 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2112 is used.
2113 (sh-guess-basic-offset): Use cl-incf.
2114 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2115
60db713e
HE
21162013-10-24 Helmut Eller <eller.helmut@gmail.com>
2117
2118 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2119 (bug#15699).
2120
8b251df6
GM
21212013-10-24 Glenn Morris <rgm@gnu.org>
2122
2123 * Makefile.in (abs_top_srcdir): Remove.
2124 (update-subdirs): Use relative path to update-subdirs.
2125
6be0e22b
EZ
21262013-10-24 Eli Zaretskii <eliz@gnu.org>
2127
2128 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2129 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
2130 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2131 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 2132
50b5b857
MA
21332013-10-24 Michael Albinus <michael.albinus@gmx.de>
2134
2135 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2136 (ert-test-skipped): New error.
2137 (ert-skip, ert-stats-skipped): New defuns.
2138 (ert--skip-unless): New macro.
2139 (ert-test-skipped): New struct.
2140 (ert--run-test-debugger, ert-test-result-type-p)
2141 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2142 (ert--stats-set-test-and-result, ert-char-for-test-result)
2143 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 2144 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 2145 Handle skipped tests. (Bug#9803)
50b5b857 2146
6f317c2f
GM
21472013-10-24 Glenn Morris <rgm@gnu.org>
2148
e43817c1
GM
2149 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2150
6f317c2f
GM
2151 * Makefile.in (abs_top_srcdir): New, set by configure.
2152 (update-subdirs): Correct build-aux location.
2153
369bbf71
DG
21542013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2155
8297b2cf
DG
2156 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2157 value, whether we could auto-deduce `backend', or not.
2158
369bbf71
DG
2159 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2160 with parameters" example. Simplify the "is it block or is it
2161 hash" check, but also make it more thorough.
2162
d5f1282f
MF
21632013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2164
2165 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2166
bc4aaa31
SM
21672013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2168
03d44565
SM
2169 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2170 { if it is hanging.
2171
bc4aaa31
SM
2172 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2173 :before ";".
2174
f493ff19
JB
21752013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2176
2177 * progmodes/compile.el (compilation-directory-matcher)
2178 (compilation-page-delimiter):
2179 Support GNU Make-4.0 directory quoting. (Bug#15678)
2180
c744a3b9
LL
21812013-10-23 Leo Liu <sdl.web@gmail.com>
2182
2183 * ido.el (ido-tidy): Handle read-only text.
2184
b8e3b0a9
GM
21852013-10-23 Glenn Morris <rgm@gnu.org>
2186
2187 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2188 (emacs, compile, compile-always):
2189 Quote entities that might contain whitespace.
2190 (custom-deps, finder-data, autoloads): Use abs_lisp.
2191 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2192 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2193 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2194
ee4282cd
DG
21952013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2196
bc4aaa31
SM
2197 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2198 Use `following-char'.
7790a270 2199
ee4282cd 22002013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
2201
2202 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2203 * progmodes/ruby-mode.el (ruby-smie-rules):
2204 Remove corresponding workaround. Fix indentation rule of ";" so it
2205 also applies when ";" is the parent.
2206
d40a46d7
XF
22072013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2208
2209 * frame.el (display-screens, display-pixel-height)
2210 (display-pixel-width, display-mm-width, display-backing-store)
2211 (display-save-under, display-planes, display-color-cells)
7790a270
SM
2212 (display-visual-class, display-monitor-attributes-list):
2213 Mention the optional ‘display’ argument in doc strings.
d40a46d7 2214
a0f143c9
MG
22152013-10-22 Michael Gauland <mikelygee@amuri.net>
2216
2217 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2218 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2219
18cacc39
DG
22202013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2221
2222 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2223 TODO. Add "." after " @ ".
2224 (ruby-smie--at-dot-call): New function. Checks if point at method
2225 call with explicit target.
2226 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2227 to the method name tokens when it precedes them.
2228 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2229 (ruby-smie-rules): Add rule for indentation before and after "."
2230 token.
2231
df74c4be
SM
22322013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2233
c6dab55f
SM
2234 * textmodes/remember.el (remember-diary-extract-entries):
2235 Avoid add-to-list.
2236
df74c4be
SM
2237 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2238 an instruction.
2239
8c1ae481
DG
22402013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2241
cfef16c0
DG
2242 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2243 (ruby-smie--implicit-semi-p): Add new operator chars.
2244
8c1ae481
DG
2245 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2246 `smie-down-list'.
2247 (ruby-smie--args-separator-p): Check that there's no newline
2248 between method call and its arguments.
2249
87756ca9
AM
22502013-10-20 Alan Mackenzie <acm@muc.de>
2251
2252 Allow comma separated lists after Java "implements".
2253
df74c4be
SM
2254 * progmodes/cc-engine.el (c-backward-over-enum-header):
2255 Parse commas.
87756ca9
AM
2256 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2257 from a "disallowed" list in enum fontification.
2258
c25f8957
JB
22592013-10-20 Johan Bockgård <bojohan@gnu.org>
2260
df74c4be 2261 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 2262
c25f8957
JB
2263 * progmodes/verilog-mode.el (verilog-mode): Don't set
2264 comment-indent-function globally.
2265
aca5fcdc
JD
22662013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2267
5f161884
JD
2268 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2269 Move Info menu item creation to ns-win.el.
2270
2271 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2272 in menu bar.
2273
aca5fcdc
JD
2274 * menu-bar.el: Move GNUStep specific menus...
2275
2276 * term/ns-win.el (ns-initialize-window-system): ... to here.
2277
914b7f98
SM
22782013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2279
2280 * simple.el (newline): Only run post-self-insert-hook when
2281 called interactively.
2282
846ffe77
JB
22832013-10-19 Johan Bockgård <bojohan@gnu.org>
2284
2285 * icomplete.el (icomplete-with-completion-tables): Add :version.
2286
033f22dd
AM
22872013-10-19 Alan Mackenzie <acm@muc.de>
2288
2289 Fix fontification bugs with constructors and const.
2290
2291 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2292 CASE 2) Remove the check for the absence of a suffix construct
2293 after a function declaration with only types (no identifiers) in
2294 the parentheses. Also, accept a function declaration with just a
2295 type inside the parentheses, if this type can be positively
2296 recognised as such, or if a prefix keyword like "explicit" nails
2297 down the construct as a declaration.
2298
58ce0cfc
EZ
22992013-10-19 Eli Zaretskii <eliz@gnu.org>
2300
2301 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2302 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2303 the problem whereby selecting a menu item that leads to a
2304 minibuffer prompt moves the cursor out of the minibuffer window,
2305 making it hard to type at the prompt. Suggested by Stefan Monnier
2306 <monnier@iro.umontreal.ca>.
2307
50e28e7d
JD
23082013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2309
2310 * menu-bar.el: Don't make Services menu.
2311
7deed4bf
RS
23122013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2313
2314 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2315 (ffap-alist): Use ffap-c++-mode for c++-mode.
2316 (ffap-c++-path): New variable.
2317 (ffap-c++-mode): New function.
2318
7bcb455b
JVJ
23192013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2320
2321 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2322
f0ff1cd5
MA
23232013-10-18 Michael Albinus <michael.albinus@gmx.de>
2324
2325 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2326 introduced on 2013-09-08, which results in an infinite loop
2327 requesting a password.
2328
d64da4b7
GM
23292013-10-18 Glenn Morris <rgm@gnu.org>
2330
2331 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2332
ea89ff08
WS
23332013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2334
2335 Sync with upstream verilog-mode revision 1a6ecec7.
2336 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2337 (verilog-mode-release-date): Remove.
2338 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2339 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2340 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2341 (verilog-auto-tieoff-ignore-regexp)
2342 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2343 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2344 (verilog-signals-with, verilog-dir-cache-preserving)
2345 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2346 Doc fixes.
2347 (verilog-case-fold): New option, to control case folding in
2348 regexp searches, bug597.
2349 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2350 (verilog-string-match-fold, verilog-in-paren-count)
2351 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2352 (verilog-at-close-struct-p): New functions.
2353 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2354 (verilog-forward-sexp, verilog-set-auto-endcomments):
2355 (verilog-leap-to-case-head): Handle "unique0" case.
2356 (verilog-in-constraint-re): New constant.
2357 (verilog-keywords, verilog-type-font-keywords):
2358 Add some SystemVerilog 1800-2012 keywords.
2359 (verilog-label-be): Remove unimplemented argument, bug669.
2360 (verilog-batch-execute-func): When batch expanding clear
2361 create-lockfiles to prevent spurious user locks when a file ends
2362 up not changing.
2363 (verilog-calculate-indent, verilog-calc-1)
2364 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2365 (verilog-do-indent): Fix indentation of nested constraints
2366 and structures.
2367 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2368 (verilog-auto-inst-param): Use verilog-string-match-fold.
2369 (verilog-read-inst-module-matcher):
2370 Fix AUTOINST on gate primitives with #1.
2371 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2372 Reads all user-defined typed variables.
2373 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2374 (verilog-signals-matching-regexp)
2375 (verilog-signals-not-matching-regexp, verilog-auto):
2376 Respect verilog-case-fold.
2377 (verilog-diff-report): Fix line count.
2378 (verilog-auto-assign-modport): Remove unused local `modi'.
2379 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2380 better handle multidimensional arrays.
2381 Fix packed array ports misadding bit index in AUTOINST, bug637.
2382 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2383 to not double-declare existing outputs and inputs, respectively.
2384 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2385 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2386 (verilog-sk-uvm-component): New skeleton.
2387 (verilog-submit-bug-report): Add verilog-case-fold,
2388 remove verilog-mode-release-date.
2389
ef566920
BR
23902013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2391
2392 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2393 as before.
2394
29df8a0b
RT
23952013-10-18 Reuben Thomas <rrt@sc3d.org>
2396
2397 * textmodes/remember.el (remember): set buffer-offer-save in
2398 remember buffers (bug#13566).
2399
04a19a79
DC
24002013-10-18 Daniel Colascione <dancol@dancol.org>
2401
2402 When evaluating forms in ielm, direct standard output to ielm
2403 buffer. Add new ielm-return-for-effect command. Remove trailing
2404 whitespace throughout.
2405
2406 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2407 (ielm-return-for-effect): New command.
2408 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
2409 (ielm-eval-input): Accept optional `for-effect' parameter.
2410 Bind `standard-output' to stream we create using
04a19a79
DC
2411 `ielm-standard-output-impl'. Suppress printing result when
2412 `for-effect'.
2413 (ielm-standard-output-impl): New function.
2414 (inferior-emacs-lisp-mode): Explain new features in documentation.
2415
4c1f03ef
MA
24162013-10-17 Michael Albinus <michael.albinus@gmx.de>
2417
2418 Code cleanup.
2419
2420 * net/tramp.el (tramp-debug-message): Do not check for connection
2421 buffer.
2422 (tramp-message): Use "vector" connection property.
2423
2424 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2425 (tramp-equal-remote, tramp-eshell-directory-change)
2426 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2427 (tramp-adb-handle-rename-file)
2428 * net/tramp-cmds.el (tramp-list-remote-buffers)
2429 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2430 * net/tramp-compat.el (tramp-compat-process-running-p)
2431 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2432 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2433 (tramp-gvfs-handle-rename-file)
2434 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2435 (tramp-set-file-uid-gid)
2436 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2437 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2438 of `file-remote-p'.
2439
2440 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2441 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2442 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2443 (tramp-gw-open-network-stream): Suppress unrelated traces.
2444
2445 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2446 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2447 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2448 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2449 connection property.
2450
2451 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 2452 persistency file.
4c1f03ef
MA
2453
2454 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2455 Refactor common code. Improve debug message.
2456 (tramp-maybe-open-connection)
2457 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2458 connection buffer too early.
2459
2460 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2461 from `tramp-smb-actions-with-acl'.
2462 (tramp-smb-actions-set-acl): New defconst.
2463 (tramp-smb-handle-copy-directory)
2464 (tramp-smb-action-get-acl): New defun, renamed from
2465 `tramp-smb-action-with-acl'.
2466 (tramp-smb-action-set-acl): New defun.
2467 (tramp-smb-handle-set-file-acl): Rewrite.
2468
642eb8b6
GM
24692013-10-17 Glenn Morris <rgm@gnu.org>
2470
2471 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2472
85527ff3
SM
24732013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2474
921c1d62
SM
2475 * skeleton.el (skeleton-newline): Remove.
2476 (skeleton-internal-1): Use (insert "\n") instead.
2477
e333fb10
SM
2478 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2479 let-bindings.
2480
85527ff3
SM
2481 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2482 forward-sexp-function while we redo its job (bug#15613).
2483
c8722a97
JB
24842013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2485
2486 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2487 represented by lists.
2488
7a550bbb
GM
24892013-10-16 Glenn Morris <rgm@gnu.org>
2490
2491 * tmm.el (tmm--history): New dynamic variable.
2492 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2493
f19da8ad
MA
24942013-10-16 Michael Albinus <michael.albinus@gmx.de>
2495
2496 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2497 (tramp-smb-errors): Add error messages.
2498 (tramp-smb-actions-with-acl): New defconst.
2499 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2500 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2501 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2502 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2503 (tramp-smb-get-stat-capability): Fix tests.
2504
a24b9961
DK
25052013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2506
2507 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2508 (bug#15580).
2509
62ad85e6
GM
25102013-10-16 Glenn Morris <rgm@gnu.org>
2511
0283d6b0
GM
2512 * ansi-color.el (ansi-color-drop-regexp):
2513 Add 1J, 1K, 2K. (Bug#15617)
2514
012e2f9f
GM
2515 * files.el (hack-local-variables--warned-lexical): New.
2516 (hack-local-variables):
2517 Warn about misplaced lexical-binding. (Bug#15616)
2518
62ad85e6
GM
2519 * net/eww.el (eww-render): Always set eww-current-url,
2520 and update header line. (Bug#15622)
2521 (eww-display-html): ... Rather than just doing it here.
2522
6456c0ea
EZ
25232013-10-15 Eli Zaretskii <eliz@gnu.org>
2524
2525 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2526 menu navigations commands.
2527
c2de5588
DK
25282013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2529
2530 * progmodes/subword.el (subword-capitalize): Be careful when
2531 the search for [[:alpha:]] fails (bug#15580).
2532
ccd4a783
EZ
25332013-10-14 Eli Zaretskii <eliz@gnu.org>
2534
2535 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2536 to commands that scroll the menu.
2537
1eda1d8d
DG
25382013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2539
c2de5588
DK
2540 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2541 Handle methods ending with `?' and `!'.
1eda1d8d 2542
e70181b8
AM
25432013-10-14 Akinori MUSHA <knu@iDaemons.org>
2544
2545 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2546 `japanese-cp932' to `cp932' to fix the problem where saving a
2547 source file written in Shift_JIS twice would end up having
2548 `coding: japanese-cp932' which Ruby could not recognize.
2549 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2550 in `ruby-encoding-map'.
2551 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2552 doesn't need to be explicitly declared in magic comment.
2553 (ruby-encoding-map): Add type declaration for better customize UI.
2554
9148ee92
GM
25552013-10-13 Glenn Morris <rgm@gnu.org>
2556
a5d38e34
GM
2557 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2558 Occur buffers are read-only. http://bugs.debian.org/720775
2559
9148ee92
GM
2560 * emacs-lisp/authors.el (authors-fixed-entries):
2561 Comment out old alpha stuff.
2562
a9ba094b
DG
25632013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2564
2565 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2566 to `after-save-hook' instead of `before-save-hook'.
2567 (ruby-mode-set-encoding): Use the value of coding system used to
2568 write the file. Call `basic-save-buffer-1' after modifying the
2569 buffer.
2570
7a068717
AM
25712013-10-13 Alan Mackenzie <acm@muc.de>
2572
2573 Fix indentation/fontification of Java enum with
2574 "implements"/generic.
2575
c2de5588
DK
2576 * progmodes/cc-engine.el (c-backward-over-enum-header):
2577 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
2578 (c-inside-bracelist-p): Uses new function above.
2579 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2580 function above.
2581 (c-font-lock-enum-tail): Uses new function above.
2582
85b64f02
KH
25832013-10-13 Kenichi Handa <handa@gnu.org>
2584
2585 * international/mule-cmds.el (select-safe-coding-system): Remove a
2586 superfluous condition in chekcing whether a coding system is safe
2587 or not.
2588
fc7f501b
OK
25892013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2590
2591 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2592
fdcb2049
AP
25932013-10-13 Andreas Politz <politza@hochschule-trier.de>
2594
2595 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2596
8c106d17
GM
25972013-10-13 Glenn Morris <rgm@gnu.org>
2598
feab892d
GM
2599 * menu-bar.el (menu-bar-update-buffers):
2600 Unify Buffers menu prompt string. (Bug#15576)
2601
b22d0686
GM
2602 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2603
8c106d17
GM
2604 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2605 Add some entries.
2606 (authors-fixed-entries): Use accented form of name.
2607
1b12c797
SM
26082013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2609
650fa7bf 2610 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 2611 method calls (bug#15594).
650fa7bf
SM
2612 (ruby-smie--args-separator-p): New function.
2613 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2614 recognize paren-free method calls.
2615
1b12c797
SM
2616 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2617 internals of universal-argument.
2618
029619c8
EZ
26192013-10-11 Eli Zaretskii <eliz@gnu.org>
2620
2621 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
2622 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2623 dropped menu on second mouse click on the menu bar.
029619c8 2624
dd070019
SM
26252013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2626
2627 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2628 (explicit-shell-file-name): Declare.
2629 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2630 (sh-completion-at-point-function): New function.
2631 (sh-mode): Use it.
2632 (sh-smie--keyword-p): Remove unused argument.
2633 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2634 vars.
2635 (sh-set-shell): Always setup SMIE, even if we use the
2636 old indentation code.
2637
0922b826
DG
26382013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2639
b68e2926
DG
2640 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2641 cases of ? and =.
2642 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2643 predicate would return nil are almost non-existent.
2644 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2645
0922b826
DG
2646 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2647 cache also after commands that modify the buffer but don't move
2648 point.
2649
ee041f2d
SM
26502013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2651
2652 * env.el (substitute-env-in-file-name): New function.
2653 (substitute-env-vars): Extend the meaning of the optional arg.
2654
a5dab159
EZ
26552013-10-10 Eli Zaretskii <eliz@gnu.org>
2656
2657 * term/w32-win.el (dynamic-library-alist): Define separate lists
2658 of GIF DLLs for versions before and after 5.0.0 of giflib.
2659 (Bug#15531)
2660
0449d6cd 26612013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
2662
2663 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2664 not locked, use last revision and current source as
2665 defaults. (Bug#15569)
2666
2f6e161e
MY
26672013-10-10 Masatake YAMATO <yamato@redhat.com>
2668
2669 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2670 menu-bar is hidden.
2671
6c8413fc
MR
26722013-10-10 Martin Rudalics <rudalics@gmx.at>
2673
2674 * window.el (pop-to-buffer-same-window): Fix doc-string.
2675 (Bug#15492)
2676
20832de0
SM
26772013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2678
2679 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2680
c6e8ae77
AC
26812013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2682
2683 * calendar/icalendar.el (icalendar-import-file):
2684 Fix interactive spec. (Bug#15482)
2685
9db13baf
GM
26862013-10-10 Glenn Morris <rgm@gnu.org>
2687
9271e90e
GM
2688 * desktop.el (desktop-save): Default to saving in .emacs.d,
2689 since PWD is no longer in desktop-path by default. (Bug#15319)
2690
9db13baf
GM
2691 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2692 now that text mode has a menu with the same entry.
2693 (menu-bar-text-mode-auto-fill): Remove now unused func.
2694 * textmodes/text-mode.el (text-mode-map):
2695 Use auto-fill help text from menu-bar.el.
2696
a0be396a 26972013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
2698
2699 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2700
2edcd3c7
JL
27012013-10-09 Juri Linkov <juri@jurta.org>
2702
2703 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2704 instead of this-command-keys. Add universal-argument-more and
2705 universal-argument-minus to the list of prefix commands. (Bug#15568)
2706
574411d0
GM
27072013-10-09 Glenn Morris <rgm@gnu.org>
2708
14afa541
GM
2709 * vc/vc-svn.el (vc-svn-create-repo):
2710 Expand paths in file://... url. (Bug#15446)
2711
574411d0
GM
2712 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2713 Add some entries.
2714 (authors): Remove unused local variables.
2715
79804536
SM
27162013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2717
2718 * profiler.el: Create a more coherent calltree from partial backtraces.
2719 (profiler-format): Hide the tail with `invisible' so that C-s can still
2720 find the hidden elements.
2721 (profiler-calltree-depth): Don't recurse so enthusiastically.
2722 (profiler-function-equal): New hash-table-test.
2723 (profiler-calltree-build-unified): New function.
2724 (profiler-calltree-build): Use it.
2725 (profiler-report-make-name-part): Indent the calltree less.
2726 (profiler-report-mode): Add visibility specs for profiler-format.
2727 (profiler-report-expand-entry, profiler-report-toggle-entry):
2728 Expand the whole subtree when provided with a prefix arg.
2729
238150c8
DG
27302013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2731
2732 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2733 iuwu-mod token.
2734 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2735 hanging iuwu-mod token.
2736 (ruby-smie--forward-token): Do not include a dot after a token in
2737 that token.
2738 (ruby-smie--backward-token): Likewise.
2739
b0949cc4
JL
27402013-10-08 Juri Linkov <juri@jurta.org>
2741
2742 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2743 to isearch-other-control-char.
2744 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2745 and isearch-post-command-hook to post-command-hook.
2746 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2747 and isearch-post-command-hook from post-command-hook.
2748 (isearch-unread-key-sequence)
2749 (isearch-reread-key-sequence-naturally)
2750 (isearch-lookup-scroll-key, isearch-other-control-char)
2751 (isearch-other-meta-char): Remove functions.
2752 (isearch-pre-command-hook, isearch-post-command-hook):
2753 New functions based on isearch-other-meta-char rewritten
2754 relying on the new behavior of overriding-terminal-local-map
2755 that does not replace the local keymaps any more. (Bug#15200)
2756
4ed77415
EZ
27572013-10-08 Eli Zaretskii <eliz@gnu.org>
2758
2759 Support menus on text-mode terminals.
2760 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2761 functionality.
2762
2763 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2764
c2de5588
DK
2765 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2766 Move here from mouse.el.
4ed77415
EZ
2767 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2768 and arrow keys.
2769 (tty-menu-navigation-map): New map for TTY menu navigation.
2770
2771 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2772
2773 * frame.el (display-mouse-p): Report text-mode mouse as available
2774 on w32.
2775 (display-popup-menus-p): Report availability if mouse is
2776 available; don't condition on window-system.
2777
2778 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2779 (tty-menu-selected-face): New faces.
2780
b7d5bd82
TL
27812013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2782
06286513
SM
2783 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2784 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2785 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2786 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2787 New constants.
2788 (lisp-mode-variables): New `elisp' argument.
2789 (emacs-lisp-mode): Use it.
2790 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2791 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2792
b7d5bd82
TL
2793 * indent.el: Use lexical-binding.
2794 (indent-region): Add progress reporter.
2795 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2796 last step.
2797 (indent--next-tab-stop): New function to implement this behavior.
2798 (tab-to-tab-stop, move-to-tab-stop): Use it.
2799
28002013-10-08 Teemu Likonen <tlikonen@iki.fi>
2801
2802 * indent.el (indent-rigidly--current-indentation): New function.
2803 (indent-rigidly-map): New var.
2804 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2805
5ea75d23
BG
28062013-10-08 Bastien Guerry <bzg@gnu.org>
2807
2808 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2809
cc5da1ec
SM
28102013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2811
8ffa1a0b
SM
2812 * progmodes/perl-mode.el: Use lexical-binding.
2813 Remove redundant :group args.
2814 (perl-nochange): Change default to be closer to other major modes's
2815 standard behavior.
2816 (perl-indent-line): Don't consider text on current line as a
2817 valid beginning of function from which to indent.
2818
f2223371
SM
2819 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2820 with more than one argument (bug#15538).
2821
44256060
SM
2822 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2823
cc5da1ec
SM
2824 * vc/pcvs.el: Use lexical-binding.
2825 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2826 environment of `eval'.
2827 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2828 than a list of expressions. Adjust callers.
2829 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2830
0ea1599d
DG
28312013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2832
2833 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 2834 case of the dot in a chained method call being on the following line.
0ea1599d 2835
da3e5ebb
SM
28362013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2837
2abb4e65
SM
2838 * electric.el (electric-indent-inhibit): New var.
2839 (electric-indent-post-self-insert-function): Use it.
2840 * progmodes/python.el (python-mode): Set it.
2841
d2e0e795
SM
2842 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2843 open braces.
2844
2845 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2846
bdc6b4c8
SM
2847 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2848 (css-mode): Use electric-indent-chars.
2849
da3e5ebb
SM
2850 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2851 (font-lock-beg, font-lock-end): Move before first use.
2852 (nxml-mode): Use syntax-propertize-function.
2853 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2854 (nxml-extend-after-change-region): Remove.
2855 * nxml/xmltok.el: Use lexical-binding.
2856 (xmltok-save): Use `declare'.
2857 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2858 * nxml/nxml-util.el: Use lexical-binding.
2859 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2860 Use `declare'.
2861 * nxml/nxml-ns.el: Use lexical-binding.
2862 (nxml-ns-save): Use `declare'.
2863 (nxml-ns-prefixes-for): Avoid add-to-list.
2864 * nxml/rng-match.el: Use lexical-binding.
2865 (rng--ipattern): Use cl-defstruct.
2866 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2867 (rng-cons-group-after, rng-subst-group-after)
2868 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2869 Use closures instead of `(lambda...).
2870
f8f91d5d
MA
28712013-10-07 Michael Albinus <michael.albinus@gmx.de>
2872
2873 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2874 of BEG and END.
2875
da3e5ebb
SM
2876 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2877 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
2878 (tramp-gvfs-handle-insert-file-contents): Remove function.
2879
da3e5ebb
SM
2880 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2881 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
2882
2883 * net/trampver.el: Update release number.
2884
7ccae3b1
SM
28852013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2886
55ca2c0d
SM
2887 * progmodes/compile.el (compilation-parse-errors):
2888 Use compilation--put-prop.
2889 (compilation--ensure-parse): Check compilation-multiline.
2890
731fc3ae
SM
2891 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2892
da3e5ebb
SM
2893 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2894 lexical-binding.
a5833280 2895
2e7ba2c2
SM
2896 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2897
7ccae3b1
SM
2898 * progmodes/ruby-mode.el: Fix recently added tests.
2899 (ruby-smie-grammar): Add - and +.
2900 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2901 (ruby-smie--backward-id): New functions.
2902 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2903 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2904 any more.
2905
85698d63
LL
29062013-10-07 Leo Liu <sdl.web@gmail.com>
2907
2908 * register.el (register-preview-delay)
2909 (register-preview-functions): New variables.
2910 (register-read-with-preview, register-preview)
2911 (register-describe-oneline): New functions.
2912 (point-to-register, window-configuration-to-register)
2913 (frame-configuration-to-register, jump-to-register)
2914 (number-to-register, view-register, insert-register)
2915 (copy-to-register, append-to-register, prepend-to-register)
2916 (copy-rectangle-to-register): Use register-read-with-preview to
2917 read register. (Bug#15525)
2918
3986af6c
DS
29192013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2920
2921 * net/network-stream.el (network-stream-open-starttls): Don't add
2922 --insecure if it's already present, because that gnutls-cli
2923 rejects getting that parameter twice.
2924
5cd9cda9
DG
29252013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2926
2927 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2928 keyword, too.
2929
da9ea6d9
DG
29302013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2931
2932 * newcomment.el (comment-use-global-state): Change default value
2933 to t, mark obsolete (Bug#15251).
2934 (comment-beginning): In addition to `comment-to-syntax', check the
2935 value of `comment-use-global-state'.
2936
34d1a133
SM
29372013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2938
2939 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2940 (ruby-comment-column): Follow the global default, by default.
2941 (ruby-smie-grammar): Add assignment syntax.
2942 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2943 open-paren, a comma, or a \.
2944 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2945 and line continuations.
2946 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2947 followed by implicit semi-colons. Add rule for string concatenation
2948 and for indentation at BOB.
2949 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2950
2951 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2952 calling next-sexp, since next-token may have skipped chars which
2953 next-sexp doesn't know should be skipped!
2954
6f6ab820
LL
29552013-10-05 Leo Liu <sdl.web@gmail.com>
2956
34d1a133
SM
2957 * progmodes/octave.el (octave-send-region):
2958 Call compilation-forget-errors.
6f6ab820 2959
34ca0f4c
XF
29602013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2961
2962 * vc/vc-svn.el (vc-svn-find-admin-dir):
2963 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2964 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2965 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2966 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2967
a27c1b72
SM
29682013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2969
2970 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2971
258ab3bc
SM
29722013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2973
2974 * subr.el (read-passwd): Hide chars even when called within a context
2975 where after-change-functions is disabled (bug#15501).
2976 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2977 until we removed ourself from overriding-terminal-local-map.
2978
939fb29c
LL
29792013-10-04 Leo Liu <sdl.web@gmail.com>
2980
258ab3bc
SM
2981 * progmodes/octave.el (inferior-octave-mode):
2982 Call compilation-forget-errors.
939fb29c 2983
63bd7f35
XF
29842013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2985
2986 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2987
9e6229fa
MA
29882013-10-04 Michael Albinus <michael.albinus@gmx.de>
2989
2990 * net/secrets.el (secrets-create-collection): Add optional
2991 argument ALIAS. Use proper Label keyword. Append ALIAS as
2992 dbus-call-method argument. (Bug#15516)
2993
1dab32a3
LL
29942013-10-04 Leo Liu <sdl.web@gmail.com>
2995
2996 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2997 (inferior-octave-compilation-font-lock-keywords): New variables.
2998 (compilation-error-regexp-alist)
2999 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3000 (inferior-octave-mode): Use compilation-shell-minor-mode.
3001
6cad7ba3
JS
30022013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3003
3004 * minibuffer.el (completion--replace): Be careful that `end' might be
3005 a marker.
3006
acbadd00
DU
30072013-10-03 Daiki Ueno <ueno@gnu.org>
3008
3009 Add support for package signature checking.
3010 * emacs-lisp/package.el (url-http-file-exists-p)
3011 (epg-make-context, epg-context-set-home-directory)
3012 (epg-verify-string, epg-context-result-for)
3013 (epg-signature-status, epg-signature-to-string)
3014 (epg-check-configuration, epg-configuration)
3015 (epg-import-keys-from-file): Declare.
3016 (package-check-signature): New user option.
3017 (package-unsigned-archives): New user option.
3018 (package-desc): Add `signed' field.
3019 (package-load-descriptor): Set `signed' field if .signed file exists.
3020 (package--archive-file-exists-p): New function.
3021 (package--check-signature): New function.
3022 (package-install-from-archive): Check package signature.
3023 (package--download-one-archive): Check archive signature.
3024 (package-delete): Remove .signed file.
3025 (package-import-keyring): New command.
3026 (package-refresh-contents): Import default keyring.
3027 (package-desc-status): Add "unsigned" status.
3028 (describe-package-1, package-menu--print-info)
3029 (package-menu-mark-delete, package-menu--find-upgrades)
3030 (package-menu--status-predicate): Support "unsigned" status.
3031
adf2aa61
SM
30322013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3033
3034 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3035 the new compilation scheme using the new byte-codes.
3036
3037 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3038 (byte-pophandler): New byte codes.
3039 (byte-goto-ops): Adjust accordingly.
3040 (byte-compile--use-old-handlers): New var.
3041 (byte-compile-catch): Use new byte codes depending on
3042 byte-compile--use-old-handlers.
3043 (byte-compile-condition-case--old): Rename from
3044 byte-compile-condition-case.
3045 (byte-compile-condition-case--new): New function.
3046 (byte-compile-condition-case): New function that dispatches depending
3047 on byte-compile--use-old-handlers.
3048 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3049 when we can.
3050
3051 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3052 Optimize under `condition-case' and `catch' if
3053 byte-compile--use-old-handlers is nil.
3054 (disassemble-offset): Handle new bytecodes.
3055
328a8179
SM
30562013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3057
3058 * subr.el (error): Use `declare'.
3059 (decode-char, encode-char): Use advertised-calling-convention instead
3060 of the docstring to discourage use of the `restriction' arg.
3061
15a1e936
DU
30622013-10-03 Daiki Ueno <ueno@gnu.org>
3063
3064 * epg.el (epg-verify-file): Add a comment saying that it does not
3065 notify verification error as a return value nor a signal.
3066 (epg-verify-string): Ditto.
3067
376f862a
KR
30682013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3069
3070 * progmodes/compile.el (compilation-start): Try globbing the arg to
3071 `cd' (bug#15417).
3072
a2f93a5f
MA
30732013-10-02 Michael Albinus <michael.albinus@gmx.de>
3074
3075 Sync with Tramp 2.2.8.
3076
3077 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3078 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3079 * net/trampver.el: Update release number.
3080
0daa0804
JD
30812013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3082
3083 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3084 and default-process-coding-system for darwin only.
3085
abd1ae34
SM
30862013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3087
3088 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3089
be4e325d
MH
30902013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3091
3092 * vc/vc-git.el (vc-git-grep): Disable pager.
3093
e9155c4a
DG
30942013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3095
494e898b
DG
3096 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3097 Use :url instead of :homepage, as per
3098 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3099
e9155c4a
DG
3100 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3101 non-nil, use `syntax-ppss' (Bug#15251).
3102
481a8e0f
RS
31032013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3104
be4e325d
MH
3105 * progmodes/octave.el (inferior-octave-startup-file):
3106 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 3107
056453c6
DG
31082013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3109
be4e325d
MH
3110 * emacs-lisp/package.el (package-desc-from-define):
3111 Accept additional arguments as plist, convert them to an alist and store
3112 them in the `extras' slot.
056453c6
DG
3113 (package-generate-description-file): Convert extras alist back to
3114 plist and append to the `define-package' form arguments.
3115 (package--alist-to-plist): New function.
3116 (package--ac-desc): Add `extras' slot.
3117 (package--add-to-archive-contents): Check if the archive-contents
3118 vector is long enough, and if it is, pass its `extras' slot value
3119 to `package-desc-create'.
3120 (package-buffer-info): Call `lm-homepage', pass the returned value
3121 to `package-desc-from-define'.
3122 (describe-package-1): Render the homepage button (Bug#13291).
3123
be4e325d
MH
3124 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3125 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 3126
832966e5
JD
31272013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3128
3129 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3130 and default-process-coding-system to utf-8-unix (Bug#15402).
3131
6cfe977d
XF
31322013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3133
3134 * subr.el (looking-back): Do not recommend using looking-back.
3135
38de11bd
AM
31362013-09-28 Alan Mackenzie <acm@muc.de>
3137
3138 Fix indentation/fontification of Java enum with "implements".
3139
3140 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3141 regexp which matches "implements", etc., in Java.
3142 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3143 specifier clauses coming after "enum".
3144 * progmodes/cc-fonts.el (c-font-lock-declarations)
3145 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3146 after "enum".
3147
1610938f
JD
31482013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3149
3150 * faces.el (region): Change ns_selection_color to
3151 ns_selection_fg_color, add ns_selection_bg_color.
3152
e090f499
LL
31532013-09-28 Leo Liu <sdl.web@gmail.com>
3154
4d2e94d1
LL
3155 * progmodes/octave.el (inferior-octave-completion-table)
3156 (inferior-octave-completion-at-point): Minor tweaks.
3157
e090f499
LL
3158 * textmodes/ispell.el (ispell-lookup-words): Rename from
3159 lookup-words. (Bug#15460)
3160 (lookup-words): Obsolete.
3161 (ispell-complete-word, ispell-command-loop): All uses changed.
3162
7e138a62
RS
31632013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3164
3165 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3166 (octave-mode-menu): Add octave-send-buffer.
3167 (octave-send-buffer): New function.
3168
5af5ed08
RS
31692013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3170
3171 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3172 octave-lookfor.
3173 (octave-mode-menu): Add octave-lookfor.
3174 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3175 octave-lookfor.
3176 (octave-lookfor): New function.
3177
3b7b2692
SM
31782013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3179
3180 * emacs-lisp/cl-macs.el:
3181 (cl--loop-destr-temps): Remove.
3182 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3183 its convention.
3184 (cl--loop-set-iterator-function): New function.
3185 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3186 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3187 Bind `it' with `let' instead of substituting it with `cl-subst'.
3188 (cl--unused-var-p): New function.
3189 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3190 Eliminate some unused variable warnings (bug#15326).
3191
529fb53f
TH
31922013-09-27 Tassilo Horn <tsdh@gnu.org>
3193
3194 * doc-view.el (doc-view-scale-reset): Rename from
3195 `doc-view-reset-zoom-level'.
3196 (doc-view-scale-adjust): New command.
3197 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3198 `doc-view-scale-adjust'.
3199
0550c95a
TH
32002013-09-26 Tassilo Horn <tsdh@gnu.org>
3201
3202 * doc-view.el (doc-view-reset-zoom-level): New command.
3203 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3204 zoom commands (bug#15466).
3205
6950f152
KH
32062013-09-26 Kenichi Handa <handa@gnu.org>
3207
3208 * international/quail.el (quail-help): Make it not a command.
3209
39587580
LL
32102013-09-26 Leo Liu <sdl.web@gmail.com>
3211
3212 * minibuffer.el (completion-all-sorted-completions): Make args
3213 optional as they are.
3214
00578659
DC
32152013-09-25 Daniel Colascione <dancol@dancol.org>
3216
3217 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3218 specs are and that they're not evaluated.
3219
0c173878
SS
32202013-09-24 Sam Steingold <sds@gnu.org>
3221
3222 * midnight.el (clean-buffer-list-kill-regexps)
3223 (clean-buffer-list-kill-buffer-names): Update for the new Man
3224 buffer naming which includes the object name.
3225
84998447
SM
32262013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3227
3228 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3229 (eshell-parse-command, eshell-parse-pipeline): Use it since
3230 eshell-separate-commands requires a dynamic scoped var.
3231 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3232
33215353
LL
32332013-09-23 Leo Liu <sdl.web@gmail.com>
3234
3235 * autoinsert.el (auto-insert-alist): Make the value of
3236 lexical-binding match its file setting.
3237
57b16162
JB
32382013-09-23 Juanma Barranquero <lekktu@gmail.com>
3239
c8af4e67
JB
3240 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3241
57b16162
JB
3242 * autoarg.el (autoarg-kp-digit-argument):
3243 * electric.el (Electric-command-loop):
3244 * kmacro.el (kmacro-step-edit-insert):
3245 Do not set universal-argument-num-events.
3246
7186ba60
LL
32472013-09-22 Leo Liu <sdl.web@gmail.com>
3248
3249 * files.el (interpreter-mode-alist): Add octave.
3250
ece15004
AM
32512013-09-21 Alan Mackenzie <acm@muc.de>
3252
3253 C++: fontify identifier in declaration following "public:" correctly.
3254 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3255 to match "public", etc.
3256 (c-decl-prefix-re): Add ":" into the C++ value.
3257 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3258 bit. Add a check for a ":" preceded by "public", etc.
3259
75d83e22
EZ
32602013-09-21 Eli Zaretskii <eliz@gnu.org>
3261
3262 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3263 recognized by GDB 7.5 and later.
3264
d052d3bd
XF
32652013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3266
3267 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3268
31dca772
R
32692013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3270
3271 * subr.el (internal--call-interactively): New const.
3272 (called-interactively-p): Use it (bug#3984).
3273
98ccf24e
XF
32742013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3275
3276 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
3277 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3278 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 3279
c39cc7d1
SM
32802013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3281
3282 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3283 (eshell-ls-orig-insert-directory): Remove.
3284 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3285 (eshell-ls-use-in-dired): Use advice-add/remove.
3286 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3287 Add `orig-fun' arg for use in :around advice.
3288 Make it check (redundantly) eshell-ls-use-in-dired.
3289
9a0289a2
GM
32902013-09-19 Glenn Morris <rgm@gnu.org>
3291
a2c501b8
GM
3292 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3293
c440407a
GM
3294 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3295
9a0289a2
GM
3296 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3297
85e05915
MA
32982013-09-19 Michael Albinus <michael.albinus@gmx.de>
3299
3300 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3301 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3302 (tramp-get-remote-python): New defuns.
3303 (tramp-get-remote-uid-with-perl)
3304 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3305 contributed by yary <not.com@gmail.com> (tiny change).
3306 (tramp-get-remote-uid-with-python)
3307 (tramp-get-remote-gid-with-python): New defuns. Python code
3308 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3309 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3310
ce503312
GM
33112013-09-19 Glenn Morris <rgm@gnu.org>
3312
f7544773
GM
3313 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3314
72fd2877
GM
3315 * eshell/em-unix.el (eshell-remove-entries):
3316 Rename argument to avoid name-clash with global `top-level'.
3317
336b5a56
GM
3318 * eshell/esh-proc.el (eshell-kill-process-function):
3319 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3320 (eshell-reset-after-proc): Remove unused arg `proc'.
3321
57a3a53d
GM
3322 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3323 (directory-files-and-attributes): Mark unused arg.
3324
3261d4af
GM
3325 * eshell/em-unix.el (eshell-remove-entries):
3326 Remove unused arg `path'. Update callers.
3327
8e51b5d0
GM
3328 * eshell/em-hist.el (eshell-hist-parse-arguments):
3329 Remove unused arg `silent'. Update callers.
3330
ce503312
GM
3331 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3332 Fix (f)boundp mix-up.
3333
3334 * eshell/em-smart.el (eshell-smart-scroll-window)
3335 (eshell-disable-after-change):
336b5a56 3336 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 3337
ee3ce8a7
AM
33382013-09-18 Alan Mackenzie <acm@muc.de>
3339
3340 Fix fontification of type when followed by "const".
3341 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3342 "known" types from fontification.
3343
ec9177ba
GM
33442013-09-18 Glenn Morris <rgm@gnu.org>
3345
7bb3e768
GM
3346 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3347 (chart-face-list): Drop Emacsen without display-color-p.
3348
5148da15
GM
3349 * net/eww.el (libxml-parse-html-region): Declare.
3350 (eww-display-html): Explicit error if no libxml2 support.
3351
2f68e157
GM
3352 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3353
9019d095
GM
3354 * image.el (image-type-from-buffer, image-multi-frame-p):
3355 Remove --without-x warning/error.
67645389 3356
5f30349b 3357 * mouse.el (mouse-yank-primary):
45069b2e 3358 * term.el (term-mouse-paste):
5f30349b
GM
3359 Reorder to silence --without-x compilation.
3360
cd8edbbe
GM
3361 * mpc.el (doc-view-mode): Silence --without-x compilation.
3362
8a78544e
GM
3363 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3364 Silence --without-x compilation.
3365
12679bfd
GM
3366 * progmodes/gud.el (gud-find-file, gud-mode):
3367 Silence --without-x compilation.
3368 (tooltip-mode): Declare.
30810a05 3369
f0047cb9
GM
3370 * wdired.el (dired-backup-overwrite): Remove declaration.
3371 (wdired-mode-map): Add doc string.
3372
e740f9d2
GM
3373 * custom.el (x-get-resource): Declare.
3374
92d77c89
GM
3375 * eshell/em-glob.el (ange-cache):
3376 * eshell/em-unix.el (ange-cache): Declare.
3377
76e69577
GM
3378 * faces.el (x-display-list, x-open-connection, x-get-resource):
3379 Declare.
7e58af4b
GM
3380
3381 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3382 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3383 Declare.
76e69577 3384
4bd4c0af 3385 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 3386
ffb82dbd
GM
3387 * net/gnutls.el (gnutls-log-level): Declare.
3388
986ed135
GM
3389 * net/shr.el (image-size, image-animate): Declare.
3390
e740f9d2
GM
3391 * simple.el (font-info): Declare.
3392
d2f3e9f8
GM
3393 * subr.el (x-popup-dialog): Declare.
3394
047a1a4c
GM
3395 * term/common-win.el (x-select-enable-primary)
3396 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3397 Declare.
3398
f4a1d572
GM
3399 * term/ns-win.el (x-handle-args): Declare.
3400
e843de77
GM
3401 * term/x-win.el (x-select-enable-clipboard): Declare.
3402
5fa89513
GM
3403 * term/w32-win.el (create-default-fontset): Declare.
3404
38702b5b
GM
3405 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3406 Declare.
3407
e740f9d2
GM
3408 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3409 (fit-frame-to-buffer): Explicit error if --without-x.
3410 (mouse-autoselect-window-select): Silence compiler.
3411
49a053fc
GM
3412 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3413
3414 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3415 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3416 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 3417 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
3418 Remove unused local variables.
3419
3420 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3421
ec9177ba
GM
3422 * textmodes/two-column.el: Make 2C-split work for --without-x.
3423 (scroll-bar-columns): Autoload.
3424 (top-level): Require fringe when compiling.
3425
9f25cb77
LL
34262013-09-18 Leo Liu <sdl.web@gmail.com>
3427
3428 * subr.el (add-hook): Robustify to handle closure as well.
3429
2b42da98
GM
34302013-09-17 Glenn Morris <rgm@gnu.org>
3431
3432 * simple.el (messages-buffer-mode-map): Unbind "g".
3433
e8b66a6a
SM
34342013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3435
9c0ad4f7
SM
3436 * help-mode.el (help-mode-finish): Use derived-mode-p.
3437 Remove obsolete highlighting.
3438
7a806dfb
SM
3439 * play/life.el (life-mode): Use define-derived-mode. Derive from
3440 special-mode.
3441 (life): Let-bind inhibit-read-only.
3442 (life-setup): Avoid `setq'. Use `life-mode'.
3443
96dbf5a8
SM
3444 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3445 which should not be needed any more.
3446 (package-menu-refresh, package-menu-describe-package): Use user-error.
3447
e8b66a6a
SM
3448 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3449 (eshell-post-rewrite-command-hook): Make obsolete.
3450 (eshell-parse-command): Simplify.
3451 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3452 (eshell--cmd): Declare.
3453 (eshell-parse-pipeline): Remove unused var `final-p'.
3454 Pass a dynvar to eshell-post-rewrite-command-hook.
3455 Implement the new eshell-post-rewrite-command-function.
3456 (eshell-invoke-directly): Remove unused arg `input'.
3457 * eshell/esh-io.el (eshell-io-initialize):
3458 Use eshell-post-rewrite-command-function (bug#15399).
3459 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3460 adjust to new calling convention.
3461 (eshell-create-handles): Rename args to avoid clashing with dynvar
3462 `standard-output'.
3463
90582f05
GM
34642013-09-17 Glenn Morris <rgm@gnu.org>
3465
3466 * simple.el (messages-buffer-mode): New major mode.
3467 (messages-buffer): New function.
3468 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3469 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 3470 (ert-run-test): Use `messages-buffer' function.
90582f05 3471 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
3472 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3473 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 3474
39eb0cb5 34752013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
3476
3477 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3478
1f1e06e2
SM
3479 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3480
70568a90
SM
34812013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3482
504a0381
SM
3483 * icomplete.el (icomplete-in-buffer): New var.
3484 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3485 vars and replace them with functions.
3486 (icomplete-minibuffer-setup): Adjust accordingly.
3487 (icomplete--completion-table, icomplete--completion-predicate)
3488 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3489 New functions.
3490 (icomplete-forward-completions, icomplete-backward-completions)
3491 (icomplete-simple-completing-p, icomplete-exhibit)
3492 (icomplete-completions): Use them.
3493 (icomplete--in-region-buffer): New var.
3494 (icomplete--in-region-setup): New function.
3495 (icomplete-mode): Use it.
3496
70568a90
SM
3497 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3498 (bug#15379).
3499 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3500 return args and options.
3501 (eshell-eval-using-options): Use the new return value of
3502 eshell--do-opts to set the options's vars in their scope.
3503 (eshell--set-option): Rename from eshell-set-option.
3504 Add arg `opt-vals'.
3505 (eshell--process-option): Rename from eshell-process-option.
3506 Add arg `opt-vals'.
3507 (eshell--process-args): Use an `opt-vals' alist to store the options's
3508 values during their processing and return them additionally to the
3509 remaining args.
3510
578c21bc
DG
35112013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3512
3513 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3514 continuation character an operator, as far as indentation is
3515 concerned (Bug#15369).
3516
c089653d
MR
35172013-09-15 Martin Rudalics <rudalics@gmx.at>
3518
3519 * window.el (window--state-put-2): Don't process buffer state
3520 when buffer doesn't exist any more (Bug#15382).
3521
1e53bb4b
GM
35222013-09-15 Glenn Morris <rgm@gnu.org>
3523
30753242
GM
3524 * eshell/em-unix.el (eshell/rm):
3525 Make -f ignore missing files. (Bug#15373)
3526
1e53bb4b
GM
3527 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3528 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3529 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3530
0d8863b3
GM
35312013-09-14 Glenn Morris <rgm@gnu.org>
3532
3533 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3534
d3fc6549
GM
35352013-09-13 Glenn Morris <rgm@gnu.org>
3536
3537 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3538 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3539
fcd42c11
DA
35402013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3541
3542 * frame.el (x-focus-frame): Mark as declared in frame.c.
3543
7830899f
SM
35442013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3545
3546 * ls-lisp.el: Use advice-add.
3547 (original-insert-directory): Remove.
3548 (ls-lisp--insert-directory): Rename from insert-directory; add
3549 `orig-fun' argument.
3550 (insert-directory): Advise.
3551
84387cd2
EZ
35522013-09-13 Eli Zaretskii <eliz@gnu.org>
3553
3554 * term.el (term-emulate-terminal): Decode the command string
3555 before passing it to term-command-hook. (Bug#15337)
3556
35ffc6ba
GM
35572013-09-13 Glenn Morris <rgm@gnu.org>
3558
5c3f9bcc
GM
3559 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3560
2ada368a
GM
3561 * eshell/esh-ext.el (eshell-search-path): Declare.
3562
fcef2e13
GM
3563 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3564 Otherwise an error occurs if eshell-dirs module not loaded.
3565
35ffc6ba
GM
3566 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3567
35c3d36e
MA
35682013-09-13 Michael Albinus <michael.albinus@gmx.de>
3569
3570 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3571 `tramp-check-proper-host'. Check for a valid method name.
3572
3573 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3574 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3575 * net/tramp-sh.el (tramp-maybe-open-connection):
3576 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3577
3578 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3579 also for hash values.
3580
ae5e4c48
SM
35812013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3582
379add74
SM
3583 * term/ns-win.el (parameters): Don't declare as dynamic.
3584 (before-make-frame-hook): Don't add ineffective function.
3585
ae5e4c48
SM
3586 * eshell/*.el: Use lexical-binding (bug#15231).
3587
b5623270
KH
35882013-09-12 Kenichi Handa <handa@gnu.org>
3589
ae5e4c48 3590 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 3591
30213927
GM
35922013-09-12 Glenn Morris <rgm@gnu.org>
3593
be94d713 3594 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 3595 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 3596
44915370
GM
3597 * subr.el (do-after-load-evaluation): Also give compiler warnings
3598 when obsolete files are used (except by obsolete files).
3599
a6ae021f
GM
3600 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3601 in the status output, assume `filename' is the first. (Bug#15322)
3602
40e64f0c
GM
3603 * vc/vc.el (vc-deduce-fileset): Doc fix.
3604
16d9f896
GM
3605 * calc/calc-help.el (Info-goto-node):
3606 * progmodes/cperl-mode.el (Info-find-node):
3607 * vc/ediff.el (Info-goto-node): Update declarations.
3608
dea01c6e
GM
3609 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3610
759880bf 3611 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
3612 (vc-bzr-pull): Require vc-dispatcher.
3613 * vc/vc-git.el (vc-compilation-mode): Declare.
3614 (vc-git-pull): Require vc-dispatcher.
3615
08d66420
GM
3616 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3617
30b626e9
GM
3618 * progmodes/octave.el (help-button-action): Declare.
3619
8c05cb10
GM
3620 * shell.el (shell-directory-tracker): Output error as a message
3621 rather than just returning it as a string.
3622 (shell-process-pushd): Remove useless use of message.
3623
30213927
GM
3624 * dframe.el (dframe-timer-fn):
3625 * files.el (dir-locals-read-from-file):
3626 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3627 (mpc-format):
3628 * reveal.el (reveal-post-command):
3629 * saveplace.el (load-save-place-alist-from-file):
3630 * shell.el (shell-resync-dirs):
3631 * w32-common-fns.el (x-get-selection-value):
3632 * emacs-lisp/copyright.el (copyright-find-copyright):
3633 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3634 * emulation/tpu-edt.el (tpu-copy-keyfile):
3635 * play/bubbles.el (bubbles--mark-neighbourhood):
3636 * progmodes/executable.el
3637 (executable-make-buffer-file-executable-if-script-p):
3638 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3639
d3b049e6
SM
36402013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3641
170266d0
SM
3642 Cleanup Eshell to rely less on dynamic scoping.
3643 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3644 last-value, and ext-command here. Bind `args' closer to `body'.
3645 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3646 (eshell--args): Declare new dynamic var.
3647 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3648 last-value, and ext-command. Pass `args' to `body'.
3649 (eshell-process-args): Bind eshell--args.
3650 (eshell-set-option): Use eshell--args.
3651 * eshell/eshell.el (eshell): Use derived-mode-p.
3652 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3653 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3654 (eshell-glob-function): Declare.
3655 * eshell/esh-util.el: Require cl-lib.
3656 (eshell-read-hosts-file): Avoid add-to-list.
3657 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3658 `err'.
3659 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3660 Declare.
3661 (eshell/diff): Remove unused var `err'.
3662 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3663 `killflag'.
3664 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3665 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3666 first use.
3667 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3668 Move declaration before first use.
3669 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
3670 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3671 rely on cl-return.
3672
56834f3b
GM
36732013-09-12 Glenn Morris <rgm@gnu.org>
3674
3675 * term/ns-win.el (global-map): Remove binding for ispell-next,
3676 deleted 1999-05-29. (Bug#15357)
3677
5c91a2b8
GM
36782013-09-11 Glenn Morris <rgm@gnu.org>
3679
da712f22
GM
3680 * echistory.el (electric-command-history): Remove call to deleted func.
3681
512e4cdc
GM
3682 * play/landmark.el (landmark-mode): Fix typos.
3683
d3506ca5
GM
3684 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3685 Check cvs-sort-ignore-file is bound.
3686
5c91a2b8
GM
3687 * savehist.el: No need for cl when compiling on Emacs.
3688
feeff482
SM
36892013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3690
656bd483
SM
3691 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3692 (bug#15338).
d3b049e6
SM
3693 (eshell-self-insert-command, eshell-send-invisible):
3694 Remove unused argument.
656bd483
SM
3695 (eshell-handle-control-codes): Remove unused var `orig'.
3696 Avoid delete-backward-char.
3697
feeff482
SM
3698 * files.el (set-auto-mode): Simplify a bit further.
3699
2a08047a
GM
37002013-09-11 Glenn Morris <rgm@gnu.org>
3701
3702 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3703 (set-auto-mode): Don't regexp-quote elements.
3704 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3705 * progmodes/cc-mode.el (interpreter-mode-alist):
3706 * progmodes/ruby-mode.el (interpreter-mode-alist):
3707 Revert previous change.
3708
34675540
SM
37092013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3710
1b3b87df
SM
3711 * play/snake.el (snake-mode):
3712 * play/mpuz.el (mpuz-mode):
3713 * play/landmark.el (lm-mode):
3714 * play/blackbox.el (blackbox-mode):
3715 * play/5x5.el (5x5-mode):
3716 * obsolete/options.el (Edit-options-mode):
3717 * net/quickurl.el (quickurl-list-mode):
3718 * net/newst-treeview.el (newsticker-treeview-mode):
3719 * mail/rmailsum.el (rmail-summary-mode):
3720 * mail/mspools.el (mspools-mode):
3721 * locate.el (locate-mode):
3722 * ibuffer.el (ibuffer-mode):
3723 * emulation/ws-mode.el (wordstar-mode):
3724 * emacs-lisp/debug.el (debugger-mode):
3725 * array.el (array-mode):
3726 * net/eudc.el (eudc-mode): Use define-derived-mode.
3727 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3728 Move initialization into declaration.
3729 (mairix-searches-mode): Use define-derived-mode.
3730 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3731 (eudc-edit-hotlist): Use dolist.
3732 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3733 (Man-mode): Use define-derived-mode.
3734 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3735 (Info-edit-mode): Use define-derived-mode.
3736 (Info-cease-edit): Use Info-mode.
3737 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3738 into declaration.
3739 (eshell-mode): Use define-derived-mode.
3740 * chistory.el (command-history-mode-map): Rename from
3741 command-history-map.
3742 (command-history-mode): Use define-derived-mode.
da712f22 3743 (Command-history-setup): Remove function.
1b3b87df
SM
3744 * calc/calc.el (calc-trail-mode-map): New var.
3745 (calc-trail-mode): Use define-derived-mode.
3746 (calc-trail-buffer): Set calc-main-buffer manually.
3747 * bookmark.el (bookmark-insert-annotation): New function.
3748 (bookmark-edit-annotation): Use it.
3749 (bookmark-edit-annotation-mode): Make it a proper major mode.
3750 (bookmark-send-edited-annotation): Use derived-mode-p.
3751 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3752 closer to its ideal place. Use \' to match EOS.
3753
34675540
SM
3754 * profiler.el (profiler-calltree-find): Use function-equal.
3755
6a5c15d9
GM
37562013-09-10 Glenn Morris <rgm@gnu.org>
3757
1af4c220
GM
3758 * files.el (interpreter-mode-alist): Convert to regexps.
3759 (set-auto-mode): Adapt for this. (Bug#15306)
3760 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3761 Comment out unused variable.
3762 * progmodes/cc-mode.el (interpreter-mode-alist):
3763 * progmodes/python.el (interpreter-mode-alist):
3764 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3765 * progmodes/sh-script.el (sh-set-shell):
3766 No longer use interpreter-mode-alist to get list of shells.
3767
6a5c15d9
GM
3768 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3769
8c27f5ff
SM
37702013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3771
02ef6c1a 3772 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 3773 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
3774 Bind switch-frame explicitly. Replace universal-argument-minus with
3775 a conditional binding.
3776 (universal-argument-num-events, saved-overriding-map): Remove.
3777 (restore-overriding-map): Remove.
3778 (universal-argument--mode): Rename from save&set-overriding-map,
3779 and rewrite.
3780 (universal-argument, universal-argument-more, negative-argument)
3781 (digit-argument): Adjust accordingly.
3782 (universal-argument-minus): Remove.
3783 (universal-argument-other-key): Remove.
3784
8c27f5ff
SM
3785 * subr.el (with-demoted-errors): Add `format' argument.
3786
6480194c
MA
37872013-09-10 Michael Albinus <michael.albinus@gmx.de>
3788
3789 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3790 `tramp-cleanup-connection'.
3791
3792 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3793 parameters KEEP-DEBUG and KEEP-PASSWORD.
3794
3795 * net/tramp.el (tramp-file-name-handler):
3796 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3797 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3798 (tramp-maybe-open-connection):
8c27f5ff
SM
3799 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3800 Use `tramp-cleanup-connection'.
6480194c 3801
8c27f5ff
SM
3802 * net/tramp-sh.el (tramp-maybe-open-connection):
3803 Catch 'uname-changed inside the progress reporter.
6480194c 3804
e5e916d8
GM
38052013-09-10 Glenn Morris <rgm@gnu.org>
3806
9a2c9b47
GM
3807 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3808
e5e916d8
GM
3809 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3810 returns "alternate access method" in mode (eg "-rw-r--r--.").
3811
144e38fe
GM
38122013-09-08 Glenn Morris <rgm@gnu.org>
3813
3814 * saveplace.el (load-save-place-alist-from-file):
3815 Demote errors. (Bug#15305)
3816
af9ff9e8
MA
38172013-09-08 Michael Albinus <michael.albinus@gmx.de>
3818
3819 Improve compatibility with older Emacsen, and XEmacs.
3820
3821 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3822 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
3823 (with-tramp-progress-reporter): Do not let-bind `result'.
3824 This yields to scoping errors in XEmacs.
af9ff9e8
MA
3825 (tramp-handle-make-auto-save-file-name): New function, moved from
3826 tramp-sh.el.
3827
3828 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3829 for `make-auto-save-file-name'.
8c27f5ff
SM
3830 (tramp-adb--gnu-switches-to-ash):
3831 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3832
3833 * net/tramp-cache.el (tramp-cache-print): Call
3834 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3835
3836 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3837 bound. It isn't for XEmacs.
3838
8c27f5ff
SM
3839 * net/tramp-compat.el (tramp-compat-copy-file):
3840 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
3841 (tramp-compat-replace-regexp-in-string): New defun.
3842
3843 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3844 for `make-auto-save-file-name'.
3845 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3846 `copy-file'.
3847 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3848 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3849 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3850
8c27f5ff
SM
3851 * net/tramp-gw.el (tramp-gw-open-network-stream):
3852 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 3853
8c27f5ff
SM
3854 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3855 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
3856 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3857 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
3858 (tramp-sh-file-inotifywait-process-filter):
3859 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3860 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3861
3862 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3863 for `make-auto-save-file-name'.
8c27f5ff
SM
3864 (tramp-smb-handle-copy-directory):
3865 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3866 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3867 (tramp-smb-handle-copy-file): Improve error message.
3868 (tramp-smb-handle-rename-file): Rename directly only in case
3869 `newname' does not exist yet. This is a restriction of smbclient.
3870 (tramp-smb-maybe-open-connection): Rerun the function only when
3871 `auth-sources' is non-nil.
3872
0ca754d0
KH
38732013-09-08 Kenichi Handa <handa@gnu.org>
3874
3875 * international/characters.el: Set category "^" (Combining) for
3876 more characters.
3877
e8dd0787
AM
38782013-09-07 Alan Mackenzie <acm@muc.de>
3879
3880 Correctly fontify Java class constructors.
3881 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3882 in Java Mode.
3883 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
3884 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3885 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
3886 "typeless" declaration there.
3887
f2f248e7
RW
38882013-09-07 Roland Winkler <winkler@gnu.org>
3889
3890 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3891 field subtitle for entry type book.
3892
67982e2b
SM
38932013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3894
3895 * minibuffer.el: Make minibuffer-complete call completion-in-region
3896 rather than other way around.
3897 (completion--some, completion-pcm--find-all-completions):
3898 Don't delay signals when debugging.
3899 (minibuffer-completion-contents): Beware fields within the
3900 minibuffer contents.
3901 (completion-all-sorted-completions): Use defvar-local.
3902 (completion--do-completion, completion--cache-all-sorted-completions)
3903 (completion-all-sorted-completions, minibuffer-force-complete):
3904 Add args `beg' and `end'.
3905 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3906 (minibuffer-complete): Use completion-in-region.
3907 (completion-complete-and-exit): New fun, extracted from
3908 minibuffer-complete-and-exit.
3909 (minibuffer-complete-and-exit): Use it.
3910 (completion--complete-and-exit): Rename from
3911 minibuffer--complete-and-exit.
3912 (completion-in-region--single-word): New function, extracted from
3913 minibuffer-complete-word.
3914 (minibuffer-complete-word): Use it.
3915 (display-completion-list): Make `common-substring' argument obsolete.
3916 (completion--in-region): Call completion--in-region-1 instead of
3917 minibuffer-complete.
3918 (completion-help-at-point): Pass boundaries to
3919 minibuffer-completion-help as args rather than via an overlay.
3920 (completion-pcm--string->pattern): Use `any-delim'.
3921 (completion-pcm--optimize-pattern): New function.
3922 (completion-pcm--pattern->regex): Handle `any-delim'.
3923 * icomplete.el (icomplete-forward-completions)
3924 (icomplete-backward-completions, icomplete-completions):
3925 Adjust calls to completion-all-sorted-completions and
3926 completion--cache-all-sorted-completions.
3927 (icomplete-with-completion-tables): Default to t.
3928 * emacs-lisp/crm.el (crm--current-element): Rename from
3929 crm--select-current-element. Don't put an overlay but return the
3930 boundaries instead.
3931 (crm--completion-command): Take two new args to bind to the boundaries.
3932 (crm-completion-help): Adjust accordingly.
3933 (crm-complete): Use completion-in-region.
3934 (crm-complete-word): Use completion-in-region--single-word.
3935 (crm-complete-and-exit): Use completion-complete-and-exit.
3936
e17d94a5
SM
39372013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3938
3939 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3940 than dynamically.
3941
96727100
JL
39422013-09-06 Juri Linkov <juri@jurta.org>
3943
3944 * info.el (Info-display-images-node): When image file doesn't exist
3945 display text version of the image if it's provided in the Info file.
3946 Otherwise, display the location of missing image from SRC attribute.
3947 Add help-echo text property from ALT attribute. (Bug#15279)
3948
86cf7329
SM
39492013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3950
3951 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3952 (edit-abbrevs-mode): Use define-derived-mode.
3953
3954 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3955 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3956 that it's defined.
3957 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3958 Use define-derived-mode.
3959
3960 * epg.el (epg-start-encrypt): Minor CSE simplification.
3961
816244a2
WX
39622013-09-06 William Xu <william.xwl@gmail.com>
3963
3964 * arc-mode.el: Add support for 7za (bug#15264).
3965 (archive-7z-program): New var.
3966 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3967 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3968 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3969
1486fa31
MA
39702013-09-06 Michael Albinus <michael.albinus@gmx.de>
3971
3972 Remove URL syntax.
3973
3974 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3975 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3976 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3977 (tramp-postfix-host-format, tramp-file-name-regexp)
3978 (tramp-completion-file-name-regexp)
3979 (tramp-completion-dissect-file-name)
3980 (tramp-handle-substitute-in-file-name): Remove 'url case.
3981 (tramp-file-name-regexp-url)
3982 (tramp-completion-file-name-regexp-url): Remove constants.
3983
39785324
GM
39842013-09-06 Glenn Morris <rgm@gnu.org>
3985
3986 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3987
1f896cb7
DG
39882013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3989
3990 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3991 keywords" below "here-doc beginnings" (Bug#15270).
3992
c0458e0b
SM
39932013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3994
3995 * subr.el (pop): Use `car-safe'.
3996 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3997 to detect unused `pop' return value.
3998
3999 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4000 var `block-regexp'.
4001 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4002 (python-fill-string): Remove unused var `marker'.
4003 (python-skeleton-add-menu-items): Remove unused var `items'.
4004
4005 * international/mule-cmds.el: Require CL.
4006 (find-coding-systems-for-charsets): Avoid add-to-list.
4007 (sanitize-coding-system-list): New function, extracted from
4008 select-safe-coding-system-interactively.
4009 (select-safe-coding-system-interactively): Use it.
4010 (read-input-method-name): Accept symbols for `default'.
4011
4012 * emacs-lisp/advice.el (defadvice): Add indent rule.
4013
6c42fc3e
DH
40142013-09-05 Daniel Hackney <dan@haxney.org>
4015
4016 * dired-x.el:
4017 * net/ange-ftp.el:
4018 * net/browse-url.el:
4019 * net/dbus.el:
4020 * net/eudc.el:
4021 * net/eudcb-ldap.el:
4022 * net/eww.el:
4023 * net/imap.el:
4024 * printing.el:
4025 * vc/ediff-diff.el:
4026 * vc/ediff-init.el:
4027 * vc/ediff-merg.el:
4028 * vc/ediff-mult.el:
4029 * vc/ediff-util.el:
4030 * vc/ediff-wind.el:
4031 * vc/ediff.el:
4032 * vc/emerge.el:
4033 * vc/pcvs.el:
4034 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4035 byte compiler. Remove some unused let-bound variables.
4036
4c528aab
SM
40372013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4038
4039 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4040 a "ref-cell", since it gets better optimized (bug#14883).
4041
bd15c390
GM
40422013-09-05 Glenn Morris <rgm@gnu.org>
4043
4044 * progmodes/cc-awk.el (c-forward-sws): Declare.
4045
1c3ac2e5
GM
40462013-09-04 Glenn Morris <rgm@gnu.org>
4047
4048 * generic-x.el [rul-generic-mode]: Require cc-mode.
4049 (c++-mode-syntax-table): Declare.
4050 (rul-generic-mode-syntax-table): Init in the defvar.
4051
52b1cc79
SM
40522013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4053
c828af56
SM
4054 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4055 (vc-do-command, vc-set-async-update):
4056 * vc/vc-mtn.el (vc-mtn-dir-status):
4057 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4058 (vc-hg-pull, vc-hg-merge-branch):
4059 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4060 (vc-git-merge-branch):
4061 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4062 (vc-cvs-dir-status-files):
4063 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4064 (vc-bzr-dir-status-files):
4065 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4066 * vc/vc-annotate.el: Use lexical-binding.
4067 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4068 (vc-sentinel-movepoint): Declare.
4069 (vc-annotate): Don't use `goto-line'.
4070 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4071 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4072 (vc-sentinel-movepoint): Declare.
4073 * vc/vc-svn.el: Use lexical-binding.
4074 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4075 * vc/vc-sccs.el:
4076 * vc/vc-rcs.el: Use lexical-binding.
4077
abae272c
SM
4078 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4079 `deleted'. Don't drop errors silently.
4080
52b1cc79
SM
4081 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4082
63191d9f
XF
40832013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4084
4085 * vc/vc.el (vc-ignore): Rewrite.
4086 (vc-default-ignore): New function.
4087 (vc-default-ignore-completion-table): Use find-ignore-file.
4088
4089 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4090 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4091 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4092 Remove. Most code moved to vc.el.
4093
9d3f707c
SM
40942013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4095
abae272c 4096 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
4097 * net/tramp-smb.el (tramp-smb-get-file-entries):
4098 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4099 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4100
fde38d49
SM
4101 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4102 Update call to it.
4103 (eww-change-select): Remove unused var `properties'.
4104 (eww-make-unique-file-name): Remove unused var `base'.
4105
4106 * finder.el (finder-compile-keywords): Don't mess with windows.
4107
84032db7
SM
4108 * calculator.el (calculator-funcall): Fix typo in last change.
4109
724f5e41
SM
4110 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4111
14b511d4
SM
4112 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4113 <pkg>-autoloads.el file stop us.
4114
9d3f707c 4115 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 4116 warnings, and factor out common code.
9d3f707c 4117
88527bc0
DG
41182013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4119
4120 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4121 two-character operators and whether the character preceding them
4122 changes their meaning (Bug#15208).
4123
96edb677
FEG
41242013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4125
4126 Format code sent to Python shell for robustness.
9d3f707c
SM
4127 * progmodes/python.el (python-shell-buffer-substring):
4128 New function.
96edb677
FEG
4129 (python-shell-send-region, python-shell-send-buffer): Use it.
4130
95beaef3
MA
41312013-09-02 Michael Albinus <michael.albinus@gmx.de>
4132
4133 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4134 * net/tramp.el (tramp-user-error): ... here.
4135 (tramp-find-method, tramp-check-proper-host)
4136 (tramp-dissect-file-name, tramp-debug-message)
4137 (tramp-handle-shell-command):
4138 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4139 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4140
4141 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4142
f167c27b
MR
41432013-09-02 Martin Rudalics <rudalics@gmx.at>
4144
4145 * avoid.el (mouse-avoidance-point-position)
4146 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4147 returns nil.
4148
cd16c5f1
FEG
41492013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4150
4151 * progmodes/python.el (python-shell-completion-get-completions):
4152 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 4153 (python-nav-if-name-main): New command.
cd16c5f1 4154
e73c3a0d
GM
41552013-09-01 Glenn Morris <rgm@gnu.org>
4156
f8ccce03
GM
4157 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4158 Avoid leading space in $wins. Otherwise the sed command used by
4159 eg compile-main ends up containing "/*.el". (Bug#15170)
4160
e73c3a0d
GM
4161 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4162
415f808e
GM
41632013-08-30 Glenn Morris <rgm@gnu.org>
4164
4165 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4166 Fix is-this-a-directory logic. (Bug#15220)
4167
f069bba8
SM
41682013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4169
112798c1
SM
4170 * textmodes/css-mode.el: Use SMIE.
4171 (css-smie-grammar): New var.
4172 (css-smie--forward-token, css-smie--backward-token)
4173 (css-smie-rules): New functions.
4174 (css-mode): Use them.
4175 (css-navigation-syntax-table): Remove var.
4176 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4177 (css-indent-calculate, css-indent-line): Remove functions.
4178
4179 Misc changes to reduce use of `(lambda...); and other cleanups.
4180 * cus-edit.el: Use lexical-binding.
4181 (customize-push-and-save, customize-apropos)
4182 (custom-buffer-create-internal): Use closures.
4183 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4184 * progmodes/ada-xref.el: Use setq.
4185 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4186 * dframe.el: Use lexical-binding.
4187 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4188 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4189 * descr-text.el: Use lexical-binding.
4190 (describe-text-widget, describe-text-sexp, describe-property-list):
4191 Use closures.
4192 * comint.el (comint-history-isearch-push-state): Use a closure.
4193 * calculator.el: Use lexical-binding.
4194 (calculator-number-to-string): Make it work with lexical-binding.
4195 (calculator-funcall): Same and use cl-letf.
4196
2da4c3ab
SM
4197 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4198 (lisp--company-doc-string, lisp--company-location): New functions.
4199 (lisp-completion-at-point): Use them to improve Company support.
4200
f069bba8
SM
4201 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4202 params of lambda expressions.
4203 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4204 (ruby-smie--opening-pipe-p): New function.
4205 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4206 symbols and matched |...| for formal params.
4207 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4208 from being treated as hanging. Handle "rescue".
4209
6758b6a8
GM
42102013-08-29 Glenn Morris <rgm@gnu.org>
4211
4212 * progmodes/cc-engine.el (c-pull-open-brace):
4213 Move definition before use.
4214
e8dfd197
SM
42152013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4216
4217 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4218 are immutable. Don't use `unsafe' any more.
4219 (cl--defsubst-expand): Don't substitute at the same time as keeping
4220 a residual unused let-binding. Don't use `unsafe' any more.
4221
cc585c96
GM
42222013-08-29 Glenn Morris <rgm@gnu.org>
4223
ba579ea6
GM
4224 * calendar/cal-china.el (calendar-chinese-year-cache):
4225 Recenter on 2015.
4226
8201a87e
GM
4227 * nxml/nxml-util.el (nxml-debug-clear-inside):
4228 Use cl-loop rather than loop.
4229
6ee877c7
GM
4230 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4231
cc585c96
GM
4232 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4233
27be8d39
GM
42342013-08-28 Glenn Morris <rgm@gnu.org>
4235
397440a1
GM
4236 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4237
2bb762d4
GM
4238 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4239
27be8d39
GM
4240 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4241
2d69b99e
SM
42422013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4243
f663baa7
SM
4244 * simple.el (repeat-complex-command--called-interactively-skip):
4245 New function.
4246 (repeat-complex-command): Use it (bug#14136).
4247
dd4f8b74
SM
4248 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4249 (c-define-abbrev-table): Add `doc' argument.
4250 (c-mode-abbrev-table, c++-mode-abbrev-table)
4251 (objc-mode-abbrev-table, java-mode-abbrev-table)
4252 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4253 (awk-mode-abbrev-table): Use it.
4254 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4255 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4256 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4257 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4258 Move initialization into the declaration; and remove any
4259 autoload cookie.
4260
b58969f7
SM
4261 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4262 and dynamic let binding.
4263
4021d6a6
SM
4264 * vc/smerge-mode.el: Remove redundant :group args.
4265
2d69b99e
SM
4266 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4267 to load-path.
4268
274919fd
JL
42692013-08-28 Juri Linkov <juri@jurta.org>
4270
4271 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4272 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4273 (isearch-other-meta-char): Handle an undefined shifted printing
4274 character by downshifting it. (Bug#15200)
4275
121f8c95
JL
42762013-08-28 Juri Linkov <juri@jurta.org>
4277
4278 * isearch.el (isearch-search): Change regexp error message for
4279 non-regexp searches. (Bug#15166)
4280
50b13cde
PE
42812013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4282
4283 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4284 for portability to hosts where /bin/sh has problems.
4285
95888bca
SM
42862013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4287
4288 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4289
bbe558f1
JL
42902013-08-27 Juri Linkov <juri@jurta.org>
4291
4292 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4293 in the keyboard macro. (Bug#15126)
4294
26f98a7d
JL
42952013-08-27 Juri Linkov <juri@jurta.org>
4296
4297 * isearch.el (isearch-quote-char): Comment out converting unibyte
4298 to multibyte, thus syncing with its `quoted-insert' counterpart.
4299 (Bug#15166)
4300
7c97d35e
MR
43012013-08-27 Martin Rudalics <rudalics@gmx.at>
4302
4303 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
4304 argument in call of get-largest-window (Bug#15185).
4305 Reported by Stephen Leake.
7c97d35e 4306
a0b5606e 43072013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
4308
4309 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4310
9e89d835
SM
43112013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4312
4313 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4314 from a matcher-function unless there's no more matches (bug#15161).
4315
78fc2530
MA
43162013-08-26 Michael Albinus <michael.albinus@gmx.de>
4317
4318 * minibuffer.el: Revert change from 2013-08-20.
4319
4320 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4321 with text property `tramp-default', if appropriate.
4322 (tramp-check-proper-host): New defun.
4323 (tramp-dissect-file-name): Do not check hostname. Revert change
4324 of 2013-03-18.
4325 (tramp-backtrace): Make VEC-OR-PROC optional.
4326
4327 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4328 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4329 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
4330 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4331 Apply `tramp-check-proper-host'.
78fc2530 4332
edca97cd
TH
43332013-08-26 Tassilo Horn <tsdh@gnu.org>
4334
4335 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4336 lambda expression in order to have `describe-variable' display it.
4337
df54bcbd
MA
43382013-08-26 Michael Albinus <michael.albinus@gmx.de>
4339
4340 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4341 BUF can be optional. (Bug#15186)
4342
eed99101
XF
43432013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4344
4345 * progmodes/flymake.el (flymake-get-real-file-name-function):
4346 Fix broken customization. (Bug#15184)
4347
b5eb9035
AM
43482013-08-25 Alan Mackenzie <acm@muc.de>
4349
8a51e842
AM
4350 Improve indentation of bracelists defined by macros (without "=").
4351
4352 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4353 expansion begins with "{", regard it as bracelist when it doesn't
4354 contain a ";".
4355
869455d4
AM
4356 Parse C++ inher-intro when there's a template split over 2 lines.
4357
4358 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4359 rigorously the search for "class" etc. followed by ":".
4360
4361 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4362 random languages a regexp which never matches rather than nil.
4363
b5eb9035
AM
4364 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4365
4366 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4367 (c-awk-regexp-one-line-possibly-open-char-list-re)
4368 (c-awk-one-line-possibly-open-regexp-re)
4369 (c-awk-one-line-non-syn-ws*-re): Remove.
4370 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4371 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4372 (c-awk-space*-unclosed-regexp-/-re): New constants.
4373 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4374 aren't regexp delimiters.
4375
4376 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4377 handling for a rare situation in AWK Mode involving unterminated
4378 strings/regexps.
4379
61611d54
GM
43802013-08-23 Glenn Morris <rgm@gnu.org>
4381
2d85dc34
GM
4382 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4383
cb8d2612
GM
4384 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4385
bb35f42f
GM
4386 * files.el (create-file-buffer): If the result would begin with
4387 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 4388
b9808e77
SM
43892013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4390
e3a66363
SM
4391 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4392 text-properties (bug#15155).
4393
b9808e77
SM
4394 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4395 exist any more.
4396 (calc-keypad-redraw): Remove unused var `pad'.
4397 (calc-keypad-press): Remove unused var `menu'.
4398
7fd5f65e
MR
43992013-08-23 Martin Rudalics <rudalics@gmx.at>
4400
b9808e77
SM
4401 * window.el (display-buffer-pop-up-frame):
4402 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
4403 use it as the new frame's buffer (Bug#15133).
4404
8352b530
SM
44052013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4406
4407 * calendar/timeclock.el: Minor cleanups.
4408 (timeclock-ask-before-exiting, timeclock-use-display-time):
4409 Use `symbol'.
4410 (timeclock-modeline-display): Define as alias before the
4411 actual definition.
4412 (timeclock-mode-line-display): Use define-minor-mode.
4413 (timeclock-day-list-template): Make it a function, add an argument.
4414 (timeclock-day-list-required, timeclock-day-list-length)
4415 (timeclock-day-list-debt, timeclock-day-list-span)
4416 (timeclock-day-list-break): Adjust calls accordingly.
4417
9f7b1925
SM
44182013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4419
4420 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4421 Use read--expression so that completion works again.
4422
6e50e983
SS
44232013-08-21 Sam Steingold <sds@gnu.org>
4424
4425 Add rudimentary inferior shell interaction
4426 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4427 (sh-set-shell): Reset it.
9f7b1925
SM
4428 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4429 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 4430
dbb0d350
SM
44312013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4432
4433 * align.el: Use lexical-binding.
4434 (align-region): Simplify accordingly.
4435
c88586a9
MA
44362013-08-20 Michael Albinus <michael.albinus@gmx.de>
4437
4438 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4439
4440 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4441 `non-essential' up.
4442
f95527c8
MA
44432013-08-17 Michael Albinus <michael.albinus@gmx.de>
4444
4445 * net/tramp.el:
4446 * net/tramp-adb.el:
4447 * net/tramp-cmds.el:
4448 * net/tramp-ftp.el:
4449 * net/tramp-gvfs.el:
4450 * net/tramp-gw.el:
4451 * net/tramp-sh.el: Don't wrap external variable declarations by
4452 `eval-when-compile'.
4453
4b5fe4ee
LMI
44542013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4455
4456 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4457 now that Emacs supports ImageMagick animations.
4458
13c366c9
MA
44592013-08-16 Michael Albinus <michael.albinus@gmx.de>
4460
4461 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4462 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4463
3dfc5cd6
MR
44642013-08-16 Martin Rudalics <rudalics@gmx.at>
4465
4466 * window.el (mouse-autoselect-window-select): Do autoselect when
4467 mouse pointer is on margin.
4468
4bbb4381
WP
44692013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4470
4471 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4472
3a2ddc2d
GM
44732013-08-16 Glenn Morris <rgm@gnu.org>
4474
e8bedf5a
GM
4475 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4476 Handle "Remote Directory" response of some clients. (Bug#15058)
4477
58c4682f
GM
4478 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4479 Tweak warning. (Bug#14926)
4480
57953f49
GM
4481 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4482 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4483
3a2ddc2d
GM
4484 * image-mode.el (image-mode-map): Add menu items to reverse,
4485 increase, decrease, reset animation speed.
4486 (image--set-speed, image-increase-speed, image-decrease-speed)
4487 (image-reverse-speed, image-reset-speed): New functions.
4488 (image-mode-map): Add bindings for speed commands.
4489
4490 * image.el (image-animate-get-speed, image-animate-set-speed):
4491 New functions.
4492 (image-animate-timeout): Respect image :speed property.
4493
10fa0ed3
SM
44942013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4495
4496 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4497 previous line (bug#15101).
4498 (debugger-eval-expression, debugger-record-expression):
4499 Use read--expression (bug#15102).
4500
5d89d9d2
MA
45012013-08-15 Michael Albinus <michael.albinus@gmx.de>
4502
4503 Remove byte compiler warnings, visible when compiling with
4504 `byte-compile-force-lexical-warnings' set to t.
4505
4506 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4507 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4508 (tramp-handle-unhandled-file-name-directory)
4509 (tramp-handle-file-notify-add-watch, tramp-action-login)
4510 (tramp-action-succeed, tramp-action-permission-denied)
4511 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4512 arguments with "_".
4513
4514 * net/tramp-adb.el (tramp-adb-parse-device-names)
4515 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4516 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4517 (tramp-adb-handle-file-truename): Remove unused arguments.
4518
4519 * net/tramp-cache.el (tramp-flush-directory-property)
4520 (tramp-flush-connection-property, tramp-list-connections)
4521 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4522
10fa0ed3
SM
4523 * net/tramp-compat.el (tramp-compat-make-temp-file):
4524 Rename FILENAME to F.
5d89d9d2
MA
4525
4526 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4527 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4528 (tramp-zeroconf-parse-workstation-device-names)
4529 (tramp-zeroconf-parse-webdav-device-names)
4530 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4531
4532 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4533 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4534
4535 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4536 arguments.
4537 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4538 (tramp-sh-handle-insert-file-contents-literally)
4539 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4540 with "_".
4541 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4542 Remove unused variables.
4543
4544 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4545 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4546 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4547
4548 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4549 Make them a defconst.
4550 (tramp-uuencode-region): Remove unused variable.
4551
62f33bae
JB
45522013-08-14 Juanma Barranquero <lekktu@gmail.com>
4553
4554 * frameset.el (frameset--prop-setter): New function.
4555 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
4556 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4557 parameter was already set in FILTERED. Doc fix.
4558 (frameset--record-minibuffer-relationships): Allow saving a
4559 minibufferless frame without its corresponding minibuffer frame.
4560 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4561 frame, if the frame id matches.
4562 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4563 frames before orphaned ones.
4564 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 4565
c660a885
MR
45662013-08-14 Martin Rudalics <rudalics@gmx.at>
4567
4568 * window.el (window-make-atom): Don't overwrite parameter
4569 already present.
4570 (display-buffer-in-atom-window): Handle special case where we
4571 split an already atomic window.
4572 (window--major-non-side-window, display-buffer-in-side-window)
4573 (window--side-check): Ignore minibuffer window when walking
4574 window tree.
4575 (window-deletable-p): Return 'frame only if no other frame uses
4576 our minibuffer window.
4577 (record-window-buffer): Run buffer-list-update-hook.
4578 (split-window): Make sure window--check-frame won't destroy an
4579 existing atomic window in case the new window gets nested
4580 inside.
4581 (display-buffer-at-bottom): Ignore minibuffer window when
4582 walking window tree. Don't split a side window.
4583 (pop-to-buffer): Don't set-buffer here, the select-window call
4584 should do that.
4585 (mouse-autoselect-window-select): Autoselect only if we are in the
4586 text portion of the window.
4587
8259030d
LMI
45882013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4589
21c58ae2
LMI
4590 * net/shr.el (shr-parse-image-data): New function to grab both the
4591 data itself and the Content-Type.
4592 (shr-put-image): Use it.
4593
4594 * net/eww.el (eww-display-image): Ditto.
4595
8259030d
LMI
4596 * image.el (image-content-type-suffixes): New variable.
4597
ad756449
FEG
45982013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4599
4600 * progmodes/python.el (python-imenu--build-tree)
4601 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4602
f73f4ce6
XF
46032013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4604
4605 * simple.el (backward-word): Mention the optional argument.
4606
1f585e65
SM
46072013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4608
4609 * frameset.el (frameset--make): Rename constructor from make-frameset.
4610 (frameset-p, frameset-valid-p): Don't autoload.
4611 (frameset-valid-p): Use normal accessors.
4612
af1c6c84
GM
46132013-08-13 Glenn Morris <rgm@gnu.org>
4614
55e47f95
GM
4615 * progmodes/compile.el (compile-command): Tweak example in doc.
4616 * obsolete/scribe.el (scribe-mode):
4617 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4618
f0024d8c
GM
4619 * mail/feedmail.el (feedmail-confirm-outgoing)
4620 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4621
4622 * cus-start.el (truncate-partial-width-windows): Fix type.
4623
4624 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4625
af1c6c84
GM
4626 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4627
5514cc4c
SM
46282013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4629
4630 * emacs-lisp/timer.el (timer--time-setter): New function.
4631 (timer--time): Use it as gv-setter.
4632
4633 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4634 setter is not a symbol.
4635
7997a2f1
GJ
46362013-08-12 Grégoire Jadi <daimrod@gmail.com>
4637
4638 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4639 if sending fails. This makes debugging easier.
4640
01f1a9ab
JB
46412013-08-12 Juanma Barranquero <lekktu@gmail.com>
4642
4643 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4644 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4645 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4646
594a4307
EZ
46472013-08-12 Eli Zaretskii <eliz@gnu.org>
4648
4649 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4650
7a22490f 46512013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
4652
4653 * format.el (format-annotate-function):
4654 Handle read-only text properties in the source. (Bug#14887)
4655
3e41a054
LMI
46562013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4657
5514cc4c
SM
4658 * net/eww.el (eww-display-html): Ignore coding system errors.
4659 One web site uses "utf-8lias" as the coding system.
3e41a054 4660
7ec326db
JB
46612013-08-11 Juanma Barranquero <lekktu@gmail.com>
4662
4663 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4664
5660113b
JB
46652013-08-10 Juanma Barranquero <lekktu@gmail.com>
4666
9a4ebc74
JB
4667 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4668 (tutorial--detailed-help): Remove unused local variables.
4669 (tutorial--save-tutorial-to): Use ignore-errors.
4670 (help-with-tutorial): Use looking-at-p.
4671
4672 * view.el (view-buffer-other-window, view-buffer-other-frame):
4673 Mark unused arguments.
4674
4675 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4676 (woman-select-symbol-fonts, woman, woman-find-file)
4677 (woman-insert-file-contents, woman-non-underline-faces):
4678 Use string-match-p.
4679 (woman1-unquote): Move declaration.
4680
4681 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4682 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4683 argument. Remove unused local variable.
4684 (xml-parse-elem-type): Use string-match-p.
4685 (xml-substitute-numeric-entities): Use ignore-errors.
4686
45fdb482
JB
4687 * calculator.el (calculator): Mark unused argument.
4688 (calculator-paste, calculator-quit, calculator-integer-p):
4689 Use ignore-errors.
4690 (calculator-string-to-number, calculator-decimal, calculator-exp)
4691 (calculator-op-or-exp): Use string-match-p.
4692
4693 * dired.el (dired-buffer-more-recently-used-p): Declare.
4694 (dired-insert-set-properties, dired-insert-old-subdirs):
4695 Use ignore-errors.
4696
4697 * dired-aux.el (dired-compress): Use ignore-errors.
4698 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4699 (dired-do-async-shell-command, dired-do-shell-command)
4700 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4701 (dired-insert-subdir-validate): Use string-match-p.
4702 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4703 (dired-add-entry): Use string-match-p, looking-at-p.
4704 (dired-insert-subdir-newpos): Remove unused local variable.
4705
4706 * filenotify.el (file-notify-callback): Remove unused local variable.
4707
4708 * filesets.el (filesets-error): Mark unused argument.
4709 (filesets-which-command-p, filesets-filter-dir-names)
4710 (filesets-directory-files, filesets-get-external-viewer)
4711 (filesets-ingroup-get-data): Use string-match-p.
4712
4713 * find-file.el (ff-other-file-name, ff-other-file-name)
4714 (ff-find-the-other-file, ff-cc-hh-converter):
4715 Remove unused local variables.
4716 (ff-get-file-name): Use string-match-p.
4717 (ff-all-dirs-under): Use ignore-errors.
4718
4719 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4720 (follow-select-if-visible): Remove unused local variable.
4721
4722 * forms.el (read-file-filter): Move declaration.
4723 (forms--make-format, forms--make-parser, forms-insert-record):
4724 Quote function with #'.
4725 (forms--update): Use string-match-p. Quote function with #'.
4726
4727 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4728 (help-make-xrefs): Use looking-at-p.
4729 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4730
4731 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4732 (ibuffer-confirm-operation-on): Use string-match-p.
4733
4734 * msb.el (msb-item-handler, msb-dired-item-handler):
4735 Mark unused arguments.
4736
4737 * ses.el (ses-decode-cell-symbol)
4738 (ses-kill-override): Remove unused local variable.
4739 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4740 (ses-load): Use ignore-errors, looking-at-p.
4741 (ses-jump-safe): Use ignore-errors.
4742 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4743
4744 * tabify.el (untabify, tabify): Mark unused arguments.
4745
4746 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4747 Mark unused argument.
4748 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4749 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4750
c880af52
JB
4751 * emacs-lisp/timer.el (timer--time): Define setter with
4752 gv-define-setter to avoid deprecation warning.
4753
5660113b 4754 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 4755 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
4756 (cmpl-statistics-block): Remove (body was commented out).
4757 All callers changed.
4758 (add-completions-from-buffer, load-completions-from-file):
4759 Remove unused variables.
4760
156aab80
JB
47612013-08-09 Juanma Barranquero <lekktu@gmail.com>
4762
5c5dee78
JB
4763 * filecache.el (file-cache-delete-file-list):
4764 Print message only when told so.
4765 (file-cache-files-matching): Use #' in mapconcat argument.
4766
156aab80
JB
4767 * ffap.el (ffap-url-at-point): Fix reference to variable
4768 thing-at-point-default-mail-uri-scheme.
4769
ad9dcd70
SM
47702013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4771
54bd972f
SM
4772 * subr.el (define-error): New function.
4773 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4774 error-file-not-found and define with define-error.
4775 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4776 and define with define-error.
4777 * userlock.el (file-locked, file-supersession):
4778 * simple.el (mark-inactive):
4779 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4780 * progmodes/ada-mode.el (ada-mode-errors):
4781 * play/life.el (life-extinct):
4782 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4783 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4784 * nxml/rng-util.el (rng-error):
4785 * nxml/rng-uri.el (rng-uri-error):
4786 * nxml/rng-match.el (rng-compile-error):
4787 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4788 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4789 * nxml/nxml-rap.el (nxml-scan-error):
4790 * nxml/nxml-outln.el (nxml-outline-error):
4791 * net/soap-client.el (soap-error):
4792 * net/gnutls.el (gnutls-error):
4793 * net/ange-ftp.el (ftp-error):
4794 * mpc.el (mpc-proc-error):
4795 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4796 (json-number-format, json-string-escape, json-string-format)
4797 (json-key-format, json-object-format):
4798 * jka-compr.el (compression-error):
4799 * international/quail.el (quail-error):
4800 * international/kkc.el (kkc-error):
4801 * emacs-lisp/ert.el (ert-test-failed):
4802 * calc/calc.el (calc-error, inexact-result, math-overflow)
4803 (math-underflow):
4804 * bookmark.el (bookmark-error-no-filename):
4805 * epg.el (epg-error): Define with define-error.
4806
0ea9e53a
SM
4807 * time.el (display-time-event-handler)
4808 (display-time-next-load-average): Don't call sit-for since it seems
4809 unnecessary (bug#15045).
4810
b0429158
SM
4811 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4812 Use #' instead of ' to quote functions.
4813 (checkdoc-output-mode): Use setq-local.
4814 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4815 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4816 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4817 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4818 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4819 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4820 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4821 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4822
ad9dcd70
SM
4823 * ido.el (ido-completion-help): Fix up compiler warning.
4824
77187e6f
JB
48252013-08-09 Juanma Barranquero <lekktu@gmail.com>
4826
4827 * frameset.el (frameset-p): Add autoload cookie.
4828 (frameset--jump-to-register): New function, based on code moved from
4829 register.el.
4830 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4831
4832 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4833 (frameset-restore, frameset-save, frameset-session-filter-alist):
4834 Remove declarations.
4835 (register-alist): Doc fix.
4836 (frameset-to-register): Move to frameset.el.
4837 (jump-to-register, describe-register-1): Remove frameset-specific code.
4838
9d3aa82c
JB
48392013-08-08 Juanma Barranquero <lekktu@gmail.com>
4840
4841 * allout-widgets.el (allout-widgets-pre-command-business)
4842 (allout-widgets-post-command-business)
4843 (allout-widgets-after-change-handler)
4844 (allout-decorate-item-and-context, allout-set-boundary-marker)
4845 (allout-body-modification-handler)
4846 (allout-graphics-modification-handler): Mark ignored arguments.
4847 (allout-widgets-post-command-business)
4848 (allout-widgets-exposure-change-processor)
4849 (allout-widgets-exposure-undo-processor)
4850 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4851 (allout-parse-item-at-point, allout-decorate-item-guides)
4852 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4853 * allout.el (epa-passphrase-callback-function): Declare.
4854 (allout-overlay-insert-in-front-handler)
4855 (allout-overlay-interior-modification-handler)
4856 (allout-isearch-end-handler, allout-chart-siblings)
4857 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4858 (allout-yank-processing, allout-process-exposed)
4859 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 4860 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
4861 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4862 (lisp-indent-defform): Mark ignored arguments.
4863 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4864 (calculate-lisp-indent): Remove unused variables.
4865 * international/characters.el (indian-2-column, arabic-2-column)
4866 (tibetan): Mark ignored arguments.
4867 (use-cjk-char-width-table): Mark ignored arguments.
4868 Remove unused variables.
4869 * international/fontset.el (build-default-fontset-data)
4870 (x-compose-font-name, create-fontset-from-fontset-spec):
4871 Mark ignored arguments.
4872 (fontset-plain-name): Remove unused variables.
4873 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4874 (keyboard-coding-system): Mark ignored arguments.
4875 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4876 * help.el (resize-temp-buffer-window):
4877 * window.el (display-buffer-in-major-side-window)
4878 (display-buffer-in-side-window, display-buffer-in-previous-window):
4879 Remove unused variables.
4880 * isearch.el (isearch-forward-symbol):
4881 * version.el (emacs-bzr-version-bzr):
4882 * international/mule-cmds.el (current-language-environment):
4883 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4884 (x-handle-display):
4885 * term/pc-win.el (x-list-fonts, x-display-planes)
4886 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4887 (x-server-version, x-display-screens, x-display-mm-height)
4888 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4889 (x-selection-owner-p, x-own-selection-internal)
4890 (x-disown-selection-internal, x-get-selection-internal)
4891 (msdos-initialize-window-system):
4892 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4893 * term/x-win.el (x-handle-no-bitmap-icon):
4894 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4895 (vc-default-find-file-hook, vc-default-extra-menu):
4896 Mark ignored arguments.
4897
0ca3f70e
SM
48982013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4899
4900 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4901 break-condition in the context of the debugged code (bug#12685).
4902
74c5d24c
CS
49032013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4904
4905 * comint.el:
4906 Do not use an overlay to highlight the last prompt. (Bug#14744)
4907 (comint-mode): Make comint-last-prompt buffer local.
4908 (comint-last-prompt): New variable.
4909 (comint-last-prompt-overlay): Remove. Superseded by
4910 comint-last-prompt.
0ca3f70e
SM
4911 (comint-snapshot-last-prompt, comint-output-filter):
4912 Use comint-last-prompt.
74c5d24c 4913
c03c02ee
JB
49142013-08-08 Juanma Barranquero <lekktu@gmail.com>
4915
a3738d20 4916 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
4917 (frameset-save): Check validity of the resulting frameset.
4918
04263d23
XF
49192013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4920
4921 * ido.el (ido-record-command): Add doc string.
4922
76c5e5ab
JB
49232013-08-08 Juanma Barranquero <lekktu@gmail.com>
4924
4925 * frameset.el (frameset): Do not disable creation of the default
4926 frameset-p predicate. Doc fix.
4927 (frameset-valid-p): New function, copied from the old predicate-p.
4928 Add additional checks.
4929 (frameset-restore): Check with frameset-valid-p.
4930 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4931 (frameset-name, frameset-description, frameset-properties)
4932 (frameset-states): Add docstring.
f9dbf1cb
JB
4933 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4934 (frameset-filter-alist): Doc fixes.
76c5e5ab 4935
bd0c3c0b
JB
49362013-08-08 Juanma Barranquero <lekktu@gmail.com>
4937
4938 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4939
c735544c
SM
49402013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4941
4942 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4943 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4944 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4945 (byte-compile-normal-call): Remove obsolescence check.
4946
2805a651
JB
49472013-08-08 Juanma Barranquero <lekktu@gmail.com>
4948
3677ffeb
JB
4949 * frameset.el (frameset-restore): Doc fix.
4950
2805a651
JB
4951 * register.el (frameset-frame-id, frameset-frame-with-id)
4952 (frameset-p, frameset-restore, frameset-save): Declare.
4953 (register-alist): Document framesets.
4954 (frameset-session-filter-alist): Declare.
4955 (frameset-to-register): New function.
4956 (jump-to-register): Implement jumping to framesets. Doc fix.
4957 (describe-register-1): Describe framesets.
4958
4959 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4960
a912c016
JB
49612013-08-07 Juanma Barranquero <lekktu@gmail.com>
4962
4963 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4964 Use lexical-binding.
4965
4966 * frameset.el (frameset): Use type vector, not list (incompatible
4967 change). Do not declare a new constructor, use the default one.
4968 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4969 `name' and `description', respectively, and add read-only slot
4970 `timestamp'. Doc fixes.
4971 (frameset-copy, frameset-persistent-filter-alist)
4972 (frameset-filter-alist, frameset-switch-to-gui-p)
4973 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4974 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4975 (frameset-filter-iconified, frameset-keep-original-display-p):
4976 Doc fixes.
4977 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4978 Rename from frameset-filter-(save|restore)-param. All callers changed.
4979 Doc fix.
4980 (frameset-p): Adapt to change to vector and be more thorough.
4981 Change arg name to OBJECT. Doc fix.
4982 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4983 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4984 All callers changed.
4985 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4986 All callers changed.
4987 (frameset--record-minibuffer-relationships): Rename from
4988 frameset--process-minibuffer-frames. All callers changed.
4989 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4990 Use new default constructor (again). Doc fix.
4991 (frameset--find-frame-if): Rename from `frameset--find-frame.
4992 All callers changed.
4993 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4994 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4995 Doc fix.
4996 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4997 PARAMETERS and WINDOW-STATE, respectively.
4998 (frameset-restore): Add new keyword argument PREDICATE.
4999 Reset frameset--target-display to nil. Doc fix.
5000
bb41480a
SM
50012013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5002
f001e98e
SM
5003 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5004 (bat-mode): Use it.
5005 (bat-mode-syntax-table): Mark \n as end-of-comment.
5006 (bat-font-lock-keywords): Remove comment rule.
5007
7679edb1
SM
5008 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5009 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5010
bb41480a
SM
5011 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5012 (byte-compile-callargs-warn): Use `push'.
5013 (byte-compile-arglist-warn): Ignore higher-order "calls".
5014 (byte-compile-file-form-autoload): Use `pcase'.
5015 (byte-compile-function-form): If quoting a symbol, check that it exists.
5016
cdc1ebb9
EZ
50172013-08-07 Eli Zaretskii <eliz@gnu.org>
5018
5019 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5020 and add a few popular commands found in batch files.
5021 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5022 (dos-mode): Doc fixes.
5023
312b1740
SM
50242013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5025
5026 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5027 (dos-mode): Use setq-local. Add space after "rem".
5028 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5029 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5030
400a3178
AM
50312013-08-07 Arni Magnusson <arnima@hafro.is>
5032
5033 * progmodes/dos.el: New file.
5034 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5035 dos-mode.
5036
3b5c03d3
GM
50372013-08-06 Glenn Morris <rgm@gnu.org>
5038
5039 * calendar/calendar.el: Add new faces, and day-header-array.
5040 (calendar-weekday-header, calendar-weekend-header)
5041 (calendar-month-header): New faces.
5042 (calendar-day-header-construct): New function.
5043 (calendar-day-header-width): Also :set calendar-day-header-array.
5044 (calendar-american-month-header, calendar-european-month-header)
5045 (calendar-iso-month-header): Use calendar- faces.
5046 (calendar-generate-month):
5047 Use calendar-day-header-array for day headers; apply faces to them.
5048 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5049 (calendar-abbrev-construct): Add optional maxlen argument.
5050 (calendar-day-name-array): Doc fix.
5051 (calendar-day-name-array, calendar-abbrev-length)
5052 (calendar-day-abbrev-array):
5053 Also :set calendar-day-header-array, and maybe redraw.
5054 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 5055 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
5056 (calendar-day-name): Add option to use header array.
5057
ec6a2d7a
LMI
50582013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5059
5060 * net/shr.el (shr-render-td): Remove debugging.
5061 (shr-render-td): Make width computation consistent by defaulting
5062 all zero-width columns to 10 characters. This may not be optimal,
5063 but it's at least consistent.
2122cb6d
LMI
5064 (shr-make-table-1): Redo last change to fix the real problem in
5065 colspan handling.
ec6a2d7a 5066
ed4fd9c5
DA
50672013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5068
0ca3f70e
SM
5069 * files.el (cache-long-line-scans):
5070 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 5071
64e22afe
JB
50722013-08-06 Juanma Barranquero <lekktu@gmail.com>
5073
024b38fc
JB
5074 * frameset.el (frameset, frameset-filter-alist)
5075 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5076 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5077 (frameset-compute-pos): Rename from frameset--compute-pos,
5078 and add docstring.
5079 (frameset-move-onscreen): Use frameset-compute-pos.
5080 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5081
64e22afe
JB
5082 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5083 Fix typos in docstrings.
5084
c8c2aca8
DA
50852013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5086
5087 * frame.el (get-other-frame): Tiny cleanup.
5088
1d237bba
JB
50892013-08-06 Juanma Barranquero <lekktu@gmail.com>
5090
8951efef
JB
5091 * vc/vc.el (vc-default-ignore-completion-table):
5092 Silence byte-compiler warning.
5093
307764cc
JB
5094 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5095 slot , which can indeed be nil.
5096 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5097 Move entry for `left' from persistent to live filter alist.
5098 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5099 Doc fixes.
5100 (frameset-filter-params): When restoring a frame, copy items added to
5101 `filtered', to avoid unwittingly modifying the original parameters.
5102 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5103 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5104
1d237bba
JB
5105 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5106 to use looking-at-p instead of looking-at. (Bug#15028)
5107
dc6c0eda
SM
51082013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5109
5110 Revert introduction of isearch-filter-predicates (bug#14714).
5111 Rely on add-function instead.
5112 * isearch.el (isearch-filter-predicates): Rename it back to
5113 isearch-filter-predicate.
5114 (isearch-message-prefix): Use advice-function-mapc and advice
5115 properties to get the isearch-message-prefix.
5116 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5117 instead of run-hook-with-args-until-failure.
5118 (isearch-filter-visible): Not obsolete any more.
5119 * loadup.el: Preload nadvice.
5120 * replace.el (perform-replace): Revert to funcall
5121 instead of run-hook-with-args-until-failure.
5122 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5123 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5124 dired-isearch-filenames-toggle; make it into a proper minor mode.
5125 Use add/remove-function.
5126 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5127 Call the minor-mode rather than add/remove-hook.
5128 (dired-isearch-filter-filenames):
5129 Remove isearch-message-prefix property.
5130 * info.el (Info--search-loop): New function, extracted from Info-search.
5131 Funcall isearch-filter-predicate instead of
5132 run-hook-with-args-until-failure isearch-filter-predicates.
5133 (Info-search): Use it.
5134 (Info-mode): Use isearch-filter-predicate instead of
5135 isearch-filter-predicates.
5136
290d5b58
DA
51372013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5138
5139 Do not call to `selected-window' where it is assumed by default.
5140 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5141 `window-hscroll', `window-width', `window-height', `window-buffer',
5142 `window-frame', `window-start', `window-point', `next-window'
5143 and `window-display-table'.
5144 * abbrev.el (abbrev--default-expand):
5145 * bs.el (bs--show-with-configuration):
5146 * buff-menu.el (Buffer-menu-mouse-select):
5147 * calc/calc.el (calc):
5148 * calendar/calendar.el (calendar-generate-window):
5149 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5150 (diary-make-entry):
5151 * comint.el (send-invisible, comint-dynamic-complete-filename)
5152 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5153 * completion.el (complete):
5154 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5155 * disp-table.el (describe-current-display-table):
5156 * doc-view.el (doc-view-insert-image):
5157 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5158 * ehelp.el (with-electric-help):
5159 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5160 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5161 * emacs-lisp/helper.el (Helper-help-scroller):
5162 * emulation/cua-base.el (cua--post-command-handler-1):
5163 * eshell/esh-mode.el (eshell-output-filter):
5164 * ffap.el (ffap-gnus-wrapper):
5165 * help-macro.el (make-help-screen):
5166 * hilit-chg.el (highlight-compare-buffers):
5167 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5168 * hl-line.el (global-hl-line-highlight):
5169 * icomplete.el (icomplete-simple-completing-p):
5170 * isearch.el (isearch-done):
5171 * jit-lock.el (jit-lock-stealth-fontify):
5172 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5173 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5174 * mpc.el (mpc-tagbrowser, mpc):
5175 * net/rcirc.el (rcirc-any-buffer):
5176 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5177 * play/landmark.el (landmark-max-width, landmark-max-height):
5178 * play/zone.el (zone):
5179 * progmodes/compile.el (compilation-goto-locus):
5180 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5181 * progmodes/etags.el (find-tag-other-window):
5182 * progmodes/fortran.el (fortran-column-ruler):
5183 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5184 * progmodes/verilog-mode.el (verilog-point-text):
5185 * reposition.el (reposition-window):
5186 * rot13.el (toggle-rot13-mode):
5187 * server.el (server-switch-buffer):
5188 * shell.el (shell-dynamic-complete-command)
5189 (shell-dynamic-complete-environment-variable):
5190 * simple.el (insert-buffer, set-selective-display)
5191 (delete-completion-window):
5192 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5193 (speedbar-recenter):
5194 * startup.el (fancy-splash-head):
5195 * textmodes/ispell.el (ispell-command-loop):
5196 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5197 * tutorial.el (help-with-tutorial):
5198 * vc/add-log.el (add-change-log-entry):
5199 * vc/compare-w.el (compare-windows):
5200 * vc/ediff-help.el (ediff-indent-help-message):
5201 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5202 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5203 (ediff-setup-control-frame):
5204 * vc/emerge.el (emerge-position-region):
5205 * vc/pcvs-util.el (cvs-bury-buffer):
5206 * window.el (walk-windows, mouse-autoselect-window-select):
5207 * winner.el (winner-set-conf, winner-undo): Related users changed.
5208
38276e01
JB
52092013-08-05 Juanma Barranquero <lekktu@gmail.com>
5210
5211 * frameset.el (frameset--set-id): Doc fix.
5212 (frameset-frame-id, frameset-frame-id-equal-p)
5213 (frameset-locate-frame-id): New functions.
5214 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5215 (frameset-restore): Use them.
5216
12b4c0ea
DA
52172013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5218
5219 Do not call to `selected-frame' where it is assumed by default.
5220 Affected functions are `raise-frame', `redraw-frame',
5221 `frame-first-window', `frame-terminal' and `delete-frame'.
5222 * calendar/appt.el (appt-disp-window):
5223 * epg.el (epg-wait-for-completion):
5224 * follow.el (follow-delete-other-windows-and-split)
5225 (follow-avoid-tail-recenter):
5226 * international/mule.el (set-terminal-coding-system):
5227 * mail/rmail.el (rmail-mail-return):
5228 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5229 * progmodes/f90.el (f90-add-imenu-menu):
5230 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5231 * server.el (server-switch-buffer):
5232 * simple.el (delete-completion-window):
5233 * talk.el (talk):
5234 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5235 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5236 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5237 * vc/ediff.el (ediff-documentation): Related users changed.
5238 * frame.el (selected-terminal): Remove the leftover.
5239
17f25e76
GM
52402013-08-05 Glenn Morris <rgm@gnu.org>
5241
5242 * calendar/calendar.el (calendar-generate-month):
5243 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
5244 (calendar-generate-month, calendar-font-lock-keywords):
5245 Fix for calendar-day-header-width > length of any day name.
17f25e76 5246
063233c3
JB
52472013-08-05 Juanma Barranquero <lekktu@gmail.com>
5248
5249 * desktop.el (desktop-clear): Use new name of sort predicate.
5250
5251 * frameset.el (frameset): Add docstring. Move :version property to its
5252 own `version' slot.
5253 (frameset-copy): Rename from copy-frameset.
5254 (frameset-p): Check more thoroughly.
5255 (frameset-prop): Do not check for :version, which is no longer a prop.
5256 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5257 Use new :never value instead of t.
5258 (frameset-filter-alist): Expand and clarify docstring.
5259 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5260 (frameset-filter-minibuffer, frameset-filter-save-param)
5261 (frameset-filter-restore-param, frameset-filter-iconified):
5262 Add pointer to docstring of frameset-filter-alist.
5263 (frameset-filter-params): Rename filter values to be more meaningful:
5264 :never instead of t, and reverse the meanings of :save and :restore.
5265 (frameset--process-minibuffer-frames): Clarify error message.
5266 (frameset-save): Avoid unnecessary and confusing call to framep.
5267 Use new BOA constructor for framesets.
5268 (frameset--reuse-list): Doc fix.
5269 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5270 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5271 (frameset-minibufferless-first-p): Doc fix.
5272 Rename from frameset-sort-frames-for-deletion.
5273 (frameset-restore): Doc fixes. Use new function names.
5274 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5275
d5671a82
JB
52762013-08-04 Juanma Barranquero <lekktu@gmail.com>
5277
5278 * desktop.el (desktop-restore-forces-onscreen)
5279 (desktop-restore-reuses-frames): Document :keyword constant values.
5280 (desktop-filter-parameters-alist): Remove, now identical to
5281 frameset-filter-alist.
5282 (desktop--filter-tty*): Remove, moved to frameset.el.
5283 (desktop-save-frameset, desktop-restore-frameset):
5284 Do not pass :filters argument.
5285
5286 * frameset.el (frameset-live-filter-alist)
5287 (frameset-persistent-filter-alist): New variables.
5288 (frameset-filter-alist): Use them. Add autoload cookie.
5289 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5290 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5291 `frameset--id' (it's supposed to be internal to frameset.el).
5292 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5293 (frameset--initial-params): New function.
5294 (frameset--get-frame): Use it. Doc fix.
5295 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5296 Accept :all, not 'all.
5297 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5298 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5299 with fbound symbols. Fix frame id matching, and remove matching ids if
5300 the frame being restored is deleted. Obey :delete.
5301
671d5c16
SM
53022013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5303
5304 * subr.el (macrop): New function.
5305 (text-clone--maintaining): New var.
5306 (text-clone--maintain): Rename from text-clone-maintain. Use it
5307 instead of inhibit-modification-hooks.
5308
5309 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5310 a proxy, so as handle autoloads and redefinitions of the target.
5311 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5312
5313 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5314 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5315 (pcase--mutually-exclusive-p): New function.
5316 (pcase--split-consp): Use it.
5317 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5318 mutually exclusive with the current predicate.
5319
5320 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5321 (edebug-macrop): Remove. Use `macrop' instead.
5322 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5323 (ad-macro-p):
5324 * eshell/esh-cmd.el (eshell-macrop):
5325 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5326
1d44e9dc
SM
53272013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5328
5329 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5330 (advice-mapc): New function, using it.
5331 (advice-function-member-p): New function.
5332 (advice--normalize): Store the cdr in advice--saved-rewrite since
5333 that's the part that will be changed.
5334 (advice--symbol-function): New function.
5335 (advice-remove): Handle removal before the function is defined.
5336 Adjust to new advice--saved-rewrite.
5337 (advice-member-p): Use advice-function-member-p and
5338 advice--symbol-function.
5339
5414a283
JB
53402013-08-04 Juanma Barranquero <lekktu@gmail.com>
5341
51d30f2c
JB
5342 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5343 (frameset-filter-minibuffer): Doc fix.
5344 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
5345 (frameset--set-id, frameset--process-minibuffer-frames)
5346 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5347 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 5348
5414a283
JB
5349 * desktop.el (desktop-clear): Only delete frames when called
5350 interactively and desktop-restore-frames is non-nil. Doc fix.
5351 (desktop-read): Set desktop-saved-frameset to nil.
5352
ab419665
XF
53532013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5354
5355 * vc/vc.el (vc-ignore): Rewrite.
5356 (vc-default-ignore-completion-table):
5357 (vc--read-lines):
5358 (vc--add-line, vc--remove-regexp): New functions.
5359
5360 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5361 (vc-svn-ignore-completion-table): New function.
5362
5363 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5364 (vc-hg-ignore-completion-table):
5365 (vc-hg-find-ignore-file): New functions.
5366
5367 * vc/vc-git.el (vc-git-ignore): Rewrite.
5368 (vc-git-ignore-completion-table):
5369 (vc-git-find-ignore-file): New functions.
5370
5371 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5372
5373 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5374 (vc-bzr-ignore-completion-table):
5375 (vc-bzr-find-ignore-file): New functions.
5376
2613dea2
JB
53772013-08-03 Juanma Barranquero <lekktu@gmail.com>
5378
5379 * frameset.el (frameset-prop): New function and setter.
5380 (frameset-save): Do not modify frame list passed by the caller.
5381
9c959872
SM
53822013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5383
5384 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5385
a104f656
SM
53862013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5387
70122acf
SM
5388 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5389 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5390
a104f656
SM
5391 * custom.el (custom-initialize-default, custom-initialize-set)
5392 (custom-initialize-reset, custom-initialize-changed): Affect the
5393 toplevel-default-value (bug#6275, bug#14586).
5394 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5395 for bug#6275.
5396
f078d570
JB
53972013-08-02 Juanma Barranquero <lekktu@gmail.com>
5398
185e3b5a
JB
5399 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5400 Add cl-def* expressions.
5401
f078d570
JB
5402 * frameset.el (frameset-filter-params): Fix order of arguments.
5403
9421876d
JB
54042013-08-02 Juanma Barranquero <lekktu@gmail.com>
5405
5406 Move code related to saving frames to frameset.el.
5407 * desktop.el: Require frameset.
5408 (desktop-restore-frames): Doc fix.
5409 (desktop-restore-reuses-frames): Rename from
5410 desktop-restoring-reuses-frames.
5411 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5412 (desktop-clear): Clear frames too.
5413 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5414 (desktop--filter-tty*, desktop-save, desktop-read):
5415 Use frameset functions.
5416 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5417 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5418 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5419 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5420 (desktop--process-minibuffer-frames, desktop-save-frames)
5421 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5422 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5423 (desktop--sort-states, desktop-restoring-frames-p)
5424 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5425 (desktop-restoring-frameset-p, desktop-restore-frameset)
5426 (desktop--check-dont-save, desktop-save-frameset): New functions.
5427 (desktop--app-id): New constant.
5428 (desktop-first-buffer, desktop-buffer-ok-count)
5429 (desktop-buffer-fail-count): Move before first use.
5430 * frameset.el: New file.
5431
76dc5996
SM
54322013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5433
5434 * files.el: Use lexical-binding.
5435 (dir-locals-read-from-file): Remove unused `err' variable.
5436 (hack-dir-local-variables--warned-coding): New var.
5437 (hack-dir-local-variables): Use it to avoid repeated warnings.
5438 (make-backup-file-name--default-function): New function.
5439 (make-backup-file-name-function): Use it as default.
5440 (buffer-stale--default-function): New function.
5441 (buffer-stale-function): Use it as default.
5442 (revert-buffer-insert-file-contents--default-function): New function.
5443 (revert-buffer-insert-file-contents-function): Use it as default.
5444 (insert-directory): Avoid add-to-list.
5445
5446 * autorevert.el (auto-revert-handler): Simplify.
5447 Use buffer-stale--default-function.
5448
06d36e2b
TH
54492013-08-01 Tassilo Horn <tsdh@gnu.org>
5450
5f648ab4
TH
5451 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5452
06d36e2b
TH
5453 * whitespace.el (whitespace-ensure-local-variables): New function.
5454 (whitespace-cleanup-region): Call it.
5455 (whitespace-turn-on): Call it.
5456
a43dc424
MA
54572013-08-01 Michael Albinus <michael.albinus@gmx.de>
5458
5459 Complete file name handlers.
5460
5461 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5462 (tramp-handle-verify-visited-file-modtime)
5463 (tramp-handle-file-notify-rm-watch): New functions.
5464 (tramp-call-process): Do not bind `default-directory'.
5465
44e18199
JB
5466 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5467 Order alphabetically.
a43dc424
MA
5468 [access-file, add-name-to-file, dired-call-process]:
5469 [dired-compress-file, file-acl, file-notify-rm-watch]:
5470 [file-ownership-preserved-p, file-selinux-context]:
5471 [make-directory-internal, make-symbolic-link, set-file-acl]:
5472 [set-file-selinux-context, set-visited-file-modtime]:
5473 [verify-visited-file-modtime]: Add handler.
5474 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5475
5476 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5477 [file-notify-add-watch, file-notify-rm-watch]:
5478 [set-file-times, set-visited-file-modtime]:
5479 [verify-visited-file-modtime]: Add handler.
5480 (with-tramp-gvfs-error-message)
5481 (tramp-gvfs-handle-set-visited-file-modtime)
5482 (tramp-gvfs-fuse-file-name): Remove.
5483 (tramp-gvfs-handle-file-notify-add-watch)
5484 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5485 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5486
44e18199
JB
5487 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5488 Order alphabetically.
a43dc424
MA
5489 [file-notify-rm-watch ]: Use default Tramp handler.
5490 [executable-find]: Remove private handler.
5491 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5492 `default-directory'.
5493 (tramp-sh-handle-executable-find)
5494 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5495 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5496 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5497 Do not use `format' in `tramp-message'.
5498
5499 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5500 [file-notify-rm-watch, set-visited-file-modtime]:
5501 [verify-visited-file-modtime]: Add handler.
5502 (tramp-smb-call-winexe): Do not bind `default-directory'.
5503
7188b515
XF
55042013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5505
5506 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5507
2412ee1a
DG
55082013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5509
5510 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5511 use it.
5512 (log-view-diff-changeset): Same.
5513 (log-view-diff-common): Call backend command `previous-revision'
5514 to find out the previous revision, in both cases. Swap the
5515 variables `to' and `fr', so that `fr' usually refers to the
5516 earlier revision (Bug#14989).
5517
5002a754
KRC
55182013-07-31 Kan-Ru Chen <kanru@kanru.info>
5519
5520 * ibuf-ext.el (ibuffer-filter-by-filename):
5521 Make it work with dired buffers too.
5522
44e18199 55232013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
5524
5525 * emacs-lisp/re-builder.el (reb-color-display-p):
5526 * files.el (save-buffers-kill-terminal):
5527 * net/browse-url.el (browse-url):
5528 * server.el (server-save-buffers-kill-terminal):
5529 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5530 Prefer nil to selected-frame for the first arg of frame-parameter.
5531
aeca3fbb
XF
55322013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5533
5534 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5535
158bc55c
SB
55362013-07-30 Stephen Berman <stephen.berman@gmx.net>
5537
5538 * minibuffer.el (completion--twq-all): Try and preserve each
5539 completion's case choice (bug#14907).
5540
d50fceab
LMI
55412013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5542
ac38e731
LMI
5543 * net/network-stream.el (open-network-stream): Mention the new
5544 :nogreeting parameter.
5545 (network-stream-open-starttls): Use the :nogreeting parameter
5546 (bug#14938).
5547
1211de50
LMI
5548 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5549
997798bf
LMI
5550 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5551 more natural than popping.
5552
d50fceab 5553 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 5554 (shr-urlify): Highlight under mouse.
d50fceab 5555
5c09de04
XF
55562013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5557
207d1d04
XF
5558 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5559
5560 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5561
5c09de04
XF
5562 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5563 buffer for output.
5564
3cd51eaa
XF
5565 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5566 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 5567
44e18199 5568 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 5569 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
5570
5571 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5572
5573 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5574 buffer for output.
5575
35a89bdd
EZ
55762013-07-29 Eli Zaretskii <eliz@gnu.org>
5577
5578 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5579 initial frame is minibuffer-less. (Bug#14841)
5580
78822e94
MA
55812013-07-29 Michael Albinus <michael.albinus@gmx.de>
5582
5583 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5584 option.
5585
5586 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5587 (tramp-maybe-open-connection): Use it.
5588
9503c190
JB
55892013-07-28 Juanma Barranquero <lekktu@gmail.com>
5590
5591 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5592 minimal set of parameters passed when creating a frame, because
5593 the minibuffer status of a frame cannot be changed later.
5594
d5a845b4
SB
55952013-07-28 Stephen Berman <stephen.berman@gmx.net>
5596
5597 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5598 replace-regexp-in-string and inadvertent omissions in previous change.
5599 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 5600 name of filtered items buffer.
d5a845b4 5601
ddeffb17
JB
56022013-07-28 Juanma Barranquero <lekktu@gmail.com>
5603
5604 * desktop.el: Optionally force offscreen frames back onscreen.
5605 (desktop-restoring-reuses-frames): New option.
5606 (desktop--compute-pos, desktop--move-onscreen): New functions.
5607 (desktop--make-frame): Use desktop--move-onscreen.
5608
f5950f7a
AM
56092013-07-27 Alan Mackenzie <acm@muc.de>
5610
5611 Fontify a Java generic method as a function.
5612 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5613 value to t.
5614
ae43b66a
SB
56152013-07-27 Stephen Berman <stephen.berman@gmx.net>
5616
5617 * calendar/todo-mode.el: Add command to rename todo files.
5618 (todo-rename-file): New command.
5619 (todo-key-bindings-t): Add key binding for it. Change the
5620 bindings of todo-filter-regexp-items(-multifile) to use `x'
5621 instead of `r', since the latter is better suited to the new
5622 renaming command.
5623
5ab78d3d
AM
56242013-07-27 Alan Mackenzie <acm@muc.de>
5625
5626 Make Java try-with-resources statement parse properly.
5627 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5628 (c-block-stmt-1-2-key): New language constants/variables.
5629 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5630 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5631 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 5632 with c-block-stmt-1-2-key.
5ab78d3d 5633
d85c4d50
JB
56342013-07-27 Juanma Barranquero <lekktu@gmail.com>
5635
5636 * desktop.el (desktop--make-frame): Apply most frame parameters after
5637 creating the frame to force (partially or totally) offscreen frames to
5638 be restored as such.
5639
e4c467f9
XF
56402013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5641
5642 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 5643 (Bug#14948)
e4c467f9 5644
7ced0d04
SM
56452013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5646
5647 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5648 `base' arg of backtrace-frame.
5649
fec92060
EZ
56502013-07-26 Eli Zaretskii <eliz@gnu.org>
5651
5652 * simple.el (list-processes): Doc fix.
5653
d58d31fb
JB
56542013-07-26 Juanma Barranquero <lekktu@gmail.com>
5655
5656 * desktop.el (desktop--select-frame):
d85c4d50 5657 Try harder to reuse existing frames.
d58d31fb 5658
53ff3e77
SM
56592013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5660
5661 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5662 (edebug-eval): Use backtrace-eval.
5663 (edebug--display, edebug--recursive-edit): Don't let-bind the
5664 edebug-outer-* vars that keep track of variables we locally let-bind.
5665 (edebug-outside-excursion): Don't restore outside values of locally
5666 let-bound vars.
5667 (edebug--display): Use user-error.
5668 (cl-lexical-debug, cl-debug-env): Remove.
5669
045f7a53
JB
56702013-07-26 Juanma Barranquero <lekktu@gmail.com>
5671
5672 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5673 are restored to be sure that they are visible before deleting any
5674 remaining ones.
5675
59070b32
MM
56762013-07-26 Matthias Meulien <orontee@gmail.com>
5677
742a3501
XF
5678 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5679 vc-print-root-log. (Bug#14948)
59070b32 5680
b1fb3596
RS
56812013-07-26 Richard Stallman <rms@gnu.org>
5682
5683 Add aliases for encrypting mail.
5684 * epa.el (epa-mail-aliases): New option.
5685 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5686 Bind inhibit-read-only so read-only text doesn't ruin everything.
5687 (epa-mail-default-recipients): New subroutine broken out.
5688 Handle epa-mail-aliases.
5689
56ea7291
SM
56902013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5691
5692 Add support for lexical variables to the debugger's `e' command.
5693 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5694 vars, except for debugger-outer-match-data.
5695 (debugger-frame-number): Move check for "on a function call" from
5696 callers into it. Add `skip-base' argument.
5697 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5698 (debugger-env-macro): Only reset the state stored in non-variables,
5699 i.e. current-buffer and match-data.
5700 (debugger-eval-expression): Rewrite using backtrace-eval.
5701 * subr.el (internal--called-interactively-p--get-frame): Remove.
5702 (called-interactively-p):
5703 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5704 `base' arg of backtrace-frame instead.
5705
15ac32d5
GM
57062013-07-26 Glenn Morris <rgm@gnu.org>
5707
8358a09d
GM
5708 * align.el (align-regexp): Doc fix. (Bug#14857)
5709 (align-region): Explicit error if subexpression missing/does not match.
5710
15ac32d5
GM
5711 * simple.el (global-visual-line-mode):
5712 Do not duplicate the mode lighter. (Bug#14858)
5713
f47ad11b
MR
57142013-07-25 Martin Rudalics <rudalics@gmx.at>
5715
5716 * window.el (display-buffer): In display-buffer bind
5717 split-window-keep-point to t, bug#14829.
5718
02530987
JB
57192013-07-25 Juanma Barranquero <lekktu@gmail.com>
5720
5721 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5722 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5723 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5724 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5725 Change accordingly.
f63ebeb5
JB
5726 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5727 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 5728
6ccb9cab 57292013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 5730
6ccb9cab 5731 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 5732
cb3a56d2
JB
57332013-07-25 Juanma Barranquero <lekktu@gmail.com>
5734
5735 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5736 parameter to modify-frame-parameters if the value has not changed;
5737 this is a workaround for bug#14949.
5738 (desktop--make-frame): On cl-delete-if call, check parameter name,
5739 not full parameter.
5740
7aa7fff0
XF
57412013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5742
5743 * vc/vc.el (vc-ignore): New function.
5744
5745 * vc/vc-svn.el (vc-svn-ignore): New function.
5746
5747 * vc/vc-hg.el (vc-hg-ignore): New function.
5748
5749 * vc/vc-git.el (vc-git-ignore): New function.
5750
5751 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5752 (vc-dir-ignore): New function.
5753
5754 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 5755 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
5756
5757 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5758
5759 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5760
889acc5c
JB
57612013-07-24 Juanma Barranquero <lekktu@gmail.com>
5762
5763 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5764 (desktop-restore-frames): Warn when deleting an existing frame failed.
5765
86c40970
GM
57662013-07-24 Glenn Morris <rgm@gnu.org>
5767
5768 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5769
d5d3c58a
MA
57702013-07-24 Michael Albinus <michael.albinus@gmx.de>
5771
5772 * filenotify.el (file-notify-supported-p):
5773 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5774 Remove functions.
5775
5776 * autorevert.el (auto-revert-use-notify):
5777 (auto-revert-notify-add-watch):
5778 * net/tramp.el (tramp-file-name-for-operation):
5779 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5780 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5781 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5782 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5783 Remove `file-notify-supported-p' entry.
5784
d100084b
GM
57852013-07-24 Glenn Morris <rgm@gnu.org>
5786
5787 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 5788 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 5789
ac93e56b
SM
57902013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5791
249eea30
SM
5792 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5793 checked with memq (bug#14935).
5794
ac93e56b
SM
5795 * files.el (revert-buffer-function): Use a non-nil default.
5796 (revert-buffer-preserve-modes): Declare var to
5797 provide access to the `preserve-modes' argument.
5798 (revert-buffer): Let-bind it.
5799 (revert-buffer--default): New function, extracted from revert-buffer.
5800
2cdeb903
SM
58012013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5802
5803 * lpr.el: Signal print errors more prominently.
5804 (print-region-function): Don't default to nil.
5805 (lpr-print-region): New function, extracted from print-region-1.
5806 Check lpr's return value and signal an error in case of problem.
5807 (print-region-1): Use it.
5808 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5809 versions instead.
5810 (ps-printer-name): Default to nil.
5811 (ps-printer-name-option): Default to lpr-printer-switch.
5812 (ps-print-region-function): Don't default to nil.
5813 (ps-postscript-code-directory): Simplify default.
5814 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5815 (ps-string-list, ps-eval-switch, ps-flatten-list)
5816 (ps-flatten-list-1): Remove.
5817 (ps-multibyte-buffer): Avoid setq.
5818 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5819 (print-region-function, ps-print-region-function): Don't set them here.
5820
73600831
XF
58212013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5822
0e55c076
XF
5823 * ido.el (ido-fractionp):
5824 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5825 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5826 (ido-max-directory-size, ido-max-dir-file-cache)
5827 (ido-decorations): Doc fix.
5828
73600831
XF
5829 * ansi-color.el: Fix old URL.
5830
3d012865
MM
58312013-07-23 Michael R. Mauger <michael@mauger.com>
5832
e903c210 5833 * progmodes/sql.el: Version 3.3
3d012865
MM
5834 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5835 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5836 (sql-interactive-remove-continuation-prompt): Rewrite, use
5837 functions above. Fix continuation prompt and complete output line
5838 handling.
5839 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5840 redirected output buffer.
5841 (sql-mode): Restore deleted code (Bug#13591).
5842
da77a2e2
JB
58432013-07-23 Juanma Barranquero <lekktu@gmail.com>
5844
5845 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5846
80ff0c71
MA
58472013-07-23 Michael Albinus <michael.albinus@gmx.de>
5848
5849 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5850
5851 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5852 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5853 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5854
b61d71e4
JB
58552013-07-23 Juanma Barranquero <lekktu@gmail.com>
5856
5857 * desktop.el (desktop-clear): Simplify; remove useless checks
5858 against invalid buffer names.
5859 (desktop-list*): Use cl-list*.
5860 (desktop-buffer-info, desktop-create-buffer): Simplify.
5861
c3512092
LL
58622013-07-23 Leo Liu <sdl.web@gmail.com>
5863
5864 * bookmark.el (bookmark-make-record): Restore NAME as a default
5865 value. (Bug#14933)
5866
0ac26976
SM
58672013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5868
7d22ce18
SM
5869 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5870 extracted from autoload--insert-text.
5871 (autoload--insert-text): Remove.
5872 (autoload--print-cookie-text): New function, extracted from
5873 autoload--insert-cookie-text.
5874 (autoload--insert-cookie-text): Remove.
5875 (autoload-generate-file-autoloads): Adjust calls accordingly.
5876
9b2607e8
SM
5877 * winner.el (winner-hook-installed-p): Remove.
5878 (winner-mode): Simplify accordingly.
5879
c43a8618
SM
5880 * subr.el (add-to-list): Fix compiler-macro when `append' is
5881 not constant. Don't use `cl-member' for the base case.
5882
0ac26976
SM
5883 * progmodes/subword.el: Fix boundary case (bug#13758).
5884 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5885 own group.
5886 (subword-backward-regexp): Make it a constant.
5887 (subword-forward-internal): Don't treat a trailing capital as the
5888 beginning of a word.
5889
6874724a
AR
58902013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5891
5892 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5893 global value of tabulated-list-revert-hook (bug#14930).
5894
70f1b5e8
JB
58952013-07-22 Juanma Barranquero <lekktu@gmail.com>
5896
a1c80d9d
JB
5897 * desktop.el: Require 'cl-lib.
5898 (desktop-before-saving-frames-functions): New hook.
5899 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5900 for frames being saved. Rename from desktop--save-minibuffer-frames.
5901 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
5902 Do not save frames with non-nil `desktop-dont-save' parameter.
5903 Filter out deleted frames.
a1c80d9d
JB
5904 (desktop--find-frame): Use cl-find-if.
5905 (desktop--select-frame): Use cl-(first|second|third) to access values
5906 of desktop-mini.
5907 (desktop--make-frame): Use cl-delete-if.
5908 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5909 (desktop-restore-frames): Use cl-(first|second|third) to access values
5910 of desktop-mini. Look for visible frame at the end, not while
5911 restoring frames.
5912
70f1b5e8
JB
5913 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5914 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5915 Use string-match-p, looking-at-p (bug#14927).
5916
728dc3cc
JB
59172013-07-21 Juanma Barranquero <lekktu@gmail.com>
5918
56bc453c
JB
5919 * desktop.el (desktop-saved-frame-states):
5920 Rename from desktop--saved-states; all users changed.
5921 (desktop-save-frames): Rename from desktop--save-frames.
5922 Do not save state to desktop file.
5923 (desktop-save): Save desktop-saved-frame-states to desktop file
5924 and reset to nil.
5925 (desktop-restoring-frames-p): New function.
5926 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5927 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5928 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5929
728dc3cc
JB
5930 * desktop.el: Correctly restore iconified frames.
5931 (desktop--filter-iconified-position): New function.
5932 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5933
862f1c9c
GM
59342013-07-20 Glenn Morris <rgm@gnu.org>
5935
c4074c9f
GM
5936 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5937 Let `message' do the formatting.
5938 (def-gdb-preempt-display-buffer): Add explicit format.
5939
d828e5f9
GM
5940 * image-dired.el (image-dired-track-original-file):
5941 Use with-current-buffer.
5942 (image-dired-track-thumbnail): Use with-current-buffer.
5943 Avoid changing point of wrong window.
5944
862f1c9c
GM
5945 * image-dired.el (image-dired-track-original-file):
5946 Avoid changing point of wrong window. (Bug#14909)
5947
f0398ec1 59482013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
5949
5950 * progmodes/gdb-mi.el (gdb-done-or-error):
5951 Guard against "%" in gdb output. (Bug#14127)
5952
1451928f
AS
59532013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5954
763a086d
JB
5955 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5956 (Bug#14826)
f7a03897 5957
1451928f
AS
5958 * international/mule.el (coding-system-iso-2022-flags): Fix last
5959 change.
5960
99107004
KH
59612013-07-20 Kenichi Handa <handa@gnu.org>
5962
763a086d
JB
5963 * international/mule.el (coding-system-iso-2022-flags):
5964 Add `8-bit-level-4'. (Bug#8522)
99107004 5965
48494e06
LMI
59662013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5967
8ba8eec5
LMI
5968 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5969 (bug#14815).
5970
dfbc66e3
LMI
5971 * net/eww.el (eww-process-text-input): Allow inputting when the
5972 point is at the start of the line, as the properties aren't
5973 front-sticky.
5974
48494e06
LMI
5975 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5976 degenerate widths.
5977
77c92cb9
RS
59782013-07-19 Richard Stallman <rms@gnu.org>
5979
aec7da77
RS
5980 * epa.el (epa-popup-info-window): Doc fix.
5981
77c92cb9
RS
5982 * subr.el (split-string): New arg TRIM.
5983
945c5bb1
JB
59842013-07-18 Juanma Barranquero <lekktu@gmail.com>
5985
5986 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5987 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5988
e06ec67f
MA
59892013-07-18 Michael Albinus <michael.albinus@gmx.de>
5990
c7064f05 5991 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
5992 `file-notify-support'. Do not autoload. Adapt all uses.
5993 (file-notify-supported-p): New defun.
5994
c7064f05
JB
5995 * autorevert.el (auto-revert-use-notify):
5996 Use `file-notify-supported-p' instead of `file-notify-support'.
5997 Adapt docstring.
e06ec67f
MA
5998 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5999
6000 * net/tramp.el (tramp-file-name-for-operation):
6001 Add `file-notify-supported-p'.
6002
6003 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6004 New defun.
6005 (tramp-sh-file-name-handler-alist): Add it as handler for
6006 `file-notify-supported-p '.
6007
6008 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6009 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6010 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6011 Add `ignore' as handler for `file-notify-*' functions.
6012
5dc8a629
EZ
60132013-07-17 Eli Zaretskii <eliz@gnu.org>
6014
6015 * simple.el (line-move-partial, line-move): Don't start vscroll or
6016 scroll-up if the current line is not taller than the window.
6017 (Bug#14881)
6018
77aea2fb
DG
60192013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6020
6021 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6022 highlight question marks in the method names as strings.
ac72c08d
DG
6023 (ruby-block-beg-keywords): Inline.
6024 (ruby-font-lock-keyword-beg-re): Extract from
6025 `ruby-font-lock-keywords'.
77aea2fb 6026
18c26d81
JD
60272013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6028
6029 * frame.el (blink-cursor-blinks): New defcustom.
6030 (blink-cursor-blinks-done): New defvar.
6031 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6032 (blink-cursor-timer-function): Check if number of blinks has been
6033 done on X and NS.
6034 (blink-cursor-suspend, blink-cursor-check): New defuns.
6035
da48522e
GM
60362013-07-15 Glenn Morris <rgm@gnu.org>
6037
6038 * edmacro.el (edmacro-format-keys): Fix previous change.
6039
0463c1ef
PE
60402013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6041
6042 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6043 The hack didn't work outside English locales anyway.
6044
b43f6451
JB
60452013-07-15 Juanma Barranquero <lekktu@gmail.com>
6046
6047 * simple.el (define-alternatives): Rename from alternatives-define,
6048 per RMS' suggestion.
6049
b958c0ad
JB
60502013-07-14 Juanma Barranquero <lekktu@gmail.com>
6051
6052 * desktop.el (desktop-restore-frames): Change default to t.
6053 (desktop-restore-in-current-display): Now offer more options.
6054 (desktop-restoring-reuses-frames): New customization option.
6055 (desktop--saved-states): Doc fix.
6056 (desktop-filter-parameters-alist): New variable, renamed and expanded
6057 from desktop--excluded-frame-parameters.
6058 (desktop--target-display): New variable.
6059 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6060 (desktop--filter-tty*, desktop--filter-*-color)
6061 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6062 (desktop--filter-save-desktop-parm)
6063 (desktop-restore-in-original-display-p): New functions.
6064 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6065 (desktop--save-minibuffer-frames): New function, inspired by a similar
6066 function from Martin Rudalics.
6067 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6068 (desktop--restore-in-this-display-p): Remove.
6069 (desktop--find-frame): Rename from desktop--find-frame-in-display
6070 and add predicate argument.
6071 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6072 (desktop--reuse-list): New variable.
6073 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6074 New functions.
6075 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6076
f6dd8b36
MA
60772013-07-14 Michael Albinus <michael.albinus@gmx.de>
6078
6079 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6080
2ce3c565
DG
60812013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6082
763a086d
JB
6083 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6084 Highlight conversion methods on Kernel.
2ce3c565 6085
2cdb7698
AM
60862013-07-13 Alan Mackenzie <acm@muc.de>
6087
6088 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6089 and comment it out. This out-commenting enables certain C++
6090 declarations to be parsed correctly.
6091
1a67b811
EZ
60922013-07-13 Eli Zaretskii <eliz@gnu.org>
6093
1b796d6b
EZ
6094 * international/mule.el (define-coding-system): Doc fix.
6095
1a67b811
EZ
6096 * simple.el (default-font-height): Don't call font-info if the
6097 frame's default font didn't change since the frame was created.
6098 (Bug#14838)
6099
58fbe886
LL
61002013-07-13 Leo Liu <sdl.web@gmail.com>
6101
6102 * ido.el (ido-read-file-name): Guard against non-symbol value.
6103
1f0480d4
FEG
61042013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6105
6106 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6107 in nested defuns.
6108
97ead0e5
LL
61092013-07-13 Leo Liu <sdl.web@gmail.com>
6110
6111 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6112 ido-set-matches call. (Bug#6852)
6113
0880a952
DG
61142013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6115
6116 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6117 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6118 Ruby 2.0.
6119 (ruby-font-lock-keywords): Distinguish calls to functions with
6120 module-like names from module references. Highlight character
6121 literals.
6122
a7d8babb
SDJ
61232013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6124
6125 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 6126 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 6127
acfcc8c5
JB
61282013-07-12 Juanma Barranquero <lekktu@gmail.com>
6129
6130 * desktop.el (desktop--v2s): Remove unused local variable.
6131 (desktop-save-buffer): Make defvar-local; adjust docstring.
6132 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6133 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6134
051f2775
AS
61352013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6136
6137 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6138
f24e7572
GM
61392013-07-12 Eli Zaretskii <eliz@gnu.org>
6140
6141 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6142 (Bug#14842)
6143
539a920c
GM
61442013-07-12 Glenn Morris <rgm@gnu.org>
6145
6146 * doc-view.el: Require cl-lib at runtime too.
6147 (doc-view-remove-if): Remove.
6148 (doc-view-search-next-match, doc-view-search-previous-match):
6149 Use cl-remove-if.
6150
6151 * edmacro.el: Require cl-lib at runtime too.
6152 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6153 (edmacro-mismatch, edmacro-subseq): Remove.
6154
6155 * shadowfile.el: Require cl-lib.
6156 (shadow-remove-if): Remove.
6157 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6158 Use cl-remove-if.
6159
6160 * wid-edit.el: Require cl-lib.
6161 (widget-choose): Use cl-remove-if.
6162 (widget-remove-if): Remove.
6163
6164 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6165 (ebrowse-delete-if-not): Remove.
6166 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6167 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6168 Use cl-delete-if-not.
6169
1048af7c
JB
61702013-07-12 Juanma Barranquero <lekktu@gmail.com>
6171
6172 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6173 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6174
6c0674ee
LL
61752013-07-12 Leo Liu <sdl.web@gmail.com>
6176
6177 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6178
a19b3c2d
GM
61792013-07-11 Glenn Morris <rgm@gnu.org>
6180
4582a01c
GM
6181 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6182 (edebug-gensym-index, edebug-gensym):
6183 Remove reimplementation of cl-gensym.
6184 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6185
6186 * thumbs.el: Require cl-lib at run-time too.
6187 (thumbs-gensym-counter, thumbs-gensym):
6188 Remove reimplementation of cl-gensym.
6189 (thumbs-temp-file): Use cl-gensym.
6190
a19b3c2d
GM
6191 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6192 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6193 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6194 (ert--union, ert--gensym-counter, ert--gensym-counter)
6195 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6196 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6197 (ert-make-test-unbound, ert--expand-should-1)
6198 (ert--expand-should, ert--should-error-handle-error)
6199 (should-error, ert--explain-equal-rec)
6200 (ert--plist-difference-explanation, ert-select-tests)
6201 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6202 Use cl-lib functions rather than reimplementations.
6203
88f6a933
MA
62042013-07-11 Michael Albinus <michael.albinus@gmx.de>
6205
6206 * net/tramp.el (tramp-methods): Extend docstring.
6207 (tramp-connection-timeout): New defcustom.
6208 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6209 (with-tramp-progress-reporter): Simplify.
6210 (tramp-process-actions): Improve messages.
6211
6212 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6213 * net/tramp-sh.el (tramp-maybe-open-connection):
6214 Use `tramp-connection-timeout'.
6215 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6216 (Bug#14808)
6217
a43d577e
LL
62182013-07-11 Leo Liu <sdl.web@gmail.com>
6219
6220 * ido.el (ido-read-file-name): Conform to the requirements of
6221 read-file-name. (Bug#11861)
6222 (ido-read-directory-name): Conform to the requirements of
6223 read-directory-name.
6224
d77974bf
JB
62252013-07-11 Juanma Barranquero <lekktu@gmail.com>
6226
6227 * subr.el (delay-warning): New function.
6228
35cb8a3e
EZ
62292013-07-10 Eli Zaretskii <eliz@gnu.org>
6230
6231 * simple.el (default-line-height): New function.
6232 (line-move-partial, line-move): Use it instead of computing the
6233 line height inline.
6234 (line-move-partial): Always compute ROWH. If the last line is
6235 partially-visible, but its text is completely visible, allow
6236 cursor to enter such a partially-visible line.
6237
525c5c77
MA
62382013-07-10 Michael Albinus <michael.albinus@gmx.de>
6239
6240 Improve error messages. (Bug#14808)
6241
6242 * net/tramp.el (tramp-current-connection): New defvar, moved from
6243 tramp-sh.el.
0ac26976 6244 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 6245 needed anymore.
0ac26976
SM
6246 (tramp-error-with-buffer): Show message in minibuffer.
6247 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
6248 (with-tramp-progress-reporter): Improve messages.
6249 (tramp-process-actions): Use progress reporter. Delete process in
6250 case of error. Improve messages.
6251
763a086d
JB
6252 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6253 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 6254 (tramp-current-connection): Remove.
525c5c77
MA
6255 (tramp-maybe-open-connection): The car of
6256 `tramp-current-connection' are the first 3 slots of the vector.
6257
c7a4d368
TZ
62582013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6259
6260 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6261 inside continued strings.
6262
954b166e
PE
62632013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6264
6265 Timestamp fixes for undo (Bug#14824).
6266 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6267
56973319
LL
62682013-07-10 Leo Liu <sdl.web@gmail.com>
6269
6270 * files.el (require-final-newline): Allow safe local value.
6271 (Bug#14834)
6272
5550a72c
LL
62732013-07-09 Leo Liu <sdl.web@gmail.com>
6274
6275 * ido.el (ido-read-directory-name): Handle fallback.
6276 (ido-read-file-name): Update DIR to ido-current-directory.
6277 (Bug#1516)
c28b9050 6278 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 6279
70c46b28
DG
62802013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6281
6282 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6283 "autoload". Remove "warn lower camel case" section, previously
6284 commented out. Highlight negation char. Do not highlight the
6285 target in singleton method definitions.
6286
0b64b838
SM
62872013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6288
7fd72e2c
SM
6289 * faces.el (tty-setup-hook): Declare the hook.
6290
0b64b838
SM
6291 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6292 and detect when a guard/pred depends on local vars (bug#14773).
6293 (pcase--u1): Adjust caller.
6294
ab49d60b
EZ
62952013-07-08 Eli Zaretskii <eliz@gnu.org>
6296
6297 * simple.el (line-move-partial, line-move): Account for
6298 line-spacing.
701d79aa
EZ
6299 (line-move-partial): Avoid setting vscroll when the last
6300 partially-visible line in window is of default height.
ab49d60b 6301
2d756ae0
LMI
63022013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6303
6304 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6305 been used a while.
6306
ed095bd7
JB
63072013-07-07 Juanma Barranquero <lekktu@gmail.com>
6308
6309 * subr.el (read-quoted-char): Remove unused local variable `char'.
6310
f1e6674b
MK
63112013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6312
584ee3fc
GM
6313 * ediff.el (ediff-version): Version update.
6314 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6315 (ediff-merge-with-ancestor-command, ediff-directories-command)
6316 (ediff-directories3-command, ediff-merge-directories-command)
6317 (ediff-merge-directories-with-ancestor-command): New functions.
6318 All are command-line interfaces to ediff: to facilitate calling
6319 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
6320
6321 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6322 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 6323
584ee3fc
GM
6324 * viper.el (viper-version): Version update.
6325 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 6326
584ee3fc
GM
63272013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6328
6329 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6330 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6331 (viper-intercept-ESC-key): Simplify.
6332 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6333 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6334 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6335 (viper-setup-ESC-to-escape): New functions.
6336 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6337 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 6338
9aff9b38
EZ
63392013-07-07 Eli Zaretskii <eliz@gnu.org>
6340
5165d44a
JB
6341 * simple.el (default-font-height, window-screen-lines):
6342 New functions.
9aff9b38
EZ
6343 (line-move, line-move-partial): Use them instead of
6344 frame-char-height and window-text-height. This makes scrolling
6345 text smoother when the buffer's default face uses a font that is
6346 different from the frame's default font.
6347
1afb1d07
JD
63482013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6349
6350 * files.el (write-file): Do not display confirm dialog for NS,
6351 it does its own dialog, which can't be cancelled (Bug#14578).
6352
23de972a
EZ
63532013-07-06 Eli Zaretskii <eliz@gnu.org>
6354
6355 * simple.el (line-move-partial): Adjust the row returned by
6356 posn-at-point for the current window-vscroll. (Bug#14567)
6357
54a42486
MA
63582013-07-06 Michael Albinus <michael.albinus@gmx.de>
6359
6360 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6361 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6362 spaces.
6363
34ada5f4
MR
63642013-07-06 Martin Rudalics <rudalics@gmx.at>
6365
6366 * window.el (window-state-put-stale-windows): New variable.
6367 (window--state-put-2): Save list of windows without matching buffer.
6368 (window-state-put): Remove "bufferless" windows if possible.
6369
11e03d89
JB
63702013-07-06 Juanma Barranquero <lekktu@gmail.com>
6371
6372 * simple.el (alternatives-define): Remove leftover :group keyword.
6373 Tweak docstring.
6374
3504a4be
LL
63752013-07-06 Leo Liu <sdl.web@gmail.com>
6376
6377 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6378 (ido-enable-virtual-buffers): New variable.
6379 (ido-buffer-internal, ido-toggle-virtual-buffers)
6380 (ido-make-buffer-list): Use it.
6381 (ido-exhibit): Support turning on and off virtual buffers
6382 automatically.
6383
61e56e2c
JB
63842013-07-06 Juanma Barranquero <lekktu@gmail.com>
6385
6386 * simple.el (alternatives-define): New macro.
6387
321e1a9c
SM
63882013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6389
6390 * subr.el (read-quoted-char): Use read-key.
6391 (sit-for): Let read-event decode tty input (bug#14782).
6392
d610f6dd
SB
63932013-07-05 Stephen Berman <stephen.berman@gmx.net>
6394
6395 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
6396 mode command and externally. Fix various related bugs.
6397 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
6398 (todo-delete-file): New command.
6399 (todo-check-file): New function.
6400 (todo-show): Handle external deletion of the file we're trying to
6401 show (bug#14688). Replace called-interactively-p by an optional
6402 prefix argument to avoid problematic interaction with catch form
6403 when byte compiled (bug#14702).
6404 (todo-quit): Handle external deletion of the archive's todo file.
6405 Make sure the buffer that was visiting the archive file is still
6406 live before trying to bury it.
6407 (todo-category-completions): Handle external deletion of any
6408 category completion files.
6409 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6410 of todo files, in case of external deletion.
6411 (todo-add-file): Replace unnecessary setq by let-binding.
6412 (todo-find-archive): Check whether there are any archives.
6413 Replace unnecessary setq by let-binding.
6414 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
6415 archive buffer whether or not the archive already exists.
6416 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
6417 check if the archive is new; if it is, update list of archives.
6418 (todo-default-todo-file): Allow nil to be a valid value for when
6419 there are no todo files.
6420 (todo-reevaluate-default-file-defcustom): Use corrected definition
6421 of todo-default-todo-file.
6422 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6423 (todo-delete-category, todo-show-categories-table)
6424 (todo-category-number): Clarify comment.
6425 (todo-filter-items): Clarify documentation string.
6426 (todo-show-current-file, todo-display-as-todo-file)
6427 (todo-reset-and-enable-done-separator): Tweak documentation string.
6428 (todo-done-separator): Make separator length window-width, since
6429 bug#2749 is now fixed.
6430
ddbdfd6f
MA
64312013-07-05 Michael Albinus <michael.albinus@gmx.de>
6432
321e1a9c
SM
6433 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6434 Support both "gvfs-monitor-dir" and "inotifywait".
6435 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
6436 `tramp-sh-file-notify-process-filter'.
6437 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6438 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6439
96eb829a
LL
64402013-07-05 Leo Liu <sdl.web@gmail.com>
6441
6442 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6443
cf13177e
YM
64442013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6445
6446 * frame.el (display-pixel-height, display-pixel-width)
6447 (display-mm-height, display-mm-width): Mention behavior on
6448 multi-monitor setups in docstrings.
6449 (w32-display-monitor-attributes-list): Declare function.
6450 (display-monitor-attributes-list): Use it.
6451
864c58ca
MA
64522013-07-04 Michael Albinus <michael.albinus@gmx.de>
6453
6454 * filenotify.el: New package.
6455
6456 * autorevert.el (top): Require filenotify.el.
6457 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6458 instead.
6459 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6460 (auto-revert-notify-handler): Use `file-notify-*' functions.
6461
6462 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6463
321e1a9c
SM
6464 * net/tramp.el (tramp-file-name-for-operation):
6465 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
6466
6467 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6468 for `file-notify-add-watch' and `file-notify-rm-watch'.
6469 (tramp-process-sentinel): Improve trace.
6470 (tramp-sh-handle-file-notify-add-watch)
6471 (tramp-sh-file-notify-process-filter)
6472 (tramp-sh-handle-file-notify-rm-watch)
6473 (tramp-get-remote-inotifywait): New defuns.
6474
96673afe
JL
64752013-07-03 Juri Linkov <juri@jurta.org>
6476
6477 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6478 call of `occur-read-primary-args' to interactive spec.
6479
6480 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6481 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6482
924494f4
MM
64832013-07-03 Matthias Meulien <orontee@gmail.com>
6484
6485 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6486 `Buffer-menu-multi-occur'. Add it to the menu.
6487 (Buffer-menu-mode): Document it in docstring.
6488 (Buffer-menu-multi-occur): New command. (Bug#14673)
6489
56f75efc
DG
64902013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6491
6492 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6493 keywords and built-ins.
6494
9b057d61
GM
64952013-07-03 Glenn Morris <rgm@gnu.org>
6496
208dee4d
GM
6497 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6498
9b057d61
GM
6499 Make info-xref checks case-sensitive by default
6500 * info.el (Info-find-node, Info-find-in-tag-table)
6501 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6502 Add option for exact case matching of nodes.
6503 * info-xref.el (info-xref): New custom group.
6504 (info-xref-case-fold): New option.
6505 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6506
e01aa29c
LL
65072013-07-03 Leo Liu <sdl.web@gmail.com>
6508
6509 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6510
3086ca2e
DG
65112013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6512
6513 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6514 middle of block statement initially, lower the depth. Remove
6515 FIXME comment, not longer valid. Remove middle of block statement
6516 detection, no need to do that anymore since we've been using
6517 `ruby-parse-region' here.
6518
a3b49114
JD
65192013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6520
6521 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6522
08e5c823 65232013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
6524
6525 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6526
2addf922
JB
65272013-07-01 Juanma Barranquero <lekktu@gmail.com>
6528
6529 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6530 (desktop-restore-in-current-display): New customization option.
6531 (desktop--excluded-frame-parameters): Add `font'.
6532 (desktop--save-frames): Rename from desktop--save-windows.
6533 (desktop--restore-in-this-display-p): New function.
6534 (desktop--make-full-frame): Remove unwanted width/height from
6535 full(width|height) frames.
6536 (desktop--restore-frames): Rename from desktop--restore-windows.
6537 Obey desktop-restore-current-display. Do not delete old frames or
6538 select a new frame unless we were able to restore at least one frame.
6539
ef099a94
MN
65402013-06-30 Michal Nazarewicz <mina86@mina86.com>
6541
6542 * files.el (find-file-noselect): Simplify conditional expression.
6543
6544 * remember.el (remember-append-to-file):
6545 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6546
6547 Add `remember-notes' function to store random notes across Emacs
6548 restarts.
6549 * remember.el (remember-data-file): Add :set callback to affect
6550 notes buffer (if any).
6551 (remember-notes): New command.
6552 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6553 New defcustoms for the `remember-notes' function.
6554 (remember-notes-save-and-bury-buffer): New command.
6555 (remember-notes-mode-map): New variable.
6556 (remember-mode): New minor mode.
6557 (remember-notes--kill-buffer-query): New function.
6558 * startup.el (initial-buffer-choice): Add notes to custom type.
6559
0865d506
EZ
65602013-06-30 Eli Zaretskii <eliz@gnu.org>
6561
0ba54312
EZ
6562 * bindings.el (right-char, left-char): Don't call sit-for, this is
6563 no longer needed. Use arithmetic comparison only for numerical
6564 arguments.
6565
ef099a94
MN
6566 * international/mule-cmds.el (select-safe-coding-system):
6567 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 6568
2fae38e5
LMI
65692013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6570
6571 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6572 progression on degenerate tables.
ef099a94 6573 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 6574
a47cbd64
JB
65752013-06-30 Juanma Barranquero <lekktu@gmail.com>
6576
6577 Some fixes and improvements for desktop frame restoration.
6578 It is still experimental and disabled by default.
6579 * desktop.el (desktop--save-windows): Put the selected frame at
6580 the head of the list.
6581 (desktop--make-full-frame): New function.
6582 (desktop--restore-windows): Try to re-select the frame that was
6583 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
6584 just show an error message and continue. Set up maximized frames
6585 so they have default non-maximized dimensions.
a47cbd64 6586
6dbafa30
DG
65872013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6588
ef099a94
MN
6589 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6590 Don't start heredoc inside a string or comment.
6dbafa30 6591
4c672a0f
EZ
65922013-06-29 Eli Zaretskii <eliz@gnu.org>
6593
6594 * bindings.el (visual-order-cursor-movement): New defcustom.
6595 (right-char, left-char): Provide visual-order cursor motion by
6596 calling move-point-visually. Update the doc strings.
6597
50960f36
KH
65982013-06-28 Kenichi Handa <handa@gnu.org>
6599
6600 * international/mule.el (define-coding-system): New coding system
6601 properties :inhibit-null-byte-detection,
6602 :inhibit-iso-escape-detection, and :prefer-utf-8.
6603 (set-buffer-file-coding-system): If :charset-list property of
6604 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6605 appropriate for setting.
6606
c1ea3abf
JB
6607 * international/mule-cmds.el (select-safe-coding-system):
6608 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6609 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
6610
6611 * international/mule-conf.el (prefer-utf-8): New coding system.
6612 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6613 files.
6614
75dbaf9d
IK
66152013-06-28 Ivan Kanis <ivan@kanis.fr>
6616
eadb6068
IK
6617 * net/shr.el (shr-render-region): New function.
6618
75dbaf9d
IK
6619 * net/eww.el: Autoload `eww-browse-url'.
6620
9ea5cf9f
DG
66212013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6622
c1ea3abf
JB
6623 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6624 Adapt to `package-desc-version' being a list.
6625 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
6626 archive element.
6627
39c0e36f
JB
66282013-06-27 Juanma Barranquero <lekktu@gmail.com>
6629
6630 New experimental feature to save&restore window and frame setup.
6631 * desktop.el (desktop-save-windows): New defcustom.
6632 (desktop--saved-states): New var.
6633 (desktop--excluded-frame-parameters): New defconst.
6634 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6635 (desktop--restore-windows, desktop--save-windows): New functions.
6636 (desktop-save): Call `desktop--save-windows'.
6637 (desktop-read): Call `desktop--restore-windows'.
6638
7f13406b
LMI
66392013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6640
ef099a94 6641 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 6642
1e072639
SB
66432013-06-27 Stephen Berman <stephen.berman@gmx.net>
6644
6645 * info.el (Info-try-follow-nearest-node): Move search for footnote
6646 above search for node name to prevent missing a footnote (bug#14717).
6647
f3e2cbde
SB
66482013-06-27 Stephen Berman <stephen.berman@gmx.net>
6649
6650 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6651
99906aa0
LL
66522013-06-27 Leo Liu <sdl.web@gmail.com>
6653
6654 * net/eww.el (eww-read-bookmarks): Check file size.
6655
539f75f4
SM
66562013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6657
6658 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6659 advice--pending if newdef is nil or an autoload (bug#13820).
6660 (advice-mapc): New function.
6661
843571cb
LMI
66622013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6663
6664 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6665 probably.
23a75d7f 6666 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
6667 (eww-add-bookmark): New command.
6668 (eww-bookmark-mode): New mode and commands.
a285ce99 6669 (eww-add-bookmark): Remove newlines from the title.
47fd571b 6670 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 6671
f2136e1e
GM
66722013-06-26 Glenn Morris <rgm@gnu.org>
6673
eab35f39
GM
6674 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6675 (hfy-size): Handle ttys. (Bug#14668)
6676
f2136e1e
GM
6677 * info-xref.el: Update for Texinfo 5 change in *note format.
6678 (info-xref-node-re, info-xref-note-re): New constants.
6679 (info-xref-check-buffer): Use info-xref-note-re.
6680
a49ff80c
SM
66812013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6682
a343d218
SM
6683 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6684
a49ff80c
SM
6685 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6686 nil terminate the loop (bug#14718).
6687
8308f184
LMI
66882013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6689
6690 * net/eww.el: Rework history traversal. When going forward/back,
6691 put these actions into the history, too, so that they can be
6692 replayed.
26bf2b82 6693 (eww-render): Move the history reset to the correct buffer.
8308f184 6694
ec64c273
JL
66952013-06-25 Juri Linkov <juri@jurta.org>
6696
6697 * files-x.el (modify-dir-local-variable): Change the header comment
6698 in the file with directory local variables. (Bug#14692)
6699
e080a9d7
JL
6700 * files-x.el (read-file-local-variable-value): Add `default'.
6701 (Bug#14710)
6702
bfbc93a1
IK
67032013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6704
6705 * net/eww.el (eww-make-unique-file-name): Create a unique file
6706 name before saving to entering `y' accidentally asynchronously.
6707
67082013-06-25 Ivan Kanis <ivan@kanis.fr>
6709
6710 * net/eww.el (eww-download): New command and keystroke.
6711
16f74f10
LMI
67122013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6713
a49ff80c 6714 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
6715
6716 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6717 be more consistent with Info and dired.
6718
6719 * net/eww.el (eww-mode-map): Ditto.
6720
12059709
SM
67212013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6722
6723 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6724 packages from archives.
6725 (package-archive-contents): Change format; include obsolete packages.
6726 (package-desc): Use `dir' to mark builtin packages.
6727 (package--from-builtin): Set the `dir' field to `builtin'.
6728 (generated-autoload-file, version-control): Declare.
6729 (package-compute-transaction): Change first arg and return value to be
6730 lists of package-descs. Adjust to new package-archive-contents format.
6731 (package--add-to-archive-contents): Adjust to new
6732 package-archive-contents format.
6733 (package-download-transaction): Arg is now a list of package-descs.
6734 (package-install): If `pkg' is a package name, pass it as
6735 a requirement, so it is subject to the usual (e.g. disabled) checks.
6736 (describe-package): Accept package-desc as well.
6737 (describe-package-1): Describe a specific package-desc. Add links to
6738 other package-descs for the same package name.
6739 (package-menu-describe-package): Pass the actual package-desc.
6740 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6741 works correctly.
6742 (package-desc-status): New function.
6743 (package-menu--refresh): New function, extracted
6744 from package-menu--generate.
6745 (package-menu--generate): Use it.
6746 (package-delete): Update package-alist.
6747 (package-menu-execute): Don't call package-initialize.
6748
6749 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6750 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6751 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6752 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6753 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6754 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6755
8bbdea0f
MR
67562013-06-25 Martin Rudalics <rudalics@gmx.at>
6757
6758 * window.el (window--state-get-1): Workaround for bug#14527.
6759 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6760
e82b0991
LMI
67612013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6762
6763 * net/eww.el (eww-back-url): Implement the history by stashing all
6764 the data into a list.
d3f0f918 6765 (eww-forward-url): Allow going forward in the history, too.
e82b0991 6766
c763842b
SM
67672013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6768
6769 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6770 for values and use read--expression for expressions (bug#14710).
6771 (read-file-local-variable): Avoid setq.
6772 (read-file-local-variable-mode): Use minor-mode-list.
6773
bceff189
RW
67742013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6775
864c58ca 6776 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
6777 for DOI URLs.
6778
45f431c6
RW
67792013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6780
864c58ca 6781 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
6782 Update imenu-support when dialect changes.
6783
f42d8237
LL
67842013-06-25 Leo Liu <sdl.web@gmail.com>
6785
6786 * ido.el (ido-read-internal): Allow forward slash on windows.
6787
be549ce6
LMI
67882013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6789
6790 * net/eww.el (eww): Start of strings is \\`, not ^.
6791
71d4c19d
IK
67922013-06-24 Ivan Kanis <ivan@kanis.fr>
6793
5196f88a
IK
6794 * net/shr.el (shr-browse-url): Fix interactive spec.
6795
71d4c19d
IK
6796 * net/eww.el (eww): Add a trailing slash to domain names.
6797
ae36ca55
JB
67982013-06-24 Juanma Barranquero <lekktu@gmail.com>
6799
6800 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6801
0ebd92a3
LMI
68022013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6803
bdaa086b
LMI
6804 * net/shr.el (shr-browse-url): Use an external browser if given a
6805 prefix.
6806
c763842b 6807 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 6808
b89fc156
IK
68092013-06-24 Ivan Kanis <ivan@kanis.fr>
6810
6811 * net/eww.el (eww): Work more correctly for file: URLs.
6812 (eww-detect-charset): Allow quoted charsets.
6813 (eww-yank-page-url): New command and keystroke.
6814
18eb4bca
DU
68152013-06-24 Daiki Ueno <ueno@gnu.org>
6816
6817 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6818 file name of gpg executable.
6819 (epg-context-program): New function.
6820 (epg-context-home-directory): New function.
6821 (epg-context-set-program): New function.
6822 (epg-context-set-home-directory): New function.
6823 (epg--start): Use `epg-context-program' instead of
6824 'epg-gpg-program'.
6825 (epg--list-keys-1): Likewise.
6826
6c6268c8
LL
68272013-06-24 Leo Liu <sdl.web@gmail.com>
6828
6829 * ido.el (ido-read-internal): Fix bug#14620.
6830
5e400cb3
JB
68312013-06-23 Juanma Barranquero <lekktu@gmail.com>
6832
6833 * faces.el (face-documentation): Simplify.
6834 (read-face-attribute, tty-find-type, x-resolve-font-name):
6835 Use `string-match-p'.
6836 (list-faces-display): Use `string-match-p'. Simplify.
6837 (face-spec-recalc): Check face to avoid face alias loops.
6838 (read-color): Use `string-match-p' and non-capturing parenthesis.
6839
f3f9606c
LMI
68402013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6841
6842 * net/shr.el (shr-rescale-image): Use the new
6843 :max-width/:max-height functionality.
6844
a3ca09b9
IK
68452013-06-23 Ivan Kanis <ivan@kanis.fr>
6846
6847 * net/eww.el (eww-search-prefix): New variable.
6848 (eww): Use it.
f865b474
IK
6849 (eww-external-browser): New variable.
6850 (eww-mode-map): New keystroke.
6851 (eww-browse-with-external-browser): New command.
a3ca09b9 6852
e854cfc7
IK
6853 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6854
18bb9e21
JB
68552013-06-23 Juanma Barranquero <lekktu@gmail.com>
6856
6857 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6858 Don't skip aligning the next header field when padding is 0;
6859 otherwise, field width is not respected unless the title is as
6860 wide as the field.
6861
5b165ade
SM
68622013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6863
6864 * emacs-lisp/package.el (package-el-version): Remove.
6865 (package-process-define-package): Fix inf-loop.
6866 (package-install): Allow symbols as arguments again.
6867
12adebe9
DG
68682013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6869
6870 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6871 add some more keyword-like methods.
6872 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6873
388573ee
JB
68742013-06-22 Juanma Barranquero <lekktu@gmail.com>
6875
6876 * bs.el (bs-buffer-show-mark): Make defvar-local.
6877 (bs-mode): Use setq-local.
6878
6879 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6880 (emacs-lock--try-unlocking): Make defvar-local.
6881
4582a01c 68822013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 6883
2663dd23
GM
6884 * play/cookie1.el (cookie-apropos): Minor simplification.
6885
3d94f3ad
GM
6886 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6887
f72e2fdb
DG
68882013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6889
6890 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6891 `regexp-opt', it breaks the build during dumping.
6892
73eab938
DG
68932013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6894
c763842b
SM
6895 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6896 Highlight keyword-like methods on Kernel and Module with
73eab938 6897 font-lock-builtin-face.
5cf8176d
DG
6898 (auto-mode-alist): Consolidate different entries into one regexp
6899 and add more *file-s.
73eab938 6900
d26255f6
SB
69012013-06-21 Stephen Berman <stephen.berman@gmx.net>
6902
6903 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6904
6905 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6906 (diary-entry): Use it in the action of this button type instead of
6907 diary-goto-entry.
6908
6909 * calendar/todo-mode.el: New version.
6910 (todo-add-category): Append new category to end of file and give
6911 it the highest number, instead of putting it at the beginning and
6912 giving it 0. Incorporate noninteractive functionality.
6913 (todo-forward-category): Adapt to 1-based category numbering.
6914 Allow skipping over archived categories.
6915 (todo-backward-category): Derive from todo-forward-category.
6916 (todo-backward-item, todo-forward-item): Make noninteractive and
6917 delegate interactive part to new commands. Make sensitive to done items.
6918 (todo-categories): Make value an alist of category names and
6919 vectors of item counts.
6920 (todo-category-beg): Make a defconst.
6921 (todo-category-number): Use 1 instead of 0 as initial value.
6922 (todo-category-select): Make sensitive to overlays, optional item
6923 highlighting and done items.
6924 (todo-delete-item): Make sensitive to overlays and marked and done items.
6925 (todo-edit-item): Make sensitive to overlays and editing of
6926 date/time header optional. Add format checks.
6927 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6928 no-op if point is not on an item. Advertise using todo-edit-quit.
6929 (todo-edit-mode): Make sensitive to new format, font-locking, and
6930 multiple todo files.
6931 (todo-insert-item, todo-insert-item-here): Derive from
6932 todo-basic-insert-item and extend functionality.
6933 (todo-item-end, todo-item-start): Make sensitive to done items.
6934 (todo-item-string): Don't return text properties. Restore point.
6935 (todo-jump-to-category): Make sensitive to multiple todo files and
6936 todo archives. Use extended category completion.
6937 (todo-lower-item, todo-raise-item): Rename to *-priority and
6938 derive from todo-set-item-priority.
6939 (todo-mode): Derive from special-mode. Make sensitive to new
6940 format, font-locking and multiple todo files. Make read-only.
6941 (todo-mode-map): Don't suppress digit keys, so they can supply
6942 prefix arguments. Add many new key bindings.
6943 (todo-prefix): Insert as an overlay instead of file text.
6944 Change semantics from diary date expression to purely visual mark.
6945 (todo-print): Rename to todo-print-buffer. Make buffer display
6946 features printable. Remove option to restrict number of items
6947 printed. Add option to print to file.
6948 (todo-print-function): Rename to todo-print-buffer-function.
6949 (todo-quit): Extend to handle exiting new todo modes.
6950 (todo-remove-item): Make sensitive to overlays.
6951 (todo-save): Extend to buffers of filtered items.
6952 (todo-show): Make sensitive to done items, multiple todo files and
6953 new todo modes. Offer to convert legacy todo file before creating
6954 first new todo file.
6955 (todo-show-priorities): Rename to todo-top-priorities.
6956 Change semantics of value 0.
6957 (todo-top-priorities): Rename to todo-filter-top-priorities,
6958 derive from todo-filter-items and extend functionality.
6959 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6960 and extend functionality to other types of filtered items.
6961 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6962 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6963 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6964 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6965 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6966 (todo-edit-mode-hook, todo-entry-prefix-function)
6967 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6968 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6969 (todo-initials, todo-insert-threshold, todo-item-string-start)
6970 (todo-line-string, todo-menu, todo-mode-hook)
6971 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6972 (todo-print-priorities, todo-remove-separator)
6973 (todo-save-top-priorities-too, todo-string-count-lines)
6974 (todo-string-multiline-p, todo-time-string-format)
6975 (todo-tmp-buffer-name): Remove.
6976 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6977 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6978 (todo-edit-category-diary-inclusion)
6979 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6980 (todo-edit-file, todo-edit-item-date-day)
6981 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6982 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6983 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6984 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6985 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6986 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6987 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6988 (todo-filter-top-priorities-multifile, todo-find-archive)
6989 (todo-find-filtered-items-file, todo-go-to-source-item)
6990 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6991 (todo-jump-to-archive-category, todo-lower-category)
6992 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6993 (todo-move-category, todo-move-item, todo-next-button)
6994 (todo-next-item, todo-padded-string, todo-powerset)
6995 (todo-previous-button, todo-previous-item)
6996 (todo-print-buffer-to-file, todo-raise-category)
6997 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6998 (todo-set-category-number, todo-set-item-priority)
6999 (todo-set-top-priorities-in-category)
7000 (todo-set-top-priorities-in-file, todo-show-categories-table)
7001 (todo-sort-categories-alphabetically-or-numerically)
7002 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7003 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7004 (todo-toggle-item-header, todo-toggle-item-highlighting)
7005 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7006 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7007 (todo-unarchive-items, todo-unmark-category): New commands.
7008 (todo-absolute-file-name, todo-add-to-buffer-list)
7009 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7010 (todo-basic-insert-item, todo-category-completions)
7011 (todo-category-number, todo-category-string-matcher-1)
7012 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7013 (todo-check-format, todo-clear-matches)
7014 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7015 (todo-current-category, todo-date-string-matcher)
7016 (todo-define-insertion-command, todo-diary-expired-matcher)
7017 (todo-diary-goto-entry, todo-diary-item-p)
7018 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7019 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7020 (todo-done-item-section-p, todo-done-separator)
7021 (todo-done-string-matcher, todo-files, todo-filter-items)
7022 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7023 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7024 (todo-insert-category-line, todo-insert-item-from-calendar)
7025 (todo-insert-sort-button, todo-insert-with-overlays)
7026 (todo-insertion-command-name, todo-insertion-key-bindings)
7027 (todo-label-to-key, todo-longest-category-name-length)
7028 (todo-make-categories-list, todo-mode-external-set)
7029 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7030 (todo-modes-set-3, todo-multiple-filter-files)
7031 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7032 (todo-read-category, todo-read-date, todo-read-dayname)
7033 (todo-read-file-name, todo-read-time)
7034 (todo-reevaluate-category-completions-files-defcustom)
7035 (todo-reevaluate-default-file-defcustom)
7036 (todo-reevaluate-filelist-defcustoms)
7037 (todo-reevaluate-filter-files-defcustom)
7038 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7039 (todo-reset-done-separator, todo-reset-done-separator-string)
7040 (todo-reset-done-string, todo-reset-global-current-todo-file)
7041 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7042 (todo-reset-prefix, todo-set-categories)
7043 (todo-set-date-from-calendar, todo-set-show-current-file)
7044 (todo-set-top-priorities, todo-short-file-name)
7045 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7046 (todo-total-item-counts, todo-update-buffer-list)
7047 (todo-update-categories-display, todo-update-categories-sexp)
7048 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7049 New functions.
7050 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7051 New major modes.
7052 (todo-categories, todo-display, todo-edit, todo-faces)
7053 (todo-filtered): New defgroups.
7054 (todo-archived-only, todo-button, todo-category-string, todo-date)
7055 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7056 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7057 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7058 (todo-add-item-if-new-category, todo-always-add-time-string)
7059 (todo-categories-align, todo-categories-archived-label)
7060 (todo-categories-category-label, todo-categories-diary-label)
7061 (todo-categories-done-label, todo-categories-number-separator)
7062 (todo-categories-todo-label, todo-categories-totals-label)
7063 (todo-category-completions-files, todo-completion-ignore-case)
7064 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7065 (todo-done-separator-string, todo-done-string)
7066 (todo-files-function, todo-filter-done-items, todo-filter-files)
7067 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7068 (todo-initial-category, todo-initial-file, todo-item-mark)
7069 (todo-legacy-date-time-regexp, todo-mode-line-function)
7070 (todo-nondiary-marker, todo-number-prefix)
7071 (todo-print-buffer-function, todo-show-current-file)
7072 (todo-show-done-only, todo-show-first, todo-show-with-done)
7073 (todo-skip-archived-categories, todo-top-priorities-overrides)
7074 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7075 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7076 New defcustoms.
7077 (todo-category-done, todo-date-pattern, todo-date-string-start)
7078 (todo-diary-items-buffer, todo-done-string-start)
7079 (todo-filtered-items-buffer, todo-item-start)
7080 (todo-month-abbrev-array, todo-month-name-array)
7081 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7082 (todo-top-priorities-buffer): New defconsts.
7083 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7084 (todo-categories-with-marks, todo-category-string-face)
7085 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7086 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7087 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7088 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7089 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7090 (todo-font-lock-keywords, todo-global-current-todo-file)
7091 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7092 (todo-insertion-commands-args)
7093 (todo-insertion-commands-args-genlist)
7094 (todo-insertion-commands-names, todo-insertion-map)
7095 (todo-key-bindings-t, todo-key-bindings-t+a)
7096 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7097 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7098 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7099 (todo-visited): New variables.
7100
cad5d1cb
GM
71012013-06-21 Glenn Morris <rgm@gnu.org>
7102
7103 * play/cookie1.el (cookie-apropos): Add optional display argument.
7104 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7105 (psychoanalyze-pinhead): Use cookie-doctor.
7106
9e277302
JB
71072013-06-21 Juanma Barranquero <lekktu@gmail.com>
7108
7109 * emacs-lisp/package.el (tar-get-file-descriptor)
7110 (tar--extract): Declare.
7111
c5b0993e
EW
71122013-06-21 Eduard Wiebe <usenet@pusto.de>
7113
7114 Extend flymake's warning predicate to be a function (bug#14217).
7115 * progmodes/flymake.el (flymake-warning-predicate): New.
7116 (flymake-parse-line): Use it.
7117 (flymake-warning-re): Make obsolete alias to
7118 `flymake-warning-predicate'.
7119
a7d2d465
SM
71202013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7121
7122 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7123 (package-obsolete-list): Remove.
7124 (package-activate): Remove min-version argument. Add `force' argument.
7125 Adjust to new package-alist format.
7126 (package-mark-obsolete): Remove.
7127 (package-unpack): Force reload of the package's autoloads.
7128 (package-installed-p): Check builtins if the installed package is not
7129 recent enough.
7130 (package-initialize): Don't reset package-obsolete-list.
7131 Don't specify which package version to activate.
7132 (package-process-define-package, describe-package-1)
7133 (package-menu--generate): Adjust to new package-alist format.
7134
cedf5c9d
JB
71352013-06-21 Juanma Barranquero <lekktu@gmail.com>
7136
7137 * allout-widgets.el (allout-widgets-mode-off)
7138 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7139 (allout-widgets-post-command-business)
7140 (allout-widgets-after-copy-or-kill-function)
7141 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7142 (allout-decorate-item-and-context)
7143 (allout-graphics-modification-handler): Fix typos in docstrings.
7144 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7145
7146 * cmuscheme.el (scheme-start-file): Doc fix.
7147 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7148 (scheme-input-filter): Use `string-match-p'.
7149
7150 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7151
7152 * dired-x.el: Use Dired consistently in docstrings.
7153
7154 * dired.el: Use Dired consistently in docstrings.
7155 (dired-readin, dired-mode): Use `setq-local'.
7156 (dired-switches-alist): Make defvar-local.
7157 (dired-buffers-for-dir): Use `zerop'.
7158 (dired-safe-switches-p, dired-switches-escape-p)
7159 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7160 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7161 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7162 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7163 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7164 (dired-toggle-marks, dired-mark-files-containing-regexp)
7165 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7166 (dired-flag-auto-save-files, dired-flag-backup-files):
7167 Use `looking-at-p'.
7168 (dired-mark-files-regexp, dired-build-subdir-alist):
7169 Use `string-match-p', `looking-at-p'.
7170
7171 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7172 (direct-print-region-helper): Use `string-match-p'.
7173
aed838b5
LL
71742013-06-21 Leo Liu <sdl.web@gmail.com>
7175
cedf5c9d
JB
7176 * comint.el (comint-redirect-results-list-from-process):
7177 Fix infinite loop.
aed838b5 7178
d80a808f
LMI
71792013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7180
7181 * net/eww.el (eww-update-header-line-format): Quote % characters.
7182
e7a526e3
GM
71832013-06-21 Glenn Morris <rgm@gnu.org>
7184
7185 * play/cookie1.el (cookie): New custom group.
7186 (cookie-file): New option.
7187 (cookie-check-file): New function.
7188 (cookie): Make it interactive. Make start and end messages optional.
7189 Interactively, display the result. Default to cookie-file.
7190 (cookie-insert): Default to cookie-file.
7191 (cookie-snarf): Make start and end messages optional.
7192 Default to cookie-file. Use with-temp-buffer.
7193 (cookie-read): Rename from read-cookie.
7194 Make start and end messages optional. Default to cookie-file.
7195 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 7196 Do not autoload it.
e7a526e3
GM
7197 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7198 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7199
62efb35e
LL
72002013-06-21 Leo Liu <sdl.web@gmail.com>
7201
7202 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7203
21e3f963
GM
72042013-06-21 Glenn Morris <rgm@gnu.org>
7205
7206 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7207
fd846ab4
SM
72082013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7209 Daniel Hackney <dan@haxney.org>
7210
7211 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7212 Consolidate the single-file vs tarball code.
7213 (package-desc-suffix): New function.
7214 (package-desc-full-name): Don't bother inlining it.
7215 (package-load-descriptor): Return the new package-desc.
7216 (package-mark-obsolete): Remove unused arg `package'.
7217 (package-unpack): Make it work for single files as well.
7218 Make it update package-alist.
7219 (package--make-autoloads-and-stuff): Rename from
7220 package--make-autoloads-and-compile. Don't compile any more.
7221 (package--compile): New function.
7222 (package-generate-description-file): New function, extracted from
7223 package-unpack-single.
7224 (package-unpack-single): Remove.
7225 (package--with-work-buffer): Add indentation and debugging info.
7226 (package-download-single): Remove.
7227 (package-install-from-archive): Rename from package-download-tar, make
7228 it take a pkg-desc, and make it work for single files as well.
7229 (package-download-transaction): Simplify.
7230 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7231 external tar program.
7232 (package-install-from-buffer): Remove `pkg-desc' argument.
7233 Use package-tar-file-info for tar-mode buffers.
7234 (package-install-file): Simplify accordingly.
7235 (package-archive-base): Change to take a pkg-desc.
7236 * tar-mode.el (tar--check-descriptor): New function, extracted from
7237 tar-get-descriptor.
7238 (tar-get-descriptor): Use it.
7239 (tar-get-file-descriptor): New function.
7240 (tar--extract): New function, extracted from tar-extract.
7241 (tar--extract): Use it.
7242 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7243 case the summary uses non-ascii. Adjust to new calling convention of
7244 package-tar-file-info.
7245
b7deae5e
LL
72462013-06-21 Leo Liu <sdl.web@gmail.com>
7247
fd846ab4
SM
7248 * comint.el (comint-redirect-results-list-from-process):
7249 Fix random delay. (Bug#14681)
b7deae5e 7250
7a65a0b2
JB
72512013-06-21 Juanma Barranquero <lekktu@gmail.com>
7252
7253 * profiler.el (profiler-format-number): Use log, not log10.
7254
1493c2af
JB
72552013-06-20 Juanma Barranquero <lekktu@gmail.com>
7256
7257 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7258
aff6371e
SM
72592013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7260
7261 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7262 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7263 yet available.
7264 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7265 (AUTOGENEL): ... here.
7266 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7267 (cl--defsubst-expand): Use it.
7268
89561f72
PE
72692013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7270
7271 * subr.el (log10): Move here from C code, and declare as obsolete.
7272 All uses of (log10 X) replaced with (log X 10).
7273
47199123
JB
72742013-06-20 Juanma Barranquero <lekktu@gmail.com>
7275
7276 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7277 Declare with `defvar-local'.
7278 (tabulated-list-use-header-line, tabulated-list-entries)
7279 (tabulated-list-padding, tabulated-list-printer)
7280 (tabulated-list-sort-key): Declare with `defvar-local'.
7281 (tabulated-list-init-header, tabulated-list-print-fake-header):
7282 Use `setq-local'.
7283
4a172eab
MA
72842013-06-20 Michael Albinus <michael.albinus@gmx.de>
7285
47199123
JB
7286 * arc-mode.el (archive-mode): Add `archive-write-file' to
7287 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 7288
5fc0acc0
JB
72892013-06-20 Juanma Barranquero <lekktu@gmail.com>
7290
d5b27848
JB
7291 * cus-edit.el (custom-commands): Fix typos.
7292 (custom-display): Fix tooltip text.
7293 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7294 Fix typos in docstrings.
7295 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7296 (custom-unlispify-menu-entry, custom-magic-value-create)
7297 (custom-add-see-also, custom-group-value-create): Use ?\s.
7298 (custom-guess-type, customize-apropos, editable-field)
7299 (custom-face-value-create): Use `string-match-p'.
7300 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7301
7302 * custom.el (custom-load-symbol): Use `string-match-p'.
7303
a5c581d8
JB
7304 * ansi-color.el: Convert to lexical binding.
7305 (ansi-colors): Fix URL.
7306 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7307 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7308 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7309
970ad972
G
73102013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7311
7312 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7313
7314 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7315
73162013-06-19 Tom Tromey <tromey@redhat.com>
7317
7318 * net/eww.el (eww-top-url): Remove.
7319 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7320 (eww-render): Set new variables. Don't set eww-top-url.
7321 (eww-handle-link): Handle "prev", "home", and "contents".
7322 Downcase the rel text.
7323 (eww-top-url): Choose best top URL.
7324
73252013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7326
7327 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7328 relying in widget.el. Using widget.el leads to too many
7329 user interface inconsistencies.
7330 (eww-self-insert): Implement entering commands in text fields.
7331 (eww-process-text-input): New function to make text input field editing
7332 work.
7333 (eww-submit): Rewrite to use the new-style form methods.
7334 (eww-select-display): Display the correct selected item.
7335 (eww-change-select): Implement changing the select value.
7336 (eww-toggle-checkbox): Implement radio/checkboxes.
7337 (eww-update-field): Fix compilation error.
7338 (eww-tag-textarea): Implement <textarea>.
7339
7340 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7341 we don't shadow mode-specific bindings.
7342
7343 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7344 nothing to push.
7345
7346 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7347
4582a01c 73482013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
7349
7350 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7351
15b263dc
MA
73522013-06-19 Michael Albinus <michael.albinus@gmx.de>
7353
7354 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7355 not needed.
7356
7357 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7358
8f5297f7
LMI
73592013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7360
7361 * net/browse-url.el (browse-url-browser-function):
7362 `eww-browse-url' has the right calling signature, `eww' does not.
7363
011c4552
GM
73642013-06-19 Glenn Morris <rgm@gnu.org>
7365
2285bd27
GM
7366 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7367 Only eval autoloaded macros.
7368 (byte-compile-autoload): Only give the macro warning for macros.
7369
1d653303
GM
7370 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7371 (ps-underlined-faces): Declare.
7372
bdd779ec
GM
7373 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7374 (speedbar-add-supported-extension): Declare.
7375
011c4552
GM
7376 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7377 Don't include a date stamp in the header of the generated file;
7378 it leads to needless differences between output files.
7379
e59dfb0e
MA
73802013-06-19 Michael Albinus <michael.albinus@gmx.de>
7381
c763842b
SM
7382 * net/secrets.el (secrets-struct-secret-content-type):
7383 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 7384 Some servers do not offer introspection.
e59dfb0e 7385
102626e2
SM
73862013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7387
7388 * electric.el (electric-pair-mode): Improve interaction with
7389 electric-layout-mode.
7390 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7391 (electric-pair-syntax): Use text-mode-syntax-table in comments
7392 and strings.
7393 (electric-pair--insert): New function.
7394 (electric-pair-post-self-insert-function): Use it and
7395 electric--after-char-pos.
7396
ad528125
LL
73972013-06-19 Leo Liu <sdl.web@gmail.com>
7398
7399 * progmodes/octave.el (octave-help): Fix regexp.
7400
924d6997
G
74012013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7402
7403 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7404 (shr-table-horizontal-line): Allow nil as a value, and change the
7405 default.
7406 (shr-insert-table-ruler): Respect the nil value.
7407
74082013-06-18 Tom Tromey <tromey@barimba>
7409
7410 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7411 New defvars.
7412 (eww-open-file): New defun.
7413 (eww-render): Initialize new variables.
7414 (eww-display-html): Handle "link" and "a".
7415 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7416 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7417 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
7418 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7419 New defuns.
924d6997 7420
d1bbba4f
DG
74212013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7422
7423 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7424 Distinguish ternary operator tokens from slash symbol and slash
7425 char literal.
7426
14dd22d2
JB
74272013-06-18 Juanma Barranquero <lekktu@gmail.com>
7428
7429 Convert symbol prettification into minor mode and global minor mode.
7430
7431 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7432 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7433 (prettify-symbols--keywords): Rename from
7434 `prog-prettify-symbols-alist' and make a local defvar.
7435 (prettify-symbols--compose-symbol): Rename from
7436 `prog--prettify-font-lock-compose-symbol'.
7437 (prettify-symbols--make-keywords): Rename from
7438 `prog-prettify-font-lock-symbols-keywords' and simplify.
7439 (prog-prettify-install): Remove.
7440 (prettify-symbols-mode): New minor mode, based on
7441 `prog-prettify-install'.
7442 (turn-on-prettify-symbols-mode): New function.
7443 (global-prettify-symbols-mode): New globalized minor mode.
7444
7445 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7446 * progmodes/cfengine.el (cfengine3-mode):
7447 * progmodes/perl-mode.el (perl-mode): Don't call
7448 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7449
292c880c
JL
74502013-06-18 Juri Linkov <juri@jurta.org>
7451
7452 * files-x.el (modify-file-local-variable-message): New function.
7453 (modify-file-local-variable)
7454 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7455 and call `modify-file-local-variable-message' when it's non-nil.
7456 (add-file-local-variable, delete-file-local-variable)
7457 (add-file-local-variable-prop-line)
7458 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7459 and use it. (Bug#9820)
7460
0950aa27
JL
74612013-06-18 Juri Linkov <juri@jurta.org>
7462
7463 * emulation/vi.el (vi-shell-op):
7464 * emulation/vip.el (vip-execute-com, ex-command):
7465 * emulation/viper-cmd.el (viper-exec-bang):
7466 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7467 the call of `shell-command-on-region'. (Bug#14637)
7468
7469 * simple.el (shell-command-on-region): Doc fix.
7470
8fbcca16
SM
74712013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7472
7473 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7474 (bug#14633).
7475
dd7426ea
GM
74762013-06-18 Glenn Morris <rgm@gnu.org>
7477
4ba54f7d
GM
7478 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7479
dd7426ea
GM
7480 * newcomment.el (comment-search-forward, comment-search-backward):
7481 Doc fix. (Bug#14376)
7482
58aa805b
JB
74832013-06-18 Juanma Barranquero <lekktu@gmail.com>
7484
7485 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7486 (buffer-face-mode-invoke): Doc fix.
7487
9a08a617
MM
74882013-06-18 Matthias Meulien <orontee@gmail.com>
7489
7490 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 7491 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 7492
f2f426ca
GM
74932013-06-18 Glenn Morris <rgm@gnu.org>
7494
9445f99b
GM
7495 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7496 Replace obsolete function generic-make-keywords with its expansion.
7497
e0df2d14
GM
7498 * progmodes/python.el (ffap-alist): Declare.
7499
f2f426ca
GM
7500 * textmodes/reftex.el (bibtex-mode-map): Declare.
7501
f7f9a720
SM
75022013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7503
7504 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7505 (package-unpack, package-unpack-single): Return the pkg-dir.
7506 (package-download-transaction): Use it to update package-alist.
7507
57ff04e0
LMI
75082013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7509
7510 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7511 possible choice.
7512
c048c022
JL
75132013-06-17 Juri Linkov <juri@jurta.org>
7514
7515 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7516
b5bcaee5
DG
75172013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7518
a020afb9
JB
7519 * emacs-lisp/package.el (package-load-descriptor):
7520 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
7521 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7522
551e07e5
JB
75232013-06-17 Juanma Barranquero <lekktu@gmail.com>
7524
7525 * startup.el (command-line): Expand package name returned by
7526 `package--description-file' (bug#14639).
7527
d363bffb
DG
75282013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7529
7530 * emacs-lisp/package.el (package-load-descriptor): Do not call
7531 `emacs-lisp-mode', just use its syntax table.
7532
f612933b
JB
75332013-06-17 Juanma Barranquero <lekktu@gmail.com>
7534
7535 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7536 `font-lock-extra-managed-props' if any prettifying keyword is added.
7537 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7538 (prog-mode): Use `setq-local'.
7539
db3b7db5
SM
75402013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7541
7542 * international/characters.el (standard-case-table): Set syntax of ?»
7543 and ?« to punctuation.
7544
f3d674df
JB
75452013-06-16 Juanma Barranquero <lekktu@gmail.com>
7546
7547 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7548 Save relevant match data before calling `syntax-ppss' (bug#14595).
7549
31489a32
JL
75502013-06-15 Juri Linkov <juri@jurta.org>
7551
7552 * files-x.el (modify-file-local-variable-prop-line): Add local
7553 variables to the end of the existing comment on the first line.
7554 Use `file-auto-mode-skip' to skip interpreter magic line,
7555 and also skip XML declaration.
7556
66bd25ab
SM
75572013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7558
7559 * startup.el (package--builtin-versions): New var.
7560 (package-subdirectory-regexp): Remove.
7561 (package--description-file): Hard code its value instead.
7562
7563 * emacs-lisp/package.el: Don't activate packages older than builtin.
7564 (package-obsolete-list): Rename from package-obsolete-alist, and make
7565 it into a simple list of package-desc.
7566 (package-strip-version): Remove.
7567 (package-built-in-p): Use package--builtin-versions.
7568 (package-mark-obsolete): Simplify.
7569 (package-process-define-package): Mark it obsolete if older than the
7570 builtin version.
7571 (package-handle-response): Use line-end-position.
7572 (package-read-archive-contents, package--download-one-archive):
7573 Simplify.
7574 (package--add-to-archive-contents): Skip if older than the builtin or
7575 installed version.
7576 (package-menu-describe-package): Fix last change.
7577 (package-list-unversioned): New var.
7578 (package-menu--generate): Use it.
7579
7580 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7581 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7582 (autoload-builtin-package-versions): New variable.
7583 (autoload-generate-file-autoloads): Use them.
7584 Remove the list of autoloaded functions/macros from the
7585 (autoload...) comments.
7586
7587 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7588
9583ec36
EZ
75892013-06-15 Eli Zaretskii <eliz@gnu.org>
7590
7591 * simple.el (line-move-partial): Don't jump to the next screen
7592 line as soon as it becomes visible. Instead, continue enlarging
7593 the vscroll until the portion of a tall screen line that's left on
7594 display is about the height of the frame's default font.
7595 (Bug#14567)
7596
f0100d8a
GM
75972013-06-15 Glenn Morris <rgm@gnu.org>
7598
b86a85ca
GM
7599 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7600 compilation-error-regexp-alist void, or local while let-bound.
7601
f0100d8a
GM
7602 * progmodes/make-mode.el (makefile-mode-syntax-table):
7603 Treat "=" as punctuation. (Bug#14614)
7604
05e7ce90
JB
76052013-06-15 Juanma Barranquero <lekktu@gmail.com>
7606
7607 * help-fns.el (describe-variable):
7608 Add extra line for permanent-local variables.
7609
12e5e86e
SH
76102013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7611
7612 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7613 Add export, import, library. (Bug#9164)
7614 (library): Set indent function.
7615
230dcbaf
GM
76162013-06-14 Glenn Morris <rgm@gnu.org>
7617
7618 * term/xterm.el (xterm--query):
7619 Stop after first matching handler. (Bug#14615)
7620
e36b2d20 76212013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
7622
7623 Add support for dired in saveplace.
7624 * dired.el (dired-initial-position-hook): New variable.
7625 (dired-initial-position): Call hook to place cursor position.
7626 * saveplace.el (save-place-to-alist): Add dired position.
7627 (save-place-dired-hook): New function.
7628
0b31660d
SM
76292013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7630
bf1e6ae8
SM
7631 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7632 through a symbol rather than letrec.
7633
1b8dff23
SM
7634 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7635 (package-desc): Add `dir' field.
7636 (package-desc-full-name): New function.
7637 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7638 (package-maybe-load-descriptor): Remove.
7639 (package-load-all-descriptors): Just call package-load-descriptor.
7640 (package--disabled-p): New function.
7641 (package-desc-vers, package-desc-doc): Remove aliases.
7642 (package--dir): Remove function.
7643 (package-activate): Check if a package is disabled.
7644 (package-process-define-package): New function, extracted from
7645 define-package.
7646 (define-package): Turn into a place holder.
7647 (package-unpack-single, package-tar-file-info):
7648 Use package--description-file.
7649 (package-compute-transaction): Use package--disabled-p.
7650 (package-download-transaction): Don't call
7651 package-maybe-load-descriptor since they're all loaded anyway.
7652 (package-install): Change argument to be a pkg-desc.
7653 (package-delete): Use a single pkg-desc argument.
7654 (describe-package-1): Use package-desc-dir instead of package--dir.
7655 Use package-desc property instead of package-symbol.
7656 (package-install-button-action): Adjust accordingly.
7657 (package--push): Rewrite.
7658 (package-menu--print-info): Adjust accordingly. Change the ID format
7659 to be a pkg-desc.
7660 (package-menu-describe-package, package-menu-get-status)
7661 (package-menu--find-upgrades, package-menu-mark-upgrades)
7662 (package-menu-execute, package-menu--name-predicate):
7663 Adjust accordingly.
7664 * startup.el (package--description-file): New function.
7665 (command-line): Use it.
7666 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7667 Use package-desc-version.
7668
0b31660d
SM
7669 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7670 (byte-compile-preprocess): Use it.
7671 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7672 can't quite recognize.
7673 (byte-compile-add-to-list): Remove.
7674 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7675 (cconv-closure-convert): Add assertion.
7676
7677 * emacs-lisp/map-ynp.el: Use lexical-binding.
7678 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7679 Factor out some repeated code.
7680
de0503df
SM
76812013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7682
7683 * subr.el (with-eval-after-load): New macro.
7684 (eval-after-load): Allow form to be a function.
7685 take advantage of lexical-binding.
7686 (do-after-load-evaluation): Use dolist and adjust to new format.
7687 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7688
bc5c8c5a
JL
76892013-06-13 Juri Linkov <juri@jurta.org>
7690
7691 * replace.el (perform-replace): Display "symbol " and other search
7692 modes from `isearch-message-prefix' in the *Help* buffer.
7693
7694 * isearch.el (isearch-query-replace): Add " symbol" and other
7695 possible search modes from `isearch-message-prefix' to the prompt.
7696 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7697 when reading a regexp to collect.
7698
a22289f7
JL
76992013-06-13 Juri Linkov <juri@jurta.org>
7700
7701 * isearch.el (word-search-regexp): Match whitespace if the search
7702 string begins or ends in whitespace. The LAX arg is applied to
7703 both ends of the search string. Use `regexp-quote' and explicit
7704 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7705 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7706 boundaries are replaced with symbol boundaries, and characters
7707 between symbols match non-word non-symbol syntax. (Bug#14602)
7708
cb89acab
JL
77092013-06-13 Juri Linkov <juri@jurta.org>
7710
7711 * isearch.el (isearch-del-char): Don't exceed the length of
7712 `isearch-string' by the prefix arg. (Bug#14563)
7713
6e8cfc81
JL
77142013-06-13 Juri Linkov <juri@jurta.org>
7715
7716 * isearch.el (isearch-yank-word, isearch-yank-line)
7717 (isearch-char-by-name, isearch-quote-char)
7718 (isearch-printing-char, isearch-process-search-char):
7719 Add optional count prefix arg. (Bug#14563)
7720
7721 * international/isearch-x.el
7722 (isearch-process-search-multibyte-characters):
7723 Add optional count prefix arg.
7724
c23d55f4
VS
77252013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7726
7727 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7728 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7729 lexical-binding.
7730
77312013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7732
7733 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7734
ba947bc4
GM
77352013-06-13 Glenn Morris <rgm@gnu.org>
7736
8baeb37a
GM
7737 * startup.el (tty-handle-args):
7738 Don't just discard "--" and anything after. (Bug#14608)
7739
ba947bc4
GM
7740 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7741
9abefce4
MA
77422013-06-13 Michael Albinus <michael.albinus@gmx.de>
7743
7744 Implement changes in Secret Service API. Make it backward compatible.
7745 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7746 (secrets-create-item): Use it. Prefix properties with interface.
7747
5755011f
MH
77482013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7749
7750 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7751 (term-emulate-terminal): Respect term-suppress-hard-newline.
7752
1261d2da
S
77532013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7754
7755 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7756 Only remove a `thumb-file' overlay. (Bug#14548)
7757
868490bb
GJ
77582013-06-12 Grégoire Jadi <daimrod@gmail.com>
7759
7760 * mail/reporter.el (reporter-submit-bug-report):
7761 Handle missing package-name. (Bug#14600)
7762
79d7167f
TH
77632013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7764
7765 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7766 (reftex-citation-prompt, reftex-default-bibliography)
7767 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7768 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7769 (reftex-bib-sort-author, reftex-bib-sort-year)
7770 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7771 (reftex-extract-bib-entries-from-thebibliography)
7772 (reftex-get-bibkey-default, reftex-get-bib-names)
7773 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7774 (reftex-format-bib-entry, reftex-parse-bibitem)
7775 (reftex-format-bibitem, reftex-do-citation)
7776 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7777 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7778 (reftex-insert-bib-matches, reftex-format-citation)
7779 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7780 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7781 existing comments into docstrings.
7782
5f9dbd7a
XF
77832013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7784
7785 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7786
94df41ab
AS
77872013-06-12 Andreas Schwab <schwab@suse.de>
7788
7789 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7790 for auto-save files.
7791
a7f3fecc
GM
77922013-06-12 Glenn Morris <rgm@gnu.org>
7793
001809f6
GM
7794 * ido.el (ido-delete-ignored-files): Remove.
7795 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7796 Go back to calling ido-ignore-item-p directly.
a7f3fecc 7797
834b5ded
EL
77982013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7799
08c73ed2
EL
7800 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7801
834b5ded
EL
7802 * ido.el (ido-delete-ignored-files): New function,
7803 split from ido-make-file-list-1.
7804 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7805 (ido-make-file-list-1): Use ido-delete-ignored-files.
7806
daabf15a
LL
78072013-06-12 Leo Liu <sdl.web@gmail.com>
7808
7809 * progmodes/octave.el (inferior-octave-startup)
7810 (inferior-octave-completion-table)
7811 (inferior-octave-track-window-width-change)
7812 (octave-eldoc-function-signatures, octave-help)
7813 (octave-find-definition): Use single quoted strings.
7814 (inferior-octave-startup-args): Change default value.
7815 (inferior-octave-startup): Do not hard code "-i" and
7816 "--no-line-editing".
7817 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7818 (inferior-octave-directory-tracker): Use it.
7819 (octave-goto-function-definition): Robustify.
7820 (octave-help): Support highlighting operators in 'See also'.
7821 (octave-find-definition): Find subfunctions only in Octave mode.
7822
cf4e5178
SM
78232013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7824
7825 * help-fns.el (help-fns--compiler-macro): If the handler function is
7826 named, then put a link to it.
7827 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7828 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7829 (cl-typep): Use it.
7830 (cl-eval-when): Simplify debug spec.
7831 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7832 compiler-macro function instead of setting `compiler-macro-file'.
7833
99c81280 78342013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
7835
7836 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7837 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7838
f56be016
SM
78392013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7840 Daniel Hackney <dan@haxney.org>
7841
7842 First part of Daniel Hackney's patch to package.el.
7843 * emacs-lisp/package.el: Use defstruct.
7844 (package-desc): New, main struct.
7845 (package--bi-desc, package--ac-desc): New structs, used to describe the
7846 format in external files.
7847 (package-desc-vers): Replace with package-desc-version accessor.
7848 (package-desc-doc): Replace with package-desc-summary accessor.
7849 (package-activate-1): Remove `package' arg since the pkg-vec now
7850 includes the name.
7851 (define-package): Use package-desc-from-define.
7852 (package-unpack-single): Change file-name arg to be a symbol.
7853 (package--add-to-archive-contents): Use package-desc-create and new
7854 accessor functions to package--ac-desc.
7855 (package-buffer-info, package-tar-file-info): Return a package-desc.
7856 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7857 arg to be a package-desc.
7858 (package-install-file): Adjust accordingly. Use \' to match EOS.
7859 (package--from-builtin): New function.
7860 (describe-package-1, package-menu--generate): Use it.
7861 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7862 (package-generate-autoloads): Idem and return the name of the file.
7863 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7864 Change pkg-info arg to be a package-desc.
7865 Use package-make-ac-desc.
7866 (package-upload-file): Use \' to match EOS.
7867 * finder.el (finder-compile-keywords): Use package-make-builtin.
7868
31119d63
SM
78692013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7870
931a2762
SM
7871 * vc/vc.el (vc-deduce-fileset): Change error message.
7872 (vc-read-backend): New function.
7873 (vc-next-action): Use it.
7874
5a3eb0c6
SM
7875 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7876
e3eb1bb7
SM
7877 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7878 (prolog-font-lock-keywords): Use regexp-opt instead.
7879 Don't manually highlight strings.
7880 (prolog-mode-variables): Simplify comment-start-skip.
7881 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7882
31119d63
SM
7883 * emacs-lisp/generic.el (generic--normalise-comments)
7884 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7885 (generic-mode-set-comments): Use them.
7886 (generic-bracket-support): Use setq-local.
7887 (generic-make-keywords-list): Declare obsolete.
7888
7de135d0
GM
78892013-06-11 Glenn Morris <rgm@gnu.org>
7890
7891 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7892 Prettify after setting font-lock-defaults. (Bug#14574)
7893
fa6bc6fd
JB
78942013-06-11 Juanma Barranquero <lekktu@gmail.com>
7895
7896 * replace.el (query-replace, occur-read-regexp-defaults-function)
7897 (replace-search):
7898 * subr.el (declare-function, number-sequence, local-set-key)
7899 (substitute-key-definition, locate-user-emacs-file)
7900 (with-silent-modifications, split-string, eval-after-load):
7901 Fix typos, remove unneeded backslashes and reflow some docstrings.
7902
cf1f9b9a
SM
79032013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7904
7905 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7906 default for Elisp files.
7907
56602a4b
GM
79082013-06-11 Glenn Morris <rgm@gnu.org>
7909
7910 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7911 although define-derived-mode was doing this anyway. (Bug#14583)
7912
30ae0b2c
JB
79132013-06-10 Juanma Barranquero <lekktu@gmail.com>
7914
7915 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7916 Fix make-variable-buffer-local call to refer to the correct variable.
7917
fa472906
AG
79182013-06-10 Aidan Gauland <aidalgol@amuri.net>
7919
7920 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
7921 (eshell-visual-subcommands, eshell-visual-options):
7922 Add summary line to docstrings. Add cross-references.
fa472906 7923
ff4871b9
GM
79242013-06-10 Glenn Morris <rgm@gnu.org>
7925
7926 * epa.el (epa-read-file-name): New function. (Bug#14510)
7927 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7928
04fcf1b0
AG
79292013-06-09 Aidan Gauland <aidalgol@amuri.net>
7930
7931 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7932 output redirection to be ignored with visual commands.
7933
88b00caa
AG
79342013-06-09 Aidan Gauland <aidalgol@amuri.net>
7935
7936 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
7937 (eshell-term-initialize): Move long lambda to separate function
7938 eshell-visual-command-p.
e7b41c4c
JB
7939 * eshell/em-dirs.el (eshell-dirs-initialise):
7940 * eshell/em-script.el (eshell-script-initialize):
7941 Add missing #' to lambda.
88b00caa 7942
fda74125
LL
79432013-06-08 Leo Liu <sdl.web@gmail.com>
7944
7945 * progmodes/octave.el (octave-add-log-current-defun): New function.
7946 (octave-mode): Set add-log-current-defun-function.
7947 (octave-goto-function-definition): Do not move point if not found.
7948 (octave-find-definition): Enhance to try subfunctions first.
7949
467f3b33
GM
79502013-06-08 Glenn Morris <rgm@gnu.org>
7951
7952 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7953 (byte-compile-backward-char, byte-compile-backward-word):
7954 Improve previous change, to handle non-explicit nil.
7955
544badc3
SM
79562013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7957
7958 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7959 (smie--opener/closer-at-point): New function.
7960 (smie--matching-block-data): Use it. Don't match from right after an
7961 opener or right before a closer. Obey smie-blink-matching-inners.
7962 Don't signal a mismatch for repeated inners like "switch..case..case".
7963
a175bf33
LL
79642013-06-07 Leo Liu <sdl.web@gmail.com>
7965
7966 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7967 to t. (Bug#14303)
ce8209d4
LL
7968 (octave-function-header-regexp): Fix. (Bug#14570)
7969 (octave-help-mode-finish-hook, octave-help-mode-finish):
7970 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
7971
7972 * newcomment.el (comment-search-backward): Revert last change.
7973 (Bug#14434)
7974
7975 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7976
a822acff
EZ
79772013-06-07 Eli Zaretskii <eliz@gnu.org>
7978
7979 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7980 through xargs, to avoid failure due to MS-Windows limitations on
7981 command-line length.
7982
961166f5
GM
79832013-06-06 Glenn Morris <rgm@gnu.org>
7984
d0341459
GM
7985 * font-lock.el (lisp-font-lock-keywords-2):
7986 Treat user-error like error.
7987
961166f5
GM
7988 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7989 (byte-compile-backward-char, byte-compile-backward-word):
7990 Handle explicit nil arguments. (Bug#14565)
7991
80fa505f
AM
79922013-06-05 Alan Mackenzie <acm@muc.de>
7993
7994 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 7995 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 7996 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 7997 (Bug#9706)
80fa505f 7998
fccdc796
SM
79992013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8000
8001 * autorevert.el (auto-revert-notify-handler): Use memq.
8002 Hide assertion failure.
8003
8004 * skeleton.el: Use cl-lib.
8005 (skeleton-further-elements): Use defvar-local.
8006 (skeleton-insert): Use cl-progv.
8007
9bfff84b
TZ
80082013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8009
8010 * progmodes/prog-mode.el (prog-prettify-symbols)
8011 (prog-prettify-install): Update docstrings.
8012
55577e7c
SM
80132013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8014
8015 * simple.el: Move all the prog-mode code to prog-mode.el.
8016 * progmodes/prog-mode.el: New file.
8017 * loadup.el: Add prog-mode.el.
8018
8fc57765
TZ
80192013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8020
8021 * simple.el (prog-prettify-symbols): Add version.
8022 (prog-prettify-install): Add convenience function to prettify symbols.
8023
8024 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8025 (perl--augmented-font-lock-keywords-1)
8026 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8027 variables and use it.
8028
8029 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8030 (cfengine3-mode): Remove unneeded variable and use it.
8031
8032 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8033 (lisp--augmented-font-lock-keywords-1)
8034 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8035 Remove unneeded variables and use it.
8036
650645d5 80372013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
8038
8039 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 8040 to point when opening the connection. (Bug#14380)
28f5da6d 8041
781b4af6
SM
80422013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8043
8044 * subr.el (load-history-regexp, load-history-filename-element)
8045 (eval-after-load, after-load-functions, do-after-load-evaluation)
8046 (eval-next-after-load, display-delayed-warnings)
8047 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8048 definition of save-match-data.
8049 (overriding-local-map): Remove accidental obsolescence declaration.
8050
8051 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8052
3ca0d0b4
TZ
80532013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8054
8055 Generalize symbol prettify support to prog-mode and implement it
8056 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8057 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8058 (prog--prettify-font-lock-compose-symbol)
8059 (prog-prettify-font-lock-symbols-keywords): New variables and
8060 functions to support symbol prettification.
8061 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8062 (lisp--augmented-font-lock-keywords-1)
8063 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8064 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8065 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
8066 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8067 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
8068 * progmodes/perl-mode.el (perl-prettify-symbols)
8069 (perl--font-lock-compose-symbol)
8070 (perl--font-lock-symbols-keywords): Move to prog-mode.
8071 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8072 (perl-font-lock-keywords-1)
8073 (perl-font-lock-keywords-2): Remove explicit prettify support.
8074 (perl--augmented-font-lock-keywords)
8075 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
8076 (perl--augmented-font-lock-keywords-2, perl-mode):
8077 Implement prettify support.
3ca0d0b4 8078
976cb066
LL
80792013-06-05 Leo Liu <sdl.web@gmail.com>
8080
8081 Re-implement smie matching block highlight using
8082 show-paren-data-function. (Bug#14395)
8083 * emacs-lisp/smie.el (smie-matching-block-highlight)
8084 (smie--highlight-matching-block-overlay)
8085 (smie--highlight-matching-block-lastpos)
8086 (smie-highlight-matching-block)
8087 (smie-highlight-matching-block-mode): Remove.
8088 (smie--matching-block-data-cache): New variable.
8089 (smie--matching-block-data): New function.
8090 (smie-setup): Use smie--matching-block-data for
8091 show-paren-data-function.
8092
8093 * progmodes/octave.el (octave-mode-menu): Fix.
8094 (octave-find-definition): Skip garbage lines.
8095
208d0342
SM
80962013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8097
8098 Fix compilation error with simultaneous dynamic+lexical scoping.
8099 Add warning when a defvar appears after the first let-binding.
8100 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8101 (byte-compile-close-variables): Initialize it.
8102 (byte-compile--declare-var): New function.
8103 (byte-compile-file-form-defvar)
8104 (byte-compile-file-form-define-abbrev-table)
8105 (byte-compile-file-form-custom-declare-variable): Use it.
8106 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8107 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8108 (byte-compile-bind): Handle dynamic bindings that shadow
8109 lexical bindings.
8110 (byte-compile-unbind): Make arg non-optional.
8111 (byte-compile-let): Simplify.
8112 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8113 (cconv--analyse-function, cconv-analyse-form): Populate it.
8114 Protect byte-compile-bound-variables to limit the scope of defvars.
8115 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8116 Remove unneeded rule for `declare'.
8117
8118 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8119 so as to avoid depending on cl-adjoin at run-time.
8120 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8121
8122 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8123 (macroexp--warn-and-return): Use it.
8124
1ac2891e
GM
81252013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8126
8127 * lisp/subr.el: Convert to lexical binding.
8128 (overriding-local-map): Make obsolete.
8129 (add-to-list): Doc fix. Add compiler macro.
8130 (read-key): Swap values of local maps.
8131
2587b005
LL
81322013-06-05 Leo Liu <sdl.web@gmail.com>
8133
8134 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8135
f1da3c88
LL
81362013-06-04 Leo Liu <sdl.web@gmail.com>
8137
8138 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8139 (compilation-auto-jump): Suppress the "Mark set" message to give
8140 way to exit message.
8141
3caa391f
AM
81422013-06-04 Alan Mackenzie <acm@muc.de>
8143
8144 Remove faulty optimisation from indentation calculation.
8145 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8146 search limit based on 2000 characters back from indent-point.
8147
068922a2
TH
81482013-06-03 Tassilo Horn <tsdh@gnu.org>
8149
8150 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8151
1f8fdd53
SM
81522013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8153
bbcc4d97
SM
8154 * emacs-lisp/lisp.el: Use lexical-binding.
8155 (lisp--local-variables-1, lisp--local-variables): New functions.
8156 (lisp--local-variables-completion-table): New var.
208d0342 8157 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8158
1f8fdd53
SM
8159 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8160 eagerly (bug#14422).
8161
c9628c79
MA
81622013-06-03 Michael Albinus <michael.albinus@gmx.de>
8163
8164 * autorevert.el (auto-revert-notify-enabled)
8165 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8166 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8167 (auto-revert-notify-handler): Handle also gfilenotify.
8168
e7b41c4c 8169 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 8170 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 8171 Remove.
c9628c79 8172
e5e4a942
JL
81732013-06-03 Juri Linkov <juri@jurta.org>
8174
8175 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8176 `M-s h .'. (Bug#14427)
8177
8178 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8179 command `hi-lock-face-symbol-at-point'.
8180 (hi-lock-face-symbol-at-point): New command.
8181 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8182 (hi-lock-menu): Add `highlight-symbol-at-point'.
8183 (hi-lock-mode): Doc fix.
8184
8185 * isearch.el (isearch-forward-symbol-at-point): New command.
8186 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8187 (isearch-highlight-regexp): Add a regexp which matches
8188 words/symbols for word/symbol mode.
8189
8190 * subr.el (find-tag-default-bounds): New function with the body
8191 mostly moved from `find-tag-default'.
8192 (find-tag-default): Move most code to `find-tag-default-bounds',
8193 call it and apply `buffer-substring-no-properties' afterwards.
8194
26b3353a
TH
81952013-06-03 Tassilo Horn <tsdh@gnu.org>
8196
781b4af6
SM
8197 * eshell/em-term.el (eshell-term-initialize):
8198 Use `cl-intersection' rather than `intersection'.
26b3353a 8199
51b60f53
XF
82002013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8201
fe054b63 8202 * vc/log-view.el: Doc fix.
d3ffe17c 8203 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 8204
a0eb10b3 82052013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
8206
8207 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8208 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8209 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8210 (eieio-unbound, eieio-default-superclass)
8211 (eieio--define-field-accessors, method-static, method-before)
8212 (method-primary, method-after, method-num-lists)
8213 (method-generic-before, method-generic-primary)
8214 (method-generic-after, method-num-slots)
8215 (eieio-specialized-key-to-generic-key)
8216 (eieio--check-type, class-v, class-p)
8217 (eieio-class-name, define-obsolete-function-alias)
8218 (eieio-class-parents-fast, eieio-class-children-fast)
8219 (same-class-fast-p, class-constructor, generic-p)
8220 (generic-primary-only-p, generic-primary-only-one-p)
8221 (class-option-assoc, class-option, eieio-object-p)
8222 (class-abstract-p, class-method-invocation-order)
8223 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8224 (eieio-class-un-autoload, eieio-defclass)
8225 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8226 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8227 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8228 (eieio-defgeneric-reset-generic-form)
8229 (eieio-defgeneric-form-primary-only)
8230 (eieio-defgeneric-reset-generic-form-primary-only)
8231 (eieio-defgeneric-form-primary-only-one)
8232 (eieio-defgeneric-reset-generic-form-primary-only-one)
8233 (eieio-unbind-method-implementations)
8234 (eieio--defmethod, eieio--typep)
8235 (eieio-perform-slot-validation, eieio-validate-slot-value)
8236 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8237 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8238 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8239 (eieio-slot-name-index, eieio-class-slot-name-index)
8240 (eieio-set-defaults, eieio-initarg-to-attribute)
8241 (eieio-attribute-to-initarg, eieio-c3-candidate)
8242 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8243 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8244 (eieio-class-precedence-list, eieio-generic-call-methodname)
8245 (eieio-generic-call-arglst, eieio-generic-call-key)
8246 (eieio-generic-call-next-method-list)
8247 (eieio-pre-method-execution-functions, eieio-generic-call)
8248 (eieio-generic-call-primary-only, eieiomt-method-list)
8249 (eieiomt-optimizing-obarray, eieiomt-install)
8250 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8251 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 8252 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
8253 (defclass): Remove `eval-and-compile' from macro.
8254 (call-next-method, shared-initialize): Instead of using
8255 `scoped-class' variable, use new eieio--scoped-class, and
8256 eieio--with-scoped-class.
8257 (initialize-instance): Rename local variable 'scoped-class' to
8258 'this-class' to remove ambiguitity from old global.
8259
8260 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8261 eieio.el.
4f405069
JB
8262 (eieio--scoped-class-stack): New variable.
8263 (eieio--scoped-class): New fcn.
890f7890
DE
8264 (eieio--with-scoped-class): New scoping macro.
8265 (eieio-defclass): Use pushnew instead of add-to-list.
8266 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8267 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8268 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8269 `scoped-class' variable, use new eieio--scoped-class, and
8270 eieio--with-scoped-class.
8271
8272 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8273
d105b0e2
TH
82742013-06-02 Tassilo Horn <tsdh@gnu.org>
8275
8276 * eshell/esh-ext.el (eshell-external-command): Pass args to
8277 `eshell-find-interpreter'.
8278 (eshell-find-interpreter): Add new second parameter ARGS.
8279
8280 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 8281 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8282
8283 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 8284 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8285
8286 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8287 (eshell-visual-options): New defcustom.
8288 (eshell-escape-control-x): Adapt docstring.
8289 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8290 `eshell-visual-options' in addition to `eshell-visual-commands'.
8291 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8292
f46305c8 82932013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
8294
8295 * progmodes/python.el (python-indent-block-enders): Add break,
8296 continue and raise keywords.
8297
d870df21
GM
82982013-06-01 Glenn Morris <rgm@gnu.org>
8299
9133b82e
GM
8300 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8301
02c992ec 8302 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
8303 * progmodes/cc-cmds.el (delete-forward-p):
8304 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8305 * progmodes/cc-engine.el (buffer-syntactic-context):
8306 * progmodes/cc-fonts.el (face-property-instance):
8307 * progmodes/cc-mode.el (set-keymap-parents):
8308 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8309 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8310 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
8311 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8312 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 8313
31e7b090
GM
8314 * progmodes/cc-vars.el (other): Emacs has this widget since
8315 at least 21.1, so don't (re)define it.
8316
d870df21
GM
8317 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8318 Replace the obsolete alias pcomplete-arg-quote-list.
8319
c75c93c7
LL
83202013-06-01 Leo Liu <sdl.web@gmail.com>
8321
8322 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8323 punctuation syntax.
8324 (inferior-octave-minimal-columns)
8325 (inferior-octave-last-column-width): New variables.
8326 (inferior-octave-track-window-width-change): New function.
8327 (inferior-octave-mode): Adjust column width so that Octave output,
8328 for example from 'ls', can fit into the window nicely.
8329
973d1e12
DG
83302013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8331
8332 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8333 Highlight expansions inside regexp literals.
8334
0888c286
GM
83352013-05-31 Glenn Morris <rgm@gnu.org>
8336
e26aac1f
GM
8337 * obsolete/sym-comp.el (symbol-complete):
8338 Replace obsolete completion-annotate-function.
8339
0888c286
GM
8340 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8341
19bb8e62
DG
83422013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8343
781b4af6
SM
8344 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8345 New function, checks if point is inside a literal that allows
19bb8e62
DG
8346 expression expansion.
8347 (ruby-syntax-propertize-expansion): Use it.
8348 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8349 around the body.
8350
01dea85f
JL
83512013-05-30 Juri Linkov <juri@jurta.org>
8352
8353 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8354 to "\M-si".
8355 (isearch-invisible): New variable.
8356 (isearch-forward): Doc fix.
8357 (isearch-mode): Set `isearch-invisible'
8358 to the value of `search-invisible'.
8359 (isearch-toggle-case-fold): Doc fix.
8360 (isearch-toggle-invisible): New command.
8361 (isearch-query-replace): Let-bind `search-invisible'
8362 to the value of `isearch-invisible'.
8363 (isearch-search): Use `isearch-invisible' instead of
8364 `search-invisible'. Let-bind `search-invisible'
8365 to the value of `isearch-invisible'. (Bug#11378)
8366
ab1bdce5
JL
83672013-05-30 Juri Linkov <juri@jurta.org>
8368
8369 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8370 call when `query-flag' is nil and `search-invisible' is non-nil.
8371 (Bug#11746)
8372
d6d236e2
GM
83732013-05-30 Glenn Morris <rgm@gnu.org>
8374
8accd027
GM
8375 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8376
2a8bed1c
GM
8377 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8378 (cc-require): Suppress spurious "noruntime" warnings.
8379 (cc-require-when-compile): Use fboundp, for sake of compiler.
8380
d6d236e2
GM
8381 * progmodes/cc-mode.el: Move load of cc-vars before that of
8382 cc-langs (which in turn loads cc-vars), to quieten compiler.
8383
9190b35b
SM
83842013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8385
8386 * paren.el: Simplify the code.
8387 (show-paren-mode): Always start the timer.
8388 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8389 (show-paren--overlay, show-paren--overlay-1): Rename from
8390 show-paren-overlay and show-paren-overlay-1, and initialize to an
8391 overlay rather than to nil.
8392 (show-paren-function): Misc cleanup and simplifications.
8393
4f8d1cf6
SM
83942013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8395
8396 * paren.el (show-paren-data-function): New hook.
8397 (show-paren--default): New function, extracted from show-paren-function.
8398 (show-paren-function): Use show-paren-data-function.
8399
02d844b5
GM
84002013-05-30 Glenn Morris <rgm@gnu.org>
8401
d209d4a9
GM
8402 * ielm.el (ielm-map, ielm-complete-symbol):
8403 Use completion-at-point rather than obsolete functions.
8404 (inferior-emacs-lisp-mode): Doc fix.
8405 Set completion-at-point-functions, rather than
8406 comint-dynamic-complete-functions.
8407
2082faa6
GM
8408 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8409 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8410 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8411
dd8620de
GM
8412 * image.el (image-animated-p): Tweak definition.
8413
ceca95b1
GM
8414 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8415 (rlogin-process-connection-type): Tweak default. Add set-after.
8416 (rlogin-host): Doc fix.
8417 (rlogin): Tweak prompt.
8418 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8419
ee9f1acc
GM
8420 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8421 * progmodes/tcl.el (inferior-tcl-mode-map):
8422 Use completion-at-point rather than obsolete alias.
8423
45ce222e
GM
8424 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8425
02d844b5
GM
8426 * minibuffer.el (read-file-name-completion-ignore-case):
8427 Move before completion--in-region, for eager macro expansion.
8428
ac44d6c1
JL
84292013-05-29 Juri Linkov <juri@jurta.org>
8430
8431 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8432 for total count of matching lines. Add `global-matches' for total
8433 count of matches. Rename `matches' to `lines' for count of
8434 matching lines. Add `matches' for count of matches.
8435 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8436 to `prev-line' for line number of prev match endpt.
8437 Increment `matches' for every match. Print the number of
8438 matching lines in the header.
8439 (occur-context-lines): Rename `lines' to `curr-line'.
8440 Rename `prev-lines' to `prev-line'. (Bug#14017)
8441
3c9c9d38
JL
84422013-05-29 Juri Linkov <juri@jurta.org>
8443
8444 * replace.el (perform-replace): Add `skip-read-only-count',
8445 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8446 Increment them for corresponding conditions and report the number
8447 of skipped occurrences in the final message. (Bug#11746)
8448 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8449 (replace-string, replace-regexp): Doc fix.
8450
33e249a2
SM
84512013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8452
8e399682
SM
8453 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8454
33e249a2 8455 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 8456 prog-mode-map (bug#14504).
33e249a2 8457
f236dd84
LL
84582013-05-29 Leo Liu <sdl.web@gmail.com>
8459
8460 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8461 (octave-help): Small simplification.
8462
8463 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8464 off the highlight first.
8465
3694d13f
GM
84662013-05-29 Glenn Morris <rgm@gnu.org>
8467
03983bdc
GM
8468 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8469 Handle idlwave-last-system-routine-info-cons-cell being nil.
8470
bc74a74a
GM
8471 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8472 (idlwave-write-paths): Simplify via with-temp-buffer.
8473
8b394200
GM
8474 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8475 * emulation/cua-rect.el: Also load cua-base at run time.
8476
3694d13f
GM
8477 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8478 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8479 (cperl-imenu-on-info): Require imenu.
8480
336d7284
AM
84812013-05-28 Alan Mackenzie <acm@muc.de>
8482
8483 Handle "capitalised keywords" correctly.
33e249a2 8484 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 8485
cb29c582
AG
84862013-05-28 Aidan Gauland <aidalgol@amuri.net>
8487
781b4af6 8488 * eshell/em-unix.el: Add -r option to cp.
cb29c582 8489
690e44b2
GM
84902013-05-28 Glenn Morris <rgm@gnu.org>
8491
e658d75c
GM
8492 * vc/vc-arch.el (vc-exec-after): Declare.
8493 (vc-switches): Autoload.
8494 * vc/vc-bzr.el: No need to require vc when compiling.
8495 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8496 (vc-resynch-buffer, vc-dir-refresh): Declare.
8497 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
8498 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8499 (vc-resynch-buffer): Declare.
8500 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 8501 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
8502 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8503 (grep-read-regexp, grep-read-files, grep-expand-template)
8504 (vc-dir-refresh): Declare.
8505 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8506 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8507 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
8508 * vc/vc-mtn.el (vc-exec-after): Declare.
8509 (vc-switches): Autoload.
8510 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8511 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8512 (vc-file-tree-walk): Declare.
712b9732
GM
8513 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8514 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8515 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
8516 * vc/vc-svn.el (vc-exec-after): Declare.
8517 (vc-switches, vc-setup-buffer): Autoload.
8518 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8519 Autoload.
8520 (vc-resynch-buffer): Declare.
8521
98e87fb3
GM
8522 * obsolete/fast-lock.el (byte-compile-warnings):
8523 Don't warn about obsolete features in this obsolete file.
8524
f5379553
GM
8525 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8526 Move definition before use.
8527
7a20ef83
GM
8528 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8529 (dun-unix-verbs): Remove dun-zippy.
8530 (dun-zippy): Remove function.
8531
690e44b2
GM
8532 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8533
3a52ccf7
JL
85342013-05-27 Juri Linkov <juri@jurta.org>
8535
8536 * replace.el (replace-search): New function with code moved out
8537 from `perform-replace'.
8538 (replace-highlight, replace-dehighlight): Move function definitions
8539 up closer to `replace-search'. (Bug#11746)
8540
d289938a
JL
85412013-05-27 Juri Linkov <juri@jurta.org>
8542
8543 * replace.el (perform-replace): Ignore invisible matches.
8544 In addition to checking `query-replace-skip-read-only', also
8545 filter out matches by calling `run-hook-with-args-until-failure'
8546 on `isearch-filter-predicates', and also check `search-invisible'
8547 for t or call `isearch-range-invisible'.
8548 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8549
66fc57e3
JL
85502013-05-27 Juri Linkov <juri@jurta.org>
8551
8552 * isearch.el (isearch-filter-predicates): Rename from
8553 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8554 (isearch-message-prefix): Display text from the property
8555 `isearch-message-prefix' of the currently active filters.
8556 (isearch-search): Don't compare `isearch-filter-predicate' with
8557 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8558 on `isearch-filter-predicates'. Also check `search-invisible' for t
8559 or call `isearch-range-invisible'.
8560 (isearch-filter-visible): Make obsolete.
8561 (isearch-lazy-highlight-search):
8562 Call `run-hook-with-args-until-failure' on
8563 `isearch-filter-predicates' and use `isearch-range-invisible'.
8564
8565 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8566 `isearch-filter-predicates' instead of `funcall'ing
8567 `isearch-filter-predicate'.
8568 (Info-mode): Set `Info-isearch-filter' to
8569 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8570
8571 * dired-aux.el (dired-isearch-filter-predicate-orig):
8572 Remove variable.
8573 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8574 (dired-isearch-filenames-end): Add and remove
8575 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8576 instead of changing the value of `isearch-filter-predicate'.
8577 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8578 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8579 Put property `isearch-message-prefix' to "filename " on
8580 `dired-isearch-filter-filenames'.
8581
8582 * wdired.el (wdired-change-to-wdired-mode):
8583 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8584 locally instead of changing `isearch-filter-predicate'.
8585 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8586
f1a60a0f
DG
85872013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8588
8589 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8590 return the commit hash (Bug#14459). Also set the
8591 `vc-git-detached' property.
8592 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8593 (vc-git-mode-line-string): Use the same help-echo format whether
8594 in detached mode or not, because we know the actual revision now.
8595 When in detached mode, shorten the revision to 7 chars.
8596
7f17cc40
SM
85972013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8598
8599 * emacs-lisp/easy-mmode.el (define-minor-mode):
8600 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8601 mode hook and provide a docstring.
8602
25c8401c
AM
86032013-05-27 Alan Mackenzie <acm@muc.de>
8604
8605 Remove spurious syntax-table text properties inserted by C-y.
8606 * progmodes/cc-mode.el (c-after-change): Also clear hard
8607 syntax-table property with value nil.
8608
dde84790
MA
86092013-05-27 Michael Albinus <michael.albinus@gmx.de>
8610
8611 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8612 when reading the events; the buffer layout shall not be changed.
8613
837fd9af
LL
86142013-05-27 Leo Liu <sdl.web@gmail.com>
8615
8616 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8617 New variable.
8618 (inferior-octave-directory-tracker): Automatically re-sync
8619 default-directory.
8620 (octave-help): Improve handling of 'See also'.
8621
4fd996b3
SM
86222013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8623
416f1802
SM
8624 * doc-view.el: Minor naming convention tweaks.
8625 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8626
4fd996b3
SM
8627 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8628 even if there's no `display' property yet (bug#14435).
8629
a052ef3b
EZ
86302013-05-25 Eli Zaretskii <eliz@gnu.org>
8631
4fd996b3 8632 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
8633
8634 * Makefile.in (custom-deps, finder-data, autoloads)
8635 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8636 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8637 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8638
c9023370
SM
86392013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8640
8641 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8642 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 8643 Don't burp at EOB.
c9023370 8644
24d699fa
LL
86452013-05-25 Leo Liu <sdl.web@gmail.com>
8646
8647 * comint.el (comint-previous-matching-input): Do not flood the
8648 *Messages* buffer with trivial messages.
8649
17e5c0cc
SM
86502013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8651
8652 * progmodes/flymake.el (flymake-nop): Don't return a string.
8653 (flymake-set-at): Fix typo.
8654
8655 * simple.el (read--expression): New function, extracted from
8656 eval-expression. Set completion-at-point-functions (bug#14465).
8657 (eval-expression, eval-minibuffer): Use it.
8658
5d028165
XF
86592013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8660
8661 * progmodes/flymake.el (flymake-save-buffer-in-file)
8662 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8663 (flymake-selected-frame, flymake-log, flymake-ins-after)
8664 (flymake-set-at, flymake-get-buildfile-from-cache)
8665 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8666 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8667 Refine the doc string.
8668 (flymake-get-file-name-mode-and-masks): Reformat.
8669 (flymake-get-real-file-name-function): Fix a minor bug.
8670
7a1d7ba7
JL
86712013-05-24 Juri Linkov <juri@jurta.org>
8672
8673 * progmodes/grep.el (grep-mode-font-lock-keywords):
8674 Support =linenumber= format used by git-grep for lines with
8675 function names. (Bug#13549)
8676
650cff3d
SM
86772013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8678
8679 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8680 0 after a semi-colon; it works better for smie-auto-fill.
8681 (octave--indent-new-comment-line): New function.
8682 (octave-indent-new-comment-line): Use it (indirectly).
8683 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8684 modify comment-line-break-function.
8685
8686 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8687 (smie-setup): Use add-function to set it.
8688
9631677d
SS
86892013-05-24 Sam Steingold <sds@gnu.org>
8690
8691 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8692 argument (before the `interactive' argument).
8693
50105835
SM
86942013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8695
8696 * image-mode.el (image-mode-winprops): Add winprops to
8697 image-mode-winprops-alist before running
8698 image-mode-new-window-functions.
8699 * doc-view.el (doc-view-new-window-function): Don't delay
8700 doc-view-goto-page via timers (bug#14435).
8701
57b9823e
TH
87022013-05-24 Tassilo Horn <tsdh@gnu.org>
8703
8704 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8705 (doc-view-desktop-save-buffer): New function.
8706 (doc-view-restore-desktop-buffer): New function.
50105835
SM
8707 (desktop-buffer-mode-handlers):
8708 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
8709 handler.
8710 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8711 `desktop-save-buffer' function.
8712
91aafa16
MA
87132013-05-24 Michael Albinus <michael.albinus@gmx.de>
8714
8715 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8716 (tramp-gvfs-file-name-handler): Raise a user error when
8717 `tramp-gvfs-enabled' is nil.
8718 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8719 Do not raise a user error when loading package. (Bug#14447)
8720
ec076379
MA
8721 * net/xesam.el: Move to obsolete/.
8722
db785726
GM
87232013-05-24 Glenn Morris <rgm@gnu.org>
8724
af5c7606
GM
8725 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8726
e5d1916a
GM
8727 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8728
ded62b08
GM
8729 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8730 (Info-find-node, Man-getpage-in-background): Declare.
8731
9e614a3f
GM
8732 * mail/unrmail.el (unrmail):
8733 Replace obsolete detect-coding-with-priority.
8734
892f8ca3
GM
8735 * net/socks.el (socks-split-string): Use this rather than split-string.
8736 (socks-nslookup-host): Update for above change.
8737 (dynamic-choice, s5-dynamic-choice-match)
8738 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8739 Comment out unused code.
8740
3c291973
GM
8741 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8742 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8743 (gud-tooltip-echo-area): Make obsolete.
8744 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8745
43cc956b
GM
8746 * progmodes/js.el (js--optimize-arglist): Declare.
8747
dab49a3b
GM
8748 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8749
36b9d085
GM
8750 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8751 (ediff-window-C): Declare.
8752
e354ae76
GM
8753 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8754 Tweak requires to silence compiler.
8755
b8e57bf4
GM
8756 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8757 (he-search-string, he-tried-table, he-expand-list)
8758 (he-init-string, he-string-member, he-substitute-string)
8759 (he-reset-string): Declare.
8760
db785726
GM
8761 * obsolete/options.el (list-options): Use custom-variable-p,
8762 rather than obsolete alias.
8763
b3531901
SS
87642013-05-23 Sam Steingold <sds@gnu.org>
8765
8766 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 8767 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
8768 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8769
bdda4c66
SM
87702013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8771
8772 * emacs-lisp/smie.el (smie-indent-forward-token)
8773 (smie-indent-backward-token): Handle string tokens (bug#14381).
8774
c43d45f9
TH
87752013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8776
fe1eb856
RS
8777 * ielm.el (ielm-menu): New menu.
8778 (inferior-emacs-lisp-mode): Set comment-start.
96172128 8779
fe1eb856
RS
87802013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8781
8782 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8783 Fix deactivate action.
8784
8785 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8786 Add cleveref macros.
074dd971 8787
c43d45f9
TH
8788 * lisp/textmodes/reftex-parse.el
8789 (reftex-locate-bibliography-files): Accept options for
8790 bibliography commands.
8791 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8792 Add addbibresource. Basic Biblatex support.
8793
7764286e
MA
87942013-05-23 Michael Albinus <michael.albinus@gmx.de>
8795
8796 * net/tramp-gvfs.el (top):
8797 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8798 when loading package. (Bug#14447)
8799
d361bc10
GM
88002013-05-23 Glenn Morris <rgm@gnu.org>
8801
8fa23984
GM
8802 * progmodes/js.el: No need to load comint when compiling.
8803 (ring-insert, comint-send-string, comint-send-input)
8804 (comint-last-input-end, ido-chop): Declare.
8805
a5c7df1a
GM
8806 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8807 * vc/ediff-mult.el: Adjust requires.
8808 (ediff-directories-internal, ediff-directory-revisions-internal)
8809 (ediff-patch-file-internal): Declare.
8810 * vc/ediff-ptch.el: Adjust requires.
8811 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8812 (ediff-find-file): Autoload.
8813 * vc/ediff-util.el: No need to load ediff when compiling.
8814 (ediff-regions-internal): Declare.
8815 * vc/ediff-wind.el: Adjust requires.
8816 (ediff-compute-toolbar-width): Define when compiling.
8817 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8818 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8819 (dired-get-filename, dired-get-marked-files)
8820 (ediff-last-dir-patch, ediff-patch-default-directory)
8821 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8822 (ediff-patch-buffer-internal): Declare.
8823
e2aec513
GM
8824 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8825 (ispell-process, ispell-buffer-local-words, lm-summary)
8826 (lm-section-start, lm-section-end): Declare.
8827 (checkdoc-ispell-init): Simplify.
8828
e68bbd7c
GM
8829 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8830 (he-string-member, he-reset-string, he-substitute-string): Declare.
8831
7efe0991
GM
8832 * eshell/em-ls.el: Adjust requires.
8833 (eshell-glob-regexp): Declare.
f87b1284
GM
8834 * eshell/em-tramp.el: Adjust requires.
8835 (eshell-parse-command): Autoload.
8836 * eshell/em-xtra.el: Adjust requires.
8837 (eshell-parse-command): Autoload.
8838 * eshell/esh-ext.el: Adjust requires.
8839 (eshell-parse-command, eshell-close-handles): Autoload.
8840 * eshell/esh-io.el: Adjust requires.
8841 (eshell-output-filter): Autoload.
8842 * eshell/esh-util.el: No need to load tramp when compiling.
8843 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8844 Declare.
8845 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8846 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8847 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8848 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8849 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8850 * eshell/esh-opt.el, eshell/esh-proc.el:
8851 * eshell/esh-var.el: Adjust requires.
8852 * eshell/eshell.el: Do not require esh-util twice.
8853 (eshell-add-input-to-history): Declare.
8854 (eshell-command): Check history module is active before using it.
8855
d361bc10
GM
8856 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8857
85d090a9
LL
88582013-05-22 Leo Liu <sdl.web@gmail.com>
8859
8860 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8861
5d0acd9d
MA
88622013-05-22 Michael Albinus <michael.albinus@gmx.de>
8863
8864 * autorevert.el (auto-revert-notify-add-watch)
8865 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8866 it indicates changes in file modification time.
8867
0cdffd7d
GM
88682013-05-22 Glenn Morris <rgm@gnu.org>
8869
ca5995ec
GM
8870 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8871 Always delete the autoloaded function from the noruntime and
8872 unresolved functions lists.
8873
6450907e
GM
8874 * allout.el: No need to load epa, epg, overlay when compiling.
8875 (epg-context-set-passphrase-callback, epg-list-keys)
8876 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8877 (epg-key-user-id-list): Declare.
8878
9c6906f6
GM
8879 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8880 (viper-set-parsing-style-toggling-macro)
8881 (viper-set-emacs-state-searchstyle-macros):
8882 Use called-interactively-p on Emacs.
8883 (viper-looking-back): Make it an obsolete alias. Update callers.
8884 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8885 Use looking-back rather than viper-looking-back.
8886 (viper-tmp-insert-at-eob, viper-enlarge-region)
8887 (viper-read-string-with-history, viper-register-to-point)
8888 (viper-append-to-register, viper-change-state-to-vi)
8889 (viper-backward-char-carefully, viper-forward-char-carefully)
8890 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8891 (viper-change-state-to-emacs): Declare.
8892 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8893 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8894 * emulation/viper-mous.el: Do not load viper-cmd.
8895 (viper-backward-char-carefully, viper-forward-char-carefully)
8896 (viper-forward-word, viper-adjust-window): Declare.
8897
5f70c169
GM
8898 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8899
b1b7f300
GM
8900 * progmodes/idlw-help.el (idlwave-help-fontify):
8901 Use called-interactively-p.
8902
f6ebbb46
GM
8903 * term/w32console.el (w32-get-console-codepage)
8904 (w32-get-console-output-codepage): Declare.
8905
0cdffd7d
GM
8906 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8907 Remove unnecessary declarations.
8908 (dframe-message): Doc fix.
8909
8910 * info.el (dframe-select-attached-frame, dframe-current-frame):
8911 Declare.
8912
8913 * speedbar.el (speedbar-message): Make it an obsolete alias.
8914 Update all callers.
8915 (speedbar-with-attached-buffer)
8916 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8917 (speedbar-with-writable): Use backquote.
8918 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8919 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8920 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8921 rather than speedbar- aliases.
8922 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8923 (speedbar-make-specialized-keymap, speedbar-insert-button)
8924 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8925 (speedbar-do-function-pointer): Declare.
8926 (rmail-speedbar-button, rmail-speedbar-find-file)
8927 (rmail-speedbar-move-message):
8928 Use dframe-with-attached-buffer rather than speedbar- alias.
8929 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8930 (dframe-message, speedbar-make-specialized-keymap)
8931 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8932 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8933 (speedbar-insert-button, dframe-select-attached-frame)
8934 (dframe-maybee-jump-to-attached-frame)
8935 (speedbar-change-initial-expansion-list)
8936 (speedbar-previously-used-expansion-list-name): Declare.
8937 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8938 Use dframe-message, dframe-with-attached-buffer rather than
8939 speedbar- aliases.
8940 (gud-sentinel): Silence compiler.
8941 * progmodes/vhdl-mode.el (speedbar-refresh)
8942 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8943 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8944 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8945 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8946 (speedbar-file-lists, speedbar-make-tag-line)
8947 (speedbar-line-directory, speedbar-goto-this-file)
8948 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8949 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8950 (speedbar-make-button, speedbar-reset-scanners)
8951 (speedbar-files-item-info, speedbar-line-text)
8952 (speedbar-find-file-in-frame, speedbar-set-timer)
8953 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8954 (speedbar-with-writable): Do not (re)define it.
8955 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8956 rather than speedbar- alias.
8957
ee44b62a
LL
89582013-05-21 Leo Liu <sdl.web@gmail.com>
8959
8960 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8961 menu items.
8962 (octave-mode): Tweak fill-nobreak-predicate.
8963 (inferior-octave-startup): Check process to avoid infinite loop.
8964 (inferior-octave): Pop to buffer first to show abornmal process
8965 exit information.
8966
640f050f
GM
89672013-05-21 Glenn Morris <rgm@gnu.org>
8968
79458038
GM
8969 * printing.el (pr-menu-bar): Define when compiling.
8970
9cc3e83f
LL
89712013-05-21 Leo Liu <sdl.web@gmail.com>
8972
8973 * progmodes/octave.el (octave-auto-fill): Remove.
8974 (octave-indent-new-comment-line): Improve.
8975 (octave-mode): Use auto fill mode through
4f405069 8976 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 8977 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 8978 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
8979 (octave-help): Show parent directory.
8980
f440830d
GM
89812013-05-21 Glenn Morris <rgm@gnu.org>
8982
8983 * files.el (dired-unmark):
8984 * progmodes/gud.el (gdb-input): Update declarations.
8985
8986 * calculator.el (electric, ehelp): No need to load when compiling.
8987 (Electric-command-loop, electric-describe-mode): Declare.
8988
8989 * doc-view.el (doc-view-current-converter-processes): Move before use.
8990
8991 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8992 Move MODE-set-explicitly definition before use.
8993
8994 * international/mule-diag.el (mule-diag):
8995 Don't use obsolete window-system-version.
8996
8997 * mail/feedmail.el (smtpmail): No need to load when compiling.
8998 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8999
9000 * mail/mail-utils.el (rfc822): No need to load when compiling.
9001 (rfc822-addresses): Autoload it.
9002 (mail-strip-quoted-names): Trivial simplification.
9003
9004 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9005 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9006
9007 * net/snmp-mode.el (tempo): Don't duplicate requires.
9008
9009 * progmodes/prolog.el (info): No need to load when compiling.
9010 (comint): Require before shell requires it.
9011 (Info-goto-node): Autoload it.
9012 (Info-follow-nearest-node): Declare.
9013 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9014
9015 * textmodes/artist.el (picture-mode-exit): Declare.
9016
9017 * textmodes/reftex-parse.el (reftex-parse-from-file):
9018 Trivial rewrite so the compiler can parse it better.
9019
b4da2cbb
LL
90202013-05-20 Leo Liu <sdl.web@gmail.com>
9021
9022 * progmodes/octave.el (octave-help-mode-map)
9023 (octave-help-mode-finish-hook): New variables.
9024 (octave-help-mode, octave-help-mode-finish): New functions.
9025 (octave-help): Use octave-help-mode.
9026
33c0f65b
GM
90272013-05-20 Glenn Morris <rgm@gnu.org>
9028
9029 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9030
1a0a0a8a
DG
90312013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9032
9033 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9034 start at point, so that expansion starting right after opening
9035 slash in a regexp is recognized.
9036 (ruby-syntax-before-regexp-re): New defvar, extracted from
9037 ruby-syntax-propertize-function. Since the value of this regexp
9038 is looked up at runtime now, we should be able to turn
9039 `ruby-syntax-methods-before-regexp' into a defcustom later.
9040 (ruby-syntax-propertize-function): Split regexp matching into two
9041 parts, for opening and closing slashes. That allows us to skip
9042 over string interpolations and support multiline regexps.
9043 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9044 for them, which calls `ruby-syntax-propertize-expansion'.
9045 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9046 call to `ruby-syntax-propertize-function'.
9047 (ruby-syntax-propertize-expansion): Extracted from
9048 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
9049 (ruby-syntax-propertize-percent-literal): Leave point right after
9050 the percent symbol, so that the expression expansion rule can
9051 propertize the contents.
462388b6
DG
9052 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9053 heredoc openers.
9054 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 9055
c1a6c0a4
JL
90562013-05-18 Juri Linkov <juri@jurta.org>
9057
9058 * man.el (Man-default-man-entry): Remove `-' from the end
9059 of the default value. (Bug#14400)
9060
8051fccd
GM
90612013-05-18 Glenn Morris <rgm@gnu.org>
9062
9063 * comint.el (comint-password-prompt-regexp):
9064 Allow "password for XXX" where XXX contains colons (eg https://...).
9065
5e80b74f
LL
90662013-05-18 Leo Liu <sdl.web@gmail.com>
9067
9068 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 9069 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
9070 (octave-source-directories): Don't check process.
9071 (octave-source-directories, octave-find-definition): Doc fix.
9072
521a54c5
GM
90732013-05-18 Glenn Morris <rgm@gnu.org>
9074
86a94b05
GM
9075 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9076 Remove backspace/delete bindings. (Bug#14392)
9077
521a54c5
GM
9078 * cus-dep.el (custom-make-dependencies): Sort the output.
9079 (custom-versions-load-alist): Convert comment to doc.
9080
42caeb89
LL
90812013-05-17 Leo Liu <sdl.web@gmail.com>
9082
9083 * newcomment.el (comment-search-backward): Stricter in finding
9084 comment start. (Bug#14303)
9085
9086 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9087 (octave-comment-start-skip): Properly anchored.
9088
e219dd97
LL
90892013-05-17 Leo Liu <sdl.web@gmail.com>
9090
fe1eb856
RS
9091 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9092 Clean up when turned off. (Bug#14395)
e219dd97
LL
9093 (smie--highlight-matching-block-overlay): No longer buffer-local.
9094 (smie-highlight-matching-block): Adjust.
9095
dc5dcb4b
PE
90962013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9097
9098 Doc string fix for "nanoseconds" (Bug#14406).
9099 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9100 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9101
1db165f0
JB
91022013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9103
9104 * calc/calc-units.el (math-extract-units): Preserve powers
9105 of units.
9106
c7a8fcac
LL
91072013-05-17 Leo Liu <sdl.web@gmail.com>
9108
9109 * subr.el (delete-consecutive-dups): New function.
9110 * ido.el (ido-set-matches-1): Use it.
9111 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9112 * ido.el (ido-remove-consecutive-dups): Remove.
9113
f678b18a
SM
91142013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9115
9116 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9117 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9118 regexp-opt's `words'.
9119
ebfe68e8
LL
91202013-05-16 Leo Liu <sdl.web@gmail.com>
9121
9122 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9123 (smie--highlight-matching-block-overlay)
9124 (smie--highlight-matching-block-lastpos)
9125 (smie--highlight-matching-block-timer): New variables.
9126 (smie-highlight-matching-block): New function.
9127 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9128 (smie-setup): Conditionally enable smie-blink-matching-open.
9129
bc8bc17d
WS
91302013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9131
9132 Sync with upstream verilog-mode r840.
9133 * progmodes/verilog-mode.el (verilog-mode-version)
9134 (verilog-mode-release-date): Update.
9135 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9136 (verilog-sig-tieoff): Fix string error on
9137 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9138 (verilog-read-decls): Fix parameters confusing
9139 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9140
df065a0b
EZ
91412013-05-16 Eli Zaretskii <eliz@gnu.org>
9142
9143 * subr.el (reveal-filename): New function.
9144
9145 * loadup.el: Compute Emacs executable versions on MS-Windows,
9146 where executables have the .exe extension. Add a hard link
9147 emacs-XX.YY.ZZ.exe on MS-Windows.
9148
9149 * Makefile.in (XARGS_LIMIT): New variable.
9150 (custom-deps, finder-data, autoloads)
9151 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9152 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9153 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9154 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9155
2d4bf34b
LL
91562013-05-16 Leo Liu <sdl.web@gmail.com>
9157
9158 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9159 (octave-mode-menu, octave-mode-map): Remove its uses.
9160
6b9c2d85
RZ
91612013-05-16 Reto Zimmermann <reto@gnu.org>
9162
9163 Sync with upstream vhdl mode v3.34.2.
9164 * progmodes/vhdl-mode.el: Use `push' throughout.
9165 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9166 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9167 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9168 (vhdl-actual-generic-name): New option to derive actual generic name.
9169 (vhdl-port-paste-signals): Replace formal by actual generics.
9170 (vhdl-beautify): New name for old group vhdl-align. Update users.
9171 (vhdl-beautify-options): New option.
9172 (vhdl-last-input-event): New compat alias. Use throughout.
9173 (vhdl-goto-line): Replace user level function `goto-line'.
9174 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9175 vhdl-fix-statement-buffer.
9176 (vhdl-create-mode-menu): Add some entries.
9177 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9178 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9179 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9180 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9181 to force statements on one line.
9182 (vhdl-remove-trailing-spaces-region):
9183 New, split from vhdl-remove-trailing-spaces.
9184 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9185 Respect vhdl-beautify-options.
9186 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9187 (vhdl-update-sensitivity-list): Not add with index if exists without.
9188 Not include array index with signal. Ignore keywords in comments.
9189 (vhdl-get-visible-signals): Regexp tweaks.
9190 (vhdl-template-component-inst): Handle empty library.
9191 (vhdl-template-type): Add template for 'enum' type.
9192 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9193 Use vhdl-replace-string.
9194 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9195 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9196 (vhdl-speedbar-initialize): Update for above name change.
9197 (vhdl-compose-wire-components): Fix in handling of constants.
9198 (vhdl-error-regexp-emacs-alist): New variable.
9199 (vhdl-error-regexp-add-emacs): New function;
9200 adds support for new compile.el (Emacs 22+)
9201 (vhdl-generate-makefile-1): Change target order for single lib. units.
9202 Allow use of absolute file names.
9203
9df4ec5e
LL
92042013-05-16 Leo Liu <sdl.web@gmail.com>
9205
9206 * simple.el (prog-indent-sexp): Indent enclosing defun.
9207
f5ba00a6
GM
92082013-05-15 Glenn Morris <rgm@gnu.org>
9209
ed8be7ff
GM
9210 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9211 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9212 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9213 (whitespace-highlight): Move to whitespace group.
9214
9215 * comint.el (comint-source):
9216 * pcmpl-linux.el (pcmpl-linux):
9217 * shell.el (shell-faces):
9218 * eshell/esh-opt.el (eshell-opt):
9219 * international/ccl.el (ccl): Remove empty custom groups.
9220
9221 * completion.el (dynamic-completion-mode):
9222 * jit-lock.el (jit-lock-debug-mode):
9223 * minibuffer.el (completion-in-region-mode):
9224 * type-break.el (type-break-mode-line-message-mode)
9225 (type-break-query-mode):
9226 * emulation/tpu-edt.el (tpu-edt-mode):
9227 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9228 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9229 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9230
9231 * term/xterm.el (xterm): Change parent group to terminals.
9232
9233 * master.el (master): Remove empty custom group.
9234 (master-mode): Remove unused :group argument.
9235 * textmodes/refill.el (refill): Remove empty custom group.
9236 (refill-mode): Remove unused :group argument.
9237
9238 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9239
82a7c41b
GM
9240 * cus-dep.el: Provide a feature.
9241 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
9242 Don't mistakenly ignore files whose basenames match a basename
9243 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 9244 Add a fallback method for getting :group.
f5ba00a6 9245
6d65486d
JL
92462013-05-15 Juri Linkov <juri@jurta.org>
9247
da547b32
JL
9248 * isearch.el (isearch-char-by-name): Rename from
9249 `isearch-insert-char-by-name'. Doc fix.
9250 (isearch-forward): Mention `isearch-char-by-name' in
9251 the docstring. (Bug#13348)
9252
6d65486d
JL
9253 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9254 `exit-minibuffer' instead of
9255 `isearch-nonincremental-exit-minibuffer'.
9256 (isearch-edit-string): Remove mention of
9257 `isearch-nonincremental-exit-minibuffer' from docstring.
9258 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9259 (isearch-forward-exit-minibuffer)
9260 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9261
c9990474
SM
92622013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9263
6e911150
SM
9264 * loadup.el: Just use unversioned DOC.
9265
c9990474
SM
9266 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9267 literals as extending to EOB.
9268 (nxml-last-fontify-end): Remove unused variable.
9269 (nxml-after-change1): Use with-silent-modifications.
9270 (nxml-extend-after-change-region): Simplify.
9271 (nxml-extend-after-change-region1): Remove function.
9272 (nxml-after-change1): Don't adjust for dependent regions.
9273 (nxml-fontify-matcher): Simplify.
9274 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9275 (xmltok-add-dependent): Remove function.
9276 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9277 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9278 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9279 unclosed <[[, <?, comment, and other literals as extending to EOB.
9280 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9281 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9282 Remove functions.
9283 (rng-do-some-validation-1): Don't mark dependent regions.
9284 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9285 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9286 (nxml-clear-dependent-regions): Remove functions.
9287 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9288 (nxml-ensure-scan-up-to-date):
9289 Don't clear&mark dependent regions.
9290
e3772e98
LL
92912013-05-15 Leo Liu <sdl.web@gmail.com>
9292
c9990474
SM
9293 * progmodes/octave.el (octave-goto-function-definition):
9294 Improve and fix callers.
e3772e98 9295
5ac2eb34
SM
92962013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9297
c46c57b0
SM
9298 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9299 the setter (bug#14387).
9300
5ac2eb34
SM
9301 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9302 surrounding group (bug#14402).
9303
180ed218
JL
93042013-05-14 Juri Linkov <juri@jurta.org>
9305
9306 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9307 (Bug#14390)
9308
0ac0fecb
GM
93092013-05-14 Glenn Morris <rgm@gnu.org>
9310
9311 * progmodes/f90.el (f90-imenu-generic-expression):
9312 Fix typo in 2013-05-08 change. (Bug#14402)
9313
2e78e6a7
JPG
93142013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9315
5ac2eb34
SM
9316 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9317 Remove signals for which replies are never received.
2e78e6a7 9318
53267cca
JPG
93192013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9320
9321 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9322 (gdb-handler-alist, gdb-handler-number): Remove variables.
9323 (gdb-handler-list): New variable.
9324 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9325 (gdb-pending-handler-p, gdb-handle-reply)
9326 (gdb-remove-all-pending-triggers): New functions.
9327 (gdb-discard-unordered-replies): New defcustom.
9328 (gdb-handler): New defstruct.
9329 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9330 instead of gdb-pending-triggers. Update docstring.
9331 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9332 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9333 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9334 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9335 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9336 (gdb-frame-handler): Pending triggers are now automatically managed.
9337 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9338 Remove argument.
9339 (gdb-input): Automatically handles pending triggers. Update docstring.
9340 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9341 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9342 Update comments.
9343 (gdb-done-or-error): Now use gdb-handle-reply.
9344
d04ce803
JPG
93452013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9346
9347 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9348 gdb-debug-log.
9349
0114073a
GM
93502013-05-14 Glenn Morris <rgm@gnu.org>
9351
9352 * subr.el (user-emacs-directory-warning): New option.
9353 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9354
4d25fd7e
LL
93552013-05-14 Leo Liu <sdl.web@gmail.com>
9356
9357 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9358 during redisplay.
9359 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
9360 (octave-font-lock-texinfo-comment): Fix invalid search bound
9361 error: wrong side of point.
4d25fd7e 9362
27c8b6eb
GM
93632013-05-14 Glenn Morris <rgm@gnu.org>
9364
61aaeb01
GM
9365 * progmodes/flymake.el (flymake-xml-program): New option.
9366 (flymake-xml-init): Use it.
9367
5bf90bc5
GM
9368 * term/xterm.el: Provide a feature.
9369
9370 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 9371
f4c7dfd2
GM
93722013-05-13 Glenn Morris <rgm@gnu.org>
9373
9374 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9375 Add compat aliases as a hack workaround. (Bug#14384)
9376
2aeb3a1d
LL
93772013-05-13 Leo Liu <sdl.web@gmail.com>
9378
b0e069c2
LL
9379 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9380 ###, and %!.
f5a9432f
LL
9381 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9382 C-M-q.
b0e069c2
LL
9383 (octave-comment-start-skip): Include %!.
9384 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 9385
30ea8374
LL
93862013-05-12 Leo Liu <sdl.web@gmail.com>
9387
9388 * progmodes/octave.el (inferior-octave-startup): Store the value
9389 of __octave_srcdir__ for octave-source-directories.
9390 (inferior-octave-check-process): New function refactored out of
9391 inferior-octave-send-list-and-digest.
9392 (octave-source-directories)
9393 (octave-find-definition-filename-function): New variables.
9394 (octave-source-directories)
9395 (octave-find-definition-default-filename): New functions.
9396 (octave-find-definition): Improve to find functions implemented in C++.
9397
472a3834
GM
93982013-05-12 Glenn Morris <rgm@gnu.org>
9399
9400 * calendar/diary-lib.el (diary-outlook-format-1):
9401 Don't include dayname in the output. (Bug#14349)
9402
3191b52f
GM
94032013-05-11 Glenn Morris <rgm@gnu.org>
9404
0060ac73
GM
9405 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9406
3191b52f
GM
9407 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9408 Treat cc-provide like provide.
9409
e065ba74
KR
94102013-05-11 Kevin Ryde <user42@zip.com.au>
9411
9412 * cus-dep.el (custom-make-dependencies):
9413 Use generated-autoload-load-name for the sake of files such
9414 such cedet/semantic/bovine/c.el, where the base file name
9415 is not in load-path. (Bug#5277)
9416
36f84c37
GM
94172013-05-11 Glenn Morris <rgm@gnu.org>
9418
9419 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9420 Provide features.
9421
c8730c3a
LL
94222013-05-11 Leo Liu <sdl.web@gmail.com>
9423
9424 * progmodes/octave.el (octave-indent-comment): Improve.
9425 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
9426 (octave-eldoc-function-signatures, octave-eldoc-function):
9427 New functions.
c8730c3a
LL
9428 (octave-mode, inferior-octave-mode): Add eldoc support.
9429
212e29f2
RS
94302013-05-11 Richard Stallman <rms@gnu.org>
9431
9432 * epa.el (epa-decrypt-file): Take output file name as argument
9433 and read it using `interactive'.
9434
083fe0d7
LL
94352013-05-11 Leo Liu <sdl.web@gmail.com>
9436
9437 * progmodes/octave.el (octave-beginning-of-line)
9438 (octave-end-of-line): Check before using up-list because it jumps
9439 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
9440 (octave-indent-comment): New function.
9441 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
9442 (octave-begin-keywords, octave-end-keywords)
9443 (octave-reserved-words, octave-smie-bnf-table)
9444 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 9445
8582e4c4
GM
94462013-05-11 Glenn Morris <rgm@gnu.org>
9447
f20def1f
GM
9448 * faces.el (internal-face-x-get-resource):
9449 * frame.el (ns-display-monitor-attributes-list):
d78abe37 9450 * calc/calc-aent.el (math-to-radians-2):
f20def1f 9451 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 9452 Fix declarations.
f20def1f 9453
445f95e2
GM
9454 * calc/calc-menu.el: Make it loadable in isolation.
9455
9456 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9457 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9458 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9459 (eudc-bbdb-query-internal): Require 'bbdb.
9460
99fb2756
GM
9461 * lpr.el (lpr-headers-switches):
9462 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9463
9464 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9465
0da7ad96
GM
9466 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9467
8582e4c4
GM
9468 * term.el (term-set-escape-char): Make it idempotent.
9469
f71c50d0
LL
94702013-05-10 Leo Liu <sdl.web@gmail.com>
9471
5ac2eb34
SM
9472 * progmodes/octave.el (inferior-octave-completion-table):
9473 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
9474 completion due to bug#11906.
9475 (octave-beginning-of-defun): Re-write to be more general.
9476
d5837773
GM
94772013-05-10 Glenn Morris <rgm@gnu.org>
9478
9479 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9480
027c0f75
SM
94812013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9482
9483 * comint.el (comint-redirect-send-command-to-process): Use :around
9484 rather than :override for comint-redirect-filter.
9485 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9486 Call it instead of comint-redirect-original-filter-function (which
9487 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9488
4465bfb4
JD
94892013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9490
9491 * frame.el (display-monitor-attributes-list): Add NS case.
9492 (ns-display-monitor-attributes-list): Declare.
9493
2d809ffa 94942013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
9495
9496 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9497
e54eeb9b
GM
94982013-05-09 Glenn Morris <rgm@gnu.org>
9499
56cd351d
GM
9500 * international/fontset.el (vertical-centering-font-regexp):
9501 Set standard-value.
9502
d84b6108
GM
9503 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9504
a931698a
GM
9505 * bookmark.el (bookmark-search-delay):
9506 * cus-start.el (vertical-centering-font-regexp):
9507 * ps-mule.el (ps-mule-font-info-database-default):
9508 * ps-print.el (ps-default-fg, ps-default-bg):
9509 * type-break.el (type-break-good-break-interval):
9510 * whitespace.el (whitespace-indentation-regexp)
9511 (whitespace-space-after-tab-regexp):
9512 * emacs-lisp/testcover.el (testcover-1value-functions)
9513 (testcover-noreturn-functions, testcover-progn-functions)
9514 (testcover-prog1-functions):
9515 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9516 * eshell/em-glob.el (eshell-glob-translate-alist):
9517 * play/tetris.el (tetris-tty-colors):
9518 * progmodes/cpp.el (cpp-face-default-list):
9519 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9520 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9521 (idlwave-help-browser-generic-args):
9522 * progmodes/make-mode.el (makefile-special-targets-list):
9523 * progmodes/python.el (python-shell-virtualenv-path):
9524 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9525 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9526 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9527 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9528 * textmodes/reftex-vars.el (reftex-format-label-function):
9529 * textmodes/remember.el (remember-diary-file): Fix custom types.
9530
e54eeb9b
GM
9531 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9532 Add :version.
9533
455851dd
LL
95342013-05-09 Leo Liu <sdl.web@gmail.com>
9535
9536 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 9537 Restore file completion. (Bug#14300)
455851dd
LL
9538 (inferior-octave-startup): Fix incorrect highlighting for the
9539 first prompt.
9540
a9e4425b
SM
95412013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9542
9543 * progmodes/ruby-mode.el: First cut at SMIE support.
9544 (ruby-use-smie): New var.
9545 (ruby-smie-grammar): New constant.
9546 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9547 (ruby-smie--forward-token, ruby-smie--backward-token)
9548 (ruby-smie-rules): New functions.
9549 (ruby-mode-variables): Setup SMIE if applicable.
9550
060ca408
EZ
95512013-05-08 Eli Zaretskii <eliz@gnu.org>
9552
9553 * simple.el (line-move-visual): Signal beginning/end of buffer
9554 only if vertical-motion moved less than it was requested. Avoids
9555 silly incorrect error messages when there are display strings with
9556 multiple newlines at EOL.
9557
1d5963cc
SM
95582013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9559
9560 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9561 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9562 (prolog-char-quote-workaround):
9563 * progmodes/cperl-mode.el (cperl-under-as-char):
9564 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
9565 Mark as obsolete.
9566 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
9567 their declaration.
9568 (vhdl-mode-syntax-table-init): Remove.
9569
c9990474
SM
9570 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9571 last change.
1d5963cc
SM
9572
9573 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9574 syntax for "_".
9575 (ld-script-font-lock-keywords):
9576 Change regexps to use things like \_< and \_>.
9577
9578 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9579 Change all regexps to use things like \_< and \_>.
9580
9581 * progmodes/autoconf.el (autoconf-definition-regexp)
9582 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9583 Handle a _ with symbol syntax.
9584 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9585
c9990474
SM
9586 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9587 Consolidate declaration.
1d5963cc
SM
9588 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9589 the declaration.
9590 (ada-create-syntax-table): Remove.
9591 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9592 already has the right syntax nowadays.
9593 (ada-goto-next-word): Don't change the syntax of "_".
9594
9595 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9596 with-wrapper-hook.
9597
72d3cfca
SS
95982013-05-08 Sam Steingold <sds@gnu.org>
9599
9600 * thingatpt.el (thing-at-point): Accept optional second argument
9601 NO-PROPERTIES to strip the text properties from the return value.
9602 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9603 to `thing-at-point' instead of stripping the properties ourselves.
9604 Also, when `thing-at-point' fails to find a url, prepend "http://"
9605 to the filename at point on the assumption that the user is
9606 pointing at something like gnu.org/gnu.
9607
5cb15713
JB
96082013-05-08 Juanma Barranquero <lekktu@gmail.com>
9609
9610 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9611 * faces.el (crm-separator):
9612 Silence byte-compiler.
9613
9614 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9615 (tool-bar-map): Remove unneeded defvars.
9616
ea78b95b
LL
96172013-05-08 Leo Liu <sdl.web@gmail.com>
9618
9619 Re-work a fix for bug#10994 based on Le Wang's patch.
9620 * ido.el (ido-remove-consecutive-dups): New helper.
9621 (ido-completing-read): Use it.
9622 (ido-chop): Revert fix for bug#10994.
9623
dc7466df
AS
96242013-05-08 Adam Spiers <emacs@adamspiers.org>
9625
9626 * cus-edit.el (custom-save-variables):
9627 Pretty-print long values. (Bug#14187)
9628
9ecf672a
GM
96292013-05-08 Glenn Morris <rgm@gnu.org>
9630
9631 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9632 (m4-mode-syntax-table): Init in the defvar.
9633 (m4-mode-abbrev-table): Let define-derived-mode define it.
9634
3f555be8
TT
96352013-05-08 Tom Tromey <tromey@redhat.com>
9636
9637 * progmodes/m4-mode.el (m4-mode-syntax-table):
9638 Do not treat "_" as word constituent. (Bug#14167)
9639
7cc8ae06
GM
96402013-05-07 Glenn Morris <rgm@gnu.org>
9641
4f58bc06
GM
9642 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9643 Remove explicit eshell-isearch-cancel-map.
9644
7cc8ae06
GM
9645 * progmodes/f90.el (f90-smart-end-names): New option.
9646 (f90-smart-end): Doc fix.
9647 (f90-end-block-optional-name): New constant.
9648 (f90-block-match): Respect f90-smart-end-names.
9649
ceb57e59
SM
96502013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9651
9652 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9653 about implicit semi-colons (bug#14218).
9654
4e3f9230
YM
96552013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9656
9657 * frame.el (display-monitor-attributes-list)
9658 (frame-monitor-attributes): New functions.
9659
203a5572
LL
96602013-05-06 Leo Liu <sdl.web@gmail.com>
9661
9662 * progmodes/octave.el (octave-syntax-propertize-function): Change
9663 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9664 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 9665 (octave-completion-at-point): Rename from
203a5572
LL
9666 octave-completion-at-point-function.
9667 (inferior-octave-directory-tracker): Robustify.
9668 (octave-text-functions): Remove and fix its uses. No such things
9669 any more.
9670
ee6cff99
SM
96712013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9672
9673 * emacs-lisp/trace.el (trace--display-buffer): New function.
9674 (trace-make-advice): Use it.
9675
32985194
JL
96762013-05-06 Juri Linkov <juri@jurta.org>
9677
9678 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9679 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9680 Doc fix.
9681 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9682 in the help string. (Bug#12985)
9683
a1c700de
KD
96842013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9685
9686 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9687
c67c0839
SM
96882013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9689
323885fd
SM
9690 * progmodes/perl-mode.el: Add support for here documents.
9691 (perl-syntax-propertize-function): Match here-doc markers.
9692 (perl-syntax-propertize-special-constructs): Find their end.
9693 (perl-imenu-generic-expression): Use [:alnum:].
9694
c67c0839
SM
9695 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9696 (advice--add-function): Refresh the advice if already present
9697 (bug#14317).
9698
d491e7a8
IA
96992013-05-06 Ivan Andrus <darthandrus@gmail.com>
9700
9701 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9702
ddf9925e
GM
97032013-05-06 Glenn Morris <rgm@gnu.org>
9704
7cc3af27
GM
9705 * w32-fns.el (w32-charset-info-alist): Declare.
9706
16e343d6
GM
9707 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9708 of its defcustom properties.
9709 (eshell-cmpl-initialize): No need to load pcomplete.
9710
7d889a47
GM
9711 * generic-x.el: No need to require comint when compiling.
9712
ddf9925e
GM
9713 * net/eudc-export.el: Make it loadable without bbdb.
9714 (top-level): Use require rather than load-library.
9715 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9716 (eudc-batch-export-records-to-bbdb)
9717 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9718 Require bbdb.
9719
1e2c18df
SM
97202013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9721
9722 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9723 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9724 some tweaks, instead.
9725
02502a5f
LL
97262013-05-05 Leo Liu <sdl.web@gmail.com>
9727
9728 * progmodes/octave.el (octave-font-lock-keywords)
9729 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9730 (inferior-octave-send-list-and-digest): Improve error message.
9731 (octave-mode, inferior-octave-mode): Use setq-local.
9732 (octave-help): Set info-lookup-mode.
9733
0dc04f42
RS
97342013-05-05 Richard Stallman <rms@gnu.org>
9735
6c54491c
RS
9736 * vc/compare-w.el (compare-windows-whitespace):
9737 Treat no-break space as whitespace.
9738
0dc04f42
RS
9739 * mail/rmailsum.el (rmail-summary-rmail-update):
9740 Detect empty summary and don't change selected message.
9741 (rmail-summary-goto-msg): Likewise.
9742
df8f35df
RS
9743 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9744 Doc fixes, rename args.
9745
5356e1a3
AM
97462013-05-05 Alan Mackenzie <acm@muc.de>
9747
9748 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9749
d44014cb
JL
97502013-05-05 Juri Linkov <juri@jurta.org>
9751
9752 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9753 to not add the length of the summary segment to the return value.
9754 (Bug#14125)
9755
c129b51f
LL
97562013-05-05 Leo Liu <sdl.web@gmail.com>
9757
9758 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9759 (inferior-octave-output-filter): Remove.
9760 (octave-send-region, inferior-octave-startup): Fix callers.
9761 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9762 (octave-binary-file-extensions): New user variable.
9763 (octave-find-definition): Confirm if opening binary files.
9764 (octave-help-file): Use octave-find-definition to get the binary
9765 confirmation.
9766 (octave-help): Adjust for octave-help-file change.
9767
aa7dab97
SM
97682013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9769
9770 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9771 Merge the two entries that handle function definitions.
9772 (pascal--syntax-propertize): New const.
9773 (pascal-mode): Use it. Use setq-local.
9774
fd3a9a6b
GM
97752013-05-04 Glenn Morris <rgm@gnu.org>
9776
9777 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9778 (diary-from-outlook): Respect diary-from-outlook-function.
9779
30c7e542
SM
97802013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9781
9782 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9783 Move the declaration from C.
9784 (read-minibuffer, eval-minibuffer): Move from C.
9785 (completion-setup-function): Avoid minibuffer-completion-contents.
9786
b54f978b
LL
97872013-05-03 Leo Liu <sdl.web@gmail.com>
9788
9789 * progmodes/octave.el (octave-font-lock-keywords): Do not
9790 dehighlight 'end' in comments or strings.
30c7e542
SM
9791 (octave-completing-read, octave-goto-function-definition):
9792 New helpers.
d4d0f9b3
LL
9793 (octave-help-buffer): New user variable.
9794 (octave-help-file, octave-help-function): New button types.
9795 (octave-help): New command and bind it to C-h ;.
9796 (octave-find-definition): New command and bind it to M-.
d74a1581 9797 (user-error): Alias to error if not defined.
b54f978b 9798
27135018
LL
97992013-05-02 Leo Liu <sdl.web@gmail.com>
9800
9801 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9802 for \. (bug#14332)
9803 (octave-font-lock-keywords): Include [ and {.
9804
0d634d3a
LL
98052013-05-02 Leo Liu <sdl.web@gmail.com>
9806
9807 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9808 (inferior-octave): Remove calling comint-mode and return the buffer.
9809 (inferior-octave-startup): Cosmetic changes.
9810
b4c8295e
LL
98112013-05-02 Leo Liu <sdl.web@gmail.com>
9812
30c7e542
SM
9813 * progmodes/octave.el (octave-syntax-propertize-function):
9814 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 9815
f12ad6ec
GM
98162013-05-02 Glenn Morris <rgm@gnu.org>
9817
9818 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9819 * desktop.el (vc-dir-mode): Just autoload it here.
9820
30cac1e0
AM
98212013-05-02 Alan Mackenzie <acm@muc.de>
9822
9823 Eliminate variable c-standard-font-lock-fontify-region-function.
9824 * progmodes/cc-mode.el
9825 (c-standard-font-lock-fontify-region-function): Remove.
9826 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9827
d8ef28b1
LL
98282013-05-01 Leo Liu <sdl.web@gmail.com>
9829
2640d52e 9830 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 9831 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 9832 variables were removed from Octave in 2007.
d8ef28b1
LL
9833 (inferior-octave-startup): Fix uses.
9834 (comint-line-beginning-position): Remove compatibility code for
9835 emacs 21.
9836
ac63ec89
JL
98372013-05-01 Juri Linkov <juri@jurta.org>
9838
9839 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9840
9e9be37c
JL
98412013-05-01 Juri Linkov <juri@jurta.org>
9842
9843 * comint.el (comint-previous-matching-input): Don't print message
9844 "History item: %d" when `isearch-mode' is active.
9845 (comint-history-isearch-message): Print message "History item: %d"
9846 when `comint-input-ring-index' is not empty and this function is
9847 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9848
9b92c13b
LL
98492013-05-01 Leo Liu <sdl.web@gmail.com>
9850
9851 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9852 definitions. Use completion-at-point to insert keywords.
9853 (octave-abbrev-start): Remove.
9854 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9855
b12d33d7
LL
98562013-04-30 Leo Liu <sdl.web@gmail.com>
9857
9858 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9859 change.
9860
3d1c39fa
AM
98612013-04-30 Alan Mackenzie <acm@muc.de>
9862
9863 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
9864 * progmodes/cc-engine.el (c-back-over-member-initializers):
9865 new function.
3d1c39fa
AM
9866 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9867 (most) member init lists.
9868
5147fc17
RS
98692013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9870
9871 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9872 variable.
9873
5b78d7fc
LL
98742013-04-30 Leo Liu <sdl.web@gmail.com>
9875
9876 * progmodes/octave.el (octave-variables): Remove. No builtin
9877 variables any more. All converted to functions.
9878 (octave-font-lock-keywords, octave-completion-at-point-function):
9879 Fix uses.
9880 (octave-font-lock-texinfo-comment): New user variable.
9881 (octave-texinfo-font-lock-keywords): New variable for texinfo
9882 comment block.
9883 (octave-function-comment-block): New face.
9884 (octave-font-lock-texinfo-comment): New function.
9885 (octave-mode): Font lock texinfo comment block.
9886
38d8527b
LL
98872013-04-29 Leo Liu <sdl.web@gmail.com>
9888
9889 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9890 indexing expression.
9891 (octave-continuation-string): Do not use \.
9892 (inferior-octave-complete-impossible): Remove.
9893 (inferior-octave-completion-table)
9894 (inferior-octave-completion-at-point): Remove its uses.
9895 (inferior-octave-startup): completion_matches was introduced to
9896 Octave in 1996 so safe to assume it.
9897 (octave-function-file-comment): Improve to follow how Octave does it.
9898 (octave-update-function-file-comment): Tweak.
9899
2ec12cb0
LL
99002013-04-29 Leo Liu <sdl.web@gmail.com>
9901
9902 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9903 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9904 (octave-function-file-comment): Fix typo.
9905 (octave-sync-function-file-names): Use read-char-choice.
9906
6eaed048
JB
99072013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9908
9909 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9910 to t for the less important warnings.
9911
3ffa2d4f
DH
99122013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9913
9914 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9915
685c9501
GM
99162013-04-27 Glenn Morris <rgm@gnu.org>
9917
9918 * vc/log-view.el (log-view-current-entry):
9919 Treat "---" separator lines as part of the following rev. (Bug#14169)
9920
0208ede7
JL
99212013-04-27 Juri Linkov <juri@jurta.org>
9922
9923 * subr.el (read-number): Doc fix about using it by interactive
9924 code letter `n'. (Bug#14254)
9925
5db9dace
JL
99262013-04-27 Juri Linkov <juri@jurta.org>
9927
9928 * desktop.el (desktop-auto-save-timeout): New option.
9929 (desktop-file-checksum): New variable.
9930 (desktop-save): Add optional arg `auto-save' and don't auto-save
9931 if nothing changed.
9932 (desktop-auto-save-timer): New variable.
9933 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9934 (after-init-hook): Call `desktop-auto-save-set-timer'.
9935 Suggested by Reuben Thomas <rrt@sc3d.org> in
9936 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9937
b7260dd4
LL
99382013-04-27 Leo Liu <sdl.web@gmail.com>
9939
9940 * progmodes/octave.el (octave-function-file-p)
9941 (octave-skip-comment-forward, octave-function-file-comment)
9942 (octave-update-function-file-comment): New functions.
9943 (octave-mode-map): Bind C-c ; to
9944 octave-update-function-file-comment.
9945 (octave-mode-menu): Add octave-update-function-file-comment.
9946 (octave-mode, inferior-octave-mode): Fix doc-string.
9947 (octave-insert-defun): Conform to Octave's coding convention.
9948 (Bug#14285)
9949
9950 * files.el (basic-save-buffer): Don't let errors in
9951 before-save-hook prevent saving buffer.
9952
c46da669
RW
99532013-04-20 Roland Winkler <winkler@gnu.org>
9954
9955 * faces.el (read-face-name): Use completing-read if arg multiple
9956 is nil.
9957
a81ee1eb
IL
99582013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9959
9960 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
9961 displayed, move point to after the totals line.
9962 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
9963 for the details.
9964
4fac34ce
SM
99652013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9966
9967 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9968 Add current dir to the load-path.
9969 (package-generate-autoloads): Don't rely on
9970 autoload-ensure-default-file.
9971
f6bfc063
RT
99722013-04-26 Reuben Thomas <rrt@sc3d.org>
9973
d40ab5cf
BG
9974 * textmodes/remember.el (remember-store-in-files): Document that
9975 the file name format is passed to `format-time-string'.
f6bfc063 9976
e55d3b04
LL
99772013-04-26 Leo Liu <sdl.web@gmail.com>
9978
9979 * progmodes/octave.el (octave-sync-function-file-names): New function.
9980 (octave-mode): Use it in before-save-hook.
9981
e53052d3
SM
99822013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9983
140ef50c
SM
9984 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9985 (bug#14274).
9986
e53052d3
SM
9987 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9988 \n and comment, even if it's not an implicit ; (bug#14218).
9989
af80458d 99902013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
9991
9992 * subr.el (read-number): Once more use `read' rather than
9993 `string-to-number', to trap non-numeric input. (Bug#14254)
9994
af80458d 99952013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
9996
9997 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9998 Use `syntax-multiline' text property consistently instead of
8a621d53 9999 `font-lock-multiline'. (Bug#14237)
70203c2e 10000
e6ea1f6c
GM
100012013-04-26 Glenn Morris <rgm@gnu.org>
10002
10003 * emacs-lisp/shadow.el (list-load-path-shadows):
10004 No longer necessary to check for duplicate simple.el, since
10005 2012-07-07 change to init_lread to not include installation lisp
10006 directories in load-path when running uninstalled. (Bug#14270)
10007
070ccca4
LL
100082013-04-26 Leo Liu <sdl.web@gmail.com>
10009
10010 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10011 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 10012 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
10013 octave-in-string-or-comment-p.
10014 (octave-in-comment-p, octave-in-string-p)
10015 (octave-in-string-or-comment-p): Replace defsubst with defun.
10016
9d1c5fb6
PE
100172013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10018
10019 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10020
c034abda
BG
100212013-04-25 Bastien Guerry <bzg@gnu.org>
10022
10023 * textmodes/remember.el (remember-data-directory)
10024 (remember-directory-file-name-format): Fix custom types.
10025
584ea277
LL
100262013-04-25 Leo Liu <sdl.web@gmail.com>
10027
e53052d3
SM
10028 * progmodes/octave.el (octave-completion-at-point-function):
10029 Make use of inferior octave process.
584ea277
LL
10030 (octave-initialize-completions): Remove.
10031 (inferior-octave-completion-table): New function.
10032 (inferior-octave-completion-at-point): Use it.
10033 (octave-completion-alist): Remove.
10034
1693b06a
SM
100352013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10036
10037 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10038 (opascal-mode-syntax-table): New var.
10039 (opascal-literal-kind, opascal-is-literal-end)
10040 (opascal-literal-token-at): Rewrite.
10041 (opascal--literal-start-re, opascal-font-lock-keywords)
10042 (opascal--syntax-propertize): New constants.
10043 (opascal-font-lock-defaults): Adjust.
10044 (opascal-mode): Use them. Set comment-<foo> variables as well.
10045 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10046 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10047 (delphi-other-face, opascal-other-face): Remove face variables.
10048 (opascal-save-state): Remove macro.
10049 (opascal-fontifying-progress-step): Remove constant.
10050 (opascal--ignore-changes): Remove var.
10051 (opascal-set-token-property, opascal-parse-next-literal)
10052 (opascal-is-stable-literal, opascal-complete-literal)
10053 (opascal-is-literal-start, opascal-face-of)
10054 (opascal-parse-region, opascal-parse-region-until-stable)
10055 (opascal-fontify-region, opascal-after-change)
10056 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10057 (opascal-debug-parse-region, opascal-debug-parse-window)
10058 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10059 (opascal-debug-fontify-buffer): Remove.
10060 (opascal-debug-mode-map): Adjust accordingly.
10061
be64c05d
LL
100622013-04-25 Leo Liu <sdl.web@gmail.com>
10063
10064 Merge octave-mod.el and octave-inf.el into octave.el with some
10065 cleanups.
10066 * progmodes/octave.el: New file renamed from octave-mod.el.
10067 * progmodes/octave-inf.el: Merged into octave.el.
10068 * progmodes/octave-mod.el: Renamed to octave.el.
10069
d79d37bd
TH
100702013-04-25 Tassilo Horn <tsdh@gnu.org>
10071
10072 * textmodes/reftex-vars.el
10073 (reftex-label-ignored-macros-and-environments): New defcustom.
10074
10075 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10076
ced3fc5d
SM
100772013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10078
10079 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10080 (smie-indent-keyword): Improve the check to ensure that the next
10081 comment is really on the same line.
10082 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10083
10084 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10085 semi-colons if the line is not otherwise empty (bug#14218).
10086
1c141dad
GM
100872013-04-25 Glenn Morris <rgm@gnu.org>
10088
10089 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10090
5058062a
SM
100912013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10092
10093 * progmodes/opascal.el (opascal-set-token-property): Rename from
10094 opascal-set-text-properties and only set `token' (bug#14134).
10095 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10096 (opascal-literal-text-properties): Remove.
10097 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10098 Adjust callers.
10099
5db9dace 101002013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
10101
10102 * textmodes/remember.el (remember-handler-functions): Add an
10103 option for a new handler `remember-store-in-files'.
10104 (remember-data-directory, remember-directory-file-name-format):
10105 New options.
10106 (remember-store-in-files): New function to store remember notes
10107 as separate files within a directory.
10108
4391916c
MH
101092013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10110
10111 * progmodes/compile.el (compilation-next-error-function):
10112 Pass "formats" to compilation-find-file (bug#11777).
10113
bb7cdf58
GM
101142013-04-24 Glenn Morris <rgm@gnu.org>
10115
3b8fe752 10116 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
10117 * vc/vc-hg.el (vc-hg-print-log):
10118 * vc/vc-svn.el (vc-svn-print-log):
10119 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10120
bb7cdf58
GM
10121 * vc/vc-bzr.el (vc-bzr-print-log):
10122 * vc/vc-cvs.el (vc-cvs-print-log):
10123 * vc/vc-git.el (vc-git-print-log):
10124 * vc/vc-hg.el (vc-hg-print-log):
10125 * vc/vc-mtn.el (vc-mtn-print-log):
10126 * vc/vc-rcs.el (vc-rcs-print-log):
10127 * vc/vc-sccs.el (vc-sccs-print-log):
10128 * vc/vc-svn.el (vc-svn-print-log):
10129 * vc/vc.el (vc-print-log-internal): Doc fixes.
10130
b46a056e
GM
101312013-04-23 Glenn Morris <rgm@gnu.org>
10132
10133 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10134 Remove venerable code attempting to avoid substitute-command-keys.
10135
0aecf718
TH
101362013-04-23 Tassilo Horn <tsdh@gnu.org>
10137
4391916c
MH
10138 * textmodes/reftex-vars.el (reftex-label-regexps):
10139 Call `reftex-compile-variables' after changes to this variable.
0aecf718 10140
117f94cf
SM
101412013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10142
4391916c 10143 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
10144 Use lexical-binding.
10145 (jit-lock-force-redisplay): Use markers, check buffer's continued
10146 existence and beware narrowed buffers.
10147 (jit-lock-fontify-now): Adjust call accordingly.
10148
1d829c64
SM
101492013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10150
10151 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10152 to avoid misleading the user.
10153
72d548a9
LL
101542013-04-22 Leo Liu <sdl.web@gmail.com>
10155
10156 * info-look.el: Prefer latex2e.info. (Bug#14240)
10157
d0853629
MA
101582013-04-22 Michael Albinus <michael.albinus@gmx.de>
10159
10160 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10161
10162 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10163 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10164 (tramp-set-completion-function, tramp-parse-putty):
10165 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10166 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10167 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10168 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10169 (tramp-call-local-coding-command): Use `tramp-call-process'
10170 instead of `tramp-compat-call-process'.
10171
10172 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10173 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10174 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 10175 (tramp-find-inline-compress): Improve traces.
d0853629
MA
10176 (tramp-maybe-send-script): Check for Perl binary.
10177 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10178
38cc0210
DU
101792013-04-22 Daiki Ueno <ueno@gnu.org>
10180
10181 * epg.el (epg-context-pinentry-mode): New function.
10182 (epg-context-set-pinentry-mode): New function.
10183 (epg--start): Pass --pinentry-mode option to gpg command.
10184
cc641ee1
XF
101852013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10186
02d844b5 10187 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 10188 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 10189 `completion-at-point'. (Bug#13774)
5d4e5c31 10190
cc641ee1
XF
10191 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10192 default key binding for `describe-distribution' has been moved to
10193 `C-h C-o'. (Bug#13970)
10194
1b42ee43
GM
101952013-04-21 Glenn Morris <rgm@gnu.org>
10196
10197 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10198 Add doc strings.
10199 (vc-print-log): Clarify interactive prompt.
10200
a6d63d97
GM
102012013-04-20 Glenn Morris <rgm@gnu.org>
10202
10203 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10204 No longer include timestamp etc information.
10205
d7f5c16f
RW
102062013-04-20 Roland Winkler <winkler@gnu.org>
10207
10208 * faces.el (read-face-name): Bug fix, return just one face if arg
10209 multiple is nil. (Bug#14209)
10210
bcd7a0a4
SM
102112013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10212
10213 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10214 (remove-function): Autoload.
10215
10216 * comint.el (comint-redirect-original-filter-function): Remove.
10217 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
10218 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10219 (vc-cvs-annotate-command):
bcd7a0a4
SM
10220 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10221 * progmodes/prolog.el (prolog-consult-compile):
10222 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10223 Use add/remove-function instead.
10224 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10225 (gud-tooltip-process-output, gud-tooltip-tips):
10226 Use add/remove-function instead.
10227 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10228 (scheme-interaction-mode, exit-scheme-interaction-mode):
10229 Use add/remove-function instead.
10230
10231 * vc/vc-dispatcher.el: Use lexical-binding.
10232 (vc--process-sentinel): Rename from vc-process-sentinel.
10233 Change last arg to be the code to run. Don't use vc-previous-sentinel
10234 and vc-sentinel-commands any more.
10235 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10236 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10237
e36b2d20 102382013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 10239
bcd7a0a4 10240 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 10241 Handle function names with a single character. (Bug#14111)
4d3268ba 10242
781b4af6 102432013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
10244
10245 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10246 for subroutines defined in an eval (bug#14182).
10247
7d688336
TV
102482013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10249
10250 * bookmark.el (bookmark-completing-read): Improve handling of empty
10251 string (bug#14176).
10252
31dcede0
SM
102532013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10254
10255 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10256
adc31213
FEG
102572013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10258
10259 New faster Imenu implementation (bug#14058).
10260 * progmodes/python.el:
10261 (python-imenu-prev-index-position):
10262 (python-imenu-format-item-label-function)
10263 (python-imenu-format-parent-item-label-function)
10264 (python-imenu-format-parent-item-jump-label-function):
10265 New vars.
10266 (python-imenu-format-item-label)
10267 (python-imenu-format-parent-item-label)
10268 (python-imenu-format-parent-item-jump-label)
10269 (python-imenu--put-parent, python-imenu--build-tree)
10270 (python-imenu-create-index, python-imenu-create-flat-index)
10271 (python-util-popn): New functions.
10272 (python-mode): Set imenu-create-index-function to
10273 python-imenu-create-index.
10274
cdca8255
SM
102752013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10276
10277 * winner.el (winner-active-region): Use region-active-p, activate-mark
10278 and deactivate-mark (bug#14225).
10279
10280 * simple.el (deactivate-mark): Don't inline it.
10281
beb42340
MA
102822013-04-18 Michael Albinus <michael.albinus@gmx.de>
10283
10284 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10285
fc7f4d7e
TH
102862013-04-18 Tassilo Horn <tsdh@gnu.org>
10287
10288 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10289 file extensions from the archive-mode entry in order to prefer
10290 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10291
29f47822
LL
102922013-04-18 Leo Liu <sdl.web@gmail.com>
10293
10294 * bindings.el (help-event-list): Add ?\?.
10295
d36ed1c8
SM
102962013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10297
10298 * subr.el (with-wrapper-hook): Declare obsolete.
10299 * simple.el (filter-buffer-substring-function): New hook.
10300 (filter-buffer-substring): Use it.
10301 (filter-buffer-substring-functions): Mark obsolete.
10302 * minibuffer.el (completion-in-region-function): New hook.
10303 (completion-in-region): Use it.
10304 (completion-in-region-functions): Mark obsolete.
10305 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10306 * abbrev.el (abbrev-expand-function): New hook.
10307 (expand-abbrev): Use it.
10308 (abbrev-expand-functions): Mark obsolete.
10309 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10310 and :filter-return.
10311
04754d36
FEG
103122013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10313
10314 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10315 and do not care about match data.
10316
dd8791e9
SM
103172013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10318
10319 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10320 completion tables when completing error conditions and
10321 `declare' arguments.
10322 (lisp-complete-symbol, field-complete): Mark as obsolete.
10323 (check-parens): Unmatched parens are user errors.
10324 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10325
ffe54a13
AM
103262013-04-17 Michal Nazarewicz <mina86@mina86.com>
10327
dd8791e9
SM
10328 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10329 command changed buffer (ie. `flyspell-pre-buffer' is not current
10330 buffer), which prevents making decisions based on invalid value of
10331 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10332 cause an error when `flyspell-pre-point' was nil after switching
10333 buffers.
10334 (flyspell-post-command-hook): No longer needs to change buffers when
10335 checking pre-word. While at it remove unnecessary progn.
ffe54a13 10336
ec7e39f2
AM
103372013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10338
10339 * textmodes/ispell.el (ispell-add-per-file-word-list):
10340 Fix `flyspell-correct-word-before-point' error when accepting
10341 words and `coment-padding' is an integer by using
10342 `comment-normalize-vars' (Bug #14214).
10343
083850a6
FEG
103442013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10345
10346 New defun movement commands.
10347 * progmodes/python.el (python-nav--syntactically)
10348 (python-nav--forward-defun, python-nav-backward-defun)
10349 (python-nav-forward-defun): New functions.
10350
619ed6e1
FEG
103512013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10352
10353 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10354 (python-syntax-context): Use named compiler-macro for backwards
10355 compatibility with Emacs 24.x.
10356
7a1beb6c
LL
103572013-04-17 Leo Liu <sdl.web@gmail.com>
10358
10359 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10360 octave-hide-process-buffer.
10361
2d3fa3e5
SM
103622013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10363
10364 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10365 (bug#14216).
10366
7ce5be54
JPG
103672013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10368
10369 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10370 Fix adjustment of offset when receiving incomplete responses from GDB
10371 (bug#14129).
10372
351edece
SM
103732013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10374
10375 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10376 python-mode-abbrev-table.
10377 (python-skeleton-define): Adjust accordingly.
10378 (python-mode-abbrev-table): New table that inherits from it so that
10379 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10380
10381 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10382 (abbrev-symbol): Use it.
10383 (abbrev--before-point): Use it since we already handle inheritance.
10384
613f9481
LL
103852013-04-16 Leo Liu <sdl.web@gmail.com>
10386
10387 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10388 binding to info-lookup-symbol.
10389
51646b62
JB
103902013-04-16 Juanma Barranquero <lekktu@gmail.com>
10391
10392 * minibuffer.el (completion--twq-all):
10393 * term/ns-win.el (ns-initialize-window-system):
10394 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10395
efb3f01d
SM
103962013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10397
36c0a301
SM
10398 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10399 global bindings.
10400
efb3f01d
SM
10401 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10402
fb549d64
DG
104032013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10404
10405 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10406 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10407 to nil.
10408 (ruby-end-of-defun): Remove the unused arg, change the docstring
10409 to reflect that this function is only used as the value of
10410 `end-of-defun-function'.
10411 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10412 to reflect an earlier change that beginning/end-of-defun functions
10413 jump between methods in a class definition, as well as top-level
10414 functions.
10415
21e8fe2f
SM
104162013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10417
10418 * minibuffer.el (minibuffer-complete): Don't just scroll
10419 a *Completions* that's been iconified.
10420 (minibuffer-force-complete): Make sure repetitions do cycle when going
10421 through completion-in-region -> minibuffer-complete.
10422
20e527d0
AM
104232013-04-15 Alan Mackenzie <acm@muc.de>
10424
10425 Correct the placement of c-cpp-delimiters when there're #s not at
10426 col 0.
10427
10428 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10429 place a submatch around the #.
21e8fe2f
SM
10430 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10431 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
10432 on the #, not BOL.
10433
dabefae5
SM
104342013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10435
10436 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10437 (advice--member-p): New arg `name'.
10438 (advice--add-function, advice-member-p): Use it (bug#14202).
10439
85c9ab64
AM
104402013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10441
10442 Reformulate java imenu-generic-expression.
10443 The old expression contained ill formed regexps.
10444
10445 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10446 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10447 (cc-imenu-java-method-arg-regexp): New defconsts.
10448 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 10449 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
10450 handling of spaces in the regexp.
10451
0f821d99
AM
104522013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10453
10454 * textmodes/ispell.el (ispell-command-loop): Remove
10455 flyspell highlight of a word when ispell accepts it (bug #14178).
10456
eb922adf
MA
104572013-04-15 Michael Albinus <michael.albinus@gmx.de>
10458
10459 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10460 uses code from the previous `ange-ftp-run-real-handler'.
10461 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10462 only in case that function exist. This is needed for proper
10463 unloading of Tramp.
10464
4d9a0979
TH
104652013-04-15 Tassilo Horn <tsdh@gnu.org>
10466
10467 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10468
10469 * textmodes/reftex.el (reftex-compile-variables): Use it.
10470
a829b0dc
SM
104712013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10472
91e8293c
SM
10473 * files.el (normal-mode): Only use default major-mode if no other mode
10474 was specified.
10475
830aed4d
SM
10476 * emacs-lisp/trace.el (trace-values): New function.
10477
a829b0dc
SM
10478 * files.el: Allow : in local variables (bug#14089).
10479 (hack-local-variable-regexp): New var.
10480 (hack-local-variables-prop-line, hack-local-variables): Use it.
10481
7ae9f0fb
RW
104822013-04-13 Roland Winkler <winkler@gnu.org>
10483
10484 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10485 data before it gets modified by bibtex-beginning-of-entry.
10486
6646e848
RW
104872013-04-13 Roland Winkler <winkler@gnu.org>
10488
10489 * textmodes/bibtex.el (bibtex-url): Doc fix.
10490
104912013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
10492
10493 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10494 does not visit a BibTeX file, exclude it from the list of buffers
10495 returned by bibtex-initialize.
10496
0aa3616e
SB
104972013-04-13 Stephen Berman <stephen.berman@gmx.net>
10498
10499 * window.el (split-window): Remove interactive form, since as a
10500 command this function is a special case of split-window-below.
10501 Correct doc string.
10502
011cddd6
RW
105032013-04-12 Roland Winkler <winkler@gnu.org>
10504
10505 * faces.el (read-face-name): Do not override value of arg default.
10506 Allow single faces and strings as default values. Remove those
10507 elements from return value that are not faces.
10508 (describe-face): Simplify.
10509 (face-at-point): New optional args thing and multiple so that this
10510 function can provide the same functionality previously provided by
10511 read-face-name.
10512 (make-face-bold, make-face-unbold, make-face-italic)
10513 (make-face-unitalic, make-face-bold-italic, invert-face)
10514 (modify-face, read-face-and-attribute): Use face-at-point.
10515
10516 * cus-edit.el (customize-face, customize-face-other-window)
10517 * cus-theme.el (custom-theme-add-face)
10518 * face-remap.el (buffer-face-set)
10519 * facemenu.el (facemenu-set-face): Use face-at-point.
10520
f24e0036
MA
105212013-04-12 Michael Albinus <michael.albinus@gmx.de>
10522
10523 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10524
da3cda2d
TH
105252013-04-10 Tassilo Horn <tsdh@gnu.org>
10526
10527 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10528 off leading { and trailing } from field values.
10529
15e54145
SM
105302013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10531
78ce603d
SM
10532 * emacs-lisp/timer.el (timer--check): New function.
10533 (timer--time, timer-set-function, timer-event-handler): Use it.
10534 (timer-set-idle-time): Simplify.
10535 (timer--activate): CSE.
10536 (timer-event-handler): Give more info in error message.
10537 (internal-timer-start-idle): New function, moved from C.
10538
15e54145
SM
10539 * mpc.el (mpc-proc): Add `restart' argument.
10540 (mpc-proc-cmd): Use it.
10541 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10542 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10543 less often.
10544
7144c627
MY
105452013-04-10 Masatake YAMATO <yamato@redhat.com>
10546
10547 * progmodes/sh-script.el: Implement `sh-mode' own
10548 `add-log-current-defun-function' (bug#14112).
10549 (sh-current-defun-name): New function.
10550 (sh-mode): Use the function.
10551
b39792eb
BG
105522013-04-09 Bastien Guerry <bzg@gnu.org>
10553
10554 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10555
8acdeb71
SM
105562013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10557
6fcdab68
SM
10558 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10559
8acdeb71
SM
10560 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10561 timer (bug#14156).
10562
e3e7b504
NF
105632013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10564
10565 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10566 declaration.
10567
201bb296
LL
105682013-04-07 Leo Liu <sdl.web@gmail.com>
10569
10570 * pcmpl-x.el: New file.
10571
ebb19708
DA
105722013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10573
10574 Do not set x-display-name until X connection is established.
10575 This is needed to prevent from weird situation described at
10576 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10577 * frame.el (make-frame): Set x-display-name after call to
10578 window system initialization function, not before.
10579 * term/x-win.el (x-initialize-window-system): Add optional
10580 display argument and use it.
10581 * term/w32-win.el (w32-initialize-window-system):
10582 * term/ns-win.el (ns-initialize-window-system):
10583 * term/pc-win.el (msdos-initialize-window-system):
10584 Add compatible optional display argument.
10585
33bb237a
EZ
105862013-04-06 Eli Zaretskii <eliz@gnu.org>
10587
10588 * files.el (normal-backup-enable-predicate): On MS-Windows and
10589 MS-DOS compare truenames of temporary-file-directory and of the
10590 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10591 don't fail comparison by compare-strings. Also, compare file
10592 names case-insensitively on MS-Windows and MS-DOS.
10593
134abf1f
SM
105942013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10595
10596 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10597 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10598
d695cb94
DG
105992013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10600
e3e7b504
NF
10601 * whitespace.el (whitespace-color-on, whitespace-color-off):
10602 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 10603
f4ad7ea1 106042013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
10605
10606 * ispell.el (ispell-set-spellchecker-params):
10607 Really set `ispell-args' for all equivs.
10608
632556e4
SM
106092013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10610
10611 * ido.el (ido-completions): Use extra elements of ido-decorations
10612 (bug#14143).
10613 (ido-decorations): Update docstring.
10614
2a417372
MA
106152013-04-05 Michael Albinus <michael.albinus@gmx.de>
10616
10617 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10618 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10619 nil during initialization, in order not to miss changes since the
10620 file was opened. (Bug#14140)
10621
fc164b0c
LL
106222013-04-05 Leo Liu <sdl.web@gmail.com>
10623
10624 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10625
0ccecc08
JB
106262013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10627
10628 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10629
51af1aa2
GM
106302013-04-04 Glenn Morris <rgm@gnu.org>
10631
10632 * electric.el (electric-pair-inhibit-predicate): Add :version.
10633
b208ebc6
SM
106342013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10635
10636 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10637 when a package is required several times (bug#14082).
10638
f3d3eaf0
RW
106392013-04-04 Roland Winkler <winkler@gnu.org>
10640
10641 * faces.el (read-face-name): Behave as promised by the docstring.
10642 Assume that arg default is a list of faces.
10643 (describe-face): Call read-face-name with list of default faces.
10644
2575da50
TV
106452013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10646
10647 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10648 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10649 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10650 the header.
10651 (bookmark-exit-hook-internal): Save even if list is empty.
10652
397703b4
YH
106532013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10654
10655 * emacs-lisp/package.el (package-pinned-packages): New var.
10656 (package--add-to-archive-contents): Obey it (bug#14118).
10657
691e26ae
AM
106582013-04-03 Alan Mackenzie <acm@muc.de>
10659
8a621d53
JB
10660 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10661 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
10662
10663 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10664 parameter `not-in-delimiter'. Handle being inside comment opener.
10665 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10666 character in case we're typing a '*' after a '/'.
10667 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10668 instead by passing the parameter to c-state-pp-to-literal.
10669
10670 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10671 for elt. 7 of a parse state.
10672
4b725a70
PE
106732013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10674
10675 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10676 * international/latin1-disp.el, international/mule-util.el:
10677 * language/cyril-util.el, language/european.el, language/ind-util.el:
10678 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10679 * language/tibetan.el, language/viet-util.el:
10680 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10681
15c579f0
SM
106822013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10683
10684 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10685 (electric-pair-post-self-insert-function): Use it.
10686 (electric-pair-default-inhibit): New function, extracted from
10687 electric-pair-post-self-insert-function.
10688
a77e2924
RW
106892013-03-31 Roland Winkler <winkler@gnu.org>
10690
10691 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10692
2bd8a4a8
SM
106932013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10694
10695 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10696
8d3655be 106972013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
10698
10699 Un-indent after "pass" and "return" statements (Bug#13888)
10700 * progmodes/python.el (python-indent-block-enders): New var.
10701 (python-indent-calculate-indentation): Use it.
10702
8d3655be 107032013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
10704
10705 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10706 defun. Defining it as defalias could introduce too eager
10707 byte-compiler optimization. (Bug#14030)
10708
8d3655be 107092013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
10710
10711 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10712
0b1619da
LL
107132013-03-30 Leo Liu <sdl.web@gmail.com>
10714
10715 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10716 (kmacro-execute-from-register): Pass the keyboard macro to
10717 kmacro-call-macro or repeating won't work correctly.
10718
0b938190
TZ
107192013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10720
10721 * progmodes/subword.el: Back to using `forward-symbol'.
10722
10723 * subr.el (forward-whitespace, forward-symbol)
10724 (forward-same-syntax): Move from thingatpt.el.
10725
35710234
LL
107262013-03-29 Leo Liu <sdl.web@gmail.com>
10727
10728 * kmacro.el (kmacro-to-register): New command.
10729 (kmacro-execute-from-register): New function.
10730 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10731
efc0bb73
SM
107322013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10733
10734 * mpc.el: Use defvar-local and setq-local.
10735 (mpc--proc-connect): Connection failures are not bugs.
10736 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10737 (mpc-volume-map): Bind to the up-events.
10738
75a2f981
TZ
107392013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10740
10741 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10742 instead of `forward-symbol'.
10743
17c781d1
SM
107442013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10745
10746 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10747 (edebug--recursive-edit): Use it.
10748 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10749 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10750
f67bfbcf
LL
107512013-03-28 Leo Liu <sdl.web@gmail.com>
10752
10753 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10754
b59f639d
EZ
107552013-03-27 Eli Zaretskii <eliz@gnu.org>
10756
10757 * facemenu.el (list-colors-callback): New defvar.
10758 (list-colors-redisplay): New function.
10759 (list-colors-display): Install list-colors-redisplay as the
10760 revert-buffer-function. (Bug#14063)
10761
f557c1b1
SM
107622013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10763
b1da2957
SM
10764 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10765 and suffixes don't overlap (bug#14061).
10766
f557c1b1
SM
10767 * case-table.el: Use lexical-binding.
10768 (case-table-get-table): New function.
10769 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10770
002668e1
TZ
107712013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10772
10773 * progmodes/subword.el: Add `superword-mode' to do word motion
10774 over symbol_words (parallels and leverages `subword-mode' which
10775 does word motion inside MixedCaseWords).
10776
73572c72
AG
107772013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10778
78b8f320 10779 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 10780 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 10781
69b2c07e
SM
107822013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10783
10784 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10785 Change return value to be a sexp. Delay `get-buffer' to after
10786 restoring the desktop (bug#13951).
10787
08bb5ee2
LL
107882013-03-26 Leo Liu <sdl.web@gmail.com>
10789
10790 * register.el: Move semantic tag handling back to
10791 cedet/semantic/senator.el. (Bug#14052)
10792
8d4c974e
SM
107932013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10794
10795 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10796 into the prompt either (bug#13963).
10797
b234d92c
SM
107982013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10799
10800 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10801 part of "(error-foo)".
10802
ddfa3cb4
JL
108032013-03-24 Juri Linkov <juri@jurta.org>
10804
10805 * replace.el (list-matching-lines-prefix-face): New defcustom.
10806 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10807 `occur-engine' if `face-differs-from-default-p' returns t.
10808 (occur-engine): Add `,' inside backquote construct to evaluate
10809 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10810 Pass `prefix-face' to the functions `occur-context-lines' and
10811 `occur-engine-add-prefix'.
10812 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10813 `prefix-face' and propertize the prefix with `prefix-face'.
10814 (Bug#14017)
10815
7b0e2f85
LL
108162013-03-24 Leo Liu <sdl.web@gmail.com>
10817
10818 * nxml/rng-valid.el (rng-validate-while-idle)
10819 (rng-validate-quick-while-idle): Guard against deleted buffer.
10820 (Bug#13999)
10821
10822 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10823 is the last entry in kill-buffer-hook.
10824
10825 * files.el (kill-buffer-hook): Doc fix.
10826
b3082f49
DG
108272013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10828
b234d92c
SM
10829 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10830 Make it safe-local.
bde73d27 10831
b3082f49
DG
10832 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10833
a320a2db
LL
108342013-03-23 Leo Liu <sdl.web@gmail.com>
10835
7e74b0fb
LL
10836 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10837 Remove.
10838
10839 * nxml/rng-valid.el (rng-validate-mode)
10840 (rng-after-change-function, rng-do-some-validation):
10841 * nxml/rng-maint.el (rng-validate-buffer):
10842 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10843 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10844 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10845 (nxml-extend-after-change-region): Use with-silent-modifications.
10846
a320a2db
LL
10847 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10848 timer-idle-list.
10849
10850 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10851 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10852 timer-idle-list. (Bug#13999)
10853
e38e6780
JL
108542013-03-23 Juri Linkov <juri@jurta.org>
10855
10856 * info.el (info-index-match): New face.
10857 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10858 main pattern and add text properties with the new face to matches
10859 in index entries relative to the beginning of the index entry.
10860 (Bug#14015)
10861
e8cc7880
DE
108622013-03-21 Eric Ludlam <zappo@gnu.org>
10863
10864 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10865 Inhibit read only while inserting objects.
10866
9bb0d822
TZ
108672013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10868
10869 * progmodes/cfengine.el: Update docs to mention
10870 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10871 symbol motion. Remove "_" from the word syntax.
10872
aa703640
TZ
108732013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10874
10875 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10876 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10877
afff09d0
JL
108782013-03-20 Juri Linkov <juri@jurta.org>
10879
10880 * info.el (Info-next-reference-or-link)
10881 (Info-prev-reference-or-link): New functions.
10882 (Info-next-reference, Info-prev-reference): Use them.
10883 (Info-try-follow-nearest-node): Handle footnote navigation.
10884 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10885
9a1ff164
SM
108862013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10887
10888 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10889 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10890
2667d15d
PE
108912013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10892
10893 Suppress unnecessary non-ASCII chatter during build process.
10894 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10895 (batch-skkdic-convert): Suppress most of the chatter.
10896 It's not needed so much now that machines are faster,
10897 and its non-ASCII component was confusing; see Dmitry Gutov in
10898 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10899
438b0579
LL
109002013-03-20 Leo Liu <sdl.web@gmail.com>
10901
10902 * ido.el (ido-chop): Fix bug#10994.
10903
c128ab07
DG
109042013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10905
10906 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10907 Remove vars.
9a1ff164
SM
10908 (whitespace-color-on, whitespace-color-off):
10909 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 10910
0e6008c5
SM
109112013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10912
10913 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10914 remapping in mode-line.
10915 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10916
627b52b0
DG
109172013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10918
10919 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10920 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
10921 (whitespace-font-lock-keywords): Change description.
10922 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10923 the constructed keywords instead.
10924 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 10925
50c3a20b
LL
109262013-03-19 Leo Liu <sdl.web@gmail.com>
10927
10928 * progmodes/compile.el (compilation-display-error): New command.
10929 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10930 C-o. (Bug#13992)
10931
2aa2157b
PE
109322013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10933
10934 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10935
e477dbfa
JD
109362013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10937
10938 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10939
64ab82d1
MA
109402013-03-18 Michael Albinus <michael.albinus@gmx.de>
10941
10942 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10943
10944 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10945 * net/tramp-gvfs.el (top):
10946 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10947 (tramp-handle-shell-command): Use it.
10948 (tramp-dissect-file-name): Raise an error when hostname is a
10949 method name, and neither method nor user is specified.
10950
10951 * net/trampver.el: Update release number.
10952
33cef733
LL
109532013-03-18 Leo Liu <sdl.web@gmail.com>
10954
10955 Make sure eldoc can be turned off properly.
10956 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10957 eldoc-mode.
10958 (eldoc-display-message-p): Revert last change.
10959 (eldoc-display-message-no-interference-p)
10960 (eldoc-print-current-symbol-info): Tweak.
10961
2167b7b2
TH
109622013-03-18 Tassilo Horn <tsdh@gnu.org>
10963
10964 * doc-view.el (doc-view-new-window-function): Check the new window
10965 overlay's display property instead the char property of the
10966 buffer's first char. Use `with-selected-window' instead of
10967 `save-window-excursion' with `select-window'.
10968 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 10969 display property instead the char property of the buffer's first char.
2167b7b2 10970
982efbcd
PE
109712013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10972
10973 Automate the build of ja-dic.el (Bug#13984).
10974 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10975 from the input, rather than assume that it's been done for us by the
10976 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10977 the current date into a ja-dic.el comment, as that complicates
10978 regression testing.
10979
2fcc7665
SM
109802013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10981
10982 * whitespace.el: Fix double evaluation.
10983 (whitespace-space, whitespace-hspace, whitespace-tab)
10984 (whitespace-newline, whitespace-trailing, whitespace-line)
10985 (whitespace-space-before-tab, whitespace-indentation)
10986 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10987 obsolete defvars.
10988 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10989 (whitespace-color-on): Use a single font-lock-add-keywords call.
10990 Fix double-evaluation of face variables.
10991
67c0a6e6
MA
109922013-03-17 Michael Albinus <michael.albinus@gmx.de>
10993
2fcc7665
SM
10994 * net/tramp-adb.el (tramp-adb-parse-device-names):
10995 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 10996 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 10997
69489f1d
LL
109982013-03-17 Leo Liu <sdl.web@gmail.com>
10999
11000 Extend eldoc to display info in the mode-line. (Bug#13978)
11001 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11002 (eldoc-mode-line-string): New variable.
11003 (eldoc-minibuffer-message): New function.
11004 (eldoc-message-function): New variable.
11005 (eldoc-message): Use it.
11006 (eldoc-display-message-p)
2fcc7665
SM
11007 (eldoc-display-message-no-interference-p):
11008 Support eldoc-post-insert-mode.
69489f1d
LL
11009
11010 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11011 (eval-expression): Run it.
11012
9c44569e
RW
110132013-03-17 Roland Winkler <winkler@gnu.org>
11014
11015 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11016 strings in the list of return values.
11017
327f1f6f
JB
110182013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11019
11020 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11021 radix before checking for HMS forms.
11022
67ed8fcd
LL
110232013-03-16 Leo Liu <sdl.web@gmail.com>
11024
11025 * progmodes/scheme.el: Add indentation and font-locking for λ.
11026 (Bug#13975)
11027
78be8b64 110282013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
11029
11030 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11031 token before point (bug#13942).
11032
78be8b64 110332013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 11034
95b43468 11035 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 11036
98e775e6
EZ
110372013-03-16 Eli Zaretskii <eliz@gnu.org>
11038
11039 * startup.el (command-line-normalize-file-name): Fix handling of
11040 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11041 <xfq.free@gmail.com> in
11042 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11043
2edd6029
MA
110442013-03-15 Michael Albinus <michael.albinus@gmx.de>
11045
11046 Sync with Tramp 2.2.7.
11047
11048 * net/trampver.el: Update release number.
11049
d35f5864
TH
110502013-03-14 Tassilo Horn <tsdh@gnu.org>
11051
e903c210 11052 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
11053 (doc-view-insert-image): Don't modify overlay associated to
11054 non-live windows, and implement horizontal centering of image in
11055 case it's smaller than the window.
11056 (doc-view-new-window-function): Force redisplay of new windows on
11057 doc-view buffers.
d35f5864 11058
1c4a85ed
KF
110592013-03-13 Karl Fogel <kfogel@red-bean.com>
11060
11061 * saveplace.el (save-place-alist-to-file): Don't sort
11062 `save-place-alist', just pretty-print it (bug#13882).
11063
85b66a21
MA
110642013-03-13 Michael Albinus <michael.albinus@gmx.de>
11065
a020afb9
JB
11066 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11067 Check whether `default-file-name-coding-system' is bound.
11068 It isn't in XEmacs.
85b66a21 11069
175600da
SM
110702013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11071
e7f7cb1a
SM
11072 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11073 backquotes for `obsolete' (bug#13929).
11074
175600da
SM
11075 * international/mule.el (find-auto-coding): Include file name in
11076 obsolescence warning (bug#13922).
11077
ca68a22e
TZ
110782013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11079
11080 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11081 for CFEngine 3-specific indentation.
11082 (cfengine3-indent-line): Use it. Fix up category regex.
11083 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11084
940e5099
SM
110852013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11086
11087 * type-break.el (type-break-file-name):
11088 * textmodes/remember.el (remember-data-file):
11089 * strokes.el (strokes-file):
11090 * shadowfile.el (shadow-initialize):
11091 * saveplace.el (save-place-file):
11092 * ps-bdf.el (bdf-cache-file):
11093 * progmodes/idlwave.el (idlwave-config-directory):
11094 * net/quickurl.el (quickurl-url-file):
11095 * international/kkc.el (kkc-init-file-name):
11096 * ido.el (ido-save-directory-list-file):
11097 * emulation/viper.el (viper-custom-file-name):
11098 * emulation/vip.el (vip-startup-file):
11099 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11100 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11101
cc725808
PE
111022013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11103
11104 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11105 * language/thai-word.el: Switch to UTF-8.
11106
a020afb9 11107See ChangeLog.16 for earlier changes.
e3d51b27
MR
11108
11109;; Local Variables:
11110;; coding: utf-8
e3d51b27
MR
11111;; End:
11112
ab422c4d 11113 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
11114
11115 This file is part of GNU Emacs.
11116
11117 GNU Emacs is free software: you can redistribute it and/or modify
11118 it under the terms of the GNU General Public License as published by
11119 the Free Software Foundation, either version 3 of the License, or
11120 (at your option) any later version.
11121
11122 GNU Emacs is distributed in the hope that it will be useful,
11123 but WITHOUT ANY WARRANTY; without even the implied warranty of
11124 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11125 GNU General Public License for more details.
11126
11127 You should have received a copy of the GNU General Public License
11128 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.