* lisp/emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
2013a2f9
SM
12013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
4 (cua--deactivate-rectangle): Don't deactivate the mark.
5 (cua-set-rectangle-mark): Don't set mark-active since
6 cua--activate-rectangle already does it for us.
7 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
8 non-rectangular region.
9
10 * emulation/cua-base.el (cua-repeat-replace-region):
11 Use with-current-buffer.
12
13 * net/gnutls.el: Use cl-lib.
14 (gnutls-negotiate): `mapcan' -> cl-mapcan.
15
5ae811dd
TZ
162013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
17
18 * emacs-lisp/package.el (package-built-in-p): Support both
19 built-in and the package.el converted package descriptions.
20 (package-show-package-list): Allow keywords.
21 (package-keyword-button-action): Use it instead of
22 `finder-list-matches'.
23 (package-menu-filter-interactive): Interactive filtering (by
24 keyword) function.
25 (package-menu--generate): Support keywords and change keymappings
26 and headers when they are given.
27 (package--has-keyword-p): Helper function.
28 (package-menu--refresh): Use it.
29 (package--mapc): Helper function.
30 (package-all-keywords): Use it.
31 (package-menu-mode-map): Set up menu items and keybindings to
32 provide a filtering UI.
33
31b4827e
TZ
342013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
35
36 * net/gnutls.el (gnutls-verify-error): New defcustom to control
37 the behavior when a certificate fails validation. Defaults to
38 old behavior: never abort, just warn.
39 (gnutls-negotiate): Use it.
40
f93cc74f
MR
412013-12-14 Martin Rudalics <rudalics@gmx.at>
42
43 * window.el (display-buffer-below-selected): Never split window
44 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
45
f77d7d17
TW
462013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
47
48 * emacs-lisp/package.el (package--prepare-dependencies): New function.
49 (package-buffer-info): Use it (bug#15108).
aa2bddd7
SM
50
51 * icomplete.el (icomplete-completions): Make sure the prefix is already
52 displayed elsewhere before hiding it.
53
276bc333
DG
542013-12-14 Dmitry Gutov <dgutov@yandex.ru>
55
56 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
57 open-paren tokens when preceded by a open-paren, too.
58 (ruby-smie-rules): Handle virtual indentation after open-paren
59 tokens specially. If there is code between it and eol, return the
60 column where is starts (Bug#16118).
61
d43957f3
TZ
622013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
63
a5c1ac0c 64 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 65 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
66 (cfengine3--current-word): Fix parameters.
67 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
68 (cfengine3-completion-function, cfengine3--current-function):
69 Use `assq' for symbols.
d43957f3
TZ
70 (cfengine3--current-function): Fix `cfengine3--current-word' call.
71
06a4f110
GM
722013-12-13 Glenn Morris <rgm@gnu.org>
73
74 * loadup.el (load-path): Warn if site-load or site-init changes it.
75 No more need to reset it when bootstrapping.
76
978a5fda
TZ
772013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
78
79 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
80 locations for cf-promises.
81 (cfengine-mode-syntax-functions-regex): New caching variable.
82 (cfengine3-fallback-syntax): Fallback syntax for cases where
83 cf-promises doesn't run.
84 (cfengine3--current-word): Reimplement using
85 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
86 (cfengine3-completion-function, cfengine3--current-function):
87 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
88 (cfengine3-clear-syntax-cache): New function.
89 (cfengine3-make-syntax-cache): Simplify and create
90 `cfengine-mode-syntax-functions-regex' on demand.
91 (cfengine3-format-function-docstring): Don't call
92 `cfengine3-make-syntax-cache' explicitly.
93
71e6691e
MR
942013-12-13 Martin Rudalics <rudalics@gmx.at>
95
96 Fix windmove-find-other-window broken after pixelwise resizing
97 (Bug#16017).
98 * windmove.el (windmove-other-window-loc): Revert change from
99 2013-12-04.
100 (windmove-find-other-window): Call window-in-direction.
101 * window.el (window-in-direction): New arguments SIGN, WRAP and
102 MINI to emulate original windmove-find-other-window behavior.
103
84c73ba0
DG
1042013-12-13 Dmitry Gutov <dgutov@yandex.ru>
105
106 * simple.el (blink-matching--overlay): New variable.
107 (blink-matching-open): Instead of moving point, highlight the
108 matching paren with an overlay
109 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
110
111 * faces.el (paren-showing-faces, show-paren-match)
112 (show-paren-mismatch): Move from paren.el.
113
b9e20952
LL
1142013-12-13 Leo Liu <sdl.web@gmail.com>
115
116 * indent.el (indent-region): Disable progress reporter in
117 minibuffer. (Bug#16108)
118
119 * bindings.el (visual-order-cursor-movement): Fix version.
120
ce030451
FEG
1212013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
122
123 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
124 Also match after beginning of line.
125 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
126 files. Thanks to Russell Sim. (Bug#15378)
127
4a9c6865
JL
1282013-12-13 Juri Linkov <juri@jurta.org>
129
130 * simple.el <Keypad support>: Remove key bindings duplicated
131 with bindings.el. (Bug#14397)
132
2bc170c3
JL
1332013-12-13 Juri Linkov <juri@jurta.org>
134
135 * comint.el (comint-mode-map): Replace `delete-char' with
136 `delete-forward-char'. (Bug#16109)
137
bc9222c9
FEG
1382013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
139
aa2bddd7
SM
140 * progmodes/python.el (python-indent-calculate-indentation):
141 Fix de-denters cornercase. (Bug#15731)
bc9222c9 142
cb3a1380
SM
1432013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
144
145 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
146 (advice--make): Pay attention to `depth'.
147 (advice--make-1): Don't autoload commands eagerly.
148 * emacs-lisp/elp.el (elp-instrument-function):
149 * emacs-lisp/trace.el (trace-function-internal):
150 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
151
152 * iswitchb.el (iswitchb-mode): Don't belittle ido.
153
01633a17
EZ
1542013-12-12 Eli Zaretskii <eliz@gnu.org>
155
156 * term/w32-win.el (w32-handle-dropped-file):
157 * startup.el (normal-top-level):
158 * net/browse-url.el (browse-url-file-url):
159 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
160 decode file names using 'utf-8' rather than
161 file-name-coding-system.
162
09faee72
FEG
1632013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
164
165 * progmodes/python.el (python-indent-context)
166 (python-indent-calculate-indentation): Fix auto-identation
167 behavior for comment blocks. (Bug#15916)
168
f4f84024 1692013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 170
cb3a1380
SM
171 * progmodes/python.el (python-indent-calculate-indentation):
172 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
173 operators when they are just string constituents. (Bug#15812)
174
d5ccb7be
JL
1752013-12-12 Juri Linkov <juri@jurta.org>
176
177 * uniquify.el (uniquify-buffer-name-style): Change default to
178 `post-forward-angle-brackets'.
179
180 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
181 `uniquify'. Change default to `post-forward-angle-brackets'.
182
7b3f5679
GM
1832013-12-11 Glenn Morris <rgm@gnu.org>
184
185 * emacs-lisp/package.el (finder-list-matches):
186 Autoload rather than falsely declaring.
187
f4fe8fdd
TZ
1882013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
189
190 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
191 (eww-mode-map): Use them.
192
3c29190f
MR
1932013-12-11 Martin Rudalics <rudalics@gmx.at>
194
195 * window.el (display-buffer-in-side-window): Fix doc-string
196 (Bug#16115).
197
0cd616a2
JB
1982013-12-11 Juanma Barranquero <lekktu@gmail.com>
199
200 * vc/vc-git.el: Silence byte-compiler warnings.
201 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
202 (log-edit-set-header): Declare.
203
3ef8e0d1
EZ
2042013-12-11 Eli Zaretskii <eliz@gnu.org>
205
206 * Makefile.in (custom-deps, finder-data): Run output file names
207 through unmsys--file-name. (Bug#16099)
208
afdadaf7
SM
2092013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
210
7ae3ae39 211 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 212 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 213
5b4f37ab
SM
214 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
215 instead of deleting the selection "by hand" (bug#16098).
216 Rely on insert-for-yank to yank rectangles.
217 (cua-highlight-region-shift-only): Mark obsolete.
218 (cua-mode): Don't enable/disable transient-mark-mode,
219 shift-select-mode (cua-mode works both with and without them), and
220 pc-selection-mode (obsolete).
221 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
222 (cua--deactivate-rectangle): Deactivate it.
223
4b72c12b
SM
224 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
225 (delete-selection-helper): Make sure yank starts at the top of the
226 deleted region.
227 (minibuffer-keyboard-quit): Use region-active-p.
228
e82af72d
SM
229 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
230
afdadaf7
SM
231 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
232 to `delete' (bug#16109).
233
ed4bc201
RS
2342013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
235
236 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
237 info manual and show keybindings and set `:group' keyword.
238
bb8097b9
JL
2392013-12-11 Juri Linkov <juri@jurta.org>
240
241 * delsel.el (delete-active-region): Let-bind `this-command'
242 to prevent `kill-region' from changing its original value.
243 (delete-selection-helper): Handle `overwrite-mode' for the type
244 `kill' exactly the same way as for the type `t'.
245 (insert-char, quoted-insert, reindent-then-newline-and-indent):
246 Support more commands. (Bug#13312)
247
c1916ff5
JL
2482013-12-11 Juri Linkov <juri@jurta.org>
249
250 * bindings.el: Map kp keys to non-kp keys systematically
251 with basic modifiers control, meta and shift. (Bug#14397)
252
b68cf43c
KN
2532013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
254
255 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
256 "Close browser" menu items. Fix wrong function of "List
257 bookmarks".
258
4cc51eaf
JL
2592013-12-11 Juri Linkov <juri@jurta.org>
260
261 * misearch.el (multi-isearch-buffers): Set the value of
262 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
263 arg of isearch-forward to t.
264 (multi-isearch-buffers-regexp): Set the value of
265 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
266 arg of isearch-forward-regexp to t.
267 (multi-isearch-files): Set the value of
268 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
269 arg of isearch-forward to t.
270 (multi-isearch-files-regexp): Set the value of
271 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
272 arg of isearch-forward-regexp to t. (Bug#16035)
273
274 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
275 arg of isearch-forward to t.
276 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
277 arg of isearch-forward-regexp to t.
278 (dired-isearch-filter-filenames): Remove unnecessary check for
279 `dired-isearch-filenames'.
280
281 * comint.el (comint-history-isearch-backward):
282 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
283 (comint-history-isearch-backward-regexp):
284 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
285
ceac12b7
EZ
2862013-12-10 Eli Zaretskii <eliz@gnu.org>
287
288 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
289 unmsys--file-name. (Bug#16099)
290
5a565782
TZ
2912013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
292
cb3a1380
SM
293 * emacs-lisp/package.el (package-keyword-button-action):
294 Remove finder.el require dependency.
5a565782 295
a81fc7ba
TZ
2962013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
297
298 * emacs-lisp/package.el: Require finder.el.
299 (describe-package-1): Add keyword buttons.
300 (package-make-button): New convenience function.
301 (package-keyword-button-action): Keyword button action using
302 `finder-list-matches'
303
6aaca951
EZ
3042013-12-09 Eli Zaretskii <eliz@gnu.org>
305
306 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
307 last commit.
308
a1099a91
MA
3092013-12-09 Michael Albinus <michael.albinus@gmx.de>
310
311 * autorevert.el (auto-revert-notify-add-watch): Do not handle
312 symlinked files.
313
8212d9c0
DG
3142013-12-09 Dmitry Gutov <dgutov@yandex.ru>
315
316 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
317 after the end of a percent literal.
318
8f48d131
CD
3192013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
320
cb3a1380
SM
321 * progmodes/ruby-mode.el (ruby-forward-string): Document.
322 Handle caret-delimited strings (Bug#16079).
8f48d131 323
ff8c9764
DG
3242013-12-09 Dmitry Gutov <dgutov@yandex.ru>
325
cb3a1380
SM
326 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
327 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
328 `ruby-parse-partial' (Bug#16078).
329
d64643b4
LL
3302013-12-09 Leo Liu <sdl.web@gmail.com>
331
332 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
333
47e59c66
DG
3342013-12-08 Dmitry Gutov <dgutov@yandex.ru>
335
336 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
337 (js-switch-indent-offset): New option.
338 (js--proper-indentation): Use it. And handle the case when
339 "default" is actually a key in an object literal.
340 (js--same-line): New function.
341 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
342 (js--indent-in-array-comp, js--array-comp-indentation):
343 New functions.
47e59c66
DG
344 (js--proper-indentation): Use them, to handle array comprehension
345 continuations.
346
974ebc9c
LL
3472013-12-08 Leo Liu <sdl.web@gmail.com>
348
349 * progmodes/flymake.el (flymake-highlight-line): Re-write.
350 (flymake-make-overlay): Remove arg MOUSE-FACE.
351 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
352
27262e39
SM
3532013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
354
355 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
356 New function.
357 (redisplay-highlight-region-function): Use it.
358
359 * emulation/cua-base.el (cua--explicit-region-start)
360 (cua--last-region-shifted): Remove.
361 (cua--deactivate): Use deactivate-mark.
362 (cua--pre-command-handler-1): Don't handle shift-selection.
363 (cua--post-command-handler-1): Don't change transient-mark-mode.
364 (cua--select-keymaps): Use region-active-p rather than
365 cua--explicit-region-start or cua--last-region-shifted.
366 (cua-mode): Enable shift-select-mode.
367
6407822c
LL
3682013-12-08 Leo Liu <sdl.web@gmail.com>
369
27262e39
SM
370 * progmodes/flymake.el (flymake-popup-current-error-menu):
371 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
372 (flymake-posn-at-point-as-event, flymake-popup-menu)
373 (flymake-make-emacs-menu): Remove. (Bug#16077)
374
00a2b823
SM
3752013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
376
02033d49
SM
377 * rect.el (rectangle-mark-mode): Activate mark even if
378 transient-mark-mode is off (bug#16066).
379 (rectangle--highlight-for-redisplay): Fix boundary condition when point
380 is > mark and at bolp.
381
6f8dfccf
SM
382 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
383 (region-extract-function): Use it.
384 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
385 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
386 Delete functions.
387 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
388 kill-ring-save, kill-region, delete-char, delete-forward-char.
389 Ignore self-insert-iso.
390
391 * emulation/cua-gmrk.el (cua--init-global-mark):
392 Ignore `self-insert-iso'.
393
394 * emulation/cua-base.el (cua--prefix-copy-handler)
395 (cua--prefix-cut-handler): Rely on region-extract-function rather than
396 checking cua--rectangle.
397 (cua-delete-region): Use region-extract-function.
398 (cua-replace-region): Delete function.
399 (cua-copy-region, cua-cut-region): Obey region-extract-function.
400 (cua--pre-command-handler-1): Don't do the delete-selection thing.
401 (cua--self-insert-char-p): Ignore `self-insert-iso'.
402 (cua--init-keymaps): Don't remap delete-selection commands.
403 (cua-mode): Use delete-selection-mode instead of rolling our own
404 (bug#16085).
405
406 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
407 Obey region-extract-function.
408
00a2b823
SM
409 Make registers and delete-selection-mode work on rectangles.
410 * register.el (describe-register-1): Don't modify the register's value.
411 (copy-to-register): Obey region-extract-function.
412 * delsel.el (delete-active-region): Obey region-extract-function.
413
a92fa5f1
LL
4142013-12-08 Leo Liu <sdl.web@gmail.com>
415
416 * progmodes/flymake.el (flymake, flymake-error-bitmap)
417 (flymake-warning-bitmap, flymake-fringe-indicator-position)
418 (flymake-compilation-prevents-syntax-check)
419 (flymake-start-syntax-check-on-newline)
420 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
421 (flymake-start-syntax-check-on-find-file, flymake-log-level)
422 (flymake-xml-program, flymake-master-file-dirs)
423 (flymake-master-file-count-limit)
424 (flymake-allowed-file-name-masks): Relocate.
425 (flymake-makehash, flymake-float-time)
426 (flymake-replace-regexp-in-string, flymake-split-string)
427 (flymake-get-temp-dir): Remove.
428 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
429 (flymake-current-row, flymake-selected-frame)
430 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
431 related functions. (Bug#16077)
432
73c8ceea
BB
4332013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
434
435 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
436
faec28d9
TH
4372013-12-07 Tassilo Horn <tsdh@gnu.org>
438
439 * help-fns.el (describe-function-1): Use new advice-* functions
440 rather than old ad-* functions. Fix function type description and
441 source links for advised functions and subrs.
442
e330b646
LMI
4432013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
444
00a2b823 445 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 446
4803595d
MA
4472013-12-06 Michael Albinus <michael.albinus@gmx.de>
448
449 * progmodes/compile.el (compilation-start):
450 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
451
452 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
453 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
454
fa834a93
DG
4552013-12-06 Dmitry Gutov <dgutov@yandex.ru>
456
00a2b823
SM
457 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
458 Touch up the last change.
fa834a93 459
b2856a6f
LL
4602013-12-06 Leo Liu <sdl.web@gmail.com>
461
462 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
463 (inferior-octave-startup): Always use "octave> " for prompt.
464 (octave-goto-function-definition)
465 (octave-sync-function-file-names)
466 (octave-find-definition-default-filename): Remove redundant backquotes.
467
af67e79a
DG
4682013-12-06 Dmitry Gutov <dgutov@yandex.ru>
469
470 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
471 syntax for `?'.
472 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
473 where appropriate already.
474 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
475 end of method names (Bug#15874).
476
bf093209
JL
4772013-12-06 Juri Linkov <juri@jurta.org>
478
479 * isearch.el (isearch--saved-overriding-local-map):
480 New internal variable.
481 (isearch-mode): Set it to the initial value of
482 `overriding-terminal-local-map'.
483 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
484 with `isearch--saved-overriding-local-map'. (Bug#16035)
485
16588fad
DG
4862013-12-06 Dmitry Gutov <dgutov@yandex.ru>
487
00a2b823
SM
488 * progmodes/octave.el (inferior-octave-completion-table):
489 Turn back into function, use `completion-table-with-cache'
16588fad
DG
490 (Bug#11906). Update all references.
491
492 * minibuffer.el (completion-table-with-cache): New function.
493
bf4906d7
CD
4942013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
495
496 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
497
ff69c18f
TZ
4982013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
499
500 * net/eww.el (eww-current-source): New variable to store page
501 source.
502 (eww-display-html, eww-mode, eww-save-history)
503 (eww-restore-history): Use it.
504 (eww-view-source): New command to view page source.
505 Opportunistically uses `html-mode' to highlight the buffer.
506 (eww-mode-map): Install it.
507
b85eff45
MA
5082013-12-05 Michael Albinus <michael.albinus@gmx.de>
509
510 * net/dbus.el (dbus-unregister-service)
511 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
512 Fix docstring.
513 (dbus-unregister-service): Skip :serial entries in
514 `dbus-registered-objects-table'.
515 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
516
39eb0899
TZ
5172013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
518
519 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
520 around keywords with extra `split-string' argument.
521
456760a5
MR
5222013-12-04 Martin Rudalics <rudalics@gmx.at>
523
524 * windmove.el (windmove-other-window-loc): Handle navigation
525 between windows (excluding the minibuffer window - Bug#16017).
526
81961e4c
MA
5272013-12-04 Michael Albinus <michael.albinus@gmx.de>
528
529 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
530 in D-Bus type syntax.
531 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
532 preserve unibyte strings. (Bug#16048)
533
8497f938
SM
5342013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
535
536 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
537 Call force-mode-line-update is the proper buffer (bug#16042).
538
dda61916
DG
5392013-12-04 Dmitry Gutov <dgutov@yandex.ru>
540
541 * vc/log-edit.el (log-edit-add-new-comment): Rename to
542 `log-edit-remember-comment', make argument optional. Adjust all
543 callers.
544 (log-edit-mode): Add `log-edit-remember-comment' to
545 `kill-buffer-hook' locally.
546 (log-edit-kill-buffer): Don't remember comment explicitly since
547 the buffer is killed anyway.
548
c085e5b9
JL
5492013-12-04 Juri Linkov <juri@jurta.org>
550
551 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
552 add-hook and remove-hook for multi-buffer search. (Bug#16035)
553
d6f2380e
TR
5542013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
555
556 * notifications.el (notifications-close-notification): Call the
81961e4c 557 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 558
39fa32d6
KY
5592013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
560
561 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
562
9139632a
JL
5632013-12-03 Juri Linkov <juri@jurta.org>
564
565 * progmodes/compile.el (compilation-start): Rename window alist
566 entry `no-display-ok' to `allow-no-window'.
567
568 * simple.el (shell-command): Add window alist entry
569 `allow-no-window' to `display-buffer'.
570 (async-shell-command): Doc fix.
571
572 * window.el (display-buffer-no-window): New action function.
573 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
574
0f457a37
DG
5752013-12-02 Dmitry Gutov <dgutov@yandex.ru>
576
577 * vc/log-edit.el (log-edit-set-header): Extract from
578 `log-edit-toggle-header'.
579 (log-edit-extract-headers): Separate the summary, when extracted
580 from header, from the rest of the message with an empty line.
581
582 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
583 line, if present, to the Summary header.
584
0962f376
SM
5852013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
586
587 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
588 in current-buffer (bug#16029).
589
f345395c
HE
5902013-12-02 Helmut Eller <eller.helmut@gmail.com>
591
592 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
593 (debugger-mode-map): Bind it.
594 (debugger--backtrace-base): New function.
595 (debugger-eval-expression): Use it.
596 (debugger-frame-number): Skip local vars when present.
597 (debugger--locals-visible-p, debugger--insert-locals)
598 (debugger--show-locals, debugger--hide-locals): New functions.
599
a8a15d9d
MA
6002013-12-02 Michael Albinus <michael.albinus@gmx.de>
601
602 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
603 "LC_ALL".
604 (tramp-get-remote-locale): New defun.
605 (tramp-open-connection-setup-interactive-shell): Use it.
606
0518b057
LL
6072013-12-02 Leo Liu <sdl.web@gmail.com>
608
609 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
610
611 * progmodes/sh-script.el (sh-shell-process):
612 * progmodes/octave.el (inferior-octave-process-live-p):
613 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
614 (gdb-inferior-io-sentinel):
615 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
616
3adc9c6d
DG
6172013-12-02 Dmitry Gutov <dgutov@yandex.ru>
618
619 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
620 `save-selected-window' to `log-edit-hide-buf'. This makes
621 `log-edit-show-files' idempotent.
622 (log-edit-show-files): Mark the new window as dedicated.
623
47e8b74e
DG
6242013-12-02 Dmitry Gutov <dgutov@yandex.ru>
625
626 * vc/log-edit.el (log-edit-mode-map): Add binding for
627 `log-edit-kill-biffer'.
628 (log-edit-hide-buf): Add a FIXME comment.
629 (log-edit-add-new-comment): New function, extracted from
630 `log-edit-done'.
631 (log-edit-done, log-edit-add-to-changelog): Use it.
632 (log-edit-kill-buffer): New command.
633
1f6e1bb0
LMI
6342013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
635
636 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
637 instead of killing the buffer.
638
fb651d15
SM
6392013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
640
641 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
642
8feacce0
RS
6432013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
644
fb651d15 645 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 646 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
647 (eww-form-checkbox, eww-toggle-checkbox):
648 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
649
650 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
651 (shr--get-media-pref, shr--extract-best-source): New function.
ad9a773c
RS
652 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
653 no :src tag was specified.
654
fb651d15 655 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
656 (eww-render): Handle `eww-use-external-browser-for-content-type'.
657 Use \\` to match beginning of string instead of ^.
658 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 659 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 660
177948a5
RS
661 * net/shr.el (shr-tag-video): Display content for video if no
662 poster is available.
eb2dd24d 663 (shr-tag-audio): Add support for <audio> tag.
177948a5
RS
664
665 * net/eww.el (eww-text-input-types): : New const.
666 (eww-process-text-input): Treat input types in
667 `eww-text-input-types' as text.
668
8feacce0
RS
669 * net/shr.el (shr-tag-table): Fix comment typo.
670
513562a1
LMI
6712013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
672
673 * net/eww.el (eww-follow-link): New command to avoid reloading
674 pages when we follow #target links (bug#15243).
de8a5633 675 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 676
9dd99753
KN
6772013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
678
679 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
680 forms.
681
3e9876de
LMI
6822013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
683
684 * net/eww.el (eww-restore-history): Update the window title after
685 moving in the history.
ab6dea82 686 (eww-current-dom): New variable used to save the current DOM.
3e9876de 687
52789f7f
DG
6882013-12-01 Dmitry Gutov <dgutov@yandex.ru>
689
690 * vc/log-edit.el (log-edit-mode-map): Add binding for
691 `log-edit-beginning-of-line'.
692 (log-edit-setup-add-author): New user option.
693 (log-edit-beginning-of-line): New command.
694 (log-edit): Move major mode call above the contents setup so that
695 the local variable values are already applied.
696 (log-edit): Only insert "Author: " when
697 `log-edit-setup-add-author' is non-nil.
698 (log-edit): When SETUP is non-nil, position point after ": "
699 instead of point-min.
700
2e6710c3
GM
7012013-12-01 Glenn Morris <rgm@gnu.org>
702
703 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
704
fadec31f
EZ
7052013-11-30 Eli Zaretskii <eliz@gnu.org>
706
707 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 708 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
709 visible. (Bug#16014)
710
10634b40 7112013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
712
713 Support resizing frames and windows pixelwise.
714 * cus-start.el (frame-resize-pixelwise)
715 (window-resize-pixelwise): New entries.
716 * emacs-lisp/debug.el (debug): Use window-total-height instead
717 of window-total-size.
718 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
719 * help.el (describe-bindings-internal): Call help-buffer
720 (temp-buffer-max-width): New option.
721 (resize-temp-buffer-window, help-window-setup)
722 (with-help-window): Rewrite.
723 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
724 dragging dividers.
725 * window.el (frame-char-size, window-min-pixel-height)
726 (window-safe-min-pixel-height, window-safe-min-pixel-width)
727 (window-min-pixel-width, window-safe-min-pixel-size)
728 (window-combination-p, window-safe-min-size)
729 (window-resizable-p, window--size-to-pixel)
730 (window--pixel-to-size, window--resize-apply-p): New functions.
731 (window-safe-min-height): Fix doc-string.
732 (window-size, window-min-size, window--min-size-1)
733 (window-sizable, window-sizable-p, window--min-delta-1)
734 (window-min-delta, window--max-delta-1, window-max-delta)
735 (window--resizable, window--resizable-p, window-resizable)
736 (window-full-height-p, window-full-width-p, window-at-side-p)
737 (window--in-direction-2, window-in-direction)
738 (window--resize-reset-1, window--resize-mini-window)
739 (window-resize, window-resize-no-error)
740 (window--resize-child-windows-normal)
741 (window--resize-child-windows, window--resize-siblings)
742 (window--resize-this-window, window--resize-root-window)
743 (window--resize-root-window-vertically)
744 (adjust-window-trailing-edge, enlarge-window, shrink-window)
745 (maximize-window, minimize-window, delete-window)
746 (quit-restore-window, window-split-min-size, split-window)
747 (balance-windows-2, balance-windows)
748 (balance-windows-area-adjust, balance-windows-area)
749 (window--state-get-1, window-state-get, window--state-put-1)
750 (window--state-put-2, window-state-put)
fb651d15
SM
751 (display-buffer-record-window, window--display-buffer):
752 Make functions handle pixelwise sizing of windows.
880e6158 753 (display-buffer--action-function-custom-type)
fb651d15
SM
754 (display-buffer-fallback-action):
755 Add display-buffer-in-previous-window.
880e6158
MR
756 (display-buffer-use-some-window): Resize window to height it had
757 before.
758 (fit-window-to-buffer-horizontally): New option.
759 (fit-frame-to-buffer): Describe new values.
760 (fit-frame-to-buffer-bottom-margin): Replace with
761 fit-frame-to-buffer-margins.
762 (window--sanitize-margin): New function.
763 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
764 using window-text-pixel-size.
765
f9b697dd
GM
7662013-11-30 Glenn Morris <rgm@gnu.org>
767
3e2fb4db
GM
768 * emacs-lisp/bytecomp.el (byte-compile-form):
769 Make the `interactive-only' warning like the `obsolete' one.
770 * comint.el (comint-run):
771 * files.el (insert-file-literally, insert-file):
772 * replace.el (replace-string, replace-regexp):
773 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
774 (goto-line, insert-buffer, next-line, previous-line):
775 Tweak `interactive-only' spec.
776
f9b697dd
GM
777 Stop keeping (most) generated cedet grammar files in the repository.
778 * Makefile.in (semantic): New.
779 (compile-main): Depend on semantic.
780
da048127
SM
7812013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
782
7784b779
SM
783 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
784 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
785
4e36a6a6
SM
786 * uniquify.el (uniquify-buffer-name-style): Change default.
787
788 * loadup.el: Preload "uniquify".
789
e0ba1308
SM
790 * time.el (display-time-update): Update all mode lines (bug#15999).
791
da048127
SM
792 * electric.el (electric-indent-mode): Enable by default.
793 * loadup.el: Preload "electric".
794
015b3b3e
BB
7952013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
796
797 * emacs-lisp/helpers.el (string-empty-p): New function.
798 (string-blank-p): New function.
799
7efb806d
AP
8002013-11-29 Andreas Politz <politza@hochschule-trier.de>
801
802 * imenu.el (imenu--index-alist): Add missing dot to the docstring
803 (Bug#14029).
804
c8f0efc2
AP
8052013-11-29 Andreas Politz <politza@fh-trier.de>
806 * imenu.el (imenu--subalist-p): Don't error on non-conses and
807 allow non-lambda lists as functions.
808 (imenu--in-alist): Don't recurse into non-subalists.
809 (imenu): Don't pass function itself as an argument (Bug#14029).
810
bd15d9d1
SM
8112013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
812
813 * progmodes/python.el (python-mode-map): Remove binding for ":".
814 (python-indent-electric-colon): Remove command.
815 (python-indent-post-self-insert-function): Integrate the previous code
816 of python-indent-electric-colon. Make it conditional on
817 electric-indent-mode.
818 (python-mode): Add ?: to electric-indent-chars.
819 Move python-indent-post-self-insert-function to the end of
820 post-self-insert-hook.
821
1b10adb6
SM
8222013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
823
655ab9a3
SM
824 * doc-view.el (doc-view-goto-page): Update mode-line.
825
1b10adb6
SM
826 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
827
7e3bf78c
GM
8282013-11-27 Glenn Morris <rgm@gnu.org>
829
830 * international/charprop.el, international/uni-bidi.el:
831 * international/uni-category.el, international/uni-combining.el:
832 * international/uni-comment.el, international/uni-decimal.el:
833 * international/uni-decomposition.el, international/uni-digit.el:
834 * international/uni-lowercase.el, international/uni-mirrored.el:
835 * international/uni-name.el, international/uni-numeric.el:
836 * international/uni-old-name.el, international/uni-titlecase.el:
837 * international/uni-uppercase.el:
838 Remove generated files from VCS repository.
839
fb6a5d68
EZ
8402013-11-27 Eli Zaretskii <eliz@gnu.org>
841
842 * filenotify.el (file-notify-add-watch): Don't special-case
843 w32notify when computing the directory to watch.
844
cb6c95a3
GM
8452013-11-27 Glenn Morris <rgm@gnu.org>
846
20372d0c
GM
847 Make bootstrap without generated uni-*.el files possible again.
848 * loadup.el: Update command-line-args checking for unidata-gen.
849 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
850 * composite.el, international/characters.el:
851 Handle unicode tables being undefined.
852
52d6635f 853 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
854 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
855 (compile-main): Depend on leim rule.
856 (leim): New rule.
857 * loadup.el: Move leim-list.el to leim/ subdirectory.
858 * startup.el (normal-top-level): No more leim directory.
859 * international/ja-dic-cnv.el (skkdic-convert):
860 Disable version-control and autoloads in output files.
861 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
862 Disable version-control and autoloads in output files.
863 * leim/quail: Move here from ../leim.
864 * leim/quail/hangul.el (hangul-input-method-activate):
865 Add autoload cookie.
866 (generated-autoload-load-name): Set file-local value.
867 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
868 (generated-autoload-load-name): Set file-local value.
869
0449d6cd 8702013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee
TZ
871
872 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
873 (eww-add-bookmark): ask confirmation when add to bookmarks
874 (eww-quit): ask confirmation before quitting eww
875
0e2c793f
EZ
8762013-11-26 Eli Zaretskii <eliz@gnu.org>
877
878 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
879 reading output from Diff on MS-Windows and MS-DOS.
880
447bdcb8
BB
8812013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
882
883 * emacs-lisp/helpers.el (string-reverse): New function.
884
5fbf6856
MA
8852013-11-26 Michael Albinus <michael.albinus@gmx.de>
886
887 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
888 names on MS Windows, like "/[::1]:".
889
890 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
891 SWITCHES.
892
624780f0
GM
8932013-11-26 Glenn Morris <rgm@gnu.org>
894
0bf3f0fa
GM
895 * progmodes/python.el (python-indent-guess-indent-offset):
896 Avoid corner-case error. (Bug#15975)
897
624780f0
GM
898 Preload leim-list.el. (Bug#4789)
899 * loadup.el: Load leim-list.el when found.
900 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
901
4301875e 9022013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
903
904 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
905
4301875e
BB
906 * emacs-lisp/helpers.el (string-join): New function.
907
1633a815 9082013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
909
910 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
911 Mark as obsolete and replace it with a symbol property.
912 (byte-compile-form): Use new 'interactive-only property.
913 * comint.el, files.el, replace.el, simple.el:
914 Apply new 'interactive-only properly.
915
00139435
MR
9162013-11-25 Martin Rudalics <rudalics@gmx.at>
917
918 * window.el (display-buffer-at-bottom): Make sure that
919 split-window-sensibly creates the new window on bottom
920 (Bug#15961).
921
5f5b128d
DK
9222013-11-23 David Kastrup <dak@gnu.org>
923
924 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
925 on the conflict markers when available.
926 (smerge--get-marker): New function.
927 (smerge-end-re, smerge-base-re): Add subgroup.
928
623891e5
SM
9292013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
930
931 * frame.el (handle-focus-in, handle-focus-out): Add missing
932 interactive spec.
933
05ca27d8
MA
9342013-11-25 Michael Albinus <michael.albinus@gmx.de>
935
936 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
937 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
938
511fa0d3
SM
9392013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
940
e82ad66c
SM
941 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
942 (gomoku--last-pos): New var.
943 (gomoku--intangible-chars): New const.
944 (gomoku--intangible): New function.
945 (gomoku-mode): Use it. Derive from special-mode.
946 (gomoku-move-up): Adjust line count.
947 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
948 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
949 Simplify accordingly.
950
511fa0d3
SM
951 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
952 Remove blink-cursor code.
953 (blink-cursor-timer-function, blink-cursor-suspend):
954 Don't special-case GUIs.
955 (blink-cursor-mode): Use focus-in/out-hook.
956
6f20dd03
DG
9572013-11-25 Dmitry Gutov <dgutov@yandex.ru>
958
959 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
960 work when annotation is invisible (Bug#13886).
961
431dec31 9622013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
963
964 * json.el (json-alist-p): Only return non-nil if the alist has
965 simple keys (Bug#13518).
966
431dec31 9672013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
968
969 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
970 when control-statement is the first statement in a buffer (Bug#15956).
971
ee4f0261
DG
9722013-11-24 Dmitry Gutov <dgutov@yandex.ru>
973
974 * imenu.el (imenu-generic-skip-comments-and-strings):
975 New option (Bug#15560).
976 (imenu--generic-function): Use it.
977
c484f866
JS
9782013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
979
980 * minibuffer.el (completion--in-region-1): Scroll the correct
981 window. (Bug#13898)
982
41ce6f70
BB
9832013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
984
b55aea38
BB
985 * emacs-lisp/helpers.el: Add some string helpers.
986 (string-trim-left): Removes leading whitespace.
987 (string-trim-right): Removes trailing whitespace.
988 (string-trim): Removes leading and trailing whitespace.
989
41ce6f70
BB
990 * subr.el (string-suffix-p): New function.
991
3cfb6af3
GM
9922013-11-23 Glenn Morris <rgm@gnu.org>
993
994 * progmodes/python.el (python-shell-send-file):
995 Add option to delete file when done. (Bug#15647)
996 (python-shell-send-string, python-shell-send-region): Use it.
997
c27924b7
IS
9982013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
999
e1b01c7f
IS
1000 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1001 to set buffer-read-only to t, never to nil. (Bug#15938)
1002
c27924b7
IS
1003 * textmodes/tex-mode.el (latex-noindent-environments):
1004 Add safe-local-variable property. (Bug#15936)
1005
17e0445b
GM
10062013-11-23 Glenn Morris <rgm@gnu.org>
1007
92f78ea3
GM
1008 * textmodes/enriched.el (enriched-mode): Doc fix.
1009 * emacs-lisp/authors.el (authors-renamed-files-alist):
1010 Add enriched.doc -> enriched.txt.
1011
17e0445b
GM
1012 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1013
965bb23a
LL
10142013-11-22 Leo Liu <sdl.web@gmail.com>
1015
1016 * progmodes/octave.el (inferior-octave-startup): Spit out error
1017 message.
1018
d19ffd64
BB
10192013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1020
1021 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1022 Improve docstring.
15ba2182
BB
1023 Add :version.
1024 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 1025
7a7567d2
LL
10262013-11-22 Leo Liu <sdl.web@gmail.com>
1027
1028 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1029 (Bug#15076)
8c09f64b
LL
1030 (octave-help-mode): Adapt to change to help-mode-finish to use
1031 derived-mode-p on 2013-09-17.
1032 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 1033 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 1034
724bc265
LL
10352013-11-22 Leo Liu <sdl.web@gmail.com>
1036
1037 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1038 (inferior-octave-startup, inferior-octave-check-process)
1039 (inferior-octave-track-window-width-change)
1040 (octave-completion-at-point, octave-eldoc-function): Use it.
1041 (octave-kill-process): Provide confirmation. (Bug#10564)
1042
38637cca
LL
10432013-11-21 Leo Liu <sdl.web@gmail.com>
1044
511fa0d3
SM
1045 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1046 Fix obsolete variable comment-use-global-state.
38637cca 1047
06e752b4
RS
10482013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1049
511fa0d3
SM
1050 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1051 Add `octave-source-file'.
06e752b4
RS
1052 (octave-source-file): New function. (Bug#15935)
1053
0449d6cd 10542013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
1055
1056 * net/eww.el (eww-local-regex): New variable.
1057 (eww): Use it to detect localhost and similar.
1058
b6ffa04a
LL
10592013-11-21 Leo Liu <sdl.web@gmail.com>
1060
1061 Add completion for command `ag'.
2021a200
LL
1062 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1063 (pcomplete/ag): New function.
1064 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 1065
d1a6bccc
SM
10662013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1067
1068 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1069 (bug#14646).
1070 (make-obsolete): Remove interactive spec.
1071
2df10228
GM
10722013-11-21 Glenn Morris <rgm@gnu.org>
1073
1074 * startup.el (command-line-1): Use path-separator with -L.
1075
86fd16b6
TZ
10762013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1077
1078 * emacs-lisp/package.el (describe-package-1): Add package archive
1079 to shown fields.
1080
0449d6cd 10812013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
1082
1083 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1084 Change default to "# encoding: %s" to differentiate it from the
1085 default Ruby encoding comment template.
1086
dc7e8c17 10872013-11-20 era eriksson <era+emacsbugs@iki.fi>
1088
1089 * ses.el (ses-mode): Doc fix. (Bug#14748)
1090
f0cfa5fe
LL
10912013-11-20 Leo Liu <sdl.web@gmail.com>
1092
1093 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1094
826dc7b6
DN
10952013-11-19 Dan Nicolaescu <dann@gnu.org>
1096
1097 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1098 when rebase or bisect are in progress.
1099
a6e3a5d5
XF
11002013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1101
1102 * filenotify.el (file-notify-add-watch): Doc fix.
1103
f130cb76
LL
11042013-11-19 Leo Liu <sdl.web@gmail.com>
1105
e0855d7d
LL
1106 * obsolete/rcompile.el: Mark obsolete.
1107
f130cb76 1108 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
1109 (compilation-goto-locus, compilation-find-file):
1110 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
1111 (Bug#13594)
1112
1113 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
1114 new parameter no-display-ok. Return either a window or nil
1115 but never a non-window value.
f130cb76 1116
1f35d401
SM
11172013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1118
25158c76
SM
1119 * electric.el (electric-indent-mode-map): Remove.
1120 (electric-indent-mode): Change the global-map instead (bug#15915).
1121
1122 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1123 Use add-function.
1f35d401 1124
9bc67baa
SM
11252013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1126
986545b5
SM
1127 * emacs-lisp/nadvice.el (remove-function): Align with
1128 add-function's behavior.
1129
9bc67baa
SM
1130 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1131 (gdb--string-regexp): New constant.
1132 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1133 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1134 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1135 submatch 1.
1136 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1137 Adjust use accordingly.
1138 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1139
56cd894e
AS
11402013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1141
1142 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1143 interpolation curlies (Bug#15914).
1144
014690de
JB
11452013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1146
1147 * calc/calc.el (calc-context-sensitive-enter): New variable.
1148 (calc-enter): Use `calc-context-sensitive-enter'.
1149
7e26a6c3
TZ
11502013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1151
1152 * progmodes/cfengine.el: Version bump.
1153 (cfengine-cf-promises): New defcustom to locate cf-promises.
1154 (cfengine3-vartypes): Add new "data" type.
1155 (cfengine3--current-word): New function to get current name-like
1156 word or its bounds.
1157 (cfengine3--current-function): New function to look up a CFEngine
1158 function's definition.
1159 (cfengine3-format-function-docstring): New function.
1160 (cfengine3-make-syntax-cache): New function.
1161 (cfengine3-documentation-function): New function: ElDoc glue.
1162 (cfengine3-completion-function): New function: completion glue.
1163 (cfengine3-mode): Set `compile-command',
1164 `eldoc-documentation-function', and add to
1165 `completion-at-point-functions'.
1166
355204dd
MA
11672013-11-16 Michael Albinus <michael.albinus@gmx.de>
1168
1169 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1170 `tramp-current-connection'.
1171
43cebc23
DG
11722013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1173
1174 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1175 nil/self/true/false with "end of symbol".
1176
a3fed6ff
BB
11772013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1178
1179 * subr.el (version-regexp-alist): Fix a typo.
1180
e675b3e4
MA
11812013-11-15 Michael Albinus <michael.albinus@gmx.de>
1182
1183 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1184 "en_US.utf8" and "LC_CTYPE" to "".
1185 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1186 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1187
a1f03e89
LL
11882013-11-15 Leo Liu <sdl.web@gmail.com>
1189
1190 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1191
5d9d9451
SM
11922013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1193
58362662
CS
1194 * progmodes/gud.el (ctl-x-map):
1195 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
1196 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1197
6c1bf086
BB
11982013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1199
0d5363c4
BB
1200 * subr.el (version-regexp-alist):
1201 Recognize hg, svn and darcs versions as snapshot versions.
1202
4e9fc48c
BB
1203 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1204 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1205 (ruby--encoding-comment-required-p): Extract from
1206 `ruby-mode-set-encoding'.
1207 (ruby-mode-set-encoding): Add the ability to always insert an
1208 utf-8 encoding comment. Fix and simplify coding comment update
1209 logic.
6c1bf086 1210
2f7e72f8
MA
12112013-11-14 Michael Albinus <michael.albinus@gmx.de>
1212
1213 * net/tramp-gvfs.el (top): Run init code only when
1214 `tramp-gvfs-enabled' is not nil.
1215 (tramp-gvfs-enabled): Check also :system bus.
1216
0f137a73
SM
12172013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1218
1219 Sync with upstream verilog-mode revision 78e66ba.
1220 * progmodes/verilog-mode.el (verilog-end-of-defun)
1221 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1222 (verilog-get-end-of-defun): Remove unused argument.
1223 (verilog-comment-depth): Remove unused local `e'.
1224 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1225 Don't pass arg to verilog-get-end-of-defun.
1226
1c276bdd
GM
12272013-11-14 Glenn Morris <rgm@gnu.org>
1228
1229 * obsolete/assoc.el (aget): Prefix dynamic variable.
1230
1231 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1232
ff6ec81d
SM
12332013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1234
1235 * widget.el, hfy-cmap.el: Remove bogus package version number.
1236
75f777b6
GM
12372013-11-13 Glenn Morris <rgm@gnu.org>
1238
1d43dba1
GM
1239 * replace.el (replace-eval-replacement):
1240 Try to give more helpful error message. (Bug#15836)
1241
ff4b7bd5
GM
1242 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1243 (archive-7z-update): Avoid custom type mismatches.
1244
75f777b6
GM
1245 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1246
11151a06
MA
12472013-11-13 Michael Albinus <michael.albinus@gmx.de>
1248
e675b3e4 1249 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
1250 address can be empty.
1251
1252 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1253 Accept nil SWITCHES.
1254 (tramp-gvfs-handle-write-region): Implement APPEND.
1255
7b08f97e
DG
12562013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1257
1258 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
1259 binary "|" operator and closing block args delimiter.
1260 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
1261 (ruby-smie--implicit-semi-p): Not after "|" operator.
1262 (ruby-smie--closing-pipe-p): New function.
1263 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1264 (ruby-smie-rules): Indent after "|".
1265
f201cf3a
GM
12662013-11-12 Glenn Morris <rgm@gnu.org>
1267
1268 * ps-print.el (ps-face-attribute-list):
1269 Handle anonymous faces. (Bug#15827)
1270
e6f759f9
MR
12712013-11-12 Martin Rudalics <rudalics@gmx.at>
1272
1273 * window.el (display-buffer-other-frame): Fix doc-string.
1274 (Bug#15868)
1275
ecda65d4
SM
12762013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1277
1278 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1279
7ce8fcc3
MA
12802013-11-11 Michael Albinus <michael.albinus@gmx.de>
1281
1282 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1283 (tramp-sh-handle-file-local-copy): Don't write a message when
1284 saving temporary files.
1285
1286 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1287 both directories are remote.
1288 (tramp-smb-handle-directory-files): Do not return double entries.
1289 Do not expand full file names.
1290 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1291 (tramp-smb-handle-write-region): Implement APPEND.
1292 (tramp-smb-get-stat-capability): Fix a stupid bug.
1293
7818df11
SM
12942013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1295
1296 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1297
608c2085
NT
12982013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1299
1300 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1301 throwing error over malformed let/let* (bug#15814).
1302
122a7e46
SM
13032013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1304
1305 * iswitchb.el (iswitchb-mode): Mark obsolete.
1306
766284d9
GM
13072013-11-11 Glenn Morris <rgm@gnu.org>
1308
1309 * international/uni-bidi.el, international/uni-category.el:
1310 * international/uni-name.el, international/uni-numeric.el:
1311 Regenerate for Unicode 6.3.0.
1312
7072a4e9
MA
13132013-11-10 Michael Albinus <michael.albinus@gmx.de>
1314
1315 * net/tramp.el (tramp-methods):
1316 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1317 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1318
c9df215b
AS
13192013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1320
608c2085
NT
1321 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1322 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 1323
fa47d796
DG
13242013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1325
1326 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 1327 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
1328 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1329 (ispell-complete-word): Call `ispell-lookup-words' with the value
1330 independent of `ispell-look-p'.
1331
1629a329
DG
13322013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1333
1334 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1335 Not after "||".
1336 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1337 their parent.
1338
ad16897c
SM
13392013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1340
1341 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1342 (ruby-font-lock-keywords): Use backquote.
1343
ffa2df72
DG
13442013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1345
1346 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1347 (ruby-smie--backward-token): Only consider full-string matches.
1348
5b97b4c0
JD
13492013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1350
1351 * faces.el (describe-face): Add distant-foreground.
1352
71731c03
BB
13532013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1354
4e9fc48c
BB
1355 * progmodes/ruby-mode.el: Improve encoding comment handling.
1356 (ruby-encoding-magic-comment-style): New option.
1357 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
1358 (ruby--insert-coding-comment, ruby--detect-encoding):
1359 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
1360 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1361 to control the style of the auto-inserted encoding comment.
71731c03 1362
da3b328d
DG
13632013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1364
ad16897c
SM
1365 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1366 Use `smie-backward-sexp' with token argument.
da3b328d 1367
1606c2d3
MA
13682013-11-08 Michael Albinus <michael.albinus@gmx.de>
1369
1370 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1371 Remove instrumentation code.
1372
b0f4c320
GM
13732013-11-08 Glenn Morris <rgm@gnu.org>
1374
1375 * progmodes/autoconf.el (autoconf-mode):
1376 Tweak comment-start-skip. (Bug#15822)
1377
43668fb1
SM
13782013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1379
1380 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1381 at bobp (bug#15826).
1382 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1383
daddb3fd
DH
13842013-11-08 Darren Hoo <darren.hoo@gmail.com>
1385
1386 * man.el (Man-start-calling): New macro, extracted from
1387 Man-getpage-in-background.
1388 (Man-getpage-in-background): Use it.
1389 (Man-update-manpage): New command.
1390 (Man-mode-map): Bind it.
1391
1f923923
DG
13922013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1393
1394 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1395 of "and", "or", "&&" and "||".
1396 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1397 argument. Prohibit opening curly brace because it could only be a
1398 block opener in that position.
daddb3fd
DH
1399 (ruby-smie--forward-token, ruby-smie--backward-token):
1400 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
1401 arguments.
1402 (ruby-smie--indent-to-stmt): New function, seeks the end of
1403 previous statement or beginning of buffer.
1404 (ruby-smie-rules): Use it.
1405 (ruby-smie-rules): Check if there's a ":" before a curly block
1406 opener candidate; if there is, it's a hash.
1407
3220d527
SM
14082013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1409
1410 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1411 (cl--block-wrapper): Fix last accidental change.
1412
1eb1f9e0
MA
14132013-11-07 Michael Albinus <michael.albinus@gmx.de>
1414
1415 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1416 Instrument, in order to hunt failure on hydra.
1417
e6e4db3c
NT
14182013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1419
1420 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1421 malformed bindings form (bug#15814).
1422
b420ccfc
DG
14232013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1424
1425 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
1426 "." compared to " @ ". This incidentally fixes some indentation
1427 examples with "do".
e6e4db3c 1428 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
1429 (ruby-smie-grammar): New tokens: "and" and "or".
1430 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1431 Exclude "and" and "or". Remove "do" in order to work around token
1432 priorities.
1433 (ruby-smie-rules): Add all infix tokens. Handle the case of
1434 beginning-of-buffer.
b420ccfc 1435
6b4ac03e
GM
14362013-11-06 Glenn Morris <rgm@gnu.org>
1437
1438 * Makefile.in (setwins_almost, setwins_for_subdirs):
1439 Avoid accidental matches.
1440
5ca114d1
SM
14412013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1442
1443 * menu-bar.el (popup-menu): Use key-binding.
1444
f72552bd
EZ
14452013-11-06 Eli Zaretskii <eliz@gnu.org>
1446
1447 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1448 menus, support also the menus produced by minor modes.
1449 (Bug#15817)
1450
5d5c701e
LL
14512013-11-06 Leo Liu <sdl.web@gmail.com>
1452
1453 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1454 DISTANCE to bound the search. All uses changed. (Bug#15808)
1455
0a8b75e2
GM
14562013-11-06 Glenn Morris <rgm@gnu.org>
1457
1458 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
1459 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1460 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 1461
a35287ea
SM
14622013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1463
feca4e2d
SM
1464 * electric.el (electric-indent-just-newline): New command.
1465 (electric-indent-mode-map): New keymap.
1466 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1467 Re-add :group which weren't redundant.
1468
a35287ea
SM
1469 * electric.el (electric-indent-local-mode): New minor mode.
1470 (electric-indent-functions-without-reindent): New var.
1471 (electric-indent-post-self-insert-function): Use it.
1472 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1473
375761b2
EZ
14742013-11-05 Eli Zaretskii <eliz@gnu.org>
1475
9a6ad735
EZ
1476 * international/quail.el (quail-help): Be more explicit about the
1477 meaning of the labels shown on the keys. (Bug#15800)
1478
375761b2
EZ
1479 * startup.el (normal-top-level): Load the subdirs.el files before
1480 setting the locale environment. (Bug#15805)
1481
520a6e4a
SM
14822013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1483
0acfafef
SM
1484 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1485 via arguments so as to get the right ones (bug#15418).
1486
520a6e4a
SM
1487 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1488
15826261
MA
14892013-11-05 Michael Albinus <michael.albinus@gmx.de>
1490
1491 Fix problems found while writing a test suite.
1492
1493 * net/tramp-compat.el (tramp-compat-load): New defun.
1494 * net/tramp.el (tramp-handle-load): Use it.
1495
1496 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1497 "(numberp ok-if-already-exists)" correctly.
1498
d35f31a4
XF
14992013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1500
1501 * international/characters.el (glyphless-char-display-control):
1502 Add usage note.
1503
ae93bc74
BB
15042013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1505
520a6e4a
SM
1506 * progmodes/python.el (python-mode):
1507 * progmodes/scheme.el (scheme-mode):
1508 * progmodes/prolog.el (prolog-mode):
1509 * progmodes/ruby-mode.el (ruby-mode):
1510 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1511 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 1512
0ade65b5
SM
15132013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1514
a0d5f7a4
SM
1515 * rect.el (rectangle--highlight-for-redisplay):
1516 * emacs-lisp/smie.el (smie--next-indent-change):
1517 Use buffer-chars-modified-tick.
1518
c93f3f5c
SM
1519 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1520
0ade65b5
SM
1521 * electric.el (electric-indent-post-self-insert-function):
1522 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1523
ef9dd188
HE
15242013-11-04 Helmut Eller <eller.helmut@gmail.com>
1525
1526 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1527
306e7308
NT
15282013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1529
1530 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1531 (bug#15786).
1532
e5afbcac
SM
15332013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1534
1d01ad41
SM
1535 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1536
e5afbcac
SM
1537 * progmodes/python.el: Fix up last change.
1538 (python-shell--save-temp-file): New function.
1539 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1540 `string' comes from the current buffer.
1541 (python-shell-send-string-no-output): Remove `msg' arg.
1542 (python--use-fake-loc): New var.
1543 (python-shell-buffer-substring): Obey it. Try to compensate for the
1544 extra coding line added by python-shell--save-temp-file.
1545 (python-shell-send-region): Use python-shell--save-temp-file and
1546 python-shell-send-file directly. Add `nomain' argument.
1547 (python-shell-send-buffer): Use python-shell-send-region.
1548 (python-electric-pair-string-delimiter): New function.
1549 (python-mode): Use it.
1550
d0065ff1
EZ
15512013-11-04 Eli Zaretskii <eliz@gnu.org>
1552
1553 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1554 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1555 environment and decoding all of the default-directory's to here
1556 from command-line.
1557 (command-line): Decode also argv[0].
1558
1559 * loadup.el: Error out if default-directory is a multibyte string
1560 when we are dumping.
1561
1562 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1563
7397c587
TZ
15642013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1565
1566 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
1567 (package-menu--print-info, package-menu--archive-predicate):
1568 Add Archive column to package list.
7397c587 1569
b27cc9fc
MA
15702013-11-04 Michael Albinus <michael.albinus@gmx.de>
1571
1572 Fix problems found while writing a test suite.
1573
1574 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1575 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1576 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1577 to nil when running original file name handler. Otherwise,
1578 there are problems with constructs like "$$FOO".
1579
1580 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1581 for `localname'.
1582
d8c4f18a
BB
15832013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1584
7b530552
BB
1585 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1586
1587 * subr.el (version<, version<=, version=):
1588 Update docstrings with information for snapshot versions.
1589
d8c4f18a
BB
1590 * helpers.el: New library for misc helper functions.
1591 (hash-table-keys): New function returning a list of hash keys.
1592 (hash-table-values): New function returning a list of hash values.
1593
dca01b09
DG
15942013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1595
1596 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1597 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1598
0a749fa0
MN
15992013-11-04 Michal Nazarewicz <mina86@mina86.com>
1600
1601 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1602 checking whether point is after a 1-letter word.
1603
16042013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
1605
1606 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1607 Don't infloop when expanding region over `multiline' syntax-type that
1608 begins a line (bug#15778).
1609
4aca7145
SM
16102013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1611
1612 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1613 Make it into a proper minor mode.
1614 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1615 (rectangle-mark-mode-map): New keymap.
1616 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1617
a0833f62
GM
16182013-11-04 Glenn Morris <rgm@gnu.org>
1619
1620 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1621
e61845c1
SM
16222013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1623
1624 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1625 (ruby-smie-rules): Use smie-rule-parent instead.
1626
1627 * emacs-lisp/smie.el (smie-rule-parent): Always call
1628 smie-indent-virtual rather than only for hanging tokens.
1629 (smie--next-indent-change): New helper command.
1630
62942f89
GM
16312013-11-03 Glenn Morris <rgm@gnu.org>
1632
1633 * Makefile.in (abs_srcdir): Remove.
1634 (emacs): Unset EMACSLOADPATH.
1635
b0b9e592
GM
16362013-11-02 Glenn Morris <rgm@gnu.org>
1637
18ba6a33 1638 * Makefile.in (EMACS): Use a relative filename.
8061810d 1639 (abs_top_builddir): Remove.
18ba6a33
GM
1640 (custom-deps, finder-data, autoloads): Use --chdir.
1641
6a8b929e
GM
1642 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1643
c617f3d0
GM
1644 Use relative filenames in TAGS files.
1645 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1646 (lisptagsfiles4, TAGS): Use relative file names.
1647 (TAGS-LISP): Remove.
1648 (maintainer-clean): No more TAGS-LISP file.
1649
b0b9e592
GM
1650 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1651 (lisptagsfiles4): Use absolute filenames again.
1652 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1653 Remove all *loaddefs files, not just the first. Remove esh-groups.
1654 (maintainer-clean): Delete TAGS, TAGS-LISP.
1655
d1c0ea6a
BB
16562013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1657
e61845c1
SM
1658 * emacs-lisp/package.el (package-version-join):
1659 Recognize snapshot versions.
d1c0ea6a 1660
684d71c6
BB
16612013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1662
1663 * subr.el (version-regexp-alist): Add support for snapshot versions.
1664
3d42b968
DG
16652013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1666
e61845c1
SM
1667 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1668 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
1669 skip over our direct parent if it's an assignment token..
1670 (ruby-smie-rules): Use it.
1671
7ffd3721
DG
16722013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1673
1674 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1675 unconditionally. Remove now unnecessary forward declarations.
1676 Remove XEmacs-specific setup.
1677 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1678 (ruby-font-lock-syntactic-keywords)
1679 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1680 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1681 (ruby-here-doc-end-syntax): Remove.
1682 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1683 defined as function.
1684
a3996a2e
BB
16852013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1686
1687 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1688
6f9260e8
BB
16892013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1690
1691 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1692 table and abbrev table, `define-derived-mode' does that for us
1693 anyway.
1694
6014de84
GM
16952013-11-01 Glenn Morris <rgm@gnu.org>
1696
1697 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1698 files is atomic for some time, so no parallel compilation issues).
1699
3c334c14
JD
17002013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1701
1702 * faces.el (face-x-resources): Add :distant-foreground.
1703 (region): Use :distant-foreground for gtk and ns.
1704
9bc236c8
TH
17052013-11-01 Tassilo Horn <tsdh@gnu.org>
1706
5246583b 1707 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
1708 BibTeX.
1709 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1710 (reftex-locate-bibliography-files): Us it.
1711
d14c81ee
CB
17122013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1713
0e7690de
CB
1714 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1715 allow comments in pbm files.
1716
d14c81ee
CB
1717 * term/w32-win.el (dynamic-library-alist): Support newer versions
1718 of libjpeg starting with v7: look only for the DLL from the
1719 version against which Emacs was built.
ac1bf374 1720 Support versions of libpng beyond 1.4.x.
019c8218 1721 Support libtiff v4.x.
d14c81ee 1722
983d0df5
BB
17232013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1724
1725 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1726 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1727 Add property :safe.
1728 (ruby-deep-arglist): Add property :type.
1729
47f58d85
GM
17302013-10-31 Glenn Morris <rgm@gnu.org>
1731
1732 * Makefile.in (custom-deps, finder-data): No need to setq the target
1733 variables, we are in the right directory and the defaults work fine.
1734
4f85b479
GM
17352013-10-30 Glenn Morris <rgm@gnu.org>
1736
ca7dd4cd
GM
1737 * Makefile.in (autoloads): Do not use abs_lisp.
1738
4f85b479
GM
1739 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1740 `newline' does not respect `standard-output', so use `princ'.
1741
cf59e41c
AA
17422013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1743
1744 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1745 * buff-menu.el (Buffer-menu--unmark): New function.
1746 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1747
74cf04fb
GM
17482013-10-30 Glenn Morris <rgm@gnu.org>
1749
b040b60e
GM
1750 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1751
f53d3815
GM
1752 * emacs-lisp/package.el (lm-homepage): Declare.
1753
5413d873
GM
1754 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1755 Fix doc typos.
1756
cecedb36
GM
1757 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1758
74cf04fb
GM
1759 * Makefile.in (finder-data, autoloads, update-subdirs)
1760 (compile-main, compile-clean, compile-always, bootstrap-clean):
1761 Check return value of cd.
1762 (compile-calc): Remove.
1763
195ee2f0
SM
17642013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1765
ae4002ce
SM
1766 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1767
1768 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1769 (byte-compile-and-folded): New function.
1770 (=, <, >, <=, >=): Use it.
1771
1772 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1773 (path-separator, null-device, buffer-file-coding-system)
1774 (lpr-headers-switches): Check system-type before modifying them.
1775 (find-buffer-file-type-coding-system): Mark obsolete.
1776 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1777 find-file-not-found-set-buffer-file-coding-system.
1778 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1779 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1780 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1781 (w32-direct-print-region-helper, w32-direct-print-region-function)
1782 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1783 * startup.el (normal-top-level-add-subdirs-to-load-path):
1784 * ps-print.el (ps-print-region-function):
1785 * lpr.el (print-region-function): Use new name.
1786
53b39e89
SM
1787 * subr.el (custom-declare-variable-early): Remove function.
1788 (custom-declare-variable-list): Remove var.
1789 (error, user-error): Remove `while' loop.
1790 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1791 (user-emacs-directory-warning, locate-user-emacs-file):
1792 Move to files.el.
1793 * simple.el (read-quoted-char-radix, read-quoted-char):
1794 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1795 Move from subr.el.
1796 * custom.el (custom-declare-variable-list): Don't process
1797 custom-declare-variable-list.
1798
195ee2f0
SM
1799 * progmodes/python.el (python-shell-get-buffer): New function.
1800 (python-shell-get-process): Use it.
1801 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1802 Python which encoding was used. Don't split-string since we only care
1803 about the first line. Return the temp-file, if applicable.
1804 (python-shell-send-region): Tell compile.el how to turn locations in
1805 the temp-file into locations in the source buffer.
1806
7e3561ee
SM
18072013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1808
4c9797cb
SM
1809 * subr.el (undefined): Add missing behavior from the C code for
1810 unbound keys.
1811
3472b6c6
SM
1812 * rect.el: Use lexical-binding. Add new rectangular region support.
1813 (rectangle-mark): New command.
1814 (rectangle--region): New var.
1815 (deactivate-mark-hook): Reset rectangle--region.
1816 (rectangle--extract-region, rectangle--insert-for-yank)
1817 (rectangle--highlight-for-redisplay)
1818 (rectangle--unhighlight-for-redisplay): New functions.
1819 (region-extract-function, redisplay-unhighlight-region-function)
1820 (redisplay-highlight-region-function): Use them to handle
1821 rectangular region.
1822 * simple.el (region-extract-function): New var.
1823 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1824 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1825 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1826 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1827 (redisplay-unhighlight-region-function)
1828 (redisplay-highlight-region-function): New vars.
1829 (redisplay--update-region-highlight): New function.
1830 (pre-redisplay-function): Use it.
1831 (exchange-point-and-mark): Don't deactivate the mark before
1832 reactivate-it anyway.
1833 * comint.el (comint-kill-region): Remove yank-handler argument.
1834 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1835 (delete-char): Remove property, since it's now part of their
1836 default behavior.
1837 (self-insert-iso): Remove property since this command doesn't exist.
1838
7e3561ee
SM
1839 * emacs-lisp/package.el (package--download-one-archive)
1840 (describe-package-1): Don't query the user about final newline.
1841
b9bef71f
DC
18422013-10-29 Daniel Colascione <dancol@dancol.org>
1843
1844 * net/tramp.el (tramp-methods): Document new functionality.
1845 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1846 tramp-hostname-checker if method provides one instead of scanning
1847 argument list for "%h" to decide hostname acceptability.
1848
4efc33f0
MA
18492013-10-28 Michael Albinus <michael.albinus@gmx.de>
1850
1851 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1852 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1853 Handle COPY-CONTENTS. (Bug#15737)
1854
ed42a877
DU
18552013-10-28 Daiki Ueno <ueno@gnu.org>
1856
1857 * epa-file.el
7e3561ee
SM
1858 (epa-file-cache-passphrase-for-symmetric-encryption):
1859 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 1860
18c9f8a2
XF
18612013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1862
7a4bc7be
XF
1863 * image.el (defimage):
1864 (image-load-path): Doc fixes.
18c9f8a2 1865
b1e8e010
AM
18662013-10-27 Alan Mackenzie <acm@muc.de>
1867
1868 Indent statements in macros following "##" correctly.
7e3561ee
SM
1869 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1870 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 1871
73d40d1e 18722013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
1873
1874 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1875
c8c605ac
DG
18762013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1877
1878 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1879 after `=' is probably a new expression.
1880
ca7e59d4
RS
18812013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1882
1883 * man.el (man-imenu-title): New option.
1884 (Man-mode-map): Add menu. (Bug#15722)
1885 (Man-mode): Add imenu to menu.
1886
bae91342
DG
18872013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1888
1889 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1890 specific in what the first arg can be: a non-keyword word,
1891 string/regexp/percent literal opener, opening paren, or unary
1892 operator followed directly by word.
1893
eb89dc14
SM
18942013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1895
1896 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1897 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1898 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1899 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1900 Remove vars, they do not apply any more.
1901 (prolog-mode-abbrev-table): Remove redundant declaration.
1902 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1903 (prolog-use-smie): Remove.
1904 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1905 supported by prolog-electric-if-then-else-flag.
1906 (prolog-mode-variables, prolog-menu): Use setq-local.
1907 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1908 Remove binding to `Backspace' since this key doesn't exist anyway.
1909 Remove bindings for electric self-inserting keys.
1910 (prog-mode): Assume it's defined.
1911 (prolog-post-self-insert): New function.
1912 (prolog-mode): Use it.
1913 (prolog-indent-line, prolog-indent-level)
1914 (prolog-find-indent-of-matching-paren)
1915 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1916 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1917 (prolog-goto-next-paren, prolog-in-string-or-comment)
1918 (prolog-tokenize, prolog-inside-mline-comment)
1919 (prolog-find-start-of-mline-comment): Remove functions.
1920 (prolog-find-unmatched-paren, prolog-clause-end)
1921 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1922 (prolog-electric--if-then-else): Rename from
1923 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1924 (prolog-tokenize-searchkey): Remove const.
1925 (prolog-clause-info): Use forward-sexp.
1926 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1927 (prolog-electric-if-then-else): Remove commands.
1928 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1929 for use in post-self-insert-hook.
1930 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1931 for use in post-self-insert-hook.
1932 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1933 for use in post-self-insert-hook.
1934 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1935 adapt it for use in post-self-insert-hook.
1936
3dab0a83
MA
19372013-10-25 Michael Albinus <michael.albinus@gmx.de>
1938
1939 * emacs-lisp/ert.el (ert-run-tests-interactively):
1940 Use `completing-read'. (Bug#9756)
1941
fbfd0e1d
EZ
19422013-10-25 Eli Zaretskii <eliz@gnu.org>
1943
1944 * simple.el (line-move): Call line-move-1 instead of
1945 line-move-visual when the current window hscroll is zero, but
1946 temporary-goal-column indicates we will need to hscroll as result
1947 of the movement. (Bug#15712)
1948
963ce636
DG
19492013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1950
1951 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
1952 capitalization. Use :visible instead of :active.
1953 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
1954 commands that are used with SMIE.
1955 (ruby-do-end-to-brace): Insert space after `{'.
1956
a0be396a
JA
19572013-10-25 John Anthony <john@jo.hnanthony.com>
1958
f73754c9
JA
1959 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1960
1961 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 1962
f5bf77df
GM
19632013-10-25 Glenn Morris <rgm@gnu.org>
1964
1965 * vc/vc.el (vc-print-log): Don't use a working revision unless
1966 one was explicitly specified. (Bug#15322)
1967
37241f62
SM
19682013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1969
1970 * subr.el (add-to-list): Preserve return value in compiler-macro
1971 (bug#15692).
1972
6408a65d
RS
19732013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1974
1975 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1976 result. Ask user to retry using '-all' flag. (Bug#15701)
1977
71e3276b
SM
19782013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1979
1980 * emacs-lisp/smie.el: New smie-config system.
1981 (smie-config): New defcustom.
1982 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1983 (smie-config-guess, smie-config-save): New commands.
1984 (smie-config--mode-local, smie-config--buffer-local)
1985 (smie-config--trace, smie-config--modefuns): New vars.
1986 (smie-config--advice, smie-config--mode-hook)
1987 (smie-config--setter, smie-config-local, smie-config--get-trace)
1988 (smie-config--guess-value, smie-config--guess): New functions.
1989 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1990 text properties. Treat "string fence" syntax like string syntax.
1991
1992 * progmodes/sh-script.el (sh-use-smie): Change default.
1993 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1994 (sh-var-value): Simplify by CSE.
1995 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1996 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1997 is used.
1998 (sh-guess-basic-offset): Use cl-incf.
1999 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2000
60db713e
HE
20012013-10-24 Helmut Eller <eller.helmut@gmail.com>
2002
2003 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2004 (bug#15699).
2005
8b251df6
GM
20062013-10-24 Glenn Morris <rgm@gnu.org>
2007
2008 * Makefile.in (abs_top_srcdir): Remove.
2009 (update-subdirs): Use relative path to update-subdirs.
2010
6be0e22b
EZ
20112013-10-24 Eli Zaretskii <eliz@gnu.org>
2012
2013 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2014 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
2015 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2016 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 2017
50b5b857
MA
20182013-10-24 Michael Albinus <michael.albinus@gmx.de>
2019
2020 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2021 (ert-test-skipped): New error.
2022 (ert-skip, ert-stats-skipped): New defuns.
2023 (ert--skip-unless): New macro.
2024 (ert-test-skipped): New struct.
2025 (ert--run-test-debugger, ert-test-result-type-p)
2026 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2027 (ert--stats-set-test-and-result, ert-char-for-test-result)
2028 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 2029 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 2030 Handle skipped tests. (Bug#9803)
50b5b857 2031
6f317c2f
GM
20322013-10-24 Glenn Morris <rgm@gnu.org>
2033
e43817c1
GM
2034 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2035
6f317c2f
GM
2036 * Makefile.in (abs_top_srcdir): New, set by configure.
2037 (update-subdirs): Correct build-aux location.
2038
369bbf71
DG
20392013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2040
8297b2cf
DG
2041 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2042 value, whether we could auto-deduce `backend', or not.
2043
369bbf71
DG
2044 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2045 with parameters" example. Simplify the "is it block or is it
2046 hash" check, but also make it more thorough.
2047
d5f1282f
MF
20482013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2049
2050 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2051
bc4aaa31
SM
20522013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2053
03d44565
SM
2054 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2055 { if it is hanging.
2056
bc4aaa31
SM
2057 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2058 :before ";".
2059
f493ff19
JB
20602013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2061
2062 * progmodes/compile.el (compilation-directory-matcher)
2063 (compilation-page-delimiter):
2064 Support GNU Make-4.0 directory quoting. (Bug#15678)
2065
c744a3b9
LL
20662013-10-23 Leo Liu <sdl.web@gmail.com>
2067
2068 * ido.el (ido-tidy): Handle read-only text.
2069
b8e3b0a9
GM
20702013-10-23 Glenn Morris <rgm@gnu.org>
2071
2072 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2073 (emacs, compile, compile-always):
2074 Quote entities that might contain whitespace.
2075 (custom-deps, finder-data, autoloads): Use abs_lisp.
2076 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2077 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2078 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2079
ee4282cd
DG
20802013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2081
bc4aaa31
SM
2082 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2083 Use `following-char'.
7790a270 2084
ee4282cd 20852013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
2086
2087 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2088 * progmodes/ruby-mode.el (ruby-smie-rules):
2089 Remove corresponding workaround. Fix indentation rule of ";" so it
2090 also applies when ";" is the parent.
2091
d40a46d7
XF
20922013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2093
2094 * frame.el (display-screens, display-pixel-height)
2095 (display-pixel-width, display-mm-width, display-backing-store)
2096 (display-save-under, display-planes, display-color-cells)
7790a270
SM
2097 (display-visual-class, display-monitor-attributes-list):
2098 Mention the optional ‘display’ argument in doc strings.
d40a46d7 2099
a0f143c9
MG
21002013-10-22 Michael Gauland <mikelygee@amuri.net>
2101
2102 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2103 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2104
18cacc39
DG
21052013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2106
2107 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2108 TODO. Add "." after " @ ".
2109 (ruby-smie--at-dot-call): New function. Checks if point at method
2110 call with explicit target.
2111 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2112 to the method name tokens when it precedes them.
2113 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2114 (ruby-smie-rules): Add rule for indentation before and after "."
2115 token.
2116
df74c4be
SM
21172013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2118
c6dab55f
SM
2119 * textmodes/remember.el (remember-diary-extract-entries):
2120 Avoid add-to-list.
2121
df74c4be
SM
2122 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2123 an instruction.
2124
8c1ae481
DG
21252013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2126
cfef16c0
DG
2127 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2128 (ruby-smie--implicit-semi-p): Add new operator chars.
2129
8c1ae481
DG
2130 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2131 `smie-down-list'.
2132 (ruby-smie--args-separator-p): Check that there's no newline
2133 between method call and its arguments.
2134
87756ca9
AM
21352013-10-20 Alan Mackenzie <acm@muc.de>
2136
2137 Allow comma separated lists after Java "implements".
2138
df74c4be
SM
2139 * progmodes/cc-engine.el (c-backward-over-enum-header):
2140 Parse commas.
87756ca9
AM
2141 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2142 from a "disallowed" list in enum fontification.
2143
c25f8957
JB
21442013-10-20 Johan Bockgård <bojohan@gnu.org>
2145
df74c4be 2146 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 2147
c25f8957
JB
2148 * progmodes/verilog-mode.el (verilog-mode): Don't set
2149 comment-indent-function globally.
2150
aca5fcdc
JD
21512013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2152
5f161884
JD
2153 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2154 Move Info menu item creation to ns-win.el.
2155
2156 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2157 in menu bar.
2158
aca5fcdc
JD
2159 * menu-bar.el: Move GNUStep specific menus...
2160
2161 * term/ns-win.el (ns-initialize-window-system): ... to here.
2162
914b7f98
SM
21632013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2164
2165 * simple.el (newline): Only run post-self-insert-hook when
2166 called interactively.
2167
846ffe77
JB
21682013-10-19 Johan Bockgård <bojohan@gnu.org>
2169
2170 * icomplete.el (icomplete-with-completion-tables): Add :version.
2171
033f22dd
AM
21722013-10-19 Alan Mackenzie <acm@muc.de>
2173
2174 Fix fontification bugs with constructors and const.
2175
2176 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2177 CASE 2) Remove the check for the absence of a suffix construct
2178 after a function declaration with only types (no identifiers) in
2179 the parentheses. Also, accept a function declaration with just a
2180 type inside the parentheses, if this type can be positively
2181 recognised as such, or if a prefix keyword like "explicit" nails
2182 down the construct as a declaration.
2183
58ce0cfc
EZ
21842013-10-19 Eli Zaretskii <eliz@gnu.org>
2185
2186 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2187 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2188 the problem whereby selecting a menu item that leads to a
2189 minibuffer prompt moves the cursor out of the minibuffer window,
2190 making it hard to type at the prompt. Suggested by Stefan Monnier
2191 <monnier@iro.umontreal.ca>.
2192
50e28e7d
JD
21932013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2194
2195 * menu-bar.el: Don't make Services menu.
2196
7deed4bf
RS
21972013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2198
2199 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2200 (ffap-alist): Use ffap-c++-mode for c++-mode.
2201 (ffap-c++-path): New variable.
2202 (ffap-c++-mode): New function.
2203
7bcb455b
JVJ
22042013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2205
2206 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2207
f0ff1cd5
MA
22082013-10-18 Michael Albinus <michael.albinus@gmx.de>
2209
2210 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2211 introduced on 2013-09-08, which results in an infinite loop
2212 requesting a password.
2213
d64da4b7
GM
22142013-10-18 Glenn Morris <rgm@gnu.org>
2215
2216 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2217
ea89ff08
WS
22182013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2219
2220 Sync with upstream verilog-mode revision 1a6ecec7.
2221 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2222 (verilog-mode-release-date): Remove.
2223 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2224 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2225 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2226 (verilog-auto-tieoff-ignore-regexp)
2227 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2228 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2229 (verilog-signals-with, verilog-dir-cache-preserving)
2230 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2231 Doc fixes.
2232 (verilog-case-fold): New option, to control case folding in
2233 regexp searches, bug597.
2234 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2235 (verilog-string-match-fold, verilog-in-paren-count)
2236 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2237 (verilog-at-close-struct-p): New functions.
2238 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2239 (verilog-forward-sexp, verilog-set-auto-endcomments):
2240 (verilog-leap-to-case-head): Handle "unique0" case.
2241 (verilog-in-constraint-re): New constant.
2242 (verilog-keywords, verilog-type-font-keywords):
2243 Add some SystemVerilog 1800-2012 keywords.
2244 (verilog-label-be): Remove unimplemented argument, bug669.
2245 (verilog-batch-execute-func): When batch expanding clear
2246 create-lockfiles to prevent spurious user locks when a file ends
2247 up not changing.
2248 (verilog-calculate-indent, verilog-calc-1)
2249 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2250 (verilog-do-indent): Fix indentation of nested constraints
2251 and structures.
2252 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2253 (verilog-auto-inst-param): Use verilog-string-match-fold.
2254 (verilog-read-inst-module-matcher):
2255 Fix AUTOINST on gate primitives with #1.
2256 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2257 Reads all user-defined typed variables.
2258 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2259 (verilog-signals-matching-regexp)
2260 (verilog-signals-not-matching-regexp, verilog-auto):
2261 Respect verilog-case-fold.
2262 (verilog-diff-report): Fix line count.
2263 (verilog-auto-assign-modport): Remove unused local `modi'.
2264 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2265 better handle multidimensional arrays.
2266 Fix packed array ports misadding bit index in AUTOINST, bug637.
2267 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2268 to not double-declare existing outputs and inputs, respectively.
2269 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2270 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2271 (verilog-sk-uvm-component): New skeleton.
2272 (verilog-submit-bug-report): Add verilog-case-fold,
2273 remove verilog-mode-release-date.
2274
ef566920
BR
22752013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2276
2277 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2278 as before.
2279
29df8a0b
RT
22802013-10-18 Reuben Thomas <rrt@sc3d.org>
2281
2282 * textmodes/remember.el (remember): set buffer-offer-save in
2283 remember buffers (bug#13566).
2284
04a19a79
DC
22852013-10-18 Daniel Colascione <dancol@dancol.org>
2286
2287 When evaluating forms in ielm, direct standard output to ielm
2288 buffer. Add new ielm-return-for-effect command. Remove trailing
2289 whitespace throughout.
2290
2291 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2292 (ielm-return-for-effect): New command.
2293 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
2294 (ielm-eval-input): Accept optional `for-effect' parameter.
2295 Bind `standard-output' to stream we create using
04a19a79
DC
2296 `ielm-standard-output-impl'. Suppress printing result when
2297 `for-effect'.
2298 (ielm-standard-output-impl): New function.
2299 (inferior-emacs-lisp-mode): Explain new features in documentation.
2300
4c1f03ef
MA
23012013-10-17 Michael Albinus <michael.albinus@gmx.de>
2302
2303 Code cleanup.
2304
2305 * net/tramp.el (tramp-debug-message): Do not check for connection
2306 buffer.
2307 (tramp-message): Use "vector" connection property.
2308
2309 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2310 (tramp-equal-remote, tramp-eshell-directory-change)
2311 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2312 (tramp-adb-handle-rename-file)
2313 * net/tramp-cmds.el (tramp-list-remote-buffers)
2314 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2315 * net/tramp-compat.el (tramp-compat-process-running-p)
2316 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2317 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2318 (tramp-gvfs-handle-rename-file)
2319 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2320 (tramp-set-file-uid-gid)
2321 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2322 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2323 of `file-remote-p'.
2324
2325 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2326 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2327 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2328 (tramp-gw-open-network-stream): Suppress unrelated traces.
2329
2330 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2331 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2332 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2333 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2334 connection property.
2335
2336 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 2337 persistency file.
4c1f03ef
MA
2338
2339 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2340 Refactor common code. Improve debug message.
2341 (tramp-maybe-open-connection)
2342 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2343 connection buffer too early.
2344
2345 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2346 from `tramp-smb-actions-with-acl'.
2347 (tramp-smb-actions-set-acl): New defconst.
2348 (tramp-smb-handle-copy-directory)
2349 (tramp-smb-action-get-acl): New defun, renamed from
2350 `tramp-smb-action-with-acl'.
2351 (tramp-smb-action-set-acl): New defun.
2352 (tramp-smb-handle-set-file-acl): Rewrite.
2353
642eb8b6
GM
23542013-10-17 Glenn Morris <rgm@gnu.org>
2355
2356 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2357
85527ff3
SM
23582013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2359
921c1d62
SM
2360 * skeleton.el (skeleton-newline): Remove.
2361 (skeleton-internal-1): Use (insert "\n") instead.
2362
e333fb10
SM
2363 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2364 let-bindings.
2365
85527ff3
SM
2366 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2367 forward-sexp-function while we redo its job (bug#15613).
2368
c8722a97
JB
23692013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2370
2371 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2372 represented by lists.
2373
7a550bbb
GM
23742013-10-16 Glenn Morris <rgm@gnu.org>
2375
2376 * tmm.el (tmm--history): New dynamic variable.
2377 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2378
f19da8ad
MA
23792013-10-16 Michael Albinus <michael.albinus@gmx.de>
2380
2381 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2382 (tramp-smb-errors): Add error messages.
2383 (tramp-smb-actions-with-acl): New defconst.
2384 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2385 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2386 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2387 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2388 (tramp-smb-get-stat-capability): Fix tests.
2389
a24b9961
DK
23902013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2391
2392 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2393 (bug#15580).
2394
62ad85e6
GM
23952013-10-16 Glenn Morris <rgm@gnu.org>
2396
0283d6b0
GM
2397 * ansi-color.el (ansi-color-drop-regexp):
2398 Add 1J, 1K, 2K. (Bug#15617)
2399
012e2f9f
GM
2400 * files.el (hack-local-variables--warned-lexical): New.
2401 (hack-local-variables):
2402 Warn about misplaced lexical-binding. (Bug#15616)
2403
62ad85e6
GM
2404 * net/eww.el (eww-render): Always set eww-current-url,
2405 and update header line. (Bug#15622)
2406 (eww-display-html): ... Rather than just doing it here.
2407
6456c0ea
EZ
24082013-10-15 Eli Zaretskii <eliz@gnu.org>
2409
2410 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2411 menu navigations commands.
2412
c2de5588
DK
24132013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2414
2415 * progmodes/subword.el (subword-capitalize): Be careful when
2416 the search for [[:alpha:]] fails (bug#15580).
2417
ccd4a783
EZ
24182013-10-14 Eli Zaretskii <eliz@gnu.org>
2419
2420 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2421 to commands that scroll the menu.
2422
1eda1d8d
DG
24232013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2424
c2de5588
DK
2425 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2426 Handle methods ending with `?' and `!'.
1eda1d8d 2427
e70181b8
AM
24282013-10-14 Akinori MUSHA <knu@iDaemons.org>
2429
2430 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2431 `japanese-cp932' to `cp932' to fix the problem where saving a
2432 source file written in Shift_JIS twice would end up having
2433 `coding: japanese-cp932' which Ruby could not recognize.
2434 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2435 in `ruby-encoding-map'.
2436 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2437 doesn't need to be explicitly declared in magic comment.
2438 (ruby-encoding-map): Add type declaration for better customize UI.
2439
9148ee92
GM
24402013-10-13 Glenn Morris <rgm@gnu.org>
2441
a5d38e34
GM
2442 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2443 Occur buffers are read-only. http://bugs.debian.org/720775
2444
9148ee92
GM
2445 * emacs-lisp/authors.el (authors-fixed-entries):
2446 Comment out old alpha stuff.
2447
a9ba094b
DG
24482013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2449
2450 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2451 to `after-save-hook' instead of `before-save-hook'.
2452 (ruby-mode-set-encoding): Use the value of coding system used to
2453 write the file. Call `basic-save-buffer-1' after modifying the
2454 buffer.
2455
7a068717
AM
24562013-10-13 Alan Mackenzie <acm@muc.de>
2457
2458 Fix indentation/fontification of Java enum with
2459 "implements"/generic.
2460
c2de5588
DK
2461 * progmodes/cc-engine.el (c-backward-over-enum-header):
2462 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
2463 (c-inside-bracelist-p): Uses new function above.
2464 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2465 function above.
2466 (c-font-lock-enum-tail): Uses new function above.
2467
85b64f02
KH
24682013-10-13 Kenichi Handa <handa@gnu.org>
2469
2470 * international/mule-cmds.el (select-safe-coding-system): Remove a
2471 superfluous condition in chekcing whether a coding system is safe
2472 or not.
2473
fc7f501b
OK
24742013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2475
2476 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2477
fdcb2049
AP
24782013-10-13 Andreas Politz <politza@hochschule-trier.de>
2479
2480 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2481
8c106d17
GM
24822013-10-13 Glenn Morris <rgm@gnu.org>
2483
feab892d
GM
2484 * menu-bar.el (menu-bar-update-buffers):
2485 Unify Buffers menu prompt string. (Bug#15576)
2486
b22d0686
GM
2487 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2488
8c106d17
GM
2489 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2490 Add some entries.
2491 (authors-fixed-entries): Use accented form of name.
2492
1b12c797
SM
24932013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2494
650fa7bf 2495 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 2496 method calls (bug#15594).
650fa7bf
SM
2497 (ruby-smie--args-separator-p): New function.
2498 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2499 recognize paren-free method calls.
2500
1b12c797
SM
2501 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2502 internals of universal-argument.
2503
029619c8
EZ
25042013-10-11 Eli Zaretskii <eliz@gnu.org>
2505
2506 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
2507 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2508 dropped menu on second mouse click on the menu bar.
029619c8 2509
dd070019
SM
25102013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2511
2512 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2513 (explicit-shell-file-name): Declare.
2514 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2515 (sh-completion-at-point-function): New function.
2516 (sh-mode): Use it.
2517 (sh-smie--keyword-p): Remove unused argument.
2518 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2519 vars.
2520 (sh-set-shell): Always setup SMIE, even if we use the
2521 old indentation code.
2522
0922b826
DG
25232013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2524
b68e2926
DG
2525 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2526 cases of ? and =.
2527 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2528 predicate would return nil are almost non-existent.
2529 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2530
0922b826
DG
2531 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2532 cache also after commands that modify the buffer but don't move
2533 point.
2534
ee041f2d
SM
25352013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2536
2537 * env.el (substitute-env-in-file-name): New function.
2538 (substitute-env-vars): Extend the meaning of the optional arg.
2539
a5dab159
EZ
25402013-10-10 Eli Zaretskii <eliz@gnu.org>
2541
2542 * term/w32-win.el (dynamic-library-alist): Define separate lists
2543 of GIF DLLs for versions before and after 5.0.0 of giflib.
2544 (Bug#15531)
2545
0449d6cd 25462013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
2547
2548 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2549 not locked, use last revision and current source as
2550 defaults. (Bug#15569)
2551
2f6e161e
MY
25522013-10-10 Masatake YAMATO <yamato@redhat.com>
2553
2554 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2555 menu-bar is hidden.
2556
6c8413fc
MR
25572013-10-10 Martin Rudalics <rudalics@gmx.at>
2558
2559 * window.el (pop-to-buffer-same-window): Fix doc-string.
2560 (Bug#15492)
2561
20832de0
SM
25622013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2563
2564 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2565
c6e8ae77
AC
25662013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2567
2568 * calendar/icalendar.el (icalendar-import-file):
2569 Fix interactive spec. (Bug#15482)
2570
9db13baf
GM
25712013-10-10 Glenn Morris <rgm@gnu.org>
2572
9271e90e
GM
2573 * desktop.el (desktop-save): Default to saving in .emacs.d,
2574 since PWD is no longer in desktop-path by default. (Bug#15319)
2575
9db13baf
GM
2576 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2577 now that text mode has a menu with the same entry.
2578 (menu-bar-text-mode-auto-fill): Remove now unused func.
2579 * textmodes/text-mode.el (text-mode-map):
2580 Use auto-fill help text from menu-bar.el.
2581
a0be396a 25822013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
2583
2584 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2585
2edcd3c7
JL
25862013-10-09 Juri Linkov <juri@jurta.org>
2587
2588 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2589 instead of this-command-keys. Add universal-argument-more and
2590 universal-argument-minus to the list of prefix commands. (Bug#15568)
2591
574411d0
GM
25922013-10-09 Glenn Morris <rgm@gnu.org>
2593
14afa541
GM
2594 * vc/vc-svn.el (vc-svn-create-repo):
2595 Expand paths in file://... url. (Bug#15446)
2596
574411d0
GM
2597 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2598 Add some entries.
2599 (authors): Remove unused local variables.
2600
79804536
SM
26012013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2602
2603 * profiler.el: Create a more coherent calltree from partial backtraces.
2604 (profiler-format): Hide the tail with `invisible' so that C-s can still
2605 find the hidden elements.
2606 (profiler-calltree-depth): Don't recurse so enthusiastically.
2607 (profiler-function-equal): New hash-table-test.
2608 (profiler-calltree-build-unified): New function.
2609 (profiler-calltree-build): Use it.
2610 (profiler-report-make-name-part): Indent the calltree less.
2611 (profiler-report-mode): Add visibility specs for profiler-format.
2612 (profiler-report-expand-entry, profiler-report-toggle-entry):
2613 Expand the whole subtree when provided with a prefix arg.
2614
238150c8
DG
26152013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2616
2617 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2618 iuwu-mod token.
2619 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2620 hanging iuwu-mod token.
2621 (ruby-smie--forward-token): Do not include a dot after a token in
2622 that token.
2623 (ruby-smie--backward-token): Likewise.
2624
b0949cc4
JL
26252013-10-08 Juri Linkov <juri@jurta.org>
2626
2627 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2628 to isearch-other-control-char.
2629 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2630 and isearch-post-command-hook to post-command-hook.
2631 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2632 and isearch-post-command-hook from post-command-hook.
2633 (isearch-unread-key-sequence)
2634 (isearch-reread-key-sequence-naturally)
2635 (isearch-lookup-scroll-key, isearch-other-control-char)
2636 (isearch-other-meta-char): Remove functions.
2637 (isearch-pre-command-hook, isearch-post-command-hook):
2638 New functions based on isearch-other-meta-char rewritten
2639 relying on the new behavior of overriding-terminal-local-map
2640 that does not replace the local keymaps any more. (Bug#15200)
2641
4ed77415
EZ
26422013-10-08 Eli Zaretskii <eliz@gnu.org>
2643
2644 Support menus on text-mode terminals.
2645 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2646 functionality.
2647
2648 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2649
c2de5588
DK
2650 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2651 Move here from mouse.el.
4ed77415
EZ
2652 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2653 and arrow keys.
2654 (tty-menu-navigation-map): New map for TTY menu navigation.
2655
2656 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2657
2658 * frame.el (display-mouse-p): Report text-mode mouse as available
2659 on w32.
2660 (display-popup-menus-p): Report availability if mouse is
2661 available; don't condition on window-system.
2662
2663 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2664 (tty-menu-selected-face): New faces.
2665
b7d5bd82
TL
26662013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2667
06286513
SM
2668 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2669 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2670 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2671 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2672 New constants.
2673 (lisp-mode-variables): New `elisp' argument.
2674 (emacs-lisp-mode): Use it.
2675 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2676 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2677
b7d5bd82
TL
2678 * indent.el: Use lexical-binding.
2679 (indent-region): Add progress reporter.
2680 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2681 last step.
2682 (indent--next-tab-stop): New function to implement this behavior.
2683 (tab-to-tab-stop, move-to-tab-stop): Use it.
2684
26852013-10-08 Teemu Likonen <tlikonen@iki.fi>
2686
2687 * indent.el (indent-rigidly--current-indentation): New function.
2688 (indent-rigidly-map): New var.
2689 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2690
5ea75d23
BG
26912013-10-08 Bastien Guerry <bzg@gnu.org>
2692
2693 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2694
cc5da1ec
SM
26952013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2696
8ffa1a0b
SM
2697 * progmodes/perl-mode.el: Use lexical-binding.
2698 Remove redundant :group args.
2699 (perl-nochange): Change default to be closer to other major modes's
2700 standard behavior.
2701 (perl-indent-line): Don't consider text on current line as a
2702 valid beginning of function from which to indent.
2703
f2223371
SM
2704 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2705 with more than one argument (bug#15538).
2706
44256060
SM
2707 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2708
cc5da1ec
SM
2709 * vc/pcvs.el: Use lexical-binding.
2710 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2711 environment of `eval'.
2712 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2713 than a list of expressions. Adjust callers.
2714 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2715
0ea1599d
DG
27162013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2717
2718 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 2719 case of the dot in a chained method call being on the following line.
0ea1599d 2720
da3e5ebb
SM
27212013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2722
2abb4e65
SM
2723 * electric.el (electric-indent-inhibit): New var.
2724 (electric-indent-post-self-insert-function): Use it.
2725 * progmodes/python.el (python-mode): Set it.
2726
d2e0e795
SM
2727 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2728 open braces.
2729
2730 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2731
bdc6b4c8
SM
2732 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2733 (css-mode): Use electric-indent-chars.
2734
da3e5ebb
SM
2735 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2736 (font-lock-beg, font-lock-end): Move before first use.
2737 (nxml-mode): Use syntax-propertize-function.
2738 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2739 (nxml-extend-after-change-region): Remove.
2740 * nxml/xmltok.el: Use lexical-binding.
2741 (xmltok-save): Use `declare'.
2742 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2743 * nxml/nxml-util.el: Use lexical-binding.
2744 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2745 Use `declare'.
2746 * nxml/nxml-ns.el: Use lexical-binding.
2747 (nxml-ns-save): Use `declare'.
2748 (nxml-ns-prefixes-for): Avoid add-to-list.
2749 * nxml/rng-match.el: Use lexical-binding.
2750 (rng--ipattern): Use cl-defstruct.
2751 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2752 (rng-cons-group-after, rng-subst-group-after)
2753 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2754 Use closures instead of `(lambda...).
2755
f8f91d5d
MA
27562013-10-07 Michael Albinus <michael.albinus@gmx.de>
2757
2758 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2759 of BEG and END.
2760
da3e5ebb
SM
2761 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2762 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
2763 (tramp-gvfs-handle-insert-file-contents): Remove function.
2764
da3e5ebb
SM
2765 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2766 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
2767
2768 * net/trampver.el: Update release number.
2769
7ccae3b1
SM
27702013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2771
55ca2c0d
SM
2772 * progmodes/compile.el (compilation-parse-errors):
2773 Use compilation--put-prop.
2774 (compilation--ensure-parse): Check compilation-multiline.
2775
731fc3ae
SM
2776 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2777
da3e5ebb
SM
2778 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2779 lexical-binding.
a5833280 2780
2e7ba2c2
SM
2781 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2782
7ccae3b1
SM
2783 * progmodes/ruby-mode.el: Fix recently added tests.
2784 (ruby-smie-grammar): Add - and +.
2785 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2786 (ruby-smie--backward-id): New functions.
2787 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2788 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2789 any more.
2790
85698d63
LL
27912013-10-07 Leo Liu <sdl.web@gmail.com>
2792
2793 * register.el (register-preview-delay)
2794 (register-preview-functions): New variables.
2795 (register-read-with-preview, register-preview)
2796 (register-describe-oneline): New functions.
2797 (point-to-register, window-configuration-to-register)
2798 (frame-configuration-to-register, jump-to-register)
2799 (number-to-register, view-register, insert-register)
2800 (copy-to-register, append-to-register, prepend-to-register)
2801 (copy-rectangle-to-register): Use register-read-with-preview to
2802 read register. (Bug#15525)
2803
3986af6c
DS
28042013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2805
2806 * net/network-stream.el (network-stream-open-starttls): Don't add
2807 --insecure if it's already present, because that gnutls-cli
2808 rejects getting that parameter twice.
2809
5cd9cda9
DG
28102013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2811
2812 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2813 keyword, too.
2814
da9ea6d9
DG
28152013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2816
2817 * newcomment.el (comment-use-global-state): Change default value
2818 to t, mark obsolete (Bug#15251).
2819 (comment-beginning): In addition to `comment-to-syntax', check the
2820 value of `comment-use-global-state'.
2821
34d1a133
SM
28222013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2823
2824 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2825 (ruby-comment-column): Follow the global default, by default.
2826 (ruby-smie-grammar): Add assignment syntax.
2827 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2828 open-paren, a comma, or a \.
2829 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2830 and line continuations.
2831 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2832 followed by implicit semi-colons. Add rule for string concatenation
2833 and for indentation at BOB.
2834 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2835
2836 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2837 calling next-sexp, since next-token may have skipped chars which
2838 next-sexp doesn't know should be skipped!
2839
6f6ab820
LL
28402013-10-05 Leo Liu <sdl.web@gmail.com>
2841
34d1a133
SM
2842 * progmodes/octave.el (octave-send-region):
2843 Call compilation-forget-errors.
6f6ab820 2844
34ca0f4c
XF
28452013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2846
2847 * vc/vc-svn.el (vc-svn-find-admin-dir):
2848 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2849 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2850 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2851 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2852
a27c1b72
SM
28532013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2854
2855 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2856
258ab3bc
SM
28572013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2858
2859 * subr.el (read-passwd): Hide chars even when called within a context
2860 where after-change-functions is disabled (bug#15501).
2861 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2862 until we removed ourself from overriding-terminal-local-map.
2863
939fb29c
LL
28642013-10-04 Leo Liu <sdl.web@gmail.com>
2865
258ab3bc
SM
2866 * progmodes/octave.el (inferior-octave-mode):
2867 Call compilation-forget-errors.
939fb29c 2868
63bd7f35
XF
28692013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2870
2871 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2872
9e6229fa
MA
28732013-10-04 Michael Albinus <michael.albinus@gmx.de>
2874
2875 * net/secrets.el (secrets-create-collection): Add optional
2876 argument ALIAS. Use proper Label keyword. Append ALIAS as
2877 dbus-call-method argument. (Bug#15516)
2878
1dab32a3
LL
28792013-10-04 Leo Liu <sdl.web@gmail.com>
2880
2881 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2882 (inferior-octave-compilation-font-lock-keywords): New variables.
2883 (compilation-error-regexp-alist)
2884 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2885 (inferior-octave-mode): Use compilation-shell-minor-mode.
2886
6cad7ba3
JS
28872013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2888
2889 * minibuffer.el (completion--replace): Be careful that `end' might be
2890 a marker.
2891
acbadd00
DU
28922013-10-03 Daiki Ueno <ueno@gnu.org>
2893
2894 Add support for package signature checking.
2895 * emacs-lisp/package.el (url-http-file-exists-p)
2896 (epg-make-context, epg-context-set-home-directory)
2897 (epg-verify-string, epg-context-result-for)
2898 (epg-signature-status, epg-signature-to-string)
2899 (epg-check-configuration, epg-configuration)
2900 (epg-import-keys-from-file): Declare.
2901 (package-check-signature): New user option.
2902 (package-unsigned-archives): New user option.
2903 (package-desc): Add `signed' field.
2904 (package-load-descriptor): Set `signed' field if .signed file exists.
2905 (package--archive-file-exists-p): New function.
2906 (package--check-signature): New function.
2907 (package-install-from-archive): Check package signature.
2908 (package--download-one-archive): Check archive signature.
2909 (package-delete): Remove .signed file.
2910 (package-import-keyring): New command.
2911 (package-refresh-contents): Import default keyring.
2912 (package-desc-status): Add "unsigned" status.
2913 (describe-package-1, package-menu--print-info)
2914 (package-menu-mark-delete, package-menu--find-upgrades)
2915 (package-menu--status-predicate): Support "unsigned" status.
2916
adf2aa61
SM
29172013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2918
2919 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2920 the new compilation scheme using the new byte-codes.
2921
2922 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2923 (byte-pophandler): New byte codes.
2924 (byte-goto-ops): Adjust accordingly.
2925 (byte-compile--use-old-handlers): New var.
2926 (byte-compile-catch): Use new byte codes depending on
2927 byte-compile--use-old-handlers.
2928 (byte-compile-condition-case--old): Rename from
2929 byte-compile-condition-case.
2930 (byte-compile-condition-case--new): New function.
2931 (byte-compile-condition-case): New function that dispatches depending
2932 on byte-compile--use-old-handlers.
2933 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2934 when we can.
2935
2936 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2937 Optimize under `condition-case' and `catch' if
2938 byte-compile--use-old-handlers is nil.
2939 (disassemble-offset): Handle new bytecodes.
2940
328a8179
SM
29412013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2942
2943 * subr.el (error): Use `declare'.
2944 (decode-char, encode-char): Use advertised-calling-convention instead
2945 of the docstring to discourage use of the `restriction' arg.
2946
15a1e936
DU
29472013-10-03 Daiki Ueno <ueno@gnu.org>
2948
2949 * epg.el (epg-verify-file): Add a comment saying that it does not
2950 notify verification error as a return value nor a signal.
2951 (epg-verify-string): Ditto.
2952
376f862a
KR
29532013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2954
2955 * progmodes/compile.el (compilation-start): Try globbing the arg to
2956 `cd' (bug#15417).
2957
a2f93a5f
MA
29582013-10-02 Michael Albinus <michael.albinus@gmx.de>
2959
2960 Sync with Tramp 2.2.8.
2961
2962 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2963 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2964 * net/trampver.el: Update release number.
2965
0daa0804
JD
29662013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2967
2968 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2969 and default-process-coding-system for darwin only.
2970
abd1ae34
SM
29712013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2972
2973 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2974
be4e325d
MH
29752013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2976
2977 * vc/vc-git.el (vc-git-grep): Disable pager.
2978
e9155c4a
DG
29792013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2980
494e898b
DG
2981 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2982 Use :url instead of :homepage, as per
2983 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2984
e9155c4a
DG
2985 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2986 non-nil, use `syntax-ppss' (Bug#15251).
2987
481a8e0f
RS
29882013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2989
be4e325d
MH
2990 * progmodes/octave.el (inferior-octave-startup-file):
2991 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 2992
056453c6
DG
29932013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2994
be4e325d
MH
2995 * emacs-lisp/package.el (package-desc-from-define):
2996 Accept additional arguments as plist, convert them to an alist and store
2997 them in the `extras' slot.
056453c6
DG
2998 (package-generate-description-file): Convert extras alist back to
2999 plist and append to the `define-package' form arguments.
3000 (package--alist-to-plist): New function.
3001 (package--ac-desc): Add `extras' slot.
3002 (package--add-to-archive-contents): Check if the archive-contents
3003 vector is long enough, and if it is, pass its `extras' slot value
3004 to `package-desc-create'.
3005 (package-buffer-info): Call `lm-homepage', pass the returned value
3006 to `package-desc-from-define'.
3007 (describe-package-1): Render the homepage button (Bug#13291).
3008
be4e325d
MH
3009 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3010 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 3011
832966e5
JD
30122013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3013
3014 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3015 and default-process-coding-system to utf-8-unix (Bug#15402).
3016
6cfe977d
XF
30172013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3018
3019 * subr.el (looking-back): Do not recommend using looking-back.
3020
38de11bd
AM
30212013-09-28 Alan Mackenzie <acm@muc.de>
3022
3023 Fix indentation/fontification of Java enum with "implements".
3024
3025 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3026 regexp which matches "implements", etc., in Java.
3027 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3028 specifier clauses coming after "enum".
3029 * progmodes/cc-fonts.el (c-font-lock-declarations)
3030 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3031 after "enum".
3032
1610938f
JD
30332013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3034
3035 * faces.el (region): Change ns_selection_color to
3036 ns_selection_fg_color, add ns_selection_bg_color.
3037
e090f499
LL
30382013-09-28 Leo Liu <sdl.web@gmail.com>
3039
4d2e94d1
LL
3040 * progmodes/octave.el (inferior-octave-completion-table)
3041 (inferior-octave-completion-at-point): Minor tweaks.
3042
e090f499
LL
3043 * textmodes/ispell.el (ispell-lookup-words): Rename from
3044 lookup-words. (Bug#15460)
3045 (lookup-words): Obsolete.
3046 (ispell-complete-word, ispell-command-loop): All uses changed.
3047
7e138a62
RS
30482013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3049
3050 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3051 (octave-mode-menu): Add octave-send-buffer.
3052 (octave-send-buffer): New function.
3053
5af5ed08
RS
30542013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3055
3056 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3057 octave-lookfor.
3058 (octave-mode-menu): Add octave-lookfor.
3059 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3060 octave-lookfor.
3061 (octave-lookfor): New function.
3062
3b7b2692
SM
30632013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3064
3065 * emacs-lisp/cl-macs.el:
3066 (cl--loop-destr-temps): Remove.
3067 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3068 its convention.
3069 (cl--loop-set-iterator-function): New function.
3070 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3071 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3072 Bind `it' with `let' instead of substituting it with `cl-subst'.
3073 (cl--unused-var-p): New function.
3074 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3075 Eliminate some unused variable warnings (bug#15326).
3076
529fb53f
TH
30772013-09-27 Tassilo Horn <tsdh@gnu.org>
3078
3079 * doc-view.el (doc-view-scale-reset): Rename from
3080 `doc-view-reset-zoom-level'.
3081 (doc-view-scale-adjust): New command.
3082 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3083 `doc-view-scale-adjust'.
3084
0550c95a
TH
30852013-09-26 Tassilo Horn <tsdh@gnu.org>
3086
3087 * doc-view.el (doc-view-reset-zoom-level): New command.
3088 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3089 zoom commands (bug#15466).
3090
6950f152
KH
30912013-09-26 Kenichi Handa <handa@gnu.org>
3092
3093 * international/quail.el (quail-help): Make it not a command.
3094
39587580
LL
30952013-09-26 Leo Liu <sdl.web@gmail.com>
3096
3097 * minibuffer.el (completion-all-sorted-completions): Make args
3098 optional as they are.
3099
00578659
DC
31002013-09-25 Daniel Colascione <dancol@dancol.org>
3101
3102 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3103 specs are and that they're not evaluated.
3104
0c173878
SS
31052013-09-24 Sam Steingold <sds@gnu.org>
3106
3107 * midnight.el (clean-buffer-list-kill-regexps)
3108 (clean-buffer-list-kill-buffer-names): Update for the new Man
3109 buffer naming which includes the object name.
3110
84998447
SM
31112013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3112
3113 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3114 (eshell-parse-command, eshell-parse-pipeline): Use it since
3115 eshell-separate-commands requires a dynamic scoped var.
3116 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3117
33215353
LL
31182013-09-23 Leo Liu <sdl.web@gmail.com>
3119
3120 * autoinsert.el (auto-insert-alist): Make the value of
3121 lexical-binding match its file setting.
3122
57b16162
JB
31232013-09-23 Juanma Barranquero <lekktu@gmail.com>
3124
c8af4e67
JB
3125 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3126
57b16162
JB
3127 * autoarg.el (autoarg-kp-digit-argument):
3128 * electric.el (Electric-command-loop):
3129 * kmacro.el (kmacro-step-edit-insert):
3130 Do not set universal-argument-num-events.
3131
7186ba60
LL
31322013-09-22 Leo Liu <sdl.web@gmail.com>
3133
3134 * files.el (interpreter-mode-alist): Add octave.
3135
ece15004
AM
31362013-09-21 Alan Mackenzie <acm@muc.de>
3137
3138 C++: fontify identifier in declaration following "public:" correctly.
3139 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3140 to match "public", etc.
3141 (c-decl-prefix-re): Add ":" into the C++ value.
3142 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3143 bit. Add a check for a ":" preceded by "public", etc.
3144
75d83e22
EZ
31452013-09-21 Eli Zaretskii <eliz@gnu.org>
3146
3147 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3148 recognized by GDB 7.5 and later.
3149
d052d3bd
XF
31502013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3151
3152 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3153
31dca772
R
31542013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3155
3156 * subr.el (internal--call-interactively): New const.
3157 (called-interactively-p): Use it (bug#3984).
3158
98ccf24e
XF
31592013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3160
3161 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
3162 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3163 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 3164
c39cc7d1
SM
31652013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3166
3167 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3168 (eshell-ls-orig-insert-directory): Remove.
3169 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3170 (eshell-ls-use-in-dired): Use advice-add/remove.
3171 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3172 Add `orig-fun' arg for use in :around advice.
3173 Make it check (redundantly) eshell-ls-use-in-dired.
3174
9a0289a2
GM
31752013-09-19 Glenn Morris <rgm@gnu.org>
3176
a2c501b8
GM
3177 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3178
c440407a
GM
3179 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3180
9a0289a2
GM
3181 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3182
85e05915
MA
31832013-09-19 Michael Albinus <michael.albinus@gmx.de>
3184
3185 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3186 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3187 (tramp-get-remote-python): New defuns.
3188 (tramp-get-remote-uid-with-perl)
3189 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3190 contributed by yary <not.com@gmail.com> (tiny change).
3191 (tramp-get-remote-uid-with-python)
3192 (tramp-get-remote-gid-with-python): New defuns. Python code
3193 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3194 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3195
ce503312
GM
31962013-09-19 Glenn Morris <rgm@gnu.org>
3197
f7544773
GM
3198 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3199
72fd2877
GM
3200 * eshell/em-unix.el (eshell-remove-entries):
3201 Rename argument to avoid name-clash with global `top-level'.
3202
336b5a56
GM
3203 * eshell/esh-proc.el (eshell-kill-process-function):
3204 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3205 (eshell-reset-after-proc): Remove unused arg `proc'.
3206
57a3a53d
GM
3207 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3208 (directory-files-and-attributes): Mark unused arg.
3209
3261d4af
GM
3210 * eshell/em-unix.el (eshell-remove-entries):
3211 Remove unused arg `path'. Update callers.
3212
8e51b5d0
GM
3213 * eshell/em-hist.el (eshell-hist-parse-arguments):
3214 Remove unused arg `silent'. Update callers.
3215
ce503312
GM
3216 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3217 Fix (f)boundp mix-up.
3218
3219 * eshell/em-smart.el (eshell-smart-scroll-window)
3220 (eshell-disable-after-change):
336b5a56 3221 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 3222
ee3ce8a7
AM
32232013-09-18 Alan Mackenzie <acm@muc.de>
3224
3225 Fix fontification of type when followed by "const".
3226 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3227 "known" types from fontification.
3228
ec9177ba
GM
32292013-09-18 Glenn Morris <rgm@gnu.org>
3230
7bb3e768
GM
3231 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3232 (chart-face-list): Drop Emacsen without display-color-p.
3233
5148da15
GM
3234 * net/eww.el (libxml-parse-html-region): Declare.
3235 (eww-display-html): Explicit error if no libxml2 support.
3236
2f68e157
GM
3237 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3238
9019d095
GM
3239 * image.el (image-type-from-buffer, image-multi-frame-p):
3240 Remove --without-x warning/error.
67645389 3241
5f30349b 3242 * mouse.el (mouse-yank-primary):
45069b2e 3243 * term.el (term-mouse-paste):
5f30349b
GM
3244 Reorder to silence --without-x compilation.
3245
cd8edbbe
GM
3246 * mpc.el (doc-view-mode): Silence --without-x compilation.
3247
8a78544e
GM
3248 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3249 Silence --without-x compilation.
3250
12679bfd
GM
3251 * progmodes/gud.el (gud-find-file, gud-mode):
3252 Silence --without-x compilation.
3253 (tooltip-mode): Declare.
30810a05 3254
f0047cb9
GM
3255 * wdired.el (dired-backup-overwrite): Remove declaration.
3256 (wdired-mode-map): Add doc string.
3257
e740f9d2
GM
3258 * custom.el (x-get-resource): Declare.
3259
92d77c89
GM
3260 * eshell/em-glob.el (ange-cache):
3261 * eshell/em-unix.el (ange-cache): Declare.
3262
76e69577
GM
3263 * faces.el (x-display-list, x-open-connection, x-get-resource):
3264 Declare.
7e58af4b
GM
3265
3266 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3267 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3268 Declare.
76e69577 3269
4bd4c0af 3270 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 3271
ffb82dbd
GM
3272 * net/gnutls.el (gnutls-log-level): Declare.
3273
986ed135
GM
3274 * net/shr.el (image-size, image-animate): Declare.
3275
e740f9d2
GM
3276 * simple.el (font-info): Declare.
3277
d2f3e9f8
GM
3278 * subr.el (x-popup-dialog): Declare.
3279
047a1a4c
GM
3280 * term/common-win.el (x-select-enable-primary)
3281 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3282 Declare.
3283
f4a1d572
GM
3284 * term/ns-win.el (x-handle-args): Declare.
3285
e843de77
GM
3286 * term/x-win.el (x-select-enable-clipboard): Declare.
3287
5fa89513
GM
3288 * term/w32-win.el (create-default-fontset): Declare.
3289
38702b5b
GM
3290 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3291 Declare.
3292
e740f9d2
GM
3293 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3294 (fit-frame-to-buffer): Explicit error if --without-x.
3295 (mouse-autoselect-window-select): Silence compiler.
3296
49a053fc
GM
3297 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3298
3299 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3300 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3301 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 3302 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
3303 Remove unused local variables.
3304
3305 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3306
ec9177ba
GM
3307 * textmodes/two-column.el: Make 2C-split work for --without-x.
3308 (scroll-bar-columns): Autoload.
3309 (top-level): Require fringe when compiling.
3310
9f25cb77
LL
33112013-09-18 Leo Liu <sdl.web@gmail.com>
3312
3313 * subr.el (add-hook): Robustify to handle closure as well.
3314
2b42da98
GM
33152013-09-17 Glenn Morris <rgm@gnu.org>
3316
3317 * simple.el (messages-buffer-mode-map): Unbind "g".
3318
e8b66a6a
SM
33192013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3320
9c0ad4f7
SM
3321 * help-mode.el (help-mode-finish): Use derived-mode-p.
3322 Remove obsolete highlighting.
3323
7a806dfb
SM
3324 * play/life.el (life-mode): Use define-derived-mode. Derive from
3325 special-mode.
3326 (life): Let-bind inhibit-read-only.
3327 (life-setup): Avoid `setq'. Use `life-mode'.
3328
96dbf5a8
SM
3329 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3330 which should not be needed any more.
3331 (package-menu-refresh, package-menu-describe-package): Use user-error.
3332
e8b66a6a
SM
3333 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3334 (eshell-post-rewrite-command-hook): Make obsolete.
3335 (eshell-parse-command): Simplify.
3336 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3337 (eshell--cmd): Declare.
3338 (eshell-parse-pipeline): Remove unused var `final-p'.
3339 Pass a dynvar to eshell-post-rewrite-command-hook.
3340 Implement the new eshell-post-rewrite-command-function.
3341 (eshell-invoke-directly): Remove unused arg `input'.
3342 * eshell/esh-io.el (eshell-io-initialize):
3343 Use eshell-post-rewrite-command-function (bug#15399).
3344 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3345 adjust to new calling convention.
3346 (eshell-create-handles): Rename args to avoid clashing with dynvar
3347 `standard-output'.
3348
90582f05
GM
33492013-09-17 Glenn Morris <rgm@gnu.org>
3350
3351 * simple.el (messages-buffer-mode): New major mode.
3352 (messages-buffer): New function.
3353 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3354 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 3355 (ert-run-test): Use `messages-buffer' function.
90582f05 3356 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
3357 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3358 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 3359
39eb0cb5 33602013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
3361
3362 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3363
1f1e06e2
SM
3364 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3365
70568a90
SM
33662013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3367
504a0381
SM
3368 * icomplete.el (icomplete-in-buffer): New var.
3369 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3370 vars and replace them with functions.
3371 (icomplete-minibuffer-setup): Adjust accordingly.
3372 (icomplete--completion-table, icomplete--completion-predicate)
3373 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3374 New functions.
3375 (icomplete-forward-completions, icomplete-backward-completions)
3376 (icomplete-simple-completing-p, icomplete-exhibit)
3377 (icomplete-completions): Use them.
3378 (icomplete--in-region-buffer): New var.
3379 (icomplete--in-region-setup): New function.
3380 (icomplete-mode): Use it.
3381
70568a90
SM
3382 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3383 (bug#15379).
3384 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3385 return args and options.
3386 (eshell-eval-using-options): Use the new return value of
3387 eshell--do-opts to set the options's vars in their scope.
3388 (eshell--set-option): Rename from eshell-set-option.
3389 Add arg `opt-vals'.
3390 (eshell--process-option): Rename from eshell-process-option.
3391 Add arg `opt-vals'.
3392 (eshell--process-args): Use an `opt-vals' alist to store the options's
3393 values during their processing and return them additionally to the
3394 remaining args.
3395
578c21bc
DG
33962013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3397
3398 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3399 continuation character an operator, as far as indentation is
3400 concerned (Bug#15369).
3401
c089653d
MR
34022013-09-15 Martin Rudalics <rudalics@gmx.at>
3403
3404 * window.el (window--state-put-2): Don't process buffer state
3405 when buffer doesn't exist any more (Bug#15382).
3406
1e53bb4b
GM
34072013-09-15 Glenn Morris <rgm@gnu.org>
3408
30753242
GM
3409 * eshell/em-unix.el (eshell/rm):
3410 Make -f ignore missing files. (Bug#15373)
3411
1e53bb4b
GM
3412 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3413 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3414 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3415
0d8863b3
GM
34162013-09-14 Glenn Morris <rgm@gnu.org>
3417
3418 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3419
d3fc6549
GM
34202013-09-13 Glenn Morris <rgm@gnu.org>
3421
3422 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3423 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3424
fcd42c11
DA
34252013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3426
3427 * frame.el (x-focus-frame): Mark as declared in frame.c.
3428
7830899f
SM
34292013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3430
3431 * ls-lisp.el: Use advice-add.
3432 (original-insert-directory): Remove.
3433 (ls-lisp--insert-directory): Rename from insert-directory; add
3434 `orig-fun' argument.
3435 (insert-directory): Advise.
3436
84387cd2
EZ
34372013-09-13 Eli Zaretskii <eliz@gnu.org>
3438
3439 * term.el (term-emulate-terminal): Decode the command string
3440 before passing it to term-command-hook. (Bug#15337)
3441
35ffc6ba
GM
34422013-09-13 Glenn Morris <rgm@gnu.org>
3443
5c3f9bcc
GM
3444 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3445
2ada368a
GM
3446 * eshell/esh-ext.el (eshell-search-path): Declare.
3447
fcef2e13
GM
3448 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3449 Otherwise an error occurs if eshell-dirs module not loaded.
3450
35ffc6ba
GM
3451 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3452
35c3d36e
MA
34532013-09-13 Michael Albinus <michael.albinus@gmx.de>
3454
3455 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3456 `tramp-check-proper-host'. Check for a valid method name.
3457
3458 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3459 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3460 * net/tramp-sh.el (tramp-maybe-open-connection):
3461 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3462
3463 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3464 also for hash values.
3465
ae5e4c48
SM
34662013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3467
379add74
SM
3468 * term/ns-win.el (parameters): Don't declare as dynamic.
3469 (before-make-frame-hook): Don't add ineffective function.
3470
ae5e4c48
SM
3471 * eshell/*.el: Use lexical-binding (bug#15231).
3472
b5623270
KH
34732013-09-12 Kenichi Handa <handa@gnu.org>
3474
ae5e4c48 3475 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 3476
30213927
GM
34772013-09-12 Glenn Morris <rgm@gnu.org>
3478
be94d713 3479 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 3480 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 3481
44915370
GM
3482 * subr.el (do-after-load-evaluation): Also give compiler warnings
3483 when obsolete files are used (except by obsolete files).
3484
a6ae021f
GM
3485 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3486 in the status output, assume `filename' is the first. (Bug#15322)
3487
40e64f0c
GM
3488 * vc/vc.el (vc-deduce-fileset): Doc fix.
3489
16d9f896
GM
3490 * calc/calc-help.el (Info-goto-node):
3491 * progmodes/cperl-mode.el (Info-find-node):
3492 * vc/ediff.el (Info-goto-node): Update declarations.
3493
dea01c6e
GM
3494 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3495
759880bf 3496 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
3497 (vc-bzr-pull): Require vc-dispatcher.
3498 * vc/vc-git.el (vc-compilation-mode): Declare.
3499 (vc-git-pull): Require vc-dispatcher.
3500
08d66420
GM
3501 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3502
30b626e9
GM
3503 * progmodes/octave.el (help-button-action): Declare.
3504
8c05cb10
GM
3505 * shell.el (shell-directory-tracker): Output error as a message
3506 rather than just returning it as a string.
3507 (shell-process-pushd): Remove useless use of message.
3508
30213927
GM
3509 * dframe.el (dframe-timer-fn):
3510 * files.el (dir-locals-read-from-file):
3511 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3512 (mpc-format):
3513 * reveal.el (reveal-post-command):
3514 * saveplace.el (load-save-place-alist-from-file):
3515 * shell.el (shell-resync-dirs):
3516 * w32-common-fns.el (x-get-selection-value):
3517 * emacs-lisp/copyright.el (copyright-find-copyright):
3518 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3519 * emulation/tpu-edt.el (tpu-copy-keyfile):
3520 * play/bubbles.el (bubbles--mark-neighbourhood):
3521 * progmodes/executable.el
3522 (executable-make-buffer-file-executable-if-script-p):
3523 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3524
d3b049e6
SM
35252013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3526
170266d0
SM
3527 Cleanup Eshell to rely less on dynamic scoping.
3528 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3529 last-value, and ext-command here. Bind `args' closer to `body'.
3530 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3531 (eshell--args): Declare new dynamic var.
3532 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3533 last-value, and ext-command. Pass `args' to `body'.
3534 (eshell-process-args): Bind eshell--args.
3535 (eshell-set-option): Use eshell--args.
3536 * eshell/eshell.el (eshell): Use derived-mode-p.
3537 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3538 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3539 (eshell-glob-function): Declare.
3540 * eshell/esh-util.el: Require cl-lib.
3541 (eshell-read-hosts-file): Avoid add-to-list.
3542 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3543 `err'.
3544 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3545 Declare.
3546 (eshell/diff): Remove unused var `err'.
3547 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3548 `killflag'.
3549 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3550 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3551 first use.
3552 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3553 Move declaration before first use.
3554 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
3555 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3556 rely on cl-return.
3557
56834f3b
GM
35582013-09-12 Glenn Morris <rgm@gnu.org>
3559
3560 * term/ns-win.el (global-map): Remove binding for ispell-next,
3561 deleted 1999-05-29. (Bug#15357)
3562
5c91a2b8
GM
35632013-09-11 Glenn Morris <rgm@gnu.org>
3564
da712f22
GM
3565 * echistory.el (electric-command-history): Remove call to deleted func.
3566
512e4cdc
GM
3567 * play/landmark.el (landmark-mode): Fix typos.
3568
d3506ca5
GM
3569 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3570 Check cvs-sort-ignore-file is bound.
3571
5c91a2b8
GM
3572 * savehist.el: No need for cl when compiling on Emacs.
3573
feeff482
SM
35742013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3575
656bd483
SM
3576 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3577 (bug#15338).
d3b049e6
SM
3578 (eshell-self-insert-command, eshell-send-invisible):
3579 Remove unused argument.
656bd483
SM
3580 (eshell-handle-control-codes): Remove unused var `orig'.
3581 Avoid delete-backward-char.
3582
feeff482
SM
3583 * files.el (set-auto-mode): Simplify a bit further.
3584
2a08047a
GM
35852013-09-11 Glenn Morris <rgm@gnu.org>
3586
3587 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3588 (set-auto-mode): Don't regexp-quote elements.
3589 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3590 * progmodes/cc-mode.el (interpreter-mode-alist):
3591 * progmodes/ruby-mode.el (interpreter-mode-alist):
3592 Revert previous change.
3593
34675540
SM
35942013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3595
1b3b87df
SM
3596 * play/snake.el (snake-mode):
3597 * play/mpuz.el (mpuz-mode):
3598 * play/landmark.el (lm-mode):
3599 * play/blackbox.el (blackbox-mode):
3600 * play/5x5.el (5x5-mode):
3601 * obsolete/options.el (Edit-options-mode):
3602 * net/quickurl.el (quickurl-list-mode):
3603 * net/newst-treeview.el (newsticker-treeview-mode):
3604 * mail/rmailsum.el (rmail-summary-mode):
3605 * mail/mspools.el (mspools-mode):
3606 * locate.el (locate-mode):
3607 * ibuffer.el (ibuffer-mode):
3608 * emulation/ws-mode.el (wordstar-mode):
3609 * emacs-lisp/debug.el (debugger-mode):
3610 * array.el (array-mode):
3611 * net/eudc.el (eudc-mode): Use define-derived-mode.
3612 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3613 Move initialization into declaration.
3614 (mairix-searches-mode): Use define-derived-mode.
3615 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3616 (eudc-edit-hotlist): Use dolist.
3617 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3618 (Man-mode): Use define-derived-mode.
3619 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3620 (Info-edit-mode): Use define-derived-mode.
3621 (Info-cease-edit): Use Info-mode.
3622 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3623 into declaration.
3624 (eshell-mode): Use define-derived-mode.
3625 * chistory.el (command-history-mode-map): Rename from
3626 command-history-map.
3627 (command-history-mode): Use define-derived-mode.
da712f22 3628 (Command-history-setup): Remove function.
1b3b87df
SM
3629 * calc/calc.el (calc-trail-mode-map): New var.
3630 (calc-trail-mode): Use define-derived-mode.
3631 (calc-trail-buffer): Set calc-main-buffer manually.
3632 * bookmark.el (bookmark-insert-annotation): New function.
3633 (bookmark-edit-annotation): Use it.
3634 (bookmark-edit-annotation-mode): Make it a proper major mode.
3635 (bookmark-send-edited-annotation): Use derived-mode-p.
3636 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3637 closer to its ideal place. Use \' to match EOS.
3638
34675540
SM
3639 * profiler.el (profiler-calltree-find): Use function-equal.
3640
6a5c15d9
GM
36412013-09-10 Glenn Morris <rgm@gnu.org>
3642
1af4c220
GM
3643 * files.el (interpreter-mode-alist): Convert to regexps.
3644 (set-auto-mode): Adapt for this. (Bug#15306)
3645 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3646 Comment out unused variable.
3647 * progmodes/cc-mode.el (interpreter-mode-alist):
3648 * progmodes/python.el (interpreter-mode-alist):
3649 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3650 * progmodes/sh-script.el (sh-set-shell):
3651 No longer use interpreter-mode-alist to get list of shells.
3652
6a5c15d9
GM
3653 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3654
8c27f5ff
SM
36552013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3656
02ef6c1a 3657 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 3658 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
3659 Bind switch-frame explicitly. Replace universal-argument-minus with
3660 a conditional binding.
3661 (universal-argument-num-events, saved-overriding-map): Remove.
3662 (restore-overriding-map): Remove.
3663 (universal-argument--mode): Rename from save&set-overriding-map,
3664 and rewrite.
3665 (universal-argument, universal-argument-more, negative-argument)
3666 (digit-argument): Adjust accordingly.
3667 (universal-argument-minus): Remove.
3668 (universal-argument-other-key): Remove.
3669
8c27f5ff
SM
3670 * subr.el (with-demoted-errors): Add `format' argument.
3671
6480194c
MA
36722013-09-10 Michael Albinus <michael.albinus@gmx.de>
3673
3674 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3675 `tramp-cleanup-connection'.
3676
3677 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3678 parameters KEEP-DEBUG and KEEP-PASSWORD.
3679
3680 * net/tramp.el (tramp-file-name-handler):
3681 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3682 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3683 (tramp-maybe-open-connection):
8c27f5ff
SM
3684 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3685 Use `tramp-cleanup-connection'.
6480194c 3686
8c27f5ff
SM
3687 * net/tramp-sh.el (tramp-maybe-open-connection):
3688 Catch 'uname-changed inside the progress reporter.
6480194c 3689
e5e916d8
GM
36902013-09-10 Glenn Morris <rgm@gnu.org>
3691
9a2c9b47
GM
3692 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3693
e5e916d8
GM
3694 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3695 returns "alternate access method" in mode (eg "-rw-r--r--.").
3696
144e38fe
GM
36972013-09-08 Glenn Morris <rgm@gnu.org>
3698
3699 * saveplace.el (load-save-place-alist-from-file):
3700 Demote errors. (Bug#15305)
3701
af9ff9e8
MA
37022013-09-08 Michael Albinus <michael.albinus@gmx.de>
3703
3704 Improve compatibility with older Emacsen, and XEmacs.
3705
3706 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3707 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
3708 (with-tramp-progress-reporter): Do not let-bind `result'.
3709 This yields to scoping errors in XEmacs.
af9ff9e8
MA
3710 (tramp-handle-make-auto-save-file-name): New function, moved from
3711 tramp-sh.el.
3712
3713 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3714 for `make-auto-save-file-name'.
8c27f5ff
SM
3715 (tramp-adb--gnu-switches-to-ash):
3716 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3717
3718 * net/tramp-cache.el (tramp-cache-print): Call
3719 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3720
3721 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3722 bound. It isn't for XEmacs.
3723
8c27f5ff
SM
3724 * net/tramp-compat.el (tramp-compat-copy-file):
3725 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
3726 (tramp-compat-replace-regexp-in-string): New defun.
3727
3728 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3729 for `make-auto-save-file-name'.
3730 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3731 `copy-file'.
3732 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3733 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3734 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3735
8c27f5ff
SM
3736 * net/tramp-gw.el (tramp-gw-open-network-stream):
3737 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 3738
8c27f5ff
SM
3739 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3740 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
3741 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3742 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
3743 (tramp-sh-file-inotifywait-process-filter):
3744 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3745 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3746
3747 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3748 for `make-auto-save-file-name'.
8c27f5ff
SM
3749 (tramp-smb-handle-copy-directory):
3750 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3751 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3752 (tramp-smb-handle-copy-file): Improve error message.
3753 (tramp-smb-handle-rename-file): Rename directly only in case
3754 `newname' does not exist yet. This is a restriction of smbclient.
3755 (tramp-smb-maybe-open-connection): Rerun the function only when
3756 `auth-sources' is non-nil.
3757
0ca754d0
KH
37582013-09-08 Kenichi Handa <handa@gnu.org>
3759
3760 * international/characters.el: Set category "^" (Combining) for
3761 more characters.
3762
e8dd0787
AM
37632013-09-07 Alan Mackenzie <acm@muc.de>
3764
3765 Correctly fontify Java class constructors.
3766 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3767 in Java Mode.
3768 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
3769 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3770 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
3771 "typeless" declaration there.
3772
f2f248e7
RW
37732013-09-07 Roland Winkler <winkler@gnu.org>
3774
3775 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3776 field subtitle for entry type book.
3777
67982e2b
SM
37782013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3779
3780 * minibuffer.el: Make minibuffer-complete call completion-in-region
3781 rather than other way around.
3782 (completion--some, completion-pcm--find-all-completions):
3783 Don't delay signals when debugging.
3784 (minibuffer-completion-contents): Beware fields within the
3785 minibuffer contents.
3786 (completion-all-sorted-completions): Use defvar-local.
3787 (completion--do-completion, completion--cache-all-sorted-completions)
3788 (completion-all-sorted-completions, minibuffer-force-complete):
3789 Add args `beg' and `end'.
3790 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3791 (minibuffer-complete): Use completion-in-region.
3792 (completion-complete-and-exit): New fun, extracted from
3793 minibuffer-complete-and-exit.
3794 (minibuffer-complete-and-exit): Use it.
3795 (completion--complete-and-exit): Rename from
3796 minibuffer--complete-and-exit.
3797 (completion-in-region--single-word): New function, extracted from
3798 minibuffer-complete-word.
3799 (minibuffer-complete-word): Use it.
3800 (display-completion-list): Make `common-substring' argument obsolete.
3801 (completion--in-region): Call completion--in-region-1 instead of
3802 minibuffer-complete.
3803 (completion-help-at-point): Pass boundaries to
3804 minibuffer-completion-help as args rather than via an overlay.
3805 (completion-pcm--string->pattern): Use `any-delim'.
3806 (completion-pcm--optimize-pattern): New function.
3807 (completion-pcm--pattern->regex): Handle `any-delim'.
3808 * icomplete.el (icomplete-forward-completions)
3809 (icomplete-backward-completions, icomplete-completions):
3810 Adjust calls to completion-all-sorted-completions and
3811 completion--cache-all-sorted-completions.
3812 (icomplete-with-completion-tables): Default to t.
3813 * emacs-lisp/crm.el (crm--current-element): Rename from
3814 crm--select-current-element. Don't put an overlay but return the
3815 boundaries instead.
3816 (crm--completion-command): Take two new args to bind to the boundaries.
3817 (crm-completion-help): Adjust accordingly.
3818 (crm-complete): Use completion-in-region.
3819 (crm-complete-word): Use completion-in-region--single-word.
3820 (crm-complete-and-exit): Use completion-complete-and-exit.
3821
e17d94a5
SM
38222013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3823
3824 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3825 than dynamically.
3826
96727100
JL
38272013-09-06 Juri Linkov <juri@jurta.org>
3828
3829 * info.el (Info-display-images-node): When image file doesn't exist
3830 display text version of the image if it's provided in the Info file.
3831 Otherwise, display the location of missing image from SRC attribute.
3832 Add help-echo text property from ALT attribute. (Bug#15279)
3833
86cf7329
SM
38342013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3835
3836 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3837 (edit-abbrevs-mode): Use define-derived-mode.
3838
3839 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3840 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3841 that it's defined.
3842 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3843 Use define-derived-mode.
3844
3845 * epg.el (epg-start-encrypt): Minor CSE simplification.
3846
816244a2
WX
38472013-09-06 William Xu <william.xwl@gmail.com>
3848
3849 * arc-mode.el: Add support for 7za (bug#15264).
3850 (archive-7z-program): New var.
3851 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3852 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3853 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3854
1486fa31
MA
38552013-09-06 Michael Albinus <michael.albinus@gmx.de>
3856
3857 Remove URL syntax.
3858
3859 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3860 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3861 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3862 (tramp-postfix-host-format, tramp-file-name-regexp)
3863 (tramp-completion-file-name-regexp)
3864 (tramp-completion-dissect-file-name)
3865 (tramp-handle-substitute-in-file-name): Remove 'url case.
3866 (tramp-file-name-regexp-url)
3867 (tramp-completion-file-name-regexp-url): Remove constants.
3868
39785324
GM
38692013-09-06 Glenn Morris <rgm@gnu.org>
3870
3871 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3872
1f896cb7
DG
38732013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3874
3875 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3876 keywords" below "here-doc beginnings" (Bug#15270).
3877
c0458e0b
SM
38782013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3879
3880 * subr.el (pop): Use `car-safe'.
3881 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3882 to detect unused `pop' return value.
3883
3884 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3885 var `block-regexp'.
3886 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3887 (python-fill-string): Remove unused var `marker'.
3888 (python-skeleton-add-menu-items): Remove unused var `items'.
3889
3890 * international/mule-cmds.el: Require CL.
3891 (find-coding-systems-for-charsets): Avoid add-to-list.
3892 (sanitize-coding-system-list): New function, extracted from
3893 select-safe-coding-system-interactively.
3894 (select-safe-coding-system-interactively): Use it.
3895 (read-input-method-name): Accept symbols for `default'.
3896
3897 * emacs-lisp/advice.el (defadvice): Add indent rule.
3898
6c42fc3e
DH
38992013-09-05 Daniel Hackney <dan@haxney.org>
3900
3901 * dired-x.el:
3902 * net/ange-ftp.el:
3903 * net/browse-url.el:
3904 * net/dbus.el:
3905 * net/eudc.el:
3906 * net/eudcb-ldap.el:
3907 * net/eww.el:
3908 * net/imap.el:
3909 * printing.el:
3910 * vc/ediff-diff.el:
3911 * vc/ediff-init.el:
3912 * vc/ediff-merg.el:
3913 * vc/ediff-mult.el:
3914 * vc/ediff-util.el:
3915 * vc/ediff-wind.el:
3916 * vc/ediff.el:
3917 * vc/emerge.el:
3918 * vc/pcvs.el:
3919 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3920 byte compiler. Remove some unused let-bound variables.
3921
4c528aab
SM
39222013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3923
3924 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3925 a "ref-cell", since it gets better optimized (bug#14883).
3926
bd15c390
GM
39272013-09-05 Glenn Morris <rgm@gnu.org>
3928
3929 * progmodes/cc-awk.el (c-forward-sws): Declare.
3930
1c3ac2e5
GM
39312013-09-04 Glenn Morris <rgm@gnu.org>
3932
3933 * generic-x.el [rul-generic-mode]: Require cc-mode.
3934 (c++-mode-syntax-table): Declare.
3935 (rul-generic-mode-syntax-table): Init in the defvar.
3936
52b1cc79
SM
39372013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3938
c828af56
SM
3939 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3940 (vc-do-command, vc-set-async-update):
3941 * vc/vc-mtn.el (vc-mtn-dir-status):
3942 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3943 (vc-hg-pull, vc-hg-merge-branch):
3944 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3945 (vc-git-merge-branch):
3946 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3947 (vc-cvs-dir-status-files):
3948 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3949 (vc-bzr-dir-status-files):
3950 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3951 * vc/vc-annotate.el: Use lexical-binding.
3952 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3953 (vc-sentinel-movepoint): Declare.
3954 (vc-annotate): Don't use `goto-line'.
3955 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3956 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3957 (vc-sentinel-movepoint): Declare.
3958 * vc/vc-svn.el: Use lexical-binding.
3959 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3960 * vc/vc-sccs.el:
3961 * vc/vc-rcs.el: Use lexical-binding.
3962
abae272c
SM
3963 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3964 `deleted'. Don't drop errors silently.
3965
52b1cc79
SM
3966 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3967
63191d9f
XF
39682013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3969
3970 * vc/vc.el (vc-ignore): Rewrite.
3971 (vc-default-ignore): New function.
3972 (vc-default-ignore-completion-table): Use find-ignore-file.
3973
3974 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3975 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3976 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3977 Remove. Most code moved to vc.el.
3978
9d3f707c
SM
39792013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3980
abae272c 3981 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
3982 * net/tramp-smb.el (tramp-smb-get-file-entries):
3983 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3984 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3985
fde38d49
SM
3986 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3987 Update call to it.
3988 (eww-change-select): Remove unused var `properties'.
3989 (eww-make-unique-file-name): Remove unused var `base'.
3990
3991 * finder.el (finder-compile-keywords): Don't mess with windows.
3992
84032db7
SM
3993 * calculator.el (calculator-funcall): Fix typo in last change.
3994
724f5e41
SM
3995 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3996
14b511d4
SM
3997 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3998 <pkg>-autoloads.el file stop us.
3999
9d3f707c 4000 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 4001 warnings, and factor out common code.
9d3f707c 4002
88527bc0
DG
40032013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4004
4005 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4006 two-character operators and whether the character preceding them
4007 changes their meaning (Bug#15208).
4008
96edb677
FEG
40092013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4010
4011 Format code sent to Python shell for robustness.
9d3f707c
SM
4012 * progmodes/python.el (python-shell-buffer-substring):
4013 New function.
96edb677
FEG
4014 (python-shell-send-region, python-shell-send-buffer): Use it.
4015
95beaef3
MA
40162013-09-02 Michael Albinus <michael.albinus@gmx.de>
4017
4018 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4019 * net/tramp.el (tramp-user-error): ... here.
4020 (tramp-find-method, tramp-check-proper-host)
4021 (tramp-dissect-file-name, tramp-debug-message)
4022 (tramp-handle-shell-command):
4023 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4024 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4025
4026 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4027
f167c27b
MR
40282013-09-02 Martin Rudalics <rudalics@gmx.at>
4029
4030 * avoid.el (mouse-avoidance-point-position)
4031 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4032 returns nil.
4033
cd16c5f1
FEG
40342013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4035
4036 * progmodes/python.el (python-shell-completion-get-completions):
4037 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 4038 (python-nav-if-name-main): New command.
cd16c5f1 4039
e73c3a0d
GM
40402013-09-01 Glenn Morris <rgm@gnu.org>
4041
f8ccce03
GM
4042 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4043 Avoid leading space in $wins. Otherwise the sed command used by
4044 eg compile-main ends up containing "/*.el". (Bug#15170)
4045
e73c3a0d
GM
4046 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4047
415f808e
GM
40482013-08-30 Glenn Morris <rgm@gnu.org>
4049
4050 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4051 Fix is-this-a-directory logic. (Bug#15220)
4052
f069bba8
SM
40532013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4054
112798c1
SM
4055 * textmodes/css-mode.el: Use SMIE.
4056 (css-smie-grammar): New var.
4057 (css-smie--forward-token, css-smie--backward-token)
4058 (css-smie-rules): New functions.
4059 (css-mode): Use them.
4060 (css-navigation-syntax-table): Remove var.
4061 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4062 (css-indent-calculate, css-indent-line): Remove functions.
4063
4064 Misc changes to reduce use of `(lambda...); and other cleanups.
4065 * cus-edit.el: Use lexical-binding.
4066 (customize-push-and-save, customize-apropos)
4067 (custom-buffer-create-internal): Use closures.
4068 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4069 * progmodes/ada-xref.el: Use setq.
4070 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4071 * dframe.el: Use lexical-binding.
4072 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4073 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4074 * descr-text.el: Use lexical-binding.
4075 (describe-text-widget, describe-text-sexp, describe-property-list):
4076 Use closures.
4077 * comint.el (comint-history-isearch-push-state): Use a closure.
4078 * calculator.el: Use lexical-binding.
4079 (calculator-number-to-string): Make it work with lexical-binding.
4080 (calculator-funcall): Same and use cl-letf.
4081
2da4c3ab
SM
4082 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4083 (lisp--company-doc-string, lisp--company-location): New functions.
4084 (lisp-completion-at-point): Use them to improve Company support.
4085
f069bba8
SM
4086 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4087 params of lambda expressions.
4088 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4089 (ruby-smie--opening-pipe-p): New function.
4090 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4091 symbols and matched |...| for formal params.
4092 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4093 from being treated as hanging. Handle "rescue".
4094
6758b6a8
GM
40952013-08-29 Glenn Morris <rgm@gnu.org>
4096
4097 * progmodes/cc-engine.el (c-pull-open-brace):
4098 Move definition before use.
4099
e8dfd197
SM
41002013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4101
4102 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4103 are immutable. Don't use `unsafe' any more.
4104 (cl--defsubst-expand): Don't substitute at the same time as keeping
4105 a residual unused let-binding. Don't use `unsafe' any more.
4106
cc585c96
GM
41072013-08-29 Glenn Morris <rgm@gnu.org>
4108
ba579ea6
GM
4109 * calendar/cal-china.el (calendar-chinese-year-cache):
4110 Recenter on 2015.
4111
8201a87e
GM
4112 * nxml/nxml-util.el (nxml-debug-clear-inside):
4113 Use cl-loop rather than loop.
4114
6ee877c7
GM
4115 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4116
cc585c96
GM
4117 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4118
27be8d39
GM
41192013-08-28 Glenn Morris <rgm@gnu.org>
4120
397440a1
GM
4121 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4122
2bb762d4
GM
4123 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4124
27be8d39
GM
4125 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4126
2d69b99e
SM
41272013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4128
f663baa7
SM
4129 * simple.el (repeat-complex-command--called-interactively-skip):
4130 New function.
4131 (repeat-complex-command): Use it (bug#14136).
4132
dd4f8b74
SM
4133 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4134 (c-define-abbrev-table): Add `doc' argument.
4135 (c-mode-abbrev-table, c++-mode-abbrev-table)
4136 (objc-mode-abbrev-table, java-mode-abbrev-table)
4137 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4138 (awk-mode-abbrev-table): Use it.
4139 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4140 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4141 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4142 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4143 Move initialization into the declaration; and remove any
4144 autoload cookie.
4145
b58969f7
SM
4146 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4147 and dynamic let binding.
4148
4021d6a6
SM
4149 * vc/smerge-mode.el: Remove redundant :group args.
4150
2d69b99e
SM
4151 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4152 to load-path.
4153
274919fd
JL
41542013-08-28 Juri Linkov <juri@jurta.org>
4155
4156 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4157 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4158 (isearch-other-meta-char): Handle an undefined shifted printing
4159 character by downshifting it. (Bug#15200)
4160
121f8c95
JL
41612013-08-28 Juri Linkov <juri@jurta.org>
4162
4163 * isearch.el (isearch-search): Change regexp error message for
4164 non-regexp searches. (Bug#15166)
4165
50b13cde
PE
41662013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4167
4168 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4169 for portability to hosts where /bin/sh has problems.
4170
95888bca
SM
41712013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4172
4173 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4174
bbe558f1
JL
41752013-08-27 Juri Linkov <juri@jurta.org>
4176
4177 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4178 in the keyboard macro. (Bug#15126)
4179
26f98a7d
JL
41802013-08-27 Juri Linkov <juri@jurta.org>
4181
4182 * isearch.el (isearch-quote-char): Comment out converting unibyte
4183 to multibyte, thus syncing with its `quoted-insert' counterpart.
4184 (Bug#15166)
4185
7c97d35e
MR
41862013-08-27 Martin Rudalics <rudalics@gmx.at>
4187
4188 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
4189 argument in call of get-largest-window (Bug#15185).
4190 Reported by Stephen Leake.
7c97d35e 4191
a0b5606e 41922013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
4193
4194 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4195
9e89d835
SM
41962013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4197
4198 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4199 from a matcher-function unless there's no more matches (bug#15161).
4200
78fc2530
MA
42012013-08-26 Michael Albinus <michael.albinus@gmx.de>
4202
4203 * minibuffer.el: Revert change from 2013-08-20.
4204
4205 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4206 with text property `tramp-default', if appropriate.
4207 (tramp-check-proper-host): New defun.
4208 (tramp-dissect-file-name): Do not check hostname. Revert change
4209 of 2013-03-18.
4210 (tramp-backtrace): Make VEC-OR-PROC optional.
4211
4212 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4213 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4214 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
4215 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4216 Apply `tramp-check-proper-host'.
78fc2530 4217
edca97cd
TH
42182013-08-26 Tassilo Horn <tsdh@gnu.org>
4219
4220 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4221 lambda expression in order to have `describe-variable' display it.
4222
df54bcbd
MA
42232013-08-26 Michael Albinus <michael.albinus@gmx.de>
4224
4225 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4226 BUF can be optional. (Bug#15186)
4227
eed99101
XF
42282013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4229
4230 * progmodes/flymake.el (flymake-get-real-file-name-function):
4231 Fix broken customization. (Bug#15184)
4232
b5eb9035
AM
42332013-08-25 Alan Mackenzie <acm@muc.de>
4234
8a51e842
AM
4235 Improve indentation of bracelists defined by macros (without "=").
4236
4237 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4238 expansion begins with "{", regard it as bracelist when it doesn't
4239 contain a ";".
4240
869455d4
AM
4241 Parse C++ inher-intro when there's a template split over 2 lines.
4242
4243 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4244 rigorously the search for "class" etc. followed by ":".
4245
4246 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4247 random languages a regexp which never matches rather than nil.
4248
b5eb9035
AM
4249 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4250
4251 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4252 (c-awk-regexp-one-line-possibly-open-char-list-re)
4253 (c-awk-one-line-possibly-open-regexp-re)
4254 (c-awk-one-line-non-syn-ws*-re): Remove.
4255 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4256 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4257 (c-awk-space*-unclosed-regexp-/-re): New constants.
4258 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4259 aren't regexp delimiters.
4260
4261 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4262 handling for a rare situation in AWK Mode involving unterminated
4263 strings/regexps.
4264
61611d54
GM
42652013-08-23 Glenn Morris <rgm@gnu.org>
4266
2d85dc34
GM
4267 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4268
cb8d2612
GM
4269 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4270
bb35f42f
GM
4271 * files.el (create-file-buffer): If the result would begin with
4272 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 4273
b9808e77
SM
42742013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4275
e3a66363
SM
4276 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4277 text-properties (bug#15155).
4278
b9808e77
SM
4279 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4280 exist any more.
4281 (calc-keypad-redraw): Remove unused var `pad'.
4282 (calc-keypad-press): Remove unused var `menu'.
4283
7fd5f65e
MR
42842013-08-23 Martin Rudalics <rudalics@gmx.at>
4285
b9808e77
SM
4286 * window.el (display-buffer-pop-up-frame):
4287 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
4288 use it as the new frame's buffer (Bug#15133).
4289
8352b530
SM
42902013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4291
4292 * calendar/timeclock.el: Minor cleanups.
4293 (timeclock-ask-before-exiting, timeclock-use-display-time):
4294 Use `symbol'.
4295 (timeclock-modeline-display): Define as alias before the
4296 actual definition.
4297 (timeclock-mode-line-display): Use define-minor-mode.
4298 (timeclock-day-list-template): Make it a function, add an argument.
4299 (timeclock-day-list-required, timeclock-day-list-length)
4300 (timeclock-day-list-debt, timeclock-day-list-span)
4301 (timeclock-day-list-break): Adjust calls accordingly.
4302
9f7b1925
SM
43032013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4304
4305 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4306 Use read--expression so that completion works again.
4307
6e50e983
SS
43082013-08-21 Sam Steingold <sds@gnu.org>
4309
4310 Add rudimentary inferior shell interaction
4311 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4312 (sh-set-shell): Reset it.
9f7b1925
SM
4313 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4314 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 4315
dbb0d350
SM
43162013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4317
4318 * align.el: Use lexical-binding.
4319 (align-region): Simplify accordingly.
4320
c88586a9
MA
43212013-08-20 Michael Albinus <michael.albinus@gmx.de>
4322
4323 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4324
4325 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4326 `non-essential' up.
4327
f95527c8
MA
43282013-08-17 Michael Albinus <michael.albinus@gmx.de>
4329
4330 * net/tramp.el:
4331 * net/tramp-adb.el:
4332 * net/tramp-cmds.el:
4333 * net/tramp-ftp.el:
4334 * net/tramp-gvfs.el:
4335 * net/tramp-gw.el:
4336 * net/tramp-sh.el: Don't wrap external variable declarations by
4337 `eval-when-compile'.
4338
4b5fe4ee
LMI
43392013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4340
4341 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4342 now that Emacs supports ImageMagick animations.
4343
13c366c9
MA
43442013-08-16 Michael Albinus <michael.albinus@gmx.de>
4345
4346 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4347 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4348
3dfc5cd6
MR
43492013-08-16 Martin Rudalics <rudalics@gmx.at>
4350
4351 * window.el (mouse-autoselect-window-select): Do autoselect when
4352 mouse pointer is on margin.
4353
4bbb4381
WP
43542013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4355
4356 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4357
3a2ddc2d
GM
43582013-08-16 Glenn Morris <rgm@gnu.org>
4359
e8bedf5a
GM
4360 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4361 Handle "Remote Directory" response of some clients. (Bug#15058)
4362
58c4682f
GM
4363 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4364 Tweak warning. (Bug#14926)
4365
57953f49
GM
4366 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4367 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4368
3a2ddc2d
GM
4369 * image-mode.el (image-mode-map): Add menu items to reverse,
4370 increase, decrease, reset animation speed.
4371 (image--set-speed, image-increase-speed, image-decrease-speed)
4372 (image-reverse-speed, image-reset-speed): New functions.
4373 (image-mode-map): Add bindings for speed commands.
4374
4375 * image.el (image-animate-get-speed, image-animate-set-speed):
4376 New functions.
4377 (image-animate-timeout): Respect image :speed property.
4378
10fa0ed3
SM
43792013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4380
4381 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4382 previous line (bug#15101).
4383 (debugger-eval-expression, debugger-record-expression):
4384 Use read--expression (bug#15102).
4385
5d89d9d2
MA
43862013-08-15 Michael Albinus <michael.albinus@gmx.de>
4387
4388 Remove byte compiler warnings, visible when compiling with
4389 `byte-compile-force-lexical-warnings' set to t.
4390
4391 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4392 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4393 (tramp-handle-unhandled-file-name-directory)
4394 (tramp-handle-file-notify-add-watch, tramp-action-login)
4395 (tramp-action-succeed, tramp-action-permission-denied)
4396 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4397 arguments with "_".
4398
4399 * net/tramp-adb.el (tramp-adb-parse-device-names)
4400 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4401 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4402 (tramp-adb-handle-file-truename): Remove unused arguments.
4403
4404 * net/tramp-cache.el (tramp-flush-directory-property)
4405 (tramp-flush-connection-property, tramp-list-connections)
4406 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4407
10fa0ed3
SM
4408 * net/tramp-compat.el (tramp-compat-make-temp-file):
4409 Rename FILENAME to F.
5d89d9d2
MA
4410
4411 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4412 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4413 (tramp-zeroconf-parse-workstation-device-names)
4414 (tramp-zeroconf-parse-webdav-device-names)
4415 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4416
4417 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4418 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4419
4420 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4421 arguments.
4422 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4423 (tramp-sh-handle-insert-file-contents-literally)
4424 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4425 with "_".
4426 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4427 Remove unused variables.
4428
4429 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4430 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4431 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4432
4433 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4434 Make them a defconst.
4435 (tramp-uuencode-region): Remove unused variable.
4436
62f33bae
JB
44372013-08-14 Juanma Barranquero <lekktu@gmail.com>
4438
4439 * frameset.el (frameset--prop-setter): New function.
4440 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
4441 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4442 parameter was already set in FILTERED. Doc fix.
4443 (frameset--record-minibuffer-relationships): Allow saving a
4444 minibufferless frame without its corresponding minibuffer frame.
4445 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4446 frame, if the frame id matches.
4447 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4448 frames before orphaned ones.
4449 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 4450
c660a885
MR
44512013-08-14 Martin Rudalics <rudalics@gmx.at>
4452
4453 * window.el (window-make-atom): Don't overwrite parameter
4454 already present.
4455 (display-buffer-in-atom-window): Handle special case where we
4456 split an already atomic window.
4457 (window--major-non-side-window, display-buffer-in-side-window)
4458 (window--side-check): Ignore minibuffer window when walking
4459 window tree.
4460 (window-deletable-p): Return 'frame only if no other frame uses
4461 our minibuffer window.
4462 (record-window-buffer): Run buffer-list-update-hook.
4463 (split-window): Make sure window--check-frame won't destroy an
4464 existing atomic window in case the new window gets nested
4465 inside.
4466 (display-buffer-at-bottom): Ignore minibuffer window when
4467 walking window tree. Don't split a side window.
4468 (pop-to-buffer): Don't set-buffer here, the select-window call
4469 should do that.
4470 (mouse-autoselect-window-select): Autoselect only if we are in the
4471 text portion of the window.
4472
8259030d
LMI
44732013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4474
21c58ae2
LMI
4475 * net/shr.el (shr-parse-image-data): New function to grab both the
4476 data itself and the Content-Type.
4477 (shr-put-image): Use it.
4478
4479 * net/eww.el (eww-display-image): Ditto.
4480
8259030d
LMI
4481 * image.el (image-content-type-suffixes): New variable.
4482
ad756449
FEG
44832013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4484
4485 * progmodes/python.el (python-imenu--build-tree)
4486 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4487
f73f4ce6
XF
44882013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4489
4490 * simple.el (backward-word): Mention the optional argument.
4491
1f585e65
SM
44922013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4493
4494 * frameset.el (frameset--make): Rename constructor from make-frameset.
4495 (frameset-p, frameset-valid-p): Don't autoload.
4496 (frameset-valid-p): Use normal accessors.
4497
af1c6c84
GM
44982013-08-13 Glenn Morris <rgm@gnu.org>
4499
55e47f95
GM
4500 * progmodes/compile.el (compile-command): Tweak example in doc.
4501 * obsolete/scribe.el (scribe-mode):
4502 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4503
f0024d8c
GM
4504 * mail/feedmail.el (feedmail-confirm-outgoing)
4505 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4506
4507 * cus-start.el (truncate-partial-width-windows): Fix type.
4508
4509 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4510
af1c6c84
GM
4511 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4512
5514cc4c
SM
45132013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4514
4515 * emacs-lisp/timer.el (timer--time-setter): New function.
4516 (timer--time): Use it as gv-setter.
4517
4518 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4519 setter is not a symbol.
4520
7997a2f1
GJ
45212013-08-12 Grégoire Jadi <daimrod@gmail.com>
4522
4523 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4524 if sending fails. This makes debugging easier.
4525
01f1a9ab
JB
45262013-08-12 Juanma Barranquero <lekktu@gmail.com>
4527
4528 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4529 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4530 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4531
594a4307
EZ
45322013-08-12 Eli Zaretskii <eliz@gnu.org>
4533
4534 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4535
7a22490f 45362013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
4537
4538 * format.el (format-annotate-function):
4539 Handle read-only text properties in the source. (Bug#14887)
4540
3e41a054
LMI
45412013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4542
5514cc4c
SM
4543 * net/eww.el (eww-display-html): Ignore coding system errors.
4544 One web site uses "utf-8lias" as the coding system.
3e41a054 4545
7ec326db
JB
45462013-08-11 Juanma Barranquero <lekktu@gmail.com>
4547
4548 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4549
5660113b
JB
45502013-08-10 Juanma Barranquero <lekktu@gmail.com>
4551
9a4ebc74
JB
4552 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4553 (tutorial--detailed-help): Remove unused local variables.
4554 (tutorial--save-tutorial-to): Use ignore-errors.
4555 (help-with-tutorial): Use looking-at-p.
4556
4557 * view.el (view-buffer-other-window, view-buffer-other-frame):
4558 Mark unused arguments.
4559
4560 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4561 (woman-select-symbol-fonts, woman, woman-find-file)
4562 (woman-insert-file-contents, woman-non-underline-faces):
4563 Use string-match-p.
4564 (woman1-unquote): Move declaration.
4565
4566 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4567 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4568 argument. Remove unused local variable.
4569 (xml-parse-elem-type): Use string-match-p.
4570 (xml-substitute-numeric-entities): Use ignore-errors.
4571
45fdb482
JB
4572 * calculator.el (calculator): Mark unused argument.
4573 (calculator-paste, calculator-quit, calculator-integer-p):
4574 Use ignore-errors.
4575 (calculator-string-to-number, calculator-decimal, calculator-exp)
4576 (calculator-op-or-exp): Use string-match-p.
4577
4578 * dired.el (dired-buffer-more-recently-used-p): Declare.
4579 (dired-insert-set-properties, dired-insert-old-subdirs):
4580 Use ignore-errors.
4581
4582 * dired-aux.el (dired-compress): Use ignore-errors.
4583 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4584 (dired-do-async-shell-command, dired-do-shell-command)
4585 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4586 (dired-insert-subdir-validate): Use string-match-p.
4587 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4588 (dired-add-entry): Use string-match-p, looking-at-p.
4589 (dired-insert-subdir-newpos): Remove unused local variable.
4590
4591 * filenotify.el (file-notify-callback): Remove unused local variable.
4592
4593 * filesets.el (filesets-error): Mark unused argument.
4594 (filesets-which-command-p, filesets-filter-dir-names)
4595 (filesets-directory-files, filesets-get-external-viewer)
4596 (filesets-ingroup-get-data): Use string-match-p.
4597
4598 * find-file.el (ff-other-file-name, ff-other-file-name)
4599 (ff-find-the-other-file, ff-cc-hh-converter):
4600 Remove unused local variables.
4601 (ff-get-file-name): Use string-match-p.
4602 (ff-all-dirs-under): Use ignore-errors.
4603
4604 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4605 (follow-select-if-visible): Remove unused local variable.
4606
4607 * forms.el (read-file-filter): Move declaration.
4608 (forms--make-format, forms--make-parser, forms-insert-record):
4609 Quote function with #'.
4610 (forms--update): Use string-match-p. Quote function with #'.
4611
4612 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4613 (help-make-xrefs): Use looking-at-p.
4614 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4615
4616 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4617 (ibuffer-confirm-operation-on): Use string-match-p.
4618
4619 * msb.el (msb-item-handler, msb-dired-item-handler):
4620 Mark unused arguments.
4621
4622 * ses.el (ses-decode-cell-symbol)
4623 (ses-kill-override): Remove unused local variable.
4624 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4625 (ses-load): Use ignore-errors, looking-at-p.
4626 (ses-jump-safe): Use ignore-errors.
4627 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4628
4629 * tabify.el (untabify, tabify): Mark unused arguments.
4630
4631 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4632 Mark unused argument.
4633 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4634 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4635
c880af52
JB
4636 * emacs-lisp/timer.el (timer--time): Define setter with
4637 gv-define-setter to avoid deprecation warning.
4638
5660113b 4639 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 4640 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
4641 (cmpl-statistics-block): Remove (body was commented out).
4642 All callers changed.
4643 (add-completions-from-buffer, load-completions-from-file):
4644 Remove unused variables.
4645
156aab80
JB
46462013-08-09 Juanma Barranquero <lekktu@gmail.com>
4647
5c5dee78
JB
4648 * filecache.el (file-cache-delete-file-list):
4649 Print message only when told so.
4650 (file-cache-files-matching): Use #' in mapconcat argument.
4651
156aab80
JB
4652 * ffap.el (ffap-url-at-point): Fix reference to variable
4653 thing-at-point-default-mail-uri-scheme.
4654
ad9dcd70
SM
46552013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4656
54bd972f
SM
4657 * subr.el (define-error): New function.
4658 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4659 error-file-not-found and define with define-error.
4660 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4661 and define with define-error.
4662 * userlock.el (file-locked, file-supersession):
4663 * simple.el (mark-inactive):
4664 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4665 * progmodes/ada-mode.el (ada-mode-errors):
4666 * play/life.el (life-extinct):
4667 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4668 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4669 * nxml/rng-util.el (rng-error):
4670 * nxml/rng-uri.el (rng-uri-error):
4671 * nxml/rng-match.el (rng-compile-error):
4672 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4673 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4674 * nxml/nxml-rap.el (nxml-scan-error):
4675 * nxml/nxml-outln.el (nxml-outline-error):
4676 * net/soap-client.el (soap-error):
4677 * net/gnutls.el (gnutls-error):
4678 * net/ange-ftp.el (ftp-error):
4679 * mpc.el (mpc-proc-error):
4680 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4681 (json-number-format, json-string-escape, json-string-format)
4682 (json-key-format, json-object-format):
4683 * jka-compr.el (compression-error):
4684 * international/quail.el (quail-error):
4685 * international/kkc.el (kkc-error):
4686 * emacs-lisp/ert.el (ert-test-failed):
4687 * calc/calc.el (calc-error, inexact-result, math-overflow)
4688 (math-underflow):
4689 * bookmark.el (bookmark-error-no-filename):
4690 * epg.el (epg-error): Define with define-error.
4691
0ea9e53a
SM
4692 * time.el (display-time-event-handler)
4693 (display-time-next-load-average): Don't call sit-for since it seems
4694 unnecessary (bug#15045).
4695
b0429158
SM
4696 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4697 Use #' instead of ' to quote functions.
4698 (checkdoc-output-mode): Use setq-local.
4699 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4700 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4701 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4702 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4703 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4704 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4705 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4706 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4707
ad9dcd70
SM
4708 * ido.el (ido-completion-help): Fix up compiler warning.
4709
77187e6f
JB
47102013-08-09 Juanma Barranquero <lekktu@gmail.com>
4711
4712 * frameset.el (frameset-p): Add autoload cookie.
4713 (frameset--jump-to-register): New function, based on code moved from
4714 register.el.
4715 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4716
4717 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4718 (frameset-restore, frameset-save, frameset-session-filter-alist):
4719 Remove declarations.
4720 (register-alist): Doc fix.
4721 (frameset-to-register): Move to frameset.el.
4722 (jump-to-register, describe-register-1): Remove frameset-specific code.
4723
9d3aa82c
JB
47242013-08-08 Juanma Barranquero <lekktu@gmail.com>
4725
4726 * allout-widgets.el (allout-widgets-pre-command-business)
4727 (allout-widgets-post-command-business)
4728 (allout-widgets-after-change-handler)
4729 (allout-decorate-item-and-context, allout-set-boundary-marker)
4730 (allout-body-modification-handler)
4731 (allout-graphics-modification-handler): Mark ignored arguments.
4732 (allout-widgets-post-command-business)
4733 (allout-widgets-exposure-change-processor)
4734 (allout-widgets-exposure-undo-processor)
4735 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4736 (allout-parse-item-at-point, allout-decorate-item-guides)
4737 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4738 * allout.el (epa-passphrase-callback-function): Declare.
4739 (allout-overlay-insert-in-front-handler)
4740 (allout-overlay-interior-modification-handler)
4741 (allout-isearch-end-handler, allout-chart-siblings)
4742 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4743 (allout-yank-processing, allout-process-exposed)
4744 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 4745 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
4746 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4747 (lisp-indent-defform): Mark ignored arguments.
4748 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4749 (calculate-lisp-indent): Remove unused variables.
4750 * international/characters.el (indian-2-column, arabic-2-column)
4751 (tibetan): Mark ignored arguments.
4752 (use-cjk-char-width-table): Mark ignored arguments.
4753 Remove unused variables.
4754 * international/fontset.el (build-default-fontset-data)
4755 (x-compose-font-name, create-fontset-from-fontset-spec):
4756 Mark ignored arguments.
4757 (fontset-plain-name): Remove unused variables.
4758 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4759 (keyboard-coding-system): Mark ignored arguments.
4760 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4761 * help.el (resize-temp-buffer-window):
4762 * window.el (display-buffer-in-major-side-window)
4763 (display-buffer-in-side-window, display-buffer-in-previous-window):
4764 Remove unused variables.
4765 * isearch.el (isearch-forward-symbol):
4766 * version.el (emacs-bzr-version-bzr):
4767 * international/mule-cmds.el (current-language-environment):
4768 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4769 (x-handle-display):
4770 * term/pc-win.el (x-list-fonts, x-display-planes)
4771 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4772 (x-server-version, x-display-screens, x-display-mm-height)
4773 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4774 (x-selection-owner-p, x-own-selection-internal)
4775 (x-disown-selection-internal, x-get-selection-internal)
4776 (msdos-initialize-window-system):
4777 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4778 * term/x-win.el (x-handle-no-bitmap-icon):
4779 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4780 (vc-default-find-file-hook, vc-default-extra-menu):
4781 Mark ignored arguments.
4782
0ca3f70e
SM
47832013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4784
4785 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4786 break-condition in the context of the debugged code (bug#12685).
4787
74c5d24c
CS
47882013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4789
4790 * comint.el:
4791 Do not use an overlay to highlight the last prompt. (Bug#14744)
4792 (comint-mode): Make comint-last-prompt buffer local.
4793 (comint-last-prompt): New variable.
4794 (comint-last-prompt-overlay): Remove. Superseded by
4795 comint-last-prompt.
0ca3f70e
SM
4796 (comint-snapshot-last-prompt, comint-output-filter):
4797 Use comint-last-prompt.
74c5d24c 4798
c03c02ee
JB
47992013-08-08 Juanma Barranquero <lekktu@gmail.com>
4800
a3738d20 4801 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
4802 (frameset-save): Check validity of the resulting frameset.
4803
04263d23
XF
48042013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4805
4806 * ido.el (ido-record-command): Add doc string.
4807
76c5e5ab
JB
48082013-08-08 Juanma Barranquero <lekktu@gmail.com>
4809
4810 * frameset.el (frameset): Do not disable creation of the default
4811 frameset-p predicate. Doc fix.
4812 (frameset-valid-p): New function, copied from the old predicate-p.
4813 Add additional checks.
4814 (frameset-restore): Check with frameset-valid-p.
4815 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4816 (frameset-name, frameset-description, frameset-properties)
4817 (frameset-states): Add docstring.
f9dbf1cb
JB
4818 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4819 (frameset-filter-alist): Doc fixes.
76c5e5ab 4820
bd0c3c0b
JB
48212013-08-08 Juanma Barranquero <lekktu@gmail.com>
4822
4823 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4824
c735544c
SM
48252013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4826
4827 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4828 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4829 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4830 (byte-compile-normal-call): Remove obsolescence check.
4831
2805a651
JB
48322013-08-08 Juanma Barranquero <lekktu@gmail.com>
4833
3677ffeb
JB
4834 * frameset.el (frameset-restore): Doc fix.
4835
2805a651
JB
4836 * register.el (frameset-frame-id, frameset-frame-with-id)
4837 (frameset-p, frameset-restore, frameset-save): Declare.
4838 (register-alist): Document framesets.
4839 (frameset-session-filter-alist): Declare.
4840 (frameset-to-register): New function.
4841 (jump-to-register): Implement jumping to framesets. Doc fix.
4842 (describe-register-1): Describe framesets.
4843
4844 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4845
a912c016
JB
48462013-08-07 Juanma Barranquero <lekktu@gmail.com>
4847
4848 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4849 Use lexical-binding.
4850
4851 * frameset.el (frameset): Use type vector, not list (incompatible
4852 change). Do not declare a new constructor, use the default one.
4853 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4854 `name' and `description', respectively, and add read-only slot
4855 `timestamp'. Doc fixes.
4856 (frameset-copy, frameset-persistent-filter-alist)
4857 (frameset-filter-alist, frameset-switch-to-gui-p)
4858 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4859 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4860 (frameset-filter-iconified, frameset-keep-original-display-p):
4861 Doc fixes.
4862 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4863 Rename from frameset-filter-(save|restore)-param. All callers changed.
4864 Doc fix.
4865 (frameset-p): Adapt to change to vector and be more thorough.
4866 Change arg name to OBJECT. Doc fix.
4867 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4868 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4869 All callers changed.
4870 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4871 All callers changed.
4872 (frameset--record-minibuffer-relationships): Rename from
4873 frameset--process-minibuffer-frames. All callers changed.
4874 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4875 Use new default constructor (again). Doc fix.
4876 (frameset--find-frame-if): Rename from `frameset--find-frame.
4877 All callers changed.
4878 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4879 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4880 Doc fix.
4881 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4882 PARAMETERS and WINDOW-STATE, respectively.
4883 (frameset-restore): Add new keyword argument PREDICATE.
4884 Reset frameset--target-display to nil. Doc fix.
4885
bb41480a
SM
48862013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4887
f001e98e
SM
4888 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4889 (bat-mode): Use it.
4890 (bat-mode-syntax-table): Mark \n as end-of-comment.
4891 (bat-font-lock-keywords): Remove comment rule.
4892
7679edb1
SM
4893 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4894 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4895
bb41480a
SM
4896 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4897 (byte-compile-callargs-warn): Use `push'.
4898 (byte-compile-arglist-warn): Ignore higher-order "calls".
4899 (byte-compile-file-form-autoload): Use `pcase'.
4900 (byte-compile-function-form): If quoting a symbol, check that it exists.
4901
cdc1ebb9
EZ
49022013-08-07 Eli Zaretskii <eliz@gnu.org>
4903
4904 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4905 and add a few popular commands found in batch files.
4906 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4907 (dos-mode): Doc fixes.
4908
312b1740
SM
49092013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4910
4911 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4912 (dos-mode): Use setq-local. Add space after "rem".
4913 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4914 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4915
400a3178
AM
49162013-08-07 Arni Magnusson <arnima@hafro.is>
4917
4918 * progmodes/dos.el: New file.
4919 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4920 dos-mode.
4921
3b5c03d3
GM
49222013-08-06 Glenn Morris <rgm@gnu.org>
4923
4924 * calendar/calendar.el: Add new faces, and day-header-array.
4925 (calendar-weekday-header, calendar-weekend-header)
4926 (calendar-month-header): New faces.
4927 (calendar-day-header-construct): New function.
4928 (calendar-day-header-width): Also :set calendar-day-header-array.
4929 (calendar-american-month-header, calendar-european-month-header)
4930 (calendar-iso-month-header): Use calendar- faces.
4931 (calendar-generate-month):
4932 Use calendar-day-header-array for day headers; apply faces to them.
4933 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4934 (calendar-abbrev-construct): Add optional maxlen argument.
4935 (calendar-day-name-array): Doc fix.
4936 (calendar-day-name-array, calendar-abbrev-length)
4937 (calendar-day-abbrev-array):
4938 Also :set calendar-day-header-array, and maybe redraw.
4939 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 4940 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
4941 (calendar-day-name): Add option to use header array.
4942
ec6a2d7a
LMI
49432013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4944
4945 * net/shr.el (shr-render-td): Remove debugging.
4946 (shr-render-td): Make width computation consistent by defaulting
4947 all zero-width columns to 10 characters. This may not be optimal,
4948 but it's at least consistent.
2122cb6d
LMI
4949 (shr-make-table-1): Redo last change to fix the real problem in
4950 colspan handling.
ec6a2d7a 4951
ed4fd9c5
DA
49522013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4953
0ca3f70e
SM
4954 * files.el (cache-long-line-scans):
4955 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 4956
64e22afe
JB
49572013-08-06 Juanma Barranquero <lekktu@gmail.com>
4958
024b38fc
JB
4959 * frameset.el (frameset, frameset-filter-alist)
4960 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4961 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4962 (frameset-compute-pos): Rename from frameset--compute-pos,
4963 and add docstring.
4964 (frameset-move-onscreen): Use frameset-compute-pos.
4965 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4966
64e22afe
JB
4967 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4968 Fix typos in docstrings.
4969
c8c2aca8
DA
49702013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4971
4972 * frame.el (get-other-frame): Tiny cleanup.
4973
1d237bba
JB
49742013-08-06 Juanma Barranquero <lekktu@gmail.com>
4975
8951efef
JB
4976 * vc/vc.el (vc-default-ignore-completion-table):
4977 Silence byte-compiler warning.
4978
307764cc
JB
4979 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4980 slot , which can indeed be nil.
4981 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4982 Move entry for `left' from persistent to live filter alist.
4983 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4984 Doc fixes.
4985 (frameset-filter-params): When restoring a frame, copy items added to
4986 `filtered', to avoid unwittingly modifying the original parameters.
4987 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4988 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4989
1d237bba
JB
4990 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4991 to use looking-at-p instead of looking-at. (Bug#15028)
4992
dc6c0eda
SM
49932013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4994
4995 Revert introduction of isearch-filter-predicates (bug#14714).
4996 Rely on add-function instead.
4997 * isearch.el (isearch-filter-predicates): Rename it back to
4998 isearch-filter-predicate.
4999 (isearch-message-prefix): Use advice-function-mapc and advice
5000 properties to get the isearch-message-prefix.
5001 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5002 instead of run-hook-with-args-until-failure.
5003 (isearch-filter-visible): Not obsolete any more.
5004 * loadup.el: Preload nadvice.
5005 * replace.el (perform-replace): Revert to funcall
5006 instead of run-hook-with-args-until-failure.
5007 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5008 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5009 dired-isearch-filenames-toggle; make it into a proper minor mode.
5010 Use add/remove-function.
5011 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5012 Call the minor-mode rather than add/remove-hook.
5013 (dired-isearch-filter-filenames):
5014 Remove isearch-message-prefix property.
5015 * info.el (Info--search-loop): New function, extracted from Info-search.
5016 Funcall isearch-filter-predicate instead of
5017 run-hook-with-args-until-failure isearch-filter-predicates.
5018 (Info-search): Use it.
5019 (Info-mode): Use isearch-filter-predicate instead of
5020 isearch-filter-predicates.
5021
290d5b58
DA
50222013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5023
5024 Do not call to `selected-window' where it is assumed by default.
5025 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5026 `window-hscroll', `window-width', `window-height', `window-buffer',
5027 `window-frame', `window-start', `window-point', `next-window'
5028 and `window-display-table'.
5029 * abbrev.el (abbrev--default-expand):
5030 * bs.el (bs--show-with-configuration):
5031 * buff-menu.el (Buffer-menu-mouse-select):
5032 * calc/calc.el (calc):
5033 * calendar/calendar.el (calendar-generate-window):
5034 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5035 (diary-make-entry):
5036 * comint.el (send-invisible, comint-dynamic-complete-filename)
5037 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5038 * completion.el (complete):
5039 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5040 * disp-table.el (describe-current-display-table):
5041 * doc-view.el (doc-view-insert-image):
5042 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5043 * ehelp.el (with-electric-help):
5044 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5045 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5046 * emacs-lisp/helper.el (Helper-help-scroller):
5047 * emulation/cua-base.el (cua--post-command-handler-1):
5048 * eshell/esh-mode.el (eshell-output-filter):
5049 * ffap.el (ffap-gnus-wrapper):
5050 * help-macro.el (make-help-screen):
5051 * hilit-chg.el (highlight-compare-buffers):
5052 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5053 * hl-line.el (global-hl-line-highlight):
5054 * icomplete.el (icomplete-simple-completing-p):
5055 * isearch.el (isearch-done):
5056 * jit-lock.el (jit-lock-stealth-fontify):
5057 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5058 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5059 * mpc.el (mpc-tagbrowser, mpc):
5060 * net/rcirc.el (rcirc-any-buffer):
5061 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5062 * play/landmark.el (landmark-max-width, landmark-max-height):
5063 * play/zone.el (zone):
5064 * progmodes/compile.el (compilation-goto-locus):
5065 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5066 * progmodes/etags.el (find-tag-other-window):
5067 * progmodes/fortran.el (fortran-column-ruler):
5068 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5069 * progmodes/verilog-mode.el (verilog-point-text):
5070 * reposition.el (reposition-window):
5071 * rot13.el (toggle-rot13-mode):
5072 * server.el (server-switch-buffer):
5073 * shell.el (shell-dynamic-complete-command)
5074 (shell-dynamic-complete-environment-variable):
5075 * simple.el (insert-buffer, set-selective-display)
5076 (delete-completion-window):
5077 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5078 (speedbar-recenter):
5079 * startup.el (fancy-splash-head):
5080 * textmodes/ispell.el (ispell-command-loop):
5081 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5082 * tutorial.el (help-with-tutorial):
5083 * vc/add-log.el (add-change-log-entry):
5084 * vc/compare-w.el (compare-windows):
5085 * vc/ediff-help.el (ediff-indent-help-message):
5086 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5087 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5088 (ediff-setup-control-frame):
5089 * vc/emerge.el (emerge-position-region):
5090 * vc/pcvs-util.el (cvs-bury-buffer):
5091 * window.el (walk-windows, mouse-autoselect-window-select):
5092 * winner.el (winner-set-conf, winner-undo): Related users changed.
5093
38276e01
JB
50942013-08-05 Juanma Barranquero <lekktu@gmail.com>
5095
5096 * frameset.el (frameset--set-id): Doc fix.
5097 (frameset-frame-id, frameset-frame-id-equal-p)
5098 (frameset-locate-frame-id): New functions.
5099 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5100 (frameset-restore): Use them.
5101
12b4c0ea
DA
51022013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5103
5104 Do not call to `selected-frame' where it is assumed by default.
5105 Affected functions are `raise-frame', `redraw-frame',
5106 `frame-first-window', `frame-terminal' and `delete-frame'.
5107 * calendar/appt.el (appt-disp-window):
5108 * epg.el (epg-wait-for-completion):
5109 * follow.el (follow-delete-other-windows-and-split)
5110 (follow-avoid-tail-recenter):
5111 * international/mule.el (set-terminal-coding-system):
5112 * mail/rmail.el (rmail-mail-return):
5113 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5114 * progmodes/f90.el (f90-add-imenu-menu):
5115 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5116 * server.el (server-switch-buffer):
5117 * simple.el (delete-completion-window):
5118 * talk.el (talk):
5119 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5120 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5121 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5122 * vc/ediff.el (ediff-documentation): Related users changed.
5123 * frame.el (selected-terminal): Remove the leftover.
5124
17f25e76
GM
51252013-08-05 Glenn Morris <rgm@gnu.org>
5126
5127 * calendar/calendar.el (calendar-generate-month):
5128 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
5129 (calendar-generate-month, calendar-font-lock-keywords):
5130 Fix for calendar-day-header-width > length of any day name.
17f25e76 5131
063233c3
JB
51322013-08-05 Juanma Barranquero <lekktu@gmail.com>
5133
5134 * desktop.el (desktop-clear): Use new name of sort predicate.
5135
5136 * frameset.el (frameset): Add docstring. Move :version property to its
5137 own `version' slot.
5138 (frameset-copy): Rename from copy-frameset.
5139 (frameset-p): Check more thoroughly.
5140 (frameset-prop): Do not check for :version, which is no longer a prop.
5141 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5142 Use new :never value instead of t.
5143 (frameset-filter-alist): Expand and clarify docstring.
5144 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5145 (frameset-filter-minibuffer, frameset-filter-save-param)
5146 (frameset-filter-restore-param, frameset-filter-iconified):
5147 Add pointer to docstring of frameset-filter-alist.
5148 (frameset-filter-params): Rename filter values to be more meaningful:
5149 :never instead of t, and reverse the meanings of :save and :restore.
5150 (frameset--process-minibuffer-frames): Clarify error message.
5151 (frameset-save): Avoid unnecessary and confusing call to framep.
5152 Use new BOA constructor for framesets.
5153 (frameset--reuse-list): Doc fix.
5154 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5155 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5156 (frameset-minibufferless-first-p): Doc fix.
5157 Rename from frameset-sort-frames-for-deletion.
5158 (frameset-restore): Doc fixes. Use new function names.
5159 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5160
d5671a82
JB
51612013-08-04 Juanma Barranquero <lekktu@gmail.com>
5162
5163 * desktop.el (desktop-restore-forces-onscreen)
5164 (desktop-restore-reuses-frames): Document :keyword constant values.
5165 (desktop-filter-parameters-alist): Remove, now identical to
5166 frameset-filter-alist.
5167 (desktop--filter-tty*): Remove, moved to frameset.el.
5168 (desktop-save-frameset, desktop-restore-frameset):
5169 Do not pass :filters argument.
5170
5171 * frameset.el (frameset-live-filter-alist)
5172 (frameset-persistent-filter-alist): New variables.
5173 (frameset-filter-alist): Use them. Add autoload cookie.
5174 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5175 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5176 `frameset--id' (it's supposed to be internal to frameset.el).
5177 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5178 (frameset--initial-params): New function.
5179 (frameset--get-frame): Use it. Doc fix.
5180 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5181 Accept :all, not 'all.
5182 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5183 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5184 with fbound symbols. Fix frame id matching, and remove matching ids if
5185 the frame being restored is deleted. Obey :delete.
5186
671d5c16
SM
51872013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5188
5189 * subr.el (macrop): New function.
5190 (text-clone--maintaining): New var.
5191 (text-clone--maintain): Rename from text-clone-maintain. Use it
5192 instead of inhibit-modification-hooks.
5193
5194 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5195 a proxy, so as handle autoloads and redefinitions of the target.
5196 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5197
5198 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5199 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5200 (pcase--mutually-exclusive-p): New function.
5201 (pcase--split-consp): Use it.
5202 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5203 mutually exclusive with the current predicate.
5204
5205 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5206 (edebug-macrop): Remove. Use `macrop' instead.
5207 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5208 (ad-macro-p):
5209 * eshell/esh-cmd.el (eshell-macrop):
5210 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5211
1d44e9dc
SM
52122013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5213
5214 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5215 (advice-mapc): New function, using it.
5216 (advice-function-member-p): New function.
5217 (advice--normalize): Store the cdr in advice--saved-rewrite since
5218 that's the part that will be changed.
5219 (advice--symbol-function): New function.
5220 (advice-remove): Handle removal before the function is defined.
5221 Adjust to new advice--saved-rewrite.
5222 (advice-member-p): Use advice-function-member-p and
5223 advice--symbol-function.
5224
5414a283
JB
52252013-08-04 Juanma Barranquero <lekktu@gmail.com>
5226
51d30f2c
JB
5227 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5228 (frameset-filter-minibuffer): Doc fix.
5229 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
5230 (frameset--set-id, frameset--process-minibuffer-frames)
5231 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5232 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 5233
5414a283
JB
5234 * desktop.el (desktop-clear): Only delete frames when called
5235 interactively and desktop-restore-frames is non-nil. Doc fix.
5236 (desktop-read): Set desktop-saved-frameset to nil.
5237
ab419665
XF
52382013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5239
5240 * vc/vc.el (vc-ignore): Rewrite.
5241 (vc-default-ignore-completion-table):
5242 (vc--read-lines):
5243 (vc--add-line, vc--remove-regexp): New functions.
5244
5245 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5246 (vc-svn-ignore-completion-table): New function.
5247
5248 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5249 (vc-hg-ignore-completion-table):
5250 (vc-hg-find-ignore-file): New functions.
5251
5252 * vc/vc-git.el (vc-git-ignore): Rewrite.
5253 (vc-git-ignore-completion-table):
5254 (vc-git-find-ignore-file): New functions.
5255
5256 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5257
5258 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5259 (vc-bzr-ignore-completion-table):
5260 (vc-bzr-find-ignore-file): New functions.
5261
2613dea2
JB
52622013-08-03 Juanma Barranquero <lekktu@gmail.com>
5263
5264 * frameset.el (frameset-prop): New function and setter.
5265 (frameset-save): Do not modify frame list passed by the caller.
5266
9c959872
SM
52672013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5268
5269 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5270
a104f656
SM
52712013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5272
70122acf
SM
5273 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5274 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5275
a104f656
SM
5276 * custom.el (custom-initialize-default, custom-initialize-set)
5277 (custom-initialize-reset, custom-initialize-changed): Affect the
5278 toplevel-default-value (bug#6275, bug#14586).
5279 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5280 for bug#6275.
5281
f078d570
JB
52822013-08-02 Juanma Barranquero <lekktu@gmail.com>
5283
185e3b5a
JB
5284 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5285 Add cl-def* expressions.
5286
f078d570
JB
5287 * frameset.el (frameset-filter-params): Fix order of arguments.
5288
9421876d
JB
52892013-08-02 Juanma Barranquero <lekktu@gmail.com>
5290
5291 Move code related to saving frames to frameset.el.
5292 * desktop.el: Require frameset.
5293 (desktop-restore-frames): Doc fix.
5294 (desktop-restore-reuses-frames): Rename from
5295 desktop-restoring-reuses-frames.
5296 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5297 (desktop-clear): Clear frames too.
5298 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5299 (desktop--filter-tty*, desktop-save, desktop-read):
5300 Use frameset functions.
5301 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5302 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5303 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5304 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5305 (desktop--process-minibuffer-frames, desktop-save-frames)
5306 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5307 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5308 (desktop--sort-states, desktop-restoring-frames-p)
5309 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5310 (desktop-restoring-frameset-p, desktop-restore-frameset)
5311 (desktop--check-dont-save, desktop-save-frameset): New functions.
5312 (desktop--app-id): New constant.
5313 (desktop-first-buffer, desktop-buffer-ok-count)
5314 (desktop-buffer-fail-count): Move before first use.
5315 * frameset.el: New file.
5316
76dc5996
SM
53172013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5318
5319 * files.el: Use lexical-binding.
5320 (dir-locals-read-from-file): Remove unused `err' variable.
5321 (hack-dir-local-variables--warned-coding): New var.
5322 (hack-dir-local-variables): Use it to avoid repeated warnings.
5323 (make-backup-file-name--default-function): New function.
5324 (make-backup-file-name-function): Use it as default.
5325 (buffer-stale--default-function): New function.
5326 (buffer-stale-function): Use it as default.
5327 (revert-buffer-insert-file-contents--default-function): New function.
5328 (revert-buffer-insert-file-contents-function): Use it as default.
5329 (insert-directory): Avoid add-to-list.
5330
5331 * autorevert.el (auto-revert-handler): Simplify.
5332 Use buffer-stale--default-function.
5333
06d36e2b
TH
53342013-08-01 Tassilo Horn <tsdh@gnu.org>
5335
5f648ab4
TH
5336 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5337
06d36e2b
TH
5338 * whitespace.el (whitespace-ensure-local-variables): New function.
5339 (whitespace-cleanup-region): Call it.
5340 (whitespace-turn-on): Call it.
5341
a43dc424
MA
53422013-08-01 Michael Albinus <michael.albinus@gmx.de>
5343
5344 Complete file name handlers.
5345
5346 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5347 (tramp-handle-verify-visited-file-modtime)
5348 (tramp-handle-file-notify-rm-watch): New functions.
5349 (tramp-call-process): Do not bind `default-directory'.
5350
44e18199
JB
5351 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5352 Order alphabetically.
a43dc424
MA
5353 [access-file, add-name-to-file, dired-call-process]:
5354 [dired-compress-file, file-acl, file-notify-rm-watch]:
5355 [file-ownership-preserved-p, file-selinux-context]:
5356 [make-directory-internal, make-symbolic-link, set-file-acl]:
5357 [set-file-selinux-context, set-visited-file-modtime]:
5358 [verify-visited-file-modtime]: Add handler.
5359 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5360
5361 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5362 [file-notify-add-watch, file-notify-rm-watch]:
5363 [set-file-times, set-visited-file-modtime]:
5364 [verify-visited-file-modtime]: Add handler.
5365 (with-tramp-gvfs-error-message)
5366 (tramp-gvfs-handle-set-visited-file-modtime)
5367 (tramp-gvfs-fuse-file-name): Remove.
5368 (tramp-gvfs-handle-file-notify-add-watch)
5369 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5370 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5371
44e18199
JB
5372 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5373 Order alphabetically.
a43dc424
MA
5374 [file-notify-rm-watch ]: Use default Tramp handler.
5375 [executable-find]: Remove private handler.
5376 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5377 `default-directory'.
5378 (tramp-sh-handle-executable-find)
5379 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5380 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5381 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5382 Do not use `format' in `tramp-message'.
5383
5384 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5385 [file-notify-rm-watch, set-visited-file-modtime]:
5386 [verify-visited-file-modtime]: Add handler.
5387 (tramp-smb-call-winexe): Do not bind `default-directory'.
5388
7188b515
XF
53892013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5390
5391 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5392
2412ee1a
DG
53932013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5394
5395 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5396 use it.
5397 (log-view-diff-changeset): Same.
5398 (log-view-diff-common): Call backend command `previous-revision'
5399 to find out the previous revision, in both cases. Swap the
5400 variables `to' and `fr', so that `fr' usually refers to the
5401 earlier revision (Bug#14989).
5402
5002a754
KRC
54032013-07-31 Kan-Ru Chen <kanru@kanru.info>
5404
5405 * ibuf-ext.el (ibuffer-filter-by-filename):
5406 Make it work with dired buffers too.
5407
44e18199 54082013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
5409
5410 * emacs-lisp/re-builder.el (reb-color-display-p):
5411 * files.el (save-buffers-kill-terminal):
5412 * net/browse-url.el (browse-url):
5413 * server.el (server-save-buffers-kill-terminal):
5414 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5415 Prefer nil to selected-frame for the first arg of frame-parameter.
5416
aeca3fbb
XF
54172013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5418
5419 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5420
158bc55c
SB
54212013-07-30 Stephen Berman <stephen.berman@gmx.net>
5422
5423 * minibuffer.el (completion--twq-all): Try and preserve each
5424 completion's case choice (bug#14907).
5425
d50fceab
LMI
54262013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5427
ac38e731
LMI
5428 * net/network-stream.el (open-network-stream): Mention the new
5429 :nogreeting parameter.
5430 (network-stream-open-starttls): Use the :nogreeting parameter
5431 (bug#14938).
5432
1211de50
LMI
5433 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5434
997798bf
LMI
5435 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5436 more natural than popping.
5437
d50fceab 5438 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 5439 (shr-urlify): Highlight under mouse.
d50fceab 5440
5c09de04
XF
54412013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5442
207d1d04
XF
5443 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5444
5445 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5446
5c09de04
XF
5447 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5448 buffer for output.
5449
3cd51eaa
XF
5450 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5451 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 5452
44e18199 5453 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 5454 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
5455
5456 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5457
5458 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5459 buffer for output.
5460
35a89bdd
EZ
54612013-07-29 Eli Zaretskii <eliz@gnu.org>
5462
5463 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5464 initial frame is minibuffer-less. (Bug#14841)
5465
78822e94
MA
54662013-07-29 Michael Albinus <michael.albinus@gmx.de>
5467
5468 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5469 option.
5470
5471 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5472 (tramp-maybe-open-connection): Use it.
5473
9503c190
JB
54742013-07-28 Juanma Barranquero <lekktu@gmail.com>
5475
5476 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5477 minimal set of parameters passed when creating a frame, because
5478 the minibuffer status of a frame cannot be changed later.
5479
d5a845b4
SB
54802013-07-28 Stephen Berman <stephen.berman@gmx.net>
5481
5482 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5483 replace-regexp-in-string and inadvertent omissions in previous change.
5484 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 5485 name of filtered items buffer.
d5a845b4 5486
ddeffb17
JB
54872013-07-28 Juanma Barranquero <lekktu@gmail.com>
5488
5489 * desktop.el: Optionally force offscreen frames back onscreen.
5490 (desktop-restoring-reuses-frames): New option.
5491 (desktop--compute-pos, desktop--move-onscreen): New functions.
5492 (desktop--make-frame): Use desktop--move-onscreen.
5493
f5950f7a
AM
54942013-07-27 Alan Mackenzie <acm@muc.de>
5495
5496 Fontify a Java generic method as a function.
5497 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5498 value to t.
5499
ae43b66a
SB
55002013-07-27 Stephen Berman <stephen.berman@gmx.net>
5501
5502 * calendar/todo-mode.el: Add command to rename todo files.
5503 (todo-rename-file): New command.
5504 (todo-key-bindings-t): Add key binding for it. Change the
5505 bindings of todo-filter-regexp-items(-multifile) to use `x'
5506 instead of `r', since the latter is better suited to the new
5507 renaming command.
5508
5ab78d3d
AM
55092013-07-27 Alan Mackenzie <acm@muc.de>
5510
5511 Make Java try-with-resources statement parse properly.
5512 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5513 (c-block-stmt-1-2-key): New language constants/variables.
5514 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5515 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5516 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 5517 with c-block-stmt-1-2-key.
5ab78d3d 5518
d85c4d50
JB
55192013-07-27 Juanma Barranquero <lekktu@gmail.com>
5520
5521 * desktop.el (desktop--make-frame): Apply most frame parameters after
5522 creating the frame to force (partially or totally) offscreen frames to
5523 be restored as such.
5524
e4c467f9
XF
55252013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5526
5527 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 5528 (Bug#14948)
e4c467f9 5529
7ced0d04
SM
55302013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5531
5532 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5533 `base' arg of backtrace-frame.
5534
fec92060
EZ
55352013-07-26 Eli Zaretskii <eliz@gnu.org>
5536
5537 * simple.el (list-processes): Doc fix.
5538
d58d31fb
JB
55392013-07-26 Juanma Barranquero <lekktu@gmail.com>
5540
5541 * desktop.el (desktop--select-frame):
d85c4d50 5542 Try harder to reuse existing frames.
d58d31fb 5543
53ff3e77
SM
55442013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5545
5546 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5547 (edebug-eval): Use backtrace-eval.
5548 (edebug--display, edebug--recursive-edit): Don't let-bind the
5549 edebug-outer-* vars that keep track of variables we locally let-bind.
5550 (edebug-outside-excursion): Don't restore outside values of locally
5551 let-bound vars.
5552 (edebug--display): Use user-error.
5553 (cl-lexical-debug, cl-debug-env): Remove.
5554
045f7a53
JB
55552013-07-26 Juanma Barranquero <lekktu@gmail.com>
5556
5557 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5558 are restored to be sure that they are visible before deleting any
5559 remaining ones.
5560
59070b32
MM
55612013-07-26 Matthias Meulien <orontee@gmail.com>
5562
742a3501
XF
5563 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5564 vc-print-root-log. (Bug#14948)
59070b32 5565
b1fb3596
RS
55662013-07-26 Richard Stallman <rms@gnu.org>
5567
5568 Add aliases for encrypting mail.
5569 * epa.el (epa-mail-aliases): New option.
5570 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5571 Bind inhibit-read-only so read-only text doesn't ruin everything.
5572 (epa-mail-default-recipients): New subroutine broken out.
5573 Handle epa-mail-aliases.
5574
56ea7291
SM
55752013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5576
5577 Add support for lexical variables to the debugger's `e' command.
5578 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5579 vars, except for debugger-outer-match-data.
5580 (debugger-frame-number): Move check for "on a function call" from
5581 callers into it. Add `skip-base' argument.
5582 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5583 (debugger-env-macro): Only reset the state stored in non-variables,
5584 i.e. current-buffer and match-data.
5585 (debugger-eval-expression): Rewrite using backtrace-eval.
5586 * subr.el (internal--called-interactively-p--get-frame): Remove.
5587 (called-interactively-p):
5588 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5589 `base' arg of backtrace-frame instead.
5590
15ac32d5
GM
55912013-07-26 Glenn Morris <rgm@gnu.org>
5592
8358a09d
GM
5593 * align.el (align-regexp): Doc fix. (Bug#14857)
5594 (align-region): Explicit error if subexpression missing/does not match.
5595
15ac32d5
GM
5596 * simple.el (global-visual-line-mode):
5597 Do not duplicate the mode lighter. (Bug#14858)
5598
f47ad11b
MR
55992013-07-25 Martin Rudalics <rudalics@gmx.at>
5600
5601 * window.el (display-buffer): In display-buffer bind
5602 split-window-keep-point to t, bug#14829.
5603
02530987
JB
56042013-07-25 Juanma Barranquero <lekktu@gmail.com>
5605
5606 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5607 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5608 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5609 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5610 Change accordingly.
f63ebeb5
JB
5611 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5612 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 5613
6ccb9cab 56142013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 5615
6ccb9cab 5616 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 5617
cb3a56d2
JB
56182013-07-25 Juanma Barranquero <lekktu@gmail.com>
5619
5620 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5621 parameter to modify-frame-parameters if the value has not changed;
5622 this is a workaround for bug#14949.
5623 (desktop--make-frame): On cl-delete-if call, check parameter name,
5624 not full parameter.
5625
7aa7fff0
XF
56262013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5627
5628 * vc/vc.el (vc-ignore): New function.
5629
5630 * vc/vc-svn.el (vc-svn-ignore): New function.
5631
5632 * vc/vc-hg.el (vc-hg-ignore): New function.
5633
5634 * vc/vc-git.el (vc-git-ignore): New function.
5635
5636 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5637 (vc-dir-ignore): New function.
5638
5639 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 5640 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
5641
5642 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5643
5644 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5645
889acc5c
JB
56462013-07-24 Juanma Barranquero <lekktu@gmail.com>
5647
5648 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5649 (desktop-restore-frames): Warn when deleting an existing frame failed.
5650
86c40970
GM
56512013-07-24 Glenn Morris <rgm@gnu.org>
5652
5653 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5654
d5d3c58a
MA
56552013-07-24 Michael Albinus <michael.albinus@gmx.de>
5656
5657 * filenotify.el (file-notify-supported-p):
5658 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5659 Remove functions.
5660
5661 * autorevert.el (auto-revert-use-notify):
5662 (auto-revert-notify-add-watch):
5663 * net/tramp.el (tramp-file-name-for-operation):
5664 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5665 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5666 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5667 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5668 Remove `file-notify-supported-p' entry.
5669
d100084b
GM
56702013-07-24 Glenn Morris <rgm@gnu.org>
5671
5672 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 5673 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 5674
ac93e56b
SM
56752013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5676
249eea30
SM
5677 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5678 checked with memq (bug#14935).
5679
ac93e56b
SM
5680 * files.el (revert-buffer-function): Use a non-nil default.
5681 (revert-buffer-preserve-modes): Declare var to
5682 provide access to the `preserve-modes' argument.
5683 (revert-buffer): Let-bind it.
5684 (revert-buffer--default): New function, extracted from revert-buffer.
5685
2cdeb903
SM
56862013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5687
5688 * lpr.el: Signal print errors more prominently.
5689 (print-region-function): Don't default to nil.
5690 (lpr-print-region): New function, extracted from print-region-1.
5691 Check lpr's return value and signal an error in case of problem.
5692 (print-region-1): Use it.
5693 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5694 versions instead.
5695 (ps-printer-name): Default to nil.
5696 (ps-printer-name-option): Default to lpr-printer-switch.
5697 (ps-print-region-function): Don't default to nil.
5698 (ps-postscript-code-directory): Simplify default.
5699 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5700 (ps-string-list, ps-eval-switch, ps-flatten-list)
5701 (ps-flatten-list-1): Remove.
5702 (ps-multibyte-buffer): Avoid setq.
5703 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5704 (print-region-function, ps-print-region-function): Don't set them here.
5705
73600831
XF
57062013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5707
0e55c076
XF
5708 * ido.el (ido-fractionp):
5709 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5710 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5711 (ido-max-directory-size, ido-max-dir-file-cache)
5712 (ido-decorations): Doc fix.
5713
73600831
XF
5714 * ansi-color.el: Fix old URL.
5715
3d012865
MM
57162013-07-23 Michael R. Mauger <michael@mauger.com>
5717
e903c210 5718 * progmodes/sql.el: Version 3.3
3d012865
MM
5719 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5720 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5721 (sql-interactive-remove-continuation-prompt): Rewrite, use
5722 functions above. Fix continuation prompt and complete output line
5723 handling.
5724 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5725 redirected output buffer.
5726 (sql-mode): Restore deleted code (Bug#13591).
5727
da77a2e2
JB
57282013-07-23 Juanma Barranquero <lekktu@gmail.com>
5729
5730 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5731
80ff0c71
MA
57322013-07-23 Michael Albinus <michael.albinus@gmx.de>
5733
5734 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5735
5736 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5737 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5738 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5739
b61d71e4
JB
57402013-07-23 Juanma Barranquero <lekktu@gmail.com>
5741
5742 * desktop.el (desktop-clear): Simplify; remove useless checks
5743 against invalid buffer names.
5744 (desktop-list*): Use cl-list*.
5745 (desktop-buffer-info, desktop-create-buffer): Simplify.
5746
c3512092
LL
57472013-07-23 Leo Liu <sdl.web@gmail.com>
5748
5749 * bookmark.el (bookmark-make-record): Restore NAME as a default
5750 value. (Bug#14933)
5751
0ac26976
SM
57522013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5753
7d22ce18
SM
5754 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5755 extracted from autoload--insert-text.
5756 (autoload--insert-text): Remove.
5757 (autoload--print-cookie-text): New function, extracted from
5758 autoload--insert-cookie-text.
5759 (autoload--insert-cookie-text): Remove.
5760 (autoload-generate-file-autoloads): Adjust calls accordingly.
5761
9b2607e8
SM
5762 * winner.el (winner-hook-installed-p): Remove.
5763 (winner-mode): Simplify accordingly.
5764
c43a8618
SM
5765 * subr.el (add-to-list): Fix compiler-macro when `append' is
5766 not constant. Don't use `cl-member' for the base case.
5767
0ac26976
SM
5768 * progmodes/subword.el: Fix boundary case (bug#13758).
5769 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5770 own group.
5771 (subword-backward-regexp): Make it a constant.
5772 (subword-forward-internal): Don't treat a trailing capital as the
5773 beginning of a word.
5774
6874724a
AR
57752013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5776
5777 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5778 global value of tabulated-list-revert-hook (bug#14930).
5779
70f1b5e8
JB
57802013-07-22 Juanma Barranquero <lekktu@gmail.com>
5781
a1c80d9d
JB
5782 * desktop.el: Require 'cl-lib.
5783 (desktop-before-saving-frames-functions): New hook.
5784 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5785 for frames being saved. Rename from desktop--save-minibuffer-frames.
5786 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
5787 Do not save frames with non-nil `desktop-dont-save' parameter.
5788 Filter out deleted frames.
a1c80d9d
JB
5789 (desktop--find-frame): Use cl-find-if.
5790 (desktop--select-frame): Use cl-(first|second|third) to access values
5791 of desktop-mini.
5792 (desktop--make-frame): Use cl-delete-if.
5793 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5794 (desktop-restore-frames): Use cl-(first|second|third) to access values
5795 of desktop-mini. Look for visible frame at the end, not while
5796 restoring frames.
5797
70f1b5e8
JB
5798 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5799 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5800 Use string-match-p, looking-at-p (bug#14927).
5801
728dc3cc
JB
58022013-07-21 Juanma Barranquero <lekktu@gmail.com>
5803
56bc453c
JB
5804 * desktop.el (desktop-saved-frame-states):
5805 Rename from desktop--saved-states; all users changed.
5806 (desktop-save-frames): Rename from desktop--save-frames.
5807 Do not save state to desktop file.
5808 (desktop-save): Save desktop-saved-frame-states to desktop file
5809 and reset to nil.
5810 (desktop-restoring-frames-p): New function.
5811 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5812 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5813 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5814
728dc3cc
JB
5815 * desktop.el: Correctly restore iconified frames.
5816 (desktop--filter-iconified-position): New function.
5817 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5818
862f1c9c
GM
58192013-07-20 Glenn Morris <rgm@gnu.org>
5820
c4074c9f
GM
5821 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5822 Let `message' do the formatting.
5823 (def-gdb-preempt-display-buffer): Add explicit format.
5824
d828e5f9
GM
5825 * image-dired.el (image-dired-track-original-file):
5826 Use with-current-buffer.
5827 (image-dired-track-thumbnail): Use with-current-buffer.
5828 Avoid changing point of wrong window.
5829
862f1c9c
GM
5830 * image-dired.el (image-dired-track-original-file):
5831 Avoid changing point of wrong window. (Bug#14909)
5832
f0398ec1 58332013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
5834
5835 * progmodes/gdb-mi.el (gdb-done-or-error):
5836 Guard against "%" in gdb output. (Bug#14127)
5837
1451928f
AS
58382013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5839
763a086d
JB
5840 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5841 (Bug#14826)
f7a03897 5842
1451928f
AS
5843 * international/mule.el (coding-system-iso-2022-flags): Fix last
5844 change.
5845
99107004
KH
58462013-07-20 Kenichi Handa <handa@gnu.org>
5847
763a086d
JB
5848 * international/mule.el (coding-system-iso-2022-flags):
5849 Add `8-bit-level-4'. (Bug#8522)
99107004 5850
48494e06
LMI
58512013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5852
8ba8eec5
LMI
5853 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5854 (bug#14815).
5855
dfbc66e3
LMI
5856 * net/eww.el (eww-process-text-input): Allow inputting when the
5857 point is at the start of the line, as the properties aren't
5858 front-sticky.
5859
48494e06
LMI
5860 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5861 degenerate widths.
5862
77c92cb9
RS
58632013-07-19 Richard Stallman <rms@gnu.org>
5864
aec7da77
RS
5865 * epa.el (epa-popup-info-window): Doc fix.
5866
77c92cb9
RS
5867 * subr.el (split-string): New arg TRIM.
5868
945c5bb1
JB
58692013-07-18 Juanma Barranquero <lekktu@gmail.com>
5870
5871 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5872 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5873
e06ec67f
MA
58742013-07-18 Michael Albinus <michael.albinus@gmx.de>
5875
c7064f05 5876 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
5877 `file-notify-support'. Do not autoload. Adapt all uses.
5878 (file-notify-supported-p): New defun.
5879
c7064f05
JB
5880 * autorevert.el (auto-revert-use-notify):
5881 Use `file-notify-supported-p' instead of `file-notify-support'.
5882 Adapt docstring.
e06ec67f
MA
5883 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5884
5885 * net/tramp.el (tramp-file-name-for-operation):
5886 Add `file-notify-supported-p'.
5887
5888 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5889 New defun.
5890 (tramp-sh-file-name-handler-alist): Add it as handler for
5891 `file-notify-supported-p '.
5892
5893 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5894 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5895 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5896 Add `ignore' as handler for `file-notify-*' functions.
5897
5dc8a629
EZ
58982013-07-17 Eli Zaretskii <eliz@gnu.org>
5899
5900 * simple.el (line-move-partial, line-move): Don't start vscroll or
5901 scroll-up if the current line is not taller than the window.
5902 (Bug#14881)
5903
77aea2fb
DG
59042013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5905
5906 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5907 highlight question marks in the method names as strings.
ac72c08d
DG
5908 (ruby-block-beg-keywords): Inline.
5909 (ruby-font-lock-keyword-beg-re): Extract from
5910 `ruby-font-lock-keywords'.
77aea2fb 5911
18c26d81
JD
59122013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5913
5914 * frame.el (blink-cursor-blinks): New defcustom.
5915 (blink-cursor-blinks-done): New defvar.
5916 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5917 (blink-cursor-timer-function): Check if number of blinks has been
5918 done on X and NS.
5919 (blink-cursor-suspend, blink-cursor-check): New defuns.
5920
da48522e
GM
59212013-07-15 Glenn Morris <rgm@gnu.org>
5922
5923 * edmacro.el (edmacro-format-keys): Fix previous change.
5924
0463c1ef
PE
59252013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5926
5927 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5928 The hack didn't work outside English locales anyway.
5929
b43f6451
JB
59302013-07-15 Juanma Barranquero <lekktu@gmail.com>
5931
5932 * simple.el (define-alternatives): Rename from alternatives-define,
5933 per RMS' suggestion.
5934
b958c0ad
JB
59352013-07-14 Juanma Barranquero <lekktu@gmail.com>
5936
5937 * desktop.el (desktop-restore-frames): Change default to t.
5938 (desktop-restore-in-current-display): Now offer more options.
5939 (desktop-restoring-reuses-frames): New customization option.
5940 (desktop--saved-states): Doc fix.
5941 (desktop-filter-parameters-alist): New variable, renamed and expanded
5942 from desktop--excluded-frame-parameters.
5943 (desktop--target-display): New variable.
5944 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5945 (desktop--filter-tty*, desktop--filter-*-color)
5946 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5947 (desktop--filter-save-desktop-parm)
5948 (desktop-restore-in-original-display-p): New functions.
5949 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5950 (desktop--save-minibuffer-frames): New function, inspired by a similar
5951 function from Martin Rudalics.
5952 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5953 (desktop--restore-in-this-display-p): Remove.
5954 (desktop--find-frame): Rename from desktop--find-frame-in-display
5955 and add predicate argument.
5956 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5957 (desktop--reuse-list): New variable.
5958 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5959 New functions.
5960 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5961
f6dd8b36
MA
59622013-07-14 Michael Albinus <michael.albinus@gmx.de>
5963
5964 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5965
2ce3c565
DG
59662013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5967
763a086d
JB
5968 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5969 Highlight conversion methods on Kernel.
2ce3c565 5970
2cdb7698
AM
59712013-07-13 Alan Mackenzie <acm@muc.de>
5972
5973 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5974 and comment it out. This out-commenting enables certain C++
5975 declarations to be parsed correctly.
5976
1a67b811
EZ
59772013-07-13 Eli Zaretskii <eliz@gnu.org>
5978
1b796d6b
EZ
5979 * international/mule.el (define-coding-system): Doc fix.
5980
1a67b811
EZ
5981 * simple.el (default-font-height): Don't call font-info if the
5982 frame's default font didn't change since the frame was created.
5983 (Bug#14838)
5984
58fbe886
LL
59852013-07-13 Leo Liu <sdl.web@gmail.com>
5986
5987 * ido.el (ido-read-file-name): Guard against non-symbol value.
5988
1f0480d4
FEG
59892013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5990
5991 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5992 in nested defuns.
5993
97ead0e5
LL
59942013-07-13 Leo Liu <sdl.web@gmail.com>
5995
5996 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5997 ido-set-matches call. (Bug#6852)
5998
0880a952
DG
59992013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6000
6001 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6002 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6003 Ruby 2.0.
6004 (ruby-font-lock-keywords): Distinguish calls to functions with
6005 module-like names from module references. Highlight character
6006 literals.
6007
a7d8babb
SDJ
60082013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6009
6010 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 6011 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 6012
acfcc8c5
JB
60132013-07-12 Juanma Barranquero <lekktu@gmail.com>
6014
6015 * desktop.el (desktop--v2s): Remove unused local variable.
6016 (desktop-save-buffer): Make defvar-local; adjust docstring.
6017 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6018 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6019
051f2775
AS
60202013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6021
6022 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6023
f24e7572
GM
60242013-07-12 Eli Zaretskii <eliz@gnu.org>
6025
6026 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6027 (Bug#14842)
6028
539a920c
GM
60292013-07-12 Glenn Morris <rgm@gnu.org>
6030
6031 * doc-view.el: Require cl-lib at runtime too.
6032 (doc-view-remove-if): Remove.
6033 (doc-view-search-next-match, doc-view-search-previous-match):
6034 Use cl-remove-if.
6035
6036 * edmacro.el: Require cl-lib at runtime too.
6037 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6038 (edmacro-mismatch, edmacro-subseq): Remove.
6039
6040 * shadowfile.el: Require cl-lib.
6041 (shadow-remove-if): Remove.
6042 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6043 Use cl-remove-if.
6044
6045 * wid-edit.el: Require cl-lib.
6046 (widget-choose): Use cl-remove-if.
6047 (widget-remove-if): Remove.
6048
6049 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6050 (ebrowse-delete-if-not): Remove.
6051 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6052 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6053 Use cl-delete-if-not.
6054
1048af7c
JB
60552013-07-12 Juanma Barranquero <lekktu@gmail.com>
6056
6057 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6058 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6059
6c0674ee
LL
60602013-07-12 Leo Liu <sdl.web@gmail.com>
6061
6062 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6063
a19b3c2d
GM
60642013-07-11 Glenn Morris <rgm@gnu.org>
6065
4582a01c
GM
6066 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6067 (edebug-gensym-index, edebug-gensym):
6068 Remove reimplementation of cl-gensym.
6069 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6070
6071 * thumbs.el: Require cl-lib at run-time too.
6072 (thumbs-gensym-counter, thumbs-gensym):
6073 Remove reimplementation of cl-gensym.
6074 (thumbs-temp-file): Use cl-gensym.
6075
a19b3c2d
GM
6076 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6077 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6078 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6079 (ert--union, ert--gensym-counter, ert--gensym-counter)
6080 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6081 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6082 (ert-make-test-unbound, ert--expand-should-1)
6083 (ert--expand-should, ert--should-error-handle-error)
6084 (should-error, ert--explain-equal-rec)
6085 (ert--plist-difference-explanation, ert-select-tests)
6086 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6087 Use cl-lib functions rather than reimplementations.
6088
88f6a933
MA
60892013-07-11 Michael Albinus <michael.albinus@gmx.de>
6090
6091 * net/tramp.el (tramp-methods): Extend docstring.
6092 (tramp-connection-timeout): New defcustom.
6093 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6094 (with-tramp-progress-reporter): Simplify.
6095 (tramp-process-actions): Improve messages.
6096
6097 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6098 * net/tramp-sh.el (tramp-maybe-open-connection):
6099 Use `tramp-connection-timeout'.
6100 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6101 (Bug#14808)
6102
a43d577e
LL
61032013-07-11 Leo Liu <sdl.web@gmail.com>
6104
6105 * ido.el (ido-read-file-name): Conform to the requirements of
6106 read-file-name. (Bug#11861)
6107 (ido-read-directory-name): Conform to the requirements of
6108 read-directory-name.
6109
d77974bf
JB
61102013-07-11 Juanma Barranquero <lekktu@gmail.com>
6111
6112 * subr.el (delay-warning): New function.
6113
35cb8a3e
EZ
61142013-07-10 Eli Zaretskii <eliz@gnu.org>
6115
6116 * simple.el (default-line-height): New function.
6117 (line-move-partial, line-move): Use it instead of computing the
6118 line height inline.
6119 (line-move-partial): Always compute ROWH. If the last line is
6120 partially-visible, but its text is completely visible, allow
6121 cursor to enter such a partially-visible line.
6122
525c5c77
MA
61232013-07-10 Michael Albinus <michael.albinus@gmx.de>
6124
6125 Improve error messages. (Bug#14808)
6126
6127 * net/tramp.el (tramp-current-connection): New defvar, moved from
6128 tramp-sh.el.
0ac26976 6129 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 6130 needed anymore.
0ac26976
SM
6131 (tramp-error-with-buffer): Show message in minibuffer.
6132 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
6133 (with-tramp-progress-reporter): Improve messages.
6134 (tramp-process-actions): Use progress reporter. Delete process in
6135 case of error. Improve messages.
6136
763a086d
JB
6137 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6138 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 6139 (tramp-current-connection): Remove.
525c5c77
MA
6140 (tramp-maybe-open-connection): The car of
6141 `tramp-current-connection' are the first 3 slots of the vector.
6142
c7a4d368
TZ
61432013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6144
6145 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6146 inside continued strings.
6147
954b166e
PE
61482013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6149
6150 Timestamp fixes for undo (Bug#14824).
6151 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6152
56973319
LL
61532013-07-10 Leo Liu <sdl.web@gmail.com>
6154
6155 * files.el (require-final-newline): Allow safe local value.
6156 (Bug#14834)
6157
5550a72c
LL
61582013-07-09 Leo Liu <sdl.web@gmail.com>
6159
6160 * ido.el (ido-read-directory-name): Handle fallback.
6161 (ido-read-file-name): Update DIR to ido-current-directory.
6162 (Bug#1516)
c28b9050 6163 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 6164
70c46b28
DG
61652013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6166
6167 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6168 "autoload". Remove "warn lower camel case" section, previously
6169 commented out. Highlight negation char. Do not highlight the
6170 target in singleton method definitions.
6171
0b64b838
SM
61722013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6173
7fd72e2c
SM
6174 * faces.el (tty-setup-hook): Declare the hook.
6175
0b64b838
SM
6176 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6177 and detect when a guard/pred depends on local vars (bug#14773).
6178 (pcase--u1): Adjust caller.
6179
ab49d60b
EZ
61802013-07-08 Eli Zaretskii <eliz@gnu.org>
6181
6182 * simple.el (line-move-partial, line-move): Account for
6183 line-spacing.
701d79aa
EZ
6184 (line-move-partial): Avoid setting vscroll when the last
6185 partially-visible line in window is of default height.
ab49d60b 6186
2d756ae0
LMI
61872013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6188
6189 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6190 been used a while.
6191
ed095bd7
JB
61922013-07-07 Juanma Barranquero <lekktu@gmail.com>
6193
6194 * subr.el (read-quoted-char): Remove unused local variable `char'.
6195
f1e6674b
MK
61962013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6197
584ee3fc
GM
6198 * ediff.el (ediff-version): Version update.
6199 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6200 (ediff-merge-with-ancestor-command, ediff-directories-command)
6201 (ediff-directories3-command, ediff-merge-directories-command)
6202 (ediff-merge-directories-with-ancestor-command): New functions.
6203 All are command-line interfaces to ediff: to facilitate calling
6204 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
6205
6206 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6207 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 6208
584ee3fc
GM
6209 * viper.el (viper-version): Version update.
6210 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 6211
584ee3fc
GM
62122013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6213
6214 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6215 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6216 (viper-intercept-ESC-key): Simplify.
6217 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6218 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6219 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6220 (viper-setup-ESC-to-escape): New functions.
6221 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6222 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 6223
9aff9b38
EZ
62242013-07-07 Eli Zaretskii <eliz@gnu.org>
6225
5165d44a
JB
6226 * simple.el (default-font-height, window-screen-lines):
6227 New functions.
9aff9b38
EZ
6228 (line-move, line-move-partial): Use them instead of
6229 frame-char-height and window-text-height. This makes scrolling
6230 text smoother when the buffer's default face uses a font that is
6231 different from the frame's default font.
6232
1afb1d07
JD
62332013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6234
6235 * files.el (write-file): Do not display confirm dialog for NS,
6236 it does its own dialog, which can't be cancelled (Bug#14578).
6237
23de972a
EZ
62382013-07-06 Eli Zaretskii <eliz@gnu.org>
6239
6240 * simple.el (line-move-partial): Adjust the row returned by
6241 posn-at-point for the current window-vscroll. (Bug#14567)
6242
54a42486
MA
62432013-07-06 Michael Albinus <michael.albinus@gmx.de>
6244
6245 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6246 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6247 spaces.
6248
34ada5f4
MR
62492013-07-06 Martin Rudalics <rudalics@gmx.at>
6250
6251 * window.el (window-state-put-stale-windows): New variable.
6252 (window--state-put-2): Save list of windows without matching buffer.
6253 (window-state-put): Remove "bufferless" windows if possible.
6254
11e03d89
JB
62552013-07-06 Juanma Barranquero <lekktu@gmail.com>
6256
6257 * simple.el (alternatives-define): Remove leftover :group keyword.
6258 Tweak docstring.
6259
3504a4be
LL
62602013-07-06 Leo Liu <sdl.web@gmail.com>
6261
6262 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6263 (ido-enable-virtual-buffers): New variable.
6264 (ido-buffer-internal, ido-toggle-virtual-buffers)
6265 (ido-make-buffer-list): Use it.
6266 (ido-exhibit): Support turning on and off virtual buffers
6267 automatically.
6268
61e56e2c
JB
62692013-07-06 Juanma Barranquero <lekktu@gmail.com>
6270
6271 * simple.el (alternatives-define): New macro.
6272
321e1a9c
SM
62732013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6274
6275 * subr.el (read-quoted-char): Use read-key.
6276 (sit-for): Let read-event decode tty input (bug#14782).
6277
d610f6dd
SB
62782013-07-05 Stephen Berman <stephen.berman@gmx.net>
6279
6280 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
6281 mode command and externally. Fix various related bugs.
6282 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
6283 (todo-delete-file): New command.
6284 (todo-check-file): New function.
6285 (todo-show): Handle external deletion of the file we're trying to
6286 show (bug#14688). Replace called-interactively-p by an optional
6287 prefix argument to avoid problematic interaction with catch form
6288 when byte compiled (bug#14702).
6289 (todo-quit): Handle external deletion of the archive's todo file.
6290 Make sure the buffer that was visiting the archive file is still
6291 live before trying to bury it.
6292 (todo-category-completions): Handle external deletion of any
6293 category completion files.
6294 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6295 of todo files, in case of external deletion.
6296 (todo-add-file): Replace unnecessary setq by let-binding.
6297 (todo-find-archive): Check whether there are any archives.
6298 Replace unnecessary setq by let-binding.
6299 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
6300 archive buffer whether or not the archive already exists.
6301 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
6302 check if the archive is new; if it is, update list of archives.
6303 (todo-default-todo-file): Allow nil to be a valid value for when
6304 there are no todo files.
6305 (todo-reevaluate-default-file-defcustom): Use corrected definition
6306 of todo-default-todo-file.
6307 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6308 (todo-delete-category, todo-show-categories-table)
6309 (todo-category-number): Clarify comment.
6310 (todo-filter-items): Clarify documentation string.
6311 (todo-show-current-file, todo-display-as-todo-file)
6312 (todo-reset-and-enable-done-separator): Tweak documentation string.
6313 (todo-done-separator): Make separator length window-width, since
6314 bug#2749 is now fixed.
6315
ddbdfd6f
MA
63162013-07-05 Michael Albinus <michael.albinus@gmx.de>
6317
321e1a9c
SM
6318 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6319 Support both "gvfs-monitor-dir" and "inotifywait".
6320 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
6321 `tramp-sh-file-notify-process-filter'.
6322 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6323 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6324
96eb829a
LL
63252013-07-05 Leo Liu <sdl.web@gmail.com>
6326
6327 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6328
cf13177e
YM
63292013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6330
6331 * frame.el (display-pixel-height, display-pixel-width)
6332 (display-mm-height, display-mm-width): Mention behavior on
6333 multi-monitor setups in docstrings.
6334 (w32-display-monitor-attributes-list): Declare function.
6335 (display-monitor-attributes-list): Use it.
6336
864c58ca
MA
63372013-07-04 Michael Albinus <michael.albinus@gmx.de>
6338
6339 * filenotify.el: New package.
6340
6341 * autorevert.el (top): Require filenotify.el.
6342 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6343 instead.
6344 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6345 (auto-revert-notify-handler): Use `file-notify-*' functions.
6346
6347 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6348
321e1a9c
SM
6349 * net/tramp.el (tramp-file-name-for-operation):
6350 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
6351
6352 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6353 for `file-notify-add-watch' and `file-notify-rm-watch'.
6354 (tramp-process-sentinel): Improve trace.
6355 (tramp-sh-handle-file-notify-add-watch)
6356 (tramp-sh-file-notify-process-filter)
6357 (tramp-sh-handle-file-notify-rm-watch)
6358 (tramp-get-remote-inotifywait): New defuns.
6359
96673afe
JL
63602013-07-03 Juri Linkov <juri@jurta.org>
6361
6362 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6363 call of `occur-read-primary-args' to interactive spec.
6364
6365 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6366 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6367
924494f4
MM
63682013-07-03 Matthias Meulien <orontee@gmail.com>
6369
6370 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6371 `Buffer-menu-multi-occur'. Add it to the menu.
6372 (Buffer-menu-mode): Document it in docstring.
6373 (Buffer-menu-multi-occur): New command. (Bug#14673)
6374
56f75efc
DG
63752013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6376
6377 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6378 keywords and built-ins.
6379
9b057d61
GM
63802013-07-03 Glenn Morris <rgm@gnu.org>
6381
208dee4d
GM
6382 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6383
9b057d61
GM
6384 Make info-xref checks case-sensitive by default
6385 * info.el (Info-find-node, Info-find-in-tag-table)
6386 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6387 Add option for exact case matching of nodes.
6388 * info-xref.el (info-xref): New custom group.
6389 (info-xref-case-fold): New option.
6390 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6391
e01aa29c
LL
63922013-07-03 Leo Liu <sdl.web@gmail.com>
6393
6394 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6395
3086ca2e
DG
63962013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6397
6398 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6399 middle of block statement initially, lower the depth. Remove
6400 FIXME comment, not longer valid. Remove middle of block statement
6401 detection, no need to do that anymore since we've been using
6402 `ruby-parse-region' here.
6403
a3b49114
JD
64042013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6405
6406 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6407
08e5c823 64082013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
6409
6410 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6411
2addf922
JB
64122013-07-01 Juanma Barranquero <lekktu@gmail.com>
6413
6414 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6415 (desktop-restore-in-current-display): New customization option.
6416 (desktop--excluded-frame-parameters): Add `font'.
6417 (desktop--save-frames): Rename from desktop--save-windows.
6418 (desktop--restore-in-this-display-p): New function.
6419 (desktop--make-full-frame): Remove unwanted width/height from
6420 full(width|height) frames.
6421 (desktop--restore-frames): Rename from desktop--restore-windows.
6422 Obey desktop-restore-current-display. Do not delete old frames or
6423 select a new frame unless we were able to restore at least one frame.
6424
ef099a94
MN
64252013-06-30 Michal Nazarewicz <mina86@mina86.com>
6426
6427 * files.el (find-file-noselect): Simplify conditional expression.
6428
6429 * remember.el (remember-append-to-file):
6430 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6431
6432 Add `remember-notes' function to store random notes across Emacs
6433 restarts.
6434 * remember.el (remember-data-file): Add :set callback to affect
6435 notes buffer (if any).
6436 (remember-notes): New command.
6437 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6438 New defcustoms for the `remember-notes' function.
6439 (remember-notes-save-and-bury-buffer): New command.
6440 (remember-notes-mode-map): New variable.
6441 (remember-mode): New minor mode.
6442 (remember-notes--kill-buffer-query): New function.
6443 * startup.el (initial-buffer-choice): Add notes to custom type.
6444
0865d506
EZ
64452013-06-30 Eli Zaretskii <eliz@gnu.org>
6446
0ba54312
EZ
6447 * bindings.el (right-char, left-char): Don't call sit-for, this is
6448 no longer needed. Use arithmetic comparison only for numerical
6449 arguments.
6450
ef099a94
MN
6451 * international/mule-cmds.el (select-safe-coding-system):
6452 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 6453
2fae38e5
LMI
64542013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6455
6456 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6457 progression on degenerate tables.
ef099a94 6458 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 6459
a47cbd64
JB
64602013-06-30 Juanma Barranquero <lekktu@gmail.com>
6461
6462 Some fixes and improvements for desktop frame restoration.
6463 It is still experimental and disabled by default.
6464 * desktop.el (desktop--save-windows): Put the selected frame at
6465 the head of the list.
6466 (desktop--make-full-frame): New function.
6467 (desktop--restore-windows): Try to re-select the frame that was
6468 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
6469 just show an error message and continue. Set up maximized frames
6470 so they have default non-maximized dimensions.
a47cbd64 6471
6dbafa30
DG
64722013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6473
ef099a94
MN
6474 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6475 Don't start heredoc inside a string or comment.
6dbafa30 6476
4c672a0f
EZ
64772013-06-29 Eli Zaretskii <eliz@gnu.org>
6478
6479 * bindings.el (visual-order-cursor-movement): New defcustom.
6480 (right-char, left-char): Provide visual-order cursor motion by
6481 calling move-point-visually. Update the doc strings.
6482
50960f36
KH
64832013-06-28 Kenichi Handa <handa@gnu.org>
6484
6485 * international/mule.el (define-coding-system): New coding system
6486 properties :inhibit-null-byte-detection,
6487 :inhibit-iso-escape-detection, and :prefer-utf-8.
6488 (set-buffer-file-coding-system): If :charset-list property of
6489 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6490 appropriate for setting.
6491
c1ea3abf
JB
6492 * international/mule-cmds.el (select-safe-coding-system):
6493 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6494 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
6495
6496 * international/mule-conf.el (prefer-utf-8): New coding system.
6497 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6498 files.
6499
75dbaf9d
IK
65002013-06-28 Ivan Kanis <ivan@kanis.fr>
6501
eadb6068
IK
6502 * net/shr.el (shr-render-region): New function.
6503
75dbaf9d
IK
6504 * net/eww.el: Autoload `eww-browse-url'.
6505
9ea5cf9f
DG
65062013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6507
c1ea3abf
JB
6508 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6509 Adapt to `package-desc-version' being a list.
6510 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
6511 archive element.
6512
39c0e36f
JB
65132013-06-27 Juanma Barranquero <lekktu@gmail.com>
6514
6515 New experimental feature to save&restore window and frame setup.
6516 * desktop.el (desktop-save-windows): New defcustom.
6517 (desktop--saved-states): New var.
6518 (desktop--excluded-frame-parameters): New defconst.
6519 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6520 (desktop--restore-windows, desktop--save-windows): New functions.
6521 (desktop-save): Call `desktop--save-windows'.
6522 (desktop-read): Call `desktop--restore-windows'.
6523
7f13406b
LMI
65242013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6525
ef099a94 6526 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 6527
1e072639
SB
65282013-06-27 Stephen Berman <stephen.berman@gmx.net>
6529
6530 * info.el (Info-try-follow-nearest-node): Move search for footnote
6531 above search for node name to prevent missing a footnote (bug#14717).
6532
f3e2cbde
SB
65332013-06-27 Stephen Berman <stephen.berman@gmx.net>
6534
6535 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6536
99906aa0
LL
65372013-06-27 Leo Liu <sdl.web@gmail.com>
6538
6539 * net/eww.el (eww-read-bookmarks): Check file size.
6540
539f75f4
SM
65412013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6542
6543 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6544 advice--pending if newdef is nil or an autoload (bug#13820).
6545 (advice-mapc): New function.
6546
843571cb
LMI
65472013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6548
6549 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6550 probably.
23a75d7f 6551 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
6552 (eww-add-bookmark): New command.
6553 (eww-bookmark-mode): New mode and commands.
a285ce99 6554 (eww-add-bookmark): Remove newlines from the title.
47fd571b 6555 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 6556
f2136e1e
GM
65572013-06-26 Glenn Morris <rgm@gnu.org>
6558
eab35f39
GM
6559 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6560 (hfy-size): Handle ttys. (Bug#14668)
6561
f2136e1e
GM
6562 * info-xref.el: Update for Texinfo 5 change in *note format.
6563 (info-xref-node-re, info-xref-note-re): New constants.
6564 (info-xref-check-buffer): Use info-xref-note-re.
6565
a49ff80c
SM
65662013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6567
a343d218
SM
6568 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6569
a49ff80c
SM
6570 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6571 nil terminate the loop (bug#14718).
6572
8308f184
LMI
65732013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6574
6575 * net/eww.el: Rework history traversal. When going forward/back,
6576 put these actions into the history, too, so that they can be
6577 replayed.
26bf2b82 6578 (eww-render): Move the history reset to the correct buffer.
8308f184 6579
ec64c273
JL
65802013-06-25 Juri Linkov <juri@jurta.org>
6581
6582 * files-x.el (modify-dir-local-variable): Change the header comment
6583 in the file with directory local variables. (Bug#14692)
6584
e080a9d7
JL
6585 * files-x.el (read-file-local-variable-value): Add `default'.
6586 (Bug#14710)
6587
bfbc93a1
IK
65882013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6589
6590 * net/eww.el (eww-make-unique-file-name): Create a unique file
6591 name before saving to entering `y' accidentally asynchronously.
6592
65932013-06-25 Ivan Kanis <ivan@kanis.fr>
6594
6595 * net/eww.el (eww-download): New command and keystroke.
6596
16f74f10
LMI
65972013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6598
a49ff80c 6599 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
6600
6601 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6602 be more consistent with Info and dired.
6603
6604 * net/eww.el (eww-mode-map): Ditto.
6605
12059709
SM
66062013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6607
6608 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6609 packages from archives.
6610 (package-archive-contents): Change format; include obsolete packages.
6611 (package-desc): Use `dir' to mark builtin packages.
6612 (package--from-builtin): Set the `dir' field to `builtin'.
6613 (generated-autoload-file, version-control): Declare.
6614 (package-compute-transaction): Change first arg and return value to be
6615 lists of package-descs. Adjust to new package-archive-contents format.
6616 (package--add-to-archive-contents): Adjust to new
6617 package-archive-contents format.
6618 (package-download-transaction): Arg is now a list of package-descs.
6619 (package-install): If `pkg' is a package name, pass it as
6620 a requirement, so it is subject to the usual (e.g. disabled) checks.
6621 (describe-package): Accept package-desc as well.
6622 (describe-package-1): Describe a specific package-desc. Add links to
6623 other package-descs for the same package name.
6624 (package-menu-describe-package): Pass the actual package-desc.
6625 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6626 works correctly.
6627 (package-desc-status): New function.
6628 (package-menu--refresh): New function, extracted
6629 from package-menu--generate.
6630 (package-menu--generate): Use it.
6631 (package-delete): Update package-alist.
6632 (package-menu-execute): Don't call package-initialize.
6633
6634 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6635 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6636 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6637 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6638 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6639 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6640
8bbdea0f
MR
66412013-06-25 Martin Rudalics <rudalics@gmx.at>
6642
6643 * window.el (window--state-get-1): Workaround for bug#14527.
6644 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6645
e82b0991
LMI
66462013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6647
6648 * net/eww.el (eww-back-url): Implement the history by stashing all
6649 the data into a list.
d3f0f918 6650 (eww-forward-url): Allow going forward in the history, too.
e82b0991 6651
c763842b
SM
66522013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6653
6654 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6655 for values and use read--expression for expressions (bug#14710).
6656 (read-file-local-variable): Avoid setq.
6657 (read-file-local-variable-mode): Use minor-mode-list.
6658
bceff189
RW
66592013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6660
864c58ca 6661 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
6662 for DOI URLs.
6663
45f431c6
RW
66642013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6665
864c58ca 6666 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
6667 Update imenu-support when dialect changes.
6668
f42d8237
LL
66692013-06-25 Leo Liu <sdl.web@gmail.com>
6670
6671 * ido.el (ido-read-internal): Allow forward slash on windows.
6672
be549ce6
LMI
66732013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6674
6675 * net/eww.el (eww): Start of strings is \\`, not ^.
6676
71d4c19d
IK
66772013-06-24 Ivan Kanis <ivan@kanis.fr>
6678
5196f88a
IK
6679 * net/shr.el (shr-browse-url): Fix interactive spec.
6680
71d4c19d
IK
6681 * net/eww.el (eww): Add a trailing slash to domain names.
6682
ae36ca55
JB
66832013-06-24 Juanma Barranquero <lekktu@gmail.com>
6684
6685 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6686
0ebd92a3
LMI
66872013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6688
bdaa086b
LMI
6689 * net/shr.el (shr-browse-url): Use an external browser if given a
6690 prefix.
6691
c763842b 6692 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 6693
b89fc156
IK
66942013-06-24 Ivan Kanis <ivan@kanis.fr>
6695
6696 * net/eww.el (eww): Work more correctly for file: URLs.
6697 (eww-detect-charset): Allow quoted charsets.
6698 (eww-yank-page-url): New command and keystroke.
6699
18eb4bca
DU
67002013-06-24 Daiki Ueno <ueno@gnu.org>
6701
6702 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6703 file name of gpg executable.
6704 (epg-context-program): New function.
6705 (epg-context-home-directory): New function.
6706 (epg-context-set-program): New function.
6707 (epg-context-set-home-directory): New function.
6708 (epg--start): Use `epg-context-program' instead of
6709 'epg-gpg-program'.
6710 (epg--list-keys-1): Likewise.
6711
6c6268c8
LL
67122013-06-24 Leo Liu <sdl.web@gmail.com>
6713
6714 * ido.el (ido-read-internal): Fix bug#14620.
6715
5e400cb3
JB
67162013-06-23 Juanma Barranquero <lekktu@gmail.com>
6717
6718 * faces.el (face-documentation): Simplify.
6719 (read-face-attribute, tty-find-type, x-resolve-font-name):
6720 Use `string-match-p'.
6721 (list-faces-display): Use `string-match-p'. Simplify.
6722 (face-spec-recalc): Check face to avoid face alias loops.
6723 (read-color): Use `string-match-p' and non-capturing parenthesis.
6724
f3f9606c
LMI
67252013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6726
6727 * net/shr.el (shr-rescale-image): Use the new
6728 :max-width/:max-height functionality.
6729
a3ca09b9
IK
67302013-06-23 Ivan Kanis <ivan@kanis.fr>
6731
6732 * net/eww.el (eww-search-prefix): New variable.
6733 (eww): Use it.
f865b474
IK
6734 (eww-external-browser): New variable.
6735 (eww-mode-map): New keystroke.
6736 (eww-browse-with-external-browser): New command.
a3ca09b9 6737
e854cfc7
IK
6738 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6739
18bb9e21
JB
67402013-06-23 Juanma Barranquero <lekktu@gmail.com>
6741
6742 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6743 Don't skip aligning the next header field when padding is 0;
6744 otherwise, field width is not respected unless the title is as
6745 wide as the field.
6746
5b165ade
SM
67472013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6748
6749 * emacs-lisp/package.el (package-el-version): Remove.
6750 (package-process-define-package): Fix inf-loop.
6751 (package-install): Allow symbols as arguments again.
6752
12adebe9
DG
67532013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6754
6755 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6756 add some more keyword-like methods.
6757 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6758
388573ee
JB
67592013-06-22 Juanma Barranquero <lekktu@gmail.com>
6760
6761 * bs.el (bs-buffer-show-mark): Make defvar-local.
6762 (bs-mode): Use setq-local.
6763
6764 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6765 (emacs-lock--try-unlocking): Make defvar-local.
6766
4582a01c 67672013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 6768
2663dd23
GM
6769 * play/cookie1.el (cookie-apropos): Minor simplification.
6770
3d94f3ad
GM
6771 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6772
f72e2fdb
DG
67732013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6774
6775 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6776 `regexp-opt', it breaks the build during dumping.
6777
73eab938
DG
67782013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6779
c763842b
SM
6780 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6781 Highlight keyword-like methods on Kernel and Module with
73eab938 6782 font-lock-builtin-face.
5cf8176d
DG
6783 (auto-mode-alist): Consolidate different entries into one regexp
6784 and add more *file-s.
73eab938 6785
d26255f6
SB
67862013-06-21 Stephen Berman <stephen.berman@gmx.net>
6787
6788 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6789
6790 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6791 (diary-entry): Use it in the action of this button type instead of
6792 diary-goto-entry.
6793
6794 * calendar/todo-mode.el: New version.
6795 (todo-add-category): Append new category to end of file and give
6796 it the highest number, instead of putting it at the beginning and
6797 giving it 0. Incorporate noninteractive functionality.
6798 (todo-forward-category): Adapt to 1-based category numbering.
6799 Allow skipping over archived categories.
6800 (todo-backward-category): Derive from todo-forward-category.
6801 (todo-backward-item, todo-forward-item): Make noninteractive and
6802 delegate interactive part to new commands. Make sensitive to done items.
6803 (todo-categories): Make value an alist of category names and
6804 vectors of item counts.
6805 (todo-category-beg): Make a defconst.
6806 (todo-category-number): Use 1 instead of 0 as initial value.
6807 (todo-category-select): Make sensitive to overlays, optional item
6808 highlighting and done items.
6809 (todo-delete-item): Make sensitive to overlays and marked and done items.
6810 (todo-edit-item): Make sensitive to overlays and editing of
6811 date/time header optional. Add format checks.
6812 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6813 no-op if point is not on an item. Advertise using todo-edit-quit.
6814 (todo-edit-mode): Make sensitive to new format, font-locking, and
6815 multiple todo files.
6816 (todo-insert-item, todo-insert-item-here): Derive from
6817 todo-basic-insert-item and extend functionality.
6818 (todo-item-end, todo-item-start): Make sensitive to done items.
6819 (todo-item-string): Don't return text properties. Restore point.
6820 (todo-jump-to-category): Make sensitive to multiple todo files and
6821 todo archives. Use extended category completion.
6822 (todo-lower-item, todo-raise-item): Rename to *-priority and
6823 derive from todo-set-item-priority.
6824 (todo-mode): Derive from special-mode. Make sensitive to new
6825 format, font-locking and multiple todo files. Make read-only.
6826 (todo-mode-map): Don't suppress digit keys, so they can supply
6827 prefix arguments. Add many new key bindings.
6828 (todo-prefix): Insert as an overlay instead of file text.
6829 Change semantics from diary date expression to purely visual mark.
6830 (todo-print): Rename to todo-print-buffer. Make buffer display
6831 features printable. Remove option to restrict number of items
6832 printed. Add option to print to file.
6833 (todo-print-function): Rename to todo-print-buffer-function.
6834 (todo-quit): Extend to handle exiting new todo modes.
6835 (todo-remove-item): Make sensitive to overlays.
6836 (todo-save): Extend to buffers of filtered items.
6837 (todo-show): Make sensitive to done items, multiple todo files and
6838 new todo modes. Offer to convert legacy todo file before creating
6839 first new todo file.
6840 (todo-show-priorities): Rename to todo-top-priorities.
6841 Change semantics of value 0.
6842 (todo-top-priorities): Rename to todo-filter-top-priorities,
6843 derive from todo-filter-items and extend functionality.
6844 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6845 and extend functionality to other types of filtered items.
6846 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6847 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6848 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6849 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6850 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6851 (todo-edit-mode-hook, todo-entry-prefix-function)
6852 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6853 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6854 (todo-initials, todo-insert-threshold, todo-item-string-start)
6855 (todo-line-string, todo-menu, todo-mode-hook)
6856 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6857 (todo-print-priorities, todo-remove-separator)
6858 (todo-save-top-priorities-too, todo-string-count-lines)
6859 (todo-string-multiline-p, todo-time-string-format)
6860 (todo-tmp-buffer-name): Remove.
6861 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6862 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6863 (todo-edit-category-diary-inclusion)
6864 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6865 (todo-edit-file, todo-edit-item-date-day)
6866 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6867 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6868 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6869 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6870 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6871 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6872 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6873 (todo-filter-top-priorities-multifile, todo-find-archive)
6874 (todo-find-filtered-items-file, todo-go-to-source-item)
6875 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6876 (todo-jump-to-archive-category, todo-lower-category)
6877 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6878 (todo-move-category, todo-move-item, todo-next-button)
6879 (todo-next-item, todo-padded-string, todo-powerset)
6880 (todo-previous-button, todo-previous-item)
6881 (todo-print-buffer-to-file, todo-raise-category)
6882 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6883 (todo-set-category-number, todo-set-item-priority)
6884 (todo-set-top-priorities-in-category)
6885 (todo-set-top-priorities-in-file, todo-show-categories-table)
6886 (todo-sort-categories-alphabetically-or-numerically)
6887 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6888 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6889 (todo-toggle-item-header, todo-toggle-item-highlighting)
6890 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6891 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6892 (todo-unarchive-items, todo-unmark-category): New commands.
6893 (todo-absolute-file-name, todo-add-to-buffer-list)
6894 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6895 (todo-basic-insert-item, todo-category-completions)
6896 (todo-category-number, todo-category-string-matcher-1)
6897 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6898 (todo-check-format, todo-clear-matches)
6899 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6900 (todo-current-category, todo-date-string-matcher)
6901 (todo-define-insertion-command, todo-diary-expired-matcher)
6902 (todo-diary-goto-entry, todo-diary-item-p)
6903 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6904 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6905 (todo-done-item-section-p, todo-done-separator)
6906 (todo-done-string-matcher, todo-files, todo-filter-items)
6907 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6908 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6909 (todo-insert-category-line, todo-insert-item-from-calendar)
6910 (todo-insert-sort-button, todo-insert-with-overlays)
6911 (todo-insertion-command-name, todo-insertion-key-bindings)
6912 (todo-label-to-key, todo-longest-category-name-length)
6913 (todo-make-categories-list, todo-mode-external-set)
6914 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6915 (todo-modes-set-3, todo-multiple-filter-files)
6916 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6917 (todo-read-category, todo-read-date, todo-read-dayname)
6918 (todo-read-file-name, todo-read-time)
6919 (todo-reevaluate-category-completions-files-defcustom)
6920 (todo-reevaluate-default-file-defcustom)
6921 (todo-reevaluate-filelist-defcustoms)
6922 (todo-reevaluate-filter-files-defcustom)
6923 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6924 (todo-reset-done-separator, todo-reset-done-separator-string)
6925 (todo-reset-done-string, todo-reset-global-current-todo-file)
6926 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6927 (todo-reset-prefix, todo-set-categories)
6928 (todo-set-date-from-calendar, todo-set-show-current-file)
6929 (todo-set-top-priorities, todo-short-file-name)
6930 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6931 (todo-total-item-counts, todo-update-buffer-list)
6932 (todo-update-categories-display, todo-update-categories-sexp)
6933 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6934 New functions.
6935 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6936 New major modes.
6937 (todo-categories, todo-display, todo-edit, todo-faces)
6938 (todo-filtered): New defgroups.
6939 (todo-archived-only, todo-button, todo-category-string, todo-date)
6940 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6941 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6942 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6943 (todo-add-item-if-new-category, todo-always-add-time-string)
6944 (todo-categories-align, todo-categories-archived-label)
6945 (todo-categories-category-label, todo-categories-diary-label)
6946 (todo-categories-done-label, todo-categories-number-separator)
6947 (todo-categories-todo-label, todo-categories-totals-label)
6948 (todo-category-completions-files, todo-completion-ignore-case)
6949 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6950 (todo-done-separator-string, todo-done-string)
6951 (todo-files-function, todo-filter-done-items, todo-filter-files)
6952 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6953 (todo-initial-category, todo-initial-file, todo-item-mark)
6954 (todo-legacy-date-time-regexp, todo-mode-line-function)
6955 (todo-nondiary-marker, todo-number-prefix)
6956 (todo-print-buffer-function, todo-show-current-file)
6957 (todo-show-done-only, todo-show-first, todo-show-with-done)
6958 (todo-skip-archived-categories, todo-top-priorities-overrides)
6959 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6960 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6961 New defcustoms.
6962 (todo-category-done, todo-date-pattern, todo-date-string-start)
6963 (todo-diary-items-buffer, todo-done-string-start)
6964 (todo-filtered-items-buffer, todo-item-start)
6965 (todo-month-abbrev-array, todo-month-name-array)
6966 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6967 (todo-top-priorities-buffer): New defconsts.
6968 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6969 (todo-categories-with-marks, todo-category-string-face)
6970 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6971 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6972 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6973 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6974 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6975 (todo-font-lock-keywords, todo-global-current-todo-file)
6976 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6977 (todo-insertion-commands-args)
6978 (todo-insertion-commands-args-genlist)
6979 (todo-insertion-commands-names, todo-insertion-map)
6980 (todo-key-bindings-t, todo-key-bindings-t+a)
6981 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6982 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6983 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6984 (todo-visited): New variables.
6985
cad5d1cb
GM
69862013-06-21 Glenn Morris <rgm@gnu.org>
6987
6988 * play/cookie1.el (cookie-apropos): Add optional display argument.
6989 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6990 (psychoanalyze-pinhead): Use cookie-doctor.
6991
9e277302
JB
69922013-06-21 Juanma Barranquero <lekktu@gmail.com>
6993
6994 * emacs-lisp/package.el (tar-get-file-descriptor)
6995 (tar--extract): Declare.
6996
c5b0993e
EW
69972013-06-21 Eduard Wiebe <usenet@pusto.de>
6998
6999 Extend flymake's warning predicate to be a function (bug#14217).
7000 * progmodes/flymake.el (flymake-warning-predicate): New.
7001 (flymake-parse-line): Use it.
7002 (flymake-warning-re): Make obsolete alias to
7003 `flymake-warning-predicate'.
7004
a7d2d465
SM
70052013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7006
7007 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7008 (package-obsolete-list): Remove.
7009 (package-activate): Remove min-version argument. Add `force' argument.
7010 Adjust to new package-alist format.
7011 (package-mark-obsolete): Remove.
7012 (package-unpack): Force reload of the package's autoloads.
7013 (package-installed-p): Check builtins if the installed package is not
7014 recent enough.
7015 (package-initialize): Don't reset package-obsolete-list.
7016 Don't specify which package version to activate.
7017 (package-process-define-package, describe-package-1)
7018 (package-menu--generate): Adjust to new package-alist format.
7019
cedf5c9d
JB
70202013-06-21 Juanma Barranquero <lekktu@gmail.com>
7021
7022 * allout-widgets.el (allout-widgets-mode-off)
7023 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7024 (allout-widgets-post-command-business)
7025 (allout-widgets-after-copy-or-kill-function)
7026 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7027 (allout-decorate-item-and-context)
7028 (allout-graphics-modification-handler): Fix typos in docstrings.
7029 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7030
7031 * cmuscheme.el (scheme-start-file): Doc fix.
7032 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7033 (scheme-input-filter): Use `string-match-p'.
7034
7035 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7036
7037 * dired-x.el: Use Dired consistently in docstrings.
7038
7039 * dired.el: Use Dired consistently in docstrings.
7040 (dired-readin, dired-mode): Use `setq-local'.
7041 (dired-switches-alist): Make defvar-local.
7042 (dired-buffers-for-dir): Use `zerop'.
7043 (dired-safe-switches-p, dired-switches-escape-p)
7044 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7045 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7046 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7047 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7048 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7049 (dired-toggle-marks, dired-mark-files-containing-regexp)
7050 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7051 (dired-flag-auto-save-files, dired-flag-backup-files):
7052 Use `looking-at-p'.
7053 (dired-mark-files-regexp, dired-build-subdir-alist):
7054 Use `string-match-p', `looking-at-p'.
7055
7056 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7057 (direct-print-region-helper): Use `string-match-p'.
7058
aed838b5
LL
70592013-06-21 Leo Liu <sdl.web@gmail.com>
7060
cedf5c9d
JB
7061 * comint.el (comint-redirect-results-list-from-process):
7062 Fix infinite loop.
aed838b5 7063
d80a808f
LMI
70642013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7065
7066 * net/eww.el (eww-update-header-line-format): Quote % characters.
7067
e7a526e3
GM
70682013-06-21 Glenn Morris <rgm@gnu.org>
7069
7070 * play/cookie1.el (cookie): New custom group.
7071 (cookie-file): New option.
7072 (cookie-check-file): New function.
7073 (cookie): Make it interactive. Make start and end messages optional.
7074 Interactively, display the result. Default to cookie-file.
7075 (cookie-insert): Default to cookie-file.
7076 (cookie-snarf): Make start and end messages optional.
7077 Default to cookie-file. Use with-temp-buffer.
7078 (cookie-read): Rename from read-cookie.
7079 Make start and end messages optional. Default to cookie-file.
7080 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 7081 Do not autoload it.
e7a526e3
GM
7082 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7083 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7084
62efb35e
LL
70852013-06-21 Leo Liu <sdl.web@gmail.com>
7086
7087 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7088
21e3f963
GM
70892013-06-21 Glenn Morris <rgm@gnu.org>
7090
7091 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7092
fd846ab4
SM
70932013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7094 Daniel Hackney <dan@haxney.org>
7095
7096 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7097 Consolidate the single-file vs tarball code.
7098 (package-desc-suffix): New function.
7099 (package-desc-full-name): Don't bother inlining it.
7100 (package-load-descriptor): Return the new package-desc.
7101 (package-mark-obsolete): Remove unused arg `package'.
7102 (package-unpack): Make it work for single files as well.
7103 Make it update package-alist.
7104 (package--make-autoloads-and-stuff): Rename from
7105 package--make-autoloads-and-compile. Don't compile any more.
7106 (package--compile): New function.
7107 (package-generate-description-file): New function, extracted from
7108 package-unpack-single.
7109 (package-unpack-single): Remove.
7110 (package--with-work-buffer): Add indentation and debugging info.
7111 (package-download-single): Remove.
7112 (package-install-from-archive): Rename from package-download-tar, make
7113 it take a pkg-desc, and make it work for single files as well.
7114 (package-download-transaction): Simplify.
7115 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7116 external tar program.
7117 (package-install-from-buffer): Remove `pkg-desc' argument.
7118 Use package-tar-file-info for tar-mode buffers.
7119 (package-install-file): Simplify accordingly.
7120 (package-archive-base): Change to take a pkg-desc.
7121 * tar-mode.el (tar--check-descriptor): New function, extracted from
7122 tar-get-descriptor.
7123 (tar-get-descriptor): Use it.
7124 (tar-get-file-descriptor): New function.
7125 (tar--extract): New function, extracted from tar-extract.
7126 (tar--extract): Use it.
7127 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7128 case the summary uses non-ascii. Adjust to new calling convention of
7129 package-tar-file-info.
7130
b7deae5e
LL
71312013-06-21 Leo Liu <sdl.web@gmail.com>
7132
fd846ab4
SM
7133 * comint.el (comint-redirect-results-list-from-process):
7134 Fix random delay. (Bug#14681)
b7deae5e 7135
7a65a0b2
JB
71362013-06-21 Juanma Barranquero <lekktu@gmail.com>
7137
7138 * profiler.el (profiler-format-number): Use log, not log10.
7139
1493c2af
JB
71402013-06-20 Juanma Barranquero <lekktu@gmail.com>
7141
7142 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7143
aff6371e
SM
71442013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7145
7146 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7147 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7148 yet available.
7149 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7150 (AUTOGENEL): ... here.
7151 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7152 (cl--defsubst-expand): Use it.
7153
89561f72
PE
71542013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7155
7156 * subr.el (log10): Move here from C code, and declare as obsolete.
7157 All uses of (log10 X) replaced with (log X 10).
7158
47199123
JB
71592013-06-20 Juanma Barranquero <lekktu@gmail.com>
7160
7161 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7162 Declare with `defvar-local'.
7163 (tabulated-list-use-header-line, tabulated-list-entries)
7164 (tabulated-list-padding, tabulated-list-printer)
7165 (tabulated-list-sort-key): Declare with `defvar-local'.
7166 (tabulated-list-init-header, tabulated-list-print-fake-header):
7167 Use `setq-local'.
7168
4a172eab
MA
71692013-06-20 Michael Albinus <michael.albinus@gmx.de>
7170
47199123
JB
7171 * arc-mode.el (archive-mode): Add `archive-write-file' to
7172 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 7173
5fc0acc0
JB
71742013-06-20 Juanma Barranquero <lekktu@gmail.com>
7175
d5b27848
JB
7176 * cus-edit.el (custom-commands): Fix typos.
7177 (custom-display): Fix tooltip text.
7178 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7179 Fix typos in docstrings.
7180 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7181 (custom-unlispify-menu-entry, custom-magic-value-create)
7182 (custom-add-see-also, custom-group-value-create): Use ?\s.
7183 (custom-guess-type, customize-apropos, editable-field)
7184 (custom-face-value-create): Use `string-match-p'.
7185 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7186
7187 * custom.el (custom-load-symbol): Use `string-match-p'.
7188
a5c581d8
JB
7189 * ansi-color.el: Convert to lexical binding.
7190 (ansi-colors): Fix URL.
7191 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7192 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7193 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7194
970ad972
G
71952013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7196
7197 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7198
7199 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7200
72012013-06-19 Tom Tromey <tromey@redhat.com>
7202
7203 * net/eww.el (eww-top-url): Remove.
7204 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7205 (eww-render): Set new variables. Don't set eww-top-url.
7206 (eww-handle-link): Handle "prev", "home", and "contents".
7207 Downcase the rel text.
7208 (eww-top-url): Choose best top URL.
7209
72102013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7211
7212 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7213 relying in widget.el. Using widget.el leads to too many
7214 user interface inconsistencies.
7215 (eww-self-insert): Implement entering commands in text fields.
7216 (eww-process-text-input): New function to make text input field editing
7217 work.
7218 (eww-submit): Rewrite to use the new-style form methods.
7219 (eww-select-display): Display the correct selected item.
7220 (eww-change-select): Implement changing the select value.
7221 (eww-toggle-checkbox): Implement radio/checkboxes.
7222 (eww-update-field): Fix compilation error.
7223 (eww-tag-textarea): Implement <textarea>.
7224
7225 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7226 we don't shadow mode-specific bindings.
7227
7228 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7229 nothing to push.
7230
7231 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7232
4582a01c 72332013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
7234
7235 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7236
15b263dc
MA
72372013-06-19 Michael Albinus <michael.albinus@gmx.de>
7238
7239 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7240 not needed.
7241
7242 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7243
8f5297f7
LMI
72442013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7245
7246 * net/browse-url.el (browse-url-browser-function):
7247 `eww-browse-url' has the right calling signature, `eww' does not.
7248
011c4552
GM
72492013-06-19 Glenn Morris <rgm@gnu.org>
7250
2285bd27
GM
7251 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7252 Only eval autoloaded macros.
7253 (byte-compile-autoload): Only give the macro warning for macros.
7254
1d653303
GM
7255 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7256 (ps-underlined-faces): Declare.
7257
bdd779ec
GM
7258 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7259 (speedbar-add-supported-extension): Declare.
7260
011c4552
GM
7261 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7262 Don't include a date stamp in the header of the generated file;
7263 it leads to needless differences between output files.
7264
e59dfb0e
MA
72652013-06-19 Michael Albinus <michael.albinus@gmx.de>
7266
c763842b
SM
7267 * net/secrets.el (secrets-struct-secret-content-type):
7268 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 7269 Some servers do not offer introspection.
e59dfb0e 7270
102626e2
SM
72712013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7272
7273 * electric.el (electric-pair-mode): Improve interaction with
7274 electric-layout-mode.
7275 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7276 (electric-pair-syntax): Use text-mode-syntax-table in comments
7277 and strings.
7278 (electric-pair--insert): New function.
7279 (electric-pair-post-self-insert-function): Use it and
7280 electric--after-char-pos.
7281
ad528125
LL
72822013-06-19 Leo Liu <sdl.web@gmail.com>
7283
7284 * progmodes/octave.el (octave-help): Fix regexp.
7285
924d6997
G
72862013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7287
7288 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7289 (shr-table-horizontal-line): Allow nil as a value, and change the
7290 default.
7291 (shr-insert-table-ruler): Respect the nil value.
7292
72932013-06-18 Tom Tromey <tromey@barimba>
7294
7295 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7296 New defvars.
7297 (eww-open-file): New defun.
7298 (eww-render): Initialize new variables.
7299 (eww-display-html): Handle "link" and "a".
7300 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7301 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7302 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
7303 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7304 New defuns.
924d6997 7305
d1bbba4f
DG
73062013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7307
7308 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7309 Distinguish ternary operator tokens from slash symbol and slash
7310 char literal.
7311
14dd22d2
JB
73122013-06-18 Juanma Barranquero <lekktu@gmail.com>
7313
7314 Convert symbol prettification into minor mode and global minor mode.
7315
7316 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7317 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7318 (prettify-symbols--keywords): Rename from
7319 `prog-prettify-symbols-alist' and make a local defvar.
7320 (prettify-symbols--compose-symbol): Rename from
7321 `prog--prettify-font-lock-compose-symbol'.
7322 (prettify-symbols--make-keywords): Rename from
7323 `prog-prettify-font-lock-symbols-keywords' and simplify.
7324 (prog-prettify-install): Remove.
7325 (prettify-symbols-mode): New minor mode, based on
7326 `prog-prettify-install'.
7327 (turn-on-prettify-symbols-mode): New function.
7328 (global-prettify-symbols-mode): New globalized minor mode.
7329
7330 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7331 * progmodes/cfengine.el (cfengine3-mode):
7332 * progmodes/perl-mode.el (perl-mode): Don't call
7333 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7334
292c880c
JL
73352013-06-18 Juri Linkov <juri@jurta.org>
7336
7337 * files-x.el (modify-file-local-variable-message): New function.
7338 (modify-file-local-variable)
7339 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7340 and call `modify-file-local-variable-message' when it's non-nil.
7341 (add-file-local-variable, delete-file-local-variable)
7342 (add-file-local-variable-prop-line)
7343 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7344 and use it. (Bug#9820)
7345
0950aa27
JL
73462013-06-18 Juri Linkov <juri@jurta.org>
7347
7348 * emulation/vi.el (vi-shell-op):
7349 * emulation/vip.el (vip-execute-com, ex-command):
7350 * emulation/viper-cmd.el (viper-exec-bang):
7351 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7352 the call of `shell-command-on-region'. (Bug#14637)
7353
7354 * simple.el (shell-command-on-region): Doc fix.
7355
8fbcca16
SM
73562013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7357
7358 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7359 (bug#14633).
7360
dd7426ea
GM
73612013-06-18 Glenn Morris <rgm@gnu.org>
7362
4ba54f7d
GM
7363 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7364
dd7426ea
GM
7365 * newcomment.el (comment-search-forward, comment-search-backward):
7366 Doc fix. (Bug#14376)
7367
58aa805b
JB
73682013-06-18 Juanma Barranquero <lekktu@gmail.com>
7369
7370 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7371 (buffer-face-mode-invoke): Doc fix.
7372
9a08a617
MM
73732013-06-18 Matthias Meulien <orontee@gmail.com>
7374
7375 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 7376 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 7377
f2f426ca
GM
73782013-06-18 Glenn Morris <rgm@gnu.org>
7379
9445f99b
GM
7380 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7381 Replace obsolete function generic-make-keywords with its expansion.
7382
e0df2d14
GM
7383 * progmodes/python.el (ffap-alist): Declare.
7384
f2f426ca
GM
7385 * textmodes/reftex.el (bibtex-mode-map): Declare.
7386
f7f9a720
SM
73872013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7388
7389 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7390 (package-unpack, package-unpack-single): Return the pkg-dir.
7391 (package-download-transaction): Use it to update package-alist.
7392
57ff04e0
LMI
73932013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7394
7395 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7396 possible choice.
7397
c048c022
JL
73982013-06-17 Juri Linkov <juri@jurta.org>
7399
7400 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7401
b5bcaee5
DG
74022013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7403
a020afb9
JB
7404 * emacs-lisp/package.el (package-load-descriptor):
7405 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
7406 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7407
551e07e5
JB
74082013-06-17 Juanma Barranquero <lekktu@gmail.com>
7409
7410 * startup.el (command-line): Expand package name returned by
7411 `package--description-file' (bug#14639).
7412
d363bffb
DG
74132013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7414
7415 * emacs-lisp/package.el (package-load-descriptor): Do not call
7416 `emacs-lisp-mode', just use its syntax table.
7417
f612933b
JB
74182013-06-17 Juanma Barranquero <lekktu@gmail.com>
7419
7420 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7421 `font-lock-extra-managed-props' if any prettifying keyword is added.
7422 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7423 (prog-mode): Use `setq-local'.
7424
db3b7db5
SM
74252013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7426
7427 * international/characters.el (standard-case-table): Set syntax of ?»
7428 and ?« to punctuation.
7429
f3d674df
JB
74302013-06-16 Juanma Barranquero <lekktu@gmail.com>
7431
7432 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7433 Save relevant match data before calling `syntax-ppss' (bug#14595).
7434
31489a32
JL
74352013-06-15 Juri Linkov <juri@jurta.org>
7436
7437 * files-x.el (modify-file-local-variable-prop-line): Add local
7438 variables to the end of the existing comment on the first line.
7439 Use `file-auto-mode-skip' to skip interpreter magic line,
7440 and also skip XML declaration.
7441
66bd25ab
SM
74422013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7443
7444 * startup.el (package--builtin-versions): New var.
7445 (package-subdirectory-regexp): Remove.
7446 (package--description-file): Hard code its value instead.
7447
7448 * emacs-lisp/package.el: Don't activate packages older than builtin.
7449 (package-obsolete-list): Rename from package-obsolete-alist, and make
7450 it into a simple list of package-desc.
7451 (package-strip-version): Remove.
7452 (package-built-in-p): Use package--builtin-versions.
7453 (package-mark-obsolete): Simplify.
7454 (package-process-define-package): Mark it obsolete if older than the
7455 builtin version.
7456 (package-handle-response): Use line-end-position.
7457 (package-read-archive-contents, package--download-one-archive):
7458 Simplify.
7459 (package--add-to-archive-contents): Skip if older than the builtin or
7460 installed version.
7461 (package-menu-describe-package): Fix last change.
7462 (package-list-unversioned): New var.
7463 (package-menu--generate): Use it.
7464
7465 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7466 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7467 (autoload-builtin-package-versions): New variable.
7468 (autoload-generate-file-autoloads): Use them.
7469 Remove the list of autoloaded functions/macros from the
7470 (autoload...) comments.
7471
7472 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7473
9583ec36
EZ
74742013-06-15 Eli Zaretskii <eliz@gnu.org>
7475
7476 * simple.el (line-move-partial): Don't jump to the next screen
7477 line as soon as it becomes visible. Instead, continue enlarging
7478 the vscroll until the portion of a tall screen line that's left on
7479 display is about the height of the frame's default font.
7480 (Bug#14567)
7481
f0100d8a
GM
74822013-06-15 Glenn Morris <rgm@gnu.org>
7483
b86a85ca
GM
7484 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7485 compilation-error-regexp-alist void, or local while let-bound.
7486
f0100d8a
GM
7487 * progmodes/make-mode.el (makefile-mode-syntax-table):
7488 Treat "=" as punctuation. (Bug#14614)
7489
05e7ce90
JB
74902013-06-15 Juanma Barranquero <lekktu@gmail.com>
7491
7492 * help-fns.el (describe-variable):
7493 Add extra line for permanent-local variables.
7494
12e5e86e
SH
74952013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7496
7497 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7498 Add export, import, library. (Bug#9164)
7499 (library): Set indent function.
7500
230dcbaf
GM
75012013-06-14 Glenn Morris <rgm@gnu.org>
7502
7503 * term/xterm.el (xterm--query):
7504 Stop after first matching handler. (Bug#14615)
7505
e36b2d20 75062013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
7507
7508 Add support for dired in saveplace.
7509 * dired.el (dired-initial-position-hook): New variable.
7510 (dired-initial-position): Call hook to place cursor position.
7511 * saveplace.el (save-place-to-alist): Add dired position.
7512 (save-place-dired-hook): New function.
7513
0b31660d
SM
75142013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7515
bf1e6ae8
SM
7516 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7517 through a symbol rather than letrec.
7518
1b8dff23
SM
7519 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7520 (package-desc): Add `dir' field.
7521 (package-desc-full-name): New function.
7522 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7523 (package-maybe-load-descriptor): Remove.
7524 (package-load-all-descriptors): Just call package-load-descriptor.
7525 (package--disabled-p): New function.
7526 (package-desc-vers, package-desc-doc): Remove aliases.
7527 (package--dir): Remove function.
7528 (package-activate): Check if a package is disabled.
7529 (package-process-define-package): New function, extracted from
7530 define-package.
7531 (define-package): Turn into a place holder.
7532 (package-unpack-single, package-tar-file-info):
7533 Use package--description-file.
7534 (package-compute-transaction): Use package--disabled-p.
7535 (package-download-transaction): Don't call
7536 package-maybe-load-descriptor since they're all loaded anyway.
7537 (package-install): Change argument to be a pkg-desc.
7538 (package-delete): Use a single pkg-desc argument.
7539 (describe-package-1): Use package-desc-dir instead of package--dir.
7540 Use package-desc property instead of package-symbol.
7541 (package-install-button-action): Adjust accordingly.
7542 (package--push): Rewrite.
7543 (package-menu--print-info): Adjust accordingly. Change the ID format
7544 to be a pkg-desc.
7545 (package-menu-describe-package, package-menu-get-status)
7546 (package-menu--find-upgrades, package-menu-mark-upgrades)
7547 (package-menu-execute, package-menu--name-predicate):
7548 Adjust accordingly.
7549 * startup.el (package--description-file): New function.
7550 (command-line): Use it.
7551 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7552 Use package-desc-version.
7553
0b31660d
SM
7554 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7555 (byte-compile-preprocess): Use it.
7556 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7557 can't quite recognize.
7558 (byte-compile-add-to-list): Remove.
7559 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7560 (cconv-closure-convert): Add assertion.
7561
7562 * emacs-lisp/map-ynp.el: Use lexical-binding.
7563 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7564 Factor out some repeated code.
7565
de0503df
SM
75662013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7567
7568 * subr.el (with-eval-after-load): New macro.
7569 (eval-after-load): Allow form to be a function.
7570 take advantage of lexical-binding.
7571 (do-after-load-evaluation): Use dolist and adjust to new format.
7572 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7573
bc5c8c5a
JL
75742013-06-13 Juri Linkov <juri@jurta.org>
7575
7576 * replace.el (perform-replace): Display "symbol " and other search
7577 modes from `isearch-message-prefix' in the *Help* buffer.
7578
7579 * isearch.el (isearch-query-replace): Add " symbol" and other
7580 possible search modes from `isearch-message-prefix' to the prompt.
7581 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7582 when reading a regexp to collect.
7583
a22289f7
JL
75842013-06-13 Juri Linkov <juri@jurta.org>
7585
7586 * isearch.el (word-search-regexp): Match whitespace if the search
7587 string begins or ends in whitespace. The LAX arg is applied to
7588 both ends of the search string. Use `regexp-quote' and explicit
7589 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7590 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7591 boundaries are replaced with symbol boundaries, and characters
7592 between symbols match non-word non-symbol syntax. (Bug#14602)
7593
cb89acab
JL
75942013-06-13 Juri Linkov <juri@jurta.org>
7595
7596 * isearch.el (isearch-del-char): Don't exceed the length of
7597 `isearch-string' by the prefix arg. (Bug#14563)
7598
6e8cfc81
JL
75992013-06-13 Juri Linkov <juri@jurta.org>
7600
7601 * isearch.el (isearch-yank-word, isearch-yank-line)
7602 (isearch-char-by-name, isearch-quote-char)
7603 (isearch-printing-char, isearch-process-search-char):
7604 Add optional count prefix arg. (Bug#14563)
7605
7606 * international/isearch-x.el
7607 (isearch-process-search-multibyte-characters):
7608 Add optional count prefix arg.
7609
c23d55f4
VS
76102013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7611
7612 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7613 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7614 lexical-binding.
7615
76162013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7617
7618 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7619
ba947bc4
GM
76202013-06-13 Glenn Morris <rgm@gnu.org>
7621
8baeb37a
GM
7622 * startup.el (tty-handle-args):
7623 Don't just discard "--" and anything after. (Bug#14608)
7624
ba947bc4
GM
7625 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7626
9abefce4
MA
76272013-06-13 Michael Albinus <michael.albinus@gmx.de>
7628
7629 Implement changes in Secret Service API. Make it backward compatible.
7630 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7631 (secrets-create-item): Use it. Prefix properties with interface.
7632
5755011f
MH
76332013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7634
7635 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7636 (term-emulate-terminal): Respect term-suppress-hard-newline.
7637
1261d2da
S
76382013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7639
7640 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7641 Only remove a `thumb-file' overlay. (Bug#14548)
7642
868490bb
GJ
76432013-06-12 Grégoire Jadi <daimrod@gmail.com>
7644
7645 * mail/reporter.el (reporter-submit-bug-report):
7646 Handle missing package-name. (Bug#14600)
7647
79d7167f
TH
76482013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7649
7650 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7651 (reftex-citation-prompt, reftex-default-bibliography)
7652 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7653 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7654 (reftex-bib-sort-author, reftex-bib-sort-year)
7655 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7656 (reftex-extract-bib-entries-from-thebibliography)
7657 (reftex-get-bibkey-default, reftex-get-bib-names)
7658 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7659 (reftex-format-bib-entry, reftex-parse-bibitem)
7660 (reftex-format-bibitem, reftex-do-citation)
7661 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7662 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7663 (reftex-insert-bib-matches, reftex-format-citation)
7664 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7665 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7666 existing comments into docstrings.
7667
5f9dbd7a
XF
76682013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7669
7670 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7671
94df41ab
AS
76722013-06-12 Andreas Schwab <schwab@suse.de>
7673
7674 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7675 for auto-save files.
7676
a7f3fecc
GM
76772013-06-12 Glenn Morris <rgm@gnu.org>
7678
001809f6
GM
7679 * ido.el (ido-delete-ignored-files): Remove.
7680 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7681 Go back to calling ido-ignore-item-p directly.
a7f3fecc 7682
834b5ded
EL
76832013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7684
08c73ed2
EL
7685 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7686
834b5ded
EL
7687 * ido.el (ido-delete-ignored-files): New function,
7688 split from ido-make-file-list-1.
7689 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7690 (ido-make-file-list-1): Use ido-delete-ignored-files.
7691
daabf15a
LL
76922013-06-12 Leo Liu <sdl.web@gmail.com>
7693
7694 * progmodes/octave.el (inferior-octave-startup)
7695 (inferior-octave-completion-table)
7696 (inferior-octave-track-window-width-change)
7697 (octave-eldoc-function-signatures, octave-help)
7698 (octave-find-definition): Use single quoted strings.
7699 (inferior-octave-startup-args): Change default value.
7700 (inferior-octave-startup): Do not hard code "-i" and
7701 "--no-line-editing".
7702 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7703 (inferior-octave-directory-tracker): Use it.
7704 (octave-goto-function-definition): Robustify.
7705 (octave-help): Support highlighting operators in 'See also'.
7706 (octave-find-definition): Find subfunctions only in Octave mode.
7707
cf4e5178
SM
77082013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7709
7710 * help-fns.el (help-fns--compiler-macro): If the handler function is
7711 named, then put a link to it.
7712 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7713 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7714 (cl-typep): Use it.
7715 (cl-eval-when): Simplify debug spec.
7716 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7717 compiler-macro function instead of setting `compiler-macro-file'.
7718
99c81280 77192013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
7720
7721 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7722 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7723
f56be016
SM
77242013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7725 Daniel Hackney <dan@haxney.org>
7726
7727 First part of Daniel Hackney's patch to package.el.
7728 * emacs-lisp/package.el: Use defstruct.
7729 (package-desc): New, main struct.
7730 (package--bi-desc, package--ac-desc): New structs, used to describe the
7731 format in external files.
7732 (package-desc-vers): Replace with package-desc-version accessor.
7733 (package-desc-doc): Replace with package-desc-summary accessor.
7734 (package-activate-1): Remove `package' arg since the pkg-vec now
7735 includes the name.
7736 (define-package): Use package-desc-from-define.
7737 (package-unpack-single): Change file-name arg to be a symbol.
7738 (package--add-to-archive-contents): Use package-desc-create and new
7739 accessor functions to package--ac-desc.
7740 (package-buffer-info, package-tar-file-info): Return a package-desc.
7741 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7742 arg to be a package-desc.
7743 (package-install-file): Adjust accordingly. Use \' to match EOS.
7744 (package--from-builtin): New function.
7745 (describe-package-1, package-menu--generate): Use it.
7746 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7747 (package-generate-autoloads): Idem and return the name of the file.
7748 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7749 Change pkg-info arg to be a package-desc.
7750 Use package-make-ac-desc.
7751 (package-upload-file): Use \' to match EOS.
7752 * finder.el (finder-compile-keywords): Use package-make-builtin.
7753
31119d63
SM
77542013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7755
931a2762
SM
7756 * vc/vc.el (vc-deduce-fileset): Change error message.
7757 (vc-read-backend): New function.
7758 (vc-next-action): Use it.
7759
5a3eb0c6
SM
7760 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7761
e3eb1bb7
SM
7762 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7763 (prolog-font-lock-keywords): Use regexp-opt instead.
7764 Don't manually highlight strings.
7765 (prolog-mode-variables): Simplify comment-start-skip.
7766 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7767
31119d63
SM
7768 * emacs-lisp/generic.el (generic--normalise-comments)
7769 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7770 (generic-mode-set-comments): Use them.
7771 (generic-bracket-support): Use setq-local.
7772 (generic-make-keywords-list): Declare obsolete.
7773
7de135d0
GM
77742013-06-11 Glenn Morris <rgm@gnu.org>
7775
7776 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7777 Prettify after setting font-lock-defaults. (Bug#14574)
7778
fa6bc6fd
JB
77792013-06-11 Juanma Barranquero <lekktu@gmail.com>
7780
7781 * replace.el (query-replace, occur-read-regexp-defaults-function)
7782 (replace-search):
7783 * subr.el (declare-function, number-sequence, local-set-key)
7784 (substitute-key-definition, locate-user-emacs-file)
7785 (with-silent-modifications, split-string, eval-after-load):
7786 Fix typos, remove unneeded backslashes and reflow some docstrings.
7787
cf1f9b9a
SM
77882013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7789
7790 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7791 default for Elisp files.
7792
56602a4b
GM
77932013-06-11 Glenn Morris <rgm@gnu.org>
7794
7795 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7796 although define-derived-mode was doing this anyway. (Bug#14583)
7797
30ae0b2c
JB
77982013-06-10 Juanma Barranquero <lekktu@gmail.com>
7799
7800 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7801 Fix make-variable-buffer-local call to refer to the correct variable.
7802
fa472906
AG
78032013-06-10 Aidan Gauland <aidalgol@amuri.net>
7804
7805 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
7806 (eshell-visual-subcommands, eshell-visual-options):
7807 Add summary line to docstrings. Add cross-references.
fa472906 7808
ff4871b9
GM
78092013-06-10 Glenn Morris <rgm@gnu.org>
7810
7811 * epa.el (epa-read-file-name): New function. (Bug#14510)
7812 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7813
04fcf1b0
AG
78142013-06-09 Aidan Gauland <aidalgol@amuri.net>
7815
7816 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7817 output redirection to be ignored with visual commands.
7818
88b00caa
AG
78192013-06-09 Aidan Gauland <aidalgol@amuri.net>
7820
7821 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
7822 (eshell-term-initialize): Move long lambda to separate function
7823 eshell-visual-command-p.
e7b41c4c
JB
7824 * eshell/em-dirs.el (eshell-dirs-initialise):
7825 * eshell/em-script.el (eshell-script-initialize):
7826 Add missing #' to lambda.
88b00caa 7827
fda74125
LL
78282013-06-08 Leo Liu <sdl.web@gmail.com>
7829
7830 * progmodes/octave.el (octave-add-log-current-defun): New function.
7831 (octave-mode): Set add-log-current-defun-function.
7832 (octave-goto-function-definition): Do not move point if not found.
7833 (octave-find-definition): Enhance to try subfunctions first.
7834
467f3b33
GM
78352013-06-08 Glenn Morris <rgm@gnu.org>
7836
7837 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7838 (byte-compile-backward-char, byte-compile-backward-word):
7839 Improve previous change, to handle non-explicit nil.
7840
544badc3
SM
78412013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7842
7843 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7844 (smie--opener/closer-at-point): New function.
7845 (smie--matching-block-data): Use it. Don't match from right after an
7846 opener or right before a closer. Obey smie-blink-matching-inners.
7847 Don't signal a mismatch for repeated inners like "switch..case..case".
7848
a175bf33
LL
78492013-06-07 Leo Liu <sdl.web@gmail.com>
7850
7851 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7852 to t. (Bug#14303)
ce8209d4
LL
7853 (octave-function-header-regexp): Fix. (Bug#14570)
7854 (octave-help-mode-finish-hook, octave-help-mode-finish):
7855 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
7856
7857 * newcomment.el (comment-search-backward): Revert last change.
7858 (Bug#14434)
7859
7860 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7861
a822acff
EZ
78622013-06-07 Eli Zaretskii <eliz@gnu.org>
7863
7864 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7865 through xargs, to avoid failure due to MS-Windows limitations on
7866 command-line length.
7867
961166f5
GM
78682013-06-06 Glenn Morris <rgm@gnu.org>
7869
d0341459
GM
7870 * font-lock.el (lisp-font-lock-keywords-2):
7871 Treat user-error like error.
7872
961166f5
GM
7873 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7874 (byte-compile-backward-char, byte-compile-backward-word):
7875 Handle explicit nil arguments. (Bug#14565)
7876
80fa505f
AM
78772013-06-05 Alan Mackenzie <acm@muc.de>
7878
7879 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 7880 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 7881 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 7882 (Bug#9706)
80fa505f 7883
fccdc796
SM
78842013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7885
7886 * autorevert.el (auto-revert-notify-handler): Use memq.
7887 Hide assertion failure.
7888
7889 * skeleton.el: Use cl-lib.
7890 (skeleton-further-elements): Use defvar-local.
7891 (skeleton-insert): Use cl-progv.
7892
9bfff84b
TZ
78932013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7894
7895 * progmodes/prog-mode.el (prog-prettify-symbols)
7896 (prog-prettify-install): Update docstrings.
7897
55577e7c
SM
78982013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7899
7900 * simple.el: Move all the prog-mode code to prog-mode.el.
7901 * progmodes/prog-mode.el: New file.
7902 * loadup.el: Add prog-mode.el.
7903
8fc57765
TZ
79042013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7905
7906 * simple.el (prog-prettify-symbols): Add version.
7907 (prog-prettify-install): Add convenience function to prettify symbols.
7908
7909 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7910 (perl--augmented-font-lock-keywords-1)
7911 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7912 variables and use it.
7913
7914 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7915 (cfengine3-mode): Remove unneeded variable and use it.
7916
7917 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7918 (lisp--augmented-font-lock-keywords-1)
7919 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7920 Remove unneeded variables and use it.
7921
650645d5 79222013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
7923
7924 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 7925 to point when opening the connection. (Bug#14380)
28f5da6d 7926
781b4af6
SM
79272013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7928
7929 * subr.el (load-history-regexp, load-history-filename-element)
7930 (eval-after-load, after-load-functions, do-after-load-evaluation)
7931 (eval-next-after-load, display-delayed-warnings)
7932 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7933 definition of save-match-data.
7934 (overriding-local-map): Remove accidental obsolescence declaration.
7935
7936 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7937
3ca0d0b4
TZ
79382013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7939
7940 Generalize symbol prettify support to prog-mode and implement it
7941 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7942 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7943 (prog--prettify-font-lock-compose-symbol)
7944 (prog-prettify-font-lock-symbols-keywords): New variables and
7945 functions to support symbol prettification.
7946 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7947 (lisp--augmented-font-lock-keywords-1)
7948 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7949 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7950 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
7951 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7952 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
7953 * progmodes/perl-mode.el (perl-prettify-symbols)
7954 (perl--font-lock-compose-symbol)
7955 (perl--font-lock-symbols-keywords): Move to prog-mode.
7956 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7957 (perl-font-lock-keywords-1)
7958 (perl-font-lock-keywords-2): Remove explicit prettify support.
7959 (perl--augmented-font-lock-keywords)
7960 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
7961 (perl--augmented-font-lock-keywords-2, perl-mode):
7962 Implement prettify support.
3ca0d0b4 7963
976cb066
LL
79642013-06-05 Leo Liu <sdl.web@gmail.com>
7965
7966 Re-implement smie matching block highlight using
7967 show-paren-data-function. (Bug#14395)
7968 * emacs-lisp/smie.el (smie-matching-block-highlight)
7969 (smie--highlight-matching-block-overlay)
7970 (smie--highlight-matching-block-lastpos)
7971 (smie-highlight-matching-block)
7972 (smie-highlight-matching-block-mode): Remove.
7973 (smie--matching-block-data-cache): New variable.
7974 (smie--matching-block-data): New function.
7975 (smie-setup): Use smie--matching-block-data for
7976 show-paren-data-function.
7977
7978 * progmodes/octave.el (octave-mode-menu): Fix.
7979 (octave-find-definition): Skip garbage lines.
7980
208d0342
SM
79812013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7982
7983 Fix compilation error with simultaneous dynamic+lexical scoping.
7984 Add warning when a defvar appears after the first let-binding.
7985 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7986 (byte-compile-close-variables): Initialize it.
7987 (byte-compile--declare-var): New function.
7988 (byte-compile-file-form-defvar)
7989 (byte-compile-file-form-define-abbrev-table)
7990 (byte-compile-file-form-custom-declare-variable): Use it.
7991 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7992 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7993 (byte-compile-bind): Handle dynamic bindings that shadow
7994 lexical bindings.
7995 (byte-compile-unbind): Make arg non-optional.
7996 (byte-compile-let): Simplify.
7997 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7998 (cconv--analyse-function, cconv-analyse-form): Populate it.
7999 Protect byte-compile-bound-variables to limit the scope of defvars.
8000 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8001 Remove unneeded rule for `declare'.
8002
8003 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8004 so as to avoid depending on cl-adjoin at run-time.
8005 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8006
8007 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8008 (macroexp--warn-and-return): Use it.
8009
1ac2891e
GM
80102013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8011
8012 * lisp/subr.el: Convert to lexical binding.
8013 (overriding-local-map): Make obsolete.
8014 (add-to-list): Doc fix. Add compiler macro.
8015 (read-key): Swap values of local maps.
8016
2587b005
LL
80172013-06-05 Leo Liu <sdl.web@gmail.com>
8018
8019 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8020
f1da3c88
LL
80212013-06-04 Leo Liu <sdl.web@gmail.com>
8022
8023 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8024 (compilation-auto-jump): Suppress the "Mark set" message to give
8025 way to exit message.
8026
3caa391f
AM
80272013-06-04 Alan Mackenzie <acm@muc.de>
8028
8029 Remove faulty optimisation from indentation calculation.
8030 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8031 search limit based on 2000 characters back from indent-point.
8032
068922a2
TH
80332013-06-03 Tassilo Horn <tsdh@gnu.org>
8034
8035 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8036
1f8fdd53
SM
80372013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8038
bbcc4d97
SM
8039 * emacs-lisp/lisp.el: Use lexical-binding.
8040 (lisp--local-variables-1, lisp--local-variables): New functions.
8041 (lisp--local-variables-completion-table): New var.
208d0342 8042 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8043
1f8fdd53
SM
8044 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8045 eagerly (bug#14422).
8046
c9628c79
MA
80472013-06-03 Michael Albinus <michael.albinus@gmx.de>
8048
8049 * autorevert.el (auto-revert-notify-enabled)
8050 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8051 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8052 (auto-revert-notify-handler): Handle also gfilenotify.
8053
e7b41c4c 8054 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 8055 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 8056 Remove.
c9628c79 8057
e5e4a942
JL
80582013-06-03 Juri Linkov <juri@jurta.org>
8059
8060 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8061 `M-s h .'. (Bug#14427)
8062
8063 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8064 command `hi-lock-face-symbol-at-point'.
8065 (hi-lock-face-symbol-at-point): New command.
8066 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8067 (hi-lock-menu): Add `highlight-symbol-at-point'.
8068 (hi-lock-mode): Doc fix.
8069
8070 * isearch.el (isearch-forward-symbol-at-point): New command.
8071 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8072 (isearch-highlight-regexp): Add a regexp which matches
8073 words/symbols for word/symbol mode.
8074
8075 * subr.el (find-tag-default-bounds): New function with the body
8076 mostly moved from `find-tag-default'.
8077 (find-tag-default): Move most code to `find-tag-default-bounds',
8078 call it and apply `buffer-substring-no-properties' afterwards.
8079
26b3353a
TH
80802013-06-03 Tassilo Horn <tsdh@gnu.org>
8081
781b4af6
SM
8082 * eshell/em-term.el (eshell-term-initialize):
8083 Use `cl-intersection' rather than `intersection'.
26b3353a 8084
51b60f53
XF
80852013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8086
fe054b63 8087 * vc/log-view.el: Doc fix.
d3ffe17c 8088 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 8089
a0eb10b3 80902013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
8091
8092 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8093 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8094 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8095 (eieio-unbound, eieio-default-superclass)
8096 (eieio--define-field-accessors, method-static, method-before)
8097 (method-primary, method-after, method-num-lists)
8098 (method-generic-before, method-generic-primary)
8099 (method-generic-after, method-num-slots)
8100 (eieio-specialized-key-to-generic-key)
8101 (eieio--check-type, class-v, class-p)
8102 (eieio-class-name, define-obsolete-function-alias)
8103 (eieio-class-parents-fast, eieio-class-children-fast)
8104 (same-class-fast-p, class-constructor, generic-p)
8105 (generic-primary-only-p, generic-primary-only-one-p)
8106 (class-option-assoc, class-option, eieio-object-p)
8107 (class-abstract-p, class-method-invocation-order)
8108 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8109 (eieio-class-un-autoload, eieio-defclass)
8110 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8111 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8112 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8113 (eieio-defgeneric-reset-generic-form)
8114 (eieio-defgeneric-form-primary-only)
8115 (eieio-defgeneric-reset-generic-form-primary-only)
8116 (eieio-defgeneric-form-primary-only-one)
8117 (eieio-defgeneric-reset-generic-form-primary-only-one)
8118 (eieio-unbind-method-implementations)
8119 (eieio--defmethod, eieio--typep)
8120 (eieio-perform-slot-validation, eieio-validate-slot-value)
8121 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8122 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8123 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8124 (eieio-slot-name-index, eieio-class-slot-name-index)
8125 (eieio-set-defaults, eieio-initarg-to-attribute)
8126 (eieio-attribute-to-initarg, eieio-c3-candidate)
8127 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8128 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8129 (eieio-class-precedence-list, eieio-generic-call-methodname)
8130 (eieio-generic-call-arglst, eieio-generic-call-key)
8131 (eieio-generic-call-next-method-list)
8132 (eieio-pre-method-execution-functions, eieio-generic-call)
8133 (eieio-generic-call-primary-only, eieiomt-method-list)
8134 (eieiomt-optimizing-obarray, eieiomt-install)
8135 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8136 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 8137 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
8138 (defclass): Remove `eval-and-compile' from macro.
8139 (call-next-method, shared-initialize): Instead of using
8140 `scoped-class' variable, use new eieio--scoped-class, and
8141 eieio--with-scoped-class.
8142 (initialize-instance): Rename local variable 'scoped-class' to
8143 'this-class' to remove ambiguitity from old global.
8144
8145 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8146 eieio.el.
4f405069
JB
8147 (eieio--scoped-class-stack): New variable.
8148 (eieio--scoped-class): New fcn.
890f7890
DE
8149 (eieio--with-scoped-class): New scoping macro.
8150 (eieio-defclass): Use pushnew instead of add-to-list.
8151 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8152 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8153 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8154 `scoped-class' variable, use new eieio--scoped-class, and
8155 eieio--with-scoped-class.
8156
8157 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8158
d105b0e2
TH
81592013-06-02 Tassilo Horn <tsdh@gnu.org>
8160
8161 * eshell/esh-ext.el (eshell-external-command): Pass args to
8162 `eshell-find-interpreter'.
8163 (eshell-find-interpreter): Add new second parameter ARGS.
8164
8165 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 8166 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8167
8168 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 8169 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8170
8171 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8172 (eshell-visual-options): New defcustom.
8173 (eshell-escape-control-x): Adapt docstring.
8174 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8175 `eshell-visual-options' in addition to `eshell-visual-commands'.
8176 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8177
f46305c8 81782013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
8179
8180 * progmodes/python.el (python-indent-block-enders): Add break,
8181 continue and raise keywords.
8182
d870df21
GM
81832013-06-01 Glenn Morris <rgm@gnu.org>
8184
9133b82e
GM
8185 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8186
02c992ec 8187 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
8188 * progmodes/cc-cmds.el (delete-forward-p):
8189 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8190 * progmodes/cc-engine.el (buffer-syntactic-context):
8191 * progmodes/cc-fonts.el (face-property-instance):
8192 * progmodes/cc-mode.el (set-keymap-parents):
8193 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8194 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8195 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
8196 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8197 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 8198
31e7b090
GM
8199 * progmodes/cc-vars.el (other): Emacs has this widget since
8200 at least 21.1, so don't (re)define it.
8201
d870df21
GM
8202 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8203 Replace the obsolete alias pcomplete-arg-quote-list.
8204
c75c93c7
LL
82052013-06-01 Leo Liu <sdl.web@gmail.com>
8206
8207 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8208 punctuation syntax.
8209 (inferior-octave-minimal-columns)
8210 (inferior-octave-last-column-width): New variables.
8211 (inferior-octave-track-window-width-change): New function.
8212 (inferior-octave-mode): Adjust column width so that Octave output,
8213 for example from 'ls', can fit into the window nicely.
8214
973d1e12
DG
82152013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8216
8217 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8218 Highlight expansions inside regexp literals.
8219
0888c286
GM
82202013-05-31 Glenn Morris <rgm@gnu.org>
8221
e26aac1f
GM
8222 * obsolete/sym-comp.el (symbol-complete):
8223 Replace obsolete completion-annotate-function.
8224
0888c286
GM
8225 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8226
19bb8e62
DG
82272013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8228
781b4af6
SM
8229 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8230 New function, checks if point is inside a literal that allows
19bb8e62
DG
8231 expression expansion.
8232 (ruby-syntax-propertize-expansion): Use it.
8233 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8234 around the body.
8235
01dea85f
JL
82362013-05-30 Juri Linkov <juri@jurta.org>
8237
8238 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8239 to "\M-si".
8240 (isearch-invisible): New variable.
8241 (isearch-forward): Doc fix.
8242 (isearch-mode): Set `isearch-invisible'
8243 to the value of `search-invisible'.
8244 (isearch-toggle-case-fold): Doc fix.
8245 (isearch-toggle-invisible): New command.
8246 (isearch-query-replace): Let-bind `search-invisible'
8247 to the value of `isearch-invisible'.
8248 (isearch-search): Use `isearch-invisible' instead of
8249 `search-invisible'. Let-bind `search-invisible'
8250 to the value of `isearch-invisible'. (Bug#11378)
8251
ab1bdce5
JL
82522013-05-30 Juri Linkov <juri@jurta.org>
8253
8254 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8255 call when `query-flag' is nil and `search-invisible' is non-nil.
8256 (Bug#11746)
8257
d6d236e2
GM
82582013-05-30 Glenn Morris <rgm@gnu.org>
8259
8accd027
GM
8260 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8261
2a8bed1c
GM
8262 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8263 (cc-require): Suppress spurious "noruntime" warnings.
8264 (cc-require-when-compile): Use fboundp, for sake of compiler.
8265
d6d236e2
GM
8266 * progmodes/cc-mode.el: Move load of cc-vars before that of
8267 cc-langs (which in turn loads cc-vars), to quieten compiler.
8268
9190b35b
SM
82692013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8270
8271 * paren.el: Simplify the code.
8272 (show-paren-mode): Always start the timer.
8273 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8274 (show-paren--overlay, show-paren--overlay-1): Rename from
8275 show-paren-overlay and show-paren-overlay-1, and initialize to an
8276 overlay rather than to nil.
8277 (show-paren-function): Misc cleanup and simplifications.
8278
4f8d1cf6
SM
82792013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8280
8281 * paren.el (show-paren-data-function): New hook.
8282 (show-paren--default): New function, extracted from show-paren-function.
8283 (show-paren-function): Use show-paren-data-function.
8284
02d844b5
GM
82852013-05-30 Glenn Morris <rgm@gnu.org>
8286
d209d4a9
GM
8287 * ielm.el (ielm-map, ielm-complete-symbol):
8288 Use completion-at-point rather than obsolete functions.
8289 (inferior-emacs-lisp-mode): Doc fix.
8290 Set completion-at-point-functions, rather than
8291 comint-dynamic-complete-functions.
8292
2082faa6
GM
8293 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8294 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8295 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8296
dd8620de
GM
8297 * image.el (image-animated-p): Tweak definition.
8298
ceca95b1
GM
8299 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8300 (rlogin-process-connection-type): Tweak default. Add set-after.
8301 (rlogin-host): Doc fix.
8302 (rlogin): Tweak prompt.
8303 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8304
ee9f1acc
GM
8305 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8306 * progmodes/tcl.el (inferior-tcl-mode-map):
8307 Use completion-at-point rather than obsolete alias.
8308
45ce222e
GM
8309 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8310
02d844b5
GM
8311 * minibuffer.el (read-file-name-completion-ignore-case):
8312 Move before completion--in-region, for eager macro expansion.
8313
ac44d6c1
JL
83142013-05-29 Juri Linkov <juri@jurta.org>
8315
8316 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8317 for total count of matching lines. Add `global-matches' for total
8318 count of matches. Rename `matches' to `lines' for count of
8319 matching lines. Add `matches' for count of matches.
8320 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8321 to `prev-line' for line number of prev match endpt.
8322 Increment `matches' for every match. Print the number of
8323 matching lines in the header.
8324 (occur-context-lines): Rename `lines' to `curr-line'.
8325 Rename `prev-lines' to `prev-line'. (Bug#14017)
8326
3c9c9d38
JL
83272013-05-29 Juri Linkov <juri@jurta.org>
8328
8329 * replace.el (perform-replace): Add `skip-read-only-count',
8330 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8331 Increment them for corresponding conditions and report the number
8332 of skipped occurrences in the final message. (Bug#11746)
8333 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8334 (replace-string, replace-regexp): Doc fix.
8335
33e249a2
SM
83362013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8337
8e399682
SM
8338 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8339
33e249a2 8340 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 8341 prog-mode-map (bug#14504).
33e249a2 8342
f236dd84
LL
83432013-05-29 Leo Liu <sdl.web@gmail.com>
8344
8345 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8346 (octave-help): Small simplification.
8347
8348 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8349 off the highlight first.
8350
3694d13f
GM
83512013-05-29 Glenn Morris <rgm@gnu.org>
8352
03983bdc
GM
8353 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8354 Handle idlwave-last-system-routine-info-cons-cell being nil.
8355
bc74a74a
GM
8356 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8357 (idlwave-write-paths): Simplify via with-temp-buffer.
8358
8b394200
GM
8359 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8360 * emulation/cua-rect.el: Also load cua-base at run time.
8361
3694d13f
GM
8362 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8363 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8364 (cperl-imenu-on-info): Require imenu.
8365
336d7284
AM
83662013-05-28 Alan Mackenzie <acm@muc.de>
8367
8368 Handle "capitalised keywords" correctly.
33e249a2 8369 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 8370
cb29c582
AG
83712013-05-28 Aidan Gauland <aidalgol@amuri.net>
8372
781b4af6 8373 * eshell/em-unix.el: Add -r option to cp.
cb29c582 8374
690e44b2
GM
83752013-05-28 Glenn Morris <rgm@gnu.org>
8376
e658d75c
GM
8377 * vc/vc-arch.el (vc-exec-after): Declare.
8378 (vc-switches): Autoload.
8379 * vc/vc-bzr.el: No need to require vc when compiling.
8380 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8381 (vc-resynch-buffer, vc-dir-refresh): Declare.
8382 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
8383 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8384 (vc-resynch-buffer): Declare.
8385 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 8386 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
8387 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8388 (grep-read-regexp, grep-read-files, grep-expand-template)
8389 (vc-dir-refresh): Declare.
8390 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8391 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8392 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
8393 * vc/vc-mtn.el (vc-exec-after): Declare.
8394 (vc-switches): Autoload.
8395 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8396 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8397 (vc-file-tree-walk): Declare.
712b9732
GM
8398 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8399 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8400 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
8401 * vc/vc-svn.el (vc-exec-after): Declare.
8402 (vc-switches, vc-setup-buffer): Autoload.
8403 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8404 Autoload.
8405 (vc-resynch-buffer): Declare.
8406
98e87fb3
GM
8407 * obsolete/fast-lock.el (byte-compile-warnings):
8408 Don't warn about obsolete features in this obsolete file.
8409
f5379553
GM
8410 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8411 Move definition before use.
8412
7a20ef83
GM
8413 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8414 (dun-unix-verbs): Remove dun-zippy.
8415 (dun-zippy): Remove function.
8416
690e44b2
GM
8417 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8418
3a52ccf7
JL
84192013-05-27 Juri Linkov <juri@jurta.org>
8420
8421 * replace.el (replace-search): New function with code moved out
8422 from `perform-replace'.
8423 (replace-highlight, replace-dehighlight): Move function definitions
8424 up closer to `replace-search'. (Bug#11746)
8425
d289938a
JL
84262013-05-27 Juri Linkov <juri@jurta.org>
8427
8428 * replace.el (perform-replace): Ignore invisible matches.
8429 In addition to checking `query-replace-skip-read-only', also
8430 filter out matches by calling `run-hook-with-args-until-failure'
8431 on `isearch-filter-predicates', and also check `search-invisible'
8432 for t or call `isearch-range-invisible'.
8433 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8434
66fc57e3
JL
84352013-05-27 Juri Linkov <juri@jurta.org>
8436
8437 * isearch.el (isearch-filter-predicates): Rename from
8438 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8439 (isearch-message-prefix): Display text from the property
8440 `isearch-message-prefix' of the currently active filters.
8441 (isearch-search): Don't compare `isearch-filter-predicate' with
8442 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8443 on `isearch-filter-predicates'. Also check `search-invisible' for t
8444 or call `isearch-range-invisible'.
8445 (isearch-filter-visible): Make obsolete.
8446 (isearch-lazy-highlight-search):
8447 Call `run-hook-with-args-until-failure' on
8448 `isearch-filter-predicates' and use `isearch-range-invisible'.
8449
8450 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8451 `isearch-filter-predicates' instead of `funcall'ing
8452 `isearch-filter-predicate'.
8453 (Info-mode): Set `Info-isearch-filter' to
8454 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8455
8456 * dired-aux.el (dired-isearch-filter-predicate-orig):
8457 Remove variable.
8458 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8459 (dired-isearch-filenames-end): Add and remove
8460 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8461 instead of changing the value of `isearch-filter-predicate'.
8462 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8463 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8464 Put property `isearch-message-prefix' to "filename " on
8465 `dired-isearch-filter-filenames'.
8466
8467 * wdired.el (wdired-change-to-wdired-mode):
8468 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8469 locally instead of changing `isearch-filter-predicate'.
8470 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8471
f1a60a0f
DG
84722013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8473
8474 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8475 return the commit hash (Bug#14459). Also set the
8476 `vc-git-detached' property.
8477 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8478 (vc-git-mode-line-string): Use the same help-echo format whether
8479 in detached mode or not, because we know the actual revision now.
8480 When in detached mode, shorten the revision to 7 chars.
8481
7f17cc40
SM
84822013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8483
8484 * emacs-lisp/easy-mmode.el (define-minor-mode):
8485 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8486 mode hook and provide a docstring.
8487
25c8401c
AM
84882013-05-27 Alan Mackenzie <acm@muc.de>
8489
8490 Remove spurious syntax-table text properties inserted by C-y.
8491 * progmodes/cc-mode.el (c-after-change): Also clear hard
8492 syntax-table property with value nil.
8493
dde84790
MA
84942013-05-27 Michael Albinus <michael.albinus@gmx.de>
8495
8496 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8497 when reading the events; the buffer layout shall not be changed.
8498
837fd9af
LL
84992013-05-27 Leo Liu <sdl.web@gmail.com>
8500
8501 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8502 New variable.
8503 (inferior-octave-directory-tracker): Automatically re-sync
8504 default-directory.
8505 (octave-help): Improve handling of 'See also'.
8506
4fd996b3
SM
85072013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8508
416f1802
SM
8509 * doc-view.el: Minor naming convention tweaks.
8510 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8511
4fd996b3
SM
8512 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8513 even if there's no `display' property yet (bug#14435).
8514
a052ef3b
EZ
85152013-05-25 Eli Zaretskii <eliz@gnu.org>
8516
4fd996b3 8517 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
8518
8519 * Makefile.in (custom-deps, finder-data, autoloads)
8520 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8521 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8522 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8523
c9023370
SM
85242013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8525
8526 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8527 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 8528 Don't burp at EOB.
c9023370 8529
24d699fa
LL
85302013-05-25 Leo Liu <sdl.web@gmail.com>
8531
8532 * comint.el (comint-previous-matching-input): Do not flood the
8533 *Messages* buffer with trivial messages.
8534
17e5c0cc
SM
85352013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8536
8537 * progmodes/flymake.el (flymake-nop): Don't return a string.
8538 (flymake-set-at): Fix typo.
8539
8540 * simple.el (read--expression): New function, extracted from
8541 eval-expression. Set completion-at-point-functions (bug#14465).
8542 (eval-expression, eval-minibuffer): Use it.
8543
5d028165
XF
85442013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8545
8546 * progmodes/flymake.el (flymake-save-buffer-in-file)
8547 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8548 (flymake-selected-frame, flymake-log, flymake-ins-after)
8549 (flymake-set-at, flymake-get-buildfile-from-cache)
8550 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8551 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8552 Refine the doc string.
8553 (flymake-get-file-name-mode-and-masks): Reformat.
8554 (flymake-get-real-file-name-function): Fix a minor bug.
8555
7a1d7ba7
JL
85562013-05-24 Juri Linkov <juri@jurta.org>
8557
8558 * progmodes/grep.el (grep-mode-font-lock-keywords):
8559 Support =linenumber= format used by git-grep for lines with
8560 function names. (Bug#13549)
8561
650cff3d
SM
85622013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8563
8564 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8565 0 after a semi-colon; it works better for smie-auto-fill.
8566 (octave--indent-new-comment-line): New function.
8567 (octave-indent-new-comment-line): Use it (indirectly).
8568 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8569 modify comment-line-break-function.
8570
8571 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8572 (smie-setup): Use add-function to set it.
8573
9631677d
SS
85742013-05-24 Sam Steingold <sds@gnu.org>
8575
8576 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8577 argument (before the `interactive' argument).
8578
50105835
SM
85792013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8580
8581 * image-mode.el (image-mode-winprops): Add winprops to
8582 image-mode-winprops-alist before running
8583 image-mode-new-window-functions.
8584 * doc-view.el (doc-view-new-window-function): Don't delay
8585 doc-view-goto-page via timers (bug#14435).
8586
57b9823e
TH
85872013-05-24 Tassilo Horn <tsdh@gnu.org>
8588
8589 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8590 (doc-view-desktop-save-buffer): New function.
8591 (doc-view-restore-desktop-buffer): New function.
50105835
SM
8592 (desktop-buffer-mode-handlers):
8593 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
8594 handler.
8595 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8596 `desktop-save-buffer' function.
8597
91aafa16
MA
85982013-05-24 Michael Albinus <michael.albinus@gmx.de>
8599
8600 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8601 (tramp-gvfs-file-name-handler): Raise a user error when
8602 `tramp-gvfs-enabled' is nil.
8603 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8604 Do not raise a user error when loading package. (Bug#14447)
8605
ec076379
MA
8606 * net/xesam.el: Move to obsolete/.
8607
db785726
GM
86082013-05-24 Glenn Morris <rgm@gnu.org>
8609
af5c7606
GM
8610 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8611
e5d1916a
GM
8612 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8613
ded62b08
GM
8614 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8615 (Info-find-node, Man-getpage-in-background): Declare.
8616
9e614a3f
GM
8617 * mail/unrmail.el (unrmail):
8618 Replace obsolete detect-coding-with-priority.
8619
892f8ca3
GM
8620 * net/socks.el (socks-split-string): Use this rather than split-string.
8621 (socks-nslookup-host): Update for above change.
8622 (dynamic-choice, s5-dynamic-choice-match)
8623 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8624 Comment out unused code.
8625
3c291973
GM
8626 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8627 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8628 (gud-tooltip-echo-area): Make obsolete.
8629 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8630
43cc956b
GM
8631 * progmodes/js.el (js--optimize-arglist): Declare.
8632
dab49a3b
GM
8633 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8634
36b9d085
GM
8635 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8636 (ediff-window-C): Declare.
8637
e354ae76
GM
8638 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8639 Tweak requires to silence compiler.
8640
b8e57bf4
GM
8641 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8642 (he-search-string, he-tried-table, he-expand-list)
8643 (he-init-string, he-string-member, he-substitute-string)
8644 (he-reset-string): Declare.
8645
db785726
GM
8646 * obsolete/options.el (list-options): Use custom-variable-p,
8647 rather than obsolete alias.
8648
b3531901
SS
86492013-05-23 Sam Steingold <sds@gnu.org>
8650
8651 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 8652 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
8653 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8654
bdda4c66
SM
86552013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8656
8657 * emacs-lisp/smie.el (smie-indent-forward-token)
8658 (smie-indent-backward-token): Handle string tokens (bug#14381).
8659
c43d45f9
TH
86602013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8661
fe1eb856
RS
8662 * ielm.el (ielm-menu): New menu.
8663 (inferior-emacs-lisp-mode): Set comment-start.
96172128 8664
fe1eb856
RS
86652013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8666
8667 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8668 Fix deactivate action.
8669
8670 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8671 Add cleveref macros.
074dd971 8672
c43d45f9
TH
8673 * lisp/textmodes/reftex-parse.el
8674 (reftex-locate-bibliography-files): Accept options for
8675 bibliography commands.
8676 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8677 Add addbibresource. Basic Biblatex support.
8678
7764286e
MA
86792013-05-23 Michael Albinus <michael.albinus@gmx.de>
8680
8681 * net/tramp-gvfs.el (top):
8682 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8683 when loading package. (Bug#14447)
8684
d361bc10
GM
86852013-05-23 Glenn Morris <rgm@gnu.org>
8686
8fa23984
GM
8687 * progmodes/js.el: No need to load comint when compiling.
8688 (ring-insert, comint-send-string, comint-send-input)
8689 (comint-last-input-end, ido-chop): Declare.
8690
a5c7df1a
GM
8691 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8692 * vc/ediff-mult.el: Adjust requires.
8693 (ediff-directories-internal, ediff-directory-revisions-internal)
8694 (ediff-patch-file-internal): Declare.
8695 * vc/ediff-ptch.el: Adjust requires.
8696 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8697 (ediff-find-file): Autoload.
8698 * vc/ediff-util.el: No need to load ediff when compiling.
8699 (ediff-regions-internal): Declare.
8700 * vc/ediff-wind.el: Adjust requires.
8701 (ediff-compute-toolbar-width): Define when compiling.
8702 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8703 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8704 (dired-get-filename, dired-get-marked-files)
8705 (ediff-last-dir-patch, ediff-patch-default-directory)
8706 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8707 (ediff-patch-buffer-internal): Declare.
8708
e2aec513
GM
8709 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8710 (ispell-process, ispell-buffer-local-words, lm-summary)
8711 (lm-section-start, lm-section-end): Declare.
8712 (checkdoc-ispell-init): Simplify.
8713
e68bbd7c
GM
8714 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8715 (he-string-member, he-reset-string, he-substitute-string): Declare.
8716
7efe0991
GM
8717 * eshell/em-ls.el: Adjust requires.
8718 (eshell-glob-regexp): Declare.
f87b1284
GM
8719 * eshell/em-tramp.el: Adjust requires.
8720 (eshell-parse-command): Autoload.
8721 * eshell/em-xtra.el: Adjust requires.
8722 (eshell-parse-command): Autoload.
8723 * eshell/esh-ext.el: Adjust requires.
8724 (eshell-parse-command, eshell-close-handles): Autoload.
8725 * eshell/esh-io.el: Adjust requires.
8726 (eshell-output-filter): Autoload.
8727 * eshell/esh-util.el: No need to load tramp when compiling.
8728 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8729 Declare.
8730 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8731 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8732 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8733 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8734 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8735 * eshell/esh-opt.el, eshell/esh-proc.el:
8736 * eshell/esh-var.el: Adjust requires.
8737 * eshell/eshell.el: Do not require esh-util twice.
8738 (eshell-add-input-to-history): Declare.
8739 (eshell-command): Check history module is active before using it.
8740
d361bc10
GM
8741 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8742
85d090a9
LL
87432013-05-22 Leo Liu <sdl.web@gmail.com>
8744
8745 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8746
5d0acd9d
MA
87472013-05-22 Michael Albinus <michael.albinus@gmx.de>
8748
8749 * autorevert.el (auto-revert-notify-add-watch)
8750 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8751 it indicates changes in file modification time.
8752
0cdffd7d
GM
87532013-05-22 Glenn Morris <rgm@gnu.org>
8754
ca5995ec
GM
8755 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8756 Always delete the autoloaded function from the noruntime and
8757 unresolved functions lists.
8758
6450907e
GM
8759 * allout.el: No need to load epa, epg, overlay when compiling.
8760 (epg-context-set-passphrase-callback, epg-list-keys)
8761 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8762 (epg-key-user-id-list): Declare.
8763
9c6906f6
GM
8764 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8765 (viper-set-parsing-style-toggling-macro)
8766 (viper-set-emacs-state-searchstyle-macros):
8767 Use called-interactively-p on Emacs.
8768 (viper-looking-back): Make it an obsolete alias. Update callers.
8769 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8770 Use looking-back rather than viper-looking-back.
8771 (viper-tmp-insert-at-eob, viper-enlarge-region)
8772 (viper-read-string-with-history, viper-register-to-point)
8773 (viper-append-to-register, viper-change-state-to-vi)
8774 (viper-backward-char-carefully, viper-forward-char-carefully)
8775 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8776 (viper-change-state-to-emacs): Declare.
8777 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8778 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8779 * emulation/viper-mous.el: Do not load viper-cmd.
8780 (viper-backward-char-carefully, viper-forward-char-carefully)
8781 (viper-forward-word, viper-adjust-window): Declare.
8782
5f70c169
GM
8783 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8784
b1b7f300
GM
8785 * progmodes/idlw-help.el (idlwave-help-fontify):
8786 Use called-interactively-p.
8787
f6ebbb46
GM
8788 * term/w32console.el (w32-get-console-codepage)
8789 (w32-get-console-output-codepage): Declare.
8790
0cdffd7d
GM
8791 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8792 Remove unnecessary declarations.
8793 (dframe-message): Doc fix.
8794
8795 * info.el (dframe-select-attached-frame, dframe-current-frame):
8796 Declare.
8797
8798 * speedbar.el (speedbar-message): Make it an obsolete alias.
8799 Update all callers.
8800 (speedbar-with-attached-buffer)
8801 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8802 (speedbar-with-writable): Use backquote.
8803 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8804 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8805 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8806 rather than speedbar- aliases.
8807 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8808 (speedbar-make-specialized-keymap, speedbar-insert-button)
8809 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8810 (speedbar-do-function-pointer): Declare.
8811 (rmail-speedbar-button, rmail-speedbar-find-file)
8812 (rmail-speedbar-move-message):
8813 Use dframe-with-attached-buffer rather than speedbar- alias.
8814 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8815 (dframe-message, speedbar-make-specialized-keymap)
8816 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8817 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8818 (speedbar-insert-button, dframe-select-attached-frame)
8819 (dframe-maybee-jump-to-attached-frame)
8820 (speedbar-change-initial-expansion-list)
8821 (speedbar-previously-used-expansion-list-name): Declare.
8822 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8823 Use dframe-message, dframe-with-attached-buffer rather than
8824 speedbar- aliases.
8825 (gud-sentinel): Silence compiler.
8826 * progmodes/vhdl-mode.el (speedbar-refresh)
8827 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8828 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8829 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8830 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8831 (speedbar-file-lists, speedbar-make-tag-line)
8832 (speedbar-line-directory, speedbar-goto-this-file)
8833 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8834 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8835 (speedbar-make-button, speedbar-reset-scanners)
8836 (speedbar-files-item-info, speedbar-line-text)
8837 (speedbar-find-file-in-frame, speedbar-set-timer)
8838 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8839 (speedbar-with-writable): Do not (re)define it.
8840 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8841 rather than speedbar- alias.
8842
ee44b62a
LL
88432013-05-21 Leo Liu <sdl.web@gmail.com>
8844
8845 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8846 menu items.
8847 (octave-mode): Tweak fill-nobreak-predicate.
8848 (inferior-octave-startup): Check process to avoid infinite loop.
8849 (inferior-octave): Pop to buffer first to show abornmal process
8850 exit information.
8851
640f050f
GM
88522013-05-21 Glenn Morris <rgm@gnu.org>
8853
79458038
GM
8854 * printing.el (pr-menu-bar): Define when compiling.
8855
9cc3e83f
LL
88562013-05-21 Leo Liu <sdl.web@gmail.com>
8857
8858 * progmodes/octave.el (octave-auto-fill): Remove.
8859 (octave-indent-new-comment-line): Improve.
8860 (octave-mode): Use auto fill mode through
4f405069 8861 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 8862 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 8863 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
8864 (octave-help): Show parent directory.
8865
f440830d
GM
88662013-05-21 Glenn Morris <rgm@gnu.org>
8867
8868 * files.el (dired-unmark):
8869 * progmodes/gud.el (gdb-input): Update declarations.
8870
8871 * calculator.el (electric, ehelp): No need to load when compiling.
8872 (Electric-command-loop, electric-describe-mode): Declare.
8873
8874 * doc-view.el (doc-view-current-converter-processes): Move before use.
8875
8876 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8877 Move MODE-set-explicitly definition before use.
8878
8879 * international/mule-diag.el (mule-diag):
8880 Don't use obsolete window-system-version.
8881
8882 * mail/feedmail.el (smtpmail): No need to load when compiling.
8883 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8884
8885 * mail/mail-utils.el (rfc822): No need to load when compiling.
8886 (rfc822-addresses): Autoload it.
8887 (mail-strip-quoted-names): Trivial simplification.
8888
8889 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8890 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8891
8892 * net/snmp-mode.el (tempo): Don't duplicate requires.
8893
8894 * progmodes/prolog.el (info): No need to load when compiling.
8895 (comint): Require before shell requires it.
8896 (Info-goto-node): Autoload it.
8897 (Info-follow-nearest-node): Declare.
8898 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8899
8900 * textmodes/artist.el (picture-mode-exit): Declare.
8901
8902 * textmodes/reftex-parse.el (reftex-parse-from-file):
8903 Trivial rewrite so the compiler can parse it better.
8904
b4da2cbb
LL
89052013-05-20 Leo Liu <sdl.web@gmail.com>
8906
8907 * progmodes/octave.el (octave-help-mode-map)
8908 (octave-help-mode-finish-hook): New variables.
8909 (octave-help-mode, octave-help-mode-finish): New functions.
8910 (octave-help): Use octave-help-mode.
8911
33c0f65b
GM
89122013-05-20 Glenn Morris <rgm@gnu.org>
8913
8914 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8915
1a0a0a8a
DG
89162013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8917
8918 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8919 start at point, so that expansion starting right after opening
8920 slash in a regexp is recognized.
8921 (ruby-syntax-before-regexp-re): New defvar, extracted from
8922 ruby-syntax-propertize-function. Since the value of this regexp
8923 is looked up at runtime now, we should be able to turn
8924 `ruby-syntax-methods-before-regexp' into a defcustom later.
8925 (ruby-syntax-propertize-function): Split regexp matching into two
8926 parts, for opening and closing slashes. That allows us to skip
8927 over string interpolations and support multiline regexps.
8928 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8929 for them, which calls `ruby-syntax-propertize-expansion'.
8930 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8931 call to `ruby-syntax-propertize-function'.
8932 (ruby-syntax-propertize-expansion): Extracted from
8933 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
8934 (ruby-syntax-propertize-percent-literal): Leave point right after
8935 the percent symbol, so that the expression expansion rule can
8936 propertize the contents.
462388b6
DG
8937 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8938 heredoc openers.
8939 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 8940
c1a6c0a4
JL
89412013-05-18 Juri Linkov <juri@jurta.org>
8942
8943 * man.el (Man-default-man-entry): Remove `-' from the end
8944 of the default value. (Bug#14400)
8945
8051fccd
GM
89462013-05-18 Glenn Morris <rgm@gnu.org>
8947
8948 * comint.el (comint-password-prompt-regexp):
8949 Allow "password for XXX" where XXX contains colons (eg https://...).
8950
5e80b74f
LL
89512013-05-18 Leo Liu <sdl.web@gmail.com>
8952
8953 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 8954 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
8955 (octave-source-directories): Don't check process.
8956 (octave-source-directories, octave-find-definition): Doc fix.
8957
521a54c5
GM
89582013-05-18 Glenn Morris <rgm@gnu.org>
8959
86a94b05
GM
8960 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8961 Remove backspace/delete bindings. (Bug#14392)
8962
521a54c5
GM
8963 * cus-dep.el (custom-make-dependencies): Sort the output.
8964 (custom-versions-load-alist): Convert comment to doc.
8965
42caeb89
LL
89662013-05-17 Leo Liu <sdl.web@gmail.com>
8967
8968 * newcomment.el (comment-search-backward): Stricter in finding
8969 comment start. (Bug#14303)
8970
8971 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8972 (octave-comment-start-skip): Properly anchored.
8973
e219dd97
LL
89742013-05-17 Leo Liu <sdl.web@gmail.com>
8975
fe1eb856
RS
8976 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8977 Clean up when turned off. (Bug#14395)
e219dd97
LL
8978 (smie--highlight-matching-block-overlay): No longer buffer-local.
8979 (smie-highlight-matching-block): Adjust.
8980
dc5dcb4b
PE
89812013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8982
8983 Doc string fix for "nanoseconds" (Bug#14406).
8984 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8985 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8986
1db165f0
JB
89872013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8988
8989 * calc/calc-units.el (math-extract-units): Preserve powers
8990 of units.
8991
c7a8fcac
LL
89922013-05-17 Leo Liu <sdl.web@gmail.com>
8993
8994 * subr.el (delete-consecutive-dups): New function.
8995 * ido.el (ido-set-matches-1): Use it.
8996 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8997 * ido.el (ido-remove-consecutive-dups): Remove.
8998
f678b18a
SM
89992013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9000
9001 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9002 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9003 regexp-opt's `words'.
9004
ebfe68e8
LL
90052013-05-16 Leo Liu <sdl.web@gmail.com>
9006
9007 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9008 (smie--highlight-matching-block-overlay)
9009 (smie--highlight-matching-block-lastpos)
9010 (smie--highlight-matching-block-timer): New variables.
9011 (smie-highlight-matching-block): New function.
9012 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9013 (smie-setup): Conditionally enable smie-blink-matching-open.
9014
bc8bc17d
WS
90152013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9016
9017 Sync with upstream verilog-mode r840.
9018 * progmodes/verilog-mode.el (verilog-mode-version)
9019 (verilog-mode-release-date): Update.
9020 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9021 (verilog-sig-tieoff): Fix string error on
9022 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9023 (verilog-read-decls): Fix parameters confusing
9024 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9025
df065a0b
EZ
90262013-05-16 Eli Zaretskii <eliz@gnu.org>
9027
9028 * subr.el (reveal-filename): New function.
9029
9030 * loadup.el: Compute Emacs executable versions on MS-Windows,
9031 where executables have the .exe extension. Add a hard link
9032 emacs-XX.YY.ZZ.exe on MS-Windows.
9033
9034 * Makefile.in (XARGS_LIMIT): New variable.
9035 (custom-deps, finder-data, autoloads)
9036 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9037 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9038 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9039 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9040
2d4bf34b
LL
90412013-05-16 Leo Liu <sdl.web@gmail.com>
9042
9043 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9044 (octave-mode-menu, octave-mode-map): Remove its uses.
9045
6b9c2d85
RZ
90462013-05-16 Reto Zimmermann <reto@gnu.org>
9047
9048 Sync with upstream vhdl mode v3.34.2.
9049 * progmodes/vhdl-mode.el: Use `push' throughout.
9050 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9051 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9052 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9053 (vhdl-actual-generic-name): New option to derive actual generic name.
9054 (vhdl-port-paste-signals): Replace formal by actual generics.
9055 (vhdl-beautify): New name for old group vhdl-align. Update users.
9056 (vhdl-beautify-options): New option.
9057 (vhdl-last-input-event): New compat alias. Use throughout.
9058 (vhdl-goto-line): Replace user level function `goto-line'.
9059 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9060 vhdl-fix-statement-buffer.
9061 (vhdl-create-mode-menu): Add some entries.
9062 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9063 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9064 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9065 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9066 to force statements on one line.
9067 (vhdl-remove-trailing-spaces-region):
9068 New, split from vhdl-remove-trailing-spaces.
9069 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9070 Respect vhdl-beautify-options.
9071 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9072 (vhdl-update-sensitivity-list): Not add with index if exists without.
9073 Not include array index with signal. Ignore keywords in comments.
9074 (vhdl-get-visible-signals): Regexp tweaks.
9075 (vhdl-template-component-inst): Handle empty library.
9076 (vhdl-template-type): Add template for 'enum' type.
9077 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9078 Use vhdl-replace-string.
9079 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9080 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9081 (vhdl-speedbar-initialize): Update for above name change.
9082 (vhdl-compose-wire-components): Fix in handling of constants.
9083 (vhdl-error-regexp-emacs-alist): New variable.
9084 (vhdl-error-regexp-add-emacs): New function;
9085 adds support for new compile.el (Emacs 22+)
9086 (vhdl-generate-makefile-1): Change target order for single lib. units.
9087 Allow use of absolute file names.
9088
9df4ec5e
LL
90892013-05-16 Leo Liu <sdl.web@gmail.com>
9090
9091 * simple.el (prog-indent-sexp): Indent enclosing defun.
9092
f5ba00a6
GM
90932013-05-15 Glenn Morris <rgm@gnu.org>
9094
ed8be7ff
GM
9095 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9096 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9097 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9098 (whitespace-highlight): Move to whitespace group.
9099
9100 * comint.el (comint-source):
9101 * pcmpl-linux.el (pcmpl-linux):
9102 * shell.el (shell-faces):
9103 * eshell/esh-opt.el (eshell-opt):
9104 * international/ccl.el (ccl): Remove empty custom groups.
9105
9106 * completion.el (dynamic-completion-mode):
9107 * jit-lock.el (jit-lock-debug-mode):
9108 * minibuffer.el (completion-in-region-mode):
9109 * type-break.el (type-break-mode-line-message-mode)
9110 (type-break-query-mode):
9111 * emulation/tpu-edt.el (tpu-edt-mode):
9112 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9113 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9114 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9115
9116 * term/xterm.el (xterm): Change parent group to terminals.
9117
9118 * master.el (master): Remove empty custom group.
9119 (master-mode): Remove unused :group argument.
9120 * textmodes/refill.el (refill): Remove empty custom group.
9121 (refill-mode): Remove unused :group argument.
9122
9123 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9124
82a7c41b
GM
9125 * cus-dep.el: Provide a feature.
9126 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
9127 Don't mistakenly ignore files whose basenames match a basename
9128 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 9129 Add a fallback method for getting :group.
f5ba00a6 9130
6d65486d
JL
91312013-05-15 Juri Linkov <juri@jurta.org>
9132
da547b32
JL
9133 * isearch.el (isearch-char-by-name): Rename from
9134 `isearch-insert-char-by-name'. Doc fix.
9135 (isearch-forward): Mention `isearch-char-by-name' in
9136 the docstring. (Bug#13348)
9137
6d65486d
JL
9138 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9139 `exit-minibuffer' instead of
9140 `isearch-nonincremental-exit-minibuffer'.
9141 (isearch-edit-string): Remove mention of
9142 `isearch-nonincremental-exit-minibuffer' from docstring.
9143 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9144 (isearch-forward-exit-minibuffer)
9145 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9146
c9990474
SM
91472013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9148
6e911150
SM
9149 * loadup.el: Just use unversioned DOC.
9150
c9990474
SM
9151 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9152 literals as extending to EOB.
9153 (nxml-last-fontify-end): Remove unused variable.
9154 (nxml-after-change1): Use with-silent-modifications.
9155 (nxml-extend-after-change-region): Simplify.
9156 (nxml-extend-after-change-region1): Remove function.
9157 (nxml-after-change1): Don't adjust for dependent regions.
9158 (nxml-fontify-matcher): Simplify.
9159 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9160 (xmltok-add-dependent): Remove function.
9161 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9162 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9163 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9164 unclosed <[[, <?, comment, and other literals as extending to EOB.
9165 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9166 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9167 Remove functions.
9168 (rng-do-some-validation-1): Don't mark dependent regions.
9169 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9170 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9171 (nxml-clear-dependent-regions): Remove functions.
9172 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9173 (nxml-ensure-scan-up-to-date):
9174 Don't clear&mark dependent regions.
9175
e3772e98
LL
91762013-05-15 Leo Liu <sdl.web@gmail.com>
9177
c9990474
SM
9178 * progmodes/octave.el (octave-goto-function-definition):
9179 Improve and fix callers.
e3772e98 9180
5ac2eb34
SM
91812013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9182
c46c57b0
SM
9183 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9184 the setter (bug#14387).
9185
5ac2eb34
SM
9186 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9187 surrounding group (bug#14402).
9188
180ed218
JL
91892013-05-14 Juri Linkov <juri@jurta.org>
9190
9191 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9192 (Bug#14390)
9193
0ac0fecb
GM
91942013-05-14 Glenn Morris <rgm@gnu.org>
9195
9196 * progmodes/f90.el (f90-imenu-generic-expression):
9197 Fix typo in 2013-05-08 change. (Bug#14402)
9198
2e78e6a7
JPG
91992013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9200
5ac2eb34
SM
9201 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9202 Remove signals for which replies are never received.
2e78e6a7 9203
53267cca
JPG
92042013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9205
9206 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9207 (gdb-handler-alist, gdb-handler-number): Remove variables.
9208 (gdb-handler-list): New variable.
9209 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9210 (gdb-pending-handler-p, gdb-handle-reply)
9211 (gdb-remove-all-pending-triggers): New functions.
9212 (gdb-discard-unordered-replies): New defcustom.
9213 (gdb-handler): New defstruct.
9214 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9215 instead of gdb-pending-triggers. Update docstring.
9216 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9217 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9218 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9219 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9220 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9221 (gdb-frame-handler): Pending triggers are now automatically managed.
9222 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9223 Remove argument.
9224 (gdb-input): Automatically handles pending triggers. Update docstring.
9225 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9226 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9227 Update comments.
9228 (gdb-done-or-error): Now use gdb-handle-reply.
9229
d04ce803
JPG
92302013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9231
9232 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9233 gdb-debug-log.
9234
0114073a
GM
92352013-05-14 Glenn Morris <rgm@gnu.org>
9236
9237 * subr.el (user-emacs-directory-warning): New option.
9238 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9239
4d25fd7e
LL
92402013-05-14 Leo Liu <sdl.web@gmail.com>
9241
9242 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9243 during redisplay.
9244 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
9245 (octave-font-lock-texinfo-comment): Fix invalid search bound
9246 error: wrong side of point.
4d25fd7e 9247
27c8b6eb
GM
92482013-05-14 Glenn Morris <rgm@gnu.org>
9249
61aaeb01
GM
9250 * progmodes/flymake.el (flymake-xml-program): New option.
9251 (flymake-xml-init): Use it.
9252
5bf90bc5
GM
9253 * term/xterm.el: Provide a feature.
9254
9255 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 9256
f4c7dfd2
GM
92572013-05-13 Glenn Morris <rgm@gnu.org>
9258
9259 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9260 Add compat aliases as a hack workaround. (Bug#14384)
9261
2aeb3a1d
LL
92622013-05-13 Leo Liu <sdl.web@gmail.com>
9263
b0e069c2
LL
9264 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9265 ###, and %!.
f5a9432f
LL
9266 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9267 C-M-q.
b0e069c2
LL
9268 (octave-comment-start-skip): Include %!.
9269 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 9270
30ea8374
LL
92712013-05-12 Leo Liu <sdl.web@gmail.com>
9272
9273 * progmodes/octave.el (inferior-octave-startup): Store the value
9274 of __octave_srcdir__ for octave-source-directories.
9275 (inferior-octave-check-process): New function refactored out of
9276 inferior-octave-send-list-and-digest.
9277 (octave-source-directories)
9278 (octave-find-definition-filename-function): New variables.
9279 (octave-source-directories)
9280 (octave-find-definition-default-filename): New functions.
9281 (octave-find-definition): Improve to find functions implemented in C++.
9282
472a3834
GM
92832013-05-12 Glenn Morris <rgm@gnu.org>
9284
9285 * calendar/diary-lib.el (diary-outlook-format-1):
9286 Don't include dayname in the output. (Bug#14349)
9287
3191b52f
GM
92882013-05-11 Glenn Morris <rgm@gnu.org>
9289
0060ac73
GM
9290 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9291
3191b52f
GM
9292 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9293 Treat cc-provide like provide.
9294
e065ba74
KR
92952013-05-11 Kevin Ryde <user42@zip.com.au>
9296
9297 * cus-dep.el (custom-make-dependencies):
9298 Use generated-autoload-load-name for the sake of files such
9299 such cedet/semantic/bovine/c.el, where the base file name
9300 is not in load-path. (Bug#5277)
9301
36f84c37
GM
93022013-05-11 Glenn Morris <rgm@gnu.org>
9303
9304 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9305 Provide features.
9306
c8730c3a
LL
93072013-05-11 Leo Liu <sdl.web@gmail.com>
9308
9309 * progmodes/octave.el (octave-indent-comment): Improve.
9310 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
9311 (octave-eldoc-function-signatures, octave-eldoc-function):
9312 New functions.
c8730c3a
LL
9313 (octave-mode, inferior-octave-mode): Add eldoc support.
9314
212e29f2
RS
93152013-05-11 Richard Stallman <rms@gnu.org>
9316
9317 * epa.el (epa-decrypt-file): Take output file name as argument
9318 and read it using `interactive'.
9319
083fe0d7
LL
93202013-05-11 Leo Liu <sdl.web@gmail.com>
9321
9322 * progmodes/octave.el (octave-beginning-of-line)
9323 (octave-end-of-line): Check before using up-list because it jumps
9324 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
9325 (octave-indent-comment): New function.
9326 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
9327 (octave-begin-keywords, octave-end-keywords)
9328 (octave-reserved-words, octave-smie-bnf-table)
9329 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 9330
8582e4c4
GM
93312013-05-11 Glenn Morris <rgm@gnu.org>
9332
f20def1f
GM
9333 * faces.el (internal-face-x-get-resource):
9334 * frame.el (ns-display-monitor-attributes-list):
d78abe37 9335 * calc/calc-aent.el (math-to-radians-2):
f20def1f 9336 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 9337 Fix declarations.
f20def1f 9338
445f95e2
GM
9339 * calc/calc-menu.el: Make it loadable in isolation.
9340
9341 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9342 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9343 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9344 (eudc-bbdb-query-internal): Require 'bbdb.
9345
99fb2756
GM
9346 * lpr.el (lpr-headers-switches):
9347 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9348
9349 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9350
0da7ad96
GM
9351 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9352
8582e4c4
GM
9353 * term.el (term-set-escape-char): Make it idempotent.
9354
f71c50d0
LL
93552013-05-10 Leo Liu <sdl.web@gmail.com>
9356
5ac2eb34
SM
9357 * progmodes/octave.el (inferior-octave-completion-table):
9358 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
9359 completion due to bug#11906.
9360 (octave-beginning-of-defun): Re-write to be more general.
9361
d5837773
GM
93622013-05-10 Glenn Morris <rgm@gnu.org>
9363
9364 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9365
027c0f75
SM
93662013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9367
9368 * comint.el (comint-redirect-send-command-to-process): Use :around
9369 rather than :override for comint-redirect-filter.
9370 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9371 Call it instead of comint-redirect-original-filter-function (which
9372 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9373
4465bfb4
JD
93742013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9375
9376 * frame.el (display-monitor-attributes-list): Add NS case.
9377 (ns-display-monitor-attributes-list): Declare.
9378
2d809ffa 93792013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
9380
9381 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9382
e54eeb9b
GM
93832013-05-09 Glenn Morris <rgm@gnu.org>
9384
56cd351d
GM
9385 * international/fontset.el (vertical-centering-font-regexp):
9386 Set standard-value.
9387
d84b6108
GM
9388 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9389
a931698a
GM
9390 * bookmark.el (bookmark-search-delay):
9391 * cus-start.el (vertical-centering-font-regexp):
9392 * ps-mule.el (ps-mule-font-info-database-default):
9393 * ps-print.el (ps-default-fg, ps-default-bg):
9394 * type-break.el (type-break-good-break-interval):
9395 * whitespace.el (whitespace-indentation-regexp)
9396 (whitespace-space-after-tab-regexp):
9397 * emacs-lisp/testcover.el (testcover-1value-functions)
9398 (testcover-noreturn-functions, testcover-progn-functions)
9399 (testcover-prog1-functions):
9400 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9401 * eshell/em-glob.el (eshell-glob-translate-alist):
9402 * play/tetris.el (tetris-tty-colors):
9403 * progmodes/cpp.el (cpp-face-default-list):
9404 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9405 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9406 (idlwave-help-browser-generic-args):
9407 * progmodes/make-mode.el (makefile-special-targets-list):
9408 * progmodes/python.el (python-shell-virtualenv-path):
9409 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9410 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9411 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9412 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9413 * textmodes/reftex-vars.el (reftex-format-label-function):
9414 * textmodes/remember.el (remember-diary-file): Fix custom types.
9415
e54eeb9b
GM
9416 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9417 Add :version.
9418
455851dd
LL
94192013-05-09 Leo Liu <sdl.web@gmail.com>
9420
9421 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 9422 Restore file completion. (Bug#14300)
455851dd
LL
9423 (inferior-octave-startup): Fix incorrect highlighting for the
9424 first prompt.
9425
a9e4425b
SM
94262013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9427
9428 * progmodes/ruby-mode.el: First cut at SMIE support.
9429 (ruby-use-smie): New var.
9430 (ruby-smie-grammar): New constant.
9431 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9432 (ruby-smie--forward-token, ruby-smie--backward-token)
9433 (ruby-smie-rules): New functions.
9434 (ruby-mode-variables): Setup SMIE if applicable.
9435
060ca408
EZ
94362013-05-08 Eli Zaretskii <eliz@gnu.org>
9437
9438 * simple.el (line-move-visual): Signal beginning/end of buffer
9439 only if vertical-motion moved less than it was requested. Avoids
9440 silly incorrect error messages when there are display strings with
9441 multiple newlines at EOL.
9442
1d5963cc
SM
94432013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9444
9445 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9446 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9447 (prolog-char-quote-workaround):
9448 * progmodes/cperl-mode.el (cperl-under-as-char):
9449 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
9450 Mark as obsolete.
9451 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
9452 their declaration.
9453 (vhdl-mode-syntax-table-init): Remove.
9454
c9990474
SM
9455 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9456 last change.
1d5963cc
SM
9457
9458 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9459 syntax for "_".
9460 (ld-script-font-lock-keywords):
9461 Change regexps to use things like \_< and \_>.
9462
9463 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9464 Change all regexps to use things like \_< and \_>.
9465
9466 * progmodes/autoconf.el (autoconf-definition-regexp)
9467 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9468 Handle a _ with symbol syntax.
9469 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9470
c9990474
SM
9471 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9472 Consolidate declaration.
1d5963cc
SM
9473 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9474 the declaration.
9475 (ada-create-syntax-table): Remove.
9476 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9477 already has the right syntax nowadays.
9478 (ada-goto-next-word): Don't change the syntax of "_".
9479
9480 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9481 with-wrapper-hook.
9482
72d3cfca
SS
94832013-05-08 Sam Steingold <sds@gnu.org>
9484
9485 * thingatpt.el (thing-at-point): Accept optional second argument
9486 NO-PROPERTIES to strip the text properties from the return value.
9487 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9488 to `thing-at-point' instead of stripping the properties ourselves.
9489 Also, when `thing-at-point' fails to find a url, prepend "http://"
9490 to the filename at point on the assumption that the user is
9491 pointing at something like gnu.org/gnu.
9492
5cb15713
JB
94932013-05-08 Juanma Barranquero <lekktu@gmail.com>
9494
9495 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9496 * faces.el (crm-separator):
9497 Silence byte-compiler.
9498
9499 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9500 (tool-bar-map): Remove unneeded defvars.
9501
ea78b95b
LL
95022013-05-08 Leo Liu <sdl.web@gmail.com>
9503
9504 Re-work a fix for bug#10994 based on Le Wang's patch.
9505 * ido.el (ido-remove-consecutive-dups): New helper.
9506 (ido-completing-read): Use it.
9507 (ido-chop): Revert fix for bug#10994.
9508
dc7466df
AS
95092013-05-08 Adam Spiers <emacs@adamspiers.org>
9510
9511 * cus-edit.el (custom-save-variables):
9512 Pretty-print long values. (Bug#14187)
9513
9ecf672a
GM
95142013-05-08 Glenn Morris <rgm@gnu.org>
9515
9516 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9517 (m4-mode-syntax-table): Init in the defvar.
9518 (m4-mode-abbrev-table): Let define-derived-mode define it.
9519
3f555be8
TT
95202013-05-08 Tom Tromey <tromey@redhat.com>
9521
9522 * progmodes/m4-mode.el (m4-mode-syntax-table):
9523 Do not treat "_" as word constituent. (Bug#14167)
9524
7cc8ae06
GM
95252013-05-07 Glenn Morris <rgm@gnu.org>
9526
4f58bc06
GM
9527 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9528 Remove explicit eshell-isearch-cancel-map.
9529
7cc8ae06
GM
9530 * progmodes/f90.el (f90-smart-end-names): New option.
9531 (f90-smart-end): Doc fix.
9532 (f90-end-block-optional-name): New constant.
9533 (f90-block-match): Respect f90-smart-end-names.
9534
ceb57e59
SM
95352013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9536
9537 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9538 about implicit semi-colons (bug#14218).
9539
4e3f9230
YM
95402013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9541
9542 * frame.el (display-monitor-attributes-list)
9543 (frame-monitor-attributes): New functions.
9544
203a5572
LL
95452013-05-06 Leo Liu <sdl.web@gmail.com>
9546
9547 * progmodes/octave.el (octave-syntax-propertize-function): Change
9548 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9549 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 9550 (octave-completion-at-point): Rename from
203a5572
LL
9551 octave-completion-at-point-function.
9552 (inferior-octave-directory-tracker): Robustify.
9553 (octave-text-functions): Remove and fix its uses. No such things
9554 any more.
9555
ee6cff99
SM
95562013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9557
9558 * emacs-lisp/trace.el (trace--display-buffer): New function.
9559 (trace-make-advice): Use it.
9560
32985194
JL
95612013-05-06 Juri Linkov <juri@jurta.org>
9562
9563 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9564 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9565 Doc fix.
9566 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9567 in the help string. (Bug#12985)
9568
a1c700de
KD
95692013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9570
9571 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9572
c67c0839
SM
95732013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9574
323885fd
SM
9575 * progmodes/perl-mode.el: Add support for here documents.
9576 (perl-syntax-propertize-function): Match here-doc markers.
9577 (perl-syntax-propertize-special-constructs): Find their end.
9578 (perl-imenu-generic-expression): Use [:alnum:].
9579
c67c0839
SM
9580 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9581 (advice--add-function): Refresh the advice if already present
9582 (bug#14317).
9583
d491e7a8
IA
95842013-05-06 Ivan Andrus <darthandrus@gmail.com>
9585
9586 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9587
ddf9925e
GM
95882013-05-06 Glenn Morris <rgm@gnu.org>
9589
7cc3af27
GM
9590 * w32-fns.el (w32-charset-info-alist): Declare.
9591
16e343d6
GM
9592 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9593 of its defcustom properties.
9594 (eshell-cmpl-initialize): No need to load pcomplete.
9595
7d889a47
GM
9596 * generic-x.el: No need to require comint when compiling.
9597
ddf9925e
GM
9598 * net/eudc-export.el: Make it loadable without bbdb.
9599 (top-level): Use require rather than load-library.
9600 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9601 (eudc-batch-export-records-to-bbdb)
9602 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9603 Require bbdb.
9604
1e2c18df
SM
96052013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9606
9607 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9608 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9609 some tweaks, instead.
9610
02502a5f
LL
96112013-05-05 Leo Liu <sdl.web@gmail.com>
9612
9613 * progmodes/octave.el (octave-font-lock-keywords)
9614 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9615 (inferior-octave-send-list-and-digest): Improve error message.
9616 (octave-mode, inferior-octave-mode): Use setq-local.
9617 (octave-help): Set info-lookup-mode.
9618
0dc04f42
RS
96192013-05-05 Richard Stallman <rms@gnu.org>
9620
6c54491c
RS
9621 * vc/compare-w.el (compare-windows-whitespace):
9622 Treat no-break space as whitespace.
9623
0dc04f42
RS
9624 * mail/rmailsum.el (rmail-summary-rmail-update):
9625 Detect empty summary and don't change selected message.
9626 (rmail-summary-goto-msg): Likewise.
9627
df8f35df
RS
9628 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9629 Doc fixes, rename args.
9630
5356e1a3
AM
96312013-05-05 Alan Mackenzie <acm@muc.de>
9632
9633 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9634
d44014cb
JL
96352013-05-05 Juri Linkov <juri@jurta.org>
9636
9637 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9638 to not add the length of the summary segment to the return value.
9639 (Bug#14125)
9640
c129b51f
LL
96412013-05-05 Leo Liu <sdl.web@gmail.com>
9642
9643 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9644 (inferior-octave-output-filter): Remove.
9645 (octave-send-region, inferior-octave-startup): Fix callers.
9646 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9647 (octave-binary-file-extensions): New user variable.
9648 (octave-find-definition): Confirm if opening binary files.
9649 (octave-help-file): Use octave-find-definition to get the binary
9650 confirmation.
9651 (octave-help): Adjust for octave-help-file change.
9652
aa7dab97
SM
96532013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9654
9655 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9656 Merge the two entries that handle function definitions.
9657 (pascal--syntax-propertize): New const.
9658 (pascal-mode): Use it. Use setq-local.
9659
fd3a9a6b
GM
96602013-05-04 Glenn Morris <rgm@gnu.org>
9661
9662 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9663 (diary-from-outlook): Respect diary-from-outlook-function.
9664
30c7e542
SM
96652013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9666
9667 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9668 Move the declaration from C.
9669 (read-minibuffer, eval-minibuffer): Move from C.
9670 (completion-setup-function): Avoid minibuffer-completion-contents.
9671
b54f978b
LL
96722013-05-03 Leo Liu <sdl.web@gmail.com>
9673
9674 * progmodes/octave.el (octave-font-lock-keywords): Do not
9675 dehighlight 'end' in comments or strings.
30c7e542
SM
9676 (octave-completing-read, octave-goto-function-definition):
9677 New helpers.
d4d0f9b3
LL
9678 (octave-help-buffer): New user variable.
9679 (octave-help-file, octave-help-function): New button types.
9680 (octave-help): New command and bind it to C-h ;.
9681 (octave-find-definition): New command and bind it to M-.
d74a1581 9682 (user-error): Alias to error if not defined.
b54f978b 9683
27135018
LL
96842013-05-02 Leo Liu <sdl.web@gmail.com>
9685
9686 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9687 for \. (bug#14332)
9688 (octave-font-lock-keywords): Include [ and {.
9689
0d634d3a
LL
96902013-05-02 Leo Liu <sdl.web@gmail.com>
9691
9692 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9693 (inferior-octave): Remove calling comint-mode and return the buffer.
9694 (inferior-octave-startup): Cosmetic changes.
9695
b4c8295e
LL
96962013-05-02 Leo Liu <sdl.web@gmail.com>
9697
30c7e542
SM
9698 * progmodes/octave.el (octave-syntax-propertize-function):
9699 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 9700
f12ad6ec
GM
97012013-05-02 Glenn Morris <rgm@gnu.org>
9702
9703 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9704 * desktop.el (vc-dir-mode): Just autoload it here.
9705
30cac1e0
AM
97062013-05-02 Alan Mackenzie <acm@muc.de>
9707
9708 Eliminate variable c-standard-font-lock-fontify-region-function.
9709 * progmodes/cc-mode.el
9710 (c-standard-font-lock-fontify-region-function): Remove.
9711 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9712
d8ef28b1
LL
97132013-05-01 Leo Liu <sdl.web@gmail.com>
9714
2640d52e 9715 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 9716 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 9717 variables were removed from Octave in 2007.
d8ef28b1
LL
9718 (inferior-octave-startup): Fix uses.
9719 (comint-line-beginning-position): Remove compatibility code for
9720 emacs 21.
9721
ac63ec89
JL
97222013-05-01 Juri Linkov <juri@jurta.org>
9723
9724 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9725
9e9be37c
JL
97262013-05-01 Juri Linkov <juri@jurta.org>
9727
9728 * comint.el (comint-previous-matching-input): Don't print message
9729 "History item: %d" when `isearch-mode' is active.
9730 (comint-history-isearch-message): Print message "History item: %d"
9731 when `comint-input-ring-index' is not empty and this function is
9732 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9733
9b92c13b
LL
97342013-05-01 Leo Liu <sdl.web@gmail.com>
9735
9736 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9737 definitions. Use completion-at-point to insert keywords.
9738 (octave-abbrev-start): Remove.
9739 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9740
b12d33d7
LL
97412013-04-30 Leo Liu <sdl.web@gmail.com>
9742
9743 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9744 change.
9745
3d1c39fa
AM
97462013-04-30 Alan Mackenzie <acm@muc.de>
9747
9748 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
9749 * progmodes/cc-engine.el (c-back-over-member-initializers):
9750 new function.
3d1c39fa
AM
9751 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9752 (most) member init lists.
9753
5147fc17
RS
97542013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9755
9756 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9757 variable.
9758
5b78d7fc
LL
97592013-04-30 Leo Liu <sdl.web@gmail.com>
9760
9761 * progmodes/octave.el (octave-variables): Remove. No builtin
9762 variables any more. All converted to functions.
9763 (octave-font-lock-keywords, octave-completion-at-point-function):
9764 Fix uses.
9765 (octave-font-lock-texinfo-comment): New user variable.
9766 (octave-texinfo-font-lock-keywords): New variable for texinfo
9767 comment block.
9768 (octave-function-comment-block): New face.
9769 (octave-font-lock-texinfo-comment): New function.
9770 (octave-mode): Font lock texinfo comment block.
9771
38d8527b
LL
97722013-04-29 Leo Liu <sdl.web@gmail.com>
9773
9774 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9775 indexing expression.
9776 (octave-continuation-string): Do not use \.
9777 (inferior-octave-complete-impossible): Remove.
9778 (inferior-octave-completion-table)
9779 (inferior-octave-completion-at-point): Remove its uses.
9780 (inferior-octave-startup): completion_matches was introduced to
9781 Octave in 1996 so safe to assume it.
9782 (octave-function-file-comment): Improve to follow how Octave does it.
9783 (octave-update-function-file-comment): Tweak.
9784
2ec12cb0
LL
97852013-04-29 Leo Liu <sdl.web@gmail.com>
9786
9787 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9788 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9789 (octave-function-file-comment): Fix typo.
9790 (octave-sync-function-file-names): Use read-char-choice.
9791
6eaed048
JB
97922013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9793
9794 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9795 to t for the less important warnings.
9796
3ffa2d4f
DH
97972013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9798
9799 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9800
685c9501
GM
98012013-04-27 Glenn Morris <rgm@gnu.org>
9802
9803 * vc/log-view.el (log-view-current-entry):
9804 Treat "---" separator lines as part of the following rev. (Bug#14169)
9805
0208ede7
JL
98062013-04-27 Juri Linkov <juri@jurta.org>
9807
9808 * subr.el (read-number): Doc fix about using it by interactive
9809 code letter `n'. (Bug#14254)
9810
5db9dace
JL
98112013-04-27 Juri Linkov <juri@jurta.org>
9812
9813 * desktop.el (desktop-auto-save-timeout): New option.
9814 (desktop-file-checksum): New variable.
9815 (desktop-save): Add optional arg `auto-save' and don't auto-save
9816 if nothing changed.
9817 (desktop-auto-save-timer): New variable.
9818 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9819 (after-init-hook): Call `desktop-auto-save-set-timer'.
9820 Suggested by Reuben Thomas <rrt@sc3d.org> in
9821 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9822
b7260dd4
LL
98232013-04-27 Leo Liu <sdl.web@gmail.com>
9824
9825 * progmodes/octave.el (octave-function-file-p)
9826 (octave-skip-comment-forward, octave-function-file-comment)
9827 (octave-update-function-file-comment): New functions.
9828 (octave-mode-map): Bind C-c ; to
9829 octave-update-function-file-comment.
9830 (octave-mode-menu): Add octave-update-function-file-comment.
9831 (octave-mode, inferior-octave-mode): Fix doc-string.
9832 (octave-insert-defun): Conform to Octave's coding convention.
9833 (Bug#14285)
9834
9835 * files.el (basic-save-buffer): Don't let errors in
9836 before-save-hook prevent saving buffer.
9837
c46da669
RW
98382013-04-20 Roland Winkler <winkler@gnu.org>
9839
9840 * faces.el (read-face-name): Use completing-read if arg multiple
9841 is nil.
9842
a81ee1eb
IL
98432013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9844
9845 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
9846 displayed, move point to after the totals line.
9847 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
9848 for the details.
9849
4fac34ce
SM
98502013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9851
9852 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9853 Add current dir to the load-path.
9854 (package-generate-autoloads): Don't rely on
9855 autoload-ensure-default-file.
9856
f6bfc063
RT
98572013-04-26 Reuben Thomas <rrt@sc3d.org>
9858
d40ab5cf
BG
9859 * textmodes/remember.el (remember-store-in-files): Document that
9860 the file name format is passed to `format-time-string'.
f6bfc063 9861
e55d3b04
LL
98622013-04-26 Leo Liu <sdl.web@gmail.com>
9863
9864 * progmodes/octave.el (octave-sync-function-file-names): New function.
9865 (octave-mode): Use it in before-save-hook.
9866
e53052d3
SM
98672013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9868
140ef50c
SM
9869 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9870 (bug#14274).
9871
e53052d3
SM
9872 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9873 \n and comment, even if it's not an implicit ; (bug#14218).
9874
af80458d 98752013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
9876
9877 * subr.el (read-number): Once more use `read' rather than
9878 `string-to-number', to trap non-numeric input. (Bug#14254)
9879
af80458d 98802013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
9881
9882 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9883 Use `syntax-multiline' text property consistently instead of
8a621d53 9884 `font-lock-multiline'. (Bug#14237)
70203c2e 9885
e6ea1f6c
GM
98862013-04-26 Glenn Morris <rgm@gnu.org>
9887
9888 * emacs-lisp/shadow.el (list-load-path-shadows):
9889 No longer necessary to check for duplicate simple.el, since
9890 2012-07-07 change to init_lread to not include installation lisp
9891 directories in load-path when running uninstalled. (Bug#14270)
9892
070ccca4
LL
98932013-04-26 Leo Liu <sdl.web@gmail.com>
9894
9895 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9896 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 9897 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
9898 octave-in-string-or-comment-p.
9899 (octave-in-comment-p, octave-in-string-p)
9900 (octave-in-string-or-comment-p): Replace defsubst with defun.
9901
9d1c5fb6
PE
99022013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9903
9904 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9905
c034abda
BG
99062013-04-25 Bastien Guerry <bzg@gnu.org>
9907
9908 * textmodes/remember.el (remember-data-directory)
9909 (remember-directory-file-name-format): Fix custom types.
9910
584ea277
LL
99112013-04-25 Leo Liu <sdl.web@gmail.com>
9912
e53052d3
SM
9913 * progmodes/octave.el (octave-completion-at-point-function):
9914 Make use of inferior octave process.
584ea277
LL
9915 (octave-initialize-completions): Remove.
9916 (inferior-octave-completion-table): New function.
9917 (inferior-octave-completion-at-point): Use it.
9918 (octave-completion-alist): Remove.
9919
1693b06a
SM
99202013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9921
9922 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9923 (opascal-mode-syntax-table): New var.
9924 (opascal-literal-kind, opascal-is-literal-end)
9925 (opascal-literal-token-at): Rewrite.
9926 (opascal--literal-start-re, opascal-font-lock-keywords)
9927 (opascal--syntax-propertize): New constants.
9928 (opascal-font-lock-defaults): Adjust.
9929 (opascal-mode): Use them. Set comment-<foo> variables as well.
9930 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9931 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9932 (delphi-other-face, opascal-other-face): Remove face variables.
9933 (opascal-save-state): Remove macro.
9934 (opascal-fontifying-progress-step): Remove constant.
9935 (opascal--ignore-changes): Remove var.
9936 (opascal-set-token-property, opascal-parse-next-literal)
9937 (opascal-is-stable-literal, opascal-complete-literal)
9938 (opascal-is-literal-start, opascal-face-of)
9939 (opascal-parse-region, opascal-parse-region-until-stable)
9940 (opascal-fontify-region, opascal-after-change)
9941 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9942 (opascal-debug-parse-region, opascal-debug-parse-window)
9943 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9944 (opascal-debug-fontify-buffer): Remove.
9945 (opascal-debug-mode-map): Adjust accordingly.
9946
be64c05d
LL
99472013-04-25 Leo Liu <sdl.web@gmail.com>
9948
9949 Merge octave-mod.el and octave-inf.el into octave.el with some
9950 cleanups.
9951 * progmodes/octave.el: New file renamed from octave-mod.el.
9952 * progmodes/octave-inf.el: Merged into octave.el.
9953 * progmodes/octave-mod.el: Renamed to octave.el.
9954
d79d37bd
TH
99552013-04-25 Tassilo Horn <tsdh@gnu.org>
9956
9957 * textmodes/reftex-vars.el
9958 (reftex-label-ignored-macros-and-environments): New defcustom.
9959
9960 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9961
ced3fc5d
SM
99622013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9963
9964 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9965 (smie-indent-keyword): Improve the check to ensure that the next
9966 comment is really on the same line.
9967 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9968
9969 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9970 semi-colons if the line is not otherwise empty (bug#14218).
9971
1c141dad
GM
99722013-04-25 Glenn Morris <rgm@gnu.org>
9973
9974 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9975
5058062a
SM
99762013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9977
9978 * progmodes/opascal.el (opascal-set-token-property): Rename from
9979 opascal-set-text-properties and only set `token' (bug#14134).
9980 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9981 (opascal-literal-text-properties): Remove.
9982 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9983 Adjust callers.
9984
5db9dace 99852013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
9986
9987 * textmodes/remember.el (remember-handler-functions): Add an
9988 option for a new handler `remember-store-in-files'.
9989 (remember-data-directory, remember-directory-file-name-format):
9990 New options.
9991 (remember-store-in-files): New function to store remember notes
9992 as separate files within a directory.
9993
4391916c
MH
99942013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9995
9996 * progmodes/compile.el (compilation-next-error-function):
9997 Pass "formats" to compilation-find-file (bug#11777).
9998
bb7cdf58
GM
99992013-04-24 Glenn Morris <rgm@gnu.org>
10000
3b8fe752 10001 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
10002 * vc/vc-hg.el (vc-hg-print-log):
10003 * vc/vc-svn.el (vc-svn-print-log):
10004 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10005
bb7cdf58
GM
10006 * vc/vc-bzr.el (vc-bzr-print-log):
10007 * vc/vc-cvs.el (vc-cvs-print-log):
10008 * vc/vc-git.el (vc-git-print-log):
10009 * vc/vc-hg.el (vc-hg-print-log):
10010 * vc/vc-mtn.el (vc-mtn-print-log):
10011 * vc/vc-rcs.el (vc-rcs-print-log):
10012 * vc/vc-sccs.el (vc-sccs-print-log):
10013 * vc/vc-svn.el (vc-svn-print-log):
10014 * vc/vc.el (vc-print-log-internal): Doc fixes.
10015
b46a056e
GM
100162013-04-23 Glenn Morris <rgm@gnu.org>
10017
10018 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10019 Remove venerable code attempting to avoid substitute-command-keys.
10020
0aecf718
TH
100212013-04-23 Tassilo Horn <tsdh@gnu.org>
10022
4391916c
MH
10023 * textmodes/reftex-vars.el (reftex-label-regexps):
10024 Call `reftex-compile-variables' after changes to this variable.
0aecf718 10025
117f94cf
SM
100262013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10027
4391916c 10028 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
10029 Use lexical-binding.
10030 (jit-lock-force-redisplay): Use markers, check buffer's continued
10031 existence and beware narrowed buffers.
10032 (jit-lock-fontify-now): Adjust call accordingly.
10033
1d829c64
SM
100342013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10035
10036 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10037 to avoid misleading the user.
10038
72d548a9
LL
100392013-04-22 Leo Liu <sdl.web@gmail.com>
10040
10041 * info-look.el: Prefer latex2e.info. (Bug#14240)
10042
d0853629
MA
100432013-04-22 Michael Albinus <michael.albinus@gmx.de>
10044
10045 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10046
10047 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10048 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10049 (tramp-set-completion-function, tramp-parse-putty):
10050 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10051 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10052 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10053 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10054 (tramp-call-local-coding-command): Use `tramp-call-process'
10055 instead of `tramp-compat-call-process'.
10056
10057 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10058 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10059 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 10060 (tramp-find-inline-compress): Improve traces.
d0853629
MA
10061 (tramp-maybe-send-script): Check for Perl binary.
10062 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10063
38cc0210
DU
100642013-04-22 Daiki Ueno <ueno@gnu.org>
10065
10066 * epg.el (epg-context-pinentry-mode): New function.
10067 (epg-context-set-pinentry-mode): New function.
10068 (epg--start): Pass --pinentry-mode option to gpg command.
10069
cc641ee1
XF
100702013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10071
02d844b5 10072 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 10073 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 10074 `completion-at-point'. (Bug#13774)
5d4e5c31 10075
cc641ee1
XF
10076 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10077 default key binding for `describe-distribution' has been moved to
10078 `C-h C-o'. (Bug#13970)
10079
1b42ee43
GM
100802013-04-21 Glenn Morris <rgm@gnu.org>
10081
10082 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10083 Add doc strings.
10084 (vc-print-log): Clarify interactive prompt.
10085
a6d63d97
GM
100862013-04-20 Glenn Morris <rgm@gnu.org>
10087
10088 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10089 No longer include timestamp etc information.
10090
d7f5c16f
RW
100912013-04-20 Roland Winkler <winkler@gnu.org>
10092
10093 * faces.el (read-face-name): Bug fix, return just one face if arg
10094 multiple is nil. (Bug#14209)
10095
bcd7a0a4
SM
100962013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10097
10098 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10099 (remove-function): Autoload.
10100
10101 * comint.el (comint-redirect-original-filter-function): Remove.
10102 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
10103 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10104 (vc-cvs-annotate-command):
bcd7a0a4
SM
10105 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10106 * progmodes/prolog.el (prolog-consult-compile):
10107 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10108 Use add/remove-function instead.
10109 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10110 (gud-tooltip-process-output, gud-tooltip-tips):
10111 Use add/remove-function instead.
10112 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10113 (scheme-interaction-mode, exit-scheme-interaction-mode):
10114 Use add/remove-function instead.
10115
10116 * vc/vc-dispatcher.el: Use lexical-binding.
10117 (vc--process-sentinel): Rename from vc-process-sentinel.
10118 Change last arg to be the code to run. Don't use vc-previous-sentinel
10119 and vc-sentinel-commands any more.
10120 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10121 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10122
e36b2d20 101232013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 10124
bcd7a0a4 10125 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 10126 Handle function names with a single character. (Bug#14111)
4d3268ba 10127
781b4af6 101282013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
10129
10130 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10131 for subroutines defined in an eval (bug#14182).
10132
7d688336
TV
101332013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10134
10135 * bookmark.el (bookmark-completing-read): Improve handling of empty
10136 string (bug#14176).
10137
31dcede0
SM
101382013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10139
10140 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10141
adc31213
FEG
101422013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10143
10144 New faster Imenu implementation (bug#14058).
10145 * progmodes/python.el:
10146 (python-imenu-prev-index-position):
10147 (python-imenu-format-item-label-function)
10148 (python-imenu-format-parent-item-label-function)
10149 (python-imenu-format-parent-item-jump-label-function):
10150 New vars.
10151 (python-imenu-format-item-label)
10152 (python-imenu-format-parent-item-label)
10153 (python-imenu-format-parent-item-jump-label)
10154 (python-imenu--put-parent, python-imenu--build-tree)
10155 (python-imenu-create-index, python-imenu-create-flat-index)
10156 (python-util-popn): New functions.
10157 (python-mode): Set imenu-create-index-function to
10158 python-imenu-create-index.
10159
cdca8255
SM
101602013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10161
10162 * winner.el (winner-active-region): Use region-active-p, activate-mark
10163 and deactivate-mark (bug#14225).
10164
10165 * simple.el (deactivate-mark): Don't inline it.
10166
beb42340
MA
101672013-04-18 Michael Albinus <michael.albinus@gmx.de>
10168
10169 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10170
fc7f4d7e
TH
101712013-04-18 Tassilo Horn <tsdh@gnu.org>
10172
10173 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10174 file extensions from the archive-mode entry in order to prefer
10175 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10176
29f47822
LL
101772013-04-18 Leo Liu <sdl.web@gmail.com>
10178
10179 * bindings.el (help-event-list): Add ?\?.
10180
d36ed1c8
SM
101812013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10182
10183 * subr.el (with-wrapper-hook): Declare obsolete.
10184 * simple.el (filter-buffer-substring-function): New hook.
10185 (filter-buffer-substring): Use it.
10186 (filter-buffer-substring-functions): Mark obsolete.
10187 * minibuffer.el (completion-in-region-function): New hook.
10188 (completion-in-region): Use it.
10189 (completion-in-region-functions): Mark obsolete.
10190 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10191 * abbrev.el (abbrev-expand-function): New hook.
10192 (expand-abbrev): Use it.
10193 (abbrev-expand-functions): Mark obsolete.
10194 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10195 and :filter-return.
10196
04754d36
FEG
101972013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10198
10199 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10200 and do not care about match data.
10201
dd8791e9
SM
102022013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10203
10204 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10205 completion tables when completing error conditions and
10206 `declare' arguments.
10207 (lisp-complete-symbol, field-complete): Mark as obsolete.
10208 (check-parens): Unmatched parens are user errors.
10209 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10210
ffe54a13
AM
102112013-04-17 Michal Nazarewicz <mina86@mina86.com>
10212
dd8791e9
SM
10213 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10214 command changed buffer (ie. `flyspell-pre-buffer' is not current
10215 buffer), which prevents making decisions based on invalid value of
10216 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10217 cause an error when `flyspell-pre-point' was nil after switching
10218 buffers.
10219 (flyspell-post-command-hook): No longer needs to change buffers when
10220 checking pre-word. While at it remove unnecessary progn.
ffe54a13 10221
ec7e39f2
AM
102222013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10223
10224 * textmodes/ispell.el (ispell-add-per-file-word-list):
10225 Fix `flyspell-correct-word-before-point' error when accepting
10226 words and `coment-padding' is an integer by using
10227 `comment-normalize-vars' (Bug #14214).
10228
083850a6
FEG
102292013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10230
10231 New defun movement commands.
10232 * progmodes/python.el (python-nav--syntactically)
10233 (python-nav--forward-defun, python-nav-backward-defun)
10234 (python-nav-forward-defun): New functions.
10235
619ed6e1
FEG
102362013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10237
10238 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10239 (python-syntax-context): Use named compiler-macro for backwards
10240 compatibility with Emacs 24.x.
10241
7a1beb6c
LL
102422013-04-17 Leo Liu <sdl.web@gmail.com>
10243
10244 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10245 octave-hide-process-buffer.
10246
2d3fa3e5
SM
102472013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10248
10249 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10250 (bug#14216).
10251
7ce5be54
JPG
102522013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10253
10254 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10255 Fix adjustment of offset when receiving incomplete responses from GDB
10256 (bug#14129).
10257
351edece
SM
102582013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10259
10260 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10261 python-mode-abbrev-table.
10262 (python-skeleton-define): Adjust accordingly.
10263 (python-mode-abbrev-table): New table that inherits from it so that
10264 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10265
10266 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10267 (abbrev-symbol): Use it.
10268 (abbrev--before-point): Use it since we already handle inheritance.
10269
613f9481
LL
102702013-04-16 Leo Liu <sdl.web@gmail.com>
10271
10272 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10273 binding to info-lookup-symbol.
10274
51646b62
JB
102752013-04-16 Juanma Barranquero <lekktu@gmail.com>
10276
10277 * minibuffer.el (completion--twq-all):
10278 * term/ns-win.el (ns-initialize-window-system):
10279 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10280
efb3f01d
SM
102812013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10282
36c0a301
SM
10283 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10284 global bindings.
10285
efb3f01d
SM
10286 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10287
fb549d64
DG
102882013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10289
10290 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10291 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10292 to nil.
10293 (ruby-end-of-defun): Remove the unused arg, change the docstring
10294 to reflect that this function is only used as the value of
10295 `end-of-defun-function'.
10296 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10297 to reflect an earlier change that beginning/end-of-defun functions
10298 jump between methods in a class definition, as well as top-level
10299 functions.
10300
21e8fe2f
SM
103012013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10302
10303 * minibuffer.el (minibuffer-complete): Don't just scroll
10304 a *Completions* that's been iconified.
10305 (minibuffer-force-complete): Make sure repetitions do cycle when going
10306 through completion-in-region -> minibuffer-complete.
10307
20e527d0
AM
103082013-04-15 Alan Mackenzie <acm@muc.de>
10309
10310 Correct the placement of c-cpp-delimiters when there're #s not at
10311 col 0.
10312
10313 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10314 place a submatch around the #.
21e8fe2f
SM
10315 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10316 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
10317 on the #, not BOL.
10318
dabefae5
SM
103192013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10320
10321 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10322 (advice--member-p): New arg `name'.
10323 (advice--add-function, advice-member-p): Use it (bug#14202).
10324
85c9ab64
AM
103252013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10326
10327 Reformulate java imenu-generic-expression.
10328 The old expression contained ill formed regexps.
10329
10330 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10331 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10332 (cc-imenu-java-method-arg-regexp): New defconsts.
10333 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 10334 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
10335 handling of spaces in the regexp.
10336
0f821d99
AM
103372013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10338
10339 * textmodes/ispell.el (ispell-command-loop): Remove
10340 flyspell highlight of a word when ispell accepts it (bug #14178).
10341
eb922adf
MA
103422013-04-15 Michael Albinus <michael.albinus@gmx.de>
10343
10344 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10345 uses code from the previous `ange-ftp-run-real-handler'.
10346 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10347 only in case that function exist. This is needed for proper
10348 unloading of Tramp.
10349
4d9a0979
TH
103502013-04-15 Tassilo Horn <tsdh@gnu.org>
10351
10352 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10353
10354 * textmodes/reftex.el (reftex-compile-variables): Use it.
10355
a829b0dc
SM
103562013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10357
91e8293c
SM
10358 * files.el (normal-mode): Only use default major-mode if no other mode
10359 was specified.
10360
830aed4d
SM
10361 * emacs-lisp/trace.el (trace-values): New function.
10362
a829b0dc
SM
10363 * files.el: Allow : in local variables (bug#14089).
10364 (hack-local-variable-regexp): New var.
10365 (hack-local-variables-prop-line, hack-local-variables): Use it.
10366
7ae9f0fb
RW
103672013-04-13 Roland Winkler <winkler@gnu.org>
10368
10369 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10370 data before it gets modified by bibtex-beginning-of-entry.
10371
6646e848
RW
103722013-04-13 Roland Winkler <winkler@gnu.org>
10373
10374 * textmodes/bibtex.el (bibtex-url): Doc fix.
10375
103762013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
10377
10378 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10379 does not visit a BibTeX file, exclude it from the list of buffers
10380 returned by bibtex-initialize.
10381
0aa3616e
SB
103822013-04-13 Stephen Berman <stephen.berman@gmx.net>
10383
10384 * window.el (split-window): Remove interactive form, since as a
10385 command this function is a special case of split-window-below.
10386 Correct doc string.
10387
011cddd6
RW
103882013-04-12 Roland Winkler <winkler@gnu.org>
10389
10390 * faces.el (read-face-name): Do not override value of arg default.
10391 Allow single faces and strings as default values. Remove those
10392 elements from return value that are not faces.
10393 (describe-face): Simplify.
10394 (face-at-point): New optional args thing and multiple so that this
10395 function can provide the same functionality previously provided by
10396 read-face-name.
10397 (make-face-bold, make-face-unbold, make-face-italic)
10398 (make-face-unitalic, make-face-bold-italic, invert-face)
10399 (modify-face, read-face-and-attribute): Use face-at-point.
10400
10401 * cus-edit.el (customize-face, customize-face-other-window)
10402 * cus-theme.el (custom-theme-add-face)
10403 * face-remap.el (buffer-face-set)
10404 * facemenu.el (facemenu-set-face): Use face-at-point.
10405
f24e0036
MA
104062013-04-12 Michael Albinus <michael.albinus@gmx.de>
10407
10408 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10409
da3cda2d
TH
104102013-04-10 Tassilo Horn <tsdh@gnu.org>
10411
10412 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10413 off leading { and trailing } from field values.
10414
15e54145
SM
104152013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10416
78ce603d
SM
10417 * emacs-lisp/timer.el (timer--check): New function.
10418 (timer--time, timer-set-function, timer-event-handler): Use it.
10419 (timer-set-idle-time): Simplify.
10420 (timer--activate): CSE.
10421 (timer-event-handler): Give more info in error message.
10422 (internal-timer-start-idle): New function, moved from C.
10423
15e54145
SM
10424 * mpc.el (mpc-proc): Add `restart' argument.
10425 (mpc-proc-cmd): Use it.
10426 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10427 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10428 less often.
10429
7144c627
MY
104302013-04-10 Masatake YAMATO <yamato@redhat.com>
10431
10432 * progmodes/sh-script.el: Implement `sh-mode' own
10433 `add-log-current-defun-function' (bug#14112).
10434 (sh-current-defun-name): New function.
10435 (sh-mode): Use the function.
10436
b39792eb
BG
104372013-04-09 Bastien Guerry <bzg@gnu.org>
10438
10439 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10440
8acdeb71
SM
104412013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10442
6fcdab68
SM
10443 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10444
8acdeb71
SM
10445 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10446 timer (bug#14156).
10447
e3e7b504
NF
104482013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10449
10450 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10451 declaration.
10452
201bb296
LL
104532013-04-07 Leo Liu <sdl.web@gmail.com>
10454
10455 * pcmpl-x.el: New file.
10456
ebb19708
DA
104572013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10458
10459 Do not set x-display-name until X connection is established.
10460 This is needed to prevent from weird situation described at
10461 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10462 * frame.el (make-frame): Set x-display-name after call to
10463 window system initialization function, not before.
10464 * term/x-win.el (x-initialize-window-system): Add optional
10465 display argument and use it.
10466 * term/w32-win.el (w32-initialize-window-system):
10467 * term/ns-win.el (ns-initialize-window-system):
10468 * term/pc-win.el (msdos-initialize-window-system):
10469 Add compatible optional display argument.
10470
33bb237a
EZ
104712013-04-06 Eli Zaretskii <eliz@gnu.org>
10472
10473 * files.el (normal-backup-enable-predicate): On MS-Windows and
10474 MS-DOS compare truenames of temporary-file-directory and of the
10475 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10476 don't fail comparison by compare-strings. Also, compare file
10477 names case-insensitively on MS-Windows and MS-DOS.
10478
134abf1f
SM
104792013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10480
10481 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10482 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10483
d695cb94
DG
104842013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10485
e3e7b504
NF
10486 * whitespace.el (whitespace-color-on, whitespace-color-off):
10487 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 10488
f4ad7ea1 104892013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
10490
10491 * ispell.el (ispell-set-spellchecker-params):
10492 Really set `ispell-args' for all equivs.
10493
632556e4
SM
104942013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10495
10496 * ido.el (ido-completions): Use extra elements of ido-decorations
10497 (bug#14143).
10498 (ido-decorations): Update docstring.
10499
2a417372
MA
105002013-04-05 Michael Albinus <michael.albinus@gmx.de>
10501
10502 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10503 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10504 nil during initialization, in order not to miss changes since the
10505 file was opened. (Bug#14140)
10506
fc164b0c
LL
105072013-04-05 Leo Liu <sdl.web@gmail.com>
10508
10509 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10510
0ccecc08
JB
105112013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10512
10513 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10514
51af1aa2
GM
105152013-04-04 Glenn Morris <rgm@gnu.org>
10516
10517 * electric.el (electric-pair-inhibit-predicate): Add :version.
10518
b208ebc6
SM
105192013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10520
10521 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10522 when a package is required several times (bug#14082).
10523
f3d3eaf0
RW
105242013-04-04 Roland Winkler <winkler@gnu.org>
10525
10526 * faces.el (read-face-name): Behave as promised by the docstring.
10527 Assume that arg default is a list of faces.
10528 (describe-face): Call read-face-name with list of default faces.
10529
2575da50
TV
105302013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10531
10532 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10533 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10534 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10535 the header.
10536 (bookmark-exit-hook-internal): Save even if list is empty.
10537
397703b4
YH
105382013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10539
10540 * emacs-lisp/package.el (package-pinned-packages): New var.
10541 (package--add-to-archive-contents): Obey it (bug#14118).
10542
691e26ae
AM
105432013-04-03 Alan Mackenzie <acm@muc.de>
10544
8a621d53
JB
10545 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10546 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
10547
10548 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10549 parameter `not-in-delimiter'. Handle being inside comment opener.
10550 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10551 character in case we're typing a '*' after a '/'.
10552 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10553 instead by passing the parameter to c-state-pp-to-literal.
10554
10555 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10556 for elt. 7 of a parse state.
10557
4b725a70
PE
105582013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10559
10560 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10561 * international/latin1-disp.el, international/mule-util.el:
10562 * language/cyril-util.el, language/european.el, language/ind-util.el:
10563 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10564 * language/tibetan.el, language/viet-util.el:
10565 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10566
15c579f0
SM
105672013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10568
10569 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10570 (electric-pair-post-self-insert-function): Use it.
10571 (electric-pair-default-inhibit): New function, extracted from
10572 electric-pair-post-self-insert-function.
10573
a77e2924
RW
105742013-03-31 Roland Winkler <winkler@gnu.org>
10575
10576 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10577
2bd8a4a8
SM
105782013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10579
10580 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10581
8d3655be 105822013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
10583
10584 Un-indent after "pass" and "return" statements (Bug#13888)
10585 * progmodes/python.el (python-indent-block-enders): New var.
10586 (python-indent-calculate-indentation): Use it.
10587
8d3655be 105882013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
10589
10590 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10591 defun. Defining it as defalias could introduce too eager
10592 byte-compiler optimization. (Bug#14030)
10593
8d3655be 105942013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
10595
10596 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10597
0b1619da
LL
105982013-03-30 Leo Liu <sdl.web@gmail.com>
10599
10600 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10601 (kmacro-execute-from-register): Pass the keyboard macro to
10602 kmacro-call-macro or repeating won't work correctly.
10603
0b938190
TZ
106042013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10605
10606 * progmodes/subword.el: Back to using `forward-symbol'.
10607
10608 * subr.el (forward-whitespace, forward-symbol)
10609 (forward-same-syntax): Move from thingatpt.el.
10610
35710234
LL
106112013-03-29 Leo Liu <sdl.web@gmail.com>
10612
10613 * kmacro.el (kmacro-to-register): New command.
10614 (kmacro-execute-from-register): New function.
10615 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10616
efc0bb73
SM
106172013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10618
10619 * mpc.el: Use defvar-local and setq-local.
10620 (mpc--proc-connect): Connection failures are not bugs.
10621 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10622 (mpc-volume-map): Bind to the up-events.
10623
75a2f981
TZ
106242013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10625
10626 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10627 instead of `forward-symbol'.
10628
17c781d1
SM
106292013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10630
10631 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10632 (edebug--recursive-edit): Use it.
10633 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10634 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10635
f67bfbcf
LL
106362013-03-28 Leo Liu <sdl.web@gmail.com>
10637
10638 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10639
b59f639d
EZ
106402013-03-27 Eli Zaretskii <eliz@gnu.org>
10641
10642 * facemenu.el (list-colors-callback): New defvar.
10643 (list-colors-redisplay): New function.
10644 (list-colors-display): Install list-colors-redisplay as the
10645 revert-buffer-function. (Bug#14063)
10646
f557c1b1
SM
106472013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10648
b1da2957
SM
10649 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10650 and suffixes don't overlap (bug#14061).
10651
f557c1b1
SM
10652 * case-table.el: Use lexical-binding.
10653 (case-table-get-table): New function.
10654 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10655
002668e1
TZ
106562013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10657
10658 * progmodes/subword.el: Add `superword-mode' to do word motion
10659 over symbol_words (parallels and leverages `subword-mode' which
10660 does word motion inside MixedCaseWords).
10661
73572c72
AG
106622013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10663
78b8f320 10664 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 10665 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 10666
69b2c07e
SM
106672013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10668
10669 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10670 Change return value to be a sexp. Delay `get-buffer' to after
10671 restoring the desktop (bug#13951).
10672
08bb5ee2
LL
106732013-03-26 Leo Liu <sdl.web@gmail.com>
10674
10675 * register.el: Move semantic tag handling back to
10676 cedet/semantic/senator.el. (Bug#14052)
10677
8d4c974e
SM
106782013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10679
10680 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10681 into the prompt either (bug#13963).
10682
b234d92c
SM
106832013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10684
10685 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10686 part of "(error-foo)".
10687
ddfa3cb4
JL
106882013-03-24 Juri Linkov <juri@jurta.org>
10689
10690 * replace.el (list-matching-lines-prefix-face): New defcustom.
10691 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10692 `occur-engine' if `face-differs-from-default-p' returns t.
10693 (occur-engine): Add `,' inside backquote construct to evaluate
10694 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10695 Pass `prefix-face' to the functions `occur-context-lines' and
10696 `occur-engine-add-prefix'.
10697 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10698 `prefix-face' and propertize the prefix with `prefix-face'.
10699 (Bug#14017)
10700
7b0e2f85
LL
107012013-03-24 Leo Liu <sdl.web@gmail.com>
10702
10703 * nxml/rng-valid.el (rng-validate-while-idle)
10704 (rng-validate-quick-while-idle): Guard against deleted buffer.
10705 (Bug#13999)
10706
10707 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10708 is the last entry in kill-buffer-hook.
10709
10710 * files.el (kill-buffer-hook): Doc fix.
10711
b3082f49
DG
107122013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10713
b234d92c
SM
10714 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10715 Make it safe-local.
bde73d27 10716
b3082f49
DG
10717 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10718
a320a2db
LL
107192013-03-23 Leo Liu <sdl.web@gmail.com>
10720
7e74b0fb
LL
10721 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10722 Remove.
10723
10724 * nxml/rng-valid.el (rng-validate-mode)
10725 (rng-after-change-function, rng-do-some-validation):
10726 * nxml/rng-maint.el (rng-validate-buffer):
10727 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10728 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10729 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10730 (nxml-extend-after-change-region): Use with-silent-modifications.
10731
a320a2db
LL
10732 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10733 timer-idle-list.
10734
10735 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10736 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10737 timer-idle-list. (Bug#13999)
10738
e38e6780
JL
107392013-03-23 Juri Linkov <juri@jurta.org>
10740
10741 * info.el (info-index-match): New face.
10742 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10743 main pattern and add text properties with the new face to matches
10744 in index entries relative to the beginning of the index entry.
10745 (Bug#14015)
10746
e8cc7880
DE
107472013-03-21 Eric Ludlam <zappo@gnu.org>
10748
10749 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10750 Inhibit read only while inserting objects.
10751
9bb0d822
TZ
107522013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10753
10754 * progmodes/cfengine.el: Update docs to mention
10755 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10756 symbol motion. Remove "_" from the word syntax.
10757
aa703640
TZ
107582013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10759
10760 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10761 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10762
afff09d0
JL
107632013-03-20 Juri Linkov <juri@jurta.org>
10764
10765 * info.el (Info-next-reference-or-link)
10766 (Info-prev-reference-or-link): New functions.
10767 (Info-next-reference, Info-prev-reference): Use them.
10768 (Info-try-follow-nearest-node): Handle footnote navigation.
10769 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10770
9a1ff164
SM
107712013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10772
10773 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10774 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10775
2667d15d
PE
107762013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10777
10778 Suppress unnecessary non-ASCII chatter during build process.
10779 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10780 (batch-skkdic-convert): Suppress most of the chatter.
10781 It's not needed so much now that machines are faster,
10782 and its non-ASCII component was confusing; see Dmitry Gutov in
10783 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10784
438b0579
LL
107852013-03-20 Leo Liu <sdl.web@gmail.com>
10786
10787 * ido.el (ido-chop): Fix bug#10994.
10788
c128ab07
DG
107892013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10790
10791 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10792 Remove vars.
9a1ff164
SM
10793 (whitespace-color-on, whitespace-color-off):
10794 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 10795
0e6008c5
SM
107962013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10797
10798 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10799 remapping in mode-line.
10800 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10801
627b52b0
DG
108022013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10803
10804 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10805 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
10806 (whitespace-font-lock-keywords): Change description.
10807 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10808 the constructed keywords instead.
10809 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 10810
50c3a20b
LL
108112013-03-19 Leo Liu <sdl.web@gmail.com>
10812
10813 * progmodes/compile.el (compilation-display-error): New command.
10814 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10815 C-o. (Bug#13992)
10816
2aa2157b
PE
108172013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10818
10819 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10820
e477dbfa
JD
108212013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10822
10823 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10824
64ab82d1
MA
108252013-03-18 Michael Albinus <michael.albinus@gmx.de>
10826
10827 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10828
10829 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10830 * net/tramp-gvfs.el (top):
10831 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10832 (tramp-handle-shell-command): Use it.
10833 (tramp-dissect-file-name): Raise an error when hostname is a
10834 method name, and neither method nor user is specified.
10835
10836 * net/trampver.el: Update release number.
10837
33cef733
LL
108382013-03-18 Leo Liu <sdl.web@gmail.com>
10839
10840 Make sure eldoc can be turned off properly.
10841 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10842 eldoc-mode.
10843 (eldoc-display-message-p): Revert last change.
10844 (eldoc-display-message-no-interference-p)
10845 (eldoc-print-current-symbol-info): Tweak.
10846
2167b7b2
TH
108472013-03-18 Tassilo Horn <tsdh@gnu.org>
10848
10849 * doc-view.el (doc-view-new-window-function): Check the new window
10850 overlay's display property instead the char property of the
10851 buffer's first char. Use `with-selected-window' instead of
10852 `save-window-excursion' with `select-window'.
10853 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 10854 display property instead the char property of the buffer's first char.
2167b7b2 10855
982efbcd
PE
108562013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10857
10858 Automate the build of ja-dic.el (Bug#13984).
10859 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10860 from the input, rather than assume that it's been done for us by the
10861 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10862 the current date into a ja-dic.el comment, as that complicates
10863 regression testing.
10864
2fcc7665
SM
108652013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10866
10867 * whitespace.el: Fix double evaluation.
10868 (whitespace-space, whitespace-hspace, whitespace-tab)
10869 (whitespace-newline, whitespace-trailing, whitespace-line)
10870 (whitespace-space-before-tab, whitespace-indentation)
10871 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10872 obsolete defvars.
10873 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10874 (whitespace-color-on): Use a single font-lock-add-keywords call.
10875 Fix double-evaluation of face variables.
10876
67c0a6e6
MA
108772013-03-17 Michael Albinus <michael.albinus@gmx.de>
10878
2fcc7665
SM
10879 * net/tramp-adb.el (tramp-adb-parse-device-names):
10880 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 10881 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 10882
69489f1d
LL
108832013-03-17 Leo Liu <sdl.web@gmail.com>
10884
10885 Extend eldoc to display info in the mode-line. (Bug#13978)
10886 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10887 (eldoc-mode-line-string): New variable.
10888 (eldoc-minibuffer-message): New function.
10889 (eldoc-message-function): New variable.
10890 (eldoc-message): Use it.
10891 (eldoc-display-message-p)
2fcc7665
SM
10892 (eldoc-display-message-no-interference-p):
10893 Support eldoc-post-insert-mode.
69489f1d
LL
10894
10895 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10896 (eval-expression): Run it.
10897
9c44569e
RW
108982013-03-17 Roland Winkler <winkler@gnu.org>
10899
10900 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10901 strings in the list of return values.
10902
327f1f6f
JB
109032013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10904
10905 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10906 radix before checking for HMS forms.
10907
67ed8fcd
LL
109082013-03-16 Leo Liu <sdl.web@gmail.com>
10909
10910 * progmodes/scheme.el: Add indentation and font-locking for λ.
10911 (Bug#13975)
10912
78be8b64 109132013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
10914
10915 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10916 token before point (bug#13942).
10917
78be8b64 109182013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 10919
95b43468 10920 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 10921
98e775e6
EZ
109222013-03-16 Eli Zaretskii <eliz@gnu.org>
10923
10924 * startup.el (command-line-normalize-file-name): Fix handling of
10925 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10926 <xfq.free@gmail.com> in
10927 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10928
2edd6029
MA
109292013-03-15 Michael Albinus <michael.albinus@gmx.de>
10930
10931 Sync with Tramp 2.2.7.
10932
10933 * net/trampver.el: Update release number.
10934
d35f5864
TH
109352013-03-14 Tassilo Horn <tsdh@gnu.org>
10936
e903c210 10937 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
10938 (doc-view-insert-image): Don't modify overlay associated to
10939 non-live windows, and implement horizontal centering of image in
10940 case it's smaller than the window.
10941 (doc-view-new-window-function): Force redisplay of new windows on
10942 doc-view buffers.
d35f5864 10943
1c4a85ed
KF
109442013-03-13 Karl Fogel <kfogel@red-bean.com>
10945
10946 * saveplace.el (save-place-alist-to-file): Don't sort
10947 `save-place-alist', just pretty-print it (bug#13882).
10948
85b66a21
MA
109492013-03-13 Michael Albinus <michael.albinus@gmx.de>
10950
a020afb9
JB
10951 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10952 Check whether `default-file-name-coding-system' is bound.
10953 It isn't in XEmacs.
85b66a21 10954
175600da
SM
109552013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10956
e7f7cb1a
SM
10957 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10958 backquotes for `obsolete' (bug#13929).
10959
175600da
SM
10960 * international/mule.el (find-auto-coding): Include file name in
10961 obsolescence warning (bug#13922).
10962
ca68a22e
TZ
109632013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10964
10965 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10966 for CFEngine 3-specific indentation.
10967 (cfengine3-indent-line): Use it. Fix up category regex.
10968 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10969
940e5099
SM
109702013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10971
10972 * type-break.el (type-break-file-name):
10973 * textmodes/remember.el (remember-data-file):
10974 * strokes.el (strokes-file):
10975 * shadowfile.el (shadow-initialize):
10976 * saveplace.el (save-place-file):
10977 * ps-bdf.el (bdf-cache-file):
10978 * progmodes/idlwave.el (idlwave-config-directory):
10979 * net/quickurl.el (quickurl-url-file):
10980 * international/kkc.el (kkc-init-file-name):
10981 * ido.el (ido-save-directory-list-file):
10982 * emulation/viper.el (viper-custom-file-name):
10983 * emulation/vip.el (vip-startup-file):
10984 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10985 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10986
cc725808
PE
109872013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10988
10989 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10990 * language/thai-word.el: Switch to UTF-8.
10991
a020afb9 10992See ChangeLog.16 for earlier changes.
e3d51b27
MR
10993
10994;; Local Variables:
10995;; coding: utf-8
e3d51b27
MR
10996;; End:
10997
ab422c4d 10998 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
10999
11000 This file is part of GNU Emacs.
11001
11002 GNU Emacs is free software: you can redistribute it and/or modify
11003 it under the terms of the GNU General Public License as published by
11004 the Free Software Foundation, either version 3 of the License, or
11005 (at your option) any later version.
11006
11007 GNU Emacs is distributed in the hope that it will be useful,
11008 but WITHOUT ANY WARRANTY; without even the implied warranty of
11009 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11010 GNU General Public License for more details.
11011
11012 You should have received a copy of the GNU General Public License
11013 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.