* progmodes/compile.el (compile-goto-error): Do not push-mark.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
a8bbe298
LL
12013-12-16 Leo Liu <sdl.web@gmail.com>
2
3 * progmodes/compile.el (compile-goto-error): Do not push-mark.
4 Remove NOMSG arg and all uses changed.
5
2013a2f9
SM
62013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
7
8 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
9 (cua--deactivate-rectangle): Don't deactivate the mark.
10 (cua-set-rectangle-mark): Don't set mark-active since
11 cua--activate-rectangle already does it for us.
12 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
13 non-rectangular region.
14
15 * emulation/cua-base.el (cua-repeat-replace-region):
16 Use with-current-buffer.
17
18 * net/gnutls.el: Use cl-lib.
19 (gnutls-negotiate): `mapcan' -> cl-mapcan.
20
5ae811dd
TZ
212013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
22
23 * emacs-lisp/package.el (package-built-in-p): Support both
24 built-in and the package.el converted package descriptions.
25 (package-show-package-list): Allow keywords.
26 (package-keyword-button-action): Use it instead of
27 `finder-list-matches'.
28 (package-menu-filter-interactive): Interactive filtering (by
29 keyword) function.
30 (package-menu--generate): Support keywords and change keymappings
31 and headers when they are given.
32 (package--has-keyword-p): Helper function.
33 (package-menu--refresh): Use it.
34 (package--mapc): Helper function.
35 (package-all-keywords): Use it.
36 (package-menu-mode-map): Set up menu items and keybindings to
37 provide a filtering UI.
38
31b4827e
TZ
392013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
40
41 * net/gnutls.el (gnutls-verify-error): New defcustom to control
42 the behavior when a certificate fails validation. Defaults to
43 old behavior: never abort, just warn.
44 (gnutls-negotiate): Use it.
45
f93cc74f
MR
462013-12-14 Martin Rudalics <rudalics@gmx.at>
47
48 * window.el (display-buffer-below-selected): Never split window
49 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
50
f77d7d17
TW
512013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
52
53 * emacs-lisp/package.el (package--prepare-dependencies): New function.
54 (package-buffer-info): Use it (bug#15108).
aa2bddd7
SM
55
56 * icomplete.el (icomplete-completions): Make sure the prefix is already
57 displayed elsewhere before hiding it.
58
276bc333
DG
592013-12-14 Dmitry Gutov <dgutov@yandex.ru>
60
61 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
62 open-paren tokens when preceded by a open-paren, too.
63 (ruby-smie-rules): Handle virtual indentation after open-paren
64 tokens specially. If there is code between it and eol, return the
65 column where is starts (Bug#16118).
66
d43957f3
TZ
672013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
68
a5c1ac0c 69 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 70 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
71 (cfengine3--current-word): Fix parameters.
72 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
73 (cfengine3-completion-function, cfengine3--current-function):
74 Use `assq' for symbols.
d43957f3
TZ
75 (cfengine3--current-function): Fix `cfengine3--current-word' call.
76
06a4f110
GM
772013-12-13 Glenn Morris <rgm@gnu.org>
78
79 * loadup.el (load-path): Warn if site-load or site-init changes it.
80 No more need to reset it when bootstrapping.
81
978a5fda
TZ
822013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
83
84 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
85 locations for cf-promises.
86 (cfengine-mode-syntax-functions-regex): New caching variable.
87 (cfengine3-fallback-syntax): Fallback syntax for cases where
88 cf-promises doesn't run.
89 (cfengine3--current-word): Reimplement using
90 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
91 (cfengine3-completion-function, cfengine3--current-function):
92 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
93 (cfengine3-clear-syntax-cache): New function.
94 (cfengine3-make-syntax-cache): Simplify and create
95 `cfengine-mode-syntax-functions-regex' on demand.
96 (cfengine3-format-function-docstring): Don't call
97 `cfengine3-make-syntax-cache' explicitly.
98
71e6691e
MR
992013-12-13 Martin Rudalics <rudalics@gmx.at>
100
101 Fix windmove-find-other-window broken after pixelwise resizing
102 (Bug#16017).
103 * windmove.el (windmove-other-window-loc): Revert change from
104 2013-12-04.
105 (windmove-find-other-window): Call window-in-direction.
106 * window.el (window-in-direction): New arguments SIGN, WRAP and
107 MINI to emulate original windmove-find-other-window behavior.
108
84c73ba0
DG
1092013-12-13 Dmitry Gutov <dgutov@yandex.ru>
110
111 * simple.el (blink-matching--overlay): New variable.
112 (blink-matching-open): Instead of moving point, highlight the
113 matching paren with an overlay
114 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
115
116 * faces.el (paren-showing-faces, show-paren-match)
117 (show-paren-mismatch): Move from paren.el.
118
b9e20952
LL
1192013-12-13 Leo Liu <sdl.web@gmail.com>
120
121 * indent.el (indent-region): Disable progress reporter in
122 minibuffer. (Bug#16108)
123
124 * bindings.el (visual-order-cursor-movement): Fix version.
125
ce030451
FEG
1262013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
127
128 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
129 Also match after beginning of line.
130 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
131 files. Thanks to Russell Sim. (Bug#15378)
132
4a9c6865
JL
1332013-12-13 Juri Linkov <juri@jurta.org>
134
135 * simple.el <Keypad support>: Remove key bindings duplicated
136 with bindings.el. (Bug#14397)
137
2bc170c3
JL
1382013-12-13 Juri Linkov <juri@jurta.org>
139
140 * comint.el (comint-mode-map): Replace `delete-char' with
141 `delete-forward-char'. (Bug#16109)
142
bc9222c9
FEG
1432013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
144
aa2bddd7
SM
145 * progmodes/python.el (python-indent-calculate-indentation):
146 Fix de-denters cornercase. (Bug#15731)
bc9222c9 147
cb3a1380
SM
1482013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
149
150 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
151 (advice--make): Pay attention to `depth'.
152 (advice--make-1): Don't autoload commands eagerly.
153 * emacs-lisp/elp.el (elp-instrument-function):
154 * emacs-lisp/trace.el (trace-function-internal):
155 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
156
157 * iswitchb.el (iswitchb-mode): Don't belittle ido.
158
01633a17
EZ
1592013-12-12 Eli Zaretskii <eliz@gnu.org>
160
161 * term/w32-win.el (w32-handle-dropped-file):
162 * startup.el (normal-top-level):
163 * net/browse-url.el (browse-url-file-url):
164 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
165 decode file names using 'utf-8' rather than
166 file-name-coding-system.
167
09faee72
FEG
1682013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
169
170 * progmodes/python.el (python-indent-context)
171 (python-indent-calculate-indentation): Fix auto-identation
172 behavior for comment blocks. (Bug#15916)
173
f4f84024 1742013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 175
cb3a1380
SM
176 * progmodes/python.el (python-indent-calculate-indentation):
177 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
178 operators when they are just string constituents. (Bug#15812)
179
d5ccb7be
JL
1802013-12-12 Juri Linkov <juri@jurta.org>
181
182 * uniquify.el (uniquify-buffer-name-style): Change default to
183 `post-forward-angle-brackets'.
184
185 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
186 `uniquify'. Change default to `post-forward-angle-brackets'.
187
7b3f5679
GM
1882013-12-11 Glenn Morris <rgm@gnu.org>
189
190 * emacs-lisp/package.el (finder-list-matches):
191 Autoload rather than falsely declaring.
192
f4fe8fdd
TZ
1932013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
194
195 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
196 (eww-mode-map): Use them.
197
3c29190f
MR
1982013-12-11 Martin Rudalics <rudalics@gmx.at>
199
200 * window.el (display-buffer-in-side-window): Fix doc-string
201 (Bug#16115).
202
0cd616a2
JB
2032013-12-11 Juanma Barranquero <lekktu@gmail.com>
204
205 * vc/vc-git.el: Silence byte-compiler warnings.
206 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
207 (log-edit-set-header): Declare.
208
3ef8e0d1
EZ
2092013-12-11 Eli Zaretskii <eliz@gnu.org>
210
211 * Makefile.in (custom-deps, finder-data): Run output file names
212 through unmsys--file-name. (Bug#16099)
213
afdadaf7
SM
2142013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
215
7ae3ae39 216 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 217 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 218
5b4f37ab
SM
219 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
220 instead of deleting the selection "by hand" (bug#16098).
221 Rely on insert-for-yank to yank rectangles.
222 (cua-highlight-region-shift-only): Mark obsolete.
223 (cua-mode): Don't enable/disable transient-mark-mode,
224 shift-select-mode (cua-mode works both with and without them), and
225 pc-selection-mode (obsolete).
226 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
227 (cua--deactivate-rectangle): Deactivate it.
228
4b72c12b
SM
229 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
230 (delete-selection-helper): Make sure yank starts at the top of the
231 deleted region.
232 (minibuffer-keyboard-quit): Use region-active-p.
233
e82af72d
SM
234 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
235
afdadaf7
SM
236 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
237 to `delete' (bug#16109).
238
ed4bc201
RS
2392013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
240
241 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
242 info manual and show keybindings and set `:group' keyword.
243
bb8097b9
JL
2442013-12-11 Juri Linkov <juri@jurta.org>
245
246 * delsel.el (delete-active-region): Let-bind `this-command'
247 to prevent `kill-region' from changing its original value.
248 (delete-selection-helper): Handle `overwrite-mode' for the type
249 `kill' exactly the same way as for the type `t'.
250 (insert-char, quoted-insert, reindent-then-newline-and-indent):
251 Support more commands. (Bug#13312)
252
c1916ff5
JL
2532013-12-11 Juri Linkov <juri@jurta.org>
254
255 * bindings.el: Map kp keys to non-kp keys systematically
256 with basic modifiers control, meta and shift. (Bug#14397)
257
b68cf43c
KN
2582013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
259
260 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
261 "Close browser" menu items. Fix wrong function of "List
262 bookmarks".
263
4cc51eaf
JL
2642013-12-11 Juri Linkov <juri@jurta.org>
265
266 * misearch.el (multi-isearch-buffers): Set the value of
267 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
268 arg of isearch-forward to t.
269 (multi-isearch-buffers-regexp): Set the value of
270 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
271 arg of isearch-forward-regexp to t.
272 (multi-isearch-files): Set the value of
273 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
274 arg of isearch-forward to t.
275 (multi-isearch-files-regexp): Set the value of
276 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
277 arg of isearch-forward-regexp to t. (Bug#16035)
278
279 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
280 arg of isearch-forward to t.
281 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
282 arg of isearch-forward-regexp to t.
283 (dired-isearch-filter-filenames): Remove unnecessary check for
284 `dired-isearch-filenames'.
285
286 * comint.el (comint-history-isearch-backward):
287 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
288 (comint-history-isearch-backward-regexp):
289 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
290
ceac12b7
EZ
2912013-12-10 Eli Zaretskii <eliz@gnu.org>
292
293 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
294 unmsys--file-name. (Bug#16099)
295
5a565782
TZ
2962013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
297
cb3a1380
SM
298 * emacs-lisp/package.el (package-keyword-button-action):
299 Remove finder.el require dependency.
5a565782 300
a81fc7ba
TZ
3012013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
302
303 * emacs-lisp/package.el: Require finder.el.
304 (describe-package-1): Add keyword buttons.
305 (package-make-button): New convenience function.
306 (package-keyword-button-action): Keyword button action using
307 `finder-list-matches'
308
6aaca951
EZ
3092013-12-09 Eli Zaretskii <eliz@gnu.org>
310
311 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
312 last commit.
313
a1099a91
MA
3142013-12-09 Michael Albinus <michael.albinus@gmx.de>
315
316 * autorevert.el (auto-revert-notify-add-watch): Do not handle
317 symlinked files.
318
8212d9c0
DG
3192013-12-09 Dmitry Gutov <dgutov@yandex.ru>
320
321 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
322 after the end of a percent literal.
323
8f48d131
CD
3242013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
325
cb3a1380
SM
326 * progmodes/ruby-mode.el (ruby-forward-string): Document.
327 Handle caret-delimited strings (Bug#16079).
8f48d131 328
ff8c9764
DG
3292013-12-09 Dmitry Gutov <dgutov@yandex.ru>
330
cb3a1380
SM
331 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
332 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
333 `ruby-parse-partial' (Bug#16078).
334
d64643b4
LL
3352013-12-09 Leo Liu <sdl.web@gmail.com>
336
337 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
338
47e59c66
DG
3392013-12-08 Dmitry Gutov <dgutov@yandex.ru>
340
341 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
342 (js-switch-indent-offset): New option.
343 (js--proper-indentation): Use it. And handle the case when
344 "default" is actually a key in an object literal.
345 (js--same-line): New function.
346 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
347 (js--indent-in-array-comp, js--array-comp-indentation):
348 New functions.
47e59c66
DG
349 (js--proper-indentation): Use them, to handle array comprehension
350 continuations.
351
974ebc9c
LL
3522013-12-08 Leo Liu <sdl.web@gmail.com>
353
354 * progmodes/flymake.el (flymake-highlight-line): Re-write.
355 (flymake-make-overlay): Remove arg MOUSE-FACE.
356 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
357
27262e39
SM
3582013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
359
360 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
361 New function.
362 (redisplay-highlight-region-function): Use it.
363
364 * emulation/cua-base.el (cua--explicit-region-start)
365 (cua--last-region-shifted): Remove.
366 (cua--deactivate): Use deactivate-mark.
367 (cua--pre-command-handler-1): Don't handle shift-selection.
368 (cua--post-command-handler-1): Don't change transient-mark-mode.
369 (cua--select-keymaps): Use region-active-p rather than
370 cua--explicit-region-start or cua--last-region-shifted.
371 (cua-mode): Enable shift-select-mode.
372
6407822c
LL
3732013-12-08 Leo Liu <sdl.web@gmail.com>
374
27262e39
SM
375 * progmodes/flymake.el (flymake-popup-current-error-menu):
376 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
377 (flymake-posn-at-point-as-event, flymake-popup-menu)
378 (flymake-make-emacs-menu): Remove. (Bug#16077)
379
00a2b823
SM
3802013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
381
02033d49
SM
382 * rect.el (rectangle-mark-mode): Activate mark even if
383 transient-mark-mode is off (bug#16066).
384 (rectangle--highlight-for-redisplay): Fix boundary condition when point
385 is > mark and at bolp.
386
6f8dfccf
SM
387 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
388 (region-extract-function): Use it.
389 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
390 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
391 Delete functions.
392 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
393 kill-ring-save, kill-region, delete-char, delete-forward-char.
394 Ignore self-insert-iso.
395
396 * emulation/cua-gmrk.el (cua--init-global-mark):
397 Ignore `self-insert-iso'.
398
399 * emulation/cua-base.el (cua--prefix-copy-handler)
400 (cua--prefix-cut-handler): Rely on region-extract-function rather than
401 checking cua--rectangle.
402 (cua-delete-region): Use region-extract-function.
403 (cua-replace-region): Delete function.
404 (cua-copy-region, cua-cut-region): Obey region-extract-function.
405 (cua--pre-command-handler-1): Don't do the delete-selection thing.
406 (cua--self-insert-char-p): Ignore `self-insert-iso'.
407 (cua--init-keymaps): Don't remap delete-selection commands.
408 (cua-mode): Use delete-selection-mode instead of rolling our own
409 (bug#16085).
410
411 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
412 Obey region-extract-function.
413
00a2b823
SM
414 Make registers and delete-selection-mode work on rectangles.
415 * register.el (describe-register-1): Don't modify the register's value.
416 (copy-to-register): Obey region-extract-function.
417 * delsel.el (delete-active-region): Obey region-extract-function.
418
a92fa5f1
LL
4192013-12-08 Leo Liu <sdl.web@gmail.com>
420
421 * progmodes/flymake.el (flymake, flymake-error-bitmap)
422 (flymake-warning-bitmap, flymake-fringe-indicator-position)
423 (flymake-compilation-prevents-syntax-check)
424 (flymake-start-syntax-check-on-newline)
425 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
426 (flymake-start-syntax-check-on-find-file, flymake-log-level)
427 (flymake-xml-program, flymake-master-file-dirs)
428 (flymake-master-file-count-limit)
429 (flymake-allowed-file-name-masks): Relocate.
430 (flymake-makehash, flymake-float-time)
431 (flymake-replace-regexp-in-string, flymake-split-string)
432 (flymake-get-temp-dir): Remove.
433 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
434 (flymake-current-row, flymake-selected-frame)
435 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
436 related functions. (Bug#16077)
437
73c8ceea
BB
4382013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
439
440 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
441
faec28d9
TH
4422013-12-07 Tassilo Horn <tsdh@gnu.org>
443
444 * help-fns.el (describe-function-1): Use new advice-* functions
445 rather than old ad-* functions. Fix function type description and
446 source links for advised functions and subrs.
447
e330b646
LMI
4482013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
449
00a2b823 450 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 451
4803595d
MA
4522013-12-06 Michael Albinus <michael.albinus@gmx.de>
453
454 * progmodes/compile.el (compilation-start):
455 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
456
457 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
458 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
459
fa834a93
DG
4602013-12-06 Dmitry Gutov <dgutov@yandex.ru>
461
00a2b823
SM
462 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
463 Touch up the last change.
fa834a93 464
b2856a6f
LL
4652013-12-06 Leo Liu <sdl.web@gmail.com>
466
467 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
468 (inferior-octave-startup): Always use "octave> " for prompt.
469 (octave-goto-function-definition)
470 (octave-sync-function-file-names)
471 (octave-find-definition-default-filename): Remove redundant backquotes.
472
af67e79a
DG
4732013-12-06 Dmitry Gutov <dgutov@yandex.ru>
474
475 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
476 syntax for `?'.
477 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
478 where appropriate already.
479 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
480 end of method names (Bug#15874).
481
bf093209
JL
4822013-12-06 Juri Linkov <juri@jurta.org>
483
484 * isearch.el (isearch--saved-overriding-local-map):
485 New internal variable.
486 (isearch-mode): Set it to the initial value of
487 `overriding-terminal-local-map'.
488 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
489 with `isearch--saved-overriding-local-map'. (Bug#16035)
490
16588fad
DG
4912013-12-06 Dmitry Gutov <dgutov@yandex.ru>
492
00a2b823
SM
493 * progmodes/octave.el (inferior-octave-completion-table):
494 Turn back into function, use `completion-table-with-cache'
16588fad
DG
495 (Bug#11906). Update all references.
496
497 * minibuffer.el (completion-table-with-cache): New function.
498
bf4906d7
CD
4992013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
500
501 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
502
ff69c18f
TZ
5032013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
504
505 * net/eww.el (eww-current-source): New variable to store page
506 source.
507 (eww-display-html, eww-mode, eww-save-history)
508 (eww-restore-history): Use it.
509 (eww-view-source): New command to view page source.
510 Opportunistically uses `html-mode' to highlight the buffer.
511 (eww-mode-map): Install it.
512
b85eff45
MA
5132013-12-05 Michael Albinus <michael.albinus@gmx.de>
514
515 * net/dbus.el (dbus-unregister-service)
516 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
517 Fix docstring.
518 (dbus-unregister-service): Skip :serial entries in
519 `dbus-registered-objects-table'.
520 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
521
39eb0899
TZ
5222013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
523
524 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
525 around keywords with extra `split-string' argument.
526
456760a5
MR
5272013-12-04 Martin Rudalics <rudalics@gmx.at>
528
529 * windmove.el (windmove-other-window-loc): Handle navigation
530 between windows (excluding the minibuffer window - Bug#16017).
531
81961e4c
MA
5322013-12-04 Michael Albinus <michael.albinus@gmx.de>
533
534 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
535 in D-Bus type syntax.
536 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
537 preserve unibyte strings. (Bug#16048)
538
8497f938
SM
5392013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
540
541 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
542 Call force-mode-line-update is the proper buffer (bug#16042).
543
dda61916
DG
5442013-12-04 Dmitry Gutov <dgutov@yandex.ru>
545
546 * vc/log-edit.el (log-edit-add-new-comment): Rename to
547 `log-edit-remember-comment', make argument optional. Adjust all
548 callers.
549 (log-edit-mode): Add `log-edit-remember-comment' to
550 `kill-buffer-hook' locally.
551 (log-edit-kill-buffer): Don't remember comment explicitly since
552 the buffer is killed anyway.
553
c085e5b9
JL
5542013-12-04 Juri Linkov <juri@jurta.org>
555
556 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
557 add-hook and remove-hook for multi-buffer search. (Bug#16035)
558
d6f2380e
TR
5592013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
560
561 * notifications.el (notifications-close-notification): Call the
81961e4c 562 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 563
39fa32d6
KY
5642013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
565
566 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
567
9139632a
JL
5682013-12-03 Juri Linkov <juri@jurta.org>
569
570 * progmodes/compile.el (compilation-start): Rename window alist
571 entry `no-display-ok' to `allow-no-window'.
572
573 * simple.el (shell-command): Add window alist entry
574 `allow-no-window' to `display-buffer'.
575 (async-shell-command): Doc fix.
576
577 * window.el (display-buffer-no-window): New action function.
578 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
579
0f457a37
DG
5802013-12-02 Dmitry Gutov <dgutov@yandex.ru>
581
582 * vc/log-edit.el (log-edit-set-header): Extract from
583 `log-edit-toggle-header'.
584 (log-edit-extract-headers): Separate the summary, when extracted
585 from header, from the rest of the message with an empty line.
586
587 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
588 line, if present, to the Summary header.
589
0962f376
SM
5902013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
591
592 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
593 in current-buffer (bug#16029).
594
f345395c
HE
5952013-12-02 Helmut Eller <eller.helmut@gmail.com>
596
597 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
598 (debugger-mode-map): Bind it.
599 (debugger--backtrace-base): New function.
600 (debugger-eval-expression): Use it.
601 (debugger-frame-number): Skip local vars when present.
602 (debugger--locals-visible-p, debugger--insert-locals)
603 (debugger--show-locals, debugger--hide-locals): New functions.
604
a8a15d9d
MA
6052013-12-02 Michael Albinus <michael.albinus@gmx.de>
606
607 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
608 "LC_ALL".
609 (tramp-get-remote-locale): New defun.
610 (tramp-open-connection-setup-interactive-shell): Use it.
611
0518b057
LL
6122013-12-02 Leo Liu <sdl.web@gmail.com>
613
614 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
615
616 * progmodes/sh-script.el (sh-shell-process):
617 * progmodes/octave.el (inferior-octave-process-live-p):
618 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
619 (gdb-inferior-io-sentinel):
620 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
621
3adc9c6d
DG
6222013-12-02 Dmitry Gutov <dgutov@yandex.ru>
623
624 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
625 `save-selected-window' to `log-edit-hide-buf'. This makes
626 `log-edit-show-files' idempotent.
627 (log-edit-show-files): Mark the new window as dedicated.
628
47e8b74e
DG
6292013-12-02 Dmitry Gutov <dgutov@yandex.ru>
630
631 * vc/log-edit.el (log-edit-mode-map): Add binding for
632 `log-edit-kill-biffer'.
633 (log-edit-hide-buf): Add a FIXME comment.
634 (log-edit-add-new-comment): New function, extracted from
635 `log-edit-done'.
636 (log-edit-done, log-edit-add-to-changelog): Use it.
637 (log-edit-kill-buffer): New command.
638
1f6e1bb0
LMI
6392013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
640
641 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
642 instead of killing the buffer.
643
fb651d15
SM
6442013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
645
646 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
647
8feacce0
RS
6482013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
649
fb651d15 650 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 651 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
652 (eww-form-checkbox, eww-toggle-checkbox):
653 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
654
655 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
656 (shr--get-media-pref, shr--extract-best-source): New function.
ad9a773c
RS
657 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
658 no :src tag was specified.
659
fb651d15 660 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
661 (eww-render): Handle `eww-use-external-browser-for-content-type'.
662 Use \\` to match beginning of string instead of ^.
663 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 664 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 665
177948a5
RS
666 * net/shr.el (shr-tag-video): Display content for video if no
667 poster is available.
eb2dd24d 668 (shr-tag-audio): Add support for <audio> tag.
177948a5
RS
669
670 * net/eww.el (eww-text-input-types): : New const.
671 (eww-process-text-input): Treat input types in
672 `eww-text-input-types' as text.
673
8feacce0
RS
674 * net/shr.el (shr-tag-table): Fix comment typo.
675
513562a1
LMI
6762013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
677
678 * net/eww.el (eww-follow-link): New command to avoid reloading
679 pages when we follow #target links (bug#15243).
de8a5633 680 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 681
9dd99753
KN
6822013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
683
684 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
685 forms.
686
3e9876de
LMI
6872013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
688
689 * net/eww.el (eww-restore-history): Update the window title after
690 moving in the history.
ab6dea82 691 (eww-current-dom): New variable used to save the current DOM.
3e9876de 692
52789f7f
DG
6932013-12-01 Dmitry Gutov <dgutov@yandex.ru>
694
695 * vc/log-edit.el (log-edit-mode-map): Add binding for
696 `log-edit-beginning-of-line'.
697 (log-edit-setup-add-author): New user option.
698 (log-edit-beginning-of-line): New command.
699 (log-edit): Move major mode call above the contents setup so that
700 the local variable values are already applied.
701 (log-edit): Only insert "Author: " when
702 `log-edit-setup-add-author' is non-nil.
703 (log-edit): When SETUP is non-nil, position point after ": "
704 instead of point-min.
705
2e6710c3
GM
7062013-12-01 Glenn Morris <rgm@gnu.org>
707
708 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
709
fadec31f
EZ
7102013-11-30 Eli Zaretskii <eliz@gnu.org>
711
712 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 713 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
714 visible. (Bug#16014)
715
10634b40 7162013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
717
718 Support resizing frames and windows pixelwise.
719 * cus-start.el (frame-resize-pixelwise)
720 (window-resize-pixelwise): New entries.
721 * emacs-lisp/debug.el (debug): Use window-total-height instead
722 of window-total-size.
723 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
724 * help.el (describe-bindings-internal): Call help-buffer
725 (temp-buffer-max-width): New option.
726 (resize-temp-buffer-window, help-window-setup)
727 (with-help-window): Rewrite.
728 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
729 dragging dividers.
730 * window.el (frame-char-size, window-min-pixel-height)
731 (window-safe-min-pixel-height, window-safe-min-pixel-width)
732 (window-min-pixel-width, window-safe-min-pixel-size)
733 (window-combination-p, window-safe-min-size)
734 (window-resizable-p, window--size-to-pixel)
735 (window--pixel-to-size, window--resize-apply-p): New functions.
736 (window-safe-min-height): Fix doc-string.
737 (window-size, window-min-size, window--min-size-1)
738 (window-sizable, window-sizable-p, window--min-delta-1)
739 (window-min-delta, window--max-delta-1, window-max-delta)
740 (window--resizable, window--resizable-p, window-resizable)
741 (window-full-height-p, window-full-width-p, window-at-side-p)
742 (window--in-direction-2, window-in-direction)
743 (window--resize-reset-1, window--resize-mini-window)
744 (window-resize, window-resize-no-error)
745 (window--resize-child-windows-normal)
746 (window--resize-child-windows, window--resize-siblings)
747 (window--resize-this-window, window--resize-root-window)
748 (window--resize-root-window-vertically)
749 (adjust-window-trailing-edge, enlarge-window, shrink-window)
750 (maximize-window, minimize-window, delete-window)
751 (quit-restore-window, window-split-min-size, split-window)
752 (balance-windows-2, balance-windows)
753 (balance-windows-area-adjust, balance-windows-area)
754 (window--state-get-1, window-state-get, window--state-put-1)
755 (window--state-put-2, window-state-put)
fb651d15
SM
756 (display-buffer-record-window, window--display-buffer):
757 Make functions handle pixelwise sizing of windows.
880e6158 758 (display-buffer--action-function-custom-type)
fb651d15
SM
759 (display-buffer-fallback-action):
760 Add display-buffer-in-previous-window.
880e6158
MR
761 (display-buffer-use-some-window): Resize window to height it had
762 before.
763 (fit-window-to-buffer-horizontally): New option.
764 (fit-frame-to-buffer): Describe new values.
765 (fit-frame-to-buffer-bottom-margin): Replace with
766 fit-frame-to-buffer-margins.
767 (window--sanitize-margin): New function.
768 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
769 using window-text-pixel-size.
770
f9b697dd
GM
7712013-11-30 Glenn Morris <rgm@gnu.org>
772
3e2fb4db
GM
773 * emacs-lisp/bytecomp.el (byte-compile-form):
774 Make the `interactive-only' warning like the `obsolete' one.
775 * comint.el (comint-run):
776 * files.el (insert-file-literally, insert-file):
777 * replace.el (replace-string, replace-regexp):
778 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
779 (goto-line, insert-buffer, next-line, previous-line):
780 Tweak `interactive-only' spec.
781
f9b697dd
GM
782 Stop keeping (most) generated cedet grammar files in the repository.
783 * Makefile.in (semantic): New.
784 (compile-main): Depend on semantic.
785
da048127
SM
7862013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
787
7784b779
SM
788 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
789 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
790
4e36a6a6
SM
791 * uniquify.el (uniquify-buffer-name-style): Change default.
792
793 * loadup.el: Preload "uniquify".
794
e0ba1308
SM
795 * time.el (display-time-update): Update all mode lines (bug#15999).
796
da048127
SM
797 * electric.el (electric-indent-mode): Enable by default.
798 * loadup.el: Preload "electric".
799
015b3b3e
BB
8002013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
801
802 * emacs-lisp/helpers.el (string-empty-p): New function.
803 (string-blank-p): New function.
804
7efb806d
AP
8052013-11-29 Andreas Politz <politza@hochschule-trier.de>
806
807 * imenu.el (imenu--index-alist): Add missing dot to the docstring
808 (Bug#14029).
809
c8f0efc2
AP
8102013-11-29 Andreas Politz <politza@fh-trier.de>
811 * imenu.el (imenu--subalist-p): Don't error on non-conses and
812 allow non-lambda lists as functions.
813 (imenu--in-alist): Don't recurse into non-subalists.
814 (imenu): Don't pass function itself as an argument (Bug#14029).
815
bd15d9d1
SM
8162013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
817
818 * progmodes/python.el (python-mode-map): Remove binding for ":".
819 (python-indent-electric-colon): Remove command.
820 (python-indent-post-self-insert-function): Integrate the previous code
821 of python-indent-electric-colon. Make it conditional on
822 electric-indent-mode.
823 (python-mode): Add ?: to electric-indent-chars.
824 Move python-indent-post-self-insert-function to the end of
825 post-self-insert-hook.
826
1b10adb6
SM
8272013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
828
655ab9a3
SM
829 * doc-view.el (doc-view-goto-page): Update mode-line.
830
1b10adb6
SM
831 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
832
7e3bf78c
GM
8332013-11-27 Glenn Morris <rgm@gnu.org>
834
835 * international/charprop.el, international/uni-bidi.el:
836 * international/uni-category.el, international/uni-combining.el:
837 * international/uni-comment.el, international/uni-decimal.el:
838 * international/uni-decomposition.el, international/uni-digit.el:
839 * international/uni-lowercase.el, international/uni-mirrored.el:
840 * international/uni-name.el, international/uni-numeric.el:
841 * international/uni-old-name.el, international/uni-titlecase.el:
842 * international/uni-uppercase.el:
843 Remove generated files from VCS repository.
844
fb6a5d68
EZ
8452013-11-27 Eli Zaretskii <eliz@gnu.org>
846
847 * filenotify.el (file-notify-add-watch): Don't special-case
848 w32notify when computing the directory to watch.
849
cb6c95a3
GM
8502013-11-27 Glenn Morris <rgm@gnu.org>
851
20372d0c
GM
852 Make bootstrap without generated uni-*.el files possible again.
853 * loadup.el: Update command-line-args checking for unidata-gen.
854 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
855 * composite.el, international/characters.el:
856 Handle unicode tables being undefined.
857
52d6635f 858 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
859 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
860 (compile-main): Depend on leim rule.
861 (leim): New rule.
862 * loadup.el: Move leim-list.el to leim/ subdirectory.
863 * startup.el (normal-top-level): No more leim directory.
864 * international/ja-dic-cnv.el (skkdic-convert):
865 Disable version-control and autoloads in output files.
866 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
867 Disable version-control and autoloads in output files.
868 * leim/quail: Move here from ../leim.
869 * leim/quail/hangul.el (hangul-input-method-activate):
870 Add autoload cookie.
871 (generated-autoload-load-name): Set file-local value.
872 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
873 (generated-autoload-load-name): Set file-local value.
874
0449d6cd 8752013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee
TZ
876
877 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
878 (eww-add-bookmark): ask confirmation when add to bookmarks
879 (eww-quit): ask confirmation before quitting eww
880
0e2c793f
EZ
8812013-11-26 Eli Zaretskii <eliz@gnu.org>
882
883 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
884 reading output from Diff on MS-Windows and MS-DOS.
885
447bdcb8
BB
8862013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
887
888 * emacs-lisp/helpers.el (string-reverse): New function.
889
5fbf6856
MA
8902013-11-26 Michael Albinus <michael.albinus@gmx.de>
891
892 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
893 names on MS Windows, like "/[::1]:".
894
895 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
896 SWITCHES.
897
624780f0
GM
8982013-11-26 Glenn Morris <rgm@gnu.org>
899
0bf3f0fa
GM
900 * progmodes/python.el (python-indent-guess-indent-offset):
901 Avoid corner-case error. (Bug#15975)
902
624780f0
GM
903 Preload leim-list.el. (Bug#4789)
904 * loadup.el: Load leim-list.el when found.
905 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
906
4301875e 9072013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
908
909 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
910
4301875e
BB
911 * emacs-lisp/helpers.el (string-join): New function.
912
1633a815 9132013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
914
915 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
916 Mark as obsolete and replace it with a symbol property.
917 (byte-compile-form): Use new 'interactive-only property.
918 * comint.el, files.el, replace.el, simple.el:
919 Apply new 'interactive-only properly.
920
00139435
MR
9212013-11-25 Martin Rudalics <rudalics@gmx.at>
922
923 * window.el (display-buffer-at-bottom): Make sure that
924 split-window-sensibly creates the new window on bottom
925 (Bug#15961).
926
5f5b128d
DK
9272013-11-23 David Kastrup <dak@gnu.org>
928
929 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
930 on the conflict markers when available.
931 (smerge--get-marker): New function.
932 (smerge-end-re, smerge-base-re): Add subgroup.
933
623891e5
SM
9342013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
935
936 * frame.el (handle-focus-in, handle-focus-out): Add missing
937 interactive spec.
938
05ca27d8
MA
9392013-11-25 Michael Albinus <michael.albinus@gmx.de>
940
941 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
942 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
943
511fa0d3
SM
9442013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
945
e82ad66c
SM
946 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
947 (gomoku--last-pos): New var.
948 (gomoku--intangible-chars): New const.
949 (gomoku--intangible): New function.
950 (gomoku-mode): Use it. Derive from special-mode.
951 (gomoku-move-up): Adjust line count.
952 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
953 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
954 Simplify accordingly.
955
511fa0d3
SM
956 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
957 Remove blink-cursor code.
958 (blink-cursor-timer-function, blink-cursor-suspend):
959 Don't special-case GUIs.
960 (blink-cursor-mode): Use focus-in/out-hook.
961
6f20dd03
DG
9622013-11-25 Dmitry Gutov <dgutov@yandex.ru>
963
964 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
965 work when annotation is invisible (Bug#13886).
966
431dec31 9672013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
968
969 * json.el (json-alist-p): Only return non-nil if the alist has
970 simple keys (Bug#13518).
971
431dec31 9722013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
973
974 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
975 when control-statement is the first statement in a buffer (Bug#15956).
976
ee4f0261
DG
9772013-11-24 Dmitry Gutov <dgutov@yandex.ru>
978
979 * imenu.el (imenu-generic-skip-comments-and-strings):
980 New option (Bug#15560).
981 (imenu--generic-function): Use it.
982
c484f866
JS
9832013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
984
985 * minibuffer.el (completion--in-region-1): Scroll the correct
986 window. (Bug#13898)
987
41ce6f70
BB
9882013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
989
b55aea38
BB
990 * emacs-lisp/helpers.el: Add some string helpers.
991 (string-trim-left): Removes leading whitespace.
992 (string-trim-right): Removes trailing whitespace.
993 (string-trim): Removes leading and trailing whitespace.
994
41ce6f70
BB
995 * subr.el (string-suffix-p): New function.
996
3cfb6af3
GM
9972013-11-23 Glenn Morris <rgm@gnu.org>
998
999 * progmodes/python.el (python-shell-send-file):
1000 Add option to delete file when done. (Bug#15647)
1001 (python-shell-send-string, python-shell-send-region): Use it.
1002
c27924b7
IS
10032013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1004
e1b01c7f
IS
1005 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1006 to set buffer-read-only to t, never to nil. (Bug#15938)
1007
c27924b7
IS
1008 * textmodes/tex-mode.el (latex-noindent-environments):
1009 Add safe-local-variable property. (Bug#15936)
1010
17e0445b
GM
10112013-11-23 Glenn Morris <rgm@gnu.org>
1012
92f78ea3
GM
1013 * textmodes/enriched.el (enriched-mode): Doc fix.
1014 * emacs-lisp/authors.el (authors-renamed-files-alist):
1015 Add enriched.doc -> enriched.txt.
1016
17e0445b
GM
1017 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1018
965bb23a
LL
10192013-11-22 Leo Liu <sdl.web@gmail.com>
1020
1021 * progmodes/octave.el (inferior-octave-startup): Spit out error
1022 message.
1023
d19ffd64
BB
10242013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1025
1026 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1027 Improve docstring.
15ba2182
BB
1028 Add :version.
1029 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 1030
7a7567d2
LL
10312013-11-22 Leo Liu <sdl.web@gmail.com>
1032
1033 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1034 (Bug#15076)
8c09f64b
LL
1035 (octave-help-mode): Adapt to change to help-mode-finish to use
1036 derived-mode-p on 2013-09-17.
1037 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 1038 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 1039
724bc265
LL
10402013-11-22 Leo Liu <sdl.web@gmail.com>
1041
1042 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1043 (inferior-octave-startup, inferior-octave-check-process)
1044 (inferior-octave-track-window-width-change)
1045 (octave-completion-at-point, octave-eldoc-function): Use it.
1046 (octave-kill-process): Provide confirmation. (Bug#10564)
1047
38637cca
LL
10482013-11-21 Leo Liu <sdl.web@gmail.com>
1049
511fa0d3
SM
1050 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1051 Fix obsolete variable comment-use-global-state.
38637cca 1052
06e752b4
RS
10532013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1054
511fa0d3
SM
1055 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1056 Add `octave-source-file'.
06e752b4
RS
1057 (octave-source-file): New function. (Bug#15935)
1058
0449d6cd 10592013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
1060
1061 * net/eww.el (eww-local-regex): New variable.
1062 (eww): Use it to detect localhost and similar.
1063
b6ffa04a
LL
10642013-11-21 Leo Liu <sdl.web@gmail.com>
1065
1066 Add completion for command `ag'.
2021a200
LL
1067 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1068 (pcomplete/ag): New function.
1069 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 1070
d1a6bccc
SM
10712013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1072
1073 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1074 (bug#14646).
1075 (make-obsolete): Remove interactive spec.
1076
2df10228
GM
10772013-11-21 Glenn Morris <rgm@gnu.org>
1078
1079 * startup.el (command-line-1): Use path-separator with -L.
1080
86fd16b6
TZ
10812013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1082
1083 * emacs-lisp/package.el (describe-package-1): Add package archive
1084 to shown fields.
1085
0449d6cd 10862013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
1087
1088 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1089 Change default to "# encoding: %s" to differentiate it from the
1090 default Ruby encoding comment template.
1091
dc7e8c17 10922013-11-20 era eriksson <era+emacsbugs@iki.fi>
1093
1094 * ses.el (ses-mode): Doc fix. (Bug#14748)
1095
f0cfa5fe
LL
10962013-11-20 Leo Liu <sdl.web@gmail.com>
1097
1098 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1099
826dc7b6
DN
11002013-11-19 Dan Nicolaescu <dann@gnu.org>
1101
1102 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1103 when rebase or bisect are in progress.
1104
a6e3a5d5
XF
11052013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1106
1107 * filenotify.el (file-notify-add-watch): Doc fix.
1108
f130cb76
LL
11092013-11-19 Leo Liu <sdl.web@gmail.com>
1110
e0855d7d
LL
1111 * obsolete/rcompile.el: Mark obsolete.
1112
f130cb76 1113 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
1114 (compilation-goto-locus, compilation-find-file):
1115 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
1116 (Bug#13594)
1117
1118 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
1119 new parameter no-display-ok. Return either a window or nil
1120 but never a non-window value.
f130cb76 1121
1f35d401
SM
11222013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1123
25158c76
SM
1124 * electric.el (electric-indent-mode-map): Remove.
1125 (electric-indent-mode): Change the global-map instead (bug#15915).
1126
1127 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1128 Use add-function.
1f35d401 1129
9bc67baa
SM
11302013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1131
986545b5
SM
1132 * emacs-lisp/nadvice.el (remove-function): Align with
1133 add-function's behavior.
1134
9bc67baa
SM
1135 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1136 (gdb--string-regexp): New constant.
1137 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1138 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1139 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1140 submatch 1.
1141 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1142 Adjust use accordingly.
1143 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1144
56cd894e
AS
11452013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1146
1147 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1148 interpolation curlies (Bug#15914).
1149
014690de
JB
11502013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1151
1152 * calc/calc.el (calc-context-sensitive-enter): New variable.
1153 (calc-enter): Use `calc-context-sensitive-enter'.
1154
7e26a6c3
TZ
11552013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1156
1157 * progmodes/cfengine.el: Version bump.
1158 (cfengine-cf-promises): New defcustom to locate cf-promises.
1159 (cfengine3-vartypes): Add new "data" type.
1160 (cfengine3--current-word): New function to get current name-like
1161 word or its bounds.
1162 (cfengine3--current-function): New function to look up a CFEngine
1163 function's definition.
1164 (cfengine3-format-function-docstring): New function.
1165 (cfengine3-make-syntax-cache): New function.
1166 (cfengine3-documentation-function): New function: ElDoc glue.
1167 (cfengine3-completion-function): New function: completion glue.
1168 (cfengine3-mode): Set `compile-command',
1169 `eldoc-documentation-function', and add to
1170 `completion-at-point-functions'.
1171
355204dd
MA
11722013-11-16 Michael Albinus <michael.albinus@gmx.de>
1173
1174 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1175 `tramp-current-connection'.
1176
43cebc23
DG
11772013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1178
1179 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1180 nil/self/true/false with "end of symbol".
1181
a3fed6ff
BB
11822013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1183
1184 * subr.el (version-regexp-alist): Fix a typo.
1185
e675b3e4
MA
11862013-11-15 Michael Albinus <michael.albinus@gmx.de>
1187
1188 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1189 "en_US.utf8" and "LC_CTYPE" to "".
1190 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1191 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1192
a1f03e89
LL
11932013-11-15 Leo Liu <sdl.web@gmail.com>
1194
1195 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1196
5d9d9451
SM
11972013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1198
58362662
CS
1199 * progmodes/gud.el (ctl-x-map):
1200 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
1201 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1202
6c1bf086
BB
12032013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1204
0d5363c4
BB
1205 * subr.el (version-regexp-alist):
1206 Recognize hg, svn and darcs versions as snapshot versions.
1207
4e9fc48c
BB
1208 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1209 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1210 (ruby--encoding-comment-required-p): Extract from
1211 `ruby-mode-set-encoding'.
1212 (ruby-mode-set-encoding): Add the ability to always insert an
1213 utf-8 encoding comment. Fix and simplify coding comment update
1214 logic.
6c1bf086 1215
2f7e72f8
MA
12162013-11-14 Michael Albinus <michael.albinus@gmx.de>
1217
1218 * net/tramp-gvfs.el (top): Run init code only when
1219 `tramp-gvfs-enabled' is not nil.
1220 (tramp-gvfs-enabled): Check also :system bus.
1221
0f137a73
SM
12222013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1223
1224 Sync with upstream verilog-mode revision 78e66ba.
1225 * progmodes/verilog-mode.el (verilog-end-of-defun)
1226 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1227 (verilog-get-end-of-defun): Remove unused argument.
1228 (verilog-comment-depth): Remove unused local `e'.
1229 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1230 Don't pass arg to verilog-get-end-of-defun.
1231
1c276bdd
GM
12322013-11-14 Glenn Morris <rgm@gnu.org>
1233
1234 * obsolete/assoc.el (aget): Prefix dynamic variable.
1235
1236 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1237
ff6ec81d
SM
12382013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1239
1240 * widget.el, hfy-cmap.el: Remove bogus package version number.
1241
75f777b6
GM
12422013-11-13 Glenn Morris <rgm@gnu.org>
1243
1d43dba1
GM
1244 * replace.el (replace-eval-replacement):
1245 Try to give more helpful error message. (Bug#15836)
1246
ff4b7bd5
GM
1247 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1248 (archive-7z-update): Avoid custom type mismatches.
1249
75f777b6
GM
1250 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1251
11151a06
MA
12522013-11-13 Michael Albinus <michael.albinus@gmx.de>
1253
e675b3e4 1254 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
1255 address can be empty.
1256
1257 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1258 Accept nil SWITCHES.
1259 (tramp-gvfs-handle-write-region): Implement APPEND.
1260
7b08f97e
DG
12612013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1262
1263 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
1264 binary "|" operator and closing block args delimiter.
1265 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
1266 (ruby-smie--implicit-semi-p): Not after "|" operator.
1267 (ruby-smie--closing-pipe-p): New function.
1268 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1269 (ruby-smie-rules): Indent after "|".
1270
f201cf3a
GM
12712013-11-12 Glenn Morris <rgm@gnu.org>
1272
1273 * ps-print.el (ps-face-attribute-list):
1274 Handle anonymous faces. (Bug#15827)
1275
e6f759f9
MR
12762013-11-12 Martin Rudalics <rudalics@gmx.at>
1277
1278 * window.el (display-buffer-other-frame): Fix doc-string.
1279 (Bug#15868)
1280
ecda65d4
SM
12812013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1282
1283 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1284
7ce8fcc3
MA
12852013-11-11 Michael Albinus <michael.albinus@gmx.de>
1286
1287 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1288 (tramp-sh-handle-file-local-copy): Don't write a message when
1289 saving temporary files.
1290
1291 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1292 both directories are remote.
1293 (tramp-smb-handle-directory-files): Do not return double entries.
1294 Do not expand full file names.
1295 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1296 (tramp-smb-handle-write-region): Implement APPEND.
1297 (tramp-smb-get-stat-capability): Fix a stupid bug.
1298
7818df11
SM
12992013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1300
1301 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1302
608c2085
NT
13032013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1304
1305 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1306 throwing error over malformed let/let* (bug#15814).
1307
122a7e46
SM
13082013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1309
1310 * iswitchb.el (iswitchb-mode): Mark obsolete.
1311
766284d9
GM
13122013-11-11 Glenn Morris <rgm@gnu.org>
1313
1314 * international/uni-bidi.el, international/uni-category.el:
1315 * international/uni-name.el, international/uni-numeric.el:
1316 Regenerate for Unicode 6.3.0.
1317
7072a4e9
MA
13182013-11-10 Michael Albinus <michael.albinus@gmx.de>
1319
1320 * net/tramp.el (tramp-methods):
1321 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1322 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1323
c9df215b
AS
13242013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1325
608c2085
NT
1326 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1327 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 1328
fa47d796
DG
13292013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1330
1331 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 1332 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
1333 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1334 (ispell-complete-word): Call `ispell-lookup-words' with the value
1335 independent of `ispell-look-p'.
1336
1629a329
DG
13372013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1338
1339 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1340 Not after "||".
1341 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1342 their parent.
1343
ad16897c
SM
13442013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1345
1346 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1347 (ruby-font-lock-keywords): Use backquote.
1348
ffa2df72
DG
13492013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1350
1351 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1352 (ruby-smie--backward-token): Only consider full-string matches.
1353
5b97b4c0
JD
13542013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1355
1356 * faces.el (describe-face): Add distant-foreground.
1357
71731c03
BB
13582013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1359
4e9fc48c
BB
1360 * progmodes/ruby-mode.el: Improve encoding comment handling.
1361 (ruby-encoding-magic-comment-style): New option.
1362 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
1363 (ruby--insert-coding-comment, ruby--detect-encoding):
1364 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
1365 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1366 to control the style of the auto-inserted encoding comment.
71731c03 1367
da3b328d
DG
13682013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1369
ad16897c
SM
1370 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1371 Use `smie-backward-sexp' with token argument.
da3b328d 1372
1606c2d3
MA
13732013-11-08 Michael Albinus <michael.albinus@gmx.de>
1374
1375 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1376 Remove instrumentation code.
1377
b0f4c320
GM
13782013-11-08 Glenn Morris <rgm@gnu.org>
1379
1380 * progmodes/autoconf.el (autoconf-mode):
1381 Tweak comment-start-skip. (Bug#15822)
1382
43668fb1
SM
13832013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1384
1385 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1386 at bobp (bug#15826).
1387 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1388
daddb3fd
DH
13892013-11-08 Darren Hoo <darren.hoo@gmail.com>
1390
1391 * man.el (Man-start-calling): New macro, extracted from
1392 Man-getpage-in-background.
1393 (Man-getpage-in-background): Use it.
1394 (Man-update-manpage): New command.
1395 (Man-mode-map): Bind it.
1396
1f923923
DG
13972013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1398
1399 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1400 of "and", "or", "&&" and "||".
1401 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1402 argument. Prohibit opening curly brace because it could only be a
1403 block opener in that position.
daddb3fd
DH
1404 (ruby-smie--forward-token, ruby-smie--backward-token):
1405 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
1406 arguments.
1407 (ruby-smie--indent-to-stmt): New function, seeks the end of
1408 previous statement or beginning of buffer.
1409 (ruby-smie-rules): Use it.
1410 (ruby-smie-rules): Check if there's a ":" before a curly block
1411 opener candidate; if there is, it's a hash.
1412
3220d527
SM
14132013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1414
1415 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1416 (cl--block-wrapper): Fix last accidental change.
1417
1eb1f9e0
MA
14182013-11-07 Michael Albinus <michael.albinus@gmx.de>
1419
1420 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1421 Instrument, in order to hunt failure on hydra.
1422
e6e4db3c
NT
14232013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1424
1425 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1426 malformed bindings form (bug#15814).
1427
b420ccfc
DG
14282013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1429
1430 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
1431 "." compared to " @ ". This incidentally fixes some indentation
1432 examples with "do".
e6e4db3c 1433 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
1434 (ruby-smie-grammar): New tokens: "and" and "or".
1435 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1436 Exclude "and" and "or". Remove "do" in order to work around token
1437 priorities.
1438 (ruby-smie-rules): Add all infix tokens. Handle the case of
1439 beginning-of-buffer.
b420ccfc 1440
6b4ac03e
GM
14412013-11-06 Glenn Morris <rgm@gnu.org>
1442
1443 * Makefile.in (setwins_almost, setwins_for_subdirs):
1444 Avoid accidental matches.
1445
5ca114d1
SM
14462013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1447
1448 * menu-bar.el (popup-menu): Use key-binding.
1449
f72552bd
EZ
14502013-11-06 Eli Zaretskii <eliz@gnu.org>
1451
1452 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1453 menus, support also the menus produced by minor modes.
1454 (Bug#15817)
1455
5d5c701e
LL
14562013-11-06 Leo Liu <sdl.web@gmail.com>
1457
1458 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1459 DISTANCE to bound the search. All uses changed. (Bug#15808)
1460
0a8b75e2
GM
14612013-11-06 Glenn Morris <rgm@gnu.org>
1462
1463 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
1464 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1465 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 1466
a35287ea
SM
14672013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1468
feca4e2d
SM
1469 * electric.el (electric-indent-just-newline): New command.
1470 (electric-indent-mode-map): New keymap.
1471 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1472 Re-add :group which weren't redundant.
1473
a35287ea
SM
1474 * electric.el (electric-indent-local-mode): New minor mode.
1475 (electric-indent-functions-without-reindent): New var.
1476 (electric-indent-post-self-insert-function): Use it.
1477 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1478
375761b2
EZ
14792013-11-05 Eli Zaretskii <eliz@gnu.org>
1480
9a6ad735
EZ
1481 * international/quail.el (quail-help): Be more explicit about the
1482 meaning of the labels shown on the keys. (Bug#15800)
1483
375761b2
EZ
1484 * startup.el (normal-top-level): Load the subdirs.el files before
1485 setting the locale environment. (Bug#15805)
1486
520a6e4a
SM
14872013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1488
0acfafef
SM
1489 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1490 via arguments so as to get the right ones (bug#15418).
1491
520a6e4a
SM
1492 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1493
15826261
MA
14942013-11-05 Michael Albinus <michael.albinus@gmx.de>
1495
1496 Fix problems found while writing a test suite.
1497
1498 * net/tramp-compat.el (tramp-compat-load): New defun.
1499 * net/tramp.el (tramp-handle-load): Use it.
1500
1501 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1502 "(numberp ok-if-already-exists)" correctly.
1503
d35f31a4
XF
15042013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1505
1506 * international/characters.el (glyphless-char-display-control):
1507 Add usage note.
1508
ae93bc74
BB
15092013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1510
520a6e4a
SM
1511 * progmodes/python.el (python-mode):
1512 * progmodes/scheme.el (scheme-mode):
1513 * progmodes/prolog.el (prolog-mode):
1514 * progmodes/ruby-mode.el (ruby-mode):
1515 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1516 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 1517
0ade65b5
SM
15182013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1519
a0d5f7a4
SM
1520 * rect.el (rectangle--highlight-for-redisplay):
1521 * emacs-lisp/smie.el (smie--next-indent-change):
1522 Use buffer-chars-modified-tick.
1523
c93f3f5c
SM
1524 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1525
0ade65b5
SM
1526 * electric.el (electric-indent-post-self-insert-function):
1527 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1528
ef9dd188
HE
15292013-11-04 Helmut Eller <eller.helmut@gmail.com>
1530
1531 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1532
306e7308
NT
15332013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1534
1535 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1536 (bug#15786).
1537
e5afbcac
SM
15382013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1539
1d01ad41
SM
1540 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1541
e5afbcac
SM
1542 * progmodes/python.el: Fix up last change.
1543 (python-shell--save-temp-file): New function.
1544 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1545 `string' comes from the current buffer.
1546 (python-shell-send-string-no-output): Remove `msg' arg.
1547 (python--use-fake-loc): New var.
1548 (python-shell-buffer-substring): Obey it. Try to compensate for the
1549 extra coding line added by python-shell--save-temp-file.
1550 (python-shell-send-region): Use python-shell--save-temp-file and
1551 python-shell-send-file directly. Add `nomain' argument.
1552 (python-shell-send-buffer): Use python-shell-send-region.
1553 (python-electric-pair-string-delimiter): New function.
1554 (python-mode): Use it.
1555
d0065ff1
EZ
15562013-11-04 Eli Zaretskii <eliz@gnu.org>
1557
1558 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1559 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1560 environment and decoding all of the default-directory's to here
1561 from command-line.
1562 (command-line): Decode also argv[0].
1563
1564 * loadup.el: Error out if default-directory is a multibyte string
1565 when we are dumping.
1566
1567 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1568
7397c587
TZ
15692013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1570
1571 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
1572 (package-menu--print-info, package-menu--archive-predicate):
1573 Add Archive column to package list.
7397c587 1574
b27cc9fc
MA
15752013-11-04 Michael Albinus <michael.albinus@gmx.de>
1576
1577 Fix problems found while writing a test suite.
1578
1579 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1580 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1581 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1582 to nil when running original file name handler. Otherwise,
1583 there are problems with constructs like "$$FOO".
1584
1585 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1586 for `localname'.
1587
d8c4f18a
BB
15882013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1589
7b530552
BB
1590 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1591
1592 * subr.el (version<, version<=, version=):
1593 Update docstrings with information for snapshot versions.
1594
d8c4f18a
BB
1595 * helpers.el: New library for misc helper functions.
1596 (hash-table-keys): New function returning a list of hash keys.
1597 (hash-table-values): New function returning a list of hash values.
1598
dca01b09
DG
15992013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1600
1601 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1602 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1603
0a749fa0
MN
16042013-11-04 Michal Nazarewicz <mina86@mina86.com>
1605
1606 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1607 checking whether point is after a 1-letter word.
1608
16092013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
1610
1611 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1612 Don't infloop when expanding region over `multiline' syntax-type that
1613 begins a line (bug#15778).
1614
4aca7145
SM
16152013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1616
1617 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1618 Make it into a proper minor mode.
1619 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1620 (rectangle-mark-mode-map): New keymap.
1621 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1622
a0833f62
GM
16232013-11-04 Glenn Morris <rgm@gnu.org>
1624
1625 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1626
e61845c1
SM
16272013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1628
1629 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1630 (ruby-smie-rules): Use smie-rule-parent instead.
1631
1632 * emacs-lisp/smie.el (smie-rule-parent): Always call
1633 smie-indent-virtual rather than only for hanging tokens.
1634 (smie--next-indent-change): New helper command.
1635
62942f89
GM
16362013-11-03 Glenn Morris <rgm@gnu.org>
1637
1638 * Makefile.in (abs_srcdir): Remove.
1639 (emacs): Unset EMACSLOADPATH.
1640
b0b9e592
GM
16412013-11-02 Glenn Morris <rgm@gnu.org>
1642
18ba6a33 1643 * Makefile.in (EMACS): Use a relative filename.
8061810d 1644 (abs_top_builddir): Remove.
18ba6a33
GM
1645 (custom-deps, finder-data, autoloads): Use --chdir.
1646
6a8b929e
GM
1647 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1648
c617f3d0
GM
1649 Use relative filenames in TAGS files.
1650 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1651 (lisptagsfiles4, TAGS): Use relative file names.
1652 (TAGS-LISP): Remove.
1653 (maintainer-clean): No more TAGS-LISP file.
1654
b0b9e592
GM
1655 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1656 (lisptagsfiles4): Use absolute filenames again.
1657 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1658 Remove all *loaddefs files, not just the first. Remove esh-groups.
1659 (maintainer-clean): Delete TAGS, TAGS-LISP.
1660
d1c0ea6a
BB
16612013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1662
e61845c1
SM
1663 * emacs-lisp/package.el (package-version-join):
1664 Recognize snapshot versions.
d1c0ea6a 1665
684d71c6
BB
16662013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1667
1668 * subr.el (version-regexp-alist): Add support for snapshot versions.
1669
3d42b968
DG
16702013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1671
e61845c1
SM
1672 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1673 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
1674 skip over our direct parent if it's an assignment token..
1675 (ruby-smie-rules): Use it.
1676
7ffd3721
DG
16772013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1678
1679 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1680 unconditionally. Remove now unnecessary forward declarations.
1681 Remove XEmacs-specific setup.
1682 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1683 (ruby-font-lock-syntactic-keywords)
1684 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1685 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1686 (ruby-here-doc-end-syntax): Remove.
1687 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1688 defined as function.
1689
a3996a2e
BB
16902013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1691
1692 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1693
6f9260e8
BB
16942013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1695
1696 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1697 table and abbrev table, `define-derived-mode' does that for us
1698 anyway.
1699
6014de84
GM
17002013-11-01 Glenn Morris <rgm@gnu.org>
1701
1702 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1703 files is atomic for some time, so no parallel compilation issues).
1704
3c334c14
JD
17052013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1706
1707 * faces.el (face-x-resources): Add :distant-foreground.
1708 (region): Use :distant-foreground for gtk and ns.
1709
9bc236c8
TH
17102013-11-01 Tassilo Horn <tsdh@gnu.org>
1711
5246583b 1712 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
1713 BibTeX.
1714 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1715 (reftex-locate-bibliography-files): Us it.
1716
d14c81ee
CB
17172013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1718
0e7690de
CB
1719 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1720 allow comments in pbm files.
1721
d14c81ee
CB
1722 * term/w32-win.el (dynamic-library-alist): Support newer versions
1723 of libjpeg starting with v7: look only for the DLL from the
1724 version against which Emacs was built.
ac1bf374 1725 Support versions of libpng beyond 1.4.x.
019c8218 1726 Support libtiff v4.x.
d14c81ee 1727
983d0df5
BB
17282013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1729
1730 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1731 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1732 Add property :safe.
1733 (ruby-deep-arglist): Add property :type.
1734
47f58d85
GM
17352013-10-31 Glenn Morris <rgm@gnu.org>
1736
1737 * Makefile.in (custom-deps, finder-data): No need to setq the target
1738 variables, we are in the right directory and the defaults work fine.
1739
4f85b479
GM
17402013-10-30 Glenn Morris <rgm@gnu.org>
1741
ca7dd4cd
GM
1742 * Makefile.in (autoloads): Do not use abs_lisp.
1743
4f85b479
GM
1744 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1745 `newline' does not respect `standard-output', so use `princ'.
1746
cf59e41c
AA
17472013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1748
1749 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1750 * buff-menu.el (Buffer-menu--unmark): New function.
1751 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1752
74cf04fb
GM
17532013-10-30 Glenn Morris <rgm@gnu.org>
1754
b040b60e
GM
1755 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1756
f53d3815
GM
1757 * emacs-lisp/package.el (lm-homepage): Declare.
1758
5413d873
GM
1759 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1760 Fix doc typos.
1761
cecedb36
GM
1762 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1763
74cf04fb
GM
1764 * Makefile.in (finder-data, autoloads, update-subdirs)
1765 (compile-main, compile-clean, compile-always, bootstrap-clean):
1766 Check return value of cd.
1767 (compile-calc): Remove.
1768
195ee2f0
SM
17692013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1770
ae4002ce
SM
1771 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1772
1773 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1774 (byte-compile-and-folded): New function.
1775 (=, <, >, <=, >=): Use it.
1776
1777 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1778 (path-separator, null-device, buffer-file-coding-system)
1779 (lpr-headers-switches): Check system-type before modifying them.
1780 (find-buffer-file-type-coding-system): Mark obsolete.
1781 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1782 find-file-not-found-set-buffer-file-coding-system.
1783 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1784 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1785 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1786 (w32-direct-print-region-helper, w32-direct-print-region-function)
1787 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1788 * startup.el (normal-top-level-add-subdirs-to-load-path):
1789 * ps-print.el (ps-print-region-function):
1790 * lpr.el (print-region-function): Use new name.
1791
53b39e89
SM
1792 * subr.el (custom-declare-variable-early): Remove function.
1793 (custom-declare-variable-list): Remove var.
1794 (error, user-error): Remove `while' loop.
1795 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1796 (user-emacs-directory-warning, locate-user-emacs-file):
1797 Move to files.el.
1798 * simple.el (read-quoted-char-radix, read-quoted-char):
1799 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1800 Move from subr.el.
1801 * custom.el (custom-declare-variable-list): Don't process
1802 custom-declare-variable-list.
1803
195ee2f0
SM
1804 * progmodes/python.el (python-shell-get-buffer): New function.
1805 (python-shell-get-process): Use it.
1806 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1807 Python which encoding was used. Don't split-string since we only care
1808 about the first line. Return the temp-file, if applicable.
1809 (python-shell-send-region): Tell compile.el how to turn locations in
1810 the temp-file into locations in the source buffer.
1811
7e3561ee
SM
18122013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1813
4c9797cb
SM
1814 * subr.el (undefined): Add missing behavior from the C code for
1815 unbound keys.
1816
3472b6c6
SM
1817 * rect.el: Use lexical-binding. Add new rectangular region support.
1818 (rectangle-mark): New command.
1819 (rectangle--region): New var.
1820 (deactivate-mark-hook): Reset rectangle--region.
1821 (rectangle--extract-region, rectangle--insert-for-yank)
1822 (rectangle--highlight-for-redisplay)
1823 (rectangle--unhighlight-for-redisplay): New functions.
1824 (region-extract-function, redisplay-unhighlight-region-function)
1825 (redisplay-highlight-region-function): Use them to handle
1826 rectangular region.
1827 * simple.el (region-extract-function): New var.
1828 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1829 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1830 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1831 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1832 (redisplay-unhighlight-region-function)
1833 (redisplay-highlight-region-function): New vars.
1834 (redisplay--update-region-highlight): New function.
1835 (pre-redisplay-function): Use it.
1836 (exchange-point-and-mark): Don't deactivate the mark before
1837 reactivate-it anyway.
1838 * comint.el (comint-kill-region): Remove yank-handler argument.
1839 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1840 (delete-char): Remove property, since it's now part of their
1841 default behavior.
1842 (self-insert-iso): Remove property since this command doesn't exist.
1843
7e3561ee
SM
1844 * emacs-lisp/package.el (package--download-one-archive)
1845 (describe-package-1): Don't query the user about final newline.
1846
b9bef71f
DC
18472013-10-29 Daniel Colascione <dancol@dancol.org>
1848
1849 * net/tramp.el (tramp-methods): Document new functionality.
1850 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1851 tramp-hostname-checker if method provides one instead of scanning
1852 argument list for "%h" to decide hostname acceptability.
1853
4efc33f0
MA
18542013-10-28 Michael Albinus <michael.albinus@gmx.de>
1855
1856 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1857 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1858 Handle COPY-CONTENTS. (Bug#15737)
1859
ed42a877
DU
18602013-10-28 Daiki Ueno <ueno@gnu.org>
1861
1862 * epa-file.el
7e3561ee
SM
1863 (epa-file-cache-passphrase-for-symmetric-encryption):
1864 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 1865
18c9f8a2
XF
18662013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1867
7a4bc7be
XF
1868 * image.el (defimage):
1869 (image-load-path): Doc fixes.
18c9f8a2 1870
b1e8e010
AM
18712013-10-27 Alan Mackenzie <acm@muc.de>
1872
1873 Indent statements in macros following "##" correctly.
7e3561ee
SM
1874 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1875 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 1876
73d40d1e 18772013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
1878
1879 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1880
c8c605ac
DG
18812013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1882
1883 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1884 after `=' is probably a new expression.
1885
ca7e59d4
RS
18862013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1887
1888 * man.el (man-imenu-title): New option.
1889 (Man-mode-map): Add menu. (Bug#15722)
1890 (Man-mode): Add imenu to menu.
1891
bae91342
DG
18922013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1893
1894 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1895 specific in what the first arg can be: a non-keyword word,
1896 string/regexp/percent literal opener, opening paren, or unary
1897 operator followed directly by word.
1898
eb89dc14
SM
18992013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1900
1901 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1902 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1903 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1904 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1905 Remove vars, they do not apply any more.
1906 (prolog-mode-abbrev-table): Remove redundant declaration.
1907 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1908 (prolog-use-smie): Remove.
1909 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1910 supported by prolog-electric-if-then-else-flag.
1911 (prolog-mode-variables, prolog-menu): Use setq-local.
1912 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1913 Remove binding to `Backspace' since this key doesn't exist anyway.
1914 Remove bindings for electric self-inserting keys.
1915 (prog-mode): Assume it's defined.
1916 (prolog-post-self-insert): New function.
1917 (prolog-mode): Use it.
1918 (prolog-indent-line, prolog-indent-level)
1919 (prolog-find-indent-of-matching-paren)
1920 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1921 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1922 (prolog-goto-next-paren, prolog-in-string-or-comment)
1923 (prolog-tokenize, prolog-inside-mline-comment)
1924 (prolog-find-start-of-mline-comment): Remove functions.
1925 (prolog-find-unmatched-paren, prolog-clause-end)
1926 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1927 (prolog-electric--if-then-else): Rename from
1928 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1929 (prolog-tokenize-searchkey): Remove const.
1930 (prolog-clause-info): Use forward-sexp.
1931 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1932 (prolog-electric-if-then-else): Remove commands.
1933 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1934 for use in post-self-insert-hook.
1935 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1936 for use in post-self-insert-hook.
1937 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1938 for use in post-self-insert-hook.
1939 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1940 adapt it for use in post-self-insert-hook.
1941
3dab0a83
MA
19422013-10-25 Michael Albinus <michael.albinus@gmx.de>
1943
1944 * emacs-lisp/ert.el (ert-run-tests-interactively):
1945 Use `completing-read'. (Bug#9756)
1946
fbfd0e1d
EZ
19472013-10-25 Eli Zaretskii <eliz@gnu.org>
1948
1949 * simple.el (line-move): Call line-move-1 instead of
1950 line-move-visual when the current window hscroll is zero, but
1951 temporary-goal-column indicates we will need to hscroll as result
1952 of the movement. (Bug#15712)
1953
963ce636
DG
19542013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1955
1956 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
1957 capitalization. Use :visible instead of :active.
1958 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
1959 commands that are used with SMIE.
1960 (ruby-do-end-to-brace): Insert space after `{'.
1961
a0be396a
JA
19622013-10-25 John Anthony <john@jo.hnanthony.com>
1963
f73754c9
JA
1964 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1965
1966 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 1967
f5bf77df
GM
19682013-10-25 Glenn Morris <rgm@gnu.org>
1969
1970 * vc/vc.el (vc-print-log): Don't use a working revision unless
1971 one was explicitly specified. (Bug#15322)
1972
37241f62
SM
19732013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1974
1975 * subr.el (add-to-list): Preserve return value in compiler-macro
1976 (bug#15692).
1977
6408a65d
RS
19782013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1979
1980 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1981 result. Ask user to retry using '-all' flag. (Bug#15701)
1982
71e3276b
SM
19832013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1984
1985 * emacs-lisp/smie.el: New smie-config system.
1986 (smie-config): New defcustom.
1987 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1988 (smie-config-guess, smie-config-save): New commands.
1989 (smie-config--mode-local, smie-config--buffer-local)
1990 (smie-config--trace, smie-config--modefuns): New vars.
1991 (smie-config--advice, smie-config--mode-hook)
1992 (smie-config--setter, smie-config-local, smie-config--get-trace)
1993 (smie-config--guess-value, smie-config--guess): New functions.
1994 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1995 text properties. Treat "string fence" syntax like string syntax.
1996
1997 * progmodes/sh-script.el (sh-use-smie): Change default.
1998 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1999 (sh-var-value): Simplify by CSE.
2000 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2001 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2002 is used.
2003 (sh-guess-basic-offset): Use cl-incf.
2004 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2005
60db713e
HE
20062013-10-24 Helmut Eller <eller.helmut@gmail.com>
2007
2008 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2009 (bug#15699).
2010
8b251df6
GM
20112013-10-24 Glenn Morris <rgm@gnu.org>
2012
2013 * Makefile.in (abs_top_srcdir): Remove.
2014 (update-subdirs): Use relative path to update-subdirs.
2015
6be0e22b
EZ
20162013-10-24 Eli Zaretskii <eliz@gnu.org>
2017
2018 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2019 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
2020 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2021 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 2022
50b5b857
MA
20232013-10-24 Michael Albinus <michael.albinus@gmx.de>
2024
2025 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2026 (ert-test-skipped): New error.
2027 (ert-skip, ert-stats-skipped): New defuns.
2028 (ert--skip-unless): New macro.
2029 (ert-test-skipped): New struct.
2030 (ert--run-test-debugger, ert-test-result-type-p)
2031 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2032 (ert--stats-set-test-and-result, ert-char-for-test-result)
2033 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 2034 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 2035 Handle skipped tests. (Bug#9803)
50b5b857 2036
6f317c2f
GM
20372013-10-24 Glenn Morris <rgm@gnu.org>
2038
e43817c1
GM
2039 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2040
6f317c2f
GM
2041 * Makefile.in (abs_top_srcdir): New, set by configure.
2042 (update-subdirs): Correct build-aux location.
2043
369bbf71
DG
20442013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2045
8297b2cf
DG
2046 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2047 value, whether we could auto-deduce `backend', or not.
2048
369bbf71
DG
2049 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2050 with parameters" example. Simplify the "is it block or is it
2051 hash" check, but also make it more thorough.
2052
d5f1282f
MF
20532013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2054
2055 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2056
bc4aaa31
SM
20572013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2058
03d44565
SM
2059 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2060 { if it is hanging.
2061
bc4aaa31
SM
2062 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2063 :before ";".
2064
f493ff19
JB
20652013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2066
2067 * progmodes/compile.el (compilation-directory-matcher)
2068 (compilation-page-delimiter):
2069 Support GNU Make-4.0 directory quoting. (Bug#15678)
2070
c744a3b9
LL
20712013-10-23 Leo Liu <sdl.web@gmail.com>
2072
2073 * ido.el (ido-tidy): Handle read-only text.
2074
b8e3b0a9
GM
20752013-10-23 Glenn Morris <rgm@gnu.org>
2076
2077 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2078 (emacs, compile, compile-always):
2079 Quote entities that might contain whitespace.
2080 (custom-deps, finder-data, autoloads): Use abs_lisp.
2081 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2082 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2083 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2084
ee4282cd
DG
20852013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2086
bc4aaa31
SM
2087 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2088 Use `following-char'.
7790a270 2089
ee4282cd 20902013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
2091
2092 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2093 * progmodes/ruby-mode.el (ruby-smie-rules):
2094 Remove corresponding workaround. Fix indentation rule of ";" so it
2095 also applies when ";" is the parent.
2096
d40a46d7
XF
20972013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2098
2099 * frame.el (display-screens, display-pixel-height)
2100 (display-pixel-width, display-mm-width, display-backing-store)
2101 (display-save-under, display-planes, display-color-cells)
7790a270
SM
2102 (display-visual-class, display-monitor-attributes-list):
2103 Mention the optional ‘display’ argument in doc strings.
d40a46d7 2104
a0f143c9
MG
21052013-10-22 Michael Gauland <mikelygee@amuri.net>
2106
2107 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2108 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2109
18cacc39
DG
21102013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2111
2112 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2113 TODO. Add "." after " @ ".
2114 (ruby-smie--at-dot-call): New function. Checks if point at method
2115 call with explicit target.
2116 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2117 to the method name tokens when it precedes them.
2118 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2119 (ruby-smie-rules): Add rule for indentation before and after "."
2120 token.
2121
df74c4be
SM
21222013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2123
c6dab55f
SM
2124 * textmodes/remember.el (remember-diary-extract-entries):
2125 Avoid add-to-list.
2126
df74c4be
SM
2127 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2128 an instruction.
2129
8c1ae481
DG
21302013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2131
cfef16c0
DG
2132 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2133 (ruby-smie--implicit-semi-p): Add new operator chars.
2134
8c1ae481
DG
2135 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2136 `smie-down-list'.
2137 (ruby-smie--args-separator-p): Check that there's no newline
2138 between method call and its arguments.
2139
87756ca9
AM
21402013-10-20 Alan Mackenzie <acm@muc.de>
2141
2142 Allow comma separated lists after Java "implements".
2143
df74c4be
SM
2144 * progmodes/cc-engine.el (c-backward-over-enum-header):
2145 Parse commas.
87756ca9
AM
2146 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2147 from a "disallowed" list in enum fontification.
2148
c25f8957
JB
21492013-10-20 Johan Bockgård <bojohan@gnu.org>
2150
df74c4be 2151 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 2152
c25f8957
JB
2153 * progmodes/verilog-mode.el (verilog-mode): Don't set
2154 comment-indent-function globally.
2155
aca5fcdc
JD
21562013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2157
5f161884
JD
2158 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2159 Move Info menu item creation to ns-win.el.
2160
2161 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2162 in menu bar.
2163
aca5fcdc
JD
2164 * menu-bar.el: Move GNUStep specific menus...
2165
2166 * term/ns-win.el (ns-initialize-window-system): ... to here.
2167
914b7f98
SM
21682013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2169
2170 * simple.el (newline): Only run post-self-insert-hook when
2171 called interactively.
2172
846ffe77
JB
21732013-10-19 Johan Bockgård <bojohan@gnu.org>
2174
2175 * icomplete.el (icomplete-with-completion-tables): Add :version.
2176
033f22dd
AM
21772013-10-19 Alan Mackenzie <acm@muc.de>
2178
2179 Fix fontification bugs with constructors and const.
2180
2181 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2182 CASE 2) Remove the check for the absence of a suffix construct
2183 after a function declaration with only types (no identifiers) in
2184 the parentheses. Also, accept a function declaration with just a
2185 type inside the parentheses, if this type can be positively
2186 recognised as such, or if a prefix keyword like "explicit" nails
2187 down the construct as a declaration.
2188
58ce0cfc
EZ
21892013-10-19 Eli Zaretskii <eliz@gnu.org>
2190
2191 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2192 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2193 the problem whereby selecting a menu item that leads to a
2194 minibuffer prompt moves the cursor out of the minibuffer window,
2195 making it hard to type at the prompt. Suggested by Stefan Monnier
2196 <monnier@iro.umontreal.ca>.
2197
50e28e7d
JD
21982013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2199
2200 * menu-bar.el: Don't make Services menu.
2201
7deed4bf
RS
22022013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2203
2204 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2205 (ffap-alist): Use ffap-c++-mode for c++-mode.
2206 (ffap-c++-path): New variable.
2207 (ffap-c++-mode): New function.
2208
7bcb455b
JVJ
22092013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2210
2211 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2212
f0ff1cd5
MA
22132013-10-18 Michael Albinus <michael.albinus@gmx.de>
2214
2215 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2216 introduced on 2013-09-08, which results in an infinite loop
2217 requesting a password.
2218
d64da4b7
GM
22192013-10-18 Glenn Morris <rgm@gnu.org>
2220
2221 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2222
ea89ff08
WS
22232013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2224
2225 Sync with upstream verilog-mode revision 1a6ecec7.
2226 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2227 (verilog-mode-release-date): Remove.
2228 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2229 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2230 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2231 (verilog-auto-tieoff-ignore-regexp)
2232 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2233 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2234 (verilog-signals-with, verilog-dir-cache-preserving)
2235 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2236 Doc fixes.
2237 (verilog-case-fold): New option, to control case folding in
2238 regexp searches, bug597.
2239 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2240 (verilog-string-match-fold, verilog-in-paren-count)
2241 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2242 (verilog-at-close-struct-p): New functions.
2243 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2244 (verilog-forward-sexp, verilog-set-auto-endcomments):
2245 (verilog-leap-to-case-head): Handle "unique0" case.
2246 (verilog-in-constraint-re): New constant.
2247 (verilog-keywords, verilog-type-font-keywords):
2248 Add some SystemVerilog 1800-2012 keywords.
2249 (verilog-label-be): Remove unimplemented argument, bug669.
2250 (verilog-batch-execute-func): When batch expanding clear
2251 create-lockfiles to prevent spurious user locks when a file ends
2252 up not changing.
2253 (verilog-calculate-indent, verilog-calc-1)
2254 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2255 (verilog-do-indent): Fix indentation of nested constraints
2256 and structures.
2257 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2258 (verilog-auto-inst-param): Use verilog-string-match-fold.
2259 (verilog-read-inst-module-matcher):
2260 Fix AUTOINST on gate primitives with #1.
2261 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2262 Reads all user-defined typed variables.
2263 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2264 (verilog-signals-matching-regexp)
2265 (verilog-signals-not-matching-regexp, verilog-auto):
2266 Respect verilog-case-fold.
2267 (verilog-diff-report): Fix line count.
2268 (verilog-auto-assign-modport): Remove unused local `modi'.
2269 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2270 better handle multidimensional arrays.
2271 Fix packed array ports misadding bit index in AUTOINST, bug637.
2272 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2273 to not double-declare existing outputs and inputs, respectively.
2274 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2275 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2276 (verilog-sk-uvm-component): New skeleton.
2277 (verilog-submit-bug-report): Add verilog-case-fold,
2278 remove verilog-mode-release-date.
2279
ef566920
BR
22802013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2281
2282 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2283 as before.
2284
29df8a0b
RT
22852013-10-18 Reuben Thomas <rrt@sc3d.org>
2286
2287 * textmodes/remember.el (remember): set buffer-offer-save in
2288 remember buffers (bug#13566).
2289
04a19a79
DC
22902013-10-18 Daniel Colascione <dancol@dancol.org>
2291
2292 When evaluating forms in ielm, direct standard output to ielm
2293 buffer. Add new ielm-return-for-effect command. Remove trailing
2294 whitespace throughout.
2295
2296 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2297 (ielm-return-for-effect): New command.
2298 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
2299 (ielm-eval-input): Accept optional `for-effect' parameter.
2300 Bind `standard-output' to stream we create using
04a19a79
DC
2301 `ielm-standard-output-impl'. Suppress printing result when
2302 `for-effect'.
2303 (ielm-standard-output-impl): New function.
2304 (inferior-emacs-lisp-mode): Explain new features in documentation.
2305
4c1f03ef
MA
23062013-10-17 Michael Albinus <michael.albinus@gmx.de>
2307
2308 Code cleanup.
2309
2310 * net/tramp.el (tramp-debug-message): Do not check for connection
2311 buffer.
2312 (tramp-message): Use "vector" connection property.
2313
2314 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2315 (tramp-equal-remote, tramp-eshell-directory-change)
2316 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2317 (tramp-adb-handle-rename-file)
2318 * net/tramp-cmds.el (tramp-list-remote-buffers)
2319 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2320 * net/tramp-compat.el (tramp-compat-process-running-p)
2321 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2322 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2323 (tramp-gvfs-handle-rename-file)
2324 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2325 (tramp-set-file-uid-gid)
2326 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2327 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2328 of `file-remote-p'.
2329
2330 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2331 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2332 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2333 (tramp-gw-open-network-stream): Suppress unrelated traces.
2334
2335 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2336 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2337 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2338 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2339 connection property.
2340
2341 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 2342 persistency file.
4c1f03ef
MA
2343
2344 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2345 Refactor common code. Improve debug message.
2346 (tramp-maybe-open-connection)
2347 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2348 connection buffer too early.
2349
2350 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2351 from `tramp-smb-actions-with-acl'.
2352 (tramp-smb-actions-set-acl): New defconst.
2353 (tramp-smb-handle-copy-directory)
2354 (tramp-smb-action-get-acl): New defun, renamed from
2355 `tramp-smb-action-with-acl'.
2356 (tramp-smb-action-set-acl): New defun.
2357 (tramp-smb-handle-set-file-acl): Rewrite.
2358
642eb8b6
GM
23592013-10-17 Glenn Morris <rgm@gnu.org>
2360
2361 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2362
85527ff3
SM
23632013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2364
921c1d62
SM
2365 * skeleton.el (skeleton-newline): Remove.
2366 (skeleton-internal-1): Use (insert "\n") instead.
2367
e333fb10
SM
2368 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2369 let-bindings.
2370
85527ff3
SM
2371 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2372 forward-sexp-function while we redo its job (bug#15613).
2373
c8722a97
JB
23742013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2375
2376 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2377 represented by lists.
2378
7a550bbb
GM
23792013-10-16 Glenn Morris <rgm@gnu.org>
2380
2381 * tmm.el (tmm--history): New dynamic variable.
2382 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2383
f19da8ad
MA
23842013-10-16 Michael Albinus <michael.albinus@gmx.de>
2385
2386 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2387 (tramp-smb-errors): Add error messages.
2388 (tramp-smb-actions-with-acl): New defconst.
2389 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2390 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2391 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2392 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2393 (tramp-smb-get-stat-capability): Fix tests.
2394
a24b9961
DK
23952013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2396
2397 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2398 (bug#15580).
2399
62ad85e6
GM
24002013-10-16 Glenn Morris <rgm@gnu.org>
2401
0283d6b0
GM
2402 * ansi-color.el (ansi-color-drop-regexp):
2403 Add 1J, 1K, 2K. (Bug#15617)
2404
012e2f9f
GM
2405 * files.el (hack-local-variables--warned-lexical): New.
2406 (hack-local-variables):
2407 Warn about misplaced lexical-binding. (Bug#15616)
2408
62ad85e6
GM
2409 * net/eww.el (eww-render): Always set eww-current-url,
2410 and update header line. (Bug#15622)
2411 (eww-display-html): ... Rather than just doing it here.
2412
6456c0ea
EZ
24132013-10-15 Eli Zaretskii <eliz@gnu.org>
2414
2415 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2416 menu navigations commands.
2417
c2de5588
DK
24182013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2419
2420 * progmodes/subword.el (subword-capitalize): Be careful when
2421 the search for [[:alpha:]] fails (bug#15580).
2422
ccd4a783
EZ
24232013-10-14 Eli Zaretskii <eliz@gnu.org>
2424
2425 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2426 to commands that scroll the menu.
2427
1eda1d8d
DG
24282013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2429
c2de5588
DK
2430 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2431 Handle methods ending with `?' and `!'.
1eda1d8d 2432
e70181b8
AM
24332013-10-14 Akinori MUSHA <knu@iDaemons.org>
2434
2435 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2436 `japanese-cp932' to `cp932' to fix the problem where saving a
2437 source file written in Shift_JIS twice would end up having
2438 `coding: japanese-cp932' which Ruby could not recognize.
2439 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2440 in `ruby-encoding-map'.
2441 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2442 doesn't need to be explicitly declared in magic comment.
2443 (ruby-encoding-map): Add type declaration for better customize UI.
2444
9148ee92
GM
24452013-10-13 Glenn Morris <rgm@gnu.org>
2446
a5d38e34
GM
2447 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2448 Occur buffers are read-only. http://bugs.debian.org/720775
2449
9148ee92
GM
2450 * emacs-lisp/authors.el (authors-fixed-entries):
2451 Comment out old alpha stuff.
2452
a9ba094b
DG
24532013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2454
2455 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2456 to `after-save-hook' instead of `before-save-hook'.
2457 (ruby-mode-set-encoding): Use the value of coding system used to
2458 write the file. Call `basic-save-buffer-1' after modifying the
2459 buffer.
2460
7a068717
AM
24612013-10-13 Alan Mackenzie <acm@muc.de>
2462
2463 Fix indentation/fontification of Java enum with
2464 "implements"/generic.
2465
c2de5588
DK
2466 * progmodes/cc-engine.el (c-backward-over-enum-header):
2467 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
2468 (c-inside-bracelist-p): Uses new function above.
2469 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2470 function above.
2471 (c-font-lock-enum-tail): Uses new function above.
2472
85b64f02
KH
24732013-10-13 Kenichi Handa <handa@gnu.org>
2474
2475 * international/mule-cmds.el (select-safe-coding-system): Remove a
2476 superfluous condition in chekcing whether a coding system is safe
2477 or not.
2478
fc7f501b
OK
24792013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2480
2481 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2482
fdcb2049
AP
24832013-10-13 Andreas Politz <politza@hochschule-trier.de>
2484
2485 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2486
8c106d17
GM
24872013-10-13 Glenn Morris <rgm@gnu.org>
2488
feab892d
GM
2489 * menu-bar.el (menu-bar-update-buffers):
2490 Unify Buffers menu prompt string. (Bug#15576)
2491
b22d0686
GM
2492 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2493
8c106d17
GM
2494 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2495 Add some entries.
2496 (authors-fixed-entries): Use accented form of name.
2497
1b12c797
SM
24982013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2499
650fa7bf 2500 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 2501 method calls (bug#15594).
650fa7bf
SM
2502 (ruby-smie--args-separator-p): New function.
2503 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2504 recognize paren-free method calls.
2505
1b12c797
SM
2506 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2507 internals of universal-argument.
2508
029619c8
EZ
25092013-10-11 Eli Zaretskii <eliz@gnu.org>
2510
2511 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
2512 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2513 dropped menu on second mouse click on the menu bar.
029619c8 2514
dd070019
SM
25152013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2516
2517 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2518 (explicit-shell-file-name): Declare.
2519 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2520 (sh-completion-at-point-function): New function.
2521 (sh-mode): Use it.
2522 (sh-smie--keyword-p): Remove unused argument.
2523 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2524 vars.
2525 (sh-set-shell): Always setup SMIE, even if we use the
2526 old indentation code.
2527
0922b826
DG
25282013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2529
b68e2926
DG
2530 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2531 cases of ? and =.
2532 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2533 predicate would return nil are almost non-existent.
2534 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2535
0922b826
DG
2536 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2537 cache also after commands that modify the buffer but don't move
2538 point.
2539
ee041f2d
SM
25402013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2541
2542 * env.el (substitute-env-in-file-name): New function.
2543 (substitute-env-vars): Extend the meaning of the optional arg.
2544
a5dab159
EZ
25452013-10-10 Eli Zaretskii <eliz@gnu.org>
2546
2547 * term/w32-win.el (dynamic-library-alist): Define separate lists
2548 of GIF DLLs for versions before and after 5.0.0 of giflib.
2549 (Bug#15531)
2550
0449d6cd 25512013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
2552
2553 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2554 not locked, use last revision and current source as
2555 defaults. (Bug#15569)
2556
2f6e161e
MY
25572013-10-10 Masatake YAMATO <yamato@redhat.com>
2558
2559 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2560 menu-bar is hidden.
2561
6c8413fc
MR
25622013-10-10 Martin Rudalics <rudalics@gmx.at>
2563
2564 * window.el (pop-to-buffer-same-window): Fix doc-string.
2565 (Bug#15492)
2566
20832de0
SM
25672013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2568
2569 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2570
c6e8ae77
AC
25712013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2572
2573 * calendar/icalendar.el (icalendar-import-file):
2574 Fix interactive spec. (Bug#15482)
2575
9db13baf
GM
25762013-10-10 Glenn Morris <rgm@gnu.org>
2577
9271e90e
GM
2578 * desktop.el (desktop-save): Default to saving in .emacs.d,
2579 since PWD is no longer in desktop-path by default. (Bug#15319)
2580
9db13baf
GM
2581 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2582 now that text mode has a menu with the same entry.
2583 (menu-bar-text-mode-auto-fill): Remove now unused func.
2584 * textmodes/text-mode.el (text-mode-map):
2585 Use auto-fill help text from menu-bar.el.
2586
a0be396a 25872013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
2588
2589 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2590
2edcd3c7
JL
25912013-10-09 Juri Linkov <juri@jurta.org>
2592
2593 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2594 instead of this-command-keys. Add universal-argument-more and
2595 universal-argument-minus to the list of prefix commands. (Bug#15568)
2596
574411d0
GM
25972013-10-09 Glenn Morris <rgm@gnu.org>
2598
14afa541
GM
2599 * vc/vc-svn.el (vc-svn-create-repo):
2600 Expand paths in file://... url. (Bug#15446)
2601
574411d0
GM
2602 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2603 Add some entries.
2604 (authors): Remove unused local variables.
2605
79804536
SM
26062013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2607
2608 * profiler.el: Create a more coherent calltree from partial backtraces.
2609 (profiler-format): Hide the tail with `invisible' so that C-s can still
2610 find the hidden elements.
2611 (profiler-calltree-depth): Don't recurse so enthusiastically.
2612 (profiler-function-equal): New hash-table-test.
2613 (profiler-calltree-build-unified): New function.
2614 (profiler-calltree-build): Use it.
2615 (profiler-report-make-name-part): Indent the calltree less.
2616 (profiler-report-mode): Add visibility specs for profiler-format.
2617 (profiler-report-expand-entry, profiler-report-toggle-entry):
2618 Expand the whole subtree when provided with a prefix arg.
2619
238150c8
DG
26202013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2621
2622 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2623 iuwu-mod token.
2624 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2625 hanging iuwu-mod token.
2626 (ruby-smie--forward-token): Do not include a dot after a token in
2627 that token.
2628 (ruby-smie--backward-token): Likewise.
2629
b0949cc4
JL
26302013-10-08 Juri Linkov <juri@jurta.org>
2631
2632 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2633 to isearch-other-control-char.
2634 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2635 and isearch-post-command-hook to post-command-hook.
2636 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2637 and isearch-post-command-hook from post-command-hook.
2638 (isearch-unread-key-sequence)
2639 (isearch-reread-key-sequence-naturally)
2640 (isearch-lookup-scroll-key, isearch-other-control-char)
2641 (isearch-other-meta-char): Remove functions.
2642 (isearch-pre-command-hook, isearch-post-command-hook):
2643 New functions based on isearch-other-meta-char rewritten
2644 relying on the new behavior of overriding-terminal-local-map
2645 that does not replace the local keymaps any more. (Bug#15200)
2646
4ed77415
EZ
26472013-10-08 Eli Zaretskii <eliz@gnu.org>
2648
2649 Support menus on text-mode terminals.
2650 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2651 functionality.
2652
2653 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2654
c2de5588
DK
2655 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2656 Move here from mouse.el.
4ed77415
EZ
2657 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2658 and arrow keys.
2659 (tty-menu-navigation-map): New map for TTY menu navigation.
2660
2661 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2662
2663 * frame.el (display-mouse-p): Report text-mode mouse as available
2664 on w32.
2665 (display-popup-menus-p): Report availability if mouse is
2666 available; don't condition on window-system.
2667
2668 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2669 (tty-menu-selected-face): New faces.
2670
b7d5bd82
TL
26712013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2672
06286513
SM
2673 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2674 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2675 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2676 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2677 New constants.
2678 (lisp-mode-variables): New `elisp' argument.
2679 (emacs-lisp-mode): Use it.
2680 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2681 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2682
b7d5bd82
TL
2683 * indent.el: Use lexical-binding.
2684 (indent-region): Add progress reporter.
2685 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2686 last step.
2687 (indent--next-tab-stop): New function to implement this behavior.
2688 (tab-to-tab-stop, move-to-tab-stop): Use it.
2689
26902013-10-08 Teemu Likonen <tlikonen@iki.fi>
2691
2692 * indent.el (indent-rigidly--current-indentation): New function.
2693 (indent-rigidly-map): New var.
2694 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2695
5ea75d23
BG
26962013-10-08 Bastien Guerry <bzg@gnu.org>
2697
2698 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2699
cc5da1ec
SM
27002013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2701
8ffa1a0b
SM
2702 * progmodes/perl-mode.el: Use lexical-binding.
2703 Remove redundant :group args.
2704 (perl-nochange): Change default to be closer to other major modes's
2705 standard behavior.
2706 (perl-indent-line): Don't consider text on current line as a
2707 valid beginning of function from which to indent.
2708
f2223371
SM
2709 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2710 with more than one argument (bug#15538).
2711
44256060
SM
2712 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2713
cc5da1ec
SM
2714 * vc/pcvs.el: Use lexical-binding.
2715 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2716 environment of `eval'.
2717 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2718 than a list of expressions. Adjust callers.
2719 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2720
0ea1599d
DG
27212013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2722
2723 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 2724 case of the dot in a chained method call being on the following line.
0ea1599d 2725
da3e5ebb
SM
27262013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2727
2abb4e65
SM
2728 * electric.el (electric-indent-inhibit): New var.
2729 (electric-indent-post-self-insert-function): Use it.
2730 * progmodes/python.el (python-mode): Set it.
2731
d2e0e795
SM
2732 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2733 open braces.
2734
2735 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2736
bdc6b4c8
SM
2737 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2738 (css-mode): Use electric-indent-chars.
2739
da3e5ebb
SM
2740 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2741 (font-lock-beg, font-lock-end): Move before first use.
2742 (nxml-mode): Use syntax-propertize-function.
2743 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2744 (nxml-extend-after-change-region): Remove.
2745 * nxml/xmltok.el: Use lexical-binding.
2746 (xmltok-save): Use `declare'.
2747 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2748 * nxml/nxml-util.el: Use lexical-binding.
2749 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2750 Use `declare'.
2751 * nxml/nxml-ns.el: Use lexical-binding.
2752 (nxml-ns-save): Use `declare'.
2753 (nxml-ns-prefixes-for): Avoid add-to-list.
2754 * nxml/rng-match.el: Use lexical-binding.
2755 (rng--ipattern): Use cl-defstruct.
2756 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2757 (rng-cons-group-after, rng-subst-group-after)
2758 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2759 Use closures instead of `(lambda...).
2760
f8f91d5d
MA
27612013-10-07 Michael Albinus <michael.albinus@gmx.de>
2762
2763 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2764 of BEG and END.
2765
da3e5ebb
SM
2766 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2767 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
2768 (tramp-gvfs-handle-insert-file-contents): Remove function.
2769
da3e5ebb
SM
2770 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2771 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
2772
2773 * net/trampver.el: Update release number.
2774
7ccae3b1
SM
27752013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2776
55ca2c0d
SM
2777 * progmodes/compile.el (compilation-parse-errors):
2778 Use compilation--put-prop.
2779 (compilation--ensure-parse): Check compilation-multiline.
2780
731fc3ae
SM
2781 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2782
da3e5ebb
SM
2783 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2784 lexical-binding.
a5833280 2785
2e7ba2c2
SM
2786 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2787
7ccae3b1
SM
2788 * progmodes/ruby-mode.el: Fix recently added tests.
2789 (ruby-smie-grammar): Add - and +.
2790 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2791 (ruby-smie--backward-id): New functions.
2792 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2793 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2794 any more.
2795
85698d63
LL
27962013-10-07 Leo Liu <sdl.web@gmail.com>
2797
2798 * register.el (register-preview-delay)
2799 (register-preview-functions): New variables.
2800 (register-read-with-preview, register-preview)
2801 (register-describe-oneline): New functions.
2802 (point-to-register, window-configuration-to-register)
2803 (frame-configuration-to-register, jump-to-register)
2804 (number-to-register, view-register, insert-register)
2805 (copy-to-register, append-to-register, prepend-to-register)
2806 (copy-rectangle-to-register): Use register-read-with-preview to
2807 read register. (Bug#15525)
2808
3986af6c
DS
28092013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2810
2811 * net/network-stream.el (network-stream-open-starttls): Don't add
2812 --insecure if it's already present, because that gnutls-cli
2813 rejects getting that parameter twice.
2814
5cd9cda9
DG
28152013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2816
2817 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2818 keyword, too.
2819
da9ea6d9
DG
28202013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2821
2822 * newcomment.el (comment-use-global-state): Change default value
2823 to t, mark obsolete (Bug#15251).
2824 (comment-beginning): In addition to `comment-to-syntax', check the
2825 value of `comment-use-global-state'.
2826
34d1a133
SM
28272013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2828
2829 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2830 (ruby-comment-column): Follow the global default, by default.
2831 (ruby-smie-grammar): Add assignment syntax.
2832 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2833 open-paren, a comma, or a \.
2834 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2835 and line continuations.
2836 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2837 followed by implicit semi-colons. Add rule for string concatenation
2838 and for indentation at BOB.
2839 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2840
2841 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2842 calling next-sexp, since next-token may have skipped chars which
2843 next-sexp doesn't know should be skipped!
2844
6f6ab820
LL
28452013-10-05 Leo Liu <sdl.web@gmail.com>
2846
34d1a133
SM
2847 * progmodes/octave.el (octave-send-region):
2848 Call compilation-forget-errors.
6f6ab820 2849
34ca0f4c
XF
28502013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2851
2852 * vc/vc-svn.el (vc-svn-find-admin-dir):
2853 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2854 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2855 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2856 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2857
a27c1b72
SM
28582013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2859
2860 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2861
258ab3bc
SM
28622013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2863
2864 * subr.el (read-passwd): Hide chars even when called within a context
2865 where after-change-functions is disabled (bug#15501).
2866 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2867 until we removed ourself from overriding-terminal-local-map.
2868
939fb29c
LL
28692013-10-04 Leo Liu <sdl.web@gmail.com>
2870
258ab3bc
SM
2871 * progmodes/octave.el (inferior-octave-mode):
2872 Call compilation-forget-errors.
939fb29c 2873
63bd7f35
XF
28742013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2875
2876 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2877
9e6229fa
MA
28782013-10-04 Michael Albinus <michael.albinus@gmx.de>
2879
2880 * net/secrets.el (secrets-create-collection): Add optional
2881 argument ALIAS. Use proper Label keyword. Append ALIAS as
2882 dbus-call-method argument. (Bug#15516)
2883
1dab32a3
LL
28842013-10-04 Leo Liu <sdl.web@gmail.com>
2885
2886 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2887 (inferior-octave-compilation-font-lock-keywords): New variables.
2888 (compilation-error-regexp-alist)
2889 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2890 (inferior-octave-mode): Use compilation-shell-minor-mode.
2891
6cad7ba3
JS
28922013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2893
2894 * minibuffer.el (completion--replace): Be careful that `end' might be
2895 a marker.
2896
acbadd00
DU
28972013-10-03 Daiki Ueno <ueno@gnu.org>
2898
2899 Add support for package signature checking.
2900 * emacs-lisp/package.el (url-http-file-exists-p)
2901 (epg-make-context, epg-context-set-home-directory)
2902 (epg-verify-string, epg-context-result-for)
2903 (epg-signature-status, epg-signature-to-string)
2904 (epg-check-configuration, epg-configuration)
2905 (epg-import-keys-from-file): Declare.
2906 (package-check-signature): New user option.
2907 (package-unsigned-archives): New user option.
2908 (package-desc): Add `signed' field.
2909 (package-load-descriptor): Set `signed' field if .signed file exists.
2910 (package--archive-file-exists-p): New function.
2911 (package--check-signature): New function.
2912 (package-install-from-archive): Check package signature.
2913 (package--download-one-archive): Check archive signature.
2914 (package-delete): Remove .signed file.
2915 (package-import-keyring): New command.
2916 (package-refresh-contents): Import default keyring.
2917 (package-desc-status): Add "unsigned" status.
2918 (describe-package-1, package-menu--print-info)
2919 (package-menu-mark-delete, package-menu--find-upgrades)
2920 (package-menu--status-predicate): Support "unsigned" status.
2921
adf2aa61
SM
29222013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2923
2924 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2925 the new compilation scheme using the new byte-codes.
2926
2927 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2928 (byte-pophandler): New byte codes.
2929 (byte-goto-ops): Adjust accordingly.
2930 (byte-compile--use-old-handlers): New var.
2931 (byte-compile-catch): Use new byte codes depending on
2932 byte-compile--use-old-handlers.
2933 (byte-compile-condition-case--old): Rename from
2934 byte-compile-condition-case.
2935 (byte-compile-condition-case--new): New function.
2936 (byte-compile-condition-case): New function that dispatches depending
2937 on byte-compile--use-old-handlers.
2938 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2939 when we can.
2940
2941 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2942 Optimize under `condition-case' and `catch' if
2943 byte-compile--use-old-handlers is nil.
2944 (disassemble-offset): Handle new bytecodes.
2945
328a8179
SM
29462013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2947
2948 * subr.el (error): Use `declare'.
2949 (decode-char, encode-char): Use advertised-calling-convention instead
2950 of the docstring to discourage use of the `restriction' arg.
2951
15a1e936
DU
29522013-10-03 Daiki Ueno <ueno@gnu.org>
2953
2954 * epg.el (epg-verify-file): Add a comment saying that it does not
2955 notify verification error as a return value nor a signal.
2956 (epg-verify-string): Ditto.
2957
376f862a
KR
29582013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2959
2960 * progmodes/compile.el (compilation-start): Try globbing the arg to
2961 `cd' (bug#15417).
2962
a2f93a5f
MA
29632013-10-02 Michael Albinus <michael.albinus@gmx.de>
2964
2965 Sync with Tramp 2.2.8.
2966
2967 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2968 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2969 * net/trampver.el: Update release number.
2970
0daa0804
JD
29712013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2972
2973 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2974 and default-process-coding-system for darwin only.
2975
abd1ae34
SM
29762013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2977
2978 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2979
be4e325d
MH
29802013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2981
2982 * vc/vc-git.el (vc-git-grep): Disable pager.
2983
e9155c4a
DG
29842013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2985
494e898b
DG
2986 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2987 Use :url instead of :homepage, as per
2988 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2989
e9155c4a
DG
2990 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2991 non-nil, use `syntax-ppss' (Bug#15251).
2992
481a8e0f
RS
29932013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2994
be4e325d
MH
2995 * progmodes/octave.el (inferior-octave-startup-file):
2996 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 2997
056453c6
DG
29982013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2999
be4e325d
MH
3000 * emacs-lisp/package.el (package-desc-from-define):
3001 Accept additional arguments as plist, convert them to an alist and store
3002 them in the `extras' slot.
056453c6
DG
3003 (package-generate-description-file): Convert extras alist back to
3004 plist and append to the `define-package' form arguments.
3005 (package--alist-to-plist): New function.
3006 (package--ac-desc): Add `extras' slot.
3007 (package--add-to-archive-contents): Check if the archive-contents
3008 vector is long enough, and if it is, pass its `extras' slot value
3009 to `package-desc-create'.
3010 (package-buffer-info): Call `lm-homepage', pass the returned value
3011 to `package-desc-from-define'.
3012 (describe-package-1): Render the homepage button (Bug#13291).
3013
be4e325d
MH
3014 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3015 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 3016
832966e5
JD
30172013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3018
3019 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3020 and default-process-coding-system to utf-8-unix (Bug#15402).
3021
6cfe977d
XF
30222013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3023
3024 * subr.el (looking-back): Do not recommend using looking-back.
3025
38de11bd
AM
30262013-09-28 Alan Mackenzie <acm@muc.de>
3027
3028 Fix indentation/fontification of Java enum with "implements".
3029
3030 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3031 regexp which matches "implements", etc., in Java.
3032 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3033 specifier clauses coming after "enum".
3034 * progmodes/cc-fonts.el (c-font-lock-declarations)
3035 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3036 after "enum".
3037
1610938f
JD
30382013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3039
3040 * faces.el (region): Change ns_selection_color to
3041 ns_selection_fg_color, add ns_selection_bg_color.
3042
e090f499
LL
30432013-09-28 Leo Liu <sdl.web@gmail.com>
3044
4d2e94d1
LL
3045 * progmodes/octave.el (inferior-octave-completion-table)
3046 (inferior-octave-completion-at-point): Minor tweaks.
3047
e090f499
LL
3048 * textmodes/ispell.el (ispell-lookup-words): Rename from
3049 lookup-words. (Bug#15460)
3050 (lookup-words): Obsolete.
3051 (ispell-complete-word, ispell-command-loop): All uses changed.
3052
7e138a62
RS
30532013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3054
3055 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3056 (octave-mode-menu): Add octave-send-buffer.
3057 (octave-send-buffer): New function.
3058
5af5ed08
RS
30592013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3060
3061 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3062 octave-lookfor.
3063 (octave-mode-menu): Add octave-lookfor.
3064 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3065 octave-lookfor.
3066 (octave-lookfor): New function.
3067
3b7b2692
SM
30682013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3069
3070 * emacs-lisp/cl-macs.el:
3071 (cl--loop-destr-temps): Remove.
3072 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3073 its convention.
3074 (cl--loop-set-iterator-function): New function.
3075 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3076 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3077 Bind `it' with `let' instead of substituting it with `cl-subst'.
3078 (cl--unused-var-p): New function.
3079 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3080 Eliminate some unused variable warnings (bug#15326).
3081
529fb53f
TH
30822013-09-27 Tassilo Horn <tsdh@gnu.org>
3083
3084 * doc-view.el (doc-view-scale-reset): Rename from
3085 `doc-view-reset-zoom-level'.
3086 (doc-view-scale-adjust): New command.
3087 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3088 `doc-view-scale-adjust'.
3089
0550c95a
TH
30902013-09-26 Tassilo Horn <tsdh@gnu.org>
3091
3092 * doc-view.el (doc-view-reset-zoom-level): New command.
3093 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3094 zoom commands (bug#15466).
3095
6950f152
KH
30962013-09-26 Kenichi Handa <handa@gnu.org>
3097
3098 * international/quail.el (quail-help): Make it not a command.
3099
39587580
LL
31002013-09-26 Leo Liu <sdl.web@gmail.com>
3101
3102 * minibuffer.el (completion-all-sorted-completions): Make args
3103 optional as they are.
3104
00578659
DC
31052013-09-25 Daniel Colascione <dancol@dancol.org>
3106
3107 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3108 specs are and that they're not evaluated.
3109
0c173878
SS
31102013-09-24 Sam Steingold <sds@gnu.org>
3111
3112 * midnight.el (clean-buffer-list-kill-regexps)
3113 (clean-buffer-list-kill-buffer-names): Update for the new Man
3114 buffer naming which includes the object name.
3115
84998447
SM
31162013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3117
3118 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3119 (eshell-parse-command, eshell-parse-pipeline): Use it since
3120 eshell-separate-commands requires a dynamic scoped var.
3121 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3122
33215353
LL
31232013-09-23 Leo Liu <sdl.web@gmail.com>
3124
3125 * autoinsert.el (auto-insert-alist): Make the value of
3126 lexical-binding match its file setting.
3127
57b16162
JB
31282013-09-23 Juanma Barranquero <lekktu@gmail.com>
3129
c8af4e67
JB
3130 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3131
57b16162
JB
3132 * autoarg.el (autoarg-kp-digit-argument):
3133 * electric.el (Electric-command-loop):
3134 * kmacro.el (kmacro-step-edit-insert):
3135 Do not set universal-argument-num-events.
3136
7186ba60
LL
31372013-09-22 Leo Liu <sdl.web@gmail.com>
3138
3139 * files.el (interpreter-mode-alist): Add octave.
3140
ece15004
AM
31412013-09-21 Alan Mackenzie <acm@muc.de>
3142
3143 C++: fontify identifier in declaration following "public:" correctly.
3144 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3145 to match "public", etc.
3146 (c-decl-prefix-re): Add ":" into the C++ value.
3147 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3148 bit. Add a check for a ":" preceded by "public", etc.
3149
75d83e22
EZ
31502013-09-21 Eli Zaretskii <eliz@gnu.org>
3151
3152 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3153 recognized by GDB 7.5 and later.
3154
d052d3bd
XF
31552013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3156
3157 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3158
31dca772
R
31592013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3160
3161 * subr.el (internal--call-interactively): New const.
3162 (called-interactively-p): Use it (bug#3984).
3163
98ccf24e
XF
31642013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3165
3166 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
3167 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3168 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 3169
c39cc7d1
SM
31702013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3171
3172 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3173 (eshell-ls-orig-insert-directory): Remove.
3174 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3175 (eshell-ls-use-in-dired): Use advice-add/remove.
3176 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3177 Add `orig-fun' arg for use in :around advice.
3178 Make it check (redundantly) eshell-ls-use-in-dired.
3179
9a0289a2
GM
31802013-09-19 Glenn Morris <rgm@gnu.org>
3181
a2c501b8
GM
3182 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3183
c440407a
GM
3184 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3185
9a0289a2
GM
3186 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3187
85e05915
MA
31882013-09-19 Michael Albinus <michael.albinus@gmx.de>
3189
3190 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3191 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3192 (tramp-get-remote-python): New defuns.
3193 (tramp-get-remote-uid-with-perl)
3194 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3195 contributed by yary <not.com@gmail.com> (tiny change).
3196 (tramp-get-remote-uid-with-python)
3197 (tramp-get-remote-gid-with-python): New defuns. Python code
3198 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3199 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3200
ce503312
GM
32012013-09-19 Glenn Morris <rgm@gnu.org>
3202
f7544773
GM
3203 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3204
72fd2877
GM
3205 * eshell/em-unix.el (eshell-remove-entries):
3206 Rename argument to avoid name-clash with global `top-level'.
3207
336b5a56
GM
3208 * eshell/esh-proc.el (eshell-kill-process-function):
3209 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3210 (eshell-reset-after-proc): Remove unused arg `proc'.
3211
57a3a53d
GM
3212 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3213 (directory-files-and-attributes): Mark unused arg.
3214
3261d4af
GM
3215 * eshell/em-unix.el (eshell-remove-entries):
3216 Remove unused arg `path'. Update callers.
3217
8e51b5d0
GM
3218 * eshell/em-hist.el (eshell-hist-parse-arguments):
3219 Remove unused arg `silent'. Update callers.
3220
ce503312
GM
3221 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3222 Fix (f)boundp mix-up.
3223
3224 * eshell/em-smart.el (eshell-smart-scroll-window)
3225 (eshell-disable-after-change):
336b5a56 3226 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 3227
ee3ce8a7
AM
32282013-09-18 Alan Mackenzie <acm@muc.de>
3229
3230 Fix fontification of type when followed by "const".
3231 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3232 "known" types from fontification.
3233
ec9177ba
GM
32342013-09-18 Glenn Morris <rgm@gnu.org>
3235
7bb3e768
GM
3236 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3237 (chart-face-list): Drop Emacsen without display-color-p.
3238
5148da15
GM
3239 * net/eww.el (libxml-parse-html-region): Declare.
3240 (eww-display-html): Explicit error if no libxml2 support.
3241
2f68e157
GM
3242 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3243
9019d095
GM
3244 * image.el (image-type-from-buffer, image-multi-frame-p):
3245 Remove --without-x warning/error.
67645389 3246
5f30349b 3247 * mouse.el (mouse-yank-primary):
45069b2e 3248 * term.el (term-mouse-paste):
5f30349b
GM
3249 Reorder to silence --without-x compilation.
3250
cd8edbbe
GM
3251 * mpc.el (doc-view-mode): Silence --without-x compilation.
3252
8a78544e
GM
3253 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3254 Silence --without-x compilation.
3255
12679bfd
GM
3256 * progmodes/gud.el (gud-find-file, gud-mode):
3257 Silence --without-x compilation.
3258 (tooltip-mode): Declare.
30810a05 3259
f0047cb9
GM
3260 * wdired.el (dired-backup-overwrite): Remove declaration.
3261 (wdired-mode-map): Add doc string.
3262
e740f9d2
GM
3263 * custom.el (x-get-resource): Declare.
3264
92d77c89
GM
3265 * eshell/em-glob.el (ange-cache):
3266 * eshell/em-unix.el (ange-cache): Declare.
3267
76e69577
GM
3268 * faces.el (x-display-list, x-open-connection, x-get-resource):
3269 Declare.
7e58af4b
GM
3270
3271 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3272 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3273 Declare.
76e69577 3274
4bd4c0af 3275 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 3276
ffb82dbd
GM
3277 * net/gnutls.el (gnutls-log-level): Declare.
3278
986ed135
GM
3279 * net/shr.el (image-size, image-animate): Declare.
3280
e740f9d2
GM
3281 * simple.el (font-info): Declare.
3282
d2f3e9f8
GM
3283 * subr.el (x-popup-dialog): Declare.
3284
047a1a4c
GM
3285 * term/common-win.el (x-select-enable-primary)
3286 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3287 Declare.
3288
f4a1d572
GM
3289 * term/ns-win.el (x-handle-args): Declare.
3290
e843de77
GM
3291 * term/x-win.el (x-select-enable-clipboard): Declare.
3292
5fa89513
GM
3293 * term/w32-win.el (create-default-fontset): Declare.
3294
38702b5b
GM
3295 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3296 Declare.
3297
e740f9d2
GM
3298 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3299 (fit-frame-to-buffer): Explicit error if --without-x.
3300 (mouse-autoselect-window-select): Silence compiler.
3301
49a053fc
GM
3302 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3303
3304 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3305 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3306 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 3307 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
3308 Remove unused local variables.
3309
3310 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3311
ec9177ba
GM
3312 * textmodes/two-column.el: Make 2C-split work for --without-x.
3313 (scroll-bar-columns): Autoload.
3314 (top-level): Require fringe when compiling.
3315
9f25cb77
LL
33162013-09-18 Leo Liu <sdl.web@gmail.com>
3317
3318 * subr.el (add-hook): Robustify to handle closure as well.
3319
2b42da98
GM
33202013-09-17 Glenn Morris <rgm@gnu.org>
3321
3322 * simple.el (messages-buffer-mode-map): Unbind "g".
3323
e8b66a6a
SM
33242013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3325
9c0ad4f7
SM
3326 * help-mode.el (help-mode-finish): Use derived-mode-p.
3327 Remove obsolete highlighting.
3328
7a806dfb
SM
3329 * play/life.el (life-mode): Use define-derived-mode. Derive from
3330 special-mode.
3331 (life): Let-bind inhibit-read-only.
3332 (life-setup): Avoid `setq'. Use `life-mode'.
3333
96dbf5a8
SM
3334 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3335 which should not be needed any more.
3336 (package-menu-refresh, package-menu-describe-package): Use user-error.
3337
e8b66a6a
SM
3338 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3339 (eshell-post-rewrite-command-hook): Make obsolete.
3340 (eshell-parse-command): Simplify.
3341 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3342 (eshell--cmd): Declare.
3343 (eshell-parse-pipeline): Remove unused var `final-p'.
3344 Pass a dynvar to eshell-post-rewrite-command-hook.
3345 Implement the new eshell-post-rewrite-command-function.
3346 (eshell-invoke-directly): Remove unused arg `input'.
3347 * eshell/esh-io.el (eshell-io-initialize):
3348 Use eshell-post-rewrite-command-function (bug#15399).
3349 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3350 adjust to new calling convention.
3351 (eshell-create-handles): Rename args to avoid clashing with dynvar
3352 `standard-output'.
3353
90582f05
GM
33542013-09-17 Glenn Morris <rgm@gnu.org>
3355
3356 * simple.el (messages-buffer-mode): New major mode.
3357 (messages-buffer): New function.
3358 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3359 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 3360 (ert-run-test): Use `messages-buffer' function.
90582f05 3361 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
3362 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3363 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 3364
39eb0cb5 33652013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
3366
3367 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3368
1f1e06e2
SM
3369 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3370
70568a90
SM
33712013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3372
504a0381
SM
3373 * icomplete.el (icomplete-in-buffer): New var.
3374 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3375 vars and replace them with functions.
3376 (icomplete-minibuffer-setup): Adjust accordingly.
3377 (icomplete--completion-table, icomplete--completion-predicate)
3378 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3379 New functions.
3380 (icomplete-forward-completions, icomplete-backward-completions)
3381 (icomplete-simple-completing-p, icomplete-exhibit)
3382 (icomplete-completions): Use them.
3383 (icomplete--in-region-buffer): New var.
3384 (icomplete--in-region-setup): New function.
3385 (icomplete-mode): Use it.
3386
70568a90
SM
3387 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3388 (bug#15379).
3389 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3390 return args and options.
3391 (eshell-eval-using-options): Use the new return value of
3392 eshell--do-opts to set the options's vars in their scope.
3393 (eshell--set-option): Rename from eshell-set-option.
3394 Add arg `opt-vals'.
3395 (eshell--process-option): Rename from eshell-process-option.
3396 Add arg `opt-vals'.
3397 (eshell--process-args): Use an `opt-vals' alist to store the options's
3398 values during their processing and return them additionally to the
3399 remaining args.
3400
578c21bc
DG
34012013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3402
3403 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3404 continuation character an operator, as far as indentation is
3405 concerned (Bug#15369).
3406
c089653d
MR
34072013-09-15 Martin Rudalics <rudalics@gmx.at>
3408
3409 * window.el (window--state-put-2): Don't process buffer state
3410 when buffer doesn't exist any more (Bug#15382).
3411
1e53bb4b
GM
34122013-09-15 Glenn Morris <rgm@gnu.org>
3413
30753242
GM
3414 * eshell/em-unix.el (eshell/rm):
3415 Make -f ignore missing files. (Bug#15373)
3416
1e53bb4b
GM
3417 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3418 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3419 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3420
0d8863b3
GM
34212013-09-14 Glenn Morris <rgm@gnu.org>
3422
3423 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3424
d3fc6549
GM
34252013-09-13 Glenn Morris <rgm@gnu.org>
3426
3427 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3428 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3429
fcd42c11
DA
34302013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3431
3432 * frame.el (x-focus-frame): Mark as declared in frame.c.
3433
7830899f
SM
34342013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3435
3436 * ls-lisp.el: Use advice-add.
3437 (original-insert-directory): Remove.
3438 (ls-lisp--insert-directory): Rename from insert-directory; add
3439 `orig-fun' argument.
3440 (insert-directory): Advise.
3441
84387cd2
EZ
34422013-09-13 Eli Zaretskii <eliz@gnu.org>
3443
3444 * term.el (term-emulate-terminal): Decode the command string
3445 before passing it to term-command-hook. (Bug#15337)
3446
35ffc6ba
GM
34472013-09-13 Glenn Morris <rgm@gnu.org>
3448
5c3f9bcc
GM
3449 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3450
2ada368a
GM
3451 * eshell/esh-ext.el (eshell-search-path): Declare.
3452
fcef2e13
GM
3453 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3454 Otherwise an error occurs if eshell-dirs module not loaded.
3455
35ffc6ba
GM
3456 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3457
35c3d36e
MA
34582013-09-13 Michael Albinus <michael.albinus@gmx.de>
3459
3460 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3461 `tramp-check-proper-host'. Check for a valid method name.
3462
3463 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3464 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3465 * net/tramp-sh.el (tramp-maybe-open-connection):
3466 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3467
3468 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3469 also for hash values.
3470
ae5e4c48
SM
34712013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3472
379add74
SM
3473 * term/ns-win.el (parameters): Don't declare as dynamic.
3474 (before-make-frame-hook): Don't add ineffective function.
3475
ae5e4c48
SM
3476 * eshell/*.el: Use lexical-binding (bug#15231).
3477
b5623270
KH
34782013-09-12 Kenichi Handa <handa@gnu.org>
3479
ae5e4c48 3480 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 3481
30213927
GM
34822013-09-12 Glenn Morris <rgm@gnu.org>
3483
be94d713 3484 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 3485 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 3486
44915370
GM
3487 * subr.el (do-after-load-evaluation): Also give compiler warnings
3488 when obsolete files are used (except by obsolete files).
3489
a6ae021f
GM
3490 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3491 in the status output, assume `filename' is the first. (Bug#15322)
3492
40e64f0c
GM
3493 * vc/vc.el (vc-deduce-fileset): Doc fix.
3494
16d9f896
GM
3495 * calc/calc-help.el (Info-goto-node):
3496 * progmodes/cperl-mode.el (Info-find-node):
3497 * vc/ediff.el (Info-goto-node): Update declarations.
3498
dea01c6e
GM
3499 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3500
759880bf 3501 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
3502 (vc-bzr-pull): Require vc-dispatcher.
3503 * vc/vc-git.el (vc-compilation-mode): Declare.
3504 (vc-git-pull): Require vc-dispatcher.
3505
08d66420
GM
3506 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3507
30b626e9
GM
3508 * progmodes/octave.el (help-button-action): Declare.
3509
8c05cb10
GM
3510 * shell.el (shell-directory-tracker): Output error as a message
3511 rather than just returning it as a string.
3512 (shell-process-pushd): Remove useless use of message.
3513
30213927
GM
3514 * dframe.el (dframe-timer-fn):
3515 * files.el (dir-locals-read-from-file):
3516 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3517 (mpc-format):
3518 * reveal.el (reveal-post-command):
3519 * saveplace.el (load-save-place-alist-from-file):
3520 * shell.el (shell-resync-dirs):
3521 * w32-common-fns.el (x-get-selection-value):
3522 * emacs-lisp/copyright.el (copyright-find-copyright):
3523 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3524 * emulation/tpu-edt.el (tpu-copy-keyfile):
3525 * play/bubbles.el (bubbles--mark-neighbourhood):
3526 * progmodes/executable.el
3527 (executable-make-buffer-file-executable-if-script-p):
3528 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3529
d3b049e6
SM
35302013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3531
170266d0
SM
3532 Cleanup Eshell to rely less on dynamic scoping.
3533 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3534 last-value, and ext-command here. Bind `args' closer to `body'.
3535 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3536 (eshell--args): Declare new dynamic var.
3537 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3538 last-value, and ext-command. Pass `args' to `body'.
3539 (eshell-process-args): Bind eshell--args.
3540 (eshell-set-option): Use eshell--args.
3541 * eshell/eshell.el (eshell): Use derived-mode-p.
3542 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3543 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3544 (eshell-glob-function): Declare.
3545 * eshell/esh-util.el: Require cl-lib.
3546 (eshell-read-hosts-file): Avoid add-to-list.
3547 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3548 `err'.
3549 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3550 Declare.
3551 (eshell/diff): Remove unused var `err'.
3552 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3553 `killflag'.
3554 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3555 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3556 first use.
3557 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3558 Move declaration before first use.
3559 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
3560 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3561 rely on cl-return.
3562
56834f3b
GM
35632013-09-12 Glenn Morris <rgm@gnu.org>
3564
3565 * term/ns-win.el (global-map): Remove binding for ispell-next,
3566 deleted 1999-05-29. (Bug#15357)
3567
5c91a2b8
GM
35682013-09-11 Glenn Morris <rgm@gnu.org>
3569
da712f22
GM
3570 * echistory.el (electric-command-history): Remove call to deleted func.
3571
512e4cdc
GM
3572 * play/landmark.el (landmark-mode): Fix typos.
3573
d3506ca5
GM
3574 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3575 Check cvs-sort-ignore-file is bound.
3576
5c91a2b8
GM
3577 * savehist.el: No need for cl when compiling on Emacs.
3578
feeff482
SM
35792013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3580
656bd483
SM
3581 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3582 (bug#15338).
d3b049e6
SM
3583 (eshell-self-insert-command, eshell-send-invisible):
3584 Remove unused argument.
656bd483
SM
3585 (eshell-handle-control-codes): Remove unused var `orig'.
3586 Avoid delete-backward-char.
3587
feeff482
SM
3588 * files.el (set-auto-mode): Simplify a bit further.
3589
2a08047a
GM
35902013-09-11 Glenn Morris <rgm@gnu.org>
3591
3592 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3593 (set-auto-mode): Don't regexp-quote elements.
3594 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3595 * progmodes/cc-mode.el (interpreter-mode-alist):
3596 * progmodes/ruby-mode.el (interpreter-mode-alist):
3597 Revert previous change.
3598
34675540
SM
35992013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3600
1b3b87df
SM
3601 * play/snake.el (snake-mode):
3602 * play/mpuz.el (mpuz-mode):
3603 * play/landmark.el (lm-mode):
3604 * play/blackbox.el (blackbox-mode):
3605 * play/5x5.el (5x5-mode):
3606 * obsolete/options.el (Edit-options-mode):
3607 * net/quickurl.el (quickurl-list-mode):
3608 * net/newst-treeview.el (newsticker-treeview-mode):
3609 * mail/rmailsum.el (rmail-summary-mode):
3610 * mail/mspools.el (mspools-mode):
3611 * locate.el (locate-mode):
3612 * ibuffer.el (ibuffer-mode):
3613 * emulation/ws-mode.el (wordstar-mode):
3614 * emacs-lisp/debug.el (debugger-mode):
3615 * array.el (array-mode):
3616 * net/eudc.el (eudc-mode): Use define-derived-mode.
3617 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3618 Move initialization into declaration.
3619 (mairix-searches-mode): Use define-derived-mode.
3620 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3621 (eudc-edit-hotlist): Use dolist.
3622 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3623 (Man-mode): Use define-derived-mode.
3624 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3625 (Info-edit-mode): Use define-derived-mode.
3626 (Info-cease-edit): Use Info-mode.
3627 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3628 into declaration.
3629 (eshell-mode): Use define-derived-mode.
3630 * chistory.el (command-history-mode-map): Rename from
3631 command-history-map.
3632 (command-history-mode): Use define-derived-mode.
da712f22 3633 (Command-history-setup): Remove function.
1b3b87df
SM
3634 * calc/calc.el (calc-trail-mode-map): New var.
3635 (calc-trail-mode): Use define-derived-mode.
3636 (calc-trail-buffer): Set calc-main-buffer manually.
3637 * bookmark.el (bookmark-insert-annotation): New function.
3638 (bookmark-edit-annotation): Use it.
3639 (bookmark-edit-annotation-mode): Make it a proper major mode.
3640 (bookmark-send-edited-annotation): Use derived-mode-p.
3641 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3642 closer to its ideal place. Use \' to match EOS.
3643
34675540
SM
3644 * profiler.el (profiler-calltree-find): Use function-equal.
3645
6a5c15d9
GM
36462013-09-10 Glenn Morris <rgm@gnu.org>
3647
1af4c220
GM
3648 * files.el (interpreter-mode-alist): Convert to regexps.
3649 (set-auto-mode): Adapt for this. (Bug#15306)
3650 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3651 Comment out unused variable.
3652 * progmodes/cc-mode.el (interpreter-mode-alist):
3653 * progmodes/python.el (interpreter-mode-alist):
3654 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3655 * progmodes/sh-script.el (sh-set-shell):
3656 No longer use interpreter-mode-alist to get list of shells.
3657
6a5c15d9
GM
3658 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3659
8c27f5ff
SM
36602013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3661
02ef6c1a 3662 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 3663 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
3664 Bind switch-frame explicitly. Replace universal-argument-minus with
3665 a conditional binding.
3666 (universal-argument-num-events, saved-overriding-map): Remove.
3667 (restore-overriding-map): Remove.
3668 (universal-argument--mode): Rename from save&set-overriding-map,
3669 and rewrite.
3670 (universal-argument, universal-argument-more, negative-argument)
3671 (digit-argument): Adjust accordingly.
3672 (universal-argument-minus): Remove.
3673 (universal-argument-other-key): Remove.
3674
8c27f5ff
SM
3675 * subr.el (with-demoted-errors): Add `format' argument.
3676
6480194c
MA
36772013-09-10 Michael Albinus <michael.albinus@gmx.de>
3678
3679 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3680 `tramp-cleanup-connection'.
3681
3682 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3683 parameters KEEP-DEBUG and KEEP-PASSWORD.
3684
3685 * net/tramp.el (tramp-file-name-handler):
3686 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3687 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3688 (tramp-maybe-open-connection):
8c27f5ff
SM
3689 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3690 Use `tramp-cleanup-connection'.
6480194c 3691
8c27f5ff
SM
3692 * net/tramp-sh.el (tramp-maybe-open-connection):
3693 Catch 'uname-changed inside the progress reporter.
6480194c 3694
e5e916d8
GM
36952013-09-10 Glenn Morris <rgm@gnu.org>
3696
9a2c9b47
GM
3697 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3698
e5e916d8
GM
3699 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3700 returns "alternate access method" in mode (eg "-rw-r--r--.").
3701
144e38fe
GM
37022013-09-08 Glenn Morris <rgm@gnu.org>
3703
3704 * saveplace.el (load-save-place-alist-from-file):
3705 Demote errors. (Bug#15305)
3706
af9ff9e8
MA
37072013-09-08 Michael Albinus <michael.albinus@gmx.de>
3708
3709 Improve compatibility with older Emacsen, and XEmacs.
3710
3711 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3712 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
3713 (with-tramp-progress-reporter): Do not let-bind `result'.
3714 This yields to scoping errors in XEmacs.
af9ff9e8
MA
3715 (tramp-handle-make-auto-save-file-name): New function, moved from
3716 tramp-sh.el.
3717
3718 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3719 for `make-auto-save-file-name'.
8c27f5ff
SM
3720 (tramp-adb--gnu-switches-to-ash):
3721 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3722
3723 * net/tramp-cache.el (tramp-cache-print): Call
3724 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3725
3726 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3727 bound. It isn't for XEmacs.
3728
8c27f5ff
SM
3729 * net/tramp-compat.el (tramp-compat-copy-file):
3730 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
3731 (tramp-compat-replace-regexp-in-string): New defun.
3732
3733 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3734 for `make-auto-save-file-name'.
3735 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3736 `copy-file'.
3737 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3738 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3739 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3740
8c27f5ff
SM
3741 * net/tramp-gw.el (tramp-gw-open-network-stream):
3742 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 3743
8c27f5ff
SM
3744 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3745 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
3746 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3747 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
3748 (tramp-sh-file-inotifywait-process-filter):
3749 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3750 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3751
3752 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3753 for `make-auto-save-file-name'.
8c27f5ff
SM
3754 (tramp-smb-handle-copy-directory):
3755 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3756 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3757 (tramp-smb-handle-copy-file): Improve error message.
3758 (tramp-smb-handle-rename-file): Rename directly only in case
3759 `newname' does not exist yet. This is a restriction of smbclient.
3760 (tramp-smb-maybe-open-connection): Rerun the function only when
3761 `auth-sources' is non-nil.
3762
0ca754d0
KH
37632013-09-08 Kenichi Handa <handa@gnu.org>
3764
3765 * international/characters.el: Set category "^" (Combining) for
3766 more characters.
3767
e8dd0787
AM
37682013-09-07 Alan Mackenzie <acm@muc.de>
3769
3770 Correctly fontify Java class constructors.
3771 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3772 in Java Mode.
3773 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
3774 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3775 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
3776 "typeless" declaration there.
3777
f2f248e7
RW
37782013-09-07 Roland Winkler <winkler@gnu.org>
3779
3780 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3781 field subtitle for entry type book.
3782
67982e2b
SM
37832013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3784
3785 * minibuffer.el: Make minibuffer-complete call completion-in-region
3786 rather than other way around.
3787 (completion--some, completion-pcm--find-all-completions):
3788 Don't delay signals when debugging.
3789 (minibuffer-completion-contents): Beware fields within the
3790 minibuffer contents.
3791 (completion-all-sorted-completions): Use defvar-local.
3792 (completion--do-completion, completion--cache-all-sorted-completions)
3793 (completion-all-sorted-completions, minibuffer-force-complete):
3794 Add args `beg' and `end'.
3795 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3796 (minibuffer-complete): Use completion-in-region.
3797 (completion-complete-and-exit): New fun, extracted from
3798 minibuffer-complete-and-exit.
3799 (minibuffer-complete-and-exit): Use it.
3800 (completion--complete-and-exit): Rename from
3801 minibuffer--complete-and-exit.
3802 (completion-in-region--single-word): New function, extracted from
3803 minibuffer-complete-word.
3804 (minibuffer-complete-word): Use it.
3805 (display-completion-list): Make `common-substring' argument obsolete.
3806 (completion--in-region): Call completion--in-region-1 instead of
3807 minibuffer-complete.
3808 (completion-help-at-point): Pass boundaries to
3809 minibuffer-completion-help as args rather than via an overlay.
3810 (completion-pcm--string->pattern): Use `any-delim'.
3811 (completion-pcm--optimize-pattern): New function.
3812 (completion-pcm--pattern->regex): Handle `any-delim'.
3813 * icomplete.el (icomplete-forward-completions)
3814 (icomplete-backward-completions, icomplete-completions):
3815 Adjust calls to completion-all-sorted-completions and
3816 completion--cache-all-sorted-completions.
3817 (icomplete-with-completion-tables): Default to t.
3818 * emacs-lisp/crm.el (crm--current-element): Rename from
3819 crm--select-current-element. Don't put an overlay but return the
3820 boundaries instead.
3821 (crm--completion-command): Take two new args to bind to the boundaries.
3822 (crm-completion-help): Adjust accordingly.
3823 (crm-complete): Use completion-in-region.
3824 (crm-complete-word): Use completion-in-region--single-word.
3825 (crm-complete-and-exit): Use completion-complete-and-exit.
3826
e17d94a5
SM
38272013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3828
3829 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3830 than dynamically.
3831
96727100
JL
38322013-09-06 Juri Linkov <juri@jurta.org>
3833
3834 * info.el (Info-display-images-node): When image file doesn't exist
3835 display text version of the image if it's provided in the Info file.
3836 Otherwise, display the location of missing image from SRC attribute.
3837 Add help-echo text property from ALT attribute. (Bug#15279)
3838
86cf7329
SM
38392013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3840
3841 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3842 (edit-abbrevs-mode): Use define-derived-mode.
3843
3844 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3845 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3846 that it's defined.
3847 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3848 Use define-derived-mode.
3849
3850 * epg.el (epg-start-encrypt): Minor CSE simplification.
3851
816244a2
WX
38522013-09-06 William Xu <william.xwl@gmail.com>
3853
3854 * arc-mode.el: Add support for 7za (bug#15264).
3855 (archive-7z-program): New var.
3856 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3857 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3858 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3859
1486fa31
MA
38602013-09-06 Michael Albinus <michael.albinus@gmx.de>
3861
3862 Remove URL syntax.
3863
3864 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3865 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3866 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3867 (tramp-postfix-host-format, tramp-file-name-regexp)
3868 (tramp-completion-file-name-regexp)
3869 (tramp-completion-dissect-file-name)
3870 (tramp-handle-substitute-in-file-name): Remove 'url case.
3871 (tramp-file-name-regexp-url)
3872 (tramp-completion-file-name-regexp-url): Remove constants.
3873
39785324
GM
38742013-09-06 Glenn Morris <rgm@gnu.org>
3875
3876 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3877
1f896cb7
DG
38782013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3879
3880 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3881 keywords" below "here-doc beginnings" (Bug#15270).
3882
c0458e0b
SM
38832013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3884
3885 * subr.el (pop): Use `car-safe'.
3886 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3887 to detect unused `pop' return value.
3888
3889 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3890 var `block-regexp'.
3891 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3892 (python-fill-string): Remove unused var `marker'.
3893 (python-skeleton-add-menu-items): Remove unused var `items'.
3894
3895 * international/mule-cmds.el: Require CL.
3896 (find-coding-systems-for-charsets): Avoid add-to-list.
3897 (sanitize-coding-system-list): New function, extracted from
3898 select-safe-coding-system-interactively.
3899 (select-safe-coding-system-interactively): Use it.
3900 (read-input-method-name): Accept symbols for `default'.
3901
3902 * emacs-lisp/advice.el (defadvice): Add indent rule.
3903
6c42fc3e
DH
39042013-09-05 Daniel Hackney <dan@haxney.org>
3905
3906 * dired-x.el:
3907 * net/ange-ftp.el:
3908 * net/browse-url.el:
3909 * net/dbus.el:
3910 * net/eudc.el:
3911 * net/eudcb-ldap.el:
3912 * net/eww.el:
3913 * net/imap.el:
3914 * printing.el:
3915 * vc/ediff-diff.el:
3916 * vc/ediff-init.el:
3917 * vc/ediff-merg.el:
3918 * vc/ediff-mult.el:
3919 * vc/ediff-util.el:
3920 * vc/ediff-wind.el:
3921 * vc/ediff.el:
3922 * vc/emerge.el:
3923 * vc/pcvs.el:
3924 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3925 byte compiler. Remove some unused let-bound variables.
3926
4c528aab
SM
39272013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3928
3929 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3930 a "ref-cell", since it gets better optimized (bug#14883).
3931
bd15c390
GM
39322013-09-05 Glenn Morris <rgm@gnu.org>
3933
3934 * progmodes/cc-awk.el (c-forward-sws): Declare.
3935
1c3ac2e5
GM
39362013-09-04 Glenn Morris <rgm@gnu.org>
3937
3938 * generic-x.el [rul-generic-mode]: Require cc-mode.
3939 (c++-mode-syntax-table): Declare.
3940 (rul-generic-mode-syntax-table): Init in the defvar.
3941
52b1cc79
SM
39422013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3943
c828af56
SM
3944 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3945 (vc-do-command, vc-set-async-update):
3946 * vc/vc-mtn.el (vc-mtn-dir-status):
3947 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3948 (vc-hg-pull, vc-hg-merge-branch):
3949 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3950 (vc-git-merge-branch):
3951 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3952 (vc-cvs-dir-status-files):
3953 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3954 (vc-bzr-dir-status-files):
3955 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3956 * vc/vc-annotate.el: Use lexical-binding.
3957 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3958 (vc-sentinel-movepoint): Declare.
3959 (vc-annotate): Don't use `goto-line'.
3960 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3961 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3962 (vc-sentinel-movepoint): Declare.
3963 * vc/vc-svn.el: Use lexical-binding.
3964 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3965 * vc/vc-sccs.el:
3966 * vc/vc-rcs.el: Use lexical-binding.
3967
abae272c
SM
3968 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3969 `deleted'. Don't drop errors silently.
3970
52b1cc79
SM
3971 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3972
63191d9f
XF
39732013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3974
3975 * vc/vc.el (vc-ignore): Rewrite.
3976 (vc-default-ignore): New function.
3977 (vc-default-ignore-completion-table): Use find-ignore-file.
3978
3979 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3980 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3981 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3982 Remove. Most code moved to vc.el.
3983
9d3f707c
SM
39842013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3985
abae272c 3986 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
3987 * net/tramp-smb.el (tramp-smb-get-file-entries):
3988 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3989 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3990
fde38d49
SM
3991 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3992 Update call to it.
3993 (eww-change-select): Remove unused var `properties'.
3994 (eww-make-unique-file-name): Remove unused var `base'.
3995
3996 * finder.el (finder-compile-keywords): Don't mess with windows.
3997
84032db7
SM
3998 * calculator.el (calculator-funcall): Fix typo in last change.
3999
724f5e41
SM
4000 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4001
14b511d4
SM
4002 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4003 <pkg>-autoloads.el file stop us.
4004
9d3f707c 4005 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 4006 warnings, and factor out common code.
9d3f707c 4007
88527bc0
DG
40082013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4009
4010 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4011 two-character operators and whether the character preceding them
4012 changes their meaning (Bug#15208).
4013
96edb677
FEG
40142013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4015
4016 Format code sent to Python shell for robustness.
9d3f707c
SM
4017 * progmodes/python.el (python-shell-buffer-substring):
4018 New function.
96edb677
FEG
4019 (python-shell-send-region, python-shell-send-buffer): Use it.
4020
95beaef3
MA
40212013-09-02 Michael Albinus <michael.albinus@gmx.de>
4022
4023 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4024 * net/tramp.el (tramp-user-error): ... here.
4025 (tramp-find-method, tramp-check-proper-host)
4026 (tramp-dissect-file-name, tramp-debug-message)
4027 (tramp-handle-shell-command):
4028 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4029 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4030
4031 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4032
f167c27b
MR
40332013-09-02 Martin Rudalics <rudalics@gmx.at>
4034
4035 * avoid.el (mouse-avoidance-point-position)
4036 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4037 returns nil.
4038
cd16c5f1
FEG
40392013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4040
4041 * progmodes/python.el (python-shell-completion-get-completions):
4042 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 4043 (python-nav-if-name-main): New command.
cd16c5f1 4044
e73c3a0d
GM
40452013-09-01 Glenn Morris <rgm@gnu.org>
4046
f8ccce03
GM
4047 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4048 Avoid leading space in $wins. Otherwise the sed command used by
4049 eg compile-main ends up containing "/*.el". (Bug#15170)
4050
e73c3a0d
GM
4051 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4052
415f808e
GM
40532013-08-30 Glenn Morris <rgm@gnu.org>
4054
4055 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4056 Fix is-this-a-directory logic. (Bug#15220)
4057
f069bba8
SM
40582013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4059
112798c1
SM
4060 * textmodes/css-mode.el: Use SMIE.
4061 (css-smie-grammar): New var.
4062 (css-smie--forward-token, css-smie--backward-token)
4063 (css-smie-rules): New functions.
4064 (css-mode): Use them.
4065 (css-navigation-syntax-table): Remove var.
4066 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4067 (css-indent-calculate, css-indent-line): Remove functions.
4068
4069 Misc changes to reduce use of `(lambda...); and other cleanups.
4070 * cus-edit.el: Use lexical-binding.
4071 (customize-push-and-save, customize-apropos)
4072 (custom-buffer-create-internal): Use closures.
4073 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4074 * progmodes/ada-xref.el: Use setq.
4075 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4076 * dframe.el: Use lexical-binding.
4077 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4078 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4079 * descr-text.el: Use lexical-binding.
4080 (describe-text-widget, describe-text-sexp, describe-property-list):
4081 Use closures.
4082 * comint.el (comint-history-isearch-push-state): Use a closure.
4083 * calculator.el: Use lexical-binding.
4084 (calculator-number-to-string): Make it work with lexical-binding.
4085 (calculator-funcall): Same and use cl-letf.
4086
2da4c3ab
SM
4087 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4088 (lisp--company-doc-string, lisp--company-location): New functions.
4089 (lisp-completion-at-point): Use them to improve Company support.
4090
f069bba8
SM
4091 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4092 params of lambda expressions.
4093 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4094 (ruby-smie--opening-pipe-p): New function.
4095 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4096 symbols and matched |...| for formal params.
4097 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4098 from being treated as hanging. Handle "rescue".
4099
6758b6a8
GM
41002013-08-29 Glenn Morris <rgm@gnu.org>
4101
4102 * progmodes/cc-engine.el (c-pull-open-brace):
4103 Move definition before use.
4104
e8dfd197
SM
41052013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4106
4107 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4108 are immutable. Don't use `unsafe' any more.
4109 (cl--defsubst-expand): Don't substitute at the same time as keeping
4110 a residual unused let-binding. Don't use `unsafe' any more.
4111
cc585c96
GM
41122013-08-29 Glenn Morris <rgm@gnu.org>
4113
ba579ea6
GM
4114 * calendar/cal-china.el (calendar-chinese-year-cache):
4115 Recenter on 2015.
4116
8201a87e
GM
4117 * nxml/nxml-util.el (nxml-debug-clear-inside):
4118 Use cl-loop rather than loop.
4119
6ee877c7
GM
4120 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4121
cc585c96
GM
4122 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4123
27be8d39
GM
41242013-08-28 Glenn Morris <rgm@gnu.org>
4125
397440a1
GM
4126 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4127
2bb762d4
GM
4128 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4129
27be8d39
GM
4130 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4131
2d69b99e
SM
41322013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4133
f663baa7
SM
4134 * simple.el (repeat-complex-command--called-interactively-skip):
4135 New function.
4136 (repeat-complex-command): Use it (bug#14136).
4137
dd4f8b74
SM
4138 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4139 (c-define-abbrev-table): Add `doc' argument.
4140 (c-mode-abbrev-table, c++-mode-abbrev-table)
4141 (objc-mode-abbrev-table, java-mode-abbrev-table)
4142 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4143 (awk-mode-abbrev-table): Use it.
4144 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4145 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4146 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4147 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4148 Move initialization into the declaration; and remove any
4149 autoload cookie.
4150
b58969f7
SM
4151 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4152 and dynamic let binding.
4153
4021d6a6
SM
4154 * vc/smerge-mode.el: Remove redundant :group args.
4155
2d69b99e
SM
4156 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4157 to load-path.
4158
274919fd
JL
41592013-08-28 Juri Linkov <juri@jurta.org>
4160
4161 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4162 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4163 (isearch-other-meta-char): Handle an undefined shifted printing
4164 character by downshifting it. (Bug#15200)
4165
121f8c95
JL
41662013-08-28 Juri Linkov <juri@jurta.org>
4167
4168 * isearch.el (isearch-search): Change regexp error message for
4169 non-regexp searches. (Bug#15166)
4170
50b13cde
PE
41712013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4172
4173 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4174 for portability to hosts where /bin/sh has problems.
4175
95888bca
SM
41762013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4177
4178 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4179
bbe558f1
JL
41802013-08-27 Juri Linkov <juri@jurta.org>
4181
4182 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4183 in the keyboard macro. (Bug#15126)
4184
26f98a7d
JL
41852013-08-27 Juri Linkov <juri@jurta.org>
4186
4187 * isearch.el (isearch-quote-char): Comment out converting unibyte
4188 to multibyte, thus syncing with its `quoted-insert' counterpart.
4189 (Bug#15166)
4190
7c97d35e
MR
41912013-08-27 Martin Rudalics <rudalics@gmx.at>
4192
4193 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
4194 argument in call of get-largest-window (Bug#15185).
4195 Reported by Stephen Leake.
7c97d35e 4196
a0b5606e 41972013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
4198
4199 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4200
9e89d835
SM
42012013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4202
4203 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4204 from a matcher-function unless there's no more matches (bug#15161).
4205
78fc2530
MA
42062013-08-26 Michael Albinus <michael.albinus@gmx.de>
4207
4208 * minibuffer.el: Revert change from 2013-08-20.
4209
4210 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4211 with text property `tramp-default', if appropriate.
4212 (tramp-check-proper-host): New defun.
4213 (tramp-dissect-file-name): Do not check hostname. Revert change
4214 of 2013-03-18.
4215 (tramp-backtrace): Make VEC-OR-PROC optional.
4216
4217 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4218 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4219 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
4220 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4221 Apply `tramp-check-proper-host'.
78fc2530 4222
edca97cd
TH
42232013-08-26 Tassilo Horn <tsdh@gnu.org>
4224
4225 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4226 lambda expression in order to have `describe-variable' display it.
4227
df54bcbd
MA
42282013-08-26 Michael Albinus <michael.albinus@gmx.de>
4229
4230 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4231 BUF can be optional. (Bug#15186)
4232
eed99101
XF
42332013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4234
4235 * progmodes/flymake.el (flymake-get-real-file-name-function):
4236 Fix broken customization. (Bug#15184)
4237
b5eb9035
AM
42382013-08-25 Alan Mackenzie <acm@muc.de>
4239
8a51e842
AM
4240 Improve indentation of bracelists defined by macros (without "=").
4241
4242 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4243 expansion begins with "{", regard it as bracelist when it doesn't
4244 contain a ";".
4245
869455d4
AM
4246 Parse C++ inher-intro when there's a template split over 2 lines.
4247
4248 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4249 rigorously the search for "class" etc. followed by ":".
4250
4251 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4252 random languages a regexp which never matches rather than nil.
4253
b5eb9035
AM
4254 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4255
4256 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4257 (c-awk-regexp-one-line-possibly-open-char-list-re)
4258 (c-awk-one-line-possibly-open-regexp-re)
4259 (c-awk-one-line-non-syn-ws*-re): Remove.
4260 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4261 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4262 (c-awk-space*-unclosed-regexp-/-re): New constants.
4263 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4264 aren't regexp delimiters.
4265
4266 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4267 handling for a rare situation in AWK Mode involving unterminated
4268 strings/regexps.
4269
61611d54
GM
42702013-08-23 Glenn Morris <rgm@gnu.org>
4271
2d85dc34
GM
4272 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4273
cb8d2612
GM
4274 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4275
bb35f42f
GM
4276 * files.el (create-file-buffer): If the result would begin with
4277 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 4278
b9808e77
SM
42792013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4280
e3a66363
SM
4281 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4282 text-properties (bug#15155).
4283
b9808e77
SM
4284 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4285 exist any more.
4286 (calc-keypad-redraw): Remove unused var `pad'.
4287 (calc-keypad-press): Remove unused var `menu'.
4288
7fd5f65e
MR
42892013-08-23 Martin Rudalics <rudalics@gmx.at>
4290
b9808e77
SM
4291 * window.el (display-buffer-pop-up-frame):
4292 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
4293 use it as the new frame's buffer (Bug#15133).
4294
8352b530
SM
42952013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4296
4297 * calendar/timeclock.el: Minor cleanups.
4298 (timeclock-ask-before-exiting, timeclock-use-display-time):
4299 Use `symbol'.
4300 (timeclock-modeline-display): Define as alias before the
4301 actual definition.
4302 (timeclock-mode-line-display): Use define-minor-mode.
4303 (timeclock-day-list-template): Make it a function, add an argument.
4304 (timeclock-day-list-required, timeclock-day-list-length)
4305 (timeclock-day-list-debt, timeclock-day-list-span)
4306 (timeclock-day-list-break): Adjust calls accordingly.
4307
9f7b1925
SM
43082013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4309
4310 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4311 Use read--expression so that completion works again.
4312
6e50e983
SS
43132013-08-21 Sam Steingold <sds@gnu.org>
4314
4315 Add rudimentary inferior shell interaction
4316 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4317 (sh-set-shell): Reset it.
9f7b1925
SM
4318 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4319 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 4320
dbb0d350
SM
43212013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4322
4323 * align.el: Use lexical-binding.
4324 (align-region): Simplify accordingly.
4325
c88586a9
MA
43262013-08-20 Michael Albinus <michael.albinus@gmx.de>
4327
4328 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4329
4330 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4331 `non-essential' up.
4332
f95527c8
MA
43332013-08-17 Michael Albinus <michael.albinus@gmx.de>
4334
4335 * net/tramp.el:
4336 * net/tramp-adb.el:
4337 * net/tramp-cmds.el:
4338 * net/tramp-ftp.el:
4339 * net/tramp-gvfs.el:
4340 * net/tramp-gw.el:
4341 * net/tramp-sh.el: Don't wrap external variable declarations by
4342 `eval-when-compile'.
4343
4b5fe4ee
LMI
43442013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4345
4346 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4347 now that Emacs supports ImageMagick animations.
4348
13c366c9
MA
43492013-08-16 Michael Albinus <michael.albinus@gmx.de>
4350
4351 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4352 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4353
3dfc5cd6
MR
43542013-08-16 Martin Rudalics <rudalics@gmx.at>
4355
4356 * window.el (mouse-autoselect-window-select): Do autoselect when
4357 mouse pointer is on margin.
4358
4bbb4381
WP
43592013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4360
4361 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4362
3a2ddc2d
GM
43632013-08-16 Glenn Morris <rgm@gnu.org>
4364
e8bedf5a
GM
4365 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4366 Handle "Remote Directory" response of some clients. (Bug#15058)
4367
58c4682f
GM
4368 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4369 Tweak warning. (Bug#14926)
4370
57953f49
GM
4371 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4372 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4373
3a2ddc2d
GM
4374 * image-mode.el (image-mode-map): Add menu items to reverse,
4375 increase, decrease, reset animation speed.
4376 (image--set-speed, image-increase-speed, image-decrease-speed)
4377 (image-reverse-speed, image-reset-speed): New functions.
4378 (image-mode-map): Add bindings for speed commands.
4379
4380 * image.el (image-animate-get-speed, image-animate-set-speed):
4381 New functions.
4382 (image-animate-timeout): Respect image :speed property.
4383
10fa0ed3
SM
43842013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4385
4386 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4387 previous line (bug#15101).
4388 (debugger-eval-expression, debugger-record-expression):
4389 Use read--expression (bug#15102).
4390
5d89d9d2
MA
43912013-08-15 Michael Albinus <michael.albinus@gmx.de>
4392
4393 Remove byte compiler warnings, visible when compiling with
4394 `byte-compile-force-lexical-warnings' set to t.
4395
4396 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4397 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4398 (tramp-handle-unhandled-file-name-directory)
4399 (tramp-handle-file-notify-add-watch, tramp-action-login)
4400 (tramp-action-succeed, tramp-action-permission-denied)
4401 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4402 arguments with "_".
4403
4404 * net/tramp-adb.el (tramp-adb-parse-device-names)
4405 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4406 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4407 (tramp-adb-handle-file-truename): Remove unused arguments.
4408
4409 * net/tramp-cache.el (tramp-flush-directory-property)
4410 (tramp-flush-connection-property, tramp-list-connections)
4411 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4412
10fa0ed3
SM
4413 * net/tramp-compat.el (tramp-compat-make-temp-file):
4414 Rename FILENAME to F.
5d89d9d2
MA
4415
4416 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4417 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4418 (tramp-zeroconf-parse-workstation-device-names)
4419 (tramp-zeroconf-parse-webdav-device-names)
4420 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4421
4422 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4423 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4424
4425 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4426 arguments.
4427 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4428 (tramp-sh-handle-insert-file-contents-literally)
4429 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4430 with "_".
4431 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4432 Remove unused variables.
4433
4434 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4435 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4436 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4437
4438 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4439 Make them a defconst.
4440 (tramp-uuencode-region): Remove unused variable.
4441
62f33bae
JB
44422013-08-14 Juanma Barranquero <lekktu@gmail.com>
4443
4444 * frameset.el (frameset--prop-setter): New function.
4445 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
4446 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4447 parameter was already set in FILTERED. Doc fix.
4448 (frameset--record-minibuffer-relationships): Allow saving a
4449 minibufferless frame without its corresponding minibuffer frame.
4450 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4451 frame, if the frame id matches.
4452 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4453 frames before orphaned ones.
4454 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 4455
c660a885
MR
44562013-08-14 Martin Rudalics <rudalics@gmx.at>
4457
4458 * window.el (window-make-atom): Don't overwrite parameter
4459 already present.
4460 (display-buffer-in-atom-window): Handle special case where we
4461 split an already atomic window.
4462 (window--major-non-side-window, display-buffer-in-side-window)
4463 (window--side-check): Ignore minibuffer window when walking
4464 window tree.
4465 (window-deletable-p): Return 'frame only if no other frame uses
4466 our minibuffer window.
4467 (record-window-buffer): Run buffer-list-update-hook.
4468 (split-window): Make sure window--check-frame won't destroy an
4469 existing atomic window in case the new window gets nested
4470 inside.
4471 (display-buffer-at-bottom): Ignore minibuffer window when
4472 walking window tree. Don't split a side window.
4473 (pop-to-buffer): Don't set-buffer here, the select-window call
4474 should do that.
4475 (mouse-autoselect-window-select): Autoselect only if we are in the
4476 text portion of the window.
4477
8259030d
LMI
44782013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4479
21c58ae2
LMI
4480 * net/shr.el (shr-parse-image-data): New function to grab both the
4481 data itself and the Content-Type.
4482 (shr-put-image): Use it.
4483
4484 * net/eww.el (eww-display-image): Ditto.
4485
8259030d
LMI
4486 * image.el (image-content-type-suffixes): New variable.
4487
ad756449
FEG
44882013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4489
4490 * progmodes/python.el (python-imenu--build-tree)
4491 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4492
f73f4ce6
XF
44932013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4494
4495 * simple.el (backward-word): Mention the optional argument.
4496
1f585e65
SM
44972013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4498
4499 * frameset.el (frameset--make): Rename constructor from make-frameset.
4500 (frameset-p, frameset-valid-p): Don't autoload.
4501 (frameset-valid-p): Use normal accessors.
4502
af1c6c84
GM
45032013-08-13 Glenn Morris <rgm@gnu.org>
4504
55e47f95
GM
4505 * progmodes/compile.el (compile-command): Tweak example in doc.
4506 * obsolete/scribe.el (scribe-mode):
4507 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4508
f0024d8c
GM
4509 * mail/feedmail.el (feedmail-confirm-outgoing)
4510 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4511
4512 * cus-start.el (truncate-partial-width-windows): Fix type.
4513
4514 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4515
af1c6c84
GM
4516 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4517
5514cc4c
SM
45182013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4519
4520 * emacs-lisp/timer.el (timer--time-setter): New function.
4521 (timer--time): Use it as gv-setter.
4522
4523 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4524 setter is not a symbol.
4525
7997a2f1
GJ
45262013-08-12 Grégoire Jadi <daimrod@gmail.com>
4527
4528 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4529 if sending fails. This makes debugging easier.
4530
01f1a9ab
JB
45312013-08-12 Juanma Barranquero <lekktu@gmail.com>
4532
4533 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4534 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4535 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4536
594a4307
EZ
45372013-08-12 Eli Zaretskii <eliz@gnu.org>
4538
4539 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4540
7a22490f 45412013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
4542
4543 * format.el (format-annotate-function):
4544 Handle read-only text properties in the source. (Bug#14887)
4545
3e41a054
LMI
45462013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4547
5514cc4c
SM
4548 * net/eww.el (eww-display-html): Ignore coding system errors.
4549 One web site uses "utf-8lias" as the coding system.
3e41a054 4550
7ec326db
JB
45512013-08-11 Juanma Barranquero <lekktu@gmail.com>
4552
4553 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4554
5660113b
JB
45552013-08-10 Juanma Barranquero <lekktu@gmail.com>
4556
9a4ebc74
JB
4557 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4558 (tutorial--detailed-help): Remove unused local variables.
4559 (tutorial--save-tutorial-to): Use ignore-errors.
4560 (help-with-tutorial): Use looking-at-p.
4561
4562 * view.el (view-buffer-other-window, view-buffer-other-frame):
4563 Mark unused arguments.
4564
4565 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4566 (woman-select-symbol-fonts, woman, woman-find-file)
4567 (woman-insert-file-contents, woman-non-underline-faces):
4568 Use string-match-p.
4569 (woman1-unquote): Move declaration.
4570
4571 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4572 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4573 argument. Remove unused local variable.
4574 (xml-parse-elem-type): Use string-match-p.
4575 (xml-substitute-numeric-entities): Use ignore-errors.
4576
45fdb482
JB
4577 * calculator.el (calculator): Mark unused argument.
4578 (calculator-paste, calculator-quit, calculator-integer-p):
4579 Use ignore-errors.
4580 (calculator-string-to-number, calculator-decimal, calculator-exp)
4581 (calculator-op-or-exp): Use string-match-p.
4582
4583 * dired.el (dired-buffer-more-recently-used-p): Declare.
4584 (dired-insert-set-properties, dired-insert-old-subdirs):
4585 Use ignore-errors.
4586
4587 * dired-aux.el (dired-compress): Use ignore-errors.
4588 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4589 (dired-do-async-shell-command, dired-do-shell-command)
4590 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4591 (dired-insert-subdir-validate): Use string-match-p.
4592 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4593 (dired-add-entry): Use string-match-p, looking-at-p.
4594 (dired-insert-subdir-newpos): Remove unused local variable.
4595
4596 * filenotify.el (file-notify-callback): Remove unused local variable.
4597
4598 * filesets.el (filesets-error): Mark unused argument.
4599 (filesets-which-command-p, filesets-filter-dir-names)
4600 (filesets-directory-files, filesets-get-external-viewer)
4601 (filesets-ingroup-get-data): Use string-match-p.
4602
4603 * find-file.el (ff-other-file-name, ff-other-file-name)
4604 (ff-find-the-other-file, ff-cc-hh-converter):
4605 Remove unused local variables.
4606 (ff-get-file-name): Use string-match-p.
4607 (ff-all-dirs-under): Use ignore-errors.
4608
4609 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4610 (follow-select-if-visible): Remove unused local variable.
4611
4612 * forms.el (read-file-filter): Move declaration.
4613 (forms--make-format, forms--make-parser, forms-insert-record):
4614 Quote function with #'.
4615 (forms--update): Use string-match-p. Quote function with #'.
4616
4617 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4618 (help-make-xrefs): Use looking-at-p.
4619 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4620
4621 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4622 (ibuffer-confirm-operation-on): Use string-match-p.
4623
4624 * msb.el (msb-item-handler, msb-dired-item-handler):
4625 Mark unused arguments.
4626
4627 * ses.el (ses-decode-cell-symbol)
4628 (ses-kill-override): Remove unused local variable.
4629 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4630 (ses-load): Use ignore-errors, looking-at-p.
4631 (ses-jump-safe): Use ignore-errors.
4632 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4633
4634 * tabify.el (untabify, tabify): Mark unused arguments.
4635
4636 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4637 Mark unused argument.
4638 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4639 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4640
c880af52
JB
4641 * emacs-lisp/timer.el (timer--time): Define setter with
4642 gv-define-setter to avoid deprecation warning.
4643
5660113b 4644 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 4645 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
4646 (cmpl-statistics-block): Remove (body was commented out).
4647 All callers changed.
4648 (add-completions-from-buffer, load-completions-from-file):
4649 Remove unused variables.
4650
156aab80
JB
46512013-08-09 Juanma Barranquero <lekktu@gmail.com>
4652
5c5dee78
JB
4653 * filecache.el (file-cache-delete-file-list):
4654 Print message only when told so.
4655 (file-cache-files-matching): Use #' in mapconcat argument.
4656
156aab80
JB
4657 * ffap.el (ffap-url-at-point): Fix reference to variable
4658 thing-at-point-default-mail-uri-scheme.
4659
ad9dcd70
SM
46602013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4661
54bd972f
SM
4662 * subr.el (define-error): New function.
4663 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4664 error-file-not-found and define with define-error.
4665 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4666 and define with define-error.
4667 * userlock.el (file-locked, file-supersession):
4668 * simple.el (mark-inactive):
4669 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4670 * progmodes/ada-mode.el (ada-mode-errors):
4671 * play/life.el (life-extinct):
4672 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4673 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4674 * nxml/rng-util.el (rng-error):
4675 * nxml/rng-uri.el (rng-uri-error):
4676 * nxml/rng-match.el (rng-compile-error):
4677 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4678 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4679 * nxml/nxml-rap.el (nxml-scan-error):
4680 * nxml/nxml-outln.el (nxml-outline-error):
4681 * net/soap-client.el (soap-error):
4682 * net/gnutls.el (gnutls-error):
4683 * net/ange-ftp.el (ftp-error):
4684 * mpc.el (mpc-proc-error):
4685 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4686 (json-number-format, json-string-escape, json-string-format)
4687 (json-key-format, json-object-format):
4688 * jka-compr.el (compression-error):
4689 * international/quail.el (quail-error):
4690 * international/kkc.el (kkc-error):
4691 * emacs-lisp/ert.el (ert-test-failed):
4692 * calc/calc.el (calc-error, inexact-result, math-overflow)
4693 (math-underflow):
4694 * bookmark.el (bookmark-error-no-filename):
4695 * epg.el (epg-error): Define with define-error.
4696
0ea9e53a
SM
4697 * time.el (display-time-event-handler)
4698 (display-time-next-load-average): Don't call sit-for since it seems
4699 unnecessary (bug#15045).
4700
b0429158
SM
4701 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4702 Use #' instead of ' to quote functions.
4703 (checkdoc-output-mode): Use setq-local.
4704 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4705 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4706 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4707 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4708 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4709 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4710 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4711 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4712
ad9dcd70
SM
4713 * ido.el (ido-completion-help): Fix up compiler warning.
4714
77187e6f
JB
47152013-08-09 Juanma Barranquero <lekktu@gmail.com>
4716
4717 * frameset.el (frameset-p): Add autoload cookie.
4718 (frameset--jump-to-register): New function, based on code moved from
4719 register.el.
4720 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4721
4722 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4723 (frameset-restore, frameset-save, frameset-session-filter-alist):
4724 Remove declarations.
4725 (register-alist): Doc fix.
4726 (frameset-to-register): Move to frameset.el.
4727 (jump-to-register, describe-register-1): Remove frameset-specific code.
4728
9d3aa82c
JB
47292013-08-08 Juanma Barranquero <lekktu@gmail.com>
4730
4731 * allout-widgets.el (allout-widgets-pre-command-business)
4732 (allout-widgets-post-command-business)
4733 (allout-widgets-after-change-handler)
4734 (allout-decorate-item-and-context, allout-set-boundary-marker)
4735 (allout-body-modification-handler)
4736 (allout-graphics-modification-handler): Mark ignored arguments.
4737 (allout-widgets-post-command-business)
4738 (allout-widgets-exposure-change-processor)
4739 (allout-widgets-exposure-undo-processor)
4740 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4741 (allout-parse-item-at-point, allout-decorate-item-guides)
4742 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4743 * allout.el (epa-passphrase-callback-function): Declare.
4744 (allout-overlay-insert-in-front-handler)
4745 (allout-overlay-interior-modification-handler)
4746 (allout-isearch-end-handler, allout-chart-siblings)
4747 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4748 (allout-yank-processing, allout-process-exposed)
4749 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 4750 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
4751 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4752 (lisp-indent-defform): Mark ignored arguments.
4753 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4754 (calculate-lisp-indent): Remove unused variables.
4755 * international/characters.el (indian-2-column, arabic-2-column)
4756 (tibetan): Mark ignored arguments.
4757 (use-cjk-char-width-table): Mark ignored arguments.
4758 Remove unused variables.
4759 * international/fontset.el (build-default-fontset-data)
4760 (x-compose-font-name, create-fontset-from-fontset-spec):
4761 Mark ignored arguments.
4762 (fontset-plain-name): Remove unused variables.
4763 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4764 (keyboard-coding-system): Mark ignored arguments.
4765 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4766 * help.el (resize-temp-buffer-window):
4767 * window.el (display-buffer-in-major-side-window)
4768 (display-buffer-in-side-window, display-buffer-in-previous-window):
4769 Remove unused variables.
4770 * isearch.el (isearch-forward-symbol):
4771 * version.el (emacs-bzr-version-bzr):
4772 * international/mule-cmds.el (current-language-environment):
4773 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4774 (x-handle-display):
4775 * term/pc-win.el (x-list-fonts, x-display-planes)
4776 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4777 (x-server-version, x-display-screens, x-display-mm-height)
4778 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4779 (x-selection-owner-p, x-own-selection-internal)
4780 (x-disown-selection-internal, x-get-selection-internal)
4781 (msdos-initialize-window-system):
4782 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4783 * term/x-win.el (x-handle-no-bitmap-icon):
4784 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4785 (vc-default-find-file-hook, vc-default-extra-menu):
4786 Mark ignored arguments.
4787
0ca3f70e
SM
47882013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4789
4790 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4791 break-condition in the context of the debugged code (bug#12685).
4792
74c5d24c
CS
47932013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4794
4795 * comint.el:
4796 Do not use an overlay to highlight the last prompt. (Bug#14744)
4797 (comint-mode): Make comint-last-prompt buffer local.
4798 (comint-last-prompt): New variable.
4799 (comint-last-prompt-overlay): Remove. Superseded by
4800 comint-last-prompt.
0ca3f70e
SM
4801 (comint-snapshot-last-prompt, comint-output-filter):
4802 Use comint-last-prompt.
74c5d24c 4803
c03c02ee
JB
48042013-08-08 Juanma Barranquero <lekktu@gmail.com>
4805
a3738d20 4806 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
4807 (frameset-save): Check validity of the resulting frameset.
4808
04263d23
XF
48092013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4810
4811 * ido.el (ido-record-command): Add doc string.
4812
76c5e5ab
JB
48132013-08-08 Juanma Barranquero <lekktu@gmail.com>
4814
4815 * frameset.el (frameset): Do not disable creation of the default
4816 frameset-p predicate. Doc fix.
4817 (frameset-valid-p): New function, copied from the old predicate-p.
4818 Add additional checks.
4819 (frameset-restore): Check with frameset-valid-p.
4820 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4821 (frameset-name, frameset-description, frameset-properties)
4822 (frameset-states): Add docstring.
f9dbf1cb
JB
4823 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4824 (frameset-filter-alist): Doc fixes.
76c5e5ab 4825
bd0c3c0b
JB
48262013-08-08 Juanma Barranquero <lekktu@gmail.com>
4827
4828 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4829
c735544c
SM
48302013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4831
4832 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4833 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4834 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4835 (byte-compile-normal-call): Remove obsolescence check.
4836
2805a651
JB
48372013-08-08 Juanma Barranquero <lekktu@gmail.com>
4838
3677ffeb
JB
4839 * frameset.el (frameset-restore): Doc fix.
4840
2805a651
JB
4841 * register.el (frameset-frame-id, frameset-frame-with-id)
4842 (frameset-p, frameset-restore, frameset-save): Declare.
4843 (register-alist): Document framesets.
4844 (frameset-session-filter-alist): Declare.
4845 (frameset-to-register): New function.
4846 (jump-to-register): Implement jumping to framesets. Doc fix.
4847 (describe-register-1): Describe framesets.
4848
4849 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4850
a912c016
JB
48512013-08-07 Juanma Barranquero <lekktu@gmail.com>
4852
4853 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4854 Use lexical-binding.
4855
4856 * frameset.el (frameset): Use type vector, not list (incompatible
4857 change). Do not declare a new constructor, use the default one.
4858 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4859 `name' and `description', respectively, and add read-only slot
4860 `timestamp'. Doc fixes.
4861 (frameset-copy, frameset-persistent-filter-alist)
4862 (frameset-filter-alist, frameset-switch-to-gui-p)
4863 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4864 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4865 (frameset-filter-iconified, frameset-keep-original-display-p):
4866 Doc fixes.
4867 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4868 Rename from frameset-filter-(save|restore)-param. All callers changed.
4869 Doc fix.
4870 (frameset-p): Adapt to change to vector and be more thorough.
4871 Change arg name to OBJECT. Doc fix.
4872 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4873 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4874 All callers changed.
4875 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4876 All callers changed.
4877 (frameset--record-minibuffer-relationships): Rename from
4878 frameset--process-minibuffer-frames. All callers changed.
4879 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4880 Use new default constructor (again). Doc fix.
4881 (frameset--find-frame-if): Rename from `frameset--find-frame.
4882 All callers changed.
4883 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4884 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4885 Doc fix.
4886 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4887 PARAMETERS and WINDOW-STATE, respectively.
4888 (frameset-restore): Add new keyword argument PREDICATE.
4889 Reset frameset--target-display to nil. Doc fix.
4890
bb41480a
SM
48912013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4892
f001e98e
SM
4893 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4894 (bat-mode): Use it.
4895 (bat-mode-syntax-table): Mark \n as end-of-comment.
4896 (bat-font-lock-keywords): Remove comment rule.
4897
7679edb1
SM
4898 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4899 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4900
bb41480a
SM
4901 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4902 (byte-compile-callargs-warn): Use `push'.
4903 (byte-compile-arglist-warn): Ignore higher-order "calls".
4904 (byte-compile-file-form-autoload): Use `pcase'.
4905 (byte-compile-function-form): If quoting a symbol, check that it exists.
4906
cdc1ebb9
EZ
49072013-08-07 Eli Zaretskii <eliz@gnu.org>
4908
4909 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4910 and add a few popular commands found in batch files.
4911 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4912 (dos-mode): Doc fixes.
4913
312b1740
SM
49142013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4915
4916 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4917 (dos-mode): Use setq-local. Add space after "rem".
4918 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4919 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4920
400a3178
AM
49212013-08-07 Arni Magnusson <arnima@hafro.is>
4922
4923 * progmodes/dos.el: New file.
4924 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4925 dos-mode.
4926
3b5c03d3
GM
49272013-08-06 Glenn Morris <rgm@gnu.org>
4928
4929 * calendar/calendar.el: Add new faces, and day-header-array.
4930 (calendar-weekday-header, calendar-weekend-header)
4931 (calendar-month-header): New faces.
4932 (calendar-day-header-construct): New function.
4933 (calendar-day-header-width): Also :set calendar-day-header-array.
4934 (calendar-american-month-header, calendar-european-month-header)
4935 (calendar-iso-month-header): Use calendar- faces.
4936 (calendar-generate-month):
4937 Use calendar-day-header-array for day headers; apply faces to them.
4938 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4939 (calendar-abbrev-construct): Add optional maxlen argument.
4940 (calendar-day-name-array): Doc fix.
4941 (calendar-day-name-array, calendar-abbrev-length)
4942 (calendar-day-abbrev-array):
4943 Also :set calendar-day-header-array, and maybe redraw.
4944 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 4945 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
4946 (calendar-day-name): Add option to use header array.
4947
ec6a2d7a
LMI
49482013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4949
4950 * net/shr.el (shr-render-td): Remove debugging.
4951 (shr-render-td): Make width computation consistent by defaulting
4952 all zero-width columns to 10 characters. This may not be optimal,
4953 but it's at least consistent.
2122cb6d
LMI
4954 (shr-make-table-1): Redo last change to fix the real problem in
4955 colspan handling.
ec6a2d7a 4956
ed4fd9c5
DA
49572013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4958
0ca3f70e
SM
4959 * files.el (cache-long-line-scans):
4960 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 4961
64e22afe
JB
49622013-08-06 Juanma Barranquero <lekktu@gmail.com>
4963
024b38fc
JB
4964 * frameset.el (frameset, frameset-filter-alist)
4965 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4966 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4967 (frameset-compute-pos): Rename from frameset--compute-pos,
4968 and add docstring.
4969 (frameset-move-onscreen): Use frameset-compute-pos.
4970 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4971
64e22afe
JB
4972 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4973 Fix typos in docstrings.
4974
c8c2aca8
DA
49752013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4976
4977 * frame.el (get-other-frame): Tiny cleanup.
4978
1d237bba
JB
49792013-08-06 Juanma Barranquero <lekktu@gmail.com>
4980
8951efef
JB
4981 * vc/vc.el (vc-default-ignore-completion-table):
4982 Silence byte-compiler warning.
4983
307764cc
JB
4984 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4985 slot , which can indeed be nil.
4986 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4987 Move entry for `left' from persistent to live filter alist.
4988 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4989 Doc fixes.
4990 (frameset-filter-params): When restoring a frame, copy items added to
4991 `filtered', to avoid unwittingly modifying the original parameters.
4992 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4993 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4994
1d237bba
JB
4995 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4996 to use looking-at-p instead of looking-at. (Bug#15028)
4997
dc6c0eda
SM
49982013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4999
5000 Revert introduction of isearch-filter-predicates (bug#14714).
5001 Rely on add-function instead.
5002 * isearch.el (isearch-filter-predicates): Rename it back to
5003 isearch-filter-predicate.
5004 (isearch-message-prefix): Use advice-function-mapc and advice
5005 properties to get the isearch-message-prefix.
5006 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5007 instead of run-hook-with-args-until-failure.
5008 (isearch-filter-visible): Not obsolete any more.
5009 * loadup.el: Preload nadvice.
5010 * replace.el (perform-replace): Revert to funcall
5011 instead of run-hook-with-args-until-failure.
5012 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5013 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5014 dired-isearch-filenames-toggle; make it into a proper minor mode.
5015 Use add/remove-function.
5016 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5017 Call the minor-mode rather than add/remove-hook.
5018 (dired-isearch-filter-filenames):
5019 Remove isearch-message-prefix property.
5020 * info.el (Info--search-loop): New function, extracted from Info-search.
5021 Funcall isearch-filter-predicate instead of
5022 run-hook-with-args-until-failure isearch-filter-predicates.
5023 (Info-search): Use it.
5024 (Info-mode): Use isearch-filter-predicate instead of
5025 isearch-filter-predicates.
5026
290d5b58
DA
50272013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5028
5029 Do not call to `selected-window' where it is assumed by default.
5030 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5031 `window-hscroll', `window-width', `window-height', `window-buffer',
5032 `window-frame', `window-start', `window-point', `next-window'
5033 and `window-display-table'.
5034 * abbrev.el (abbrev--default-expand):
5035 * bs.el (bs--show-with-configuration):
5036 * buff-menu.el (Buffer-menu-mouse-select):
5037 * calc/calc.el (calc):
5038 * calendar/calendar.el (calendar-generate-window):
5039 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5040 (diary-make-entry):
5041 * comint.el (send-invisible, comint-dynamic-complete-filename)
5042 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5043 * completion.el (complete):
5044 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5045 * disp-table.el (describe-current-display-table):
5046 * doc-view.el (doc-view-insert-image):
5047 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5048 * ehelp.el (with-electric-help):
5049 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5050 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5051 * emacs-lisp/helper.el (Helper-help-scroller):
5052 * emulation/cua-base.el (cua--post-command-handler-1):
5053 * eshell/esh-mode.el (eshell-output-filter):
5054 * ffap.el (ffap-gnus-wrapper):
5055 * help-macro.el (make-help-screen):
5056 * hilit-chg.el (highlight-compare-buffers):
5057 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5058 * hl-line.el (global-hl-line-highlight):
5059 * icomplete.el (icomplete-simple-completing-p):
5060 * isearch.el (isearch-done):
5061 * jit-lock.el (jit-lock-stealth-fontify):
5062 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5063 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5064 * mpc.el (mpc-tagbrowser, mpc):
5065 * net/rcirc.el (rcirc-any-buffer):
5066 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5067 * play/landmark.el (landmark-max-width, landmark-max-height):
5068 * play/zone.el (zone):
5069 * progmodes/compile.el (compilation-goto-locus):
5070 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5071 * progmodes/etags.el (find-tag-other-window):
5072 * progmodes/fortran.el (fortran-column-ruler):
5073 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5074 * progmodes/verilog-mode.el (verilog-point-text):
5075 * reposition.el (reposition-window):
5076 * rot13.el (toggle-rot13-mode):
5077 * server.el (server-switch-buffer):
5078 * shell.el (shell-dynamic-complete-command)
5079 (shell-dynamic-complete-environment-variable):
5080 * simple.el (insert-buffer, set-selective-display)
5081 (delete-completion-window):
5082 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5083 (speedbar-recenter):
5084 * startup.el (fancy-splash-head):
5085 * textmodes/ispell.el (ispell-command-loop):
5086 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5087 * tutorial.el (help-with-tutorial):
5088 * vc/add-log.el (add-change-log-entry):
5089 * vc/compare-w.el (compare-windows):
5090 * vc/ediff-help.el (ediff-indent-help-message):
5091 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5092 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5093 (ediff-setup-control-frame):
5094 * vc/emerge.el (emerge-position-region):
5095 * vc/pcvs-util.el (cvs-bury-buffer):
5096 * window.el (walk-windows, mouse-autoselect-window-select):
5097 * winner.el (winner-set-conf, winner-undo): Related users changed.
5098
38276e01
JB
50992013-08-05 Juanma Barranquero <lekktu@gmail.com>
5100
5101 * frameset.el (frameset--set-id): Doc fix.
5102 (frameset-frame-id, frameset-frame-id-equal-p)
5103 (frameset-locate-frame-id): New functions.
5104 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5105 (frameset-restore): Use them.
5106
12b4c0ea
DA
51072013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5108
5109 Do not call to `selected-frame' where it is assumed by default.
5110 Affected functions are `raise-frame', `redraw-frame',
5111 `frame-first-window', `frame-terminal' and `delete-frame'.
5112 * calendar/appt.el (appt-disp-window):
5113 * epg.el (epg-wait-for-completion):
5114 * follow.el (follow-delete-other-windows-and-split)
5115 (follow-avoid-tail-recenter):
5116 * international/mule.el (set-terminal-coding-system):
5117 * mail/rmail.el (rmail-mail-return):
5118 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5119 * progmodes/f90.el (f90-add-imenu-menu):
5120 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5121 * server.el (server-switch-buffer):
5122 * simple.el (delete-completion-window):
5123 * talk.el (talk):
5124 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5125 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5126 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5127 * vc/ediff.el (ediff-documentation): Related users changed.
5128 * frame.el (selected-terminal): Remove the leftover.
5129
17f25e76
GM
51302013-08-05 Glenn Morris <rgm@gnu.org>
5131
5132 * calendar/calendar.el (calendar-generate-month):
5133 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
5134 (calendar-generate-month, calendar-font-lock-keywords):
5135 Fix for calendar-day-header-width > length of any day name.
17f25e76 5136
063233c3
JB
51372013-08-05 Juanma Barranquero <lekktu@gmail.com>
5138
5139 * desktop.el (desktop-clear): Use new name of sort predicate.
5140
5141 * frameset.el (frameset): Add docstring. Move :version property to its
5142 own `version' slot.
5143 (frameset-copy): Rename from copy-frameset.
5144 (frameset-p): Check more thoroughly.
5145 (frameset-prop): Do not check for :version, which is no longer a prop.
5146 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5147 Use new :never value instead of t.
5148 (frameset-filter-alist): Expand and clarify docstring.
5149 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5150 (frameset-filter-minibuffer, frameset-filter-save-param)
5151 (frameset-filter-restore-param, frameset-filter-iconified):
5152 Add pointer to docstring of frameset-filter-alist.
5153 (frameset-filter-params): Rename filter values to be more meaningful:
5154 :never instead of t, and reverse the meanings of :save and :restore.
5155 (frameset--process-minibuffer-frames): Clarify error message.
5156 (frameset-save): Avoid unnecessary and confusing call to framep.
5157 Use new BOA constructor for framesets.
5158 (frameset--reuse-list): Doc fix.
5159 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5160 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5161 (frameset-minibufferless-first-p): Doc fix.
5162 Rename from frameset-sort-frames-for-deletion.
5163 (frameset-restore): Doc fixes. Use new function names.
5164 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5165
d5671a82
JB
51662013-08-04 Juanma Barranquero <lekktu@gmail.com>
5167
5168 * desktop.el (desktop-restore-forces-onscreen)
5169 (desktop-restore-reuses-frames): Document :keyword constant values.
5170 (desktop-filter-parameters-alist): Remove, now identical to
5171 frameset-filter-alist.
5172 (desktop--filter-tty*): Remove, moved to frameset.el.
5173 (desktop-save-frameset, desktop-restore-frameset):
5174 Do not pass :filters argument.
5175
5176 * frameset.el (frameset-live-filter-alist)
5177 (frameset-persistent-filter-alist): New variables.
5178 (frameset-filter-alist): Use them. Add autoload cookie.
5179 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5180 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5181 `frameset--id' (it's supposed to be internal to frameset.el).
5182 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5183 (frameset--initial-params): New function.
5184 (frameset--get-frame): Use it. Doc fix.
5185 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5186 Accept :all, not 'all.
5187 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5188 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5189 with fbound symbols. Fix frame id matching, and remove matching ids if
5190 the frame being restored is deleted. Obey :delete.
5191
671d5c16
SM
51922013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5193
5194 * subr.el (macrop): New function.
5195 (text-clone--maintaining): New var.
5196 (text-clone--maintain): Rename from text-clone-maintain. Use it
5197 instead of inhibit-modification-hooks.
5198
5199 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5200 a proxy, so as handle autoloads and redefinitions of the target.
5201 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5202
5203 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5204 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5205 (pcase--mutually-exclusive-p): New function.
5206 (pcase--split-consp): Use it.
5207 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5208 mutually exclusive with the current predicate.
5209
5210 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5211 (edebug-macrop): Remove. Use `macrop' instead.
5212 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5213 (ad-macro-p):
5214 * eshell/esh-cmd.el (eshell-macrop):
5215 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5216
1d44e9dc
SM
52172013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5218
5219 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5220 (advice-mapc): New function, using it.
5221 (advice-function-member-p): New function.
5222 (advice--normalize): Store the cdr in advice--saved-rewrite since
5223 that's the part that will be changed.
5224 (advice--symbol-function): New function.
5225 (advice-remove): Handle removal before the function is defined.
5226 Adjust to new advice--saved-rewrite.
5227 (advice-member-p): Use advice-function-member-p and
5228 advice--symbol-function.
5229
5414a283
JB
52302013-08-04 Juanma Barranquero <lekktu@gmail.com>
5231
51d30f2c
JB
5232 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5233 (frameset-filter-minibuffer): Doc fix.
5234 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
5235 (frameset--set-id, frameset--process-minibuffer-frames)
5236 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5237 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 5238
5414a283
JB
5239 * desktop.el (desktop-clear): Only delete frames when called
5240 interactively and desktop-restore-frames is non-nil. Doc fix.
5241 (desktop-read): Set desktop-saved-frameset to nil.
5242
ab419665
XF
52432013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5244
5245 * vc/vc.el (vc-ignore): Rewrite.
5246 (vc-default-ignore-completion-table):
5247 (vc--read-lines):
5248 (vc--add-line, vc--remove-regexp): New functions.
5249
5250 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5251 (vc-svn-ignore-completion-table): New function.
5252
5253 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5254 (vc-hg-ignore-completion-table):
5255 (vc-hg-find-ignore-file): New functions.
5256
5257 * vc/vc-git.el (vc-git-ignore): Rewrite.
5258 (vc-git-ignore-completion-table):
5259 (vc-git-find-ignore-file): New functions.
5260
5261 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5262
5263 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5264 (vc-bzr-ignore-completion-table):
5265 (vc-bzr-find-ignore-file): New functions.
5266
2613dea2
JB
52672013-08-03 Juanma Barranquero <lekktu@gmail.com>
5268
5269 * frameset.el (frameset-prop): New function and setter.
5270 (frameset-save): Do not modify frame list passed by the caller.
5271
9c959872
SM
52722013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5273
5274 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5275
a104f656
SM
52762013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5277
70122acf
SM
5278 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5279 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5280
a104f656
SM
5281 * custom.el (custom-initialize-default, custom-initialize-set)
5282 (custom-initialize-reset, custom-initialize-changed): Affect the
5283 toplevel-default-value (bug#6275, bug#14586).
5284 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5285 for bug#6275.
5286
f078d570
JB
52872013-08-02 Juanma Barranquero <lekktu@gmail.com>
5288
185e3b5a
JB
5289 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5290 Add cl-def* expressions.
5291
f078d570
JB
5292 * frameset.el (frameset-filter-params): Fix order of arguments.
5293
9421876d
JB
52942013-08-02 Juanma Barranquero <lekktu@gmail.com>
5295
5296 Move code related to saving frames to frameset.el.
5297 * desktop.el: Require frameset.
5298 (desktop-restore-frames): Doc fix.
5299 (desktop-restore-reuses-frames): Rename from
5300 desktop-restoring-reuses-frames.
5301 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5302 (desktop-clear): Clear frames too.
5303 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5304 (desktop--filter-tty*, desktop-save, desktop-read):
5305 Use frameset functions.
5306 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5307 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5308 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5309 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5310 (desktop--process-minibuffer-frames, desktop-save-frames)
5311 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5312 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5313 (desktop--sort-states, desktop-restoring-frames-p)
5314 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5315 (desktop-restoring-frameset-p, desktop-restore-frameset)
5316 (desktop--check-dont-save, desktop-save-frameset): New functions.
5317 (desktop--app-id): New constant.
5318 (desktop-first-buffer, desktop-buffer-ok-count)
5319 (desktop-buffer-fail-count): Move before first use.
5320 * frameset.el: New file.
5321
76dc5996
SM
53222013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5323
5324 * files.el: Use lexical-binding.
5325 (dir-locals-read-from-file): Remove unused `err' variable.
5326 (hack-dir-local-variables--warned-coding): New var.
5327 (hack-dir-local-variables): Use it to avoid repeated warnings.
5328 (make-backup-file-name--default-function): New function.
5329 (make-backup-file-name-function): Use it as default.
5330 (buffer-stale--default-function): New function.
5331 (buffer-stale-function): Use it as default.
5332 (revert-buffer-insert-file-contents--default-function): New function.
5333 (revert-buffer-insert-file-contents-function): Use it as default.
5334 (insert-directory): Avoid add-to-list.
5335
5336 * autorevert.el (auto-revert-handler): Simplify.
5337 Use buffer-stale--default-function.
5338
06d36e2b
TH
53392013-08-01 Tassilo Horn <tsdh@gnu.org>
5340
5f648ab4
TH
5341 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5342
06d36e2b
TH
5343 * whitespace.el (whitespace-ensure-local-variables): New function.
5344 (whitespace-cleanup-region): Call it.
5345 (whitespace-turn-on): Call it.
5346
a43dc424
MA
53472013-08-01 Michael Albinus <michael.albinus@gmx.de>
5348
5349 Complete file name handlers.
5350
5351 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5352 (tramp-handle-verify-visited-file-modtime)
5353 (tramp-handle-file-notify-rm-watch): New functions.
5354 (tramp-call-process): Do not bind `default-directory'.
5355
44e18199
JB
5356 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5357 Order alphabetically.
a43dc424
MA
5358 [access-file, add-name-to-file, dired-call-process]:
5359 [dired-compress-file, file-acl, file-notify-rm-watch]:
5360 [file-ownership-preserved-p, file-selinux-context]:
5361 [make-directory-internal, make-symbolic-link, set-file-acl]:
5362 [set-file-selinux-context, set-visited-file-modtime]:
5363 [verify-visited-file-modtime]: Add handler.
5364 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5365
5366 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5367 [file-notify-add-watch, file-notify-rm-watch]:
5368 [set-file-times, set-visited-file-modtime]:
5369 [verify-visited-file-modtime]: Add handler.
5370 (with-tramp-gvfs-error-message)
5371 (tramp-gvfs-handle-set-visited-file-modtime)
5372 (tramp-gvfs-fuse-file-name): Remove.
5373 (tramp-gvfs-handle-file-notify-add-watch)
5374 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5375 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5376
44e18199
JB
5377 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5378 Order alphabetically.
a43dc424
MA
5379 [file-notify-rm-watch ]: Use default Tramp handler.
5380 [executable-find]: Remove private handler.
5381 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5382 `default-directory'.
5383 (tramp-sh-handle-executable-find)
5384 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5385 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5386 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5387 Do not use `format' in `tramp-message'.
5388
5389 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5390 [file-notify-rm-watch, set-visited-file-modtime]:
5391 [verify-visited-file-modtime]: Add handler.
5392 (tramp-smb-call-winexe): Do not bind `default-directory'.
5393
7188b515
XF
53942013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5395
5396 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5397
2412ee1a
DG
53982013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5399
5400 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5401 use it.
5402 (log-view-diff-changeset): Same.
5403 (log-view-diff-common): Call backend command `previous-revision'
5404 to find out the previous revision, in both cases. Swap the
5405 variables `to' and `fr', so that `fr' usually refers to the
5406 earlier revision (Bug#14989).
5407
5002a754
KRC
54082013-07-31 Kan-Ru Chen <kanru@kanru.info>
5409
5410 * ibuf-ext.el (ibuffer-filter-by-filename):
5411 Make it work with dired buffers too.
5412
44e18199 54132013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
5414
5415 * emacs-lisp/re-builder.el (reb-color-display-p):
5416 * files.el (save-buffers-kill-terminal):
5417 * net/browse-url.el (browse-url):
5418 * server.el (server-save-buffers-kill-terminal):
5419 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5420 Prefer nil to selected-frame for the first arg of frame-parameter.
5421
aeca3fbb
XF
54222013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5423
5424 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5425
158bc55c
SB
54262013-07-30 Stephen Berman <stephen.berman@gmx.net>
5427
5428 * minibuffer.el (completion--twq-all): Try and preserve each
5429 completion's case choice (bug#14907).
5430
d50fceab
LMI
54312013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5432
ac38e731
LMI
5433 * net/network-stream.el (open-network-stream): Mention the new
5434 :nogreeting parameter.
5435 (network-stream-open-starttls): Use the :nogreeting parameter
5436 (bug#14938).
5437
1211de50
LMI
5438 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5439
997798bf
LMI
5440 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5441 more natural than popping.
5442
d50fceab 5443 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 5444 (shr-urlify): Highlight under mouse.
d50fceab 5445
5c09de04
XF
54462013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5447
207d1d04
XF
5448 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5449
5450 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5451
5c09de04
XF
5452 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5453 buffer for output.
5454
3cd51eaa
XF
5455 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5456 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 5457
44e18199 5458 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 5459 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
5460
5461 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5462
5463 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5464 buffer for output.
5465
35a89bdd
EZ
54662013-07-29 Eli Zaretskii <eliz@gnu.org>
5467
5468 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5469 initial frame is minibuffer-less. (Bug#14841)
5470
78822e94
MA
54712013-07-29 Michael Albinus <michael.albinus@gmx.de>
5472
5473 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5474 option.
5475
5476 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5477 (tramp-maybe-open-connection): Use it.
5478
9503c190
JB
54792013-07-28 Juanma Barranquero <lekktu@gmail.com>
5480
5481 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5482 minimal set of parameters passed when creating a frame, because
5483 the minibuffer status of a frame cannot be changed later.
5484
d5a845b4
SB
54852013-07-28 Stephen Berman <stephen.berman@gmx.net>
5486
5487 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5488 replace-regexp-in-string and inadvertent omissions in previous change.
5489 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 5490 name of filtered items buffer.
d5a845b4 5491
ddeffb17
JB
54922013-07-28 Juanma Barranquero <lekktu@gmail.com>
5493
5494 * desktop.el: Optionally force offscreen frames back onscreen.
5495 (desktop-restoring-reuses-frames): New option.
5496 (desktop--compute-pos, desktop--move-onscreen): New functions.
5497 (desktop--make-frame): Use desktop--move-onscreen.
5498
f5950f7a
AM
54992013-07-27 Alan Mackenzie <acm@muc.de>
5500
5501 Fontify a Java generic method as a function.
5502 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5503 value to t.
5504
ae43b66a
SB
55052013-07-27 Stephen Berman <stephen.berman@gmx.net>
5506
5507 * calendar/todo-mode.el: Add command to rename todo files.
5508 (todo-rename-file): New command.
5509 (todo-key-bindings-t): Add key binding for it. Change the
5510 bindings of todo-filter-regexp-items(-multifile) to use `x'
5511 instead of `r', since the latter is better suited to the new
5512 renaming command.
5513
5ab78d3d
AM
55142013-07-27 Alan Mackenzie <acm@muc.de>
5515
5516 Make Java try-with-resources statement parse properly.
5517 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5518 (c-block-stmt-1-2-key): New language constants/variables.
5519 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5520 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5521 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 5522 with c-block-stmt-1-2-key.
5ab78d3d 5523
d85c4d50
JB
55242013-07-27 Juanma Barranquero <lekktu@gmail.com>
5525
5526 * desktop.el (desktop--make-frame): Apply most frame parameters after
5527 creating the frame to force (partially or totally) offscreen frames to
5528 be restored as such.
5529
e4c467f9
XF
55302013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5531
5532 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 5533 (Bug#14948)
e4c467f9 5534
7ced0d04
SM
55352013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5536
5537 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5538 `base' arg of backtrace-frame.
5539
fec92060
EZ
55402013-07-26 Eli Zaretskii <eliz@gnu.org>
5541
5542 * simple.el (list-processes): Doc fix.
5543
d58d31fb
JB
55442013-07-26 Juanma Barranquero <lekktu@gmail.com>
5545
5546 * desktop.el (desktop--select-frame):
d85c4d50 5547 Try harder to reuse existing frames.
d58d31fb 5548
53ff3e77
SM
55492013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5550
5551 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5552 (edebug-eval): Use backtrace-eval.
5553 (edebug--display, edebug--recursive-edit): Don't let-bind the
5554 edebug-outer-* vars that keep track of variables we locally let-bind.
5555 (edebug-outside-excursion): Don't restore outside values of locally
5556 let-bound vars.
5557 (edebug--display): Use user-error.
5558 (cl-lexical-debug, cl-debug-env): Remove.
5559
045f7a53
JB
55602013-07-26 Juanma Barranquero <lekktu@gmail.com>
5561
5562 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5563 are restored to be sure that they are visible before deleting any
5564 remaining ones.
5565
59070b32
MM
55662013-07-26 Matthias Meulien <orontee@gmail.com>
5567
742a3501
XF
5568 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5569 vc-print-root-log. (Bug#14948)
59070b32 5570
b1fb3596
RS
55712013-07-26 Richard Stallman <rms@gnu.org>
5572
5573 Add aliases for encrypting mail.
5574 * epa.el (epa-mail-aliases): New option.
5575 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5576 Bind inhibit-read-only so read-only text doesn't ruin everything.
5577 (epa-mail-default-recipients): New subroutine broken out.
5578 Handle epa-mail-aliases.
5579
56ea7291
SM
55802013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5581
5582 Add support for lexical variables to the debugger's `e' command.
5583 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5584 vars, except for debugger-outer-match-data.
5585 (debugger-frame-number): Move check for "on a function call" from
5586 callers into it. Add `skip-base' argument.
5587 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5588 (debugger-env-macro): Only reset the state stored in non-variables,
5589 i.e. current-buffer and match-data.
5590 (debugger-eval-expression): Rewrite using backtrace-eval.
5591 * subr.el (internal--called-interactively-p--get-frame): Remove.
5592 (called-interactively-p):
5593 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5594 `base' arg of backtrace-frame instead.
5595
15ac32d5
GM
55962013-07-26 Glenn Morris <rgm@gnu.org>
5597
8358a09d
GM
5598 * align.el (align-regexp): Doc fix. (Bug#14857)
5599 (align-region): Explicit error if subexpression missing/does not match.
5600
15ac32d5
GM
5601 * simple.el (global-visual-line-mode):
5602 Do not duplicate the mode lighter. (Bug#14858)
5603
f47ad11b
MR
56042013-07-25 Martin Rudalics <rudalics@gmx.at>
5605
5606 * window.el (display-buffer): In display-buffer bind
5607 split-window-keep-point to t, bug#14829.
5608
02530987
JB
56092013-07-25 Juanma Barranquero <lekktu@gmail.com>
5610
5611 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5612 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5613 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5614 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5615 Change accordingly.
f63ebeb5
JB
5616 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5617 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 5618
6ccb9cab 56192013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 5620
6ccb9cab 5621 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 5622
cb3a56d2
JB
56232013-07-25 Juanma Barranquero <lekktu@gmail.com>
5624
5625 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5626 parameter to modify-frame-parameters if the value has not changed;
5627 this is a workaround for bug#14949.
5628 (desktop--make-frame): On cl-delete-if call, check parameter name,
5629 not full parameter.
5630
7aa7fff0
XF
56312013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5632
5633 * vc/vc.el (vc-ignore): New function.
5634
5635 * vc/vc-svn.el (vc-svn-ignore): New function.
5636
5637 * vc/vc-hg.el (vc-hg-ignore): New function.
5638
5639 * vc/vc-git.el (vc-git-ignore): New function.
5640
5641 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5642 (vc-dir-ignore): New function.
5643
5644 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 5645 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
5646
5647 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5648
5649 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5650
889acc5c
JB
56512013-07-24 Juanma Barranquero <lekktu@gmail.com>
5652
5653 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5654 (desktop-restore-frames): Warn when deleting an existing frame failed.
5655
86c40970
GM
56562013-07-24 Glenn Morris <rgm@gnu.org>
5657
5658 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5659
d5d3c58a
MA
56602013-07-24 Michael Albinus <michael.albinus@gmx.de>
5661
5662 * filenotify.el (file-notify-supported-p):
5663 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5664 Remove functions.
5665
5666 * autorevert.el (auto-revert-use-notify):
5667 (auto-revert-notify-add-watch):
5668 * net/tramp.el (tramp-file-name-for-operation):
5669 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5670 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5671 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5672 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5673 Remove `file-notify-supported-p' entry.
5674
d100084b
GM
56752013-07-24 Glenn Morris <rgm@gnu.org>
5676
5677 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 5678 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 5679
ac93e56b
SM
56802013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5681
249eea30
SM
5682 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5683 checked with memq (bug#14935).
5684
ac93e56b
SM
5685 * files.el (revert-buffer-function): Use a non-nil default.
5686 (revert-buffer-preserve-modes): Declare var to
5687 provide access to the `preserve-modes' argument.
5688 (revert-buffer): Let-bind it.
5689 (revert-buffer--default): New function, extracted from revert-buffer.
5690
2cdeb903
SM
56912013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5692
5693 * lpr.el: Signal print errors more prominently.
5694 (print-region-function): Don't default to nil.
5695 (lpr-print-region): New function, extracted from print-region-1.
5696 Check lpr's return value and signal an error in case of problem.
5697 (print-region-1): Use it.
5698 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5699 versions instead.
5700 (ps-printer-name): Default to nil.
5701 (ps-printer-name-option): Default to lpr-printer-switch.
5702 (ps-print-region-function): Don't default to nil.
5703 (ps-postscript-code-directory): Simplify default.
5704 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5705 (ps-string-list, ps-eval-switch, ps-flatten-list)
5706 (ps-flatten-list-1): Remove.
5707 (ps-multibyte-buffer): Avoid setq.
5708 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5709 (print-region-function, ps-print-region-function): Don't set them here.
5710
73600831
XF
57112013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5712
0e55c076
XF
5713 * ido.el (ido-fractionp):
5714 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5715 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5716 (ido-max-directory-size, ido-max-dir-file-cache)
5717 (ido-decorations): Doc fix.
5718
73600831
XF
5719 * ansi-color.el: Fix old URL.
5720
3d012865
MM
57212013-07-23 Michael R. Mauger <michael@mauger.com>
5722
e903c210 5723 * progmodes/sql.el: Version 3.3
3d012865
MM
5724 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5725 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5726 (sql-interactive-remove-continuation-prompt): Rewrite, use
5727 functions above. Fix continuation prompt and complete output line
5728 handling.
5729 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5730 redirected output buffer.
5731 (sql-mode): Restore deleted code (Bug#13591).
5732
da77a2e2
JB
57332013-07-23 Juanma Barranquero <lekktu@gmail.com>
5734
5735 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5736
80ff0c71
MA
57372013-07-23 Michael Albinus <michael.albinus@gmx.de>
5738
5739 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5740
5741 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5742 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5743 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5744
b61d71e4
JB
57452013-07-23 Juanma Barranquero <lekktu@gmail.com>
5746
5747 * desktop.el (desktop-clear): Simplify; remove useless checks
5748 against invalid buffer names.
5749 (desktop-list*): Use cl-list*.
5750 (desktop-buffer-info, desktop-create-buffer): Simplify.
5751
c3512092
LL
57522013-07-23 Leo Liu <sdl.web@gmail.com>
5753
5754 * bookmark.el (bookmark-make-record): Restore NAME as a default
5755 value. (Bug#14933)
5756
0ac26976
SM
57572013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5758
7d22ce18
SM
5759 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5760 extracted from autoload--insert-text.
5761 (autoload--insert-text): Remove.
5762 (autoload--print-cookie-text): New function, extracted from
5763 autoload--insert-cookie-text.
5764 (autoload--insert-cookie-text): Remove.
5765 (autoload-generate-file-autoloads): Adjust calls accordingly.
5766
9b2607e8
SM
5767 * winner.el (winner-hook-installed-p): Remove.
5768 (winner-mode): Simplify accordingly.
5769
c43a8618
SM
5770 * subr.el (add-to-list): Fix compiler-macro when `append' is
5771 not constant. Don't use `cl-member' for the base case.
5772
0ac26976
SM
5773 * progmodes/subword.el: Fix boundary case (bug#13758).
5774 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5775 own group.
5776 (subword-backward-regexp): Make it a constant.
5777 (subword-forward-internal): Don't treat a trailing capital as the
5778 beginning of a word.
5779
6874724a
AR
57802013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5781
5782 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5783 global value of tabulated-list-revert-hook (bug#14930).
5784
70f1b5e8
JB
57852013-07-22 Juanma Barranquero <lekktu@gmail.com>
5786
a1c80d9d
JB
5787 * desktop.el: Require 'cl-lib.
5788 (desktop-before-saving-frames-functions): New hook.
5789 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5790 for frames being saved. Rename from desktop--save-minibuffer-frames.
5791 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
5792 Do not save frames with non-nil `desktop-dont-save' parameter.
5793 Filter out deleted frames.
a1c80d9d
JB
5794 (desktop--find-frame): Use cl-find-if.
5795 (desktop--select-frame): Use cl-(first|second|third) to access values
5796 of desktop-mini.
5797 (desktop--make-frame): Use cl-delete-if.
5798 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5799 (desktop-restore-frames): Use cl-(first|second|third) to access values
5800 of desktop-mini. Look for visible frame at the end, not while
5801 restoring frames.
5802
70f1b5e8
JB
5803 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5804 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5805 Use string-match-p, looking-at-p (bug#14927).
5806
728dc3cc
JB
58072013-07-21 Juanma Barranquero <lekktu@gmail.com>
5808
56bc453c
JB
5809 * desktop.el (desktop-saved-frame-states):
5810 Rename from desktop--saved-states; all users changed.
5811 (desktop-save-frames): Rename from desktop--save-frames.
5812 Do not save state to desktop file.
5813 (desktop-save): Save desktop-saved-frame-states to desktop file
5814 and reset to nil.
5815 (desktop-restoring-frames-p): New function.
5816 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5817 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5818 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5819
728dc3cc
JB
5820 * desktop.el: Correctly restore iconified frames.
5821 (desktop--filter-iconified-position): New function.
5822 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5823
862f1c9c
GM
58242013-07-20 Glenn Morris <rgm@gnu.org>
5825
c4074c9f
GM
5826 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5827 Let `message' do the formatting.
5828 (def-gdb-preempt-display-buffer): Add explicit format.
5829
d828e5f9
GM
5830 * image-dired.el (image-dired-track-original-file):
5831 Use with-current-buffer.
5832 (image-dired-track-thumbnail): Use with-current-buffer.
5833 Avoid changing point of wrong window.
5834
862f1c9c
GM
5835 * image-dired.el (image-dired-track-original-file):
5836 Avoid changing point of wrong window. (Bug#14909)
5837
f0398ec1 58382013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
5839
5840 * progmodes/gdb-mi.el (gdb-done-or-error):
5841 Guard against "%" in gdb output. (Bug#14127)
5842
1451928f
AS
58432013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5844
763a086d
JB
5845 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5846 (Bug#14826)
f7a03897 5847
1451928f
AS
5848 * international/mule.el (coding-system-iso-2022-flags): Fix last
5849 change.
5850
99107004
KH
58512013-07-20 Kenichi Handa <handa@gnu.org>
5852
763a086d
JB
5853 * international/mule.el (coding-system-iso-2022-flags):
5854 Add `8-bit-level-4'. (Bug#8522)
99107004 5855
48494e06
LMI
58562013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5857
8ba8eec5
LMI
5858 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5859 (bug#14815).
5860
dfbc66e3
LMI
5861 * net/eww.el (eww-process-text-input): Allow inputting when the
5862 point is at the start of the line, as the properties aren't
5863 front-sticky.
5864
48494e06
LMI
5865 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5866 degenerate widths.
5867
77c92cb9
RS
58682013-07-19 Richard Stallman <rms@gnu.org>
5869
aec7da77
RS
5870 * epa.el (epa-popup-info-window): Doc fix.
5871
77c92cb9
RS
5872 * subr.el (split-string): New arg TRIM.
5873
945c5bb1
JB
58742013-07-18 Juanma Barranquero <lekktu@gmail.com>
5875
5876 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5877 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5878
e06ec67f
MA
58792013-07-18 Michael Albinus <michael.albinus@gmx.de>
5880
c7064f05 5881 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
5882 `file-notify-support'. Do not autoload. Adapt all uses.
5883 (file-notify-supported-p): New defun.
5884
c7064f05
JB
5885 * autorevert.el (auto-revert-use-notify):
5886 Use `file-notify-supported-p' instead of `file-notify-support'.
5887 Adapt docstring.
e06ec67f
MA
5888 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5889
5890 * net/tramp.el (tramp-file-name-for-operation):
5891 Add `file-notify-supported-p'.
5892
5893 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5894 New defun.
5895 (tramp-sh-file-name-handler-alist): Add it as handler for
5896 `file-notify-supported-p '.
5897
5898 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5899 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5900 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5901 Add `ignore' as handler for `file-notify-*' functions.
5902
5dc8a629
EZ
59032013-07-17 Eli Zaretskii <eliz@gnu.org>
5904
5905 * simple.el (line-move-partial, line-move): Don't start vscroll or
5906 scroll-up if the current line is not taller than the window.
5907 (Bug#14881)
5908
77aea2fb
DG
59092013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5910
5911 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5912 highlight question marks in the method names as strings.
ac72c08d
DG
5913 (ruby-block-beg-keywords): Inline.
5914 (ruby-font-lock-keyword-beg-re): Extract from
5915 `ruby-font-lock-keywords'.
77aea2fb 5916
18c26d81
JD
59172013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5918
5919 * frame.el (blink-cursor-blinks): New defcustom.
5920 (blink-cursor-blinks-done): New defvar.
5921 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5922 (blink-cursor-timer-function): Check if number of blinks has been
5923 done on X and NS.
5924 (blink-cursor-suspend, blink-cursor-check): New defuns.
5925
da48522e
GM
59262013-07-15 Glenn Morris <rgm@gnu.org>
5927
5928 * edmacro.el (edmacro-format-keys): Fix previous change.
5929
0463c1ef
PE
59302013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5931
5932 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5933 The hack didn't work outside English locales anyway.
5934
b43f6451
JB
59352013-07-15 Juanma Barranquero <lekktu@gmail.com>
5936
5937 * simple.el (define-alternatives): Rename from alternatives-define,
5938 per RMS' suggestion.
5939
b958c0ad
JB
59402013-07-14 Juanma Barranquero <lekktu@gmail.com>
5941
5942 * desktop.el (desktop-restore-frames): Change default to t.
5943 (desktop-restore-in-current-display): Now offer more options.
5944 (desktop-restoring-reuses-frames): New customization option.
5945 (desktop--saved-states): Doc fix.
5946 (desktop-filter-parameters-alist): New variable, renamed and expanded
5947 from desktop--excluded-frame-parameters.
5948 (desktop--target-display): New variable.
5949 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5950 (desktop--filter-tty*, desktop--filter-*-color)
5951 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5952 (desktop--filter-save-desktop-parm)
5953 (desktop-restore-in-original-display-p): New functions.
5954 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5955 (desktop--save-minibuffer-frames): New function, inspired by a similar
5956 function from Martin Rudalics.
5957 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5958 (desktop--restore-in-this-display-p): Remove.
5959 (desktop--find-frame): Rename from desktop--find-frame-in-display
5960 and add predicate argument.
5961 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5962 (desktop--reuse-list): New variable.
5963 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5964 New functions.
5965 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5966
f6dd8b36
MA
59672013-07-14 Michael Albinus <michael.albinus@gmx.de>
5968
5969 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5970
2ce3c565
DG
59712013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5972
763a086d
JB
5973 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5974 Highlight conversion methods on Kernel.
2ce3c565 5975
2cdb7698
AM
59762013-07-13 Alan Mackenzie <acm@muc.de>
5977
5978 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5979 and comment it out. This out-commenting enables certain C++
5980 declarations to be parsed correctly.
5981
1a67b811
EZ
59822013-07-13 Eli Zaretskii <eliz@gnu.org>
5983
1b796d6b
EZ
5984 * international/mule.el (define-coding-system): Doc fix.
5985
1a67b811
EZ
5986 * simple.el (default-font-height): Don't call font-info if the
5987 frame's default font didn't change since the frame was created.
5988 (Bug#14838)
5989
58fbe886
LL
59902013-07-13 Leo Liu <sdl.web@gmail.com>
5991
5992 * ido.el (ido-read-file-name): Guard against non-symbol value.
5993
1f0480d4
FEG
59942013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5995
5996 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5997 in nested defuns.
5998
97ead0e5
LL
59992013-07-13 Leo Liu <sdl.web@gmail.com>
6000
6001 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6002 ido-set-matches call. (Bug#6852)
6003
0880a952
DG
60042013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6005
6006 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6007 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6008 Ruby 2.0.
6009 (ruby-font-lock-keywords): Distinguish calls to functions with
6010 module-like names from module references. Highlight character
6011 literals.
6012
a7d8babb
SDJ
60132013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6014
6015 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 6016 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 6017
acfcc8c5
JB
60182013-07-12 Juanma Barranquero <lekktu@gmail.com>
6019
6020 * desktop.el (desktop--v2s): Remove unused local variable.
6021 (desktop-save-buffer): Make defvar-local; adjust docstring.
6022 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6023 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6024
051f2775
AS
60252013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6026
6027 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6028
f24e7572
GM
60292013-07-12 Eli Zaretskii <eliz@gnu.org>
6030
6031 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6032 (Bug#14842)
6033
539a920c
GM
60342013-07-12 Glenn Morris <rgm@gnu.org>
6035
6036 * doc-view.el: Require cl-lib at runtime too.
6037 (doc-view-remove-if): Remove.
6038 (doc-view-search-next-match, doc-view-search-previous-match):
6039 Use cl-remove-if.
6040
6041 * edmacro.el: Require cl-lib at runtime too.
6042 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6043 (edmacro-mismatch, edmacro-subseq): Remove.
6044
6045 * shadowfile.el: Require cl-lib.
6046 (shadow-remove-if): Remove.
6047 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6048 Use cl-remove-if.
6049
6050 * wid-edit.el: Require cl-lib.
6051 (widget-choose): Use cl-remove-if.
6052 (widget-remove-if): Remove.
6053
6054 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6055 (ebrowse-delete-if-not): Remove.
6056 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6057 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6058 Use cl-delete-if-not.
6059
1048af7c
JB
60602013-07-12 Juanma Barranquero <lekktu@gmail.com>
6061
6062 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6063 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6064
6c0674ee
LL
60652013-07-12 Leo Liu <sdl.web@gmail.com>
6066
6067 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6068
a19b3c2d
GM
60692013-07-11 Glenn Morris <rgm@gnu.org>
6070
4582a01c
GM
6071 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6072 (edebug-gensym-index, edebug-gensym):
6073 Remove reimplementation of cl-gensym.
6074 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6075
6076 * thumbs.el: Require cl-lib at run-time too.
6077 (thumbs-gensym-counter, thumbs-gensym):
6078 Remove reimplementation of cl-gensym.
6079 (thumbs-temp-file): Use cl-gensym.
6080
a19b3c2d
GM
6081 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6082 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6083 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6084 (ert--union, ert--gensym-counter, ert--gensym-counter)
6085 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6086 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6087 (ert-make-test-unbound, ert--expand-should-1)
6088 (ert--expand-should, ert--should-error-handle-error)
6089 (should-error, ert--explain-equal-rec)
6090 (ert--plist-difference-explanation, ert-select-tests)
6091 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6092 Use cl-lib functions rather than reimplementations.
6093
88f6a933
MA
60942013-07-11 Michael Albinus <michael.albinus@gmx.de>
6095
6096 * net/tramp.el (tramp-methods): Extend docstring.
6097 (tramp-connection-timeout): New defcustom.
6098 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6099 (with-tramp-progress-reporter): Simplify.
6100 (tramp-process-actions): Improve messages.
6101
6102 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6103 * net/tramp-sh.el (tramp-maybe-open-connection):
6104 Use `tramp-connection-timeout'.
6105 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6106 (Bug#14808)
6107
a43d577e
LL
61082013-07-11 Leo Liu <sdl.web@gmail.com>
6109
6110 * ido.el (ido-read-file-name): Conform to the requirements of
6111 read-file-name. (Bug#11861)
6112 (ido-read-directory-name): Conform to the requirements of
6113 read-directory-name.
6114
d77974bf
JB
61152013-07-11 Juanma Barranquero <lekktu@gmail.com>
6116
6117 * subr.el (delay-warning): New function.
6118
35cb8a3e
EZ
61192013-07-10 Eli Zaretskii <eliz@gnu.org>
6120
6121 * simple.el (default-line-height): New function.
6122 (line-move-partial, line-move): Use it instead of computing the
6123 line height inline.
6124 (line-move-partial): Always compute ROWH. If the last line is
6125 partially-visible, but its text is completely visible, allow
6126 cursor to enter such a partially-visible line.
6127
525c5c77
MA
61282013-07-10 Michael Albinus <michael.albinus@gmx.de>
6129
6130 Improve error messages. (Bug#14808)
6131
6132 * net/tramp.el (tramp-current-connection): New defvar, moved from
6133 tramp-sh.el.
0ac26976 6134 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 6135 needed anymore.
0ac26976
SM
6136 (tramp-error-with-buffer): Show message in minibuffer.
6137 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
6138 (with-tramp-progress-reporter): Improve messages.
6139 (tramp-process-actions): Use progress reporter. Delete process in
6140 case of error. Improve messages.
6141
763a086d
JB
6142 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6143 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 6144 (tramp-current-connection): Remove.
525c5c77
MA
6145 (tramp-maybe-open-connection): The car of
6146 `tramp-current-connection' are the first 3 slots of the vector.
6147
c7a4d368
TZ
61482013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6149
6150 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6151 inside continued strings.
6152
954b166e
PE
61532013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6154
6155 Timestamp fixes for undo (Bug#14824).
6156 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6157
56973319
LL
61582013-07-10 Leo Liu <sdl.web@gmail.com>
6159
6160 * files.el (require-final-newline): Allow safe local value.
6161 (Bug#14834)
6162
5550a72c
LL
61632013-07-09 Leo Liu <sdl.web@gmail.com>
6164
6165 * ido.el (ido-read-directory-name): Handle fallback.
6166 (ido-read-file-name): Update DIR to ido-current-directory.
6167 (Bug#1516)
c28b9050 6168 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 6169
70c46b28
DG
61702013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6171
6172 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6173 "autoload". Remove "warn lower camel case" section, previously
6174 commented out. Highlight negation char. Do not highlight the
6175 target in singleton method definitions.
6176
0b64b838
SM
61772013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6178
7fd72e2c
SM
6179 * faces.el (tty-setup-hook): Declare the hook.
6180
0b64b838
SM
6181 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6182 and detect when a guard/pred depends on local vars (bug#14773).
6183 (pcase--u1): Adjust caller.
6184
ab49d60b
EZ
61852013-07-08 Eli Zaretskii <eliz@gnu.org>
6186
6187 * simple.el (line-move-partial, line-move): Account for
6188 line-spacing.
701d79aa
EZ
6189 (line-move-partial): Avoid setting vscroll when the last
6190 partially-visible line in window is of default height.
ab49d60b 6191
2d756ae0
LMI
61922013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6193
6194 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6195 been used a while.
6196
ed095bd7
JB
61972013-07-07 Juanma Barranquero <lekktu@gmail.com>
6198
6199 * subr.el (read-quoted-char): Remove unused local variable `char'.
6200
f1e6674b
MK
62012013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6202
584ee3fc
GM
6203 * ediff.el (ediff-version): Version update.
6204 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6205 (ediff-merge-with-ancestor-command, ediff-directories-command)
6206 (ediff-directories3-command, ediff-merge-directories-command)
6207 (ediff-merge-directories-with-ancestor-command): New functions.
6208 All are command-line interfaces to ediff: to facilitate calling
6209 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
6210
6211 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6212 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 6213
584ee3fc
GM
6214 * viper.el (viper-version): Version update.
6215 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 6216
584ee3fc
GM
62172013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6218
6219 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6220 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6221 (viper-intercept-ESC-key): Simplify.
6222 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6223 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6224 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6225 (viper-setup-ESC-to-escape): New functions.
6226 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6227 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 6228
9aff9b38
EZ
62292013-07-07 Eli Zaretskii <eliz@gnu.org>
6230
5165d44a
JB
6231 * simple.el (default-font-height, window-screen-lines):
6232 New functions.
9aff9b38
EZ
6233 (line-move, line-move-partial): Use them instead of
6234 frame-char-height and window-text-height. This makes scrolling
6235 text smoother when the buffer's default face uses a font that is
6236 different from the frame's default font.
6237
1afb1d07
JD
62382013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6239
6240 * files.el (write-file): Do not display confirm dialog for NS,
6241 it does its own dialog, which can't be cancelled (Bug#14578).
6242
23de972a
EZ
62432013-07-06 Eli Zaretskii <eliz@gnu.org>
6244
6245 * simple.el (line-move-partial): Adjust the row returned by
6246 posn-at-point for the current window-vscroll. (Bug#14567)
6247
54a42486
MA
62482013-07-06 Michael Albinus <michael.albinus@gmx.de>
6249
6250 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6251 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6252 spaces.
6253
34ada5f4
MR
62542013-07-06 Martin Rudalics <rudalics@gmx.at>
6255
6256 * window.el (window-state-put-stale-windows): New variable.
6257 (window--state-put-2): Save list of windows without matching buffer.
6258 (window-state-put): Remove "bufferless" windows if possible.
6259
11e03d89
JB
62602013-07-06 Juanma Barranquero <lekktu@gmail.com>
6261
6262 * simple.el (alternatives-define): Remove leftover :group keyword.
6263 Tweak docstring.
6264
3504a4be
LL
62652013-07-06 Leo Liu <sdl.web@gmail.com>
6266
6267 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6268 (ido-enable-virtual-buffers): New variable.
6269 (ido-buffer-internal, ido-toggle-virtual-buffers)
6270 (ido-make-buffer-list): Use it.
6271 (ido-exhibit): Support turning on and off virtual buffers
6272 automatically.
6273
61e56e2c
JB
62742013-07-06 Juanma Barranquero <lekktu@gmail.com>
6275
6276 * simple.el (alternatives-define): New macro.
6277
321e1a9c
SM
62782013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6279
6280 * subr.el (read-quoted-char): Use read-key.
6281 (sit-for): Let read-event decode tty input (bug#14782).
6282
d610f6dd
SB
62832013-07-05 Stephen Berman <stephen.berman@gmx.net>
6284
6285 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
6286 mode command and externally. Fix various related bugs.
6287 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
6288 (todo-delete-file): New command.
6289 (todo-check-file): New function.
6290 (todo-show): Handle external deletion of the file we're trying to
6291 show (bug#14688). Replace called-interactively-p by an optional
6292 prefix argument to avoid problematic interaction with catch form
6293 when byte compiled (bug#14702).
6294 (todo-quit): Handle external deletion of the archive's todo file.
6295 Make sure the buffer that was visiting the archive file is still
6296 live before trying to bury it.
6297 (todo-category-completions): Handle external deletion of any
6298 category completion files.
6299 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6300 of todo files, in case of external deletion.
6301 (todo-add-file): Replace unnecessary setq by let-binding.
6302 (todo-find-archive): Check whether there are any archives.
6303 Replace unnecessary setq by let-binding.
6304 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
6305 archive buffer whether or not the archive already exists.
6306 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
6307 check if the archive is new; if it is, update list of archives.
6308 (todo-default-todo-file): Allow nil to be a valid value for when
6309 there are no todo files.
6310 (todo-reevaluate-default-file-defcustom): Use corrected definition
6311 of todo-default-todo-file.
6312 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6313 (todo-delete-category, todo-show-categories-table)
6314 (todo-category-number): Clarify comment.
6315 (todo-filter-items): Clarify documentation string.
6316 (todo-show-current-file, todo-display-as-todo-file)
6317 (todo-reset-and-enable-done-separator): Tweak documentation string.
6318 (todo-done-separator): Make separator length window-width, since
6319 bug#2749 is now fixed.
6320
ddbdfd6f
MA
63212013-07-05 Michael Albinus <michael.albinus@gmx.de>
6322
321e1a9c
SM
6323 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6324 Support both "gvfs-monitor-dir" and "inotifywait".
6325 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
6326 `tramp-sh-file-notify-process-filter'.
6327 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6328 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6329
96eb829a
LL
63302013-07-05 Leo Liu <sdl.web@gmail.com>
6331
6332 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6333
cf13177e
YM
63342013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6335
6336 * frame.el (display-pixel-height, display-pixel-width)
6337 (display-mm-height, display-mm-width): Mention behavior on
6338 multi-monitor setups in docstrings.
6339 (w32-display-monitor-attributes-list): Declare function.
6340 (display-monitor-attributes-list): Use it.
6341
864c58ca
MA
63422013-07-04 Michael Albinus <michael.albinus@gmx.de>
6343
6344 * filenotify.el: New package.
6345
6346 * autorevert.el (top): Require filenotify.el.
6347 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6348 instead.
6349 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6350 (auto-revert-notify-handler): Use `file-notify-*' functions.
6351
6352 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6353
321e1a9c
SM
6354 * net/tramp.el (tramp-file-name-for-operation):
6355 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
6356
6357 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6358 for `file-notify-add-watch' and `file-notify-rm-watch'.
6359 (tramp-process-sentinel): Improve trace.
6360 (tramp-sh-handle-file-notify-add-watch)
6361 (tramp-sh-file-notify-process-filter)
6362 (tramp-sh-handle-file-notify-rm-watch)
6363 (tramp-get-remote-inotifywait): New defuns.
6364
96673afe
JL
63652013-07-03 Juri Linkov <juri@jurta.org>
6366
6367 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6368 call of `occur-read-primary-args' to interactive spec.
6369
6370 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6371 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6372
924494f4
MM
63732013-07-03 Matthias Meulien <orontee@gmail.com>
6374
6375 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6376 `Buffer-menu-multi-occur'. Add it to the menu.
6377 (Buffer-menu-mode): Document it in docstring.
6378 (Buffer-menu-multi-occur): New command. (Bug#14673)
6379
56f75efc
DG
63802013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6381
6382 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6383 keywords and built-ins.
6384
9b057d61
GM
63852013-07-03 Glenn Morris <rgm@gnu.org>
6386
208dee4d
GM
6387 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6388
9b057d61
GM
6389 Make info-xref checks case-sensitive by default
6390 * info.el (Info-find-node, Info-find-in-tag-table)
6391 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6392 Add option for exact case matching of nodes.
6393 * info-xref.el (info-xref): New custom group.
6394 (info-xref-case-fold): New option.
6395 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6396
e01aa29c
LL
63972013-07-03 Leo Liu <sdl.web@gmail.com>
6398
6399 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6400
3086ca2e
DG
64012013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6402
6403 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6404 middle of block statement initially, lower the depth. Remove
6405 FIXME comment, not longer valid. Remove middle of block statement
6406 detection, no need to do that anymore since we've been using
6407 `ruby-parse-region' here.
6408
a3b49114
JD
64092013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6410
6411 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6412
08e5c823 64132013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
6414
6415 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6416
2addf922
JB
64172013-07-01 Juanma Barranquero <lekktu@gmail.com>
6418
6419 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6420 (desktop-restore-in-current-display): New customization option.
6421 (desktop--excluded-frame-parameters): Add `font'.
6422 (desktop--save-frames): Rename from desktop--save-windows.
6423 (desktop--restore-in-this-display-p): New function.
6424 (desktop--make-full-frame): Remove unwanted width/height from
6425 full(width|height) frames.
6426 (desktop--restore-frames): Rename from desktop--restore-windows.
6427 Obey desktop-restore-current-display. Do not delete old frames or
6428 select a new frame unless we were able to restore at least one frame.
6429
ef099a94
MN
64302013-06-30 Michal Nazarewicz <mina86@mina86.com>
6431
6432 * files.el (find-file-noselect): Simplify conditional expression.
6433
6434 * remember.el (remember-append-to-file):
6435 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6436
6437 Add `remember-notes' function to store random notes across Emacs
6438 restarts.
6439 * remember.el (remember-data-file): Add :set callback to affect
6440 notes buffer (if any).
6441 (remember-notes): New command.
6442 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6443 New defcustoms for the `remember-notes' function.
6444 (remember-notes-save-and-bury-buffer): New command.
6445 (remember-notes-mode-map): New variable.
6446 (remember-mode): New minor mode.
6447 (remember-notes--kill-buffer-query): New function.
6448 * startup.el (initial-buffer-choice): Add notes to custom type.
6449
0865d506
EZ
64502013-06-30 Eli Zaretskii <eliz@gnu.org>
6451
0ba54312
EZ
6452 * bindings.el (right-char, left-char): Don't call sit-for, this is
6453 no longer needed. Use arithmetic comparison only for numerical
6454 arguments.
6455
ef099a94
MN
6456 * international/mule-cmds.el (select-safe-coding-system):
6457 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 6458
2fae38e5
LMI
64592013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6460
6461 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6462 progression on degenerate tables.
ef099a94 6463 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 6464
a47cbd64
JB
64652013-06-30 Juanma Barranquero <lekktu@gmail.com>
6466
6467 Some fixes and improvements for desktop frame restoration.
6468 It is still experimental and disabled by default.
6469 * desktop.el (desktop--save-windows): Put the selected frame at
6470 the head of the list.
6471 (desktop--make-full-frame): New function.
6472 (desktop--restore-windows): Try to re-select the frame that was
6473 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
6474 just show an error message and continue. Set up maximized frames
6475 so they have default non-maximized dimensions.
a47cbd64 6476
6dbafa30
DG
64772013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6478
ef099a94
MN
6479 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6480 Don't start heredoc inside a string or comment.
6dbafa30 6481
4c672a0f
EZ
64822013-06-29 Eli Zaretskii <eliz@gnu.org>
6483
6484 * bindings.el (visual-order-cursor-movement): New defcustom.
6485 (right-char, left-char): Provide visual-order cursor motion by
6486 calling move-point-visually. Update the doc strings.
6487
50960f36
KH
64882013-06-28 Kenichi Handa <handa@gnu.org>
6489
6490 * international/mule.el (define-coding-system): New coding system
6491 properties :inhibit-null-byte-detection,
6492 :inhibit-iso-escape-detection, and :prefer-utf-8.
6493 (set-buffer-file-coding-system): If :charset-list property of
6494 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6495 appropriate for setting.
6496
c1ea3abf
JB
6497 * international/mule-cmds.el (select-safe-coding-system):
6498 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6499 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
6500
6501 * international/mule-conf.el (prefer-utf-8): New coding system.
6502 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6503 files.
6504
75dbaf9d
IK
65052013-06-28 Ivan Kanis <ivan@kanis.fr>
6506
eadb6068
IK
6507 * net/shr.el (shr-render-region): New function.
6508
75dbaf9d
IK
6509 * net/eww.el: Autoload `eww-browse-url'.
6510
9ea5cf9f
DG
65112013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6512
c1ea3abf
JB
6513 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6514 Adapt to `package-desc-version' being a list.
6515 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
6516 archive element.
6517
39c0e36f
JB
65182013-06-27 Juanma Barranquero <lekktu@gmail.com>
6519
6520 New experimental feature to save&restore window and frame setup.
6521 * desktop.el (desktop-save-windows): New defcustom.
6522 (desktop--saved-states): New var.
6523 (desktop--excluded-frame-parameters): New defconst.
6524 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6525 (desktop--restore-windows, desktop--save-windows): New functions.
6526 (desktop-save): Call `desktop--save-windows'.
6527 (desktop-read): Call `desktop--restore-windows'.
6528
7f13406b
LMI
65292013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6530
ef099a94 6531 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 6532
1e072639
SB
65332013-06-27 Stephen Berman <stephen.berman@gmx.net>
6534
6535 * info.el (Info-try-follow-nearest-node): Move search for footnote
6536 above search for node name to prevent missing a footnote (bug#14717).
6537
f3e2cbde
SB
65382013-06-27 Stephen Berman <stephen.berman@gmx.net>
6539
6540 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6541
99906aa0
LL
65422013-06-27 Leo Liu <sdl.web@gmail.com>
6543
6544 * net/eww.el (eww-read-bookmarks): Check file size.
6545
539f75f4
SM
65462013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6547
6548 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6549 advice--pending if newdef is nil or an autoload (bug#13820).
6550 (advice-mapc): New function.
6551
843571cb
LMI
65522013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6553
6554 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6555 probably.
23a75d7f 6556 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
6557 (eww-add-bookmark): New command.
6558 (eww-bookmark-mode): New mode and commands.
a285ce99 6559 (eww-add-bookmark): Remove newlines from the title.
47fd571b 6560 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 6561
f2136e1e
GM
65622013-06-26 Glenn Morris <rgm@gnu.org>
6563
eab35f39
GM
6564 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6565 (hfy-size): Handle ttys. (Bug#14668)
6566
f2136e1e
GM
6567 * info-xref.el: Update for Texinfo 5 change in *note format.
6568 (info-xref-node-re, info-xref-note-re): New constants.
6569 (info-xref-check-buffer): Use info-xref-note-re.
6570
a49ff80c
SM
65712013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6572
a343d218
SM
6573 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6574
a49ff80c
SM
6575 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6576 nil terminate the loop (bug#14718).
6577
8308f184
LMI
65782013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6579
6580 * net/eww.el: Rework history traversal. When going forward/back,
6581 put these actions into the history, too, so that they can be
6582 replayed.
26bf2b82 6583 (eww-render): Move the history reset to the correct buffer.
8308f184 6584
ec64c273
JL
65852013-06-25 Juri Linkov <juri@jurta.org>
6586
6587 * files-x.el (modify-dir-local-variable): Change the header comment
6588 in the file with directory local variables. (Bug#14692)
6589
e080a9d7
JL
6590 * files-x.el (read-file-local-variable-value): Add `default'.
6591 (Bug#14710)
6592
bfbc93a1
IK
65932013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6594
6595 * net/eww.el (eww-make-unique-file-name): Create a unique file
6596 name before saving to entering `y' accidentally asynchronously.
6597
65982013-06-25 Ivan Kanis <ivan@kanis.fr>
6599
6600 * net/eww.el (eww-download): New command and keystroke.
6601
16f74f10
LMI
66022013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6603
a49ff80c 6604 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
6605
6606 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6607 be more consistent with Info and dired.
6608
6609 * net/eww.el (eww-mode-map): Ditto.
6610
12059709
SM
66112013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6612
6613 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6614 packages from archives.
6615 (package-archive-contents): Change format; include obsolete packages.
6616 (package-desc): Use `dir' to mark builtin packages.
6617 (package--from-builtin): Set the `dir' field to `builtin'.
6618 (generated-autoload-file, version-control): Declare.
6619 (package-compute-transaction): Change first arg and return value to be
6620 lists of package-descs. Adjust to new package-archive-contents format.
6621 (package--add-to-archive-contents): Adjust to new
6622 package-archive-contents format.
6623 (package-download-transaction): Arg is now a list of package-descs.
6624 (package-install): If `pkg' is a package name, pass it as
6625 a requirement, so it is subject to the usual (e.g. disabled) checks.
6626 (describe-package): Accept package-desc as well.
6627 (describe-package-1): Describe a specific package-desc. Add links to
6628 other package-descs for the same package name.
6629 (package-menu-describe-package): Pass the actual package-desc.
6630 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6631 works correctly.
6632 (package-desc-status): New function.
6633 (package-menu--refresh): New function, extracted
6634 from package-menu--generate.
6635 (package-menu--generate): Use it.
6636 (package-delete): Update package-alist.
6637 (package-menu-execute): Don't call package-initialize.
6638
6639 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6640 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6641 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6642 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6643 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6644 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6645
8bbdea0f
MR
66462013-06-25 Martin Rudalics <rudalics@gmx.at>
6647
6648 * window.el (window--state-get-1): Workaround for bug#14527.
6649 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6650
e82b0991
LMI
66512013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6652
6653 * net/eww.el (eww-back-url): Implement the history by stashing all
6654 the data into a list.
d3f0f918 6655 (eww-forward-url): Allow going forward in the history, too.
e82b0991 6656
c763842b
SM
66572013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6658
6659 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6660 for values and use read--expression for expressions (bug#14710).
6661 (read-file-local-variable): Avoid setq.
6662 (read-file-local-variable-mode): Use minor-mode-list.
6663
bceff189
RW
66642013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6665
864c58ca 6666 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
6667 for DOI URLs.
6668
45f431c6
RW
66692013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6670
864c58ca 6671 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
6672 Update imenu-support when dialect changes.
6673
f42d8237
LL
66742013-06-25 Leo Liu <sdl.web@gmail.com>
6675
6676 * ido.el (ido-read-internal): Allow forward slash on windows.
6677
be549ce6
LMI
66782013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6679
6680 * net/eww.el (eww): Start of strings is \\`, not ^.
6681
71d4c19d
IK
66822013-06-24 Ivan Kanis <ivan@kanis.fr>
6683
5196f88a
IK
6684 * net/shr.el (shr-browse-url): Fix interactive spec.
6685
71d4c19d
IK
6686 * net/eww.el (eww): Add a trailing slash to domain names.
6687
ae36ca55
JB
66882013-06-24 Juanma Barranquero <lekktu@gmail.com>
6689
6690 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6691
0ebd92a3
LMI
66922013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6693
bdaa086b
LMI
6694 * net/shr.el (shr-browse-url): Use an external browser if given a
6695 prefix.
6696
c763842b 6697 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 6698
b89fc156
IK
66992013-06-24 Ivan Kanis <ivan@kanis.fr>
6700
6701 * net/eww.el (eww): Work more correctly for file: URLs.
6702 (eww-detect-charset): Allow quoted charsets.
6703 (eww-yank-page-url): New command and keystroke.
6704
18eb4bca
DU
67052013-06-24 Daiki Ueno <ueno@gnu.org>
6706
6707 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6708 file name of gpg executable.
6709 (epg-context-program): New function.
6710 (epg-context-home-directory): New function.
6711 (epg-context-set-program): New function.
6712 (epg-context-set-home-directory): New function.
6713 (epg--start): Use `epg-context-program' instead of
6714 'epg-gpg-program'.
6715 (epg--list-keys-1): Likewise.
6716
6c6268c8
LL
67172013-06-24 Leo Liu <sdl.web@gmail.com>
6718
6719 * ido.el (ido-read-internal): Fix bug#14620.
6720
5e400cb3
JB
67212013-06-23 Juanma Barranquero <lekktu@gmail.com>
6722
6723 * faces.el (face-documentation): Simplify.
6724 (read-face-attribute, tty-find-type, x-resolve-font-name):
6725 Use `string-match-p'.
6726 (list-faces-display): Use `string-match-p'. Simplify.
6727 (face-spec-recalc): Check face to avoid face alias loops.
6728 (read-color): Use `string-match-p' and non-capturing parenthesis.
6729
f3f9606c
LMI
67302013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6731
6732 * net/shr.el (shr-rescale-image): Use the new
6733 :max-width/:max-height functionality.
6734
a3ca09b9
IK
67352013-06-23 Ivan Kanis <ivan@kanis.fr>
6736
6737 * net/eww.el (eww-search-prefix): New variable.
6738 (eww): Use it.
f865b474
IK
6739 (eww-external-browser): New variable.
6740 (eww-mode-map): New keystroke.
6741 (eww-browse-with-external-browser): New command.
a3ca09b9 6742
e854cfc7
IK
6743 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6744
18bb9e21
JB
67452013-06-23 Juanma Barranquero <lekktu@gmail.com>
6746
6747 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6748 Don't skip aligning the next header field when padding is 0;
6749 otherwise, field width is not respected unless the title is as
6750 wide as the field.
6751
5b165ade
SM
67522013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6753
6754 * emacs-lisp/package.el (package-el-version): Remove.
6755 (package-process-define-package): Fix inf-loop.
6756 (package-install): Allow symbols as arguments again.
6757
12adebe9
DG
67582013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6759
6760 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6761 add some more keyword-like methods.
6762 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6763
388573ee
JB
67642013-06-22 Juanma Barranquero <lekktu@gmail.com>
6765
6766 * bs.el (bs-buffer-show-mark): Make defvar-local.
6767 (bs-mode): Use setq-local.
6768
6769 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6770 (emacs-lock--try-unlocking): Make defvar-local.
6771
4582a01c 67722013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 6773
2663dd23
GM
6774 * play/cookie1.el (cookie-apropos): Minor simplification.
6775
3d94f3ad
GM
6776 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6777
f72e2fdb
DG
67782013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6779
6780 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6781 `regexp-opt', it breaks the build during dumping.
6782
73eab938
DG
67832013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6784
c763842b
SM
6785 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6786 Highlight keyword-like methods on Kernel and Module with
73eab938 6787 font-lock-builtin-face.
5cf8176d
DG
6788 (auto-mode-alist): Consolidate different entries into one regexp
6789 and add more *file-s.
73eab938 6790
d26255f6
SB
67912013-06-21 Stephen Berman <stephen.berman@gmx.net>
6792
6793 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6794
6795 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6796 (diary-entry): Use it in the action of this button type instead of
6797 diary-goto-entry.
6798
6799 * calendar/todo-mode.el: New version.
6800 (todo-add-category): Append new category to end of file and give
6801 it the highest number, instead of putting it at the beginning and
6802 giving it 0. Incorporate noninteractive functionality.
6803 (todo-forward-category): Adapt to 1-based category numbering.
6804 Allow skipping over archived categories.
6805 (todo-backward-category): Derive from todo-forward-category.
6806 (todo-backward-item, todo-forward-item): Make noninteractive and
6807 delegate interactive part to new commands. Make sensitive to done items.
6808 (todo-categories): Make value an alist of category names and
6809 vectors of item counts.
6810 (todo-category-beg): Make a defconst.
6811 (todo-category-number): Use 1 instead of 0 as initial value.
6812 (todo-category-select): Make sensitive to overlays, optional item
6813 highlighting and done items.
6814 (todo-delete-item): Make sensitive to overlays and marked and done items.
6815 (todo-edit-item): Make sensitive to overlays and editing of
6816 date/time header optional. Add format checks.
6817 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6818 no-op if point is not on an item. Advertise using todo-edit-quit.
6819 (todo-edit-mode): Make sensitive to new format, font-locking, and
6820 multiple todo files.
6821 (todo-insert-item, todo-insert-item-here): Derive from
6822 todo-basic-insert-item and extend functionality.
6823 (todo-item-end, todo-item-start): Make sensitive to done items.
6824 (todo-item-string): Don't return text properties. Restore point.
6825 (todo-jump-to-category): Make sensitive to multiple todo files and
6826 todo archives. Use extended category completion.
6827 (todo-lower-item, todo-raise-item): Rename to *-priority and
6828 derive from todo-set-item-priority.
6829 (todo-mode): Derive from special-mode. Make sensitive to new
6830 format, font-locking and multiple todo files. Make read-only.
6831 (todo-mode-map): Don't suppress digit keys, so they can supply
6832 prefix arguments. Add many new key bindings.
6833 (todo-prefix): Insert as an overlay instead of file text.
6834 Change semantics from diary date expression to purely visual mark.
6835 (todo-print): Rename to todo-print-buffer. Make buffer display
6836 features printable. Remove option to restrict number of items
6837 printed. Add option to print to file.
6838 (todo-print-function): Rename to todo-print-buffer-function.
6839 (todo-quit): Extend to handle exiting new todo modes.
6840 (todo-remove-item): Make sensitive to overlays.
6841 (todo-save): Extend to buffers of filtered items.
6842 (todo-show): Make sensitive to done items, multiple todo files and
6843 new todo modes. Offer to convert legacy todo file before creating
6844 first new todo file.
6845 (todo-show-priorities): Rename to todo-top-priorities.
6846 Change semantics of value 0.
6847 (todo-top-priorities): Rename to todo-filter-top-priorities,
6848 derive from todo-filter-items and extend functionality.
6849 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6850 and extend functionality to other types of filtered items.
6851 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6852 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6853 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6854 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6855 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6856 (todo-edit-mode-hook, todo-entry-prefix-function)
6857 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6858 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6859 (todo-initials, todo-insert-threshold, todo-item-string-start)
6860 (todo-line-string, todo-menu, todo-mode-hook)
6861 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6862 (todo-print-priorities, todo-remove-separator)
6863 (todo-save-top-priorities-too, todo-string-count-lines)
6864 (todo-string-multiline-p, todo-time-string-format)
6865 (todo-tmp-buffer-name): Remove.
6866 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6867 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6868 (todo-edit-category-diary-inclusion)
6869 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6870 (todo-edit-file, todo-edit-item-date-day)
6871 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6872 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6873 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6874 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6875 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6876 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6877 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6878 (todo-filter-top-priorities-multifile, todo-find-archive)
6879 (todo-find-filtered-items-file, todo-go-to-source-item)
6880 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6881 (todo-jump-to-archive-category, todo-lower-category)
6882 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6883 (todo-move-category, todo-move-item, todo-next-button)
6884 (todo-next-item, todo-padded-string, todo-powerset)
6885 (todo-previous-button, todo-previous-item)
6886 (todo-print-buffer-to-file, todo-raise-category)
6887 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6888 (todo-set-category-number, todo-set-item-priority)
6889 (todo-set-top-priorities-in-category)
6890 (todo-set-top-priorities-in-file, todo-show-categories-table)
6891 (todo-sort-categories-alphabetically-or-numerically)
6892 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6893 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6894 (todo-toggle-item-header, todo-toggle-item-highlighting)
6895 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6896 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6897 (todo-unarchive-items, todo-unmark-category): New commands.
6898 (todo-absolute-file-name, todo-add-to-buffer-list)
6899 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6900 (todo-basic-insert-item, todo-category-completions)
6901 (todo-category-number, todo-category-string-matcher-1)
6902 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6903 (todo-check-format, todo-clear-matches)
6904 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6905 (todo-current-category, todo-date-string-matcher)
6906 (todo-define-insertion-command, todo-diary-expired-matcher)
6907 (todo-diary-goto-entry, todo-diary-item-p)
6908 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6909 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6910 (todo-done-item-section-p, todo-done-separator)
6911 (todo-done-string-matcher, todo-files, todo-filter-items)
6912 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6913 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6914 (todo-insert-category-line, todo-insert-item-from-calendar)
6915 (todo-insert-sort-button, todo-insert-with-overlays)
6916 (todo-insertion-command-name, todo-insertion-key-bindings)
6917 (todo-label-to-key, todo-longest-category-name-length)
6918 (todo-make-categories-list, todo-mode-external-set)
6919 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6920 (todo-modes-set-3, todo-multiple-filter-files)
6921 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6922 (todo-read-category, todo-read-date, todo-read-dayname)
6923 (todo-read-file-name, todo-read-time)
6924 (todo-reevaluate-category-completions-files-defcustom)
6925 (todo-reevaluate-default-file-defcustom)
6926 (todo-reevaluate-filelist-defcustoms)
6927 (todo-reevaluate-filter-files-defcustom)
6928 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6929 (todo-reset-done-separator, todo-reset-done-separator-string)
6930 (todo-reset-done-string, todo-reset-global-current-todo-file)
6931 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6932 (todo-reset-prefix, todo-set-categories)
6933 (todo-set-date-from-calendar, todo-set-show-current-file)
6934 (todo-set-top-priorities, todo-short-file-name)
6935 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6936 (todo-total-item-counts, todo-update-buffer-list)
6937 (todo-update-categories-display, todo-update-categories-sexp)
6938 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6939 New functions.
6940 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6941 New major modes.
6942 (todo-categories, todo-display, todo-edit, todo-faces)
6943 (todo-filtered): New defgroups.
6944 (todo-archived-only, todo-button, todo-category-string, todo-date)
6945 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6946 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6947 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6948 (todo-add-item-if-new-category, todo-always-add-time-string)
6949 (todo-categories-align, todo-categories-archived-label)
6950 (todo-categories-category-label, todo-categories-diary-label)
6951 (todo-categories-done-label, todo-categories-number-separator)
6952 (todo-categories-todo-label, todo-categories-totals-label)
6953 (todo-category-completions-files, todo-completion-ignore-case)
6954 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6955 (todo-done-separator-string, todo-done-string)
6956 (todo-files-function, todo-filter-done-items, todo-filter-files)
6957 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6958 (todo-initial-category, todo-initial-file, todo-item-mark)
6959 (todo-legacy-date-time-regexp, todo-mode-line-function)
6960 (todo-nondiary-marker, todo-number-prefix)
6961 (todo-print-buffer-function, todo-show-current-file)
6962 (todo-show-done-only, todo-show-first, todo-show-with-done)
6963 (todo-skip-archived-categories, todo-top-priorities-overrides)
6964 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6965 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6966 New defcustoms.
6967 (todo-category-done, todo-date-pattern, todo-date-string-start)
6968 (todo-diary-items-buffer, todo-done-string-start)
6969 (todo-filtered-items-buffer, todo-item-start)
6970 (todo-month-abbrev-array, todo-month-name-array)
6971 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6972 (todo-top-priorities-buffer): New defconsts.
6973 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6974 (todo-categories-with-marks, todo-category-string-face)
6975 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6976 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6977 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6978 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6979 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6980 (todo-font-lock-keywords, todo-global-current-todo-file)
6981 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6982 (todo-insertion-commands-args)
6983 (todo-insertion-commands-args-genlist)
6984 (todo-insertion-commands-names, todo-insertion-map)
6985 (todo-key-bindings-t, todo-key-bindings-t+a)
6986 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6987 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6988 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6989 (todo-visited): New variables.
6990
cad5d1cb
GM
69912013-06-21 Glenn Morris <rgm@gnu.org>
6992
6993 * play/cookie1.el (cookie-apropos): Add optional display argument.
6994 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6995 (psychoanalyze-pinhead): Use cookie-doctor.
6996
9e277302
JB
69972013-06-21 Juanma Barranquero <lekktu@gmail.com>
6998
6999 * emacs-lisp/package.el (tar-get-file-descriptor)
7000 (tar--extract): Declare.
7001
c5b0993e
EW
70022013-06-21 Eduard Wiebe <usenet@pusto.de>
7003
7004 Extend flymake's warning predicate to be a function (bug#14217).
7005 * progmodes/flymake.el (flymake-warning-predicate): New.
7006 (flymake-parse-line): Use it.
7007 (flymake-warning-re): Make obsolete alias to
7008 `flymake-warning-predicate'.
7009
a7d2d465
SM
70102013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7011
7012 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7013 (package-obsolete-list): Remove.
7014 (package-activate): Remove min-version argument. Add `force' argument.
7015 Adjust to new package-alist format.
7016 (package-mark-obsolete): Remove.
7017 (package-unpack): Force reload of the package's autoloads.
7018 (package-installed-p): Check builtins if the installed package is not
7019 recent enough.
7020 (package-initialize): Don't reset package-obsolete-list.
7021 Don't specify which package version to activate.
7022 (package-process-define-package, describe-package-1)
7023 (package-menu--generate): Adjust to new package-alist format.
7024
cedf5c9d
JB
70252013-06-21 Juanma Barranquero <lekktu@gmail.com>
7026
7027 * allout-widgets.el (allout-widgets-mode-off)
7028 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7029 (allout-widgets-post-command-business)
7030 (allout-widgets-after-copy-or-kill-function)
7031 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7032 (allout-decorate-item-and-context)
7033 (allout-graphics-modification-handler): Fix typos in docstrings.
7034 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7035
7036 * cmuscheme.el (scheme-start-file): Doc fix.
7037 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7038 (scheme-input-filter): Use `string-match-p'.
7039
7040 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7041
7042 * dired-x.el: Use Dired consistently in docstrings.
7043
7044 * dired.el: Use Dired consistently in docstrings.
7045 (dired-readin, dired-mode): Use `setq-local'.
7046 (dired-switches-alist): Make defvar-local.
7047 (dired-buffers-for-dir): Use `zerop'.
7048 (dired-safe-switches-p, dired-switches-escape-p)
7049 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7050 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7051 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7052 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7053 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7054 (dired-toggle-marks, dired-mark-files-containing-regexp)
7055 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7056 (dired-flag-auto-save-files, dired-flag-backup-files):
7057 Use `looking-at-p'.
7058 (dired-mark-files-regexp, dired-build-subdir-alist):
7059 Use `string-match-p', `looking-at-p'.
7060
7061 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7062 (direct-print-region-helper): Use `string-match-p'.
7063
aed838b5
LL
70642013-06-21 Leo Liu <sdl.web@gmail.com>
7065
cedf5c9d
JB
7066 * comint.el (comint-redirect-results-list-from-process):
7067 Fix infinite loop.
aed838b5 7068
d80a808f
LMI
70692013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7070
7071 * net/eww.el (eww-update-header-line-format): Quote % characters.
7072
e7a526e3
GM
70732013-06-21 Glenn Morris <rgm@gnu.org>
7074
7075 * play/cookie1.el (cookie): New custom group.
7076 (cookie-file): New option.
7077 (cookie-check-file): New function.
7078 (cookie): Make it interactive. Make start and end messages optional.
7079 Interactively, display the result. Default to cookie-file.
7080 (cookie-insert): Default to cookie-file.
7081 (cookie-snarf): Make start and end messages optional.
7082 Default to cookie-file. Use with-temp-buffer.
7083 (cookie-read): Rename from read-cookie.
7084 Make start and end messages optional. Default to cookie-file.
7085 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 7086 Do not autoload it.
e7a526e3
GM
7087 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7088 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7089
62efb35e
LL
70902013-06-21 Leo Liu <sdl.web@gmail.com>
7091
7092 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7093
21e3f963
GM
70942013-06-21 Glenn Morris <rgm@gnu.org>
7095
7096 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7097
fd846ab4
SM
70982013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7099 Daniel Hackney <dan@haxney.org>
7100
7101 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7102 Consolidate the single-file vs tarball code.
7103 (package-desc-suffix): New function.
7104 (package-desc-full-name): Don't bother inlining it.
7105 (package-load-descriptor): Return the new package-desc.
7106 (package-mark-obsolete): Remove unused arg `package'.
7107 (package-unpack): Make it work for single files as well.
7108 Make it update package-alist.
7109 (package--make-autoloads-and-stuff): Rename from
7110 package--make-autoloads-and-compile. Don't compile any more.
7111 (package--compile): New function.
7112 (package-generate-description-file): New function, extracted from
7113 package-unpack-single.
7114 (package-unpack-single): Remove.
7115 (package--with-work-buffer): Add indentation and debugging info.
7116 (package-download-single): Remove.
7117 (package-install-from-archive): Rename from package-download-tar, make
7118 it take a pkg-desc, and make it work for single files as well.
7119 (package-download-transaction): Simplify.
7120 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7121 external tar program.
7122 (package-install-from-buffer): Remove `pkg-desc' argument.
7123 Use package-tar-file-info for tar-mode buffers.
7124 (package-install-file): Simplify accordingly.
7125 (package-archive-base): Change to take a pkg-desc.
7126 * tar-mode.el (tar--check-descriptor): New function, extracted from
7127 tar-get-descriptor.
7128 (tar-get-descriptor): Use it.
7129 (tar-get-file-descriptor): New function.
7130 (tar--extract): New function, extracted from tar-extract.
7131 (tar--extract): Use it.
7132 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7133 case the summary uses non-ascii. Adjust to new calling convention of
7134 package-tar-file-info.
7135
b7deae5e
LL
71362013-06-21 Leo Liu <sdl.web@gmail.com>
7137
fd846ab4
SM
7138 * comint.el (comint-redirect-results-list-from-process):
7139 Fix random delay. (Bug#14681)
b7deae5e 7140
7a65a0b2
JB
71412013-06-21 Juanma Barranquero <lekktu@gmail.com>
7142
7143 * profiler.el (profiler-format-number): Use log, not log10.
7144
1493c2af
JB
71452013-06-20 Juanma Barranquero <lekktu@gmail.com>
7146
7147 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7148
aff6371e
SM
71492013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7150
7151 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7152 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7153 yet available.
7154 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7155 (AUTOGENEL): ... here.
7156 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7157 (cl--defsubst-expand): Use it.
7158
89561f72
PE
71592013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7160
7161 * subr.el (log10): Move here from C code, and declare as obsolete.
7162 All uses of (log10 X) replaced with (log X 10).
7163
47199123
JB
71642013-06-20 Juanma Barranquero <lekktu@gmail.com>
7165
7166 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7167 Declare with `defvar-local'.
7168 (tabulated-list-use-header-line, tabulated-list-entries)
7169 (tabulated-list-padding, tabulated-list-printer)
7170 (tabulated-list-sort-key): Declare with `defvar-local'.
7171 (tabulated-list-init-header, tabulated-list-print-fake-header):
7172 Use `setq-local'.
7173
4a172eab
MA
71742013-06-20 Michael Albinus <michael.albinus@gmx.de>
7175
47199123
JB
7176 * arc-mode.el (archive-mode): Add `archive-write-file' to
7177 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 7178
5fc0acc0
JB
71792013-06-20 Juanma Barranquero <lekktu@gmail.com>
7180
d5b27848
JB
7181 * cus-edit.el (custom-commands): Fix typos.
7182 (custom-display): Fix tooltip text.
7183 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7184 Fix typos in docstrings.
7185 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7186 (custom-unlispify-menu-entry, custom-magic-value-create)
7187 (custom-add-see-also, custom-group-value-create): Use ?\s.
7188 (custom-guess-type, customize-apropos, editable-field)
7189 (custom-face-value-create): Use `string-match-p'.
7190 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7191
7192 * custom.el (custom-load-symbol): Use `string-match-p'.
7193
a5c581d8
JB
7194 * ansi-color.el: Convert to lexical binding.
7195 (ansi-colors): Fix URL.
7196 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7197 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7198 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7199
970ad972
G
72002013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7201
7202 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7203
7204 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7205
72062013-06-19 Tom Tromey <tromey@redhat.com>
7207
7208 * net/eww.el (eww-top-url): Remove.
7209 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7210 (eww-render): Set new variables. Don't set eww-top-url.
7211 (eww-handle-link): Handle "prev", "home", and "contents".
7212 Downcase the rel text.
7213 (eww-top-url): Choose best top URL.
7214
72152013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7216
7217 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7218 relying in widget.el. Using widget.el leads to too many
7219 user interface inconsistencies.
7220 (eww-self-insert): Implement entering commands in text fields.
7221 (eww-process-text-input): New function to make text input field editing
7222 work.
7223 (eww-submit): Rewrite to use the new-style form methods.
7224 (eww-select-display): Display the correct selected item.
7225 (eww-change-select): Implement changing the select value.
7226 (eww-toggle-checkbox): Implement radio/checkboxes.
7227 (eww-update-field): Fix compilation error.
7228 (eww-tag-textarea): Implement <textarea>.
7229
7230 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7231 we don't shadow mode-specific bindings.
7232
7233 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7234 nothing to push.
7235
7236 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7237
4582a01c 72382013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
7239
7240 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7241
15b263dc
MA
72422013-06-19 Michael Albinus <michael.albinus@gmx.de>
7243
7244 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7245 not needed.
7246
7247 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7248
8f5297f7
LMI
72492013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7250
7251 * net/browse-url.el (browse-url-browser-function):
7252 `eww-browse-url' has the right calling signature, `eww' does not.
7253
011c4552
GM
72542013-06-19 Glenn Morris <rgm@gnu.org>
7255
2285bd27
GM
7256 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7257 Only eval autoloaded macros.
7258 (byte-compile-autoload): Only give the macro warning for macros.
7259
1d653303
GM
7260 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7261 (ps-underlined-faces): Declare.
7262
bdd779ec
GM
7263 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7264 (speedbar-add-supported-extension): Declare.
7265
011c4552
GM
7266 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7267 Don't include a date stamp in the header of the generated file;
7268 it leads to needless differences between output files.
7269
e59dfb0e
MA
72702013-06-19 Michael Albinus <michael.albinus@gmx.de>
7271
c763842b
SM
7272 * net/secrets.el (secrets-struct-secret-content-type):
7273 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 7274 Some servers do not offer introspection.
e59dfb0e 7275
102626e2
SM
72762013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7277
7278 * electric.el (electric-pair-mode): Improve interaction with
7279 electric-layout-mode.
7280 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7281 (electric-pair-syntax): Use text-mode-syntax-table in comments
7282 and strings.
7283 (electric-pair--insert): New function.
7284 (electric-pair-post-self-insert-function): Use it and
7285 electric--after-char-pos.
7286
ad528125
LL
72872013-06-19 Leo Liu <sdl.web@gmail.com>
7288
7289 * progmodes/octave.el (octave-help): Fix regexp.
7290
924d6997
G
72912013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7292
7293 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7294 (shr-table-horizontal-line): Allow nil as a value, and change the
7295 default.
7296 (shr-insert-table-ruler): Respect the nil value.
7297
72982013-06-18 Tom Tromey <tromey@barimba>
7299
7300 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7301 New defvars.
7302 (eww-open-file): New defun.
7303 (eww-render): Initialize new variables.
7304 (eww-display-html): Handle "link" and "a".
7305 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7306 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7307 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
7308 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7309 New defuns.
924d6997 7310
d1bbba4f
DG
73112013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7312
7313 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7314 Distinguish ternary operator tokens from slash symbol and slash
7315 char literal.
7316
14dd22d2
JB
73172013-06-18 Juanma Barranquero <lekktu@gmail.com>
7318
7319 Convert symbol prettification into minor mode and global minor mode.
7320
7321 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7322 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7323 (prettify-symbols--keywords): Rename from
7324 `prog-prettify-symbols-alist' and make a local defvar.
7325 (prettify-symbols--compose-symbol): Rename from
7326 `prog--prettify-font-lock-compose-symbol'.
7327 (prettify-symbols--make-keywords): Rename from
7328 `prog-prettify-font-lock-symbols-keywords' and simplify.
7329 (prog-prettify-install): Remove.
7330 (prettify-symbols-mode): New minor mode, based on
7331 `prog-prettify-install'.
7332 (turn-on-prettify-symbols-mode): New function.
7333 (global-prettify-symbols-mode): New globalized minor mode.
7334
7335 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7336 * progmodes/cfengine.el (cfengine3-mode):
7337 * progmodes/perl-mode.el (perl-mode): Don't call
7338 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7339
292c880c
JL
73402013-06-18 Juri Linkov <juri@jurta.org>
7341
7342 * files-x.el (modify-file-local-variable-message): New function.
7343 (modify-file-local-variable)
7344 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7345 and call `modify-file-local-variable-message' when it's non-nil.
7346 (add-file-local-variable, delete-file-local-variable)
7347 (add-file-local-variable-prop-line)
7348 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7349 and use it. (Bug#9820)
7350
0950aa27
JL
73512013-06-18 Juri Linkov <juri@jurta.org>
7352
7353 * emulation/vi.el (vi-shell-op):
7354 * emulation/vip.el (vip-execute-com, ex-command):
7355 * emulation/viper-cmd.el (viper-exec-bang):
7356 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7357 the call of `shell-command-on-region'. (Bug#14637)
7358
7359 * simple.el (shell-command-on-region): Doc fix.
7360
8fbcca16
SM
73612013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7362
7363 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7364 (bug#14633).
7365
dd7426ea
GM
73662013-06-18 Glenn Morris <rgm@gnu.org>
7367
4ba54f7d
GM
7368 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7369
dd7426ea
GM
7370 * newcomment.el (comment-search-forward, comment-search-backward):
7371 Doc fix. (Bug#14376)
7372
58aa805b
JB
73732013-06-18 Juanma Barranquero <lekktu@gmail.com>
7374
7375 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7376 (buffer-face-mode-invoke): Doc fix.
7377
9a08a617
MM
73782013-06-18 Matthias Meulien <orontee@gmail.com>
7379
7380 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 7381 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 7382
f2f426ca
GM
73832013-06-18 Glenn Morris <rgm@gnu.org>
7384
9445f99b
GM
7385 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7386 Replace obsolete function generic-make-keywords with its expansion.
7387
e0df2d14
GM
7388 * progmodes/python.el (ffap-alist): Declare.
7389
f2f426ca
GM
7390 * textmodes/reftex.el (bibtex-mode-map): Declare.
7391
f7f9a720
SM
73922013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7393
7394 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7395 (package-unpack, package-unpack-single): Return the pkg-dir.
7396 (package-download-transaction): Use it to update package-alist.
7397
57ff04e0
LMI
73982013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7399
7400 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7401 possible choice.
7402
c048c022
JL
74032013-06-17 Juri Linkov <juri@jurta.org>
7404
7405 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7406
b5bcaee5
DG
74072013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7408
a020afb9
JB
7409 * emacs-lisp/package.el (package-load-descriptor):
7410 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
7411 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7412
551e07e5
JB
74132013-06-17 Juanma Barranquero <lekktu@gmail.com>
7414
7415 * startup.el (command-line): Expand package name returned by
7416 `package--description-file' (bug#14639).
7417
d363bffb
DG
74182013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7419
7420 * emacs-lisp/package.el (package-load-descriptor): Do not call
7421 `emacs-lisp-mode', just use its syntax table.
7422
f612933b
JB
74232013-06-17 Juanma Barranquero <lekktu@gmail.com>
7424
7425 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7426 `font-lock-extra-managed-props' if any prettifying keyword is added.
7427 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7428 (prog-mode): Use `setq-local'.
7429
db3b7db5
SM
74302013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7431
7432 * international/characters.el (standard-case-table): Set syntax of ?»
7433 and ?« to punctuation.
7434
f3d674df
JB
74352013-06-16 Juanma Barranquero <lekktu@gmail.com>
7436
7437 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7438 Save relevant match data before calling `syntax-ppss' (bug#14595).
7439
31489a32
JL
74402013-06-15 Juri Linkov <juri@jurta.org>
7441
7442 * files-x.el (modify-file-local-variable-prop-line): Add local
7443 variables to the end of the existing comment on the first line.
7444 Use `file-auto-mode-skip' to skip interpreter magic line,
7445 and also skip XML declaration.
7446
66bd25ab
SM
74472013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7448
7449 * startup.el (package--builtin-versions): New var.
7450 (package-subdirectory-regexp): Remove.
7451 (package--description-file): Hard code its value instead.
7452
7453 * emacs-lisp/package.el: Don't activate packages older than builtin.
7454 (package-obsolete-list): Rename from package-obsolete-alist, and make
7455 it into a simple list of package-desc.
7456 (package-strip-version): Remove.
7457 (package-built-in-p): Use package--builtin-versions.
7458 (package-mark-obsolete): Simplify.
7459 (package-process-define-package): Mark it obsolete if older than the
7460 builtin version.
7461 (package-handle-response): Use line-end-position.
7462 (package-read-archive-contents, package--download-one-archive):
7463 Simplify.
7464 (package--add-to-archive-contents): Skip if older than the builtin or
7465 installed version.
7466 (package-menu-describe-package): Fix last change.
7467 (package-list-unversioned): New var.
7468 (package-menu--generate): Use it.
7469
7470 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7471 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7472 (autoload-builtin-package-versions): New variable.
7473 (autoload-generate-file-autoloads): Use them.
7474 Remove the list of autoloaded functions/macros from the
7475 (autoload...) comments.
7476
7477 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7478
9583ec36
EZ
74792013-06-15 Eli Zaretskii <eliz@gnu.org>
7480
7481 * simple.el (line-move-partial): Don't jump to the next screen
7482 line as soon as it becomes visible. Instead, continue enlarging
7483 the vscroll until the portion of a tall screen line that's left on
7484 display is about the height of the frame's default font.
7485 (Bug#14567)
7486
f0100d8a
GM
74872013-06-15 Glenn Morris <rgm@gnu.org>
7488
b86a85ca
GM
7489 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7490 compilation-error-regexp-alist void, or local while let-bound.
7491
f0100d8a
GM
7492 * progmodes/make-mode.el (makefile-mode-syntax-table):
7493 Treat "=" as punctuation. (Bug#14614)
7494
05e7ce90
JB
74952013-06-15 Juanma Barranquero <lekktu@gmail.com>
7496
7497 * help-fns.el (describe-variable):
7498 Add extra line for permanent-local variables.
7499
12e5e86e
SH
75002013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7501
7502 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7503 Add export, import, library. (Bug#9164)
7504 (library): Set indent function.
7505
230dcbaf
GM
75062013-06-14 Glenn Morris <rgm@gnu.org>
7507
7508 * term/xterm.el (xterm--query):
7509 Stop after first matching handler. (Bug#14615)
7510
e36b2d20 75112013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
7512
7513 Add support for dired in saveplace.
7514 * dired.el (dired-initial-position-hook): New variable.
7515 (dired-initial-position): Call hook to place cursor position.
7516 * saveplace.el (save-place-to-alist): Add dired position.
7517 (save-place-dired-hook): New function.
7518
0b31660d
SM
75192013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7520
bf1e6ae8
SM
7521 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7522 through a symbol rather than letrec.
7523
1b8dff23
SM
7524 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7525 (package-desc): Add `dir' field.
7526 (package-desc-full-name): New function.
7527 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7528 (package-maybe-load-descriptor): Remove.
7529 (package-load-all-descriptors): Just call package-load-descriptor.
7530 (package--disabled-p): New function.
7531 (package-desc-vers, package-desc-doc): Remove aliases.
7532 (package--dir): Remove function.
7533 (package-activate): Check if a package is disabled.
7534 (package-process-define-package): New function, extracted from
7535 define-package.
7536 (define-package): Turn into a place holder.
7537 (package-unpack-single, package-tar-file-info):
7538 Use package--description-file.
7539 (package-compute-transaction): Use package--disabled-p.
7540 (package-download-transaction): Don't call
7541 package-maybe-load-descriptor since they're all loaded anyway.
7542 (package-install): Change argument to be a pkg-desc.
7543 (package-delete): Use a single pkg-desc argument.
7544 (describe-package-1): Use package-desc-dir instead of package--dir.
7545 Use package-desc property instead of package-symbol.
7546 (package-install-button-action): Adjust accordingly.
7547 (package--push): Rewrite.
7548 (package-menu--print-info): Adjust accordingly. Change the ID format
7549 to be a pkg-desc.
7550 (package-menu-describe-package, package-menu-get-status)
7551 (package-menu--find-upgrades, package-menu-mark-upgrades)
7552 (package-menu-execute, package-menu--name-predicate):
7553 Adjust accordingly.
7554 * startup.el (package--description-file): New function.
7555 (command-line): Use it.
7556 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7557 Use package-desc-version.
7558
0b31660d
SM
7559 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7560 (byte-compile-preprocess): Use it.
7561 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7562 can't quite recognize.
7563 (byte-compile-add-to-list): Remove.
7564 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7565 (cconv-closure-convert): Add assertion.
7566
7567 * emacs-lisp/map-ynp.el: Use lexical-binding.
7568 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7569 Factor out some repeated code.
7570
de0503df
SM
75712013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7572
7573 * subr.el (with-eval-after-load): New macro.
7574 (eval-after-load): Allow form to be a function.
7575 take advantage of lexical-binding.
7576 (do-after-load-evaluation): Use dolist and adjust to new format.
7577 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7578
bc5c8c5a
JL
75792013-06-13 Juri Linkov <juri@jurta.org>
7580
7581 * replace.el (perform-replace): Display "symbol " and other search
7582 modes from `isearch-message-prefix' in the *Help* buffer.
7583
7584 * isearch.el (isearch-query-replace): Add " symbol" and other
7585 possible search modes from `isearch-message-prefix' to the prompt.
7586 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7587 when reading a regexp to collect.
7588
a22289f7
JL
75892013-06-13 Juri Linkov <juri@jurta.org>
7590
7591 * isearch.el (word-search-regexp): Match whitespace if the search
7592 string begins or ends in whitespace. The LAX arg is applied to
7593 both ends of the search string. Use `regexp-quote' and explicit
7594 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7595 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7596 boundaries are replaced with symbol boundaries, and characters
7597 between symbols match non-word non-symbol syntax. (Bug#14602)
7598
cb89acab
JL
75992013-06-13 Juri Linkov <juri@jurta.org>
7600
7601 * isearch.el (isearch-del-char): Don't exceed the length of
7602 `isearch-string' by the prefix arg. (Bug#14563)
7603
6e8cfc81
JL
76042013-06-13 Juri Linkov <juri@jurta.org>
7605
7606 * isearch.el (isearch-yank-word, isearch-yank-line)
7607 (isearch-char-by-name, isearch-quote-char)
7608 (isearch-printing-char, isearch-process-search-char):
7609 Add optional count prefix arg. (Bug#14563)
7610
7611 * international/isearch-x.el
7612 (isearch-process-search-multibyte-characters):
7613 Add optional count prefix arg.
7614
c23d55f4
VS
76152013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7616
7617 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7618 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7619 lexical-binding.
7620
76212013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7622
7623 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7624
ba947bc4
GM
76252013-06-13 Glenn Morris <rgm@gnu.org>
7626
8baeb37a
GM
7627 * startup.el (tty-handle-args):
7628 Don't just discard "--" and anything after. (Bug#14608)
7629
ba947bc4
GM
7630 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7631
9abefce4
MA
76322013-06-13 Michael Albinus <michael.albinus@gmx.de>
7633
7634 Implement changes in Secret Service API. Make it backward compatible.
7635 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7636 (secrets-create-item): Use it. Prefix properties with interface.
7637
5755011f
MH
76382013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7639
7640 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7641 (term-emulate-terminal): Respect term-suppress-hard-newline.
7642
1261d2da
S
76432013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7644
7645 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7646 Only remove a `thumb-file' overlay. (Bug#14548)
7647
868490bb
GJ
76482013-06-12 Grégoire Jadi <daimrod@gmail.com>
7649
7650 * mail/reporter.el (reporter-submit-bug-report):
7651 Handle missing package-name. (Bug#14600)
7652
79d7167f
TH
76532013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7654
7655 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7656 (reftex-citation-prompt, reftex-default-bibliography)
7657 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7658 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7659 (reftex-bib-sort-author, reftex-bib-sort-year)
7660 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7661 (reftex-extract-bib-entries-from-thebibliography)
7662 (reftex-get-bibkey-default, reftex-get-bib-names)
7663 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7664 (reftex-format-bib-entry, reftex-parse-bibitem)
7665 (reftex-format-bibitem, reftex-do-citation)
7666 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7667 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7668 (reftex-insert-bib-matches, reftex-format-citation)
7669 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7670 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7671 existing comments into docstrings.
7672
5f9dbd7a
XF
76732013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7674
7675 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7676
94df41ab
AS
76772013-06-12 Andreas Schwab <schwab@suse.de>
7678
7679 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7680 for auto-save files.
7681
a7f3fecc
GM
76822013-06-12 Glenn Morris <rgm@gnu.org>
7683
001809f6
GM
7684 * ido.el (ido-delete-ignored-files): Remove.
7685 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7686 Go back to calling ido-ignore-item-p directly.
a7f3fecc 7687
834b5ded
EL
76882013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7689
08c73ed2
EL
7690 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7691
834b5ded
EL
7692 * ido.el (ido-delete-ignored-files): New function,
7693 split from ido-make-file-list-1.
7694 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7695 (ido-make-file-list-1): Use ido-delete-ignored-files.
7696
daabf15a
LL
76972013-06-12 Leo Liu <sdl.web@gmail.com>
7698
7699 * progmodes/octave.el (inferior-octave-startup)
7700 (inferior-octave-completion-table)
7701 (inferior-octave-track-window-width-change)
7702 (octave-eldoc-function-signatures, octave-help)
7703 (octave-find-definition): Use single quoted strings.
7704 (inferior-octave-startup-args): Change default value.
7705 (inferior-octave-startup): Do not hard code "-i" and
7706 "--no-line-editing".
7707 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7708 (inferior-octave-directory-tracker): Use it.
7709 (octave-goto-function-definition): Robustify.
7710 (octave-help): Support highlighting operators in 'See also'.
7711 (octave-find-definition): Find subfunctions only in Octave mode.
7712
cf4e5178
SM
77132013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7714
7715 * help-fns.el (help-fns--compiler-macro): If the handler function is
7716 named, then put a link to it.
7717 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7718 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7719 (cl-typep): Use it.
7720 (cl-eval-when): Simplify debug spec.
7721 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7722 compiler-macro function instead of setting `compiler-macro-file'.
7723
99c81280 77242013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
7725
7726 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7727 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7728
f56be016
SM
77292013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7730 Daniel Hackney <dan@haxney.org>
7731
7732 First part of Daniel Hackney's patch to package.el.
7733 * emacs-lisp/package.el: Use defstruct.
7734 (package-desc): New, main struct.
7735 (package--bi-desc, package--ac-desc): New structs, used to describe the
7736 format in external files.
7737 (package-desc-vers): Replace with package-desc-version accessor.
7738 (package-desc-doc): Replace with package-desc-summary accessor.
7739 (package-activate-1): Remove `package' arg since the pkg-vec now
7740 includes the name.
7741 (define-package): Use package-desc-from-define.
7742 (package-unpack-single): Change file-name arg to be a symbol.
7743 (package--add-to-archive-contents): Use package-desc-create and new
7744 accessor functions to package--ac-desc.
7745 (package-buffer-info, package-tar-file-info): Return a package-desc.
7746 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7747 arg to be a package-desc.
7748 (package-install-file): Adjust accordingly. Use \' to match EOS.
7749 (package--from-builtin): New function.
7750 (describe-package-1, package-menu--generate): Use it.
7751 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7752 (package-generate-autoloads): Idem and return the name of the file.
7753 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7754 Change pkg-info arg to be a package-desc.
7755 Use package-make-ac-desc.
7756 (package-upload-file): Use \' to match EOS.
7757 * finder.el (finder-compile-keywords): Use package-make-builtin.
7758
31119d63
SM
77592013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7760
931a2762
SM
7761 * vc/vc.el (vc-deduce-fileset): Change error message.
7762 (vc-read-backend): New function.
7763 (vc-next-action): Use it.
7764
5a3eb0c6
SM
7765 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7766
e3eb1bb7
SM
7767 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7768 (prolog-font-lock-keywords): Use regexp-opt instead.
7769 Don't manually highlight strings.
7770 (prolog-mode-variables): Simplify comment-start-skip.
7771 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7772
31119d63
SM
7773 * emacs-lisp/generic.el (generic--normalise-comments)
7774 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7775 (generic-mode-set-comments): Use them.
7776 (generic-bracket-support): Use setq-local.
7777 (generic-make-keywords-list): Declare obsolete.
7778
7de135d0
GM
77792013-06-11 Glenn Morris <rgm@gnu.org>
7780
7781 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7782 Prettify after setting font-lock-defaults. (Bug#14574)
7783
fa6bc6fd
JB
77842013-06-11 Juanma Barranquero <lekktu@gmail.com>
7785
7786 * replace.el (query-replace, occur-read-regexp-defaults-function)
7787 (replace-search):
7788 * subr.el (declare-function, number-sequence, local-set-key)
7789 (substitute-key-definition, locate-user-emacs-file)
7790 (with-silent-modifications, split-string, eval-after-load):
7791 Fix typos, remove unneeded backslashes and reflow some docstrings.
7792
cf1f9b9a
SM
77932013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7794
7795 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7796 default for Elisp files.
7797
56602a4b
GM
77982013-06-11 Glenn Morris <rgm@gnu.org>
7799
7800 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7801 although define-derived-mode was doing this anyway. (Bug#14583)
7802
30ae0b2c
JB
78032013-06-10 Juanma Barranquero <lekktu@gmail.com>
7804
7805 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7806 Fix make-variable-buffer-local call to refer to the correct variable.
7807
fa472906
AG
78082013-06-10 Aidan Gauland <aidalgol@amuri.net>
7809
7810 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
7811 (eshell-visual-subcommands, eshell-visual-options):
7812 Add summary line to docstrings. Add cross-references.
fa472906 7813
ff4871b9
GM
78142013-06-10 Glenn Morris <rgm@gnu.org>
7815
7816 * epa.el (epa-read-file-name): New function. (Bug#14510)
7817 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7818
04fcf1b0
AG
78192013-06-09 Aidan Gauland <aidalgol@amuri.net>
7820
7821 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7822 output redirection to be ignored with visual commands.
7823
88b00caa
AG
78242013-06-09 Aidan Gauland <aidalgol@amuri.net>
7825
7826 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
7827 (eshell-term-initialize): Move long lambda to separate function
7828 eshell-visual-command-p.
e7b41c4c
JB
7829 * eshell/em-dirs.el (eshell-dirs-initialise):
7830 * eshell/em-script.el (eshell-script-initialize):
7831 Add missing #' to lambda.
88b00caa 7832
fda74125
LL
78332013-06-08 Leo Liu <sdl.web@gmail.com>
7834
7835 * progmodes/octave.el (octave-add-log-current-defun): New function.
7836 (octave-mode): Set add-log-current-defun-function.
7837 (octave-goto-function-definition): Do not move point if not found.
7838 (octave-find-definition): Enhance to try subfunctions first.
7839
467f3b33
GM
78402013-06-08 Glenn Morris <rgm@gnu.org>
7841
7842 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7843 (byte-compile-backward-char, byte-compile-backward-word):
7844 Improve previous change, to handle non-explicit nil.
7845
544badc3
SM
78462013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7847
7848 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7849 (smie--opener/closer-at-point): New function.
7850 (smie--matching-block-data): Use it. Don't match from right after an
7851 opener or right before a closer. Obey smie-blink-matching-inners.
7852 Don't signal a mismatch for repeated inners like "switch..case..case".
7853
a175bf33
LL
78542013-06-07 Leo Liu <sdl.web@gmail.com>
7855
7856 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7857 to t. (Bug#14303)
ce8209d4
LL
7858 (octave-function-header-regexp): Fix. (Bug#14570)
7859 (octave-help-mode-finish-hook, octave-help-mode-finish):
7860 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
7861
7862 * newcomment.el (comment-search-backward): Revert last change.
7863 (Bug#14434)
7864
7865 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7866
a822acff
EZ
78672013-06-07 Eli Zaretskii <eliz@gnu.org>
7868
7869 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7870 through xargs, to avoid failure due to MS-Windows limitations on
7871 command-line length.
7872
961166f5
GM
78732013-06-06 Glenn Morris <rgm@gnu.org>
7874
d0341459
GM
7875 * font-lock.el (lisp-font-lock-keywords-2):
7876 Treat user-error like error.
7877
961166f5
GM
7878 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7879 (byte-compile-backward-char, byte-compile-backward-word):
7880 Handle explicit nil arguments. (Bug#14565)
7881
80fa505f
AM
78822013-06-05 Alan Mackenzie <acm@muc.de>
7883
7884 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 7885 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 7886 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 7887 (Bug#9706)
80fa505f 7888
fccdc796
SM
78892013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7890
7891 * autorevert.el (auto-revert-notify-handler): Use memq.
7892 Hide assertion failure.
7893
7894 * skeleton.el: Use cl-lib.
7895 (skeleton-further-elements): Use defvar-local.
7896 (skeleton-insert): Use cl-progv.
7897
9bfff84b
TZ
78982013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7899
7900 * progmodes/prog-mode.el (prog-prettify-symbols)
7901 (prog-prettify-install): Update docstrings.
7902
55577e7c
SM
79032013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7904
7905 * simple.el: Move all the prog-mode code to prog-mode.el.
7906 * progmodes/prog-mode.el: New file.
7907 * loadup.el: Add prog-mode.el.
7908
8fc57765
TZ
79092013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7910
7911 * simple.el (prog-prettify-symbols): Add version.
7912 (prog-prettify-install): Add convenience function to prettify symbols.
7913
7914 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7915 (perl--augmented-font-lock-keywords-1)
7916 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7917 variables and use it.
7918
7919 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7920 (cfengine3-mode): Remove unneeded variable and use it.
7921
7922 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7923 (lisp--augmented-font-lock-keywords-1)
7924 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7925 Remove unneeded variables and use it.
7926
650645d5 79272013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
7928
7929 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 7930 to point when opening the connection. (Bug#14380)
28f5da6d 7931
781b4af6
SM
79322013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7933
7934 * subr.el (load-history-regexp, load-history-filename-element)
7935 (eval-after-load, after-load-functions, do-after-load-evaluation)
7936 (eval-next-after-load, display-delayed-warnings)
7937 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7938 definition of save-match-data.
7939 (overriding-local-map): Remove accidental obsolescence declaration.
7940
7941 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7942
3ca0d0b4
TZ
79432013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7944
7945 Generalize symbol prettify support to prog-mode and implement it
7946 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7947 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7948 (prog--prettify-font-lock-compose-symbol)
7949 (prog-prettify-font-lock-symbols-keywords): New variables and
7950 functions to support symbol prettification.
7951 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7952 (lisp--augmented-font-lock-keywords-1)
7953 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7954 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7955 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
7956 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7957 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
7958 * progmodes/perl-mode.el (perl-prettify-symbols)
7959 (perl--font-lock-compose-symbol)
7960 (perl--font-lock-symbols-keywords): Move to prog-mode.
7961 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7962 (perl-font-lock-keywords-1)
7963 (perl-font-lock-keywords-2): Remove explicit prettify support.
7964 (perl--augmented-font-lock-keywords)
7965 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
7966 (perl--augmented-font-lock-keywords-2, perl-mode):
7967 Implement prettify support.
3ca0d0b4 7968
976cb066
LL
79692013-06-05 Leo Liu <sdl.web@gmail.com>
7970
7971 Re-implement smie matching block highlight using
7972 show-paren-data-function. (Bug#14395)
7973 * emacs-lisp/smie.el (smie-matching-block-highlight)
7974 (smie--highlight-matching-block-overlay)
7975 (smie--highlight-matching-block-lastpos)
7976 (smie-highlight-matching-block)
7977 (smie-highlight-matching-block-mode): Remove.
7978 (smie--matching-block-data-cache): New variable.
7979 (smie--matching-block-data): New function.
7980 (smie-setup): Use smie--matching-block-data for
7981 show-paren-data-function.
7982
7983 * progmodes/octave.el (octave-mode-menu): Fix.
7984 (octave-find-definition): Skip garbage lines.
7985
208d0342
SM
79862013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7987
7988 Fix compilation error with simultaneous dynamic+lexical scoping.
7989 Add warning when a defvar appears after the first let-binding.
7990 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7991 (byte-compile-close-variables): Initialize it.
7992 (byte-compile--declare-var): New function.
7993 (byte-compile-file-form-defvar)
7994 (byte-compile-file-form-define-abbrev-table)
7995 (byte-compile-file-form-custom-declare-variable): Use it.
7996 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7997 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7998 (byte-compile-bind): Handle dynamic bindings that shadow
7999 lexical bindings.
8000 (byte-compile-unbind): Make arg non-optional.
8001 (byte-compile-let): Simplify.
8002 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8003 (cconv--analyse-function, cconv-analyse-form): Populate it.
8004 Protect byte-compile-bound-variables to limit the scope of defvars.
8005 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8006 Remove unneeded rule for `declare'.
8007
8008 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8009 so as to avoid depending on cl-adjoin at run-time.
8010 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8011
8012 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8013 (macroexp--warn-and-return): Use it.
8014
1ac2891e
GM
80152013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8016
8017 * lisp/subr.el: Convert to lexical binding.
8018 (overriding-local-map): Make obsolete.
8019 (add-to-list): Doc fix. Add compiler macro.
8020 (read-key): Swap values of local maps.
8021
2587b005
LL
80222013-06-05 Leo Liu <sdl.web@gmail.com>
8023
8024 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8025
f1da3c88
LL
80262013-06-04 Leo Liu <sdl.web@gmail.com>
8027
8028 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8029 (compilation-auto-jump): Suppress the "Mark set" message to give
8030 way to exit message.
8031
3caa391f
AM
80322013-06-04 Alan Mackenzie <acm@muc.de>
8033
8034 Remove faulty optimisation from indentation calculation.
8035 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8036 search limit based on 2000 characters back from indent-point.
8037
068922a2
TH
80382013-06-03 Tassilo Horn <tsdh@gnu.org>
8039
8040 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8041
1f8fdd53
SM
80422013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8043
bbcc4d97
SM
8044 * emacs-lisp/lisp.el: Use lexical-binding.
8045 (lisp--local-variables-1, lisp--local-variables): New functions.
8046 (lisp--local-variables-completion-table): New var.
208d0342 8047 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8048
1f8fdd53
SM
8049 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8050 eagerly (bug#14422).
8051
c9628c79
MA
80522013-06-03 Michael Albinus <michael.albinus@gmx.de>
8053
8054 * autorevert.el (auto-revert-notify-enabled)
8055 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8056 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8057 (auto-revert-notify-handler): Handle also gfilenotify.
8058
e7b41c4c 8059 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 8060 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 8061 Remove.
c9628c79 8062
e5e4a942
JL
80632013-06-03 Juri Linkov <juri@jurta.org>
8064
8065 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8066 `M-s h .'. (Bug#14427)
8067
8068 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8069 command `hi-lock-face-symbol-at-point'.
8070 (hi-lock-face-symbol-at-point): New command.
8071 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8072 (hi-lock-menu): Add `highlight-symbol-at-point'.
8073 (hi-lock-mode): Doc fix.
8074
8075 * isearch.el (isearch-forward-symbol-at-point): New command.
8076 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8077 (isearch-highlight-regexp): Add a regexp which matches
8078 words/symbols for word/symbol mode.
8079
8080 * subr.el (find-tag-default-bounds): New function with the body
8081 mostly moved from `find-tag-default'.
8082 (find-tag-default): Move most code to `find-tag-default-bounds',
8083 call it and apply `buffer-substring-no-properties' afterwards.
8084
26b3353a
TH
80852013-06-03 Tassilo Horn <tsdh@gnu.org>
8086
781b4af6
SM
8087 * eshell/em-term.el (eshell-term-initialize):
8088 Use `cl-intersection' rather than `intersection'.
26b3353a 8089
51b60f53
XF
80902013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8091
fe054b63 8092 * vc/log-view.el: Doc fix.
d3ffe17c 8093 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 8094
a0eb10b3 80952013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
8096
8097 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8098 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8099 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8100 (eieio-unbound, eieio-default-superclass)
8101 (eieio--define-field-accessors, method-static, method-before)
8102 (method-primary, method-after, method-num-lists)
8103 (method-generic-before, method-generic-primary)
8104 (method-generic-after, method-num-slots)
8105 (eieio-specialized-key-to-generic-key)
8106 (eieio--check-type, class-v, class-p)
8107 (eieio-class-name, define-obsolete-function-alias)
8108 (eieio-class-parents-fast, eieio-class-children-fast)
8109 (same-class-fast-p, class-constructor, generic-p)
8110 (generic-primary-only-p, generic-primary-only-one-p)
8111 (class-option-assoc, class-option, eieio-object-p)
8112 (class-abstract-p, class-method-invocation-order)
8113 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8114 (eieio-class-un-autoload, eieio-defclass)
8115 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8116 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8117 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8118 (eieio-defgeneric-reset-generic-form)
8119 (eieio-defgeneric-form-primary-only)
8120 (eieio-defgeneric-reset-generic-form-primary-only)
8121 (eieio-defgeneric-form-primary-only-one)
8122 (eieio-defgeneric-reset-generic-form-primary-only-one)
8123 (eieio-unbind-method-implementations)
8124 (eieio--defmethod, eieio--typep)
8125 (eieio-perform-slot-validation, eieio-validate-slot-value)
8126 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8127 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8128 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8129 (eieio-slot-name-index, eieio-class-slot-name-index)
8130 (eieio-set-defaults, eieio-initarg-to-attribute)
8131 (eieio-attribute-to-initarg, eieio-c3-candidate)
8132 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8133 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8134 (eieio-class-precedence-list, eieio-generic-call-methodname)
8135 (eieio-generic-call-arglst, eieio-generic-call-key)
8136 (eieio-generic-call-next-method-list)
8137 (eieio-pre-method-execution-functions, eieio-generic-call)
8138 (eieio-generic-call-primary-only, eieiomt-method-list)
8139 (eieiomt-optimizing-obarray, eieiomt-install)
8140 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8141 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 8142 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
8143 (defclass): Remove `eval-and-compile' from macro.
8144 (call-next-method, shared-initialize): Instead of using
8145 `scoped-class' variable, use new eieio--scoped-class, and
8146 eieio--with-scoped-class.
8147 (initialize-instance): Rename local variable 'scoped-class' to
8148 'this-class' to remove ambiguitity from old global.
8149
8150 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8151 eieio.el.
4f405069
JB
8152 (eieio--scoped-class-stack): New variable.
8153 (eieio--scoped-class): New fcn.
890f7890
DE
8154 (eieio--with-scoped-class): New scoping macro.
8155 (eieio-defclass): Use pushnew instead of add-to-list.
8156 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8157 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8158 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8159 `scoped-class' variable, use new eieio--scoped-class, and
8160 eieio--with-scoped-class.
8161
8162 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8163
d105b0e2
TH
81642013-06-02 Tassilo Horn <tsdh@gnu.org>
8165
8166 * eshell/esh-ext.el (eshell-external-command): Pass args to
8167 `eshell-find-interpreter'.
8168 (eshell-find-interpreter): Add new second parameter ARGS.
8169
8170 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 8171 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8172
8173 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 8174 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8175
8176 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8177 (eshell-visual-options): New defcustom.
8178 (eshell-escape-control-x): Adapt docstring.
8179 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8180 `eshell-visual-options' in addition to `eshell-visual-commands'.
8181 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8182
f46305c8 81832013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
8184
8185 * progmodes/python.el (python-indent-block-enders): Add break,
8186 continue and raise keywords.
8187
d870df21
GM
81882013-06-01 Glenn Morris <rgm@gnu.org>
8189
9133b82e
GM
8190 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8191
02c992ec 8192 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
8193 * progmodes/cc-cmds.el (delete-forward-p):
8194 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8195 * progmodes/cc-engine.el (buffer-syntactic-context):
8196 * progmodes/cc-fonts.el (face-property-instance):
8197 * progmodes/cc-mode.el (set-keymap-parents):
8198 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8199 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8200 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
8201 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8202 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 8203
31e7b090
GM
8204 * progmodes/cc-vars.el (other): Emacs has this widget since
8205 at least 21.1, so don't (re)define it.
8206
d870df21
GM
8207 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8208 Replace the obsolete alias pcomplete-arg-quote-list.
8209
c75c93c7
LL
82102013-06-01 Leo Liu <sdl.web@gmail.com>
8211
8212 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8213 punctuation syntax.
8214 (inferior-octave-minimal-columns)
8215 (inferior-octave-last-column-width): New variables.
8216 (inferior-octave-track-window-width-change): New function.
8217 (inferior-octave-mode): Adjust column width so that Octave output,
8218 for example from 'ls', can fit into the window nicely.
8219
973d1e12
DG
82202013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8221
8222 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8223 Highlight expansions inside regexp literals.
8224
0888c286
GM
82252013-05-31 Glenn Morris <rgm@gnu.org>
8226
e26aac1f
GM
8227 * obsolete/sym-comp.el (symbol-complete):
8228 Replace obsolete completion-annotate-function.
8229
0888c286
GM
8230 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8231
19bb8e62
DG
82322013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8233
781b4af6
SM
8234 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8235 New function, checks if point is inside a literal that allows
19bb8e62
DG
8236 expression expansion.
8237 (ruby-syntax-propertize-expansion): Use it.
8238 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8239 around the body.
8240
01dea85f
JL
82412013-05-30 Juri Linkov <juri@jurta.org>
8242
8243 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8244 to "\M-si".
8245 (isearch-invisible): New variable.
8246 (isearch-forward): Doc fix.
8247 (isearch-mode): Set `isearch-invisible'
8248 to the value of `search-invisible'.
8249 (isearch-toggle-case-fold): Doc fix.
8250 (isearch-toggle-invisible): New command.
8251 (isearch-query-replace): Let-bind `search-invisible'
8252 to the value of `isearch-invisible'.
8253 (isearch-search): Use `isearch-invisible' instead of
8254 `search-invisible'. Let-bind `search-invisible'
8255 to the value of `isearch-invisible'. (Bug#11378)
8256
ab1bdce5
JL
82572013-05-30 Juri Linkov <juri@jurta.org>
8258
8259 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8260 call when `query-flag' is nil and `search-invisible' is non-nil.
8261 (Bug#11746)
8262
d6d236e2
GM
82632013-05-30 Glenn Morris <rgm@gnu.org>
8264
8accd027
GM
8265 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8266
2a8bed1c
GM
8267 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8268 (cc-require): Suppress spurious "noruntime" warnings.
8269 (cc-require-when-compile): Use fboundp, for sake of compiler.
8270
d6d236e2
GM
8271 * progmodes/cc-mode.el: Move load of cc-vars before that of
8272 cc-langs (which in turn loads cc-vars), to quieten compiler.
8273
9190b35b
SM
82742013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8275
8276 * paren.el: Simplify the code.
8277 (show-paren-mode): Always start the timer.
8278 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8279 (show-paren--overlay, show-paren--overlay-1): Rename from
8280 show-paren-overlay and show-paren-overlay-1, and initialize to an
8281 overlay rather than to nil.
8282 (show-paren-function): Misc cleanup and simplifications.
8283
4f8d1cf6
SM
82842013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8285
8286 * paren.el (show-paren-data-function): New hook.
8287 (show-paren--default): New function, extracted from show-paren-function.
8288 (show-paren-function): Use show-paren-data-function.
8289
02d844b5
GM
82902013-05-30 Glenn Morris <rgm@gnu.org>
8291
d209d4a9
GM
8292 * ielm.el (ielm-map, ielm-complete-symbol):
8293 Use completion-at-point rather than obsolete functions.
8294 (inferior-emacs-lisp-mode): Doc fix.
8295 Set completion-at-point-functions, rather than
8296 comint-dynamic-complete-functions.
8297
2082faa6
GM
8298 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8299 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8300 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8301
dd8620de
GM
8302 * image.el (image-animated-p): Tweak definition.
8303
ceca95b1
GM
8304 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8305 (rlogin-process-connection-type): Tweak default. Add set-after.
8306 (rlogin-host): Doc fix.
8307 (rlogin): Tweak prompt.
8308 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8309
ee9f1acc
GM
8310 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8311 * progmodes/tcl.el (inferior-tcl-mode-map):
8312 Use completion-at-point rather than obsolete alias.
8313
45ce222e
GM
8314 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8315
02d844b5
GM
8316 * minibuffer.el (read-file-name-completion-ignore-case):
8317 Move before completion--in-region, for eager macro expansion.
8318
ac44d6c1
JL
83192013-05-29 Juri Linkov <juri@jurta.org>
8320
8321 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8322 for total count of matching lines. Add `global-matches' for total
8323 count of matches. Rename `matches' to `lines' for count of
8324 matching lines. Add `matches' for count of matches.
8325 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8326 to `prev-line' for line number of prev match endpt.
8327 Increment `matches' for every match. Print the number of
8328 matching lines in the header.
8329 (occur-context-lines): Rename `lines' to `curr-line'.
8330 Rename `prev-lines' to `prev-line'. (Bug#14017)
8331
3c9c9d38
JL
83322013-05-29 Juri Linkov <juri@jurta.org>
8333
8334 * replace.el (perform-replace): Add `skip-read-only-count',
8335 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8336 Increment them for corresponding conditions and report the number
8337 of skipped occurrences in the final message. (Bug#11746)
8338 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8339 (replace-string, replace-regexp): Doc fix.
8340
33e249a2
SM
83412013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8342
8e399682
SM
8343 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8344
33e249a2 8345 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 8346 prog-mode-map (bug#14504).
33e249a2 8347
f236dd84
LL
83482013-05-29 Leo Liu <sdl.web@gmail.com>
8349
8350 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8351 (octave-help): Small simplification.
8352
8353 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8354 off the highlight first.
8355
3694d13f
GM
83562013-05-29 Glenn Morris <rgm@gnu.org>
8357
03983bdc
GM
8358 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8359 Handle idlwave-last-system-routine-info-cons-cell being nil.
8360
bc74a74a
GM
8361 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8362 (idlwave-write-paths): Simplify via with-temp-buffer.
8363
8b394200
GM
8364 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8365 * emulation/cua-rect.el: Also load cua-base at run time.
8366
3694d13f
GM
8367 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8368 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8369 (cperl-imenu-on-info): Require imenu.
8370
336d7284
AM
83712013-05-28 Alan Mackenzie <acm@muc.de>
8372
8373 Handle "capitalised keywords" correctly.
33e249a2 8374 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 8375
cb29c582
AG
83762013-05-28 Aidan Gauland <aidalgol@amuri.net>
8377
781b4af6 8378 * eshell/em-unix.el: Add -r option to cp.
cb29c582 8379
690e44b2
GM
83802013-05-28 Glenn Morris <rgm@gnu.org>
8381
e658d75c
GM
8382 * vc/vc-arch.el (vc-exec-after): Declare.
8383 (vc-switches): Autoload.
8384 * vc/vc-bzr.el: No need to require vc when compiling.
8385 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8386 (vc-resynch-buffer, vc-dir-refresh): Declare.
8387 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
8388 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8389 (vc-resynch-buffer): Declare.
8390 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 8391 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
8392 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8393 (grep-read-regexp, grep-read-files, grep-expand-template)
8394 (vc-dir-refresh): Declare.
8395 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8396 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8397 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
8398 * vc/vc-mtn.el (vc-exec-after): Declare.
8399 (vc-switches): Autoload.
8400 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8401 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8402 (vc-file-tree-walk): Declare.
712b9732
GM
8403 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8404 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8405 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
8406 * vc/vc-svn.el (vc-exec-after): Declare.
8407 (vc-switches, vc-setup-buffer): Autoload.
8408 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8409 Autoload.
8410 (vc-resynch-buffer): Declare.
8411
98e87fb3
GM
8412 * obsolete/fast-lock.el (byte-compile-warnings):
8413 Don't warn about obsolete features in this obsolete file.
8414
f5379553
GM
8415 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8416 Move definition before use.
8417
7a20ef83
GM
8418 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8419 (dun-unix-verbs): Remove dun-zippy.
8420 (dun-zippy): Remove function.
8421
690e44b2
GM
8422 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8423
3a52ccf7
JL
84242013-05-27 Juri Linkov <juri@jurta.org>
8425
8426 * replace.el (replace-search): New function with code moved out
8427 from `perform-replace'.
8428 (replace-highlight, replace-dehighlight): Move function definitions
8429 up closer to `replace-search'. (Bug#11746)
8430
d289938a
JL
84312013-05-27 Juri Linkov <juri@jurta.org>
8432
8433 * replace.el (perform-replace): Ignore invisible matches.
8434 In addition to checking `query-replace-skip-read-only', also
8435 filter out matches by calling `run-hook-with-args-until-failure'
8436 on `isearch-filter-predicates', and also check `search-invisible'
8437 for t or call `isearch-range-invisible'.
8438 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8439
66fc57e3
JL
84402013-05-27 Juri Linkov <juri@jurta.org>
8441
8442 * isearch.el (isearch-filter-predicates): Rename from
8443 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8444 (isearch-message-prefix): Display text from the property
8445 `isearch-message-prefix' of the currently active filters.
8446 (isearch-search): Don't compare `isearch-filter-predicate' with
8447 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8448 on `isearch-filter-predicates'. Also check `search-invisible' for t
8449 or call `isearch-range-invisible'.
8450 (isearch-filter-visible): Make obsolete.
8451 (isearch-lazy-highlight-search):
8452 Call `run-hook-with-args-until-failure' on
8453 `isearch-filter-predicates' and use `isearch-range-invisible'.
8454
8455 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8456 `isearch-filter-predicates' instead of `funcall'ing
8457 `isearch-filter-predicate'.
8458 (Info-mode): Set `Info-isearch-filter' to
8459 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8460
8461 * dired-aux.el (dired-isearch-filter-predicate-orig):
8462 Remove variable.
8463 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8464 (dired-isearch-filenames-end): Add and remove
8465 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8466 instead of changing the value of `isearch-filter-predicate'.
8467 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8468 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8469 Put property `isearch-message-prefix' to "filename " on
8470 `dired-isearch-filter-filenames'.
8471
8472 * wdired.el (wdired-change-to-wdired-mode):
8473 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8474 locally instead of changing `isearch-filter-predicate'.
8475 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8476
f1a60a0f
DG
84772013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8478
8479 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8480 return the commit hash (Bug#14459). Also set the
8481 `vc-git-detached' property.
8482 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8483 (vc-git-mode-line-string): Use the same help-echo format whether
8484 in detached mode or not, because we know the actual revision now.
8485 When in detached mode, shorten the revision to 7 chars.
8486
7f17cc40
SM
84872013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8488
8489 * emacs-lisp/easy-mmode.el (define-minor-mode):
8490 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8491 mode hook and provide a docstring.
8492
25c8401c
AM
84932013-05-27 Alan Mackenzie <acm@muc.de>
8494
8495 Remove spurious syntax-table text properties inserted by C-y.
8496 * progmodes/cc-mode.el (c-after-change): Also clear hard
8497 syntax-table property with value nil.
8498
dde84790
MA
84992013-05-27 Michael Albinus <michael.albinus@gmx.de>
8500
8501 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8502 when reading the events; the buffer layout shall not be changed.
8503
837fd9af
LL
85042013-05-27 Leo Liu <sdl.web@gmail.com>
8505
8506 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8507 New variable.
8508 (inferior-octave-directory-tracker): Automatically re-sync
8509 default-directory.
8510 (octave-help): Improve handling of 'See also'.
8511
4fd996b3
SM
85122013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8513
416f1802
SM
8514 * doc-view.el: Minor naming convention tweaks.
8515 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8516
4fd996b3
SM
8517 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8518 even if there's no `display' property yet (bug#14435).
8519
a052ef3b
EZ
85202013-05-25 Eli Zaretskii <eliz@gnu.org>
8521
4fd996b3 8522 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
8523
8524 * Makefile.in (custom-deps, finder-data, autoloads)
8525 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8526 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8527 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8528
c9023370
SM
85292013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8530
8531 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8532 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 8533 Don't burp at EOB.
c9023370 8534
24d699fa
LL
85352013-05-25 Leo Liu <sdl.web@gmail.com>
8536
8537 * comint.el (comint-previous-matching-input): Do not flood the
8538 *Messages* buffer with trivial messages.
8539
17e5c0cc
SM
85402013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8541
8542 * progmodes/flymake.el (flymake-nop): Don't return a string.
8543 (flymake-set-at): Fix typo.
8544
8545 * simple.el (read--expression): New function, extracted from
8546 eval-expression. Set completion-at-point-functions (bug#14465).
8547 (eval-expression, eval-minibuffer): Use it.
8548
5d028165
XF
85492013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8550
8551 * progmodes/flymake.el (flymake-save-buffer-in-file)
8552 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8553 (flymake-selected-frame, flymake-log, flymake-ins-after)
8554 (flymake-set-at, flymake-get-buildfile-from-cache)
8555 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8556 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8557 Refine the doc string.
8558 (flymake-get-file-name-mode-and-masks): Reformat.
8559 (flymake-get-real-file-name-function): Fix a minor bug.
8560
7a1d7ba7
JL
85612013-05-24 Juri Linkov <juri@jurta.org>
8562
8563 * progmodes/grep.el (grep-mode-font-lock-keywords):
8564 Support =linenumber= format used by git-grep for lines with
8565 function names. (Bug#13549)
8566
650cff3d
SM
85672013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8568
8569 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8570 0 after a semi-colon; it works better for smie-auto-fill.
8571 (octave--indent-new-comment-line): New function.
8572 (octave-indent-new-comment-line): Use it (indirectly).
8573 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8574 modify comment-line-break-function.
8575
8576 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8577 (smie-setup): Use add-function to set it.
8578
9631677d
SS
85792013-05-24 Sam Steingold <sds@gnu.org>
8580
8581 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8582 argument (before the `interactive' argument).
8583
50105835
SM
85842013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8585
8586 * image-mode.el (image-mode-winprops): Add winprops to
8587 image-mode-winprops-alist before running
8588 image-mode-new-window-functions.
8589 * doc-view.el (doc-view-new-window-function): Don't delay
8590 doc-view-goto-page via timers (bug#14435).
8591
57b9823e
TH
85922013-05-24 Tassilo Horn <tsdh@gnu.org>
8593
8594 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8595 (doc-view-desktop-save-buffer): New function.
8596 (doc-view-restore-desktop-buffer): New function.
50105835
SM
8597 (desktop-buffer-mode-handlers):
8598 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
8599 handler.
8600 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8601 `desktop-save-buffer' function.
8602
91aafa16
MA
86032013-05-24 Michael Albinus <michael.albinus@gmx.de>
8604
8605 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8606 (tramp-gvfs-file-name-handler): Raise a user error when
8607 `tramp-gvfs-enabled' is nil.
8608 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8609 Do not raise a user error when loading package. (Bug#14447)
8610
ec076379
MA
8611 * net/xesam.el: Move to obsolete/.
8612
db785726
GM
86132013-05-24 Glenn Morris <rgm@gnu.org>
8614
af5c7606
GM
8615 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8616
e5d1916a
GM
8617 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8618
ded62b08
GM
8619 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8620 (Info-find-node, Man-getpage-in-background): Declare.
8621
9e614a3f
GM
8622 * mail/unrmail.el (unrmail):
8623 Replace obsolete detect-coding-with-priority.
8624
892f8ca3
GM
8625 * net/socks.el (socks-split-string): Use this rather than split-string.
8626 (socks-nslookup-host): Update for above change.
8627 (dynamic-choice, s5-dynamic-choice-match)
8628 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8629 Comment out unused code.
8630
3c291973
GM
8631 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8632 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8633 (gud-tooltip-echo-area): Make obsolete.
8634 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8635
43cc956b
GM
8636 * progmodes/js.el (js--optimize-arglist): Declare.
8637
dab49a3b
GM
8638 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8639
36b9d085
GM
8640 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8641 (ediff-window-C): Declare.
8642
e354ae76
GM
8643 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8644 Tweak requires to silence compiler.
8645
b8e57bf4
GM
8646 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8647 (he-search-string, he-tried-table, he-expand-list)
8648 (he-init-string, he-string-member, he-substitute-string)
8649 (he-reset-string): Declare.
8650
db785726
GM
8651 * obsolete/options.el (list-options): Use custom-variable-p,
8652 rather than obsolete alias.
8653
b3531901
SS
86542013-05-23 Sam Steingold <sds@gnu.org>
8655
8656 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 8657 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
8658 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8659
bdda4c66
SM
86602013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8661
8662 * emacs-lisp/smie.el (smie-indent-forward-token)
8663 (smie-indent-backward-token): Handle string tokens (bug#14381).
8664
c43d45f9
TH
86652013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8666
fe1eb856
RS
8667 * ielm.el (ielm-menu): New menu.
8668 (inferior-emacs-lisp-mode): Set comment-start.
96172128 8669
fe1eb856
RS
86702013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8671
8672 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8673 Fix deactivate action.
8674
8675 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8676 Add cleveref macros.
074dd971 8677
c43d45f9
TH
8678 * lisp/textmodes/reftex-parse.el
8679 (reftex-locate-bibliography-files): Accept options for
8680 bibliography commands.
8681 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8682 Add addbibresource. Basic Biblatex support.
8683
7764286e
MA
86842013-05-23 Michael Albinus <michael.albinus@gmx.de>
8685
8686 * net/tramp-gvfs.el (top):
8687 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8688 when loading package. (Bug#14447)
8689
d361bc10
GM
86902013-05-23 Glenn Morris <rgm@gnu.org>
8691
8fa23984
GM
8692 * progmodes/js.el: No need to load comint when compiling.
8693 (ring-insert, comint-send-string, comint-send-input)
8694 (comint-last-input-end, ido-chop): Declare.
8695
a5c7df1a
GM
8696 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8697 * vc/ediff-mult.el: Adjust requires.
8698 (ediff-directories-internal, ediff-directory-revisions-internal)
8699 (ediff-patch-file-internal): Declare.
8700 * vc/ediff-ptch.el: Adjust requires.
8701 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8702 (ediff-find-file): Autoload.
8703 * vc/ediff-util.el: No need to load ediff when compiling.
8704 (ediff-regions-internal): Declare.
8705 * vc/ediff-wind.el: Adjust requires.
8706 (ediff-compute-toolbar-width): Define when compiling.
8707 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8708 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8709 (dired-get-filename, dired-get-marked-files)
8710 (ediff-last-dir-patch, ediff-patch-default-directory)
8711 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8712 (ediff-patch-buffer-internal): Declare.
8713
e2aec513
GM
8714 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8715 (ispell-process, ispell-buffer-local-words, lm-summary)
8716 (lm-section-start, lm-section-end): Declare.
8717 (checkdoc-ispell-init): Simplify.
8718
e68bbd7c
GM
8719 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8720 (he-string-member, he-reset-string, he-substitute-string): Declare.
8721
7efe0991
GM
8722 * eshell/em-ls.el: Adjust requires.
8723 (eshell-glob-regexp): Declare.
f87b1284
GM
8724 * eshell/em-tramp.el: Adjust requires.
8725 (eshell-parse-command): Autoload.
8726 * eshell/em-xtra.el: Adjust requires.
8727 (eshell-parse-command): Autoload.
8728 * eshell/esh-ext.el: Adjust requires.
8729 (eshell-parse-command, eshell-close-handles): Autoload.
8730 * eshell/esh-io.el: Adjust requires.
8731 (eshell-output-filter): Autoload.
8732 * eshell/esh-util.el: No need to load tramp when compiling.
8733 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8734 Declare.
8735 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8736 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8737 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8738 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8739 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8740 * eshell/esh-opt.el, eshell/esh-proc.el:
8741 * eshell/esh-var.el: Adjust requires.
8742 * eshell/eshell.el: Do not require esh-util twice.
8743 (eshell-add-input-to-history): Declare.
8744 (eshell-command): Check history module is active before using it.
8745
d361bc10
GM
8746 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8747
85d090a9
LL
87482013-05-22 Leo Liu <sdl.web@gmail.com>
8749
8750 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8751
5d0acd9d
MA
87522013-05-22 Michael Albinus <michael.albinus@gmx.de>
8753
8754 * autorevert.el (auto-revert-notify-add-watch)
8755 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8756 it indicates changes in file modification time.
8757
0cdffd7d
GM
87582013-05-22 Glenn Morris <rgm@gnu.org>
8759
ca5995ec
GM
8760 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8761 Always delete the autoloaded function from the noruntime and
8762 unresolved functions lists.
8763
6450907e
GM
8764 * allout.el: No need to load epa, epg, overlay when compiling.
8765 (epg-context-set-passphrase-callback, epg-list-keys)
8766 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8767 (epg-key-user-id-list): Declare.
8768
9c6906f6
GM
8769 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8770 (viper-set-parsing-style-toggling-macro)
8771 (viper-set-emacs-state-searchstyle-macros):
8772 Use called-interactively-p on Emacs.
8773 (viper-looking-back): Make it an obsolete alias. Update callers.
8774 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8775 Use looking-back rather than viper-looking-back.
8776 (viper-tmp-insert-at-eob, viper-enlarge-region)
8777 (viper-read-string-with-history, viper-register-to-point)
8778 (viper-append-to-register, viper-change-state-to-vi)
8779 (viper-backward-char-carefully, viper-forward-char-carefully)
8780 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8781 (viper-change-state-to-emacs): Declare.
8782 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8783 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8784 * emulation/viper-mous.el: Do not load viper-cmd.
8785 (viper-backward-char-carefully, viper-forward-char-carefully)
8786 (viper-forward-word, viper-adjust-window): Declare.
8787
5f70c169
GM
8788 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8789
b1b7f300
GM
8790 * progmodes/idlw-help.el (idlwave-help-fontify):
8791 Use called-interactively-p.
8792
f6ebbb46
GM
8793 * term/w32console.el (w32-get-console-codepage)
8794 (w32-get-console-output-codepage): Declare.
8795
0cdffd7d
GM
8796 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8797 Remove unnecessary declarations.
8798 (dframe-message): Doc fix.
8799
8800 * info.el (dframe-select-attached-frame, dframe-current-frame):
8801 Declare.
8802
8803 * speedbar.el (speedbar-message): Make it an obsolete alias.
8804 Update all callers.
8805 (speedbar-with-attached-buffer)
8806 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8807 (speedbar-with-writable): Use backquote.
8808 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8809 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8810 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8811 rather than speedbar- aliases.
8812 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8813 (speedbar-make-specialized-keymap, speedbar-insert-button)
8814 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8815 (speedbar-do-function-pointer): Declare.
8816 (rmail-speedbar-button, rmail-speedbar-find-file)
8817 (rmail-speedbar-move-message):
8818 Use dframe-with-attached-buffer rather than speedbar- alias.
8819 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8820 (dframe-message, speedbar-make-specialized-keymap)
8821 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8822 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8823 (speedbar-insert-button, dframe-select-attached-frame)
8824 (dframe-maybee-jump-to-attached-frame)
8825 (speedbar-change-initial-expansion-list)
8826 (speedbar-previously-used-expansion-list-name): Declare.
8827 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8828 Use dframe-message, dframe-with-attached-buffer rather than
8829 speedbar- aliases.
8830 (gud-sentinel): Silence compiler.
8831 * progmodes/vhdl-mode.el (speedbar-refresh)
8832 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8833 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8834 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8835 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8836 (speedbar-file-lists, speedbar-make-tag-line)
8837 (speedbar-line-directory, speedbar-goto-this-file)
8838 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8839 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8840 (speedbar-make-button, speedbar-reset-scanners)
8841 (speedbar-files-item-info, speedbar-line-text)
8842 (speedbar-find-file-in-frame, speedbar-set-timer)
8843 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8844 (speedbar-with-writable): Do not (re)define it.
8845 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8846 rather than speedbar- alias.
8847
ee44b62a
LL
88482013-05-21 Leo Liu <sdl.web@gmail.com>
8849
8850 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8851 menu items.
8852 (octave-mode): Tweak fill-nobreak-predicate.
8853 (inferior-octave-startup): Check process to avoid infinite loop.
8854 (inferior-octave): Pop to buffer first to show abornmal process
8855 exit information.
8856
640f050f
GM
88572013-05-21 Glenn Morris <rgm@gnu.org>
8858
79458038
GM
8859 * printing.el (pr-menu-bar): Define when compiling.
8860
9cc3e83f
LL
88612013-05-21 Leo Liu <sdl.web@gmail.com>
8862
8863 * progmodes/octave.el (octave-auto-fill): Remove.
8864 (octave-indent-new-comment-line): Improve.
8865 (octave-mode): Use auto fill mode through
4f405069 8866 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 8867 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 8868 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
8869 (octave-help): Show parent directory.
8870
f440830d
GM
88712013-05-21 Glenn Morris <rgm@gnu.org>
8872
8873 * files.el (dired-unmark):
8874 * progmodes/gud.el (gdb-input): Update declarations.
8875
8876 * calculator.el (electric, ehelp): No need to load when compiling.
8877 (Electric-command-loop, electric-describe-mode): Declare.
8878
8879 * doc-view.el (doc-view-current-converter-processes): Move before use.
8880
8881 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8882 Move MODE-set-explicitly definition before use.
8883
8884 * international/mule-diag.el (mule-diag):
8885 Don't use obsolete window-system-version.
8886
8887 * mail/feedmail.el (smtpmail): No need to load when compiling.
8888 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8889
8890 * mail/mail-utils.el (rfc822): No need to load when compiling.
8891 (rfc822-addresses): Autoload it.
8892 (mail-strip-quoted-names): Trivial simplification.
8893
8894 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8895 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8896
8897 * net/snmp-mode.el (tempo): Don't duplicate requires.
8898
8899 * progmodes/prolog.el (info): No need to load when compiling.
8900 (comint): Require before shell requires it.
8901 (Info-goto-node): Autoload it.
8902 (Info-follow-nearest-node): Declare.
8903 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8904
8905 * textmodes/artist.el (picture-mode-exit): Declare.
8906
8907 * textmodes/reftex-parse.el (reftex-parse-from-file):
8908 Trivial rewrite so the compiler can parse it better.
8909
b4da2cbb
LL
89102013-05-20 Leo Liu <sdl.web@gmail.com>
8911
8912 * progmodes/octave.el (octave-help-mode-map)
8913 (octave-help-mode-finish-hook): New variables.
8914 (octave-help-mode, octave-help-mode-finish): New functions.
8915 (octave-help): Use octave-help-mode.
8916
33c0f65b
GM
89172013-05-20 Glenn Morris <rgm@gnu.org>
8918
8919 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8920
1a0a0a8a
DG
89212013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8922
8923 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8924 start at point, so that expansion starting right after opening
8925 slash in a regexp is recognized.
8926 (ruby-syntax-before-regexp-re): New defvar, extracted from
8927 ruby-syntax-propertize-function. Since the value of this regexp
8928 is looked up at runtime now, we should be able to turn
8929 `ruby-syntax-methods-before-regexp' into a defcustom later.
8930 (ruby-syntax-propertize-function): Split regexp matching into two
8931 parts, for opening and closing slashes. That allows us to skip
8932 over string interpolations and support multiline regexps.
8933 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8934 for them, which calls `ruby-syntax-propertize-expansion'.
8935 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8936 call to `ruby-syntax-propertize-function'.
8937 (ruby-syntax-propertize-expansion): Extracted from
8938 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
8939 (ruby-syntax-propertize-percent-literal): Leave point right after
8940 the percent symbol, so that the expression expansion rule can
8941 propertize the contents.
462388b6
DG
8942 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8943 heredoc openers.
8944 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 8945
c1a6c0a4
JL
89462013-05-18 Juri Linkov <juri@jurta.org>
8947
8948 * man.el (Man-default-man-entry): Remove `-' from the end
8949 of the default value. (Bug#14400)
8950
8051fccd
GM
89512013-05-18 Glenn Morris <rgm@gnu.org>
8952
8953 * comint.el (comint-password-prompt-regexp):
8954 Allow "password for XXX" where XXX contains colons (eg https://...).
8955
5e80b74f
LL
89562013-05-18 Leo Liu <sdl.web@gmail.com>
8957
8958 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 8959 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
8960 (octave-source-directories): Don't check process.
8961 (octave-source-directories, octave-find-definition): Doc fix.
8962
521a54c5
GM
89632013-05-18 Glenn Morris <rgm@gnu.org>
8964
86a94b05
GM
8965 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8966 Remove backspace/delete bindings. (Bug#14392)
8967
521a54c5
GM
8968 * cus-dep.el (custom-make-dependencies): Sort the output.
8969 (custom-versions-load-alist): Convert comment to doc.
8970
42caeb89
LL
89712013-05-17 Leo Liu <sdl.web@gmail.com>
8972
8973 * newcomment.el (comment-search-backward): Stricter in finding
8974 comment start. (Bug#14303)
8975
8976 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8977 (octave-comment-start-skip): Properly anchored.
8978
e219dd97
LL
89792013-05-17 Leo Liu <sdl.web@gmail.com>
8980
fe1eb856
RS
8981 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8982 Clean up when turned off. (Bug#14395)
e219dd97
LL
8983 (smie--highlight-matching-block-overlay): No longer buffer-local.
8984 (smie-highlight-matching-block): Adjust.
8985
dc5dcb4b
PE
89862013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8987
8988 Doc string fix for "nanoseconds" (Bug#14406).
8989 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8990 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8991
1db165f0
JB
89922013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8993
8994 * calc/calc-units.el (math-extract-units): Preserve powers
8995 of units.
8996
c7a8fcac
LL
89972013-05-17 Leo Liu <sdl.web@gmail.com>
8998
8999 * subr.el (delete-consecutive-dups): New function.
9000 * ido.el (ido-set-matches-1): Use it.
9001 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9002 * ido.el (ido-remove-consecutive-dups): Remove.
9003
f678b18a
SM
90042013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9005
9006 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9007 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9008 regexp-opt's `words'.
9009
ebfe68e8
LL
90102013-05-16 Leo Liu <sdl.web@gmail.com>
9011
9012 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9013 (smie--highlight-matching-block-overlay)
9014 (smie--highlight-matching-block-lastpos)
9015 (smie--highlight-matching-block-timer): New variables.
9016 (smie-highlight-matching-block): New function.
9017 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9018 (smie-setup): Conditionally enable smie-blink-matching-open.
9019
bc8bc17d
WS
90202013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9021
9022 Sync with upstream verilog-mode r840.
9023 * progmodes/verilog-mode.el (verilog-mode-version)
9024 (verilog-mode-release-date): Update.
9025 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9026 (verilog-sig-tieoff): Fix string error on
9027 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9028 (verilog-read-decls): Fix parameters confusing
9029 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9030
df065a0b
EZ
90312013-05-16 Eli Zaretskii <eliz@gnu.org>
9032
9033 * subr.el (reveal-filename): New function.
9034
9035 * loadup.el: Compute Emacs executable versions on MS-Windows,
9036 where executables have the .exe extension. Add a hard link
9037 emacs-XX.YY.ZZ.exe on MS-Windows.
9038
9039 * Makefile.in (XARGS_LIMIT): New variable.
9040 (custom-deps, finder-data, autoloads)
9041 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9042 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9043 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9044 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9045
2d4bf34b
LL
90462013-05-16 Leo Liu <sdl.web@gmail.com>
9047
9048 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9049 (octave-mode-menu, octave-mode-map): Remove its uses.
9050
6b9c2d85
RZ
90512013-05-16 Reto Zimmermann <reto@gnu.org>
9052
9053 Sync with upstream vhdl mode v3.34.2.
9054 * progmodes/vhdl-mode.el: Use `push' throughout.
9055 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9056 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9057 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9058 (vhdl-actual-generic-name): New option to derive actual generic name.
9059 (vhdl-port-paste-signals): Replace formal by actual generics.
9060 (vhdl-beautify): New name for old group vhdl-align. Update users.
9061 (vhdl-beautify-options): New option.
9062 (vhdl-last-input-event): New compat alias. Use throughout.
9063 (vhdl-goto-line): Replace user level function `goto-line'.
9064 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9065 vhdl-fix-statement-buffer.
9066 (vhdl-create-mode-menu): Add some entries.
9067 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9068 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9069 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9070 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9071 to force statements on one line.
9072 (vhdl-remove-trailing-spaces-region):
9073 New, split from vhdl-remove-trailing-spaces.
9074 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9075 Respect vhdl-beautify-options.
9076 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9077 (vhdl-update-sensitivity-list): Not add with index if exists without.
9078 Not include array index with signal. Ignore keywords in comments.
9079 (vhdl-get-visible-signals): Regexp tweaks.
9080 (vhdl-template-component-inst): Handle empty library.
9081 (vhdl-template-type): Add template for 'enum' type.
9082 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9083 Use vhdl-replace-string.
9084 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9085 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9086 (vhdl-speedbar-initialize): Update for above name change.
9087 (vhdl-compose-wire-components): Fix in handling of constants.
9088 (vhdl-error-regexp-emacs-alist): New variable.
9089 (vhdl-error-regexp-add-emacs): New function;
9090 adds support for new compile.el (Emacs 22+)
9091 (vhdl-generate-makefile-1): Change target order for single lib. units.
9092 Allow use of absolute file names.
9093
9df4ec5e
LL
90942013-05-16 Leo Liu <sdl.web@gmail.com>
9095
9096 * simple.el (prog-indent-sexp): Indent enclosing defun.
9097
f5ba00a6
GM
90982013-05-15 Glenn Morris <rgm@gnu.org>
9099
ed8be7ff
GM
9100 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9101 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9102 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9103 (whitespace-highlight): Move to whitespace group.
9104
9105 * comint.el (comint-source):
9106 * pcmpl-linux.el (pcmpl-linux):
9107 * shell.el (shell-faces):
9108 * eshell/esh-opt.el (eshell-opt):
9109 * international/ccl.el (ccl): Remove empty custom groups.
9110
9111 * completion.el (dynamic-completion-mode):
9112 * jit-lock.el (jit-lock-debug-mode):
9113 * minibuffer.el (completion-in-region-mode):
9114 * type-break.el (type-break-mode-line-message-mode)
9115 (type-break-query-mode):
9116 * emulation/tpu-edt.el (tpu-edt-mode):
9117 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9118 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9119 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9120
9121 * term/xterm.el (xterm): Change parent group to terminals.
9122
9123 * master.el (master): Remove empty custom group.
9124 (master-mode): Remove unused :group argument.
9125 * textmodes/refill.el (refill): Remove empty custom group.
9126 (refill-mode): Remove unused :group argument.
9127
9128 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9129
82a7c41b
GM
9130 * cus-dep.el: Provide a feature.
9131 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
9132 Don't mistakenly ignore files whose basenames match a basename
9133 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 9134 Add a fallback method for getting :group.
f5ba00a6 9135
6d65486d
JL
91362013-05-15 Juri Linkov <juri@jurta.org>
9137
da547b32
JL
9138 * isearch.el (isearch-char-by-name): Rename from
9139 `isearch-insert-char-by-name'. Doc fix.
9140 (isearch-forward): Mention `isearch-char-by-name' in
9141 the docstring. (Bug#13348)
9142
6d65486d
JL
9143 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9144 `exit-minibuffer' instead of
9145 `isearch-nonincremental-exit-minibuffer'.
9146 (isearch-edit-string): Remove mention of
9147 `isearch-nonincremental-exit-minibuffer' from docstring.
9148 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9149 (isearch-forward-exit-minibuffer)
9150 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9151
c9990474
SM
91522013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9153
6e911150
SM
9154 * loadup.el: Just use unversioned DOC.
9155
c9990474
SM
9156 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9157 literals as extending to EOB.
9158 (nxml-last-fontify-end): Remove unused variable.
9159 (nxml-after-change1): Use with-silent-modifications.
9160 (nxml-extend-after-change-region): Simplify.
9161 (nxml-extend-after-change-region1): Remove function.
9162 (nxml-after-change1): Don't adjust for dependent regions.
9163 (nxml-fontify-matcher): Simplify.
9164 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9165 (xmltok-add-dependent): Remove function.
9166 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9167 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9168 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9169 unclosed <[[, <?, comment, and other literals as extending to EOB.
9170 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9171 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9172 Remove functions.
9173 (rng-do-some-validation-1): Don't mark dependent regions.
9174 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9175 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9176 (nxml-clear-dependent-regions): Remove functions.
9177 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9178 (nxml-ensure-scan-up-to-date):
9179 Don't clear&mark dependent regions.
9180
e3772e98
LL
91812013-05-15 Leo Liu <sdl.web@gmail.com>
9182
c9990474
SM
9183 * progmodes/octave.el (octave-goto-function-definition):
9184 Improve and fix callers.
e3772e98 9185
5ac2eb34
SM
91862013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9187
c46c57b0
SM
9188 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9189 the setter (bug#14387).
9190
5ac2eb34
SM
9191 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9192 surrounding group (bug#14402).
9193
180ed218
JL
91942013-05-14 Juri Linkov <juri@jurta.org>
9195
9196 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9197 (Bug#14390)
9198
0ac0fecb
GM
91992013-05-14 Glenn Morris <rgm@gnu.org>
9200
9201 * progmodes/f90.el (f90-imenu-generic-expression):
9202 Fix typo in 2013-05-08 change. (Bug#14402)
9203
2e78e6a7
JPG
92042013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9205
5ac2eb34
SM
9206 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9207 Remove signals for which replies are never received.
2e78e6a7 9208
53267cca
JPG
92092013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9210
9211 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9212 (gdb-handler-alist, gdb-handler-number): Remove variables.
9213 (gdb-handler-list): New variable.
9214 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9215 (gdb-pending-handler-p, gdb-handle-reply)
9216 (gdb-remove-all-pending-triggers): New functions.
9217 (gdb-discard-unordered-replies): New defcustom.
9218 (gdb-handler): New defstruct.
9219 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9220 instead of gdb-pending-triggers. Update docstring.
9221 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9222 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9223 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9224 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9225 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9226 (gdb-frame-handler): Pending triggers are now automatically managed.
9227 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9228 Remove argument.
9229 (gdb-input): Automatically handles pending triggers. Update docstring.
9230 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9231 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9232 Update comments.
9233 (gdb-done-or-error): Now use gdb-handle-reply.
9234
d04ce803
JPG
92352013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9236
9237 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9238 gdb-debug-log.
9239
0114073a
GM
92402013-05-14 Glenn Morris <rgm@gnu.org>
9241
9242 * subr.el (user-emacs-directory-warning): New option.
9243 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9244
4d25fd7e
LL
92452013-05-14 Leo Liu <sdl.web@gmail.com>
9246
9247 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9248 during redisplay.
9249 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
9250 (octave-font-lock-texinfo-comment): Fix invalid search bound
9251 error: wrong side of point.
4d25fd7e 9252
27c8b6eb
GM
92532013-05-14 Glenn Morris <rgm@gnu.org>
9254
61aaeb01
GM
9255 * progmodes/flymake.el (flymake-xml-program): New option.
9256 (flymake-xml-init): Use it.
9257
5bf90bc5
GM
9258 * term/xterm.el: Provide a feature.
9259
9260 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 9261
f4c7dfd2
GM
92622013-05-13 Glenn Morris <rgm@gnu.org>
9263
9264 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9265 Add compat aliases as a hack workaround. (Bug#14384)
9266
2aeb3a1d
LL
92672013-05-13 Leo Liu <sdl.web@gmail.com>
9268
b0e069c2
LL
9269 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9270 ###, and %!.
f5a9432f
LL
9271 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9272 C-M-q.
b0e069c2
LL
9273 (octave-comment-start-skip): Include %!.
9274 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 9275
30ea8374
LL
92762013-05-12 Leo Liu <sdl.web@gmail.com>
9277
9278 * progmodes/octave.el (inferior-octave-startup): Store the value
9279 of __octave_srcdir__ for octave-source-directories.
9280 (inferior-octave-check-process): New function refactored out of
9281 inferior-octave-send-list-and-digest.
9282 (octave-source-directories)
9283 (octave-find-definition-filename-function): New variables.
9284 (octave-source-directories)
9285 (octave-find-definition-default-filename): New functions.
9286 (octave-find-definition): Improve to find functions implemented in C++.
9287
472a3834
GM
92882013-05-12 Glenn Morris <rgm@gnu.org>
9289
9290 * calendar/diary-lib.el (diary-outlook-format-1):
9291 Don't include dayname in the output. (Bug#14349)
9292
3191b52f
GM
92932013-05-11 Glenn Morris <rgm@gnu.org>
9294
0060ac73
GM
9295 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9296
3191b52f
GM
9297 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9298 Treat cc-provide like provide.
9299
e065ba74
KR
93002013-05-11 Kevin Ryde <user42@zip.com.au>
9301
9302 * cus-dep.el (custom-make-dependencies):
9303 Use generated-autoload-load-name for the sake of files such
9304 such cedet/semantic/bovine/c.el, where the base file name
9305 is not in load-path. (Bug#5277)
9306
36f84c37
GM
93072013-05-11 Glenn Morris <rgm@gnu.org>
9308
9309 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9310 Provide features.
9311
c8730c3a
LL
93122013-05-11 Leo Liu <sdl.web@gmail.com>
9313
9314 * progmodes/octave.el (octave-indent-comment): Improve.
9315 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
9316 (octave-eldoc-function-signatures, octave-eldoc-function):
9317 New functions.
c8730c3a
LL
9318 (octave-mode, inferior-octave-mode): Add eldoc support.
9319
212e29f2
RS
93202013-05-11 Richard Stallman <rms@gnu.org>
9321
9322 * epa.el (epa-decrypt-file): Take output file name as argument
9323 and read it using `interactive'.
9324
083fe0d7
LL
93252013-05-11 Leo Liu <sdl.web@gmail.com>
9326
9327 * progmodes/octave.el (octave-beginning-of-line)
9328 (octave-end-of-line): Check before using up-list because it jumps
9329 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
9330 (octave-indent-comment): New function.
9331 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
9332 (octave-begin-keywords, octave-end-keywords)
9333 (octave-reserved-words, octave-smie-bnf-table)
9334 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 9335
8582e4c4
GM
93362013-05-11 Glenn Morris <rgm@gnu.org>
9337
f20def1f
GM
9338 * faces.el (internal-face-x-get-resource):
9339 * frame.el (ns-display-monitor-attributes-list):
d78abe37 9340 * calc/calc-aent.el (math-to-radians-2):
f20def1f 9341 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 9342 Fix declarations.
f20def1f 9343
445f95e2
GM
9344 * calc/calc-menu.el: Make it loadable in isolation.
9345
9346 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9347 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9348 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9349 (eudc-bbdb-query-internal): Require 'bbdb.
9350
99fb2756
GM
9351 * lpr.el (lpr-headers-switches):
9352 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9353
9354 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9355
0da7ad96
GM
9356 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9357
8582e4c4
GM
9358 * term.el (term-set-escape-char): Make it idempotent.
9359
f71c50d0
LL
93602013-05-10 Leo Liu <sdl.web@gmail.com>
9361
5ac2eb34
SM
9362 * progmodes/octave.el (inferior-octave-completion-table):
9363 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
9364 completion due to bug#11906.
9365 (octave-beginning-of-defun): Re-write to be more general.
9366
d5837773
GM
93672013-05-10 Glenn Morris <rgm@gnu.org>
9368
9369 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9370
027c0f75
SM
93712013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9372
9373 * comint.el (comint-redirect-send-command-to-process): Use :around
9374 rather than :override for comint-redirect-filter.
9375 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9376 Call it instead of comint-redirect-original-filter-function (which
9377 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9378
4465bfb4
JD
93792013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9380
9381 * frame.el (display-monitor-attributes-list): Add NS case.
9382 (ns-display-monitor-attributes-list): Declare.
9383
2d809ffa 93842013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
9385
9386 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9387
e54eeb9b
GM
93882013-05-09 Glenn Morris <rgm@gnu.org>
9389
56cd351d
GM
9390 * international/fontset.el (vertical-centering-font-regexp):
9391 Set standard-value.
9392
d84b6108
GM
9393 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9394
a931698a
GM
9395 * bookmark.el (bookmark-search-delay):
9396 * cus-start.el (vertical-centering-font-regexp):
9397 * ps-mule.el (ps-mule-font-info-database-default):
9398 * ps-print.el (ps-default-fg, ps-default-bg):
9399 * type-break.el (type-break-good-break-interval):
9400 * whitespace.el (whitespace-indentation-regexp)
9401 (whitespace-space-after-tab-regexp):
9402 * emacs-lisp/testcover.el (testcover-1value-functions)
9403 (testcover-noreturn-functions, testcover-progn-functions)
9404 (testcover-prog1-functions):
9405 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9406 * eshell/em-glob.el (eshell-glob-translate-alist):
9407 * play/tetris.el (tetris-tty-colors):
9408 * progmodes/cpp.el (cpp-face-default-list):
9409 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9410 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9411 (idlwave-help-browser-generic-args):
9412 * progmodes/make-mode.el (makefile-special-targets-list):
9413 * progmodes/python.el (python-shell-virtualenv-path):
9414 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9415 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9416 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9417 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9418 * textmodes/reftex-vars.el (reftex-format-label-function):
9419 * textmodes/remember.el (remember-diary-file): Fix custom types.
9420
e54eeb9b
GM
9421 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9422 Add :version.
9423
455851dd
LL
94242013-05-09 Leo Liu <sdl.web@gmail.com>
9425
9426 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 9427 Restore file completion. (Bug#14300)
455851dd
LL
9428 (inferior-octave-startup): Fix incorrect highlighting for the
9429 first prompt.
9430
a9e4425b
SM
94312013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9432
9433 * progmodes/ruby-mode.el: First cut at SMIE support.
9434 (ruby-use-smie): New var.
9435 (ruby-smie-grammar): New constant.
9436 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9437 (ruby-smie--forward-token, ruby-smie--backward-token)
9438 (ruby-smie-rules): New functions.
9439 (ruby-mode-variables): Setup SMIE if applicable.
9440
060ca408
EZ
94412013-05-08 Eli Zaretskii <eliz@gnu.org>
9442
9443 * simple.el (line-move-visual): Signal beginning/end of buffer
9444 only if vertical-motion moved less than it was requested. Avoids
9445 silly incorrect error messages when there are display strings with
9446 multiple newlines at EOL.
9447
1d5963cc
SM
94482013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9449
9450 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9451 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9452 (prolog-char-quote-workaround):
9453 * progmodes/cperl-mode.el (cperl-under-as-char):
9454 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
9455 Mark as obsolete.
9456 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
9457 their declaration.
9458 (vhdl-mode-syntax-table-init): Remove.
9459
c9990474
SM
9460 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9461 last change.
1d5963cc
SM
9462
9463 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9464 syntax for "_".
9465 (ld-script-font-lock-keywords):
9466 Change regexps to use things like \_< and \_>.
9467
9468 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9469 Change all regexps to use things like \_< and \_>.
9470
9471 * progmodes/autoconf.el (autoconf-definition-regexp)
9472 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9473 Handle a _ with symbol syntax.
9474 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9475
c9990474
SM
9476 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9477 Consolidate declaration.
1d5963cc
SM
9478 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9479 the declaration.
9480 (ada-create-syntax-table): Remove.
9481 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9482 already has the right syntax nowadays.
9483 (ada-goto-next-word): Don't change the syntax of "_".
9484
9485 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9486 with-wrapper-hook.
9487
72d3cfca
SS
94882013-05-08 Sam Steingold <sds@gnu.org>
9489
9490 * thingatpt.el (thing-at-point): Accept optional second argument
9491 NO-PROPERTIES to strip the text properties from the return value.
9492 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9493 to `thing-at-point' instead of stripping the properties ourselves.
9494 Also, when `thing-at-point' fails to find a url, prepend "http://"
9495 to the filename at point on the assumption that the user is
9496 pointing at something like gnu.org/gnu.
9497
5cb15713
JB
94982013-05-08 Juanma Barranquero <lekktu@gmail.com>
9499
9500 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9501 * faces.el (crm-separator):
9502 Silence byte-compiler.
9503
9504 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9505 (tool-bar-map): Remove unneeded defvars.
9506
ea78b95b
LL
95072013-05-08 Leo Liu <sdl.web@gmail.com>
9508
9509 Re-work a fix for bug#10994 based on Le Wang's patch.
9510 * ido.el (ido-remove-consecutive-dups): New helper.
9511 (ido-completing-read): Use it.
9512 (ido-chop): Revert fix for bug#10994.
9513
dc7466df
AS
95142013-05-08 Adam Spiers <emacs@adamspiers.org>
9515
9516 * cus-edit.el (custom-save-variables):
9517 Pretty-print long values. (Bug#14187)
9518
9ecf672a
GM
95192013-05-08 Glenn Morris <rgm@gnu.org>
9520
9521 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9522 (m4-mode-syntax-table): Init in the defvar.
9523 (m4-mode-abbrev-table): Let define-derived-mode define it.
9524
3f555be8
TT
95252013-05-08 Tom Tromey <tromey@redhat.com>
9526
9527 * progmodes/m4-mode.el (m4-mode-syntax-table):
9528 Do not treat "_" as word constituent. (Bug#14167)
9529
7cc8ae06
GM
95302013-05-07 Glenn Morris <rgm@gnu.org>
9531
4f58bc06
GM
9532 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9533 Remove explicit eshell-isearch-cancel-map.
9534
7cc8ae06
GM
9535 * progmodes/f90.el (f90-smart-end-names): New option.
9536 (f90-smart-end): Doc fix.
9537 (f90-end-block-optional-name): New constant.
9538 (f90-block-match): Respect f90-smart-end-names.
9539
ceb57e59
SM
95402013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9541
9542 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9543 about implicit semi-colons (bug#14218).
9544
4e3f9230
YM
95452013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9546
9547 * frame.el (display-monitor-attributes-list)
9548 (frame-monitor-attributes): New functions.
9549
203a5572
LL
95502013-05-06 Leo Liu <sdl.web@gmail.com>
9551
9552 * progmodes/octave.el (octave-syntax-propertize-function): Change
9553 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9554 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 9555 (octave-completion-at-point): Rename from
203a5572
LL
9556 octave-completion-at-point-function.
9557 (inferior-octave-directory-tracker): Robustify.
9558 (octave-text-functions): Remove and fix its uses. No such things
9559 any more.
9560
ee6cff99
SM
95612013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9562
9563 * emacs-lisp/trace.el (trace--display-buffer): New function.
9564 (trace-make-advice): Use it.
9565
32985194
JL
95662013-05-06 Juri Linkov <juri@jurta.org>
9567
9568 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9569 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9570 Doc fix.
9571 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9572 in the help string. (Bug#12985)
9573
a1c700de
KD
95742013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9575
9576 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9577
c67c0839
SM
95782013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9579
323885fd
SM
9580 * progmodes/perl-mode.el: Add support for here documents.
9581 (perl-syntax-propertize-function): Match here-doc markers.
9582 (perl-syntax-propertize-special-constructs): Find their end.
9583 (perl-imenu-generic-expression): Use [:alnum:].
9584
c67c0839
SM
9585 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9586 (advice--add-function): Refresh the advice if already present
9587 (bug#14317).
9588
d491e7a8
IA
95892013-05-06 Ivan Andrus <darthandrus@gmail.com>
9590
9591 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9592
ddf9925e
GM
95932013-05-06 Glenn Morris <rgm@gnu.org>
9594
7cc3af27
GM
9595 * w32-fns.el (w32-charset-info-alist): Declare.
9596
16e343d6
GM
9597 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9598 of its defcustom properties.
9599 (eshell-cmpl-initialize): No need to load pcomplete.
9600
7d889a47
GM
9601 * generic-x.el: No need to require comint when compiling.
9602
ddf9925e
GM
9603 * net/eudc-export.el: Make it loadable without bbdb.
9604 (top-level): Use require rather than load-library.
9605 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9606 (eudc-batch-export-records-to-bbdb)
9607 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9608 Require bbdb.
9609
1e2c18df
SM
96102013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9611
9612 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9613 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9614 some tweaks, instead.
9615
02502a5f
LL
96162013-05-05 Leo Liu <sdl.web@gmail.com>
9617
9618 * progmodes/octave.el (octave-font-lock-keywords)
9619 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9620 (inferior-octave-send-list-and-digest): Improve error message.
9621 (octave-mode, inferior-octave-mode): Use setq-local.
9622 (octave-help): Set info-lookup-mode.
9623
0dc04f42
RS
96242013-05-05 Richard Stallman <rms@gnu.org>
9625
6c54491c
RS
9626 * vc/compare-w.el (compare-windows-whitespace):
9627 Treat no-break space as whitespace.
9628
0dc04f42
RS
9629 * mail/rmailsum.el (rmail-summary-rmail-update):
9630 Detect empty summary and don't change selected message.
9631 (rmail-summary-goto-msg): Likewise.
9632
df8f35df
RS
9633 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9634 Doc fixes, rename args.
9635
5356e1a3
AM
96362013-05-05 Alan Mackenzie <acm@muc.de>
9637
9638 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9639
d44014cb
JL
96402013-05-05 Juri Linkov <juri@jurta.org>
9641
9642 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9643 to not add the length of the summary segment to the return value.
9644 (Bug#14125)
9645
c129b51f
LL
96462013-05-05 Leo Liu <sdl.web@gmail.com>
9647
9648 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9649 (inferior-octave-output-filter): Remove.
9650 (octave-send-region, inferior-octave-startup): Fix callers.
9651 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9652 (octave-binary-file-extensions): New user variable.
9653 (octave-find-definition): Confirm if opening binary files.
9654 (octave-help-file): Use octave-find-definition to get the binary
9655 confirmation.
9656 (octave-help): Adjust for octave-help-file change.
9657
aa7dab97
SM
96582013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9659
9660 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9661 Merge the two entries that handle function definitions.
9662 (pascal--syntax-propertize): New const.
9663 (pascal-mode): Use it. Use setq-local.
9664
fd3a9a6b
GM
96652013-05-04 Glenn Morris <rgm@gnu.org>
9666
9667 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9668 (diary-from-outlook): Respect diary-from-outlook-function.
9669
30c7e542
SM
96702013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9671
9672 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9673 Move the declaration from C.
9674 (read-minibuffer, eval-minibuffer): Move from C.
9675 (completion-setup-function): Avoid minibuffer-completion-contents.
9676
b54f978b
LL
96772013-05-03 Leo Liu <sdl.web@gmail.com>
9678
9679 * progmodes/octave.el (octave-font-lock-keywords): Do not
9680 dehighlight 'end' in comments or strings.
30c7e542
SM
9681 (octave-completing-read, octave-goto-function-definition):
9682 New helpers.
d4d0f9b3
LL
9683 (octave-help-buffer): New user variable.
9684 (octave-help-file, octave-help-function): New button types.
9685 (octave-help): New command and bind it to C-h ;.
9686 (octave-find-definition): New command and bind it to M-.
d74a1581 9687 (user-error): Alias to error if not defined.
b54f978b 9688
27135018
LL
96892013-05-02 Leo Liu <sdl.web@gmail.com>
9690
9691 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9692 for \. (bug#14332)
9693 (octave-font-lock-keywords): Include [ and {.
9694
0d634d3a
LL
96952013-05-02 Leo Liu <sdl.web@gmail.com>
9696
9697 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9698 (inferior-octave): Remove calling comint-mode and return the buffer.
9699 (inferior-octave-startup): Cosmetic changes.
9700
b4c8295e
LL
97012013-05-02 Leo Liu <sdl.web@gmail.com>
9702
30c7e542
SM
9703 * progmodes/octave.el (octave-syntax-propertize-function):
9704 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 9705
f12ad6ec
GM
97062013-05-02 Glenn Morris <rgm@gnu.org>
9707
9708 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9709 * desktop.el (vc-dir-mode): Just autoload it here.
9710
30cac1e0
AM
97112013-05-02 Alan Mackenzie <acm@muc.de>
9712
9713 Eliminate variable c-standard-font-lock-fontify-region-function.
9714 * progmodes/cc-mode.el
9715 (c-standard-font-lock-fontify-region-function): Remove.
9716 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9717
d8ef28b1
LL
97182013-05-01 Leo Liu <sdl.web@gmail.com>
9719
2640d52e 9720 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 9721 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 9722 variables were removed from Octave in 2007.
d8ef28b1
LL
9723 (inferior-octave-startup): Fix uses.
9724 (comint-line-beginning-position): Remove compatibility code for
9725 emacs 21.
9726
ac63ec89
JL
97272013-05-01 Juri Linkov <juri@jurta.org>
9728
9729 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9730
9e9be37c
JL
97312013-05-01 Juri Linkov <juri@jurta.org>
9732
9733 * comint.el (comint-previous-matching-input): Don't print message
9734 "History item: %d" when `isearch-mode' is active.
9735 (comint-history-isearch-message): Print message "History item: %d"
9736 when `comint-input-ring-index' is not empty and this function is
9737 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9738
9b92c13b
LL
97392013-05-01 Leo Liu <sdl.web@gmail.com>
9740
9741 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9742 definitions. Use completion-at-point to insert keywords.
9743 (octave-abbrev-start): Remove.
9744 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9745
b12d33d7
LL
97462013-04-30 Leo Liu <sdl.web@gmail.com>
9747
9748 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9749 change.
9750
3d1c39fa
AM
97512013-04-30 Alan Mackenzie <acm@muc.de>
9752
9753 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
9754 * progmodes/cc-engine.el (c-back-over-member-initializers):
9755 new function.
3d1c39fa
AM
9756 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9757 (most) member init lists.
9758
5147fc17
RS
97592013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9760
9761 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9762 variable.
9763
5b78d7fc
LL
97642013-04-30 Leo Liu <sdl.web@gmail.com>
9765
9766 * progmodes/octave.el (octave-variables): Remove. No builtin
9767 variables any more. All converted to functions.
9768 (octave-font-lock-keywords, octave-completion-at-point-function):
9769 Fix uses.
9770 (octave-font-lock-texinfo-comment): New user variable.
9771 (octave-texinfo-font-lock-keywords): New variable for texinfo
9772 comment block.
9773 (octave-function-comment-block): New face.
9774 (octave-font-lock-texinfo-comment): New function.
9775 (octave-mode): Font lock texinfo comment block.
9776
38d8527b
LL
97772013-04-29 Leo Liu <sdl.web@gmail.com>
9778
9779 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9780 indexing expression.
9781 (octave-continuation-string): Do not use \.
9782 (inferior-octave-complete-impossible): Remove.
9783 (inferior-octave-completion-table)
9784 (inferior-octave-completion-at-point): Remove its uses.
9785 (inferior-octave-startup): completion_matches was introduced to
9786 Octave in 1996 so safe to assume it.
9787 (octave-function-file-comment): Improve to follow how Octave does it.
9788 (octave-update-function-file-comment): Tweak.
9789
2ec12cb0
LL
97902013-04-29 Leo Liu <sdl.web@gmail.com>
9791
9792 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9793 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9794 (octave-function-file-comment): Fix typo.
9795 (octave-sync-function-file-names): Use read-char-choice.
9796
6eaed048
JB
97972013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9798
9799 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9800 to t for the less important warnings.
9801
3ffa2d4f
DH
98022013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9803
9804 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9805
685c9501
GM
98062013-04-27 Glenn Morris <rgm@gnu.org>
9807
9808 * vc/log-view.el (log-view-current-entry):
9809 Treat "---" separator lines as part of the following rev. (Bug#14169)
9810
0208ede7
JL
98112013-04-27 Juri Linkov <juri@jurta.org>
9812
9813 * subr.el (read-number): Doc fix about using it by interactive
9814 code letter `n'. (Bug#14254)
9815
5db9dace
JL
98162013-04-27 Juri Linkov <juri@jurta.org>
9817
9818 * desktop.el (desktop-auto-save-timeout): New option.
9819 (desktop-file-checksum): New variable.
9820 (desktop-save): Add optional arg `auto-save' and don't auto-save
9821 if nothing changed.
9822 (desktop-auto-save-timer): New variable.
9823 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9824 (after-init-hook): Call `desktop-auto-save-set-timer'.
9825 Suggested by Reuben Thomas <rrt@sc3d.org> in
9826 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9827
b7260dd4
LL
98282013-04-27 Leo Liu <sdl.web@gmail.com>
9829
9830 * progmodes/octave.el (octave-function-file-p)
9831 (octave-skip-comment-forward, octave-function-file-comment)
9832 (octave-update-function-file-comment): New functions.
9833 (octave-mode-map): Bind C-c ; to
9834 octave-update-function-file-comment.
9835 (octave-mode-menu): Add octave-update-function-file-comment.
9836 (octave-mode, inferior-octave-mode): Fix doc-string.
9837 (octave-insert-defun): Conform to Octave's coding convention.
9838 (Bug#14285)
9839
9840 * files.el (basic-save-buffer): Don't let errors in
9841 before-save-hook prevent saving buffer.
9842
c46da669
RW
98432013-04-20 Roland Winkler <winkler@gnu.org>
9844
9845 * faces.el (read-face-name): Use completing-read if arg multiple
9846 is nil.
9847
a81ee1eb
IL
98482013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9849
9850 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
9851 displayed, move point to after the totals line.
9852 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
9853 for the details.
9854
4fac34ce
SM
98552013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9856
9857 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9858 Add current dir to the load-path.
9859 (package-generate-autoloads): Don't rely on
9860 autoload-ensure-default-file.
9861
f6bfc063
RT
98622013-04-26 Reuben Thomas <rrt@sc3d.org>
9863
d40ab5cf
BG
9864 * textmodes/remember.el (remember-store-in-files): Document that
9865 the file name format is passed to `format-time-string'.
f6bfc063 9866
e55d3b04
LL
98672013-04-26 Leo Liu <sdl.web@gmail.com>
9868
9869 * progmodes/octave.el (octave-sync-function-file-names): New function.
9870 (octave-mode): Use it in before-save-hook.
9871
e53052d3
SM
98722013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9873
140ef50c
SM
9874 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9875 (bug#14274).
9876
e53052d3
SM
9877 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9878 \n and comment, even if it's not an implicit ; (bug#14218).
9879
af80458d 98802013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
9881
9882 * subr.el (read-number): Once more use `read' rather than
9883 `string-to-number', to trap non-numeric input. (Bug#14254)
9884
af80458d 98852013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
9886
9887 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9888 Use `syntax-multiline' text property consistently instead of
8a621d53 9889 `font-lock-multiline'. (Bug#14237)
70203c2e 9890
e6ea1f6c
GM
98912013-04-26 Glenn Morris <rgm@gnu.org>
9892
9893 * emacs-lisp/shadow.el (list-load-path-shadows):
9894 No longer necessary to check for duplicate simple.el, since
9895 2012-07-07 change to init_lread to not include installation lisp
9896 directories in load-path when running uninstalled. (Bug#14270)
9897
070ccca4
LL
98982013-04-26 Leo Liu <sdl.web@gmail.com>
9899
9900 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9901 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 9902 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
9903 octave-in-string-or-comment-p.
9904 (octave-in-comment-p, octave-in-string-p)
9905 (octave-in-string-or-comment-p): Replace defsubst with defun.
9906
9d1c5fb6
PE
99072013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9908
9909 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9910
c034abda
BG
99112013-04-25 Bastien Guerry <bzg@gnu.org>
9912
9913 * textmodes/remember.el (remember-data-directory)
9914 (remember-directory-file-name-format): Fix custom types.
9915
584ea277
LL
99162013-04-25 Leo Liu <sdl.web@gmail.com>
9917
e53052d3
SM
9918 * progmodes/octave.el (octave-completion-at-point-function):
9919 Make use of inferior octave process.
584ea277
LL
9920 (octave-initialize-completions): Remove.
9921 (inferior-octave-completion-table): New function.
9922 (inferior-octave-completion-at-point): Use it.
9923 (octave-completion-alist): Remove.
9924
1693b06a
SM
99252013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9926
9927 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9928 (opascal-mode-syntax-table): New var.
9929 (opascal-literal-kind, opascal-is-literal-end)
9930 (opascal-literal-token-at): Rewrite.
9931 (opascal--literal-start-re, opascal-font-lock-keywords)
9932 (opascal--syntax-propertize): New constants.
9933 (opascal-font-lock-defaults): Adjust.
9934 (opascal-mode): Use them. Set comment-<foo> variables as well.
9935 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9936 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9937 (delphi-other-face, opascal-other-face): Remove face variables.
9938 (opascal-save-state): Remove macro.
9939 (opascal-fontifying-progress-step): Remove constant.
9940 (opascal--ignore-changes): Remove var.
9941 (opascal-set-token-property, opascal-parse-next-literal)
9942 (opascal-is-stable-literal, opascal-complete-literal)
9943 (opascal-is-literal-start, opascal-face-of)
9944 (opascal-parse-region, opascal-parse-region-until-stable)
9945 (opascal-fontify-region, opascal-after-change)
9946 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9947 (opascal-debug-parse-region, opascal-debug-parse-window)
9948 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9949 (opascal-debug-fontify-buffer): Remove.
9950 (opascal-debug-mode-map): Adjust accordingly.
9951
be64c05d
LL
99522013-04-25 Leo Liu <sdl.web@gmail.com>
9953
9954 Merge octave-mod.el and octave-inf.el into octave.el with some
9955 cleanups.
9956 * progmodes/octave.el: New file renamed from octave-mod.el.
9957 * progmodes/octave-inf.el: Merged into octave.el.
9958 * progmodes/octave-mod.el: Renamed to octave.el.
9959
d79d37bd
TH
99602013-04-25 Tassilo Horn <tsdh@gnu.org>
9961
9962 * textmodes/reftex-vars.el
9963 (reftex-label-ignored-macros-and-environments): New defcustom.
9964
9965 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9966
ced3fc5d
SM
99672013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9968
9969 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9970 (smie-indent-keyword): Improve the check to ensure that the next
9971 comment is really on the same line.
9972 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9973
9974 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9975 semi-colons if the line is not otherwise empty (bug#14218).
9976
1c141dad
GM
99772013-04-25 Glenn Morris <rgm@gnu.org>
9978
9979 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9980
5058062a
SM
99812013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9982
9983 * progmodes/opascal.el (opascal-set-token-property): Rename from
9984 opascal-set-text-properties and only set `token' (bug#14134).
9985 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9986 (opascal-literal-text-properties): Remove.
9987 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9988 Adjust callers.
9989
5db9dace 99902013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
9991
9992 * textmodes/remember.el (remember-handler-functions): Add an
9993 option for a new handler `remember-store-in-files'.
9994 (remember-data-directory, remember-directory-file-name-format):
9995 New options.
9996 (remember-store-in-files): New function to store remember notes
9997 as separate files within a directory.
9998
4391916c
MH
99992013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10000
10001 * progmodes/compile.el (compilation-next-error-function):
10002 Pass "formats" to compilation-find-file (bug#11777).
10003
bb7cdf58
GM
100042013-04-24 Glenn Morris <rgm@gnu.org>
10005
3b8fe752 10006 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
10007 * vc/vc-hg.el (vc-hg-print-log):
10008 * vc/vc-svn.el (vc-svn-print-log):
10009 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10010
bb7cdf58
GM
10011 * vc/vc-bzr.el (vc-bzr-print-log):
10012 * vc/vc-cvs.el (vc-cvs-print-log):
10013 * vc/vc-git.el (vc-git-print-log):
10014 * vc/vc-hg.el (vc-hg-print-log):
10015 * vc/vc-mtn.el (vc-mtn-print-log):
10016 * vc/vc-rcs.el (vc-rcs-print-log):
10017 * vc/vc-sccs.el (vc-sccs-print-log):
10018 * vc/vc-svn.el (vc-svn-print-log):
10019 * vc/vc.el (vc-print-log-internal): Doc fixes.
10020
b46a056e
GM
100212013-04-23 Glenn Morris <rgm@gnu.org>
10022
10023 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10024 Remove venerable code attempting to avoid substitute-command-keys.
10025
0aecf718
TH
100262013-04-23 Tassilo Horn <tsdh@gnu.org>
10027
4391916c
MH
10028 * textmodes/reftex-vars.el (reftex-label-regexps):
10029 Call `reftex-compile-variables' after changes to this variable.
0aecf718 10030
117f94cf
SM
100312013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10032
4391916c 10033 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
10034 Use lexical-binding.
10035 (jit-lock-force-redisplay): Use markers, check buffer's continued
10036 existence and beware narrowed buffers.
10037 (jit-lock-fontify-now): Adjust call accordingly.
10038
1d829c64
SM
100392013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10040
10041 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10042 to avoid misleading the user.
10043
72d548a9
LL
100442013-04-22 Leo Liu <sdl.web@gmail.com>
10045
10046 * info-look.el: Prefer latex2e.info. (Bug#14240)
10047
d0853629
MA
100482013-04-22 Michael Albinus <michael.albinus@gmx.de>
10049
10050 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10051
10052 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10053 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10054 (tramp-set-completion-function, tramp-parse-putty):
10055 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10056 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10057 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10058 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10059 (tramp-call-local-coding-command): Use `tramp-call-process'
10060 instead of `tramp-compat-call-process'.
10061
10062 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10063 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10064 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 10065 (tramp-find-inline-compress): Improve traces.
d0853629
MA
10066 (tramp-maybe-send-script): Check for Perl binary.
10067 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10068
38cc0210
DU
100692013-04-22 Daiki Ueno <ueno@gnu.org>
10070
10071 * epg.el (epg-context-pinentry-mode): New function.
10072 (epg-context-set-pinentry-mode): New function.
10073 (epg--start): Pass --pinentry-mode option to gpg command.
10074
cc641ee1
XF
100752013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10076
02d844b5 10077 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 10078 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 10079 `completion-at-point'. (Bug#13774)
5d4e5c31 10080
cc641ee1
XF
10081 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10082 default key binding for `describe-distribution' has been moved to
10083 `C-h C-o'. (Bug#13970)
10084
1b42ee43
GM
100852013-04-21 Glenn Morris <rgm@gnu.org>
10086
10087 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10088 Add doc strings.
10089 (vc-print-log): Clarify interactive prompt.
10090
a6d63d97
GM
100912013-04-20 Glenn Morris <rgm@gnu.org>
10092
10093 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10094 No longer include timestamp etc information.
10095
d7f5c16f
RW
100962013-04-20 Roland Winkler <winkler@gnu.org>
10097
10098 * faces.el (read-face-name): Bug fix, return just one face if arg
10099 multiple is nil. (Bug#14209)
10100
bcd7a0a4
SM
101012013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10102
10103 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10104 (remove-function): Autoload.
10105
10106 * comint.el (comint-redirect-original-filter-function): Remove.
10107 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
10108 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10109 (vc-cvs-annotate-command):
bcd7a0a4
SM
10110 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10111 * progmodes/prolog.el (prolog-consult-compile):
10112 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10113 Use add/remove-function instead.
10114 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10115 (gud-tooltip-process-output, gud-tooltip-tips):
10116 Use add/remove-function instead.
10117 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10118 (scheme-interaction-mode, exit-scheme-interaction-mode):
10119 Use add/remove-function instead.
10120
10121 * vc/vc-dispatcher.el: Use lexical-binding.
10122 (vc--process-sentinel): Rename from vc-process-sentinel.
10123 Change last arg to be the code to run. Don't use vc-previous-sentinel
10124 and vc-sentinel-commands any more.
10125 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10126 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10127
e36b2d20 101282013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 10129
bcd7a0a4 10130 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 10131 Handle function names with a single character. (Bug#14111)
4d3268ba 10132
781b4af6 101332013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
10134
10135 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10136 for subroutines defined in an eval (bug#14182).
10137
7d688336
TV
101382013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10139
10140 * bookmark.el (bookmark-completing-read): Improve handling of empty
10141 string (bug#14176).
10142
31dcede0
SM
101432013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10144
10145 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10146
adc31213
FEG
101472013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10148
10149 New faster Imenu implementation (bug#14058).
10150 * progmodes/python.el:
10151 (python-imenu-prev-index-position):
10152 (python-imenu-format-item-label-function)
10153 (python-imenu-format-parent-item-label-function)
10154 (python-imenu-format-parent-item-jump-label-function):
10155 New vars.
10156 (python-imenu-format-item-label)
10157 (python-imenu-format-parent-item-label)
10158 (python-imenu-format-parent-item-jump-label)
10159 (python-imenu--put-parent, python-imenu--build-tree)
10160 (python-imenu-create-index, python-imenu-create-flat-index)
10161 (python-util-popn): New functions.
10162 (python-mode): Set imenu-create-index-function to
10163 python-imenu-create-index.
10164
cdca8255
SM
101652013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10166
10167 * winner.el (winner-active-region): Use region-active-p, activate-mark
10168 and deactivate-mark (bug#14225).
10169
10170 * simple.el (deactivate-mark): Don't inline it.
10171
beb42340
MA
101722013-04-18 Michael Albinus <michael.albinus@gmx.de>
10173
10174 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10175
fc7f4d7e
TH
101762013-04-18 Tassilo Horn <tsdh@gnu.org>
10177
10178 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10179 file extensions from the archive-mode entry in order to prefer
10180 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10181
29f47822
LL
101822013-04-18 Leo Liu <sdl.web@gmail.com>
10183
10184 * bindings.el (help-event-list): Add ?\?.
10185
d36ed1c8
SM
101862013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10187
10188 * subr.el (with-wrapper-hook): Declare obsolete.
10189 * simple.el (filter-buffer-substring-function): New hook.
10190 (filter-buffer-substring): Use it.
10191 (filter-buffer-substring-functions): Mark obsolete.
10192 * minibuffer.el (completion-in-region-function): New hook.
10193 (completion-in-region): Use it.
10194 (completion-in-region-functions): Mark obsolete.
10195 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10196 * abbrev.el (abbrev-expand-function): New hook.
10197 (expand-abbrev): Use it.
10198 (abbrev-expand-functions): Mark obsolete.
10199 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10200 and :filter-return.
10201
04754d36
FEG
102022013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10203
10204 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10205 and do not care about match data.
10206
dd8791e9
SM
102072013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10208
10209 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10210 completion tables when completing error conditions and
10211 `declare' arguments.
10212 (lisp-complete-symbol, field-complete): Mark as obsolete.
10213 (check-parens): Unmatched parens are user errors.
10214 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10215
ffe54a13
AM
102162013-04-17 Michal Nazarewicz <mina86@mina86.com>
10217
dd8791e9
SM
10218 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10219 command changed buffer (ie. `flyspell-pre-buffer' is not current
10220 buffer), which prevents making decisions based on invalid value of
10221 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10222 cause an error when `flyspell-pre-point' was nil after switching
10223 buffers.
10224 (flyspell-post-command-hook): No longer needs to change buffers when
10225 checking pre-word. While at it remove unnecessary progn.
ffe54a13 10226
ec7e39f2
AM
102272013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10228
10229 * textmodes/ispell.el (ispell-add-per-file-word-list):
10230 Fix `flyspell-correct-word-before-point' error when accepting
10231 words and `coment-padding' is an integer by using
10232 `comment-normalize-vars' (Bug #14214).
10233
083850a6
FEG
102342013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10235
10236 New defun movement commands.
10237 * progmodes/python.el (python-nav--syntactically)
10238 (python-nav--forward-defun, python-nav-backward-defun)
10239 (python-nav-forward-defun): New functions.
10240
619ed6e1
FEG
102412013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10242
10243 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10244 (python-syntax-context): Use named compiler-macro for backwards
10245 compatibility with Emacs 24.x.
10246
7a1beb6c
LL
102472013-04-17 Leo Liu <sdl.web@gmail.com>
10248
10249 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10250 octave-hide-process-buffer.
10251
2d3fa3e5
SM
102522013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10253
10254 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10255 (bug#14216).
10256
7ce5be54
JPG
102572013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10258
10259 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10260 Fix adjustment of offset when receiving incomplete responses from GDB
10261 (bug#14129).
10262
351edece
SM
102632013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10264
10265 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10266 python-mode-abbrev-table.
10267 (python-skeleton-define): Adjust accordingly.
10268 (python-mode-abbrev-table): New table that inherits from it so that
10269 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10270
10271 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10272 (abbrev-symbol): Use it.
10273 (abbrev--before-point): Use it since we already handle inheritance.
10274
613f9481
LL
102752013-04-16 Leo Liu <sdl.web@gmail.com>
10276
10277 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10278 binding to info-lookup-symbol.
10279
51646b62
JB
102802013-04-16 Juanma Barranquero <lekktu@gmail.com>
10281
10282 * minibuffer.el (completion--twq-all):
10283 * term/ns-win.el (ns-initialize-window-system):
10284 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10285
efb3f01d
SM
102862013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10287
36c0a301
SM
10288 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10289 global bindings.
10290
efb3f01d
SM
10291 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10292
fb549d64
DG
102932013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10294
10295 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10296 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10297 to nil.
10298 (ruby-end-of-defun): Remove the unused arg, change the docstring
10299 to reflect that this function is only used as the value of
10300 `end-of-defun-function'.
10301 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10302 to reflect an earlier change that beginning/end-of-defun functions
10303 jump between methods in a class definition, as well as top-level
10304 functions.
10305
21e8fe2f
SM
103062013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10307
10308 * minibuffer.el (minibuffer-complete): Don't just scroll
10309 a *Completions* that's been iconified.
10310 (minibuffer-force-complete): Make sure repetitions do cycle when going
10311 through completion-in-region -> minibuffer-complete.
10312
20e527d0
AM
103132013-04-15 Alan Mackenzie <acm@muc.de>
10314
10315 Correct the placement of c-cpp-delimiters when there're #s not at
10316 col 0.
10317
10318 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10319 place a submatch around the #.
21e8fe2f
SM
10320 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10321 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
10322 on the #, not BOL.
10323
dabefae5
SM
103242013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10325
10326 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10327 (advice--member-p): New arg `name'.
10328 (advice--add-function, advice-member-p): Use it (bug#14202).
10329
85c9ab64
AM
103302013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10331
10332 Reformulate java imenu-generic-expression.
10333 The old expression contained ill formed regexps.
10334
10335 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10336 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10337 (cc-imenu-java-method-arg-regexp): New defconsts.
10338 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 10339 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
10340 handling of spaces in the regexp.
10341
0f821d99
AM
103422013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10343
10344 * textmodes/ispell.el (ispell-command-loop): Remove
10345 flyspell highlight of a word when ispell accepts it (bug #14178).
10346
eb922adf
MA
103472013-04-15 Michael Albinus <michael.albinus@gmx.de>
10348
10349 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10350 uses code from the previous `ange-ftp-run-real-handler'.
10351 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10352 only in case that function exist. This is needed for proper
10353 unloading of Tramp.
10354
4d9a0979
TH
103552013-04-15 Tassilo Horn <tsdh@gnu.org>
10356
10357 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10358
10359 * textmodes/reftex.el (reftex-compile-variables): Use it.
10360
a829b0dc
SM
103612013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10362
91e8293c
SM
10363 * files.el (normal-mode): Only use default major-mode if no other mode
10364 was specified.
10365
830aed4d
SM
10366 * emacs-lisp/trace.el (trace-values): New function.
10367
a829b0dc
SM
10368 * files.el: Allow : in local variables (bug#14089).
10369 (hack-local-variable-regexp): New var.
10370 (hack-local-variables-prop-line, hack-local-variables): Use it.
10371
7ae9f0fb
RW
103722013-04-13 Roland Winkler <winkler@gnu.org>
10373
10374 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10375 data before it gets modified by bibtex-beginning-of-entry.
10376
6646e848
RW
103772013-04-13 Roland Winkler <winkler@gnu.org>
10378
10379 * textmodes/bibtex.el (bibtex-url): Doc fix.
10380
103812013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
10382
10383 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10384 does not visit a BibTeX file, exclude it from the list of buffers
10385 returned by bibtex-initialize.
10386
0aa3616e
SB
103872013-04-13 Stephen Berman <stephen.berman@gmx.net>
10388
10389 * window.el (split-window): Remove interactive form, since as a
10390 command this function is a special case of split-window-below.
10391 Correct doc string.
10392
011cddd6
RW
103932013-04-12 Roland Winkler <winkler@gnu.org>
10394
10395 * faces.el (read-face-name): Do not override value of arg default.
10396 Allow single faces and strings as default values. Remove those
10397 elements from return value that are not faces.
10398 (describe-face): Simplify.
10399 (face-at-point): New optional args thing and multiple so that this
10400 function can provide the same functionality previously provided by
10401 read-face-name.
10402 (make-face-bold, make-face-unbold, make-face-italic)
10403 (make-face-unitalic, make-face-bold-italic, invert-face)
10404 (modify-face, read-face-and-attribute): Use face-at-point.
10405
10406 * cus-edit.el (customize-face, customize-face-other-window)
10407 * cus-theme.el (custom-theme-add-face)
10408 * face-remap.el (buffer-face-set)
10409 * facemenu.el (facemenu-set-face): Use face-at-point.
10410
f24e0036
MA
104112013-04-12 Michael Albinus <michael.albinus@gmx.de>
10412
10413 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10414
da3cda2d
TH
104152013-04-10 Tassilo Horn <tsdh@gnu.org>
10416
10417 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10418 off leading { and trailing } from field values.
10419
15e54145
SM
104202013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10421
78ce603d
SM
10422 * emacs-lisp/timer.el (timer--check): New function.
10423 (timer--time, timer-set-function, timer-event-handler): Use it.
10424 (timer-set-idle-time): Simplify.
10425 (timer--activate): CSE.
10426 (timer-event-handler): Give more info in error message.
10427 (internal-timer-start-idle): New function, moved from C.
10428
15e54145
SM
10429 * mpc.el (mpc-proc): Add `restart' argument.
10430 (mpc-proc-cmd): Use it.
10431 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10432 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10433 less often.
10434
7144c627
MY
104352013-04-10 Masatake YAMATO <yamato@redhat.com>
10436
10437 * progmodes/sh-script.el: Implement `sh-mode' own
10438 `add-log-current-defun-function' (bug#14112).
10439 (sh-current-defun-name): New function.
10440 (sh-mode): Use the function.
10441
b39792eb
BG
104422013-04-09 Bastien Guerry <bzg@gnu.org>
10443
10444 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10445
8acdeb71
SM
104462013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10447
6fcdab68
SM
10448 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10449
8acdeb71
SM
10450 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10451 timer (bug#14156).
10452
e3e7b504
NF
104532013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10454
10455 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10456 declaration.
10457
201bb296
LL
104582013-04-07 Leo Liu <sdl.web@gmail.com>
10459
10460 * pcmpl-x.el: New file.
10461
ebb19708
DA
104622013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10463
10464 Do not set x-display-name until X connection is established.
10465 This is needed to prevent from weird situation described at
10466 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10467 * frame.el (make-frame): Set x-display-name after call to
10468 window system initialization function, not before.
10469 * term/x-win.el (x-initialize-window-system): Add optional
10470 display argument and use it.
10471 * term/w32-win.el (w32-initialize-window-system):
10472 * term/ns-win.el (ns-initialize-window-system):
10473 * term/pc-win.el (msdos-initialize-window-system):
10474 Add compatible optional display argument.
10475
33bb237a
EZ
104762013-04-06 Eli Zaretskii <eliz@gnu.org>
10477
10478 * files.el (normal-backup-enable-predicate): On MS-Windows and
10479 MS-DOS compare truenames of temporary-file-directory and of the
10480 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10481 don't fail comparison by compare-strings. Also, compare file
10482 names case-insensitively on MS-Windows and MS-DOS.
10483
134abf1f
SM
104842013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10485
10486 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10487 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10488
d695cb94
DG
104892013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10490
e3e7b504
NF
10491 * whitespace.el (whitespace-color-on, whitespace-color-off):
10492 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 10493
f4ad7ea1 104942013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
10495
10496 * ispell.el (ispell-set-spellchecker-params):
10497 Really set `ispell-args' for all equivs.
10498
632556e4
SM
104992013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10500
10501 * ido.el (ido-completions): Use extra elements of ido-decorations
10502 (bug#14143).
10503 (ido-decorations): Update docstring.
10504
2a417372
MA
105052013-04-05 Michael Albinus <michael.albinus@gmx.de>
10506
10507 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10508 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10509 nil during initialization, in order not to miss changes since the
10510 file was opened. (Bug#14140)
10511
fc164b0c
LL
105122013-04-05 Leo Liu <sdl.web@gmail.com>
10513
10514 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10515
0ccecc08
JB
105162013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10517
10518 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10519
51af1aa2
GM
105202013-04-04 Glenn Morris <rgm@gnu.org>
10521
10522 * electric.el (electric-pair-inhibit-predicate): Add :version.
10523
b208ebc6
SM
105242013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10525
10526 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10527 when a package is required several times (bug#14082).
10528
f3d3eaf0
RW
105292013-04-04 Roland Winkler <winkler@gnu.org>
10530
10531 * faces.el (read-face-name): Behave as promised by the docstring.
10532 Assume that arg default is a list of faces.
10533 (describe-face): Call read-face-name with list of default faces.
10534
2575da50
TV
105352013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10536
10537 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10538 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10539 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10540 the header.
10541 (bookmark-exit-hook-internal): Save even if list is empty.
10542
397703b4
YH
105432013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10544
10545 * emacs-lisp/package.el (package-pinned-packages): New var.
10546 (package--add-to-archive-contents): Obey it (bug#14118).
10547
691e26ae
AM
105482013-04-03 Alan Mackenzie <acm@muc.de>
10549
8a621d53
JB
10550 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10551 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
10552
10553 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10554 parameter `not-in-delimiter'. Handle being inside comment opener.
10555 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10556 character in case we're typing a '*' after a '/'.
10557 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10558 instead by passing the parameter to c-state-pp-to-literal.
10559
10560 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10561 for elt. 7 of a parse state.
10562
4b725a70
PE
105632013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10564
10565 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10566 * international/latin1-disp.el, international/mule-util.el:
10567 * language/cyril-util.el, language/european.el, language/ind-util.el:
10568 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10569 * language/tibetan.el, language/viet-util.el:
10570 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10571
15c579f0
SM
105722013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10573
10574 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10575 (electric-pair-post-self-insert-function): Use it.
10576 (electric-pair-default-inhibit): New function, extracted from
10577 electric-pair-post-self-insert-function.
10578
a77e2924
RW
105792013-03-31 Roland Winkler <winkler@gnu.org>
10580
10581 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10582
2bd8a4a8
SM
105832013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10584
10585 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10586
8d3655be 105872013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
10588
10589 Un-indent after "pass" and "return" statements (Bug#13888)
10590 * progmodes/python.el (python-indent-block-enders): New var.
10591 (python-indent-calculate-indentation): Use it.
10592
8d3655be 105932013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
10594
10595 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10596 defun. Defining it as defalias could introduce too eager
10597 byte-compiler optimization. (Bug#14030)
10598
8d3655be 105992013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
10600
10601 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10602
0b1619da
LL
106032013-03-30 Leo Liu <sdl.web@gmail.com>
10604
10605 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10606 (kmacro-execute-from-register): Pass the keyboard macro to
10607 kmacro-call-macro or repeating won't work correctly.
10608
0b938190
TZ
106092013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10610
10611 * progmodes/subword.el: Back to using `forward-symbol'.
10612
10613 * subr.el (forward-whitespace, forward-symbol)
10614 (forward-same-syntax): Move from thingatpt.el.
10615
35710234
LL
106162013-03-29 Leo Liu <sdl.web@gmail.com>
10617
10618 * kmacro.el (kmacro-to-register): New command.
10619 (kmacro-execute-from-register): New function.
10620 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10621
efc0bb73
SM
106222013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10623
10624 * mpc.el: Use defvar-local and setq-local.
10625 (mpc--proc-connect): Connection failures are not bugs.
10626 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10627 (mpc-volume-map): Bind to the up-events.
10628
75a2f981
TZ
106292013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10630
10631 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10632 instead of `forward-symbol'.
10633
17c781d1
SM
106342013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10635
10636 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10637 (edebug--recursive-edit): Use it.
10638 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10639 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10640
f67bfbcf
LL
106412013-03-28 Leo Liu <sdl.web@gmail.com>
10642
10643 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10644
b59f639d
EZ
106452013-03-27 Eli Zaretskii <eliz@gnu.org>
10646
10647 * facemenu.el (list-colors-callback): New defvar.
10648 (list-colors-redisplay): New function.
10649 (list-colors-display): Install list-colors-redisplay as the
10650 revert-buffer-function. (Bug#14063)
10651
f557c1b1
SM
106522013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10653
b1da2957
SM
10654 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10655 and suffixes don't overlap (bug#14061).
10656
f557c1b1
SM
10657 * case-table.el: Use lexical-binding.
10658 (case-table-get-table): New function.
10659 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10660
002668e1
TZ
106612013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10662
10663 * progmodes/subword.el: Add `superword-mode' to do word motion
10664 over symbol_words (parallels and leverages `subword-mode' which
10665 does word motion inside MixedCaseWords).
10666
73572c72
AG
106672013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10668
78b8f320 10669 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 10670 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 10671
69b2c07e
SM
106722013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10673
10674 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10675 Change return value to be a sexp. Delay `get-buffer' to after
10676 restoring the desktop (bug#13951).
10677
08bb5ee2
LL
106782013-03-26 Leo Liu <sdl.web@gmail.com>
10679
10680 * register.el: Move semantic tag handling back to
10681 cedet/semantic/senator.el. (Bug#14052)
10682
8d4c974e
SM
106832013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10684
10685 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10686 into the prompt either (bug#13963).
10687
b234d92c
SM
106882013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10689
10690 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10691 part of "(error-foo)".
10692
ddfa3cb4
JL
106932013-03-24 Juri Linkov <juri@jurta.org>
10694
10695 * replace.el (list-matching-lines-prefix-face): New defcustom.
10696 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10697 `occur-engine' if `face-differs-from-default-p' returns t.
10698 (occur-engine): Add `,' inside backquote construct to evaluate
10699 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10700 Pass `prefix-face' to the functions `occur-context-lines' and
10701 `occur-engine-add-prefix'.
10702 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10703 `prefix-face' and propertize the prefix with `prefix-face'.
10704 (Bug#14017)
10705
7b0e2f85
LL
107062013-03-24 Leo Liu <sdl.web@gmail.com>
10707
10708 * nxml/rng-valid.el (rng-validate-while-idle)
10709 (rng-validate-quick-while-idle): Guard against deleted buffer.
10710 (Bug#13999)
10711
10712 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10713 is the last entry in kill-buffer-hook.
10714
10715 * files.el (kill-buffer-hook): Doc fix.
10716
b3082f49
DG
107172013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10718
b234d92c
SM
10719 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10720 Make it safe-local.
bde73d27 10721
b3082f49
DG
10722 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10723
a320a2db
LL
107242013-03-23 Leo Liu <sdl.web@gmail.com>
10725
7e74b0fb
LL
10726 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10727 Remove.
10728
10729 * nxml/rng-valid.el (rng-validate-mode)
10730 (rng-after-change-function, rng-do-some-validation):
10731 * nxml/rng-maint.el (rng-validate-buffer):
10732 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10733 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10734 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10735 (nxml-extend-after-change-region): Use with-silent-modifications.
10736
a320a2db
LL
10737 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10738 timer-idle-list.
10739
10740 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10741 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10742 timer-idle-list. (Bug#13999)
10743
e38e6780
JL
107442013-03-23 Juri Linkov <juri@jurta.org>
10745
10746 * info.el (info-index-match): New face.
10747 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10748 main pattern and add text properties with the new face to matches
10749 in index entries relative to the beginning of the index entry.
10750 (Bug#14015)
10751
e8cc7880
DE
107522013-03-21 Eric Ludlam <zappo@gnu.org>
10753
10754 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10755 Inhibit read only while inserting objects.
10756
9bb0d822
TZ
107572013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10758
10759 * progmodes/cfengine.el: Update docs to mention
10760 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10761 symbol motion. Remove "_" from the word syntax.
10762
aa703640
TZ
107632013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10764
10765 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10766 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10767
afff09d0
JL
107682013-03-20 Juri Linkov <juri@jurta.org>
10769
10770 * info.el (Info-next-reference-or-link)
10771 (Info-prev-reference-or-link): New functions.
10772 (Info-next-reference, Info-prev-reference): Use them.
10773 (Info-try-follow-nearest-node): Handle footnote navigation.
10774 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10775
9a1ff164
SM
107762013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10777
10778 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10779 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10780
2667d15d
PE
107812013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10782
10783 Suppress unnecessary non-ASCII chatter during build process.
10784 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10785 (batch-skkdic-convert): Suppress most of the chatter.
10786 It's not needed so much now that machines are faster,
10787 and its non-ASCII component was confusing; see Dmitry Gutov in
10788 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10789
438b0579
LL
107902013-03-20 Leo Liu <sdl.web@gmail.com>
10791
10792 * ido.el (ido-chop): Fix bug#10994.
10793
c128ab07
DG
107942013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10795
10796 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10797 Remove vars.
9a1ff164
SM
10798 (whitespace-color-on, whitespace-color-off):
10799 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 10800
0e6008c5
SM
108012013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10802
10803 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10804 remapping in mode-line.
10805 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10806
627b52b0
DG
108072013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10808
10809 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10810 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
10811 (whitespace-font-lock-keywords): Change description.
10812 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10813 the constructed keywords instead.
10814 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 10815
50c3a20b
LL
108162013-03-19 Leo Liu <sdl.web@gmail.com>
10817
10818 * progmodes/compile.el (compilation-display-error): New command.
10819 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10820 C-o. (Bug#13992)
10821
2aa2157b
PE
108222013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10823
10824 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10825
e477dbfa
JD
108262013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10827
10828 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10829
64ab82d1
MA
108302013-03-18 Michael Albinus <michael.albinus@gmx.de>
10831
10832 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10833
10834 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10835 * net/tramp-gvfs.el (top):
10836 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10837 (tramp-handle-shell-command): Use it.
10838 (tramp-dissect-file-name): Raise an error when hostname is a
10839 method name, and neither method nor user is specified.
10840
10841 * net/trampver.el: Update release number.
10842
33cef733
LL
108432013-03-18 Leo Liu <sdl.web@gmail.com>
10844
10845 Make sure eldoc can be turned off properly.
10846 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10847 eldoc-mode.
10848 (eldoc-display-message-p): Revert last change.
10849 (eldoc-display-message-no-interference-p)
10850 (eldoc-print-current-symbol-info): Tweak.
10851
2167b7b2
TH
108522013-03-18 Tassilo Horn <tsdh@gnu.org>
10853
10854 * doc-view.el (doc-view-new-window-function): Check the new window
10855 overlay's display property instead the char property of the
10856 buffer's first char. Use `with-selected-window' instead of
10857 `save-window-excursion' with `select-window'.
10858 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 10859 display property instead the char property of the buffer's first char.
2167b7b2 10860
982efbcd
PE
108612013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10862
10863 Automate the build of ja-dic.el (Bug#13984).
10864 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10865 from the input, rather than assume that it's been done for us by the
10866 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10867 the current date into a ja-dic.el comment, as that complicates
10868 regression testing.
10869
2fcc7665
SM
108702013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10871
10872 * whitespace.el: Fix double evaluation.
10873 (whitespace-space, whitespace-hspace, whitespace-tab)
10874 (whitespace-newline, whitespace-trailing, whitespace-line)
10875 (whitespace-space-before-tab, whitespace-indentation)
10876 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10877 obsolete defvars.
10878 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10879 (whitespace-color-on): Use a single font-lock-add-keywords call.
10880 Fix double-evaluation of face variables.
10881
67c0a6e6
MA
108822013-03-17 Michael Albinus <michael.albinus@gmx.de>
10883
2fcc7665
SM
10884 * net/tramp-adb.el (tramp-adb-parse-device-names):
10885 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 10886 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 10887
69489f1d
LL
108882013-03-17 Leo Liu <sdl.web@gmail.com>
10889
10890 Extend eldoc to display info in the mode-line. (Bug#13978)
10891 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10892 (eldoc-mode-line-string): New variable.
10893 (eldoc-minibuffer-message): New function.
10894 (eldoc-message-function): New variable.
10895 (eldoc-message): Use it.
10896 (eldoc-display-message-p)
2fcc7665
SM
10897 (eldoc-display-message-no-interference-p):
10898 Support eldoc-post-insert-mode.
69489f1d
LL
10899
10900 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10901 (eval-expression): Run it.
10902
9c44569e
RW
109032013-03-17 Roland Winkler <winkler@gnu.org>
10904
10905 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10906 strings in the list of return values.
10907
327f1f6f
JB
109082013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10909
10910 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10911 radix before checking for HMS forms.
10912
67ed8fcd
LL
109132013-03-16 Leo Liu <sdl.web@gmail.com>
10914
10915 * progmodes/scheme.el: Add indentation and font-locking for λ.
10916 (Bug#13975)
10917
78be8b64 109182013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
10919
10920 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10921 token before point (bug#13942).
10922
78be8b64 109232013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 10924
95b43468 10925 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 10926
98e775e6
EZ
109272013-03-16 Eli Zaretskii <eliz@gnu.org>
10928
10929 * startup.el (command-line-normalize-file-name): Fix handling of
10930 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10931 <xfq.free@gmail.com> in
10932 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10933
2edd6029
MA
109342013-03-15 Michael Albinus <michael.albinus@gmx.de>
10935
10936 Sync with Tramp 2.2.7.
10937
10938 * net/trampver.el: Update release number.
10939
d35f5864
TH
109402013-03-14 Tassilo Horn <tsdh@gnu.org>
10941
e903c210 10942 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
10943 (doc-view-insert-image): Don't modify overlay associated to
10944 non-live windows, and implement horizontal centering of image in
10945 case it's smaller than the window.
10946 (doc-view-new-window-function): Force redisplay of new windows on
10947 doc-view buffers.
d35f5864 10948
1c4a85ed
KF
109492013-03-13 Karl Fogel <kfogel@red-bean.com>
10950
10951 * saveplace.el (save-place-alist-to-file): Don't sort
10952 `save-place-alist', just pretty-print it (bug#13882).
10953
85b66a21
MA
109542013-03-13 Michael Albinus <michael.albinus@gmx.de>
10955
a020afb9
JB
10956 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10957 Check whether `default-file-name-coding-system' is bound.
10958 It isn't in XEmacs.
85b66a21 10959
175600da
SM
109602013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10961
e7f7cb1a
SM
10962 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10963 backquotes for `obsolete' (bug#13929).
10964
175600da
SM
10965 * international/mule.el (find-auto-coding): Include file name in
10966 obsolescence warning (bug#13922).
10967
ca68a22e
TZ
109682013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10969
10970 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10971 for CFEngine 3-specific indentation.
10972 (cfengine3-indent-line): Use it. Fix up category regex.
10973 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10974
940e5099
SM
109752013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10976
10977 * type-break.el (type-break-file-name):
10978 * textmodes/remember.el (remember-data-file):
10979 * strokes.el (strokes-file):
10980 * shadowfile.el (shadow-initialize):
10981 * saveplace.el (save-place-file):
10982 * ps-bdf.el (bdf-cache-file):
10983 * progmodes/idlwave.el (idlwave-config-directory):
10984 * net/quickurl.el (quickurl-url-file):
10985 * international/kkc.el (kkc-init-file-name):
10986 * ido.el (ido-save-directory-list-file):
10987 * emulation/viper.el (viper-custom-file-name):
10988 * emulation/vip.el (vip-startup-file):
10989 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10990 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10991
cc725808
PE
109922013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10993
10994 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10995 * language/thai-word.el: Switch to UTF-8.
10996
a020afb9 10997See ChangeLog.16 for earlier changes.
e3d51b27
MR
10998
10999;; Local Variables:
11000;; coding: utf-8
e3d51b27
MR
11001;; End:
11002
ab422c4d 11003 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
11004
11005 This file is part of GNU Emacs.
11006
11007 GNU Emacs is free software: you can redistribute it and/or modify
11008 it under the terms of the GNU General Public License as published by
11009 the Free Software Foundation, either version 3 of the License, or
11010 (at your option) any later version.
11011
11012 GNU Emacs is distributed in the hope that it will be useful,
11013 but WITHOUT ANY WARRANTY; without even the implied warranty of
11014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11015 GNU General Public License for more details.
11016
11017 You should have received a copy of the GNU General Public License
11018 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.