Have display-buffer-below-selected never split window horizontally.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
f93cc74f
MR
12013-12-14 Martin Rudalics <rudalics@gmx.at>
2
3 * window.el (display-buffer-below-selected): Never split window
4 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5
f77d7d17
TW
62013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
7
8 * emacs-lisp/package.el (package--prepare-dependencies): New function.
9 (package-buffer-info): Use it (bug#15108).
aa2bddd7
SM
10
11 * icomplete.el (icomplete-completions): Make sure the prefix is already
12 displayed elsewhere before hiding it.
13
276bc333
DG
142013-12-14 Dmitry Gutov <dgutov@yandex.ru>
15
16 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
17 open-paren tokens when preceded by a open-paren, too.
18 (ruby-smie-rules): Handle virtual indentation after open-paren
19 tokens specially. If there is code between it and eol, return the
20 column where is starts (Bug#16118).
21
d43957f3
TZ
222013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
23
a5c1ac0c 24 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 25 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
26 (cfengine3--current-word): Fix parameters.
27 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
28 (cfengine3-completion-function, cfengine3--current-function):
29 Use `assq' for symbols.
d43957f3
TZ
30 (cfengine3--current-function): Fix `cfengine3--current-word' call.
31
06a4f110
GM
322013-12-13 Glenn Morris <rgm@gnu.org>
33
34 * loadup.el (load-path): Warn if site-load or site-init changes it.
35 No more need to reset it when bootstrapping.
36
978a5fda
TZ
372013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
38
39 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
40 locations for cf-promises.
41 (cfengine-mode-syntax-functions-regex): New caching variable.
42 (cfengine3-fallback-syntax): Fallback syntax for cases where
43 cf-promises doesn't run.
44 (cfengine3--current-word): Reimplement using
45 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
46 (cfengine3-completion-function, cfengine3--current-function):
47 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
48 (cfengine3-clear-syntax-cache): New function.
49 (cfengine3-make-syntax-cache): Simplify and create
50 `cfengine-mode-syntax-functions-regex' on demand.
51 (cfengine3-format-function-docstring): Don't call
52 `cfengine3-make-syntax-cache' explicitly.
53
71e6691e
MR
542013-12-13 Martin Rudalics <rudalics@gmx.at>
55
56 Fix windmove-find-other-window broken after pixelwise resizing
57 (Bug#16017).
58 * windmove.el (windmove-other-window-loc): Revert change from
59 2013-12-04.
60 (windmove-find-other-window): Call window-in-direction.
61 * window.el (window-in-direction): New arguments SIGN, WRAP and
62 MINI to emulate original windmove-find-other-window behavior.
63
84c73ba0
DG
642013-12-13 Dmitry Gutov <dgutov@yandex.ru>
65
66 * simple.el (blink-matching--overlay): New variable.
67 (blink-matching-open): Instead of moving point, highlight the
68 matching paren with an overlay
69 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
70
71 * faces.el (paren-showing-faces, show-paren-match)
72 (show-paren-mismatch): Move from paren.el.
73
b9e20952
LL
742013-12-13 Leo Liu <sdl.web@gmail.com>
75
76 * indent.el (indent-region): Disable progress reporter in
77 minibuffer. (Bug#16108)
78
79 * bindings.el (visual-order-cursor-movement): Fix version.
80
ce030451
FEG
812013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
82
83 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
84 Also match after beginning of line.
85 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
86 files. Thanks to Russell Sim. (Bug#15378)
87
4a9c6865
JL
882013-12-13 Juri Linkov <juri@jurta.org>
89
90 * simple.el <Keypad support>: Remove key bindings duplicated
91 with bindings.el. (Bug#14397)
92
2bc170c3
JL
932013-12-13 Juri Linkov <juri@jurta.org>
94
95 * comint.el (comint-mode-map): Replace `delete-char' with
96 `delete-forward-char'. (Bug#16109)
97
bc9222c9
FEG
982013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
99
aa2bddd7
SM
100 * progmodes/python.el (python-indent-calculate-indentation):
101 Fix de-denters cornercase. (Bug#15731)
bc9222c9 102
cb3a1380
SM
1032013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
104
105 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
106 (advice--make): Pay attention to `depth'.
107 (advice--make-1): Don't autoload commands eagerly.
108 * emacs-lisp/elp.el (elp-instrument-function):
109 * emacs-lisp/trace.el (trace-function-internal):
110 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
111
112 * iswitchb.el (iswitchb-mode): Don't belittle ido.
113
01633a17
EZ
1142013-12-12 Eli Zaretskii <eliz@gnu.org>
115
116 * term/w32-win.el (w32-handle-dropped-file):
117 * startup.el (normal-top-level):
118 * net/browse-url.el (browse-url-file-url):
119 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
120 decode file names using 'utf-8' rather than
121 file-name-coding-system.
122
09faee72
FEG
1232013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
124
125 * progmodes/python.el (python-indent-context)
126 (python-indent-calculate-indentation): Fix auto-identation
127 behavior for comment blocks. (Bug#15916)
128
f4f84024 1292013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 130
cb3a1380
SM
131 * progmodes/python.el (python-indent-calculate-indentation):
132 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
133 operators when they are just string constituents. (Bug#15812)
134
d5ccb7be
JL
1352013-12-12 Juri Linkov <juri@jurta.org>
136
137 * uniquify.el (uniquify-buffer-name-style): Change default to
138 `post-forward-angle-brackets'.
139
140 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
141 `uniquify'. Change default to `post-forward-angle-brackets'.
142
7b3f5679
GM
1432013-12-11 Glenn Morris <rgm@gnu.org>
144
145 * emacs-lisp/package.el (finder-list-matches):
146 Autoload rather than falsely declaring.
147
f4fe8fdd
TZ
1482013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
149
150 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
151 (eww-mode-map): Use them.
152
3c29190f
MR
1532013-12-11 Martin Rudalics <rudalics@gmx.at>
154
155 * window.el (display-buffer-in-side-window): Fix doc-string
156 (Bug#16115).
157
0cd616a2
JB
1582013-12-11 Juanma Barranquero <lekktu@gmail.com>
159
160 * vc/vc-git.el: Silence byte-compiler warnings.
161 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
162 (log-edit-set-header): Declare.
163
3ef8e0d1
EZ
1642013-12-11 Eli Zaretskii <eliz@gnu.org>
165
166 * Makefile.in (custom-deps, finder-data): Run output file names
167 through unmsys--file-name. (Bug#16099)
168
afdadaf7
SM
1692013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
170
7ae3ae39 171 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 172 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 173
5b4f37ab
SM
174 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
175 instead of deleting the selection "by hand" (bug#16098).
176 Rely on insert-for-yank to yank rectangles.
177 (cua-highlight-region-shift-only): Mark obsolete.
178 (cua-mode): Don't enable/disable transient-mark-mode,
179 shift-select-mode (cua-mode works both with and without them), and
180 pc-selection-mode (obsolete).
181 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
182 (cua--deactivate-rectangle): Deactivate it.
183
4b72c12b
SM
184 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
185 (delete-selection-helper): Make sure yank starts at the top of the
186 deleted region.
187 (minibuffer-keyboard-quit): Use region-active-p.
188
e82af72d
SM
189 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
190
afdadaf7
SM
191 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
192 to `delete' (bug#16109).
193
ed4bc201
RS
1942013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
195
196 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
197 info manual and show keybindings and set `:group' keyword.
198
bb8097b9
JL
1992013-12-11 Juri Linkov <juri@jurta.org>
200
201 * delsel.el (delete-active-region): Let-bind `this-command'
202 to prevent `kill-region' from changing its original value.
203 (delete-selection-helper): Handle `overwrite-mode' for the type
204 `kill' exactly the same way as for the type `t'.
205 (insert-char, quoted-insert, reindent-then-newline-and-indent):
206 Support more commands. (Bug#13312)
207
c1916ff5
JL
2082013-12-11 Juri Linkov <juri@jurta.org>
209
210 * bindings.el: Map kp keys to non-kp keys systematically
211 with basic modifiers control, meta and shift. (Bug#14397)
212
b68cf43c
KN
2132013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
214
215 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
216 "Close browser" menu items. Fix wrong function of "List
217 bookmarks".
218
4cc51eaf
JL
2192013-12-11 Juri Linkov <juri@jurta.org>
220
221 * misearch.el (multi-isearch-buffers): Set the value of
222 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
223 arg of isearch-forward to t.
224 (multi-isearch-buffers-regexp): Set the value of
225 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
226 arg of isearch-forward-regexp to t.
227 (multi-isearch-files): Set the value of
228 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
229 arg of isearch-forward to t.
230 (multi-isearch-files-regexp): Set the value of
231 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
232 arg of isearch-forward-regexp to t. (Bug#16035)
233
234 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
235 arg of isearch-forward to t.
236 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
237 arg of isearch-forward-regexp to t.
238 (dired-isearch-filter-filenames): Remove unnecessary check for
239 `dired-isearch-filenames'.
240
241 * comint.el (comint-history-isearch-backward):
242 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
243 (comint-history-isearch-backward-regexp):
244 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
245
ceac12b7
EZ
2462013-12-10 Eli Zaretskii <eliz@gnu.org>
247
248 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
249 unmsys--file-name. (Bug#16099)
250
5a565782
TZ
2512013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
252
cb3a1380
SM
253 * emacs-lisp/package.el (package-keyword-button-action):
254 Remove finder.el require dependency.
5a565782 255
a81fc7ba
TZ
2562013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
257
258 * emacs-lisp/package.el: Require finder.el.
259 (describe-package-1): Add keyword buttons.
260 (package-make-button): New convenience function.
261 (package-keyword-button-action): Keyword button action using
262 `finder-list-matches'
263
6aaca951
EZ
2642013-12-09 Eli Zaretskii <eliz@gnu.org>
265
266 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
267 last commit.
268
a1099a91
MA
2692013-12-09 Michael Albinus <michael.albinus@gmx.de>
270
271 * autorevert.el (auto-revert-notify-add-watch): Do not handle
272 symlinked files.
273
8212d9c0
DG
2742013-12-09 Dmitry Gutov <dgutov@yandex.ru>
275
276 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
277 after the end of a percent literal.
278
8f48d131
CD
2792013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
280
cb3a1380
SM
281 * progmodes/ruby-mode.el (ruby-forward-string): Document.
282 Handle caret-delimited strings (Bug#16079).
8f48d131 283
ff8c9764
DG
2842013-12-09 Dmitry Gutov <dgutov@yandex.ru>
285
cb3a1380
SM
286 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
287 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
288 `ruby-parse-partial' (Bug#16078).
289
d64643b4
LL
2902013-12-09 Leo Liu <sdl.web@gmail.com>
291
292 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
293
47e59c66
DG
2942013-12-08 Dmitry Gutov <dgutov@yandex.ru>
295
296 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
297 (js-switch-indent-offset): New option.
298 (js--proper-indentation): Use it. And handle the case when
299 "default" is actually a key in an object literal.
300 (js--same-line): New function.
301 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
302 (js--indent-in-array-comp, js--array-comp-indentation):
303 New functions.
47e59c66
DG
304 (js--proper-indentation): Use them, to handle array comprehension
305 continuations.
306
974ebc9c
LL
3072013-12-08 Leo Liu <sdl.web@gmail.com>
308
309 * progmodes/flymake.el (flymake-highlight-line): Re-write.
310 (flymake-make-overlay): Remove arg MOUSE-FACE.
311 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
312
27262e39
SM
3132013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
314
315 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
316 New function.
317 (redisplay-highlight-region-function): Use it.
318
319 * emulation/cua-base.el (cua--explicit-region-start)
320 (cua--last-region-shifted): Remove.
321 (cua--deactivate): Use deactivate-mark.
322 (cua--pre-command-handler-1): Don't handle shift-selection.
323 (cua--post-command-handler-1): Don't change transient-mark-mode.
324 (cua--select-keymaps): Use region-active-p rather than
325 cua--explicit-region-start or cua--last-region-shifted.
326 (cua-mode): Enable shift-select-mode.
327
6407822c
LL
3282013-12-08 Leo Liu <sdl.web@gmail.com>
329
27262e39
SM
330 * progmodes/flymake.el (flymake-popup-current-error-menu):
331 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
332 (flymake-posn-at-point-as-event, flymake-popup-menu)
333 (flymake-make-emacs-menu): Remove. (Bug#16077)
334
00a2b823
SM
3352013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
336
02033d49
SM
337 * rect.el (rectangle-mark-mode): Activate mark even if
338 transient-mark-mode is off (bug#16066).
339 (rectangle--highlight-for-redisplay): Fix boundary condition when point
340 is > mark and at bolp.
341
6f8dfccf
SM
342 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
343 (region-extract-function): Use it.
344 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
345 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
346 Delete functions.
347 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
348 kill-ring-save, kill-region, delete-char, delete-forward-char.
349 Ignore self-insert-iso.
350
351 * emulation/cua-gmrk.el (cua--init-global-mark):
352 Ignore `self-insert-iso'.
353
354 * emulation/cua-base.el (cua--prefix-copy-handler)
355 (cua--prefix-cut-handler): Rely on region-extract-function rather than
356 checking cua--rectangle.
357 (cua-delete-region): Use region-extract-function.
358 (cua-replace-region): Delete function.
359 (cua-copy-region, cua-cut-region): Obey region-extract-function.
360 (cua--pre-command-handler-1): Don't do the delete-selection thing.
361 (cua--self-insert-char-p): Ignore `self-insert-iso'.
362 (cua--init-keymaps): Don't remap delete-selection commands.
363 (cua-mode): Use delete-selection-mode instead of rolling our own
364 (bug#16085).
365
366 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
367 Obey region-extract-function.
368
00a2b823
SM
369 Make registers and delete-selection-mode work on rectangles.
370 * register.el (describe-register-1): Don't modify the register's value.
371 (copy-to-register): Obey region-extract-function.
372 * delsel.el (delete-active-region): Obey region-extract-function.
373
a92fa5f1
LL
3742013-12-08 Leo Liu <sdl.web@gmail.com>
375
376 * progmodes/flymake.el (flymake, flymake-error-bitmap)
377 (flymake-warning-bitmap, flymake-fringe-indicator-position)
378 (flymake-compilation-prevents-syntax-check)
379 (flymake-start-syntax-check-on-newline)
380 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
381 (flymake-start-syntax-check-on-find-file, flymake-log-level)
382 (flymake-xml-program, flymake-master-file-dirs)
383 (flymake-master-file-count-limit)
384 (flymake-allowed-file-name-masks): Relocate.
385 (flymake-makehash, flymake-float-time)
386 (flymake-replace-regexp-in-string, flymake-split-string)
387 (flymake-get-temp-dir): Remove.
388 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
389 (flymake-current-row, flymake-selected-frame)
390 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
391 related functions. (Bug#16077)
392
73c8ceea
BB
3932013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
394
395 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
396
faec28d9
TH
3972013-12-07 Tassilo Horn <tsdh@gnu.org>
398
399 * help-fns.el (describe-function-1): Use new advice-* functions
400 rather than old ad-* functions. Fix function type description and
401 source links for advised functions and subrs.
402
e330b646
LMI
4032013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
404
00a2b823 405 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 406
4803595d
MA
4072013-12-06 Michael Albinus <michael.albinus@gmx.de>
408
409 * progmodes/compile.el (compilation-start):
410 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
411
412 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
413 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
414
fa834a93
DG
4152013-12-06 Dmitry Gutov <dgutov@yandex.ru>
416
00a2b823
SM
417 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
418 Touch up the last change.
fa834a93 419
b2856a6f
LL
4202013-12-06 Leo Liu <sdl.web@gmail.com>
421
422 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
423 (inferior-octave-startup): Always use "octave> " for prompt.
424 (octave-goto-function-definition)
425 (octave-sync-function-file-names)
426 (octave-find-definition-default-filename): Remove redundant backquotes.
427
af67e79a
DG
4282013-12-06 Dmitry Gutov <dgutov@yandex.ru>
429
430 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
431 syntax for `?'.
432 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
433 where appropriate already.
434 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
435 end of method names (Bug#15874).
436
bf093209
JL
4372013-12-06 Juri Linkov <juri@jurta.org>
438
439 * isearch.el (isearch--saved-overriding-local-map):
440 New internal variable.
441 (isearch-mode): Set it to the initial value of
442 `overriding-terminal-local-map'.
443 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
444 with `isearch--saved-overriding-local-map'. (Bug#16035)
445
16588fad
DG
4462013-12-06 Dmitry Gutov <dgutov@yandex.ru>
447
00a2b823
SM
448 * progmodes/octave.el (inferior-octave-completion-table):
449 Turn back into function, use `completion-table-with-cache'
16588fad
DG
450 (Bug#11906). Update all references.
451
452 * minibuffer.el (completion-table-with-cache): New function.
453
bf4906d7
CD
4542013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
455
456 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
457
ff69c18f
TZ
4582013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
459
460 * net/eww.el (eww-current-source): New variable to store page
461 source.
462 (eww-display-html, eww-mode, eww-save-history)
463 (eww-restore-history): Use it.
464 (eww-view-source): New command to view page source.
465 Opportunistically uses `html-mode' to highlight the buffer.
466 (eww-mode-map): Install it.
467
b85eff45
MA
4682013-12-05 Michael Albinus <michael.albinus@gmx.de>
469
470 * net/dbus.el (dbus-unregister-service)
471 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
472 Fix docstring.
473 (dbus-unregister-service): Skip :serial entries in
474 `dbus-registered-objects-table'.
475 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
476
39eb0899
TZ
4772013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
478
479 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
480 around keywords with extra `split-string' argument.
481
456760a5
MR
4822013-12-04 Martin Rudalics <rudalics@gmx.at>
483
484 * windmove.el (windmove-other-window-loc): Handle navigation
485 between windows (excluding the minibuffer window - Bug#16017).
486
81961e4c
MA
4872013-12-04 Michael Albinus <michael.albinus@gmx.de>
488
489 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
490 in D-Bus type syntax.
491 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
492 preserve unibyte strings. (Bug#16048)
493
8497f938
SM
4942013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
495
496 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
497 Call force-mode-line-update is the proper buffer (bug#16042).
498
dda61916
DG
4992013-12-04 Dmitry Gutov <dgutov@yandex.ru>
500
501 * vc/log-edit.el (log-edit-add-new-comment): Rename to
502 `log-edit-remember-comment', make argument optional. Adjust all
503 callers.
504 (log-edit-mode): Add `log-edit-remember-comment' to
505 `kill-buffer-hook' locally.
506 (log-edit-kill-buffer): Don't remember comment explicitly since
507 the buffer is killed anyway.
508
c085e5b9
JL
5092013-12-04 Juri Linkov <juri@jurta.org>
510
511 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
512 add-hook and remove-hook for multi-buffer search. (Bug#16035)
513
d6f2380e
TR
5142013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
515
516 * notifications.el (notifications-close-notification): Call the
81961e4c 517 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 518
39fa32d6
KY
5192013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
520
521 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
522
9139632a
JL
5232013-12-03 Juri Linkov <juri@jurta.org>
524
525 * progmodes/compile.el (compilation-start): Rename window alist
526 entry `no-display-ok' to `allow-no-window'.
527
528 * simple.el (shell-command): Add window alist entry
529 `allow-no-window' to `display-buffer'.
530 (async-shell-command): Doc fix.
531
532 * window.el (display-buffer-no-window): New action function.
533 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
534
0f457a37
DG
5352013-12-02 Dmitry Gutov <dgutov@yandex.ru>
536
537 * vc/log-edit.el (log-edit-set-header): Extract from
538 `log-edit-toggle-header'.
539 (log-edit-extract-headers): Separate the summary, when extracted
540 from header, from the rest of the message with an empty line.
541
542 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
543 line, if present, to the Summary header.
544
0962f376
SM
5452013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
546
547 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
548 in current-buffer (bug#16029).
549
f345395c
HE
5502013-12-02 Helmut Eller <eller.helmut@gmail.com>
551
552 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
553 (debugger-mode-map): Bind it.
554 (debugger--backtrace-base): New function.
555 (debugger-eval-expression): Use it.
556 (debugger-frame-number): Skip local vars when present.
557 (debugger--locals-visible-p, debugger--insert-locals)
558 (debugger--show-locals, debugger--hide-locals): New functions.
559
a8a15d9d
MA
5602013-12-02 Michael Albinus <michael.albinus@gmx.de>
561
562 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
563 "LC_ALL".
564 (tramp-get-remote-locale): New defun.
565 (tramp-open-connection-setup-interactive-shell): Use it.
566
0518b057
LL
5672013-12-02 Leo Liu <sdl.web@gmail.com>
568
569 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
570
571 * progmodes/sh-script.el (sh-shell-process):
572 * progmodes/octave.el (inferior-octave-process-live-p):
573 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
574 (gdb-inferior-io-sentinel):
575 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
576
3adc9c6d
DG
5772013-12-02 Dmitry Gutov <dgutov@yandex.ru>
578
579 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
580 `save-selected-window' to `log-edit-hide-buf'. This makes
581 `log-edit-show-files' idempotent.
582 (log-edit-show-files): Mark the new window as dedicated.
583
47e8b74e
DG
5842013-12-02 Dmitry Gutov <dgutov@yandex.ru>
585
586 * vc/log-edit.el (log-edit-mode-map): Add binding for
587 `log-edit-kill-biffer'.
588 (log-edit-hide-buf): Add a FIXME comment.
589 (log-edit-add-new-comment): New function, extracted from
590 `log-edit-done'.
591 (log-edit-done, log-edit-add-to-changelog): Use it.
592 (log-edit-kill-buffer): New command.
593
1f6e1bb0
LMI
5942013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
595
596 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
597 instead of killing the buffer.
598
fb651d15
SM
5992013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
600
601 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
602
8feacce0
RS
6032013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
604
fb651d15 605 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 606 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
607 (eww-form-checkbox, eww-toggle-checkbox):
608 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
609
610 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
611 (shr--get-media-pref, shr--extract-best-source): New function.
ad9a773c
RS
612 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
613 no :src tag was specified.
614
fb651d15 615 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
616 (eww-render): Handle `eww-use-external-browser-for-content-type'.
617 Use \\` to match beginning of string instead of ^.
618 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 619 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 620
177948a5
RS
621 * net/shr.el (shr-tag-video): Display content for video if no
622 poster is available.
eb2dd24d 623 (shr-tag-audio): Add support for <audio> tag.
177948a5
RS
624
625 * net/eww.el (eww-text-input-types): : New const.
626 (eww-process-text-input): Treat input types in
627 `eww-text-input-types' as text.
628
8feacce0
RS
629 * net/shr.el (shr-tag-table): Fix comment typo.
630
513562a1
LMI
6312013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
632
633 * net/eww.el (eww-follow-link): New command to avoid reloading
634 pages when we follow #target links (bug#15243).
de8a5633 635 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 636
9dd99753
KN
6372013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
638
639 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
640 forms.
641
3e9876de
LMI
6422013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
643
644 * net/eww.el (eww-restore-history): Update the window title after
645 moving in the history.
ab6dea82 646 (eww-current-dom): New variable used to save the current DOM.
3e9876de 647
52789f7f
DG
6482013-12-01 Dmitry Gutov <dgutov@yandex.ru>
649
650 * vc/log-edit.el (log-edit-mode-map): Add binding for
651 `log-edit-beginning-of-line'.
652 (log-edit-setup-add-author): New user option.
653 (log-edit-beginning-of-line): New command.
654 (log-edit): Move major mode call above the contents setup so that
655 the local variable values are already applied.
656 (log-edit): Only insert "Author: " when
657 `log-edit-setup-add-author' is non-nil.
658 (log-edit): When SETUP is non-nil, position point after ": "
659 instead of point-min.
660
2e6710c3
GM
6612013-12-01 Glenn Morris <rgm@gnu.org>
662
663 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
664
fadec31f
EZ
6652013-11-30 Eli Zaretskii <eliz@gnu.org>
666
667 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 668 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
669 visible. (Bug#16014)
670
10634b40 6712013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
672
673 Support resizing frames and windows pixelwise.
674 * cus-start.el (frame-resize-pixelwise)
675 (window-resize-pixelwise): New entries.
676 * emacs-lisp/debug.el (debug): Use window-total-height instead
677 of window-total-size.
678 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
679 * help.el (describe-bindings-internal): Call help-buffer
680 (temp-buffer-max-width): New option.
681 (resize-temp-buffer-window, help-window-setup)
682 (with-help-window): Rewrite.
683 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
684 dragging dividers.
685 * window.el (frame-char-size, window-min-pixel-height)
686 (window-safe-min-pixel-height, window-safe-min-pixel-width)
687 (window-min-pixel-width, window-safe-min-pixel-size)
688 (window-combination-p, window-safe-min-size)
689 (window-resizable-p, window--size-to-pixel)
690 (window--pixel-to-size, window--resize-apply-p): New functions.
691 (window-safe-min-height): Fix doc-string.
692 (window-size, window-min-size, window--min-size-1)
693 (window-sizable, window-sizable-p, window--min-delta-1)
694 (window-min-delta, window--max-delta-1, window-max-delta)
695 (window--resizable, window--resizable-p, window-resizable)
696 (window-full-height-p, window-full-width-p, window-at-side-p)
697 (window--in-direction-2, window-in-direction)
698 (window--resize-reset-1, window--resize-mini-window)
699 (window-resize, window-resize-no-error)
700 (window--resize-child-windows-normal)
701 (window--resize-child-windows, window--resize-siblings)
702 (window--resize-this-window, window--resize-root-window)
703 (window--resize-root-window-vertically)
704 (adjust-window-trailing-edge, enlarge-window, shrink-window)
705 (maximize-window, minimize-window, delete-window)
706 (quit-restore-window, window-split-min-size, split-window)
707 (balance-windows-2, balance-windows)
708 (balance-windows-area-adjust, balance-windows-area)
709 (window--state-get-1, window-state-get, window--state-put-1)
710 (window--state-put-2, window-state-put)
fb651d15
SM
711 (display-buffer-record-window, window--display-buffer):
712 Make functions handle pixelwise sizing of windows.
880e6158 713 (display-buffer--action-function-custom-type)
fb651d15
SM
714 (display-buffer-fallback-action):
715 Add display-buffer-in-previous-window.
880e6158
MR
716 (display-buffer-use-some-window): Resize window to height it had
717 before.
718 (fit-window-to-buffer-horizontally): New option.
719 (fit-frame-to-buffer): Describe new values.
720 (fit-frame-to-buffer-bottom-margin): Replace with
721 fit-frame-to-buffer-margins.
722 (window--sanitize-margin): New function.
723 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
724 using window-text-pixel-size.
725
f9b697dd
GM
7262013-11-30 Glenn Morris <rgm@gnu.org>
727
3e2fb4db
GM
728 * emacs-lisp/bytecomp.el (byte-compile-form):
729 Make the `interactive-only' warning like the `obsolete' one.
730 * comint.el (comint-run):
731 * files.el (insert-file-literally, insert-file):
732 * replace.el (replace-string, replace-regexp):
733 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
734 (goto-line, insert-buffer, next-line, previous-line):
735 Tweak `interactive-only' spec.
736
f9b697dd
GM
737 Stop keeping (most) generated cedet grammar files in the repository.
738 * Makefile.in (semantic): New.
739 (compile-main): Depend on semantic.
740
da048127
SM
7412013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
742
7784b779
SM
743 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
744 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
745
4e36a6a6
SM
746 * uniquify.el (uniquify-buffer-name-style): Change default.
747
748 * loadup.el: Preload "uniquify".
749
e0ba1308
SM
750 * time.el (display-time-update): Update all mode lines (bug#15999).
751
da048127
SM
752 * electric.el (electric-indent-mode): Enable by default.
753 * loadup.el: Preload "electric".
754
015b3b3e
BB
7552013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
756
757 * emacs-lisp/helpers.el (string-empty-p): New function.
758 (string-blank-p): New function.
759
7efb806d
AP
7602013-11-29 Andreas Politz <politza@hochschule-trier.de>
761
762 * imenu.el (imenu--index-alist): Add missing dot to the docstring
763 (Bug#14029).
764
c8f0efc2
AP
7652013-11-29 Andreas Politz <politza@fh-trier.de>
766 * imenu.el (imenu--subalist-p): Don't error on non-conses and
767 allow non-lambda lists as functions.
768 (imenu--in-alist): Don't recurse into non-subalists.
769 (imenu): Don't pass function itself as an argument (Bug#14029).
770
bd15d9d1
SM
7712013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
772
773 * progmodes/python.el (python-mode-map): Remove binding for ":".
774 (python-indent-electric-colon): Remove command.
775 (python-indent-post-self-insert-function): Integrate the previous code
776 of python-indent-electric-colon. Make it conditional on
777 electric-indent-mode.
778 (python-mode): Add ?: to electric-indent-chars.
779 Move python-indent-post-self-insert-function to the end of
780 post-self-insert-hook.
781
1b10adb6
SM
7822013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
783
655ab9a3
SM
784 * doc-view.el (doc-view-goto-page): Update mode-line.
785
1b10adb6
SM
786 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
787
7e3bf78c
GM
7882013-11-27 Glenn Morris <rgm@gnu.org>
789
790 * international/charprop.el, international/uni-bidi.el:
791 * international/uni-category.el, international/uni-combining.el:
792 * international/uni-comment.el, international/uni-decimal.el:
793 * international/uni-decomposition.el, international/uni-digit.el:
794 * international/uni-lowercase.el, international/uni-mirrored.el:
795 * international/uni-name.el, international/uni-numeric.el:
796 * international/uni-old-name.el, international/uni-titlecase.el:
797 * international/uni-uppercase.el:
798 Remove generated files from VCS repository.
799
fb6a5d68
EZ
8002013-11-27 Eli Zaretskii <eliz@gnu.org>
801
802 * filenotify.el (file-notify-add-watch): Don't special-case
803 w32notify when computing the directory to watch.
804
cb6c95a3
GM
8052013-11-27 Glenn Morris <rgm@gnu.org>
806
20372d0c
GM
807 Make bootstrap without generated uni-*.el files possible again.
808 * loadup.el: Update command-line-args checking for unidata-gen.
809 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
810 * composite.el, international/characters.el:
811 Handle unicode tables being undefined.
812
52d6635f 813 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
814 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
815 (compile-main): Depend on leim rule.
816 (leim): New rule.
817 * loadup.el: Move leim-list.el to leim/ subdirectory.
818 * startup.el (normal-top-level): No more leim directory.
819 * international/ja-dic-cnv.el (skkdic-convert):
820 Disable version-control and autoloads in output files.
821 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
822 Disable version-control and autoloads in output files.
823 * leim/quail: Move here from ../leim.
824 * leim/quail/hangul.el (hangul-input-method-activate):
825 Add autoload cookie.
826 (generated-autoload-load-name): Set file-local value.
827 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
828 (generated-autoload-load-name): Set file-local value.
829
0449d6cd 8302013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee
TZ
831
832 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
833 (eww-add-bookmark): ask confirmation when add to bookmarks
834 (eww-quit): ask confirmation before quitting eww
835
0e2c793f
EZ
8362013-11-26 Eli Zaretskii <eliz@gnu.org>
837
838 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
839 reading output from Diff on MS-Windows and MS-DOS.
840
447bdcb8
BB
8412013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
842
843 * emacs-lisp/helpers.el (string-reverse): New function.
844
5fbf6856
MA
8452013-11-26 Michael Albinus <michael.albinus@gmx.de>
846
847 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
848 names on MS Windows, like "/[::1]:".
849
850 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
851 SWITCHES.
852
624780f0
GM
8532013-11-26 Glenn Morris <rgm@gnu.org>
854
0bf3f0fa
GM
855 * progmodes/python.el (python-indent-guess-indent-offset):
856 Avoid corner-case error. (Bug#15975)
857
624780f0
GM
858 Preload leim-list.el. (Bug#4789)
859 * loadup.el: Load leim-list.el when found.
860 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
861
4301875e 8622013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
863
864 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
865
4301875e
BB
866 * emacs-lisp/helpers.el (string-join): New function.
867
1633a815 8682013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
869
870 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
871 Mark as obsolete and replace it with a symbol property.
872 (byte-compile-form): Use new 'interactive-only property.
873 * comint.el, files.el, replace.el, simple.el:
874 Apply new 'interactive-only properly.
875
00139435
MR
8762013-11-25 Martin Rudalics <rudalics@gmx.at>
877
878 * window.el (display-buffer-at-bottom): Make sure that
879 split-window-sensibly creates the new window on bottom
880 (Bug#15961).
881
5f5b128d
DK
8822013-11-23 David Kastrup <dak@gnu.org>
883
884 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
885 on the conflict markers when available.
886 (smerge--get-marker): New function.
887 (smerge-end-re, smerge-base-re): Add subgroup.
888
623891e5
SM
8892013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
890
891 * frame.el (handle-focus-in, handle-focus-out): Add missing
892 interactive spec.
893
05ca27d8
MA
8942013-11-25 Michael Albinus <michael.albinus@gmx.de>
895
896 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
897 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
898
511fa0d3
SM
8992013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
900
e82ad66c
SM
901 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
902 (gomoku--last-pos): New var.
903 (gomoku--intangible-chars): New const.
904 (gomoku--intangible): New function.
905 (gomoku-mode): Use it. Derive from special-mode.
906 (gomoku-move-up): Adjust line count.
907 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
908 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
909 Simplify accordingly.
910
511fa0d3
SM
911 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
912 Remove blink-cursor code.
913 (blink-cursor-timer-function, blink-cursor-suspend):
914 Don't special-case GUIs.
915 (blink-cursor-mode): Use focus-in/out-hook.
916
6f20dd03
DG
9172013-11-25 Dmitry Gutov <dgutov@yandex.ru>
918
919 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
920 work when annotation is invisible (Bug#13886).
921
431dec31 9222013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
923
924 * json.el (json-alist-p): Only return non-nil if the alist has
925 simple keys (Bug#13518).
926
431dec31 9272013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
928
929 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
930 when control-statement is the first statement in a buffer (Bug#15956).
931
ee4f0261
DG
9322013-11-24 Dmitry Gutov <dgutov@yandex.ru>
933
934 * imenu.el (imenu-generic-skip-comments-and-strings):
935 New option (Bug#15560).
936 (imenu--generic-function): Use it.
937
c484f866
JS
9382013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
939
940 * minibuffer.el (completion--in-region-1): Scroll the correct
941 window. (Bug#13898)
942
41ce6f70
BB
9432013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
944
b55aea38
BB
945 * emacs-lisp/helpers.el: Add some string helpers.
946 (string-trim-left): Removes leading whitespace.
947 (string-trim-right): Removes trailing whitespace.
948 (string-trim): Removes leading and trailing whitespace.
949
41ce6f70
BB
950 * subr.el (string-suffix-p): New function.
951
3cfb6af3
GM
9522013-11-23 Glenn Morris <rgm@gnu.org>
953
954 * progmodes/python.el (python-shell-send-file):
955 Add option to delete file when done. (Bug#15647)
956 (python-shell-send-string, python-shell-send-region): Use it.
957
c27924b7
IS
9582013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
959
e1b01c7f
IS
960 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
961 to set buffer-read-only to t, never to nil. (Bug#15938)
962
c27924b7
IS
963 * textmodes/tex-mode.el (latex-noindent-environments):
964 Add safe-local-variable property. (Bug#15936)
965
17e0445b
GM
9662013-11-23 Glenn Morris <rgm@gnu.org>
967
92f78ea3
GM
968 * textmodes/enriched.el (enriched-mode): Doc fix.
969 * emacs-lisp/authors.el (authors-renamed-files-alist):
970 Add enriched.doc -> enriched.txt.
971
17e0445b
GM
972 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
973
965bb23a
LL
9742013-11-22 Leo Liu <sdl.web@gmail.com>
975
976 * progmodes/octave.el (inferior-octave-startup): Spit out error
977 message.
978
d19ffd64
BB
9792013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
980
981 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
982 Improve docstring.
15ba2182
BB
983 Add :version.
984 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 985
7a7567d2
LL
9862013-11-22 Leo Liu <sdl.web@gmail.com>
987
988 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
989 (Bug#15076)
8c09f64b
LL
990 (octave-help-mode): Adapt to change to help-mode-finish to use
991 derived-mode-p on 2013-09-17.
992 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 993 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 994
724bc265
LL
9952013-11-22 Leo Liu <sdl.web@gmail.com>
996
997 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
998 (inferior-octave-startup, inferior-octave-check-process)
999 (inferior-octave-track-window-width-change)
1000 (octave-completion-at-point, octave-eldoc-function): Use it.
1001 (octave-kill-process): Provide confirmation. (Bug#10564)
1002
38637cca
LL
10032013-11-21 Leo Liu <sdl.web@gmail.com>
1004
511fa0d3
SM
1005 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1006 Fix obsolete variable comment-use-global-state.
38637cca 1007
06e752b4
RS
10082013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1009
511fa0d3
SM
1010 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1011 Add `octave-source-file'.
06e752b4
RS
1012 (octave-source-file): New function. (Bug#15935)
1013
0449d6cd 10142013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
1015
1016 * net/eww.el (eww-local-regex): New variable.
1017 (eww): Use it to detect localhost and similar.
1018
b6ffa04a
LL
10192013-11-21 Leo Liu <sdl.web@gmail.com>
1020
1021 Add completion for command `ag'.
2021a200
LL
1022 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1023 (pcomplete/ag): New function.
1024 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 1025
d1a6bccc
SM
10262013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1027
1028 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1029 (bug#14646).
1030 (make-obsolete): Remove interactive spec.
1031
2df10228
GM
10322013-11-21 Glenn Morris <rgm@gnu.org>
1033
1034 * startup.el (command-line-1): Use path-separator with -L.
1035
86fd16b6
TZ
10362013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1037
1038 * emacs-lisp/package.el (describe-package-1): Add package archive
1039 to shown fields.
1040
0449d6cd 10412013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
1042
1043 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1044 Change default to "# encoding: %s" to differentiate it from the
1045 default Ruby encoding comment template.
1046
dc7e8c17 10472013-11-20 era eriksson <era+emacsbugs@iki.fi>
1048
1049 * ses.el (ses-mode): Doc fix. (Bug#14748)
1050
f0cfa5fe
LL
10512013-11-20 Leo Liu <sdl.web@gmail.com>
1052
1053 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1054
826dc7b6
DN
10552013-11-19 Dan Nicolaescu <dann@gnu.org>
1056
1057 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1058 when rebase or bisect are in progress.
1059
a6e3a5d5
XF
10602013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1061
1062 * filenotify.el (file-notify-add-watch): Doc fix.
1063
f130cb76
LL
10642013-11-19 Leo Liu <sdl.web@gmail.com>
1065
e0855d7d
LL
1066 * obsolete/rcompile.el: Mark obsolete.
1067
f130cb76 1068 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
1069 (compilation-goto-locus, compilation-find-file):
1070 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
1071 (Bug#13594)
1072
1073 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
1074 new parameter no-display-ok. Return either a window or nil
1075 but never a non-window value.
f130cb76 1076
1f35d401
SM
10772013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1078
25158c76
SM
1079 * electric.el (electric-indent-mode-map): Remove.
1080 (electric-indent-mode): Change the global-map instead (bug#15915).
1081
1082 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1083 Use add-function.
1f35d401 1084
9bc67baa
SM
10852013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1086
986545b5
SM
1087 * emacs-lisp/nadvice.el (remove-function): Align with
1088 add-function's behavior.
1089
9bc67baa
SM
1090 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1091 (gdb--string-regexp): New constant.
1092 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1093 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1094 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1095 submatch 1.
1096 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1097 Adjust use accordingly.
1098 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1099
56cd894e
AS
11002013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1101
1102 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1103 interpolation curlies (Bug#15914).
1104
014690de
JB
11052013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1106
1107 * calc/calc.el (calc-context-sensitive-enter): New variable.
1108 (calc-enter): Use `calc-context-sensitive-enter'.
1109
7e26a6c3
TZ
11102013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1111
1112 * progmodes/cfengine.el: Version bump.
1113 (cfengine-cf-promises): New defcustom to locate cf-promises.
1114 (cfengine3-vartypes): Add new "data" type.
1115 (cfengine3--current-word): New function to get current name-like
1116 word or its bounds.
1117 (cfengine3--current-function): New function to look up a CFEngine
1118 function's definition.
1119 (cfengine3-format-function-docstring): New function.
1120 (cfengine3-make-syntax-cache): New function.
1121 (cfengine3-documentation-function): New function: ElDoc glue.
1122 (cfengine3-completion-function): New function: completion glue.
1123 (cfengine3-mode): Set `compile-command',
1124 `eldoc-documentation-function', and add to
1125 `completion-at-point-functions'.
1126
355204dd
MA
11272013-11-16 Michael Albinus <michael.albinus@gmx.de>
1128
1129 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1130 `tramp-current-connection'.
1131
43cebc23
DG
11322013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1133
1134 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1135 nil/self/true/false with "end of symbol".
1136
a3fed6ff
BB
11372013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1138
1139 * subr.el (version-regexp-alist): Fix a typo.
1140
e675b3e4
MA
11412013-11-15 Michael Albinus <michael.albinus@gmx.de>
1142
1143 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1144 "en_US.utf8" and "LC_CTYPE" to "".
1145 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1146 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1147
a1f03e89
LL
11482013-11-15 Leo Liu <sdl.web@gmail.com>
1149
1150 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1151
5d9d9451
SM
11522013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1153
58362662
CS
1154 * progmodes/gud.el (ctl-x-map):
1155 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
1156 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1157
6c1bf086
BB
11582013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1159
0d5363c4
BB
1160 * subr.el (version-regexp-alist):
1161 Recognize hg, svn and darcs versions as snapshot versions.
1162
4e9fc48c
BB
1163 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1164 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1165 (ruby--encoding-comment-required-p): Extract from
1166 `ruby-mode-set-encoding'.
1167 (ruby-mode-set-encoding): Add the ability to always insert an
1168 utf-8 encoding comment. Fix and simplify coding comment update
1169 logic.
6c1bf086 1170
2f7e72f8
MA
11712013-11-14 Michael Albinus <michael.albinus@gmx.de>
1172
1173 * net/tramp-gvfs.el (top): Run init code only when
1174 `tramp-gvfs-enabled' is not nil.
1175 (tramp-gvfs-enabled): Check also :system bus.
1176
0f137a73
SM
11772013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1178
1179 Sync with upstream verilog-mode revision 78e66ba.
1180 * progmodes/verilog-mode.el (verilog-end-of-defun)
1181 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1182 (verilog-get-end-of-defun): Remove unused argument.
1183 (verilog-comment-depth): Remove unused local `e'.
1184 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1185 Don't pass arg to verilog-get-end-of-defun.
1186
1c276bdd
GM
11872013-11-14 Glenn Morris <rgm@gnu.org>
1188
1189 * obsolete/assoc.el (aget): Prefix dynamic variable.
1190
1191 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1192
ff6ec81d
SM
11932013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1194
1195 * widget.el, hfy-cmap.el: Remove bogus package version number.
1196
75f777b6
GM
11972013-11-13 Glenn Morris <rgm@gnu.org>
1198
1d43dba1
GM
1199 * replace.el (replace-eval-replacement):
1200 Try to give more helpful error message. (Bug#15836)
1201
ff4b7bd5
GM
1202 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1203 (archive-7z-update): Avoid custom type mismatches.
1204
75f777b6
GM
1205 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1206
11151a06
MA
12072013-11-13 Michael Albinus <michael.albinus@gmx.de>
1208
e675b3e4 1209 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
1210 address can be empty.
1211
1212 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1213 Accept nil SWITCHES.
1214 (tramp-gvfs-handle-write-region): Implement APPEND.
1215
7b08f97e
DG
12162013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1217
1218 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
1219 binary "|" operator and closing block args delimiter.
1220 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
1221 (ruby-smie--implicit-semi-p): Not after "|" operator.
1222 (ruby-smie--closing-pipe-p): New function.
1223 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1224 (ruby-smie-rules): Indent after "|".
1225
f201cf3a
GM
12262013-11-12 Glenn Morris <rgm@gnu.org>
1227
1228 * ps-print.el (ps-face-attribute-list):
1229 Handle anonymous faces. (Bug#15827)
1230
e6f759f9
MR
12312013-11-12 Martin Rudalics <rudalics@gmx.at>
1232
1233 * window.el (display-buffer-other-frame): Fix doc-string.
1234 (Bug#15868)
1235
ecda65d4
SM
12362013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1237
1238 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1239
7ce8fcc3
MA
12402013-11-11 Michael Albinus <michael.albinus@gmx.de>
1241
1242 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1243 (tramp-sh-handle-file-local-copy): Don't write a message when
1244 saving temporary files.
1245
1246 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1247 both directories are remote.
1248 (tramp-smb-handle-directory-files): Do not return double entries.
1249 Do not expand full file names.
1250 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1251 (tramp-smb-handle-write-region): Implement APPEND.
1252 (tramp-smb-get-stat-capability): Fix a stupid bug.
1253
7818df11
SM
12542013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1255
1256 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1257
608c2085
NT
12582013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1259
1260 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1261 throwing error over malformed let/let* (bug#15814).
1262
122a7e46
SM
12632013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1264
1265 * iswitchb.el (iswitchb-mode): Mark obsolete.
1266
766284d9
GM
12672013-11-11 Glenn Morris <rgm@gnu.org>
1268
1269 * international/uni-bidi.el, international/uni-category.el:
1270 * international/uni-name.el, international/uni-numeric.el:
1271 Regenerate for Unicode 6.3.0.
1272
7072a4e9
MA
12732013-11-10 Michael Albinus <michael.albinus@gmx.de>
1274
1275 * net/tramp.el (tramp-methods):
1276 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1277 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1278
c9df215b
AS
12792013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1280
608c2085
NT
1281 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1282 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 1283
fa47d796
DG
12842013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1285
1286 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 1287 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
1288 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1289 (ispell-complete-word): Call `ispell-lookup-words' with the value
1290 independent of `ispell-look-p'.
1291
1629a329
DG
12922013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1293
1294 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1295 Not after "||".
1296 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1297 their parent.
1298
ad16897c
SM
12992013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1300
1301 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1302 (ruby-font-lock-keywords): Use backquote.
1303
ffa2df72
DG
13042013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1305
1306 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1307 (ruby-smie--backward-token): Only consider full-string matches.
1308
5b97b4c0
JD
13092013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1310
1311 * faces.el (describe-face): Add distant-foreground.
1312
71731c03
BB
13132013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1314
4e9fc48c
BB
1315 * progmodes/ruby-mode.el: Improve encoding comment handling.
1316 (ruby-encoding-magic-comment-style): New option.
1317 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
1318 (ruby--insert-coding-comment, ruby--detect-encoding):
1319 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
1320 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1321 to control the style of the auto-inserted encoding comment.
71731c03 1322
da3b328d
DG
13232013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1324
ad16897c
SM
1325 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1326 Use `smie-backward-sexp' with token argument.
da3b328d 1327
1606c2d3
MA
13282013-11-08 Michael Albinus <michael.albinus@gmx.de>
1329
1330 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1331 Remove instrumentation code.
1332
b0f4c320
GM
13332013-11-08 Glenn Morris <rgm@gnu.org>
1334
1335 * progmodes/autoconf.el (autoconf-mode):
1336 Tweak comment-start-skip. (Bug#15822)
1337
43668fb1
SM
13382013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1339
1340 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1341 at bobp (bug#15826).
1342 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1343
daddb3fd
DH
13442013-11-08 Darren Hoo <darren.hoo@gmail.com>
1345
1346 * man.el (Man-start-calling): New macro, extracted from
1347 Man-getpage-in-background.
1348 (Man-getpage-in-background): Use it.
1349 (Man-update-manpage): New command.
1350 (Man-mode-map): Bind it.
1351
1f923923
DG
13522013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1353
1354 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1355 of "and", "or", "&&" and "||".
1356 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1357 argument. Prohibit opening curly brace because it could only be a
1358 block opener in that position.
daddb3fd
DH
1359 (ruby-smie--forward-token, ruby-smie--backward-token):
1360 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
1361 arguments.
1362 (ruby-smie--indent-to-stmt): New function, seeks the end of
1363 previous statement or beginning of buffer.
1364 (ruby-smie-rules): Use it.
1365 (ruby-smie-rules): Check if there's a ":" before a curly block
1366 opener candidate; if there is, it's a hash.
1367
3220d527
SM
13682013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1369
1370 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1371 (cl--block-wrapper): Fix last accidental change.
1372
1eb1f9e0
MA
13732013-11-07 Michael Albinus <michael.albinus@gmx.de>
1374
1375 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1376 Instrument, in order to hunt failure on hydra.
1377
e6e4db3c
NT
13782013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1379
1380 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1381 malformed bindings form (bug#15814).
1382
b420ccfc
DG
13832013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1384
1385 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
1386 "." compared to " @ ". This incidentally fixes some indentation
1387 examples with "do".
e6e4db3c 1388 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
1389 (ruby-smie-grammar): New tokens: "and" and "or".
1390 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1391 Exclude "and" and "or". Remove "do" in order to work around token
1392 priorities.
1393 (ruby-smie-rules): Add all infix tokens. Handle the case of
1394 beginning-of-buffer.
b420ccfc 1395
6b4ac03e
GM
13962013-11-06 Glenn Morris <rgm@gnu.org>
1397
1398 * Makefile.in (setwins_almost, setwins_for_subdirs):
1399 Avoid accidental matches.
1400
5ca114d1
SM
14012013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1402
1403 * menu-bar.el (popup-menu): Use key-binding.
1404
f72552bd
EZ
14052013-11-06 Eli Zaretskii <eliz@gnu.org>
1406
1407 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1408 menus, support also the menus produced by minor modes.
1409 (Bug#15817)
1410
5d5c701e
LL
14112013-11-06 Leo Liu <sdl.web@gmail.com>
1412
1413 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1414 DISTANCE to bound the search. All uses changed. (Bug#15808)
1415
0a8b75e2
GM
14162013-11-06 Glenn Morris <rgm@gnu.org>
1417
1418 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
1419 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1420 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 1421
a35287ea
SM
14222013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1423
feca4e2d
SM
1424 * electric.el (electric-indent-just-newline): New command.
1425 (electric-indent-mode-map): New keymap.
1426 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1427 Re-add :group which weren't redundant.
1428
a35287ea
SM
1429 * electric.el (electric-indent-local-mode): New minor mode.
1430 (electric-indent-functions-without-reindent): New var.
1431 (electric-indent-post-self-insert-function): Use it.
1432 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1433
375761b2
EZ
14342013-11-05 Eli Zaretskii <eliz@gnu.org>
1435
9a6ad735
EZ
1436 * international/quail.el (quail-help): Be more explicit about the
1437 meaning of the labels shown on the keys. (Bug#15800)
1438
375761b2
EZ
1439 * startup.el (normal-top-level): Load the subdirs.el files before
1440 setting the locale environment. (Bug#15805)
1441
520a6e4a
SM
14422013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1443
0acfafef
SM
1444 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1445 via arguments so as to get the right ones (bug#15418).
1446
520a6e4a
SM
1447 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1448
15826261
MA
14492013-11-05 Michael Albinus <michael.albinus@gmx.de>
1450
1451 Fix problems found while writing a test suite.
1452
1453 * net/tramp-compat.el (tramp-compat-load): New defun.
1454 * net/tramp.el (tramp-handle-load): Use it.
1455
1456 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1457 "(numberp ok-if-already-exists)" correctly.
1458
d35f31a4
XF
14592013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1460
1461 * international/characters.el (glyphless-char-display-control):
1462 Add usage note.
1463
ae93bc74
BB
14642013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1465
520a6e4a
SM
1466 * progmodes/python.el (python-mode):
1467 * progmodes/scheme.el (scheme-mode):
1468 * progmodes/prolog.el (prolog-mode):
1469 * progmodes/ruby-mode.el (ruby-mode):
1470 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1471 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 1472
0ade65b5
SM
14732013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1474
a0d5f7a4
SM
1475 * rect.el (rectangle--highlight-for-redisplay):
1476 * emacs-lisp/smie.el (smie--next-indent-change):
1477 Use buffer-chars-modified-tick.
1478
c93f3f5c
SM
1479 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1480
0ade65b5
SM
1481 * electric.el (electric-indent-post-self-insert-function):
1482 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1483
ef9dd188
HE
14842013-11-04 Helmut Eller <eller.helmut@gmail.com>
1485
1486 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1487
306e7308
NT
14882013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1489
1490 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1491 (bug#15786).
1492
e5afbcac
SM
14932013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1494
1d01ad41
SM
1495 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1496
e5afbcac
SM
1497 * progmodes/python.el: Fix up last change.
1498 (python-shell--save-temp-file): New function.
1499 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1500 `string' comes from the current buffer.
1501 (python-shell-send-string-no-output): Remove `msg' arg.
1502 (python--use-fake-loc): New var.
1503 (python-shell-buffer-substring): Obey it. Try to compensate for the
1504 extra coding line added by python-shell--save-temp-file.
1505 (python-shell-send-region): Use python-shell--save-temp-file and
1506 python-shell-send-file directly. Add `nomain' argument.
1507 (python-shell-send-buffer): Use python-shell-send-region.
1508 (python-electric-pair-string-delimiter): New function.
1509 (python-mode): Use it.
1510
d0065ff1
EZ
15112013-11-04 Eli Zaretskii <eliz@gnu.org>
1512
1513 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1514 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1515 environment and decoding all of the default-directory's to here
1516 from command-line.
1517 (command-line): Decode also argv[0].
1518
1519 * loadup.el: Error out if default-directory is a multibyte string
1520 when we are dumping.
1521
1522 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1523
7397c587
TZ
15242013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1525
1526 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
1527 (package-menu--print-info, package-menu--archive-predicate):
1528 Add Archive column to package list.
7397c587 1529
b27cc9fc
MA
15302013-11-04 Michael Albinus <michael.albinus@gmx.de>
1531
1532 Fix problems found while writing a test suite.
1533
1534 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1535 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1536 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1537 to nil when running original file name handler. Otherwise,
1538 there are problems with constructs like "$$FOO".
1539
1540 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1541 for `localname'.
1542
d8c4f18a
BB
15432013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1544
7b530552
BB
1545 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1546
1547 * subr.el (version<, version<=, version=):
1548 Update docstrings with information for snapshot versions.
1549
d8c4f18a
BB
1550 * helpers.el: New library for misc helper functions.
1551 (hash-table-keys): New function returning a list of hash keys.
1552 (hash-table-values): New function returning a list of hash values.
1553
dca01b09
DG
15542013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1555
1556 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1557 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1558
0a749fa0
MN
15592013-11-04 Michal Nazarewicz <mina86@mina86.com>
1560
1561 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1562 checking whether point is after a 1-letter word.
1563
15642013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
1565
1566 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1567 Don't infloop when expanding region over `multiline' syntax-type that
1568 begins a line (bug#15778).
1569
4aca7145
SM
15702013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1571
1572 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1573 Make it into a proper minor mode.
1574 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1575 (rectangle-mark-mode-map): New keymap.
1576 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1577
a0833f62
GM
15782013-11-04 Glenn Morris <rgm@gnu.org>
1579
1580 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1581
e61845c1
SM
15822013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1583
1584 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1585 (ruby-smie-rules): Use smie-rule-parent instead.
1586
1587 * emacs-lisp/smie.el (smie-rule-parent): Always call
1588 smie-indent-virtual rather than only for hanging tokens.
1589 (smie--next-indent-change): New helper command.
1590
62942f89
GM
15912013-11-03 Glenn Morris <rgm@gnu.org>
1592
1593 * Makefile.in (abs_srcdir): Remove.
1594 (emacs): Unset EMACSLOADPATH.
1595
b0b9e592
GM
15962013-11-02 Glenn Morris <rgm@gnu.org>
1597
18ba6a33 1598 * Makefile.in (EMACS): Use a relative filename.
8061810d 1599 (abs_top_builddir): Remove.
18ba6a33
GM
1600 (custom-deps, finder-data, autoloads): Use --chdir.
1601
6a8b929e
GM
1602 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1603
c617f3d0
GM
1604 Use relative filenames in TAGS files.
1605 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1606 (lisptagsfiles4, TAGS): Use relative file names.
1607 (TAGS-LISP): Remove.
1608 (maintainer-clean): No more TAGS-LISP file.
1609
b0b9e592
GM
1610 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1611 (lisptagsfiles4): Use absolute filenames again.
1612 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1613 Remove all *loaddefs files, not just the first. Remove esh-groups.
1614 (maintainer-clean): Delete TAGS, TAGS-LISP.
1615
d1c0ea6a
BB
16162013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1617
e61845c1
SM
1618 * emacs-lisp/package.el (package-version-join):
1619 Recognize snapshot versions.
d1c0ea6a 1620
684d71c6
BB
16212013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1622
1623 * subr.el (version-regexp-alist): Add support for snapshot versions.
1624
3d42b968
DG
16252013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1626
e61845c1
SM
1627 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1628 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
1629 skip over our direct parent if it's an assignment token..
1630 (ruby-smie-rules): Use it.
1631
7ffd3721
DG
16322013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1633
1634 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1635 unconditionally. Remove now unnecessary forward declarations.
1636 Remove XEmacs-specific setup.
1637 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1638 (ruby-font-lock-syntactic-keywords)
1639 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1640 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1641 (ruby-here-doc-end-syntax): Remove.
1642 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1643 defined as function.
1644
a3996a2e
BB
16452013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1646
1647 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1648
6f9260e8
BB
16492013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1650
1651 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1652 table and abbrev table, `define-derived-mode' does that for us
1653 anyway.
1654
6014de84
GM
16552013-11-01 Glenn Morris <rgm@gnu.org>
1656
1657 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1658 files is atomic for some time, so no parallel compilation issues).
1659
3c334c14
JD
16602013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1661
1662 * faces.el (face-x-resources): Add :distant-foreground.
1663 (region): Use :distant-foreground for gtk and ns.
1664
9bc236c8
TH
16652013-11-01 Tassilo Horn <tsdh@gnu.org>
1666
5246583b 1667 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
1668 BibTeX.
1669 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1670 (reftex-locate-bibliography-files): Us it.
1671
d14c81ee
CB
16722013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1673
0e7690de
CB
1674 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1675 allow comments in pbm files.
1676
d14c81ee
CB
1677 * term/w32-win.el (dynamic-library-alist): Support newer versions
1678 of libjpeg starting with v7: look only for the DLL from the
1679 version against which Emacs was built.
ac1bf374 1680 Support versions of libpng beyond 1.4.x.
019c8218 1681 Support libtiff v4.x.
d14c81ee 1682
983d0df5
BB
16832013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1684
1685 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1686 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1687 Add property :safe.
1688 (ruby-deep-arglist): Add property :type.
1689
47f58d85
GM
16902013-10-31 Glenn Morris <rgm@gnu.org>
1691
1692 * Makefile.in (custom-deps, finder-data): No need to setq the target
1693 variables, we are in the right directory and the defaults work fine.
1694
4f85b479
GM
16952013-10-30 Glenn Morris <rgm@gnu.org>
1696
ca7dd4cd
GM
1697 * Makefile.in (autoloads): Do not use abs_lisp.
1698
4f85b479
GM
1699 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1700 `newline' does not respect `standard-output', so use `princ'.
1701
cf59e41c
AA
17022013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1703
1704 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1705 * buff-menu.el (Buffer-menu--unmark): New function.
1706 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1707
74cf04fb
GM
17082013-10-30 Glenn Morris <rgm@gnu.org>
1709
b040b60e
GM
1710 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1711
f53d3815
GM
1712 * emacs-lisp/package.el (lm-homepage): Declare.
1713
5413d873
GM
1714 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1715 Fix doc typos.
1716
cecedb36
GM
1717 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1718
74cf04fb
GM
1719 * Makefile.in (finder-data, autoloads, update-subdirs)
1720 (compile-main, compile-clean, compile-always, bootstrap-clean):
1721 Check return value of cd.
1722 (compile-calc): Remove.
1723
195ee2f0
SM
17242013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1725
ae4002ce
SM
1726 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1727
1728 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1729 (byte-compile-and-folded): New function.
1730 (=, <, >, <=, >=): Use it.
1731
1732 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1733 (path-separator, null-device, buffer-file-coding-system)
1734 (lpr-headers-switches): Check system-type before modifying them.
1735 (find-buffer-file-type-coding-system): Mark obsolete.
1736 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1737 find-file-not-found-set-buffer-file-coding-system.
1738 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1739 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1740 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1741 (w32-direct-print-region-helper, w32-direct-print-region-function)
1742 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1743 * startup.el (normal-top-level-add-subdirs-to-load-path):
1744 * ps-print.el (ps-print-region-function):
1745 * lpr.el (print-region-function): Use new name.
1746
53b39e89
SM
1747 * subr.el (custom-declare-variable-early): Remove function.
1748 (custom-declare-variable-list): Remove var.
1749 (error, user-error): Remove `while' loop.
1750 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1751 (user-emacs-directory-warning, locate-user-emacs-file):
1752 Move to files.el.
1753 * simple.el (read-quoted-char-radix, read-quoted-char):
1754 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1755 Move from subr.el.
1756 * custom.el (custom-declare-variable-list): Don't process
1757 custom-declare-variable-list.
1758
195ee2f0
SM
1759 * progmodes/python.el (python-shell-get-buffer): New function.
1760 (python-shell-get-process): Use it.
1761 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1762 Python which encoding was used. Don't split-string since we only care
1763 about the first line. Return the temp-file, if applicable.
1764 (python-shell-send-region): Tell compile.el how to turn locations in
1765 the temp-file into locations in the source buffer.
1766
7e3561ee
SM
17672013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1768
4c9797cb
SM
1769 * subr.el (undefined): Add missing behavior from the C code for
1770 unbound keys.
1771
3472b6c6
SM
1772 * rect.el: Use lexical-binding. Add new rectangular region support.
1773 (rectangle-mark): New command.
1774 (rectangle--region): New var.
1775 (deactivate-mark-hook): Reset rectangle--region.
1776 (rectangle--extract-region, rectangle--insert-for-yank)
1777 (rectangle--highlight-for-redisplay)
1778 (rectangle--unhighlight-for-redisplay): New functions.
1779 (region-extract-function, redisplay-unhighlight-region-function)
1780 (redisplay-highlight-region-function): Use them to handle
1781 rectangular region.
1782 * simple.el (region-extract-function): New var.
1783 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1784 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1785 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1786 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1787 (redisplay-unhighlight-region-function)
1788 (redisplay-highlight-region-function): New vars.
1789 (redisplay--update-region-highlight): New function.
1790 (pre-redisplay-function): Use it.
1791 (exchange-point-and-mark): Don't deactivate the mark before
1792 reactivate-it anyway.
1793 * comint.el (comint-kill-region): Remove yank-handler argument.
1794 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1795 (delete-char): Remove property, since it's now part of their
1796 default behavior.
1797 (self-insert-iso): Remove property since this command doesn't exist.
1798
7e3561ee
SM
1799 * emacs-lisp/package.el (package--download-one-archive)
1800 (describe-package-1): Don't query the user about final newline.
1801
b9bef71f
DC
18022013-10-29 Daniel Colascione <dancol@dancol.org>
1803
1804 * net/tramp.el (tramp-methods): Document new functionality.
1805 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1806 tramp-hostname-checker if method provides one instead of scanning
1807 argument list for "%h" to decide hostname acceptability.
1808
4efc33f0
MA
18092013-10-28 Michael Albinus <michael.albinus@gmx.de>
1810
1811 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1812 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1813 Handle COPY-CONTENTS. (Bug#15737)
1814
ed42a877
DU
18152013-10-28 Daiki Ueno <ueno@gnu.org>
1816
1817 * epa-file.el
7e3561ee
SM
1818 (epa-file-cache-passphrase-for-symmetric-encryption):
1819 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 1820
18c9f8a2
XF
18212013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1822
7a4bc7be
XF
1823 * image.el (defimage):
1824 (image-load-path): Doc fixes.
18c9f8a2 1825
b1e8e010
AM
18262013-10-27 Alan Mackenzie <acm@muc.de>
1827
1828 Indent statements in macros following "##" correctly.
7e3561ee
SM
1829 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1830 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 1831
73d40d1e 18322013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
1833
1834 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1835
c8c605ac
DG
18362013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1837
1838 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1839 after `=' is probably a new expression.
1840
ca7e59d4
RS
18412013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1842
1843 * man.el (man-imenu-title): New option.
1844 (Man-mode-map): Add menu. (Bug#15722)
1845 (Man-mode): Add imenu to menu.
1846
bae91342
DG
18472013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1848
1849 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1850 specific in what the first arg can be: a non-keyword word,
1851 string/regexp/percent literal opener, opening paren, or unary
1852 operator followed directly by word.
1853
eb89dc14
SM
18542013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1855
1856 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1857 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1858 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1859 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1860 Remove vars, they do not apply any more.
1861 (prolog-mode-abbrev-table): Remove redundant declaration.
1862 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1863 (prolog-use-smie): Remove.
1864 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1865 supported by prolog-electric-if-then-else-flag.
1866 (prolog-mode-variables, prolog-menu): Use setq-local.
1867 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1868 Remove binding to `Backspace' since this key doesn't exist anyway.
1869 Remove bindings for electric self-inserting keys.
1870 (prog-mode): Assume it's defined.
1871 (prolog-post-self-insert): New function.
1872 (prolog-mode): Use it.
1873 (prolog-indent-line, prolog-indent-level)
1874 (prolog-find-indent-of-matching-paren)
1875 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1876 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1877 (prolog-goto-next-paren, prolog-in-string-or-comment)
1878 (prolog-tokenize, prolog-inside-mline-comment)
1879 (prolog-find-start-of-mline-comment): Remove functions.
1880 (prolog-find-unmatched-paren, prolog-clause-end)
1881 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1882 (prolog-electric--if-then-else): Rename from
1883 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1884 (prolog-tokenize-searchkey): Remove const.
1885 (prolog-clause-info): Use forward-sexp.
1886 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1887 (prolog-electric-if-then-else): Remove commands.
1888 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1889 for use in post-self-insert-hook.
1890 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1891 for use in post-self-insert-hook.
1892 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1893 for use in post-self-insert-hook.
1894 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1895 adapt it for use in post-self-insert-hook.
1896
3dab0a83
MA
18972013-10-25 Michael Albinus <michael.albinus@gmx.de>
1898
1899 * emacs-lisp/ert.el (ert-run-tests-interactively):
1900 Use `completing-read'. (Bug#9756)
1901
fbfd0e1d
EZ
19022013-10-25 Eli Zaretskii <eliz@gnu.org>
1903
1904 * simple.el (line-move): Call line-move-1 instead of
1905 line-move-visual when the current window hscroll is zero, but
1906 temporary-goal-column indicates we will need to hscroll as result
1907 of the movement. (Bug#15712)
1908
963ce636
DG
19092013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1910
1911 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
1912 capitalization. Use :visible instead of :active.
1913 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
1914 commands that are used with SMIE.
1915 (ruby-do-end-to-brace): Insert space after `{'.
1916
a0be396a
JA
19172013-10-25 John Anthony <john@jo.hnanthony.com>
1918
f73754c9
JA
1919 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1920
1921 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 1922
f5bf77df
GM
19232013-10-25 Glenn Morris <rgm@gnu.org>
1924
1925 * vc/vc.el (vc-print-log): Don't use a working revision unless
1926 one was explicitly specified. (Bug#15322)
1927
37241f62
SM
19282013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1929
1930 * subr.el (add-to-list): Preserve return value in compiler-macro
1931 (bug#15692).
1932
6408a65d
RS
19332013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1934
1935 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1936 result. Ask user to retry using '-all' flag. (Bug#15701)
1937
71e3276b
SM
19382013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1939
1940 * emacs-lisp/smie.el: New smie-config system.
1941 (smie-config): New defcustom.
1942 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1943 (smie-config-guess, smie-config-save): New commands.
1944 (smie-config--mode-local, smie-config--buffer-local)
1945 (smie-config--trace, smie-config--modefuns): New vars.
1946 (smie-config--advice, smie-config--mode-hook)
1947 (smie-config--setter, smie-config-local, smie-config--get-trace)
1948 (smie-config--guess-value, smie-config--guess): New functions.
1949 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1950 text properties. Treat "string fence" syntax like string syntax.
1951
1952 * progmodes/sh-script.el (sh-use-smie): Change default.
1953 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1954 (sh-var-value): Simplify by CSE.
1955 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1956 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1957 is used.
1958 (sh-guess-basic-offset): Use cl-incf.
1959 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1960
60db713e
HE
19612013-10-24 Helmut Eller <eller.helmut@gmail.com>
1962
1963 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1964 (bug#15699).
1965
8b251df6
GM
19662013-10-24 Glenn Morris <rgm@gnu.org>
1967
1968 * Makefile.in (abs_top_srcdir): Remove.
1969 (update-subdirs): Use relative path to update-subdirs.
1970
6be0e22b
EZ
19712013-10-24 Eli Zaretskii <eliz@gnu.org>
1972
1973 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1974 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
1975 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1976 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 1977
50b5b857
MA
19782013-10-24 Michael Albinus <michael.albinus@gmx.de>
1979
1980 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1981 (ert-test-skipped): New error.
1982 (ert-skip, ert-stats-skipped): New defuns.
1983 (ert--skip-unless): New macro.
1984 (ert-test-skipped): New struct.
1985 (ert--run-test-debugger, ert-test-result-type-p)
1986 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1987 (ert--stats-set-test-and-result, ert-char-for-test-result)
1988 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 1989 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 1990 Handle skipped tests. (Bug#9803)
50b5b857 1991
6f317c2f
GM
19922013-10-24 Glenn Morris <rgm@gnu.org>
1993
e43817c1
GM
1994 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1995
6f317c2f
GM
1996 * Makefile.in (abs_top_srcdir): New, set by configure.
1997 (update-subdirs): Correct build-aux location.
1998
369bbf71
DG
19992013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2000
8297b2cf
DG
2001 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2002 value, whether we could auto-deduce `backend', or not.
2003
369bbf71
DG
2004 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2005 with parameters" example. Simplify the "is it block or is it
2006 hash" check, but also make it more thorough.
2007
d5f1282f
MF
20082013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2009
2010 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2011
bc4aaa31
SM
20122013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2013
03d44565
SM
2014 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2015 { if it is hanging.
2016
bc4aaa31
SM
2017 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2018 :before ";".
2019
f493ff19
JB
20202013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2021
2022 * progmodes/compile.el (compilation-directory-matcher)
2023 (compilation-page-delimiter):
2024 Support GNU Make-4.0 directory quoting. (Bug#15678)
2025
c744a3b9
LL
20262013-10-23 Leo Liu <sdl.web@gmail.com>
2027
2028 * ido.el (ido-tidy): Handle read-only text.
2029
b8e3b0a9
GM
20302013-10-23 Glenn Morris <rgm@gnu.org>
2031
2032 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2033 (emacs, compile, compile-always):
2034 Quote entities that might contain whitespace.
2035 (custom-deps, finder-data, autoloads): Use abs_lisp.
2036 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2037 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2038 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2039
ee4282cd
DG
20402013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2041
bc4aaa31
SM
2042 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2043 Use `following-char'.
7790a270 2044
ee4282cd 20452013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
2046
2047 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2048 * progmodes/ruby-mode.el (ruby-smie-rules):
2049 Remove corresponding workaround. Fix indentation rule of ";" so it
2050 also applies when ";" is the parent.
2051
d40a46d7
XF
20522013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2053
2054 * frame.el (display-screens, display-pixel-height)
2055 (display-pixel-width, display-mm-width, display-backing-store)
2056 (display-save-under, display-planes, display-color-cells)
7790a270
SM
2057 (display-visual-class, display-monitor-attributes-list):
2058 Mention the optional ‘display’ argument in doc strings.
d40a46d7 2059
a0f143c9
MG
20602013-10-22 Michael Gauland <mikelygee@amuri.net>
2061
2062 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2063 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2064
18cacc39
DG
20652013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2066
2067 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2068 TODO. Add "." after " @ ".
2069 (ruby-smie--at-dot-call): New function. Checks if point at method
2070 call with explicit target.
2071 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2072 to the method name tokens when it precedes them.
2073 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2074 (ruby-smie-rules): Add rule for indentation before and after "."
2075 token.
2076
df74c4be
SM
20772013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2078
c6dab55f
SM
2079 * textmodes/remember.el (remember-diary-extract-entries):
2080 Avoid add-to-list.
2081
df74c4be
SM
2082 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2083 an instruction.
2084
8c1ae481
DG
20852013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2086
cfef16c0
DG
2087 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2088 (ruby-smie--implicit-semi-p): Add new operator chars.
2089
8c1ae481
DG
2090 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2091 `smie-down-list'.
2092 (ruby-smie--args-separator-p): Check that there's no newline
2093 between method call and its arguments.
2094
87756ca9
AM
20952013-10-20 Alan Mackenzie <acm@muc.de>
2096
2097 Allow comma separated lists after Java "implements".
2098
df74c4be
SM
2099 * progmodes/cc-engine.el (c-backward-over-enum-header):
2100 Parse commas.
87756ca9
AM
2101 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2102 from a "disallowed" list in enum fontification.
2103
c25f8957
JB
21042013-10-20 Johan Bockgård <bojohan@gnu.org>
2105
df74c4be 2106 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 2107
c25f8957
JB
2108 * progmodes/verilog-mode.el (verilog-mode): Don't set
2109 comment-indent-function globally.
2110
aca5fcdc
JD
21112013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2112
5f161884
JD
2113 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2114 Move Info menu item creation to ns-win.el.
2115
2116 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2117 in menu bar.
2118
aca5fcdc
JD
2119 * menu-bar.el: Move GNUStep specific menus...
2120
2121 * term/ns-win.el (ns-initialize-window-system): ... to here.
2122
914b7f98
SM
21232013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2124
2125 * simple.el (newline): Only run post-self-insert-hook when
2126 called interactively.
2127
846ffe77
JB
21282013-10-19 Johan Bockgård <bojohan@gnu.org>
2129
2130 * icomplete.el (icomplete-with-completion-tables): Add :version.
2131
033f22dd
AM
21322013-10-19 Alan Mackenzie <acm@muc.de>
2133
2134 Fix fontification bugs with constructors and const.
2135
2136 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2137 CASE 2) Remove the check for the absence of a suffix construct
2138 after a function declaration with only types (no identifiers) in
2139 the parentheses. Also, accept a function declaration with just a
2140 type inside the parentheses, if this type can be positively
2141 recognised as such, or if a prefix keyword like "explicit" nails
2142 down the construct as a declaration.
2143
58ce0cfc
EZ
21442013-10-19 Eli Zaretskii <eliz@gnu.org>
2145
2146 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2147 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2148 the problem whereby selecting a menu item that leads to a
2149 minibuffer prompt moves the cursor out of the minibuffer window,
2150 making it hard to type at the prompt. Suggested by Stefan Monnier
2151 <monnier@iro.umontreal.ca>.
2152
50e28e7d
JD
21532013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2154
2155 * menu-bar.el: Don't make Services menu.
2156
7deed4bf
RS
21572013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2158
2159 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2160 (ffap-alist): Use ffap-c++-mode for c++-mode.
2161 (ffap-c++-path): New variable.
2162 (ffap-c++-mode): New function.
2163
7bcb455b
JVJ
21642013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2165
2166 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2167
f0ff1cd5
MA
21682013-10-18 Michael Albinus <michael.albinus@gmx.de>
2169
2170 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2171 introduced on 2013-09-08, which results in an infinite loop
2172 requesting a password.
2173
d64da4b7
GM
21742013-10-18 Glenn Morris <rgm@gnu.org>
2175
2176 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2177
ea89ff08
WS
21782013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2179
2180 Sync with upstream verilog-mode revision 1a6ecec7.
2181 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2182 (verilog-mode-release-date): Remove.
2183 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2184 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2185 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2186 (verilog-auto-tieoff-ignore-regexp)
2187 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2188 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2189 (verilog-signals-with, verilog-dir-cache-preserving)
2190 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2191 Doc fixes.
2192 (verilog-case-fold): New option, to control case folding in
2193 regexp searches, bug597.
2194 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2195 (verilog-string-match-fold, verilog-in-paren-count)
2196 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2197 (verilog-at-close-struct-p): New functions.
2198 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2199 (verilog-forward-sexp, verilog-set-auto-endcomments):
2200 (verilog-leap-to-case-head): Handle "unique0" case.
2201 (verilog-in-constraint-re): New constant.
2202 (verilog-keywords, verilog-type-font-keywords):
2203 Add some SystemVerilog 1800-2012 keywords.
2204 (verilog-label-be): Remove unimplemented argument, bug669.
2205 (verilog-batch-execute-func): When batch expanding clear
2206 create-lockfiles to prevent spurious user locks when a file ends
2207 up not changing.
2208 (verilog-calculate-indent, verilog-calc-1)
2209 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2210 (verilog-do-indent): Fix indentation of nested constraints
2211 and structures.
2212 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2213 (verilog-auto-inst-param): Use verilog-string-match-fold.
2214 (verilog-read-inst-module-matcher):
2215 Fix AUTOINST on gate primitives with #1.
2216 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2217 Reads all user-defined typed variables.
2218 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2219 (verilog-signals-matching-regexp)
2220 (verilog-signals-not-matching-regexp, verilog-auto):
2221 Respect verilog-case-fold.
2222 (verilog-diff-report): Fix line count.
2223 (verilog-auto-assign-modport): Remove unused local `modi'.
2224 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2225 better handle multidimensional arrays.
2226 Fix packed array ports misadding bit index in AUTOINST, bug637.
2227 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2228 to not double-declare existing outputs and inputs, respectively.
2229 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2230 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2231 (verilog-sk-uvm-component): New skeleton.
2232 (verilog-submit-bug-report): Add verilog-case-fold,
2233 remove verilog-mode-release-date.
2234
ef566920
BR
22352013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2236
2237 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2238 as before.
2239
29df8a0b
RT
22402013-10-18 Reuben Thomas <rrt@sc3d.org>
2241
2242 * textmodes/remember.el (remember): set buffer-offer-save in
2243 remember buffers (bug#13566).
2244
04a19a79
DC
22452013-10-18 Daniel Colascione <dancol@dancol.org>
2246
2247 When evaluating forms in ielm, direct standard output to ielm
2248 buffer. Add new ielm-return-for-effect command. Remove trailing
2249 whitespace throughout.
2250
2251 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2252 (ielm-return-for-effect): New command.
2253 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
2254 (ielm-eval-input): Accept optional `for-effect' parameter.
2255 Bind `standard-output' to stream we create using
04a19a79
DC
2256 `ielm-standard-output-impl'. Suppress printing result when
2257 `for-effect'.
2258 (ielm-standard-output-impl): New function.
2259 (inferior-emacs-lisp-mode): Explain new features in documentation.
2260
4c1f03ef
MA
22612013-10-17 Michael Albinus <michael.albinus@gmx.de>
2262
2263 Code cleanup.
2264
2265 * net/tramp.el (tramp-debug-message): Do not check for connection
2266 buffer.
2267 (tramp-message): Use "vector" connection property.
2268
2269 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2270 (tramp-equal-remote, tramp-eshell-directory-change)
2271 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2272 (tramp-adb-handle-rename-file)
2273 * net/tramp-cmds.el (tramp-list-remote-buffers)
2274 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2275 * net/tramp-compat.el (tramp-compat-process-running-p)
2276 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2277 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2278 (tramp-gvfs-handle-rename-file)
2279 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2280 (tramp-set-file-uid-gid)
2281 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2282 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2283 of `file-remote-p'.
2284
2285 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2286 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2287 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2288 (tramp-gw-open-network-stream): Suppress unrelated traces.
2289
2290 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2291 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2292 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2293 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2294 connection property.
2295
2296 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 2297 persistency file.
4c1f03ef
MA
2298
2299 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2300 Refactor common code. Improve debug message.
2301 (tramp-maybe-open-connection)
2302 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2303 connection buffer too early.
2304
2305 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2306 from `tramp-smb-actions-with-acl'.
2307 (tramp-smb-actions-set-acl): New defconst.
2308 (tramp-smb-handle-copy-directory)
2309 (tramp-smb-action-get-acl): New defun, renamed from
2310 `tramp-smb-action-with-acl'.
2311 (tramp-smb-action-set-acl): New defun.
2312 (tramp-smb-handle-set-file-acl): Rewrite.
2313
642eb8b6
GM
23142013-10-17 Glenn Morris <rgm@gnu.org>
2315
2316 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2317
85527ff3
SM
23182013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2319
921c1d62
SM
2320 * skeleton.el (skeleton-newline): Remove.
2321 (skeleton-internal-1): Use (insert "\n") instead.
2322
e333fb10
SM
2323 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2324 let-bindings.
2325
85527ff3
SM
2326 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2327 forward-sexp-function while we redo its job (bug#15613).
2328
c8722a97
JB
23292013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2330
2331 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2332 represented by lists.
2333
7a550bbb
GM
23342013-10-16 Glenn Morris <rgm@gnu.org>
2335
2336 * tmm.el (tmm--history): New dynamic variable.
2337 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2338
f19da8ad
MA
23392013-10-16 Michael Albinus <michael.albinus@gmx.de>
2340
2341 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2342 (tramp-smb-errors): Add error messages.
2343 (tramp-smb-actions-with-acl): New defconst.
2344 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2345 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2346 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2347 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2348 (tramp-smb-get-stat-capability): Fix tests.
2349
a24b9961
DK
23502013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2351
2352 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2353 (bug#15580).
2354
62ad85e6
GM
23552013-10-16 Glenn Morris <rgm@gnu.org>
2356
0283d6b0
GM
2357 * ansi-color.el (ansi-color-drop-regexp):
2358 Add 1J, 1K, 2K. (Bug#15617)
2359
012e2f9f
GM
2360 * files.el (hack-local-variables--warned-lexical): New.
2361 (hack-local-variables):
2362 Warn about misplaced lexical-binding. (Bug#15616)
2363
62ad85e6
GM
2364 * net/eww.el (eww-render): Always set eww-current-url,
2365 and update header line. (Bug#15622)
2366 (eww-display-html): ... Rather than just doing it here.
2367
6456c0ea
EZ
23682013-10-15 Eli Zaretskii <eliz@gnu.org>
2369
2370 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2371 menu navigations commands.
2372
c2de5588
DK
23732013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2374
2375 * progmodes/subword.el (subword-capitalize): Be careful when
2376 the search for [[:alpha:]] fails (bug#15580).
2377
ccd4a783
EZ
23782013-10-14 Eli Zaretskii <eliz@gnu.org>
2379
2380 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2381 to commands that scroll the menu.
2382
1eda1d8d
DG
23832013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2384
c2de5588
DK
2385 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2386 Handle methods ending with `?' and `!'.
1eda1d8d 2387
e70181b8
AM
23882013-10-14 Akinori MUSHA <knu@iDaemons.org>
2389
2390 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2391 `japanese-cp932' to `cp932' to fix the problem where saving a
2392 source file written in Shift_JIS twice would end up having
2393 `coding: japanese-cp932' which Ruby could not recognize.
2394 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2395 in `ruby-encoding-map'.
2396 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2397 doesn't need to be explicitly declared in magic comment.
2398 (ruby-encoding-map): Add type declaration for better customize UI.
2399
9148ee92
GM
24002013-10-13 Glenn Morris <rgm@gnu.org>
2401
a5d38e34
GM
2402 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2403 Occur buffers are read-only. http://bugs.debian.org/720775
2404
9148ee92
GM
2405 * emacs-lisp/authors.el (authors-fixed-entries):
2406 Comment out old alpha stuff.
2407
a9ba094b
DG
24082013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2409
2410 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2411 to `after-save-hook' instead of `before-save-hook'.
2412 (ruby-mode-set-encoding): Use the value of coding system used to
2413 write the file. Call `basic-save-buffer-1' after modifying the
2414 buffer.
2415
7a068717
AM
24162013-10-13 Alan Mackenzie <acm@muc.de>
2417
2418 Fix indentation/fontification of Java enum with
2419 "implements"/generic.
2420
c2de5588
DK
2421 * progmodes/cc-engine.el (c-backward-over-enum-header):
2422 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
2423 (c-inside-bracelist-p): Uses new function above.
2424 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2425 function above.
2426 (c-font-lock-enum-tail): Uses new function above.
2427
85b64f02
KH
24282013-10-13 Kenichi Handa <handa@gnu.org>
2429
2430 * international/mule-cmds.el (select-safe-coding-system): Remove a
2431 superfluous condition in chekcing whether a coding system is safe
2432 or not.
2433
fc7f501b
OK
24342013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2435
2436 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2437
fdcb2049
AP
24382013-10-13 Andreas Politz <politza@hochschule-trier.de>
2439
2440 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2441
8c106d17
GM
24422013-10-13 Glenn Morris <rgm@gnu.org>
2443
feab892d
GM
2444 * menu-bar.el (menu-bar-update-buffers):
2445 Unify Buffers menu prompt string. (Bug#15576)
2446
b22d0686
GM
2447 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2448
8c106d17
GM
2449 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2450 Add some entries.
2451 (authors-fixed-entries): Use accented form of name.
2452
1b12c797
SM
24532013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2454
650fa7bf 2455 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 2456 method calls (bug#15594).
650fa7bf
SM
2457 (ruby-smie--args-separator-p): New function.
2458 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2459 recognize paren-free method calls.
2460
1b12c797
SM
2461 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2462 internals of universal-argument.
2463
029619c8
EZ
24642013-10-11 Eli Zaretskii <eliz@gnu.org>
2465
2466 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
2467 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2468 dropped menu on second mouse click on the menu bar.
029619c8 2469
dd070019
SM
24702013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2471
2472 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2473 (explicit-shell-file-name): Declare.
2474 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2475 (sh-completion-at-point-function): New function.
2476 (sh-mode): Use it.
2477 (sh-smie--keyword-p): Remove unused argument.
2478 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2479 vars.
2480 (sh-set-shell): Always setup SMIE, even if we use the
2481 old indentation code.
2482
0922b826
DG
24832013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2484
b68e2926
DG
2485 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2486 cases of ? and =.
2487 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2488 predicate would return nil are almost non-existent.
2489 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2490
0922b826
DG
2491 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2492 cache also after commands that modify the buffer but don't move
2493 point.
2494
ee041f2d
SM
24952013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2496
2497 * env.el (substitute-env-in-file-name): New function.
2498 (substitute-env-vars): Extend the meaning of the optional arg.
2499
a5dab159
EZ
25002013-10-10 Eli Zaretskii <eliz@gnu.org>
2501
2502 * term/w32-win.el (dynamic-library-alist): Define separate lists
2503 of GIF DLLs for versions before and after 5.0.0 of giflib.
2504 (Bug#15531)
2505
0449d6cd 25062013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
2507
2508 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2509 not locked, use last revision and current source as
2510 defaults. (Bug#15569)
2511
2f6e161e
MY
25122013-10-10 Masatake YAMATO <yamato@redhat.com>
2513
2514 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2515 menu-bar is hidden.
2516
6c8413fc
MR
25172013-10-10 Martin Rudalics <rudalics@gmx.at>
2518
2519 * window.el (pop-to-buffer-same-window): Fix doc-string.
2520 (Bug#15492)
2521
20832de0
SM
25222013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2523
2524 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2525
c6e8ae77
AC
25262013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2527
2528 * calendar/icalendar.el (icalendar-import-file):
2529 Fix interactive spec. (Bug#15482)
2530
9db13baf
GM
25312013-10-10 Glenn Morris <rgm@gnu.org>
2532
9271e90e
GM
2533 * desktop.el (desktop-save): Default to saving in .emacs.d,
2534 since PWD is no longer in desktop-path by default. (Bug#15319)
2535
9db13baf
GM
2536 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2537 now that text mode has a menu with the same entry.
2538 (menu-bar-text-mode-auto-fill): Remove now unused func.
2539 * textmodes/text-mode.el (text-mode-map):
2540 Use auto-fill help text from menu-bar.el.
2541
a0be396a 25422013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
2543
2544 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2545
2edcd3c7
JL
25462013-10-09 Juri Linkov <juri@jurta.org>
2547
2548 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2549 instead of this-command-keys. Add universal-argument-more and
2550 universal-argument-minus to the list of prefix commands. (Bug#15568)
2551
574411d0
GM
25522013-10-09 Glenn Morris <rgm@gnu.org>
2553
14afa541
GM
2554 * vc/vc-svn.el (vc-svn-create-repo):
2555 Expand paths in file://... url. (Bug#15446)
2556
574411d0
GM
2557 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2558 Add some entries.
2559 (authors): Remove unused local variables.
2560
79804536
SM
25612013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2562
2563 * profiler.el: Create a more coherent calltree from partial backtraces.
2564 (profiler-format): Hide the tail with `invisible' so that C-s can still
2565 find the hidden elements.
2566 (profiler-calltree-depth): Don't recurse so enthusiastically.
2567 (profiler-function-equal): New hash-table-test.
2568 (profiler-calltree-build-unified): New function.
2569 (profiler-calltree-build): Use it.
2570 (profiler-report-make-name-part): Indent the calltree less.
2571 (profiler-report-mode): Add visibility specs for profiler-format.
2572 (profiler-report-expand-entry, profiler-report-toggle-entry):
2573 Expand the whole subtree when provided with a prefix arg.
2574
238150c8
DG
25752013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2576
2577 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2578 iuwu-mod token.
2579 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2580 hanging iuwu-mod token.
2581 (ruby-smie--forward-token): Do not include a dot after a token in
2582 that token.
2583 (ruby-smie--backward-token): Likewise.
2584
b0949cc4
JL
25852013-10-08 Juri Linkov <juri@jurta.org>
2586
2587 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2588 to isearch-other-control-char.
2589 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2590 and isearch-post-command-hook to post-command-hook.
2591 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2592 and isearch-post-command-hook from post-command-hook.
2593 (isearch-unread-key-sequence)
2594 (isearch-reread-key-sequence-naturally)
2595 (isearch-lookup-scroll-key, isearch-other-control-char)
2596 (isearch-other-meta-char): Remove functions.
2597 (isearch-pre-command-hook, isearch-post-command-hook):
2598 New functions based on isearch-other-meta-char rewritten
2599 relying on the new behavior of overriding-terminal-local-map
2600 that does not replace the local keymaps any more. (Bug#15200)
2601
4ed77415
EZ
26022013-10-08 Eli Zaretskii <eliz@gnu.org>
2603
2604 Support menus on text-mode terminals.
2605 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2606 functionality.
2607
2608 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2609
c2de5588
DK
2610 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2611 Move here from mouse.el.
4ed77415
EZ
2612 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2613 and arrow keys.
2614 (tty-menu-navigation-map): New map for TTY menu navigation.
2615
2616 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2617
2618 * frame.el (display-mouse-p): Report text-mode mouse as available
2619 on w32.
2620 (display-popup-menus-p): Report availability if mouse is
2621 available; don't condition on window-system.
2622
2623 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2624 (tty-menu-selected-face): New faces.
2625
b7d5bd82
TL
26262013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2627
06286513
SM
2628 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2629 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2630 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2631 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2632 New constants.
2633 (lisp-mode-variables): New `elisp' argument.
2634 (emacs-lisp-mode): Use it.
2635 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2636 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2637
b7d5bd82
TL
2638 * indent.el: Use lexical-binding.
2639 (indent-region): Add progress reporter.
2640 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2641 last step.
2642 (indent--next-tab-stop): New function to implement this behavior.
2643 (tab-to-tab-stop, move-to-tab-stop): Use it.
2644
26452013-10-08 Teemu Likonen <tlikonen@iki.fi>
2646
2647 * indent.el (indent-rigidly--current-indentation): New function.
2648 (indent-rigidly-map): New var.
2649 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2650
5ea75d23
BG
26512013-10-08 Bastien Guerry <bzg@gnu.org>
2652
2653 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2654
cc5da1ec
SM
26552013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2656
8ffa1a0b
SM
2657 * progmodes/perl-mode.el: Use lexical-binding.
2658 Remove redundant :group args.
2659 (perl-nochange): Change default to be closer to other major modes's
2660 standard behavior.
2661 (perl-indent-line): Don't consider text on current line as a
2662 valid beginning of function from which to indent.
2663
f2223371
SM
2664 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2665 with more than one argument (bug#15538).
2666
44256060
SM
2667 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2668
cc5da1ec
SM
2669 * vc/pcvs.el: Use lexical-binding.
2670 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2671 environment of `eval'.
2672 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2673 than a list of expressions. Adjust callers.
2674 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2675
0ea1599d
DG
26762013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2677
2678 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 2679 case of the dot in a chained method call being on the following line.
0ea1599d 2680
da3e5ebb
SM
26812013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2682
2abb4e65
SM
2683 * electric.el (electric-indent-inhibit): New var.
2684 (electric-indent-post-self-insert-function): Use it.
2685 * progmodes/python.el (python-mode): Set it.
2686
d2e0e795
SM
2687 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2688 open braces.
2689
2690 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2691
bdc6b4c8
SM
2692 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2693 (css-mode): Use electric-indent-chars.
2694
da3e5ebb
SM
2695 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2696 (font-lock-beg, font-lock-end): Move before first use.
2697 (nxml-mode): Use syntax-propertize-function.
2698 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2699 (nxml-extend-after-change-region): Remove.
2700 * nxml/xmltok.el: Use lexical-binding.
2701 (xmltok-save): Use `declare'.
2702 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2703 * nxml/nxml-util.el: Use lexical-binding.
2704 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2705 Use `declare'.
2706 * nxml/nxml-ns.el: Use lexical-binding.
2707 (nxml-ns-save): Use `declare'.
2708 (nxml-ns-prefixes-for): Avoid add-to-list.
2709 * nxml/rng-match.el: Use lexical-binding.
2710 (rng--ipattern): Use cl-defstruct.
2711 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2712 (rng-cons-group-after, rng-subst-group-after)
2713 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2714 Use closures instead of `(lambda...).
2715
f8f91d5d
MA
27162013-10-07 Michael Albinus <michael.albinus@gmx.de>
2717
2718 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2719 of BEG and END.
2720
da3e5ebb
SM
2721 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2722 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
2723 (tramp-gvfs-handle-insert-file-contents): Remove function.
2724
da3e5ebb
SM
2725 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2726 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
2727
2728 * net/trampver.el: Update release number.
2729
7ccae3b1
SM
27302013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2731
55ca2c0d
SM
2732 * progmodes/compile.el (compilation-parse-errors):
2733 Use compilation--put-prop.
2734 (compilation--ensure-parse): Check compilation-multiline.
2735
731fc3ae
SM
2736 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2737
da3e5ebb
SM
2738 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2739 lexical-binding.
a5833280 2740
2e7ba2c2
SM
2741 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2742
7ccae3b1
SM
2743 * progmodes/ruby-mode.el: Fix recently added tests.
2744 (ruby-smie-grammar): Add - and +.
2745 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2746 (ruby-smie--backward-id): New functions.
2747 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2748 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2749 any more.
2750
85698d63
LL
27512013-10-07 Leo Liu <sdl.web@gmail.com>
2752
2753 * register.el (register-preview-delay)
2754 (register-preview-functions): New variables.
2755 (register-read-with-preview, register-preview)
2756 (register-describe-oneline): New functions.
2757 (point-to-register, window-configuration-to-register)
2758 (frame-configuration-to-register, jump-to-register)
2759 (number-to-register, view-register, insert-register)
2760 (copy-to-register, append-to-register, prepend-to-register)
2761 (copy-rectangle-to-register): Use register-read-with-preview to
2762 read register. (Bug#15525)
2763
3986af6c
DS
27642013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2765
2766 * net/network-stream.el (network-stream-open-starttls): Don't add
2767 --insecure if it's already present, because that gnutls-cli
2768 rejects getting that parameter twice.
2769
5cd9cda9
DG
27702013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2771
2772 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2773 keyword, too.
2774
da9ea6d9
DG
27752013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2776
2777 * newcomment.el (comment-use-global-state): Change default value
2778 to t, mark obsolete (Bug#15251).
2779 (comment-beginning): In addition to `comment-to-syntax', check the
2780 value of `comment-use-global-state'.
2781
34d1a133
SM
27822013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2783
2784 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2785 (ruby-comment-column): Follow the global default, by default.
2786 (ruby-smie-grammar): Add assignment syntax.
2787 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2788 open-paren, a comma, or a \.
2789 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2790 and line continuations.
2791 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2792 followed by implicit semi-colons. Add rule for string concatenation
2793 and for indentation at BOB.
2794 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2795
2796 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2797 calling next-sexp, since next-token may have skipped chars which
2798 next-sexp doesn't know should be skipped!
2799
6f6ab820
LL
28002013-10-05 Leo Liu <sdl.web@gmail.com>
2801
34d1a133
SM
2802 * progmodes/octave.el (octave-send-region):
2803 Call compilation-forget-errors.
6f6ab820 2804
34ca0f4c
XF
28052013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2806
2807 * vc/vc-svn.el (vc-svn-find-admin-dir):
2808 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2809 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2810 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2811 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2812
a27c1b72
SM
28132013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2814
2815 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2816
258ab3bc
SM
28172013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2818
2819 * subr.el (read-passwd): Hide chars even when called within a context
2820 where after-change-functions is disabled (bug#15501).
2821 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2822 until we removed ourself from overriding-terminal-local-map.
2823
939fb29c
LL
28242013-10-04 Leo Liu <sdl.web@gmail.com>
2825
258ab3bc
SM
2826 * progmodes/octave.el (inferior-octave-mode):
2827 Call compilation-forget-errors.
939fb29c 2828
63bd7f35
XF
28292013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2830
2831 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2832
9e6229fa
MA
28332013-10-04 Michael Albinus <michael.albinus@gmx.de>
2834
2835 * net/secrets.el (secrets-create-collection): Add optional
2836 argument ALIAS. Use proper Label keyword. Append ALIAS as
2837 dbus-call-method argument. (Bug#15516)
2838
1dab32a3
LL
28392013-10-04 Leo Liu <sdl.web@gmail.com>
2840
2841 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2842 (inferior-octave-compilation-font-lock-keywords): New variables.
2843 (compilation-error-regexp-alist)
2844 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2845 (inferior-octave-mode): Use compilation-shell-minor-mode.
2846
6cad7ba3
JS
28472013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2848
2849 * minibuffer.el (completion--replace): Be careful that `end' might be
2850 a marker.
2851
acbadd00
DU
28522013-10-03 Daiki Ueno <ueno@gnu.org>
2853
2854 Add support for package signature checking.
2855 * emacs-lisp/package.el (url-http-file-exists-p)
2856 (epg-make-context, epg-context-set-home-directory)
2857 (epg-verify-string, epg-context-result-for)
2858 (epg-signature-status, epg-signature-to-string)
2859 (epg-check-configuration, epg-configuration)
2860 (epg-import-keys-from-file): Declare.
2861 (package-check-signature): New user option.
2862 (package-unsigned-archives): New user option.
2863 (package-desc): Add `signed' field.
2864 (package-load-descriptor): Set `signed' field if .signed file exists.
2865 (package--archive-file-exists-p): New function.
2866 (package--check-signature): New function.
2867 (package-install-from-archive): Check package signature.
2868 (package--download-one-archive): Check archive signature.
2869 (package-delete): Remove .signed file.
2870 (package-import-keyring): New command.
2871 (package-refresh-contents): Import default keyring.
2872 (package-desc-status): Add "unsigned" status.
2873 (describe-package-1, package-menu--print-info)
2874 (package-menu-mark-delete, package-menu--find-upgrades)
2875 (package-menu--status-predicate): Support "unsigned" status.
2876
adf2aa61
SM
28772013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2878
2879 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2880 the new compilation scheme using the new byte-codes.
2881
2882 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2883 (byte-pophandler): New byte codes.
2884 (byte-goto-ops): Adjust accordingly.
2885 (byte-compile--use-old-handlers): New var.
2886 (byte-compile-catch): Use new byte codes depending on
2887 byte-compile--use-old-handlers.
2888 (byte-compile-condition-case--old): Rename from
2889 byte-compile-condition-case.
2890 (byte-compile-condition-case--new): New function.
2891 (byte-compile-condition-case): New function that dispatches depending
2892 on byte-compile--use-old-handlers.
2893 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2894 when we can.
2895
2896 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2897 Optimize under `condition-case' and `catch' if
2898 byte-compile--use-old-handlers is nil.
2899 (disassemble-offset): Handle new bytecodes.
2900
328a8179
SM
29012013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2902
2903 * subr.el (error): Use `declare'.
2904 (decode-char, encode-char): Use advertised-calling-convention instead
2905 of the docstring to discourage use of the `restriction' arg.
2906
15a1e936
DU
29072013-10-03 Daiki Ueno <ueno@gnu.org>
2908
2909 * epg.el (epg-verify-file): Add a comment saying that it does not
2910 notify verification error as a return value nor a signal.
2911 (epg-verify-string): Ditto.
2912
376f862a
KR
29132013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2914
2915 * progmodes/compile.el (compilation-start): Try globbing the arg to
2916 `cd' (bug#15417).
2917
a2f93a5f
MA
29182013-10-02 Michael Albinus <michael.albinus@gmx.de>
2919
2920 Sync with Tramp 2.2.8.
2921
2922 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2923 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2924 * net/trampver.el: Update release number.
2925
0daa0804
JD
29262013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2927
2928 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2929 and default-process-coding-system for darwin only.
2930
abd1ae34
SM
29312013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2932
2933 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2934
be4e325d
MH
29352013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2936
2937 * vc/vc-git.el (vc-git-grep): Disable pager.
2938
e9155c4a
DG
29392013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2940
494e898b
DG
2941 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2942 Use :url instead of :homepage, as per
2943 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2944
e9155c4a
DG
2945 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2946 non-nil, use `syntax-ppss' (Bug#15251).
2947
481a8e0f
RS
29482013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2949
be4e325d
MH
2950 * progmodes/octave.el (inferior-octave-startup-file):
2951 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 2952
056453c6
DG
29532013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2954
be4e325d
MH
2955 * emacs-lisp/package.el (package-desc-from-define):
2956 Accept additional arguments as plist, convert them to an alist and store
2957 them in the `extras' slot.
056453c6
DG
2958 (package-generate-description-file): Convert extras alist back to
2959 plist and append to the `define-package' form arguments.
2960 (package--alist-to-plist): New function.
2961 (package--ac-desc): Add `extras' slot.
2962 (package--add-to-archive-contents): Check if the archive-contents
2963 vector is long enough, and if it is, pass its `extras' slot value
2964 to `package-desc-create'.
2965 (package-buffer-info): Call `lm-homepage', pass the returned value
2966 to `package-desc-from-define'.
2967 (describe-package-1): Render the homepage button (Bug#13291).
2968
be4e325d
MH
2969 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2970 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 2971
832966e5
JD
29722013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2973
2974 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2975 and default-process-coding-system to utf-8-unix (Bug#15402).
2976
6cfe977d
XF
29772013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2978
2979 * subr.el (looking-back): Do not recommend using looking-back.
2980
38de11bd
AM
29812013-09-28 Alan Mackenzie <acm@muc.de>
2982
2983 Fix indentation/fontification of Java enum with "implements".
2984
2985 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2986 regexp which matches "implements", etc., in Java.
2987 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2988 specifier clauses coming after "enum".
2989 * progmodes/cc-fonts.el (c-font-lock-declarations)
2990 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2991 after "enum".
2992
1610938f
JD
29932013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2994
2995 * faces.el (region): Change ns_selection_color to
2996 ns_selection_fg_color, add ns_selection_bg_color.
2997
e090f499
LL
29982013-09-28 Leo Liu <sdl.web@gmail.com>
2999
4d2e94d1
LL
3000 * progmodes/octave.el (inferior-octave-completion-table)
3001 (inferior-octave-completion-at-point): Minor tweaks.
3002
e090f499
LL
3003 * textmodes/ispell.el (ispell-lookup-words): Rename from
3004 lookup-words. (Bug#15460)
3005 (lookup-words): Obsolete.
3006 (ispell-complete-word, ispell-command-loop): All uses changed.
3007
7e138a62
RS
30082013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3009
3010 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3011 (octave-mode-menu): Add octave-send-buffer.
3012 (octave-send-buffer): New function.
3013
5af5ed08
RS
30142013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3015
3016 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3017 octave-lookfor.
3018 (octave-mode-menu): Add octave-lookfor.
3019 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3020 octave-lookfor.
3021 (octave-lookfor): New function.
3022
3b7b2692
SM
30232013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3024
3025 * emacs-lisp/cl-macs.el:
3026 (cl--loop-destr-temps): Remove.
3027 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3028 its convention.
3029 (cl--loop-set-iterator-function): New function.
3030 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3031 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3032 Bind `it' with `let' instead of substituting it with `cl-subst'.
3033 (cl--unused-var-p): New function.
3034 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3035 Eliminate some unused variable warnings (bug#15326).
3036
529fb53f
TH
30372013-09-27 Tassilo Horn <tsdh@gnu.org>
3038
3039 * doc-view.el (doc-view-scale-reset): Rename from
3040 `doc-view-reset-zoom-level'.
3041 (doc-view-scale-adjust): New command.
3042 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3043 `doc-view-scale-adjust'.
3044
0550c95a
TH
30452013-09-26 Tassilo Horn <tsdh@gnu.org>
3046
3047 * doc-view.el (doc-view-reset-zoom-level): New command.
3048 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3049 zoom commands (bug#15466).
3050
6950f152
KH
30512013-09-26 Kenichi Handa <handa@gnu.org>
3052
3053 * international/quail.el (quail-help): Make it not a command.
3054
39587580
LL
30552013-09-26 Leo Liu <sdl.web@gmail.com>
3056
3057 * minibuffer.el (completion-all-sorted-completions): Make args
3058 optional as they are.
3059
00578659
DC
30602013-09-25 Daniel Colascione <dancol@dancol.org>
3061
3062 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3063 specs are and that they're not evaluated.
3064
0c173878
SS
30652013-09-24 Sam Steingold <sds@gnu.org>
3066
3067 * midnight.el (clean-buffer-list-kill-regexps)
3068 (clean-buffer-list-kill-buffer-names): Update for the new Man
3069 buffer naming which includes the object name.
3070
84998447
SM
30712013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3072
3073 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3074 (eshell-parse-command, eshell-parse-pipeline): Use it since
3075 eshell-separate-commands requires a dynamic scoped var.
3076 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3077
33215353
LL
30782013-09-23 Leo Liu <sdl.web@gmail.com>
3079
3080 * autoinsert.el (auto-insert-alist): Make the value of
3081 lexical-binding match its file setting.
3082
57b16162
JB
30832013-09-23 Juanma Barranquero <lekktu@gmail.com>
3084
c8af4e67
JB
3085 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3086
57b16162
JB
3087 * autoarg.el (autoarg-kp-digit-argument):
3088 * electric.el (Electric-command-loop):
3089 * kmacro.el (kmacro-step-edit-insert):
3090 Do not set universal-argument-num-events.
3091
7186ba60
LL
30922013-09-22 Leo Liu <sdl.web@gmail.com>
3093
3094 * files.el (interpreter-mode-alist): Add octave.
3095
ece15004
AM
30962013-09-21 Alan Mackenzie <acm@muc.de>
3097
3098 C++: fontify identifier in declaration following "public:" correctly.
3099 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3100 to match "public", etc.
3101 (c-decl-prefix-re): Add ":" into the C++ value.
3102 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3103 bit. Add a check for a ":" preceded by "public", etc.
3104
75d83e22
EZ
31052013-09-21 Eli Zaretskii <eliz@gnu.org>
3106
3107 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3108 recognized by GDB 7.5 and later.
3109
d052d3bd
XF
31102013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3111
3112 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3113
31dca772
R
31142013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3115
3116 * subr.el (internal--call-interactively): New const.
3117 (called-interactively-p): Use it (bug#3984).
3118
98ccf24e
XF
31192013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3120
3121 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
3122 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3123 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 3124
c39cc7d1
SM
31252013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3126
3127 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3128 (eshell-ls-orig-insert-directory): Remove.
3129 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3130 (eshell-ls-use-in-dired): Use advice-add/remove.
3131 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3132 Add `orig-fun' arg for use in :around advice.
3133 Make it check (redundantly) eshell-ls-use-in-dired.
3134
9a0289a2
GM
31352013-09-19 Glenn Morris <rgm@gnu.org>
3136
a2c501b8
GM
3137 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3138
c440407a
GM
3139 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3140
9a0289a2
GM
3141 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3142
85e05915
MA
31432013-09-19 Michael Albinus <michael.albinus@gmx.de>
3144
3145 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3146 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3147 (tramp-get-remote-python): New defuns.
3148 (tramp-get-remote-uid-with-perl)
3149 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3150 contributed by yary <not.com@gmail.com> (tiny change).
3151 (tramp-get-remote-uid-with-python)
3152 (tramp-get-remote-gid-with-python): New defuns. Python code
3153 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3154 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3155
ce503312
GM
31562013-09-19 Glenn Morris <rgm@gnu.org>
3157
f7544773
GM
3158 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3159
72fd2877
GM
3160 * eshell/em-unix.el (eshell-remove-entries):
3161 Rename argument to avoid name-clash with global `top-level'.
3162
336b5a56
GM
3163 * eshell/esh-proc.el (eshell-kill-process-function):
3164 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3165 (eshell-reset-after-proc): Remove unused arg `proc'.
3166
57a3a53d
GM
3167 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3168 (directory-files-and-attributes): Mark unused arg.
3169
3261d4af
GM
3170 * eshell/em-unix.el (eshell-remove-entries):
3171 Remove unused arg `path'. Update callers.
3172
8e51b5d0
GM
3173 * eshell/em-hist.el (eshell-hist-parse-arguments):
3174 Remove unused arg `silent'. Update callers.
3175
ce503312
GM
3176 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3177 Fix (f)boundp mix-up.
3178
3179 * eshell/em-smart.el (eshell-smart-scroll-window)
3180 (eshell-disable-after-change):
336b5a56 3181 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 3182
ee3ce8a7
AM
31832013-09-18 Alan Mackenzie <acm@muc.de>
3184
3185 Fix fontification of type when followed by "const".
3186 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3187 "known" types from fontification.
3188
ec9177ba
GM
31892013-09-18 Glenn Morris <rgm@gnu.org>
3190
7bb3e768
GM
3191 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3192 (chart-face-list): Drop Emacsen without display-color-p.
3193
5148da15
GM
3194 * net/eww.el (libxml-parse-html-region): Declare.
3195 (eww-display-html): Explicit error if no libxml2 support.
3196
2f68e157
GM
3197 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3198
9019d095
GM
3199 * image.el (image-type-from-buffer, image-multi-frame-p):
3200 Remove --without-x warning/error.
67645389 3201
5f30349b 3202 * mouse.el (mouse-yank-primary):
45069b2e 3203 * term.el (term-mouse-paste):
5f30349b
GM
3204 Reorder to silence --without-x compilation.
3205
cd8edbbe
GM
3206 * mpc.el (doc-view-mode): Silence --without-x compilation.
3207
8a78544e
GM
3208 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3209 Silence --without-x compilation.
3210
12679bfd
GM
3211 * progmodes/gud.el (gud-find-file, gud-mode):
3212 Silence --without-x compilation.
3213 (tooltip-mode): Declare.
30810a05 3214
f0047cb9
GM
3215 * wdired.el (dired-backup-overwrite): Remove declaration.
3216 (wdired-mode-map): Add doc string.
3217
e740f9d2
GM
3218 * custom.el (x-get-resource): Declare.
3219
92d77c89
GM
3220 * eshell/em-glob.el (ange-cache):
3221 * eshell/em-unix.el (ange-cache): Declare.
3222
76e69577
GM
3223 * faces.el (x-display-list, x-open-connection, x-get-resource):
3224 Declare.
7e58af4b
GM
3225
3226 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3227 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3228 Declare.
76e69577 3229
4bd4c0af 3230 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 3231
ffb82dbd
GM
3232 * net/gnutls.el (gnutls-log-level): Declare.
3233
986ed135
GM
3234 * net/shr.el (image-size, image-animate): Declare.
3235
e740f9d2
GM
3236 * simple.el (font-info): Declare.
3237
d2f3e9f8
GM
3238 * subr.el (x-popup-dialog): Declare.
3239
047a1a4c
GM
3240 * term/common-win.el (x-select-enable-primary)
3241 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3242 Declare.
3243
f4a1d572
GM
3244 * term/ns-win.el (x-handle-args): Declare.
3245
e843de77
GM
3246 * term/x-win.el (x-select-enable-clipboard): Declare.
3247
5fa89513
GM
3248 * term/w32-win.el (create-default-fontset): Declare.
3249
38702b5b
GM
3250 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3251 Declare.
3252
e740f9d2
GM
3253 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3254 (fit-frame-to-buffer): Explicit error if --without-x.
3255 (mouse-autoselect-window-select): Silence compiler.
3256
49a053fc
GM
3257 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3258
3259 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3260 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3261 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 3262 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
3263 Remove unused local variables.
3264
3265 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3266
ec9177ba
GM
3267 * textmodes/two-column.el: Make 2C-split work for --without-x.
3268 (scroll-bar-columns): Autoload.
3269 (top-level): Require fringe when compiling.
3270
9f25cb77
LL
32712013-09-18 Leo Liu <sdl.web@gmail.com>
3272
3273 * subr.el (add-hook): Robustify to handle closure as well.
3274
2b42da98
GM
32752013-09-17 Glenn Morris <rgm@gnu.org>
3276
3277 * simple.el (messages-buffer-mode-map): Unbind "g".
3278
e8b66a6a
SM
32792013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3280
9c0ad4f7
SM
3281 * help-mode.el (help-mode-finish): Use derived-mode-p.
3282 Remove obsolete highlighting.
3283
7a806dfb
SM
3284 * play/life.el (life-mode): Use define-derived-mode. Derive from
3285 special-mode.
3286 (life): Let-bind inhibit-read-only.
3287 (life-setup): Avoid `setq'. Use `life-mode'.
3288
96dbf5a8
SM
3289 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3290 which should not be needed any more.
3291 (package-menu-refresh, package-menu-describe-package): Use user-error.
3292
e8b66a6a
SM
3293 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3294 (eshell-post-rewrite-command-hook): Make obsolete.
3295 (eshell-parse-command): Simplify.
3296 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3297 (eshell--cmd): Declare.
3298 (eshell-parse-pipeline): Remove unused var `final-p'.
3299 Pass a dynvar to eshell-post-rewrite-command-hook.
3300 Implement the new eshell-post-rewrite-command-function.
3301 (eshell-invoke-directly): Remove unused arg `input'.
3302 * eshell/esh-io.el (eshell-io-initialize):
3303 Use eshell-post-rewrite-command-function (bug#15399).
3304 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3305 adjust to new calling convention.
3306 (eshell-create-handles): Rename args to avoid clashing with dynvar
3307 `standard-output'.
3308
90582f05
GM
33092013-09-17 Glenn Morris <rgm@gnu.org>
3310
3311 * simple.el (messages-buffer-mode): New major mode.
3312 (messages-buffer): New function.
3313 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3314 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 3315 (ert-run-test): Use `messages-buffer' function.
90582f05 3316 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
3317 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3318 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 3319
39eb0cb5 33202013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
3321
3322 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3323
1f1e06e2
SM
3324 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3325
70568a90
SM
33262013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3327
504a0381
SM
3328 * icomplete.el (icomplete-in-buffer): New var.
3329 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3330 vars and replace them with functions.
3331 (icomplete-minibuffer-setup): Adjust accordingly.
3332 (icomplete--completion-table, icomplete--completion-predicate)
3333 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3334 New functions.
3335 (icomplete-forward-completions, icomplete-backward-completions)
3336 (icomplete-simple-completing-p, icomplete-exhibit)
3337 (icomplete-completions): Use them.
3338 (icomplete--in-region-buffer): New var.
3339 (icomplete--in-region-setup): New function.
3340 (icomplete-mode): Use it.
3341
70568a90
SM
3342 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3343 (bug#15379).
3344 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3345 return args and options.
3346 (eshell-eval-using-options): Use the new return value of
3347 eshell--do-opts to set the options's vars in their scope.
3348 (eshell--set-option): Rename from eshell-set-option.
3349 Add arg `opt-vals'.
3350 (eshell--process-option): Rename from eshell-process-option.
3351 Add arg `opt-vals'.
3352 (eshell--process-args): Use an `opt-vals' alist to store the options's
3353 values during their processing and return them additionally to the
3354 remaining args.
3355
578c21bc
DG
33562013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3357
3358 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3359 continuation character an operator, as far as indentation is
3360 concerned (Bug#15369).
3361
c089653d
MR
33622013-09-15 Martin Rudalics <rudalics@gmx.at>
3363
3364 * window.el (window--state-put-2): Don't process buffer state
3365 when buffer doesn't exist any more (Bug#15382).
3366
1e53bb4b
GM
33672013-09-15 Glenn Morris <rgm@gnu.org>
3368
30753242
GM
3369 * eshell/em-unix.el (eshell/rm):
3370 Make -f ignore missing files. (Bug#15373)
3371
1e53bb4b
GM
3372 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3373 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3374 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3375
0d8863b3
GM
33762013-09-14 Glenn Morris <rgm@gnu.org>
3377
3378 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3379
d3fc6549
GM
33802013-09-13 Glenn Morris <rgm@gnu.org>
3381
3382 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3383 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3384
fcd42c11
DA
33852013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3386
3387 * frame.el (x-focus-frame): Mark as declared in frame.c.
3388
7830899f
SM
33892013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3390
3391 * ls-lisp.el: Use advice-add.
3392 (original-insert-directory): Remove.
3393 (ls-lisp--insert-directory): Rename from insert-directory; add
3394 `orig-fun' argument.
3395 (insert-directory): Advise.
3396
84387cd2
EZ
33972013-09-13 Eli Zaretskii <eliz@gnu.org>
3398
3399 * term.el (term-emulate-terminal): Decode the command string
3400 before passing it to term-command-hook. (Bug#15337)
3401
35ffc6ba
GM
34022013-09-13 Glenn Morris <rgm@gnu.org>
3403
5c3f9bcc
GM
3404 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3405
2ada368a
GM
3406 * eshell/esh-ext.el (eshell-search-path): Declare.
3407
fcef2e13
GM
3408 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3409 Otherwise an error occurs if eshell-dirs module not loaded.
3410
35ffc6ba
GM
3411 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3412
35c3d36e
MA
34132013-09-13 Michael Albinus <michael.albinus@gmx.de>
3414
3415 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3416 `tramp-check-proper-host'. Check for a valid method name.
3417
3418 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3419 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3420 * net/tramp-sh.el (tramp-maybe-open-connection):
3421 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3422
3423 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3424 also for hash values.
3425
ae5e4c48
SM
34262013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3427
379add74
SM
3428 * term/ns-win.el (parameters): Don't declare as dynamic.
3429 (before-make-frame-hook): Don't add ineffective function.
3430
ae5e4c48
SM
3431 * eshell/*.el: Use lexical-binding (bug#15231).
3432
b5623270
KH
34332013-09-12 Kenichi Handa <handa@gnu.org>
3434
ae5e4c48 3435 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 3436
30213927
GM
34372013-09-12 Glenn Morris <rgm@gnu.org>
3438
be94d713 3439 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 3440 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 3441
44915370
GM
3442 * subr.el (do-after-load-evaluation): Also give compiler warnings
3443 when obsolete files are used (except by obsolete files).
3444
a6ae021f
GM
3445 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3446 in the status output, assume `filename' is the first. (Bug#15322)
3447
40e64f0c
GM
3448 * vc/vc.el (vc-deduce-fileset): Doc fix.
3449
16d9f896
GM
3450 * calc/calc-help.el (Info-goto-node):
3451 * progmodes/cperl-mode.el (Info-find-node):
3452 * vc/ediff.el (Info-goto-node): Update declarations.
3453
dea01c6e
GM
3454 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3455
759880bf 3456 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
3457 (vc-bzr-pull): Require vc-dispatcher.
3458 * vc/vc-git.el (vc-compilation-mode): Declare.
3459 (vc-git-pull): Require vc-dispatcher.
3460
08d66420
GM
3461 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3462
30b626e9
GM
3463 * progmodes/octave.el (help-button-action): Declare.
3464
8c05cb10
GM
3465 * shell.el (shell-directory-tracker): Output error as a message
3466 rather than just returning it as a string.
3467 (shell-process-pushd): Remove useless use of message.
3468
30213927
GM
3469 * dframe.el (dframe-timer-fn):
3470 * files.el (dir-locals-read-from-file):
3471 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3472 (mpc-format):
3473 * reveal.el (reveal-post-command):
3474 * saveplace.el (load-save-place-alist-from-file):
3475 * shell.el (shell-resync-dirs):
3476 * w32-common-fns.el (x-get-selection-value):
3477 * emacs-lisp/copyright.el (copyright-find-copyright):
3478 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3479 * emulation/tpu-edt.el (tpu-copy-keyfile):
3480 * play/bubbles.el (bubbles--mark-neighbourhood):
3481 * progmodes/executable.el
3482 (executable-make-buffer-file-executable-if-script-p):
3483 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3484
d3b049e6
SM
34852013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3486
170266d0
SM
3487 Cleanup Eshell to rely less on dynamic scoping.
3488 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3489 last-value, and ext-command here. Bind `args' closer to `body'.
3490 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3491 (eshell--args): Declare new dynamic var.
3492 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3493 last-value, and ext-command. Pass `args' to `body'.
3494 (eshell-process-args): Bind eshell--args.
3495 (eshell-set-option): Use eshell--args.
3496 * eshell/eshell.el (eshell): Use derived-mode-p.
3497 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3498 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3499 (eshell-glob-function): Declare.
3500 * eshell/esh-util.el: Require cl-lib.
3501 (eshell-read-hosts-file): Avoid add-to-list.
3502 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3503 `err'.
3504 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3505 Declare.
3506 (eshell/diff): Remove unused var `err'.
3507 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3508 `killflag'.
3509 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3510 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3511 first use.
3512 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3513 Move declaration before first use.
3514 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
3515 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3516 rely on cl-return.
3517
56834f3b
GM
35182013-09-12 Glenn Morris <rgm@gnu.org>
3519
3520 * term/ns-win.el (global-map): Remove binding for ispell-next,
3521 deleted 1999-05-29. (Bug#15357)
3522
5c91a2b8
GM
35232013-09-11 Glenn Morris <rgm@gnu.org>
3524
da712f22
GM
3525 * echistory.el (electric-command-history): Remove call to deleted func.
3526
512e4cdc
GM
3527 * play/landmark.el (landmark-mode): Fix typos.
3528
d3506ca5
GM
3529 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3530 Check cvs-sort-ignore-file is bound.
3531
5c91a2b8
GM
3532 * savehist.el: No need for cl when compiling on Emacs.
3533
feeff482
SM
35342013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3535
656bd483
SM
3536 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3537 (bug#15338).
d3b049e6
SM
3538 (eshell-self-insert-command, eshell-send-invisible):
3539 Remove unused argument.
656bd483
SM
3540 (eshell-handle-control-codes): Remove unused var `orig'.
3541 Avoid delete-backward-char.
3542
feeff482
SM
3543 * files.el (set-auto-mode): Simplify a bit further.
3544
2a08047a
GM
35452013-09-11 Glenn Morris <rgm@gnu.org>
3546
3547 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3548 (set-auto-mode): Don't regexp-quote elements.
3549 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3550 * progmodes/cc-mode.el (interpreter-mode-alist):
3551 * progmodes/ruby-mode.el (interpreter-mode-alist):
3552 Revert previous change.
3553
34675540
SM
35542013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3555
1b3b87df
SM
3556 * play/snake.el (snake-mode):
3557 * play/mpuz.el (mpuz-mode):
3558 * play/landmark.el (lm-mode):
3559 * play/blackbox.el (blackbox-mode):
3560 * play/5x5.el (5x5-mode):
3561 * obsolete/options.el (Edit-options-mode):
3562 * net/quickurl.el (quickurl-list-mode):
3563 * net/newst-treeview.el (newsticker-treeview-mode):
3564 * mail/rmailsum.el (rmail-summary-mode):
3565 * mail/mspools.el (mspools-mode):
3566 * locate.el (locate-mode):
3567 * ibuffer.el (ibuffer-mode):
3568 * emulation/ws-mode.el (wordstar-mode):
3569 * emacs-lisp/debug.el (debugger-mode):
3570 * array.el (array-mode):
3571 * net/eudc.el (eudc-mode): Use define-derived-mode.
3572 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3573 Move initialization into declaration.
3574 (mairix-searches-mode): Use define-derived-mode.
3575 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3576 (eudc-edit-hotlist): Use dolist.
3577 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3578 (Man-mode): Use define-derived-mode.
3579 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3580 (Info-edit-mode): Use define-derived-mode.
3581 (Info-cease-edit): Use Info-mode.
3582 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3583 into declaration.
3584 (eshell-mode): Use define-derived-mode.
3585 * chistory.el (command-history-mode-map): Rename from
3586 command-history-map.
3587 (command-history-mode): Use define-derived-mode.
da712f22 3588 (Command-history-setup): Remove function.
1b3b87df
SM
3589 * calc/calc.el (calc-trail-mode-map): New var.
3590 (calc-trail-mode): Use define-derived-mode.
3591 (calc-trail-buffer): Set calc-main-buffer manually.
3592 * bookmark.el (bookmark-insert-annotation): New function.
3593 (bookmark-edit-annotation): Use it.
3594 (bookmark-edit-annotation-mode): Make it a proper major mode.
3595 (bookmark-send-edited-annotation): Use derived-mode-p.
3596 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3597 closer to its ideal place. Use \' to match EOS.
3598
34675540
SM
3599 * profiler.el (profiler-calltree-find): Use function-equal.
3600
6a5c15d9
GM
36012013-09-10 Glenn Morris <rgm@gnu.org>
3602
1af4c220
GM
3603 * files.el (interpreter-mode-alist): Convert to regexps.
3604 (set-auto-mode): Adapt for this. (Bug#15306)
3605 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3606 Comment out unused variable.
3607 * progmodes/cc-mode.el (interpreter-mode-alist):
3608 * progmodes/python.el (interpreter-mode-alist):
3609 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3610 * progmodes/sh-script.el (sh-set-shell):
3611 No longer use interpreter-mode-alist to get list of shells.
3612
6a5c15d9
GM
3613 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3614
8c27f5ff
SM
36152013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3616
02ef6c1a 3617 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 3618 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
3619 Bind switch-frame explicitly. Replace universal-argument-minus with
3620 a conditional binding.
3621 (universal-argument-num-events, saved-overriding-map): Remove.
3622 (restore-overriding-map): Remove.
3623 (universal-argument--mode): Rename from save&set-overriding-map,
3624 and rewrite.
3625 (universal-argument, universal-argument-more, negative-argument)
3626 (digit-argument): Adjust accordingly.
3627 (universal-argument-minus): Remove.
3628 (universal-argument-other-key): Remove.
3629
8c27f5ff
SM
3630 * subr.el (with-demoted-errors): Add `format' argument.
3631
6480194c
MA
36322013-09-10 Michael Albinus <michael.albinus@gmx.de>
3633
3634 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3635 `tramp-cleanup-connection'.
3636
3637 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3638 parameters KEEP-DEBUG and KEEP-PASSWORD.
3639
3640 * net/tramp.el (tramp-file-name-handler):
3641 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3642 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3643 (tramp-maybe-open-connection):
8c27f5ff
SM
3644 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3645 Use `tramp-cleanup-connection'.
6480194c 3646
8c27f5ff
SM
3647 * net/tramp-sh.el (tramp-maybe-open-connection):
3648 Catch 'uname-changed inside the progress reporter.
6480194c 3649
e5e916d8
GM
36502013-09-10 Glenn Morris <rgm@gnu.org>
3651
9a2c9b47
GM
3652 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3653
e5e916d8
GM
3654 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3655 returns "alternate access method" in mode (eg "-rw-r--r--.").
3656
144e38fe
GM
36572013-09-08 Glenn Morris <rgm@gnu.org>
3658
3659 * saveplace.el (load-save-place-alist-from-file):
3660 Demote errors. (Bug#15305)
3661
af9ff9e8
MA
36622013-09-08 Michael Albinus <michael.albinus@gmx.de>
3663
3664 Improve compatibility with older Emacsen, and XEmacs.
3665
3666 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3667 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
3668 (with-tramp-progress-reporter): Do not let-bind `result'.
3669 This yields to scoping errors in XEmacs.
af9ff9e8
MA
3670 (tramp-handle-make-auto-save-file-name): New function, moved from
3671 tramp-sh.el.
3672
3673 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3674 for `make-auto-save-file-name'.
8c27f5ff
SM
3675 (tramp-adb--gnu-switches-to-ash):
3676 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3677
3678 * net/tramp-cache.el (tramp-cache-print): Call
3679 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3680
3681 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3682 bound. It isn't for XEmacs.
3683
8c27f5ff
SM
3684 * net/tramp-compat.el (tramp-compat-copy-file):
3685 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
3686 (tramp-compat-replace-regexp-in-string): New defun.
3687
3688 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3689 for `make-auto-save-file-name'.
3690 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3691 `copy-file'.
3692 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3693 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3694 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3695
8c27f5ff
SM
3696 * net/tramp-gw.el (tramp-gw-open-network-stream):
3697 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 3698
8c27f5ff
SM
3699 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3700 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
3701 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3702 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
3703 (tramp-sh-file-inotifywait-process-filter):
3704 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3705 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3706
3707 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3708 for `make-auto-save-file-name'.
8c27f5ff
SM
3709 (tramp-smb-handle-copy-directory):
3710 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3711 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3712 (tramp-smb-handle-copy-file): Improve error message.
3713 (tramp-smb-handle-rename-file): Rename directly only in case
3714 `newname' does not exist yet. This is a restriction of smbclient.
3715 (tramp-smb-maybe-open-connection): Rerun the function only when
3716 `auth-sources' is non-nil.
3717
0ca754d0
KH
37182013-09-08 Kenichi Handa <handa@gnu.org>
3719
3720 * international/characters.el: Set category "^" (Combining) for
3721 more characters.
3722
e8dd0787
AM
37232013-09-07 Alan Mackenzie <acm@muc.de>
3724
3725 Correctly fontify Java class constructors.
3726 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3727 in Java Mode.
3728 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
3729 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3730 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
3731 "typeless" declaration there.
3732
f2f248e7
RW
37332013-09-07 Roland Winkler <winkler@gnu.org>
3734
3735 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3736 field subtitle for entry type book.
3737
67982e2b
SM
37382013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3739
3740 * minibuffer.el: Make minibuffer-complete call completion-in-region
3741 rather than other way around.
3742 (completion--some, completion-pcm--find-all-completions):
3743 Don't delay signals when debugging.
3744 (minibuffer-completion-contents): Beware fields within the
3745 minibuffer contents.
3746 (completion-all-sorted-completions): Use defvar-local.
3747 (completion--do-completion, completion--cache-all-sorted-completions)
3748 (completion-all-sorted-completions, minibuffer-force-complete):
3749 Add args `beg' and `end'.
3750 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3751 (minibuffer-complete): Use completion-in-region.
3752 (completion-complete-and-exit): New fun, extracted from
3753 minibuffer-complete-and-exit.
3754 (minibuffer-complete-and-exit): Use it.
3755 (completion--complete-and-exit): Rename from
3756 minibuffer--complete-and-exit.
3757 (completion-in-region--single-word): New function, extracted from
3758 minibuffer-complete-word.
3759 (minibuffer-complete-word): Use it.
3760 (display-completion-list): Make `common-substring' argument obsolete.
3761 (completion--in-region): Call completion--in-region-1 instead of
3762 minibuffer-complete.
3763 (completion-help-at-point): Pass boundaries to
3764 minibuffer-completion-help as args rather than via an overlay.
3765 (completion-pcm--string->pattern): Use `any-delim'.
3766 (completion-pcm--optimize-pattern): New function.
3767 (completion-pcm--pattern->regex): Handle `any-delim'.
3768 * icomplete.el (icomplete-forward-completions)
3769 (icomplete-backward-completions, icomplete-completions):
3770 Adjust calls to completion-all-sorted-completions and
3771 completion--cache-all-sorted-completions.
3772 (icomplete-with-completion-tables): Default to t.
3773 * emacs-lisp/crm.el (crm--current-element): Rename from
3774 crm--select-current-element. Don't put an overlay but return the
3775 boundaries instead.
3776 (crm--completion-command): Take two new args to bind to the boundaries.
3777 (crm-completion-help): Adjust accordingly.
3778 (crm-complete): Use completion-in-region.
3779 (crm-complete-word): Use completion-in-region--single-word.
3780 (crm-complete-and-exit): Use completion-complete-and-exit.
3781
e17d94a5
SM
37822013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3783
3784 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3785 than dynamically.
3786
96727100
JL
37872013-09-06 Juri Linkov <juri@jurta.org>
3788
3789 * info.el (Info-display-images-node): When image file doesn't exist
3790 display text version of the image if it's provided in the Info file.
3791 Otherwise, display the location of missing image from SRC attribute.
3792 Add help-echo text property from ALT attribute. (Bug#15279)
3793
86cf7329
SM
37942013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3795
3796 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3797 (edit-abbrevs-mode): Use define-derived-mode.
3798
3799 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3800 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3801 that it's defined.
3802 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3803 Use define-derived-mode.
3804
3805 * epg.el (epg-start-encrypt): Minor CSE simplification.
3806
816244a2
WX
38072013-09-06 William Xu <william.xwl@gmail.com>
3808
3809 * arc-mode.el: Add support for 7za (bug#15264).
3810 (archive-7z-program): New var.
3811 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3812 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3813 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3814
1486fa31
MA
38152013-09-06 Michael Albinus <michael.albinus@gmx.de>
3816
3817 Remove URL syntax.
3818
3819 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3820 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3821 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3822 (tramp-postfix-host-format, tramp-file-name-regexp)
3823 (tramp-completion-file-name-regexp)
3824 (tramp-completion-dissect-file-name)
3825 (tramp-handle-substitute-in-file-name): Remove 'url case.
3826 (tramp-file-name-regexp-url)
3827 (tramp-completion-file-name-regexp-url): Remove constants.
3828
39785324
GM
38292013-09-06 Glenn Morris <rgm@gnu.org>
3830
3831 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3832
1f896cb7
DG
38332013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3834
3835 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3836 keywords" below "here-doc beginnings" (Bug#15270).
3837
c0458e0b
SM
38382013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3839
3840 * subr.el (pop): Use `car-safe'.
3841 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3842 to detect unused `pop' return value.
3843
3844 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3845 var `block-regexp'.
3846 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3847 (python-fill-string): Remove unused var `marker'.
3848 (python-skeleton-add-menu-items): Remove unused var `items'.
3849
3850 * international/mule-cmds.el: Require CL.
3851 (find-coding-systems-for-charsets): Avoid add-to-list.
3852 (sanitize-coding-system-list): New function, extracted from
3853 select-safe-coding-system-interactively.
3854 (select-safe-coding-system-interactively): Use it.
3855 (read-input-method-name): Accept symbols for `default'.
3856
3857 * emacs-lisp/advice.el (defadvice): Add indent rule.
3858
6c42fc3e
DH
38592013-09-05 Daniel Hackney <dan@haxney.org>
3860
3861 * dired-x.el:
3862 * net/ange-ftp.el:
3863 * net/browse-url.el:
3864 * net/dbus.el:
3865 * net/eudc.el:
3866 * net/eudcb-ldap.el:
3867 * net/eww.el:
3868 * net/imap.el:
3869 * printing.el:
3870 * vc/ediff-diff.el:
3871 * vc/ediff-init.el:
3872 * vc/ediff-merg.el:
3873 * vc/ediff-mult.el:
3874 * vc/ediff-util.el:
3875 * vc/ediff-wind.el:
3876 * vc/ediff.el:
3877 * vc/emerge.el:
3878 * vc/pcvs.el:
3879 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3880 byte compiler. Remove some unused let-bound variables.
3881
4c528aab
SM
38822013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3883
3884 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3885 a "ref-cell", since it gets better optimized (bug#14883).
3886
bd15c390
GM
38872013-09-05 Glenn Morris <rgm@gnu.org>
3888
3889 * progmodes/cc-awk.el (c-forward-sws): Declare.
3890
1c3ac2e5
GM
38912013-09-04 Glenn Morris <rgm@gnu.org>
3892
3893 * generic-x.el [rul-generic-mode]: Require cc-mode.
3894 (c++-mode-syntax-table): Declare.
3895 (rul-generic-mode-syntax-table): Init in the defvar.
3896
52b1cc79
SM
38972013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3898
c828af56
SM
3899 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3900 (vc-do-command, vc-set-async-update):
3901 * vc/vc-mtn.el (vc-mtn-dir-status):
3902 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3903 (vc-hg-pull, vc-hg-merge-branch):
3904 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3905 (vc-git-merge-branch):
3906 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3907 (vc-cvs-dir-status-files):
3908 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3909 (vc-bzr-dir-status-files):
3910 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3911 * vc/vc-annotate.el: Use lexical-binding.
3912 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3913 (vc-sentinel-movepoint): Declare.
3914 (vc-annotate): Don't use `goto-line'.
3915 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3916 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3917 (vc-sentinel-movepoint): Declare.
3918 * vc/vc-svn.el: Use lexical-binding.
3919 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3920 * vc/vc-sccs.el:
3921 * vc/vc-rcs.el: Use lexical-binding.
3922
abae272c
SM
3923 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3924 `deleted'. Don't drop errors silently.
3925
52b1cc79
SM
3926 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3927
63191d9f
XF
39282013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3929
3930 * vc/vc.el (vc-ignore): Rewrite.
3931 (vc-default-ignore): New function.
3932 (vc-default-ignore-completion-table): Use find-ignore-file.
3933
3934 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3935 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3936 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3937 Remove. Most code moved to vc.el.
3938
9d3f707c
SM
39392013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3940
abae272c 3941 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
3942 * net/tramp-smb.el (tramp-smb-get-file-entries):
3943 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3944 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3945
fde38d49
SM
3946 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3947 Update call to it.
3948 (eww-change-select): Remove unused var `properties'.
3949 (eww-make-unique-file-name): Remove unused var `base'.
3950
3951 * finder.el (finder-compile-keywords): Don't mess with windows.
3952
84032db7
SM
3953 * calculator.el (calculator-funcall): Fix typo in last change.
3954
724f5e41
SM
3955 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3956
14b511d4
SM
3957 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3958 <pkg>-autoloads.el file stop us.
3959
9d3f707c 3960 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 3961 warnings, and factor out common code.
9d3f707c 3962
88527bc0
DG
39632013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3964
3965 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3966 two-character operators and whether the character preceding them
3967 changes their meaning (Bug#15208).
3968
96edb677
FEG
39692013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3970
3971 Format code sent to Python shell for robustness.
9d3f707c
SM
3972 * progmodes/python.el (python-shell-buffer-substring):
3973 New function.
96edb677
FEG
3974 (python-shell-send-region, python-shell-send-buffer): Use it.
3975
95beaef3
MA
39762013-09-02 Michael Albinus <michael.albinus@gmx.de>
3977
3978 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3979 * net/tramp.el (tramp-user-error): ... here.
3980 (tramp-find-method, tramp-check-proper-host)
3981 (tramp-dissect-file-name, tramp-debug-message)
3982 (tramp-handle-shell-command):
3983 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3984 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3985
3986 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3987
f167c27b
MR
39882013-09-02 Martin Rudalics <rudalics@gmx.at>
3989
3990 * avoid.el (mouse-avoidance-point-position)
3991 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3992 returns nil.
3993
cd16c5f1
FEG
39942013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3995
3996 * progmodes/python.el (python-shell-completion-get-completions):
3997 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 3998 (python-nav-if-name-main): New command.
cd16c5f1 3999
e73c3a0d
GM
40002013-09-01 Glenn Morris <rgm@gnu.org>
4001
f8ccce03
GM
4002 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4003 Avoid leading space in $wins. Otherwise the sed command used by
4004 eg compile-main ends up containing "/*.el". (Bug#15170)
4005
e73c3a0d
GM
4006 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4007
415f808e
GM
40082013-08-30 Glenn Morris <rgm@gnu.org>
4009
4010 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4011 Fix is-this-a-directory logic. (Bug#15220)
4012
f069bba8
SM
40132013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4014
112798c1
SM
4015 * textmodes/css-mode.el: Use SMIE.
4016 (css-smie-grammar): New var.
4017 (css-smie--forward-token, css-smie--backward-token)
4018 (css-smie-rules): New functions.
4019 (css-mode): Use them.
4020 (css-navigation-syntax-table): Remove var.
4021 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4022 (css-indent-calculate, css-indent-line): Remove functions.
4023
4024 Misc changes to reduce use of `(lambda...); and other cleanups.
4025 * cus-edit.el: Use lexical-binding.
4026 (customize-push-and-save, customize-apropos)
4027 (custom-buffer-create-internal): Use closures.
4028 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4029 * progmodes/ada-xref.el: Use setq.
4030 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4031 * dframe.el: Use lexical-binding.
4032 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4033 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4034 * descr-text.el: Use lexical-binding.
4035 (describe-text-widget, describe-text-sexp, describe-property-list):
4036 Use closures.
4037 * comint.el (comint-history-isearch-push-state): Use a closure.
4038 * calculator.el: Use lexical-binding.
4039 (calculator-number-to-string): Make it work with lexical-binding.
4040 (calculator-funcall): Same and use cl-letf.
4041
2da4c3ab
SM
4042 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4043 (lisp--company-doc-string, lisp--company-location): New functions.
4044 (lisp-completion-at-point): Use them to improve Company support.
4045
f069bba8
SM
4046 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4047 params of lambda expressions.
4048 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4049 (ruby-smie--opening-pipe-p): New function.
4050 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4051 symbols and matched |...| for formal params.
4052 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4053 from being treated as hanging. Handle "rescue".
4054
6758b6a8
GM
40552013-08-29 Glenn Morris <rgm@gnu.org>
4056
4057 * progmodes/cc-engine.el (c-pull-open-brace):
4058 Move definition before use.
4059
e8dfd197
SM
40602013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4061
4062 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4063 are immutable. Don't use `unsafe' any more.
4064 (cl--defsubst-expand): Don't substitute at the same time as keeping
4065 a residual unused let-binding. Don't use `unsafe' any more.
4066
cc585c96
GM
40672013-08-29 Glenn Morris <rgm@gnu.org>
4068
ba579ea6
GM
4069 * calendar/cal-china.el (calendar-chinese-year-cache):
4070 Recenter on 2015.
4071
8201a87e
GM
4072 * nxml/nxml-util.el (nxml-debug-clear-inside):
4073 Use cl-loop rather than loop.
4074
6ee877c7
GM
4075 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4076
cc585c96
GM
4077 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4078
27be8d39
GM
40792013-08-28 Glenn Morris <rgm@gnu.org>
4080
397440a1
GM
4081 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4082
2bb762d4
GM
4083 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4084
27be8d39
GM
4085 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4086
2d69b99e
SM
40872013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4088
f663baa7
SM
4089 * simple.el (repeat-complex-command--called-interactively-skip):
4090 New function.
4091 (repeat-complex-command): Use it (bug#14136).
4092
dd4f8b74
SM
4093 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4094 (c-define-abbrev-table): Add `doc' argument.
4095 (c-mode-abbrev-table, c++-mode-abbrev-table)
4096 (objc-mode-abbrev-table, java-mode-abbrev-table)
4097 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4098 (awk-mode-abbrev-table): Use it.
4099 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4100 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4101 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4102 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4103 Move initialization into the declaration; and remove any
4104 autoload cookie.
4105
b58969f7
SM
4106 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4107 and dynamic let binding.
4108
4021d6a6
SM
4109 * vc/smerge-mode.el: Remove redundant :group args.
4110
2d69b99e
SM
4111 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4112 to load-path.
4113
274919fd
JL
41142013-08-28 Juri Linkov <juri@jurta.org>
4115
4116 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4117 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4118 (isearch-other-meta-char): Handle an undefined shifted printing
4119 character by downshifting it. (Bug#15200)
4120
121f8c95
JL
41212013-08-28 Juri Linkov <juri@jurta.org>
4122
4123 * isearch.el (isearch-search): Change regexp error message for
4124 non-regexp searches. (Bug#15166)
4125
50b13cde
PE
41262013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4127
4128 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4129 for portability to hosts where /bin/sh has problems.
4130
95888bca
SM
41312013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4132
4133 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4134
bbe558f1
JL
41352013-08-27 Juri Linkov <juri@jurta.org>
4136
4137 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4138 in the keyboard macro. (Bug#15126)
4139
26f98a7d
JL
41402013-08-27 Juri Linkov <juri@jurta.org>
4141
4142 * isearch.el (isearch-quote-char): Comment out converting unibyte
4143 to multibyte, thus syncing with its `quoted-insert' counterpart.
4144 (Bug#15166)
4145
7c97d35e
MR
41462013-08-27 Martin Rudalics <rudalics@gmx.at>
4147
4148 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
4149 argument in call of get-largest-window (Bug#15185).
4150 Reported by Stephen Leake.
7c97d35e 4151
a0b5606e 41522013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
4153
4154 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4155
9e89d835
SM
41562013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4157
4158 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4159 from a matcher-function unless there's no more matches (bug#15161).
4160
78fc2530
MA
41612013-08-26 Michael Albinus <michael.albinus@gmx.de>
4162
4163 * minibuffer.el: Revert change from 2013-08-20.
4164
4165 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4166 with text property `tramp-default', if appropriate.
4167 (tramp-check-proper-host): New defun.
4168 (tramp-dissect-file-name): Do not check hostname. Revert change
4169 of 2013-03-18.
4170 (tramp-backtrace): Make VEC-OR-PROC optional.
4171
4172 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4173 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4174 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
4175 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4176 Apply `tramp-check-proper-host'.
78fc2530 4177
edca97cd
TH
41782013-08-26 Tassilo Horn <tsdh@gnu.org>
4179
4180 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4181 lambda expression in order to have `describe-variable' display it.
4182
df54bcbd
MA
41832013-08-26 Michael Albinus <michael.albinus@gmx.de>
4184
4185 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4186 BUF can be optional. (Bug#15186)
4187
eed99101
XF
41882013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4189
4190 * progmodes/flymake.el (flymake-get-real-file-name-function):
4191 Fix broken customization. (Bug#15184)
4192
b5eb9035
AM
41932013-08-25 Alan Mackenzie <acm@muc.de>
4194
8a51e842
AM
4195 Improve indentation of bracelists defined by macros (without "=").
4196
4197 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4198 expansion begins with "{", regard it as bracelist when it doesn't
4199 contain a ";".
4200
869455d4
AM
4201 Parse C++ inher-intro when there's a template split over 2 lines.
4202
4203 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4204 rigorously the search for "class" etc. followed by ":".
4205
4206 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4207 random languages a regexp which never matches rather than nil.
4208
b5eb9035
AM
4209 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4210
4211 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4212 (c-awk-regexp-one-line-possibly-open-char-list-re)
4213 (c-awk-one-line-possibly-open-regexp-re)
4214 (c-awk-one-line-non-syn-ws*-re): Remove.
4215 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4216 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4217 (c-awk-space*-unclosed-regexp-/-re): New constants.
4218 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4219 aren't regexp delimiters.
4220
4221 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4222 handling for a rare situation in AWK Mode involving unterminated
4223 strings/regexps.
4224
61611d54
GM
42252013-08-23 Glenn Morris <rgm@gnu.org>
4226
2d85dc34
GM
4227 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4228
cb8d2612
GM
4229 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4230
bb35f42f
GM
4231 * files.el (create-file-buffer): If the result would begin with
4232 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 4233
b9808e77
SM
42342013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4235
e3a66363
SM
4236 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4237 text-properties (bug#15155).
4238
b9808e77
SM
4239 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4240 exist any more.
4241 (calc-keypad-redraw): Remove unused var `pad'.
4242 (calc-keypad-press): Remove unused var `menu'.
4243
7fd5f65e
MR
42442013-08-23 Martin Rudalics <rudalics@gmx.at>
4245
b9808e77
SM
4246 * window.el (display-buffer-pop-up-frame):
4247 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
4248 use it as the new frame's buffer (Bug#15133).
4249
8352b530
SM
42502013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4251
4252 * calendar/timeclock.el: Minor cleanups.
4253 (timeclock-ask-before-exiting, timeclock-use-display-time):
4254 Use `symbol'.
4255 (timeclock-modeline-display): Define as alias before the
4256 actual definition.
4257 (timeclock-mode-line-display): Use define-minor-mode.
4258 (timeclock-day-list-template): Make it a function, add an argument.
4259 (timeclock-day-list-required, timeclock-day-list-length)
4260 (timeclock-day-list-debt, timeclock-day-list-span)
4261 (timeclock-day-list-break): Adjust calls accordingly.
4262
9f7b1925
SM
42632013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4264
4265 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4266 Use read--expression so that completion works again.
4267
6e50e983
SS
42682013-08-21 Sam Steingold <sds@gnu.org>
4269
4270 Add rudimentary inferior shell interaction
4271 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4272 (sh-set-shell): Reset it.
9f7b1925
SM
4273 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4274 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 4275
dbb0d350
SM
42762013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4277
4278 * align.el: Use lexical-binding.
4279 (align-region): Simplify accordingly.
4280
c88586a9
MA
42812013-08-20 Michael Albinus <michael.albinus@gmx.de>
4282
4283 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4284
4285 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4286 `non-essential' up.
4287
f95527c8
MA
42882013-08-17 Michael Albinus <michael.albinus@gmx.de>
4289
4290 * net/tramp.el:
4291 * net/tramp-adb.el:
4292 * net/tramp-cmds.el:
4293 * net/tramp-ftp.el:
4294 * net/tramp-gvfs.el:
4295 * net/tramp-gw.el:
4296 * net/tramp-sh.el: Don't wrap external variable declarations by
4297 `eval-when-compile'.
4298
4b5fe4ee
LMI
42992013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4300
4301 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4302 now that Emacs supports ImageMagick animations.
4303
13c366c9
MA
43042013-08-16 Michael Albinus <michael.albinus@gmx.de>
4305
4306 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4307 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4308
3dfc5cd6
MR
43092013-08-16 Martin Rudalics <rudalics@gmx.at>
4310
4311 * window.el (mouse-autoselect-window-select): Do autoselect when
4312 mouse pointer is on margin.
4313
4bbb4381
WP
43142013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4315
4316 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4317
3a2ddc2d
GM
43182013-08-16 Glenn Morris <rgm@gnu.org>
4319
e8bedf5a
GM
4320 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4321 Handle "Remote Directory" response of some clients. (Bug#15058)
4322
58c4682f
GM
4323 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4324 Tweak warning. (Bug#14926)
4325
57953f49
GM
4326 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4327 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4328
3a2ddc2d
GM
4329 * image-mode.el (image-mode-map): Add menu items to reverse,
4330 increase, decrease, reset animation speed.
4331 (image--set-speed, image-increase-speed, image-decrease-speed)
4332 (image-reverse-speed, image-reset-speed): New functions.
4333 (image-mode-map): Add bindings for speed commands.
4334
4335 * image.el (image-animate-get-speed, image-animate-set-speed):
4336 New functions.
4337 (image-animate-timeout): Respect image :speed property.
4338
10fa0ed3
SM
43392013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4340
4341 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4342 previous line (bug#15101).
4343 (debugger-eval-expression, debugger-record-expression):
4344 Use read--expression (bug#15102).
4345
5d89d9d2
MA
43462013-08-15 Michael Albinus <michael.albinus@gmx.de>
4347
4348 Remove byte compiler warnings, visible when compiling with
4349 `byte-compile-force-lexical-warnings' set to t.
4350
4351 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4352 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4353 (tramp-handle-unhandled-file-name-directory)
4354 (tramp-handle-file-notify-add-watch, tramp-action-login)
4355 (tramp-action-succeed, tramp-action-permission-denied)
4356 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4357 arguments with "_".
4358
4359 * net/tramp-adb.el (tramp-adb-parse-device-names)
4360 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4361 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4362 (tramp-adb-handle-file-truename): Remove unused arguments.
4363
4364 * net/tramp-cache.el (tramp-flush-directory-property)
4365 (tramp-flush-connection-property, tramp-list-connections)
4366 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4367
10fa0ed3
SM
4368 * net/tramp-compat.el (tramp-compat-make-temp-file):
4369 Rename FILENAME to F.
5d89d9d2
MA
4370
4371 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4372 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4373 (tramp-zeroconf-parse-workstation-device-names)
4374 (tramp-zeroconf-parse-webdav-device-names)
4375 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4376
4377 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4378 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4379
4380 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4381 arguments.
4382 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4383 (tramp-sh-handle-insert-file-contents-literally)
4384 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4385 with "_".
4386 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4387 Remove unused variables.
4388
4389 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4390 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4391 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4392
4393 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4394 Make them a defconst.
4395 (tramp-uuencode-region): Remove unused variable.
4396
62f33bae
JB
43972013-08-14 Juanma Barranquero <lekktu@gmail.com>
4398
4399 * frameset.el (frameset--prop-setter): New function.
4400 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
4401 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4402 parameter was already set in FILTERED. Doc fix.
4403 (frameset--record-minibuffer-relationships): Allow saving a
4404 minibufferless frame without its corresponding minibuffer frame.
4405 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4406 frame, if the frame id matches.
4407 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4408 frames before orphaned ones.
4409 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 4410
c660a885
MR
44112013-08-14 Martin Rudalics <rudalics@gmx.at>
4412
4413 * window.el (window-make-atom): Don't overwrite parameter
4414 already present.
4415 (display-buffer-in-atom-window): Handle special case where we
4416 split an already atomic window.
4417 (window--major-non-side-window, display-buffer-in-side-window)
4418 (window--side-check): Ignore minibuffer window when walking
4419 window tree.
4420 (window-deletable-p): Return 'frame only if no other frame uses
4421 our minibuffer window.
4422 (record-window-buffer): Run buffer-list-update-hook.
4423 (split-window): Make sure window--check-frame won't destroy an
4424 existing atomic window in case the new window gets nested
4425 inside.
4426 (display-buffer-at-bottom): Ignore minibuffer window when
4427 walking window tree. Don't split a side window.
4428 (pop-to-buffer): Don't set-buffer here, the select-window call
4429 should do that.
4430 (mouse-autoselect-window-select): Autoselect only if we are in the
4431 text portion of the window.
4432
8259030d
LMI
44332013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4434
21c58ae2
LMI
4435 * net/shr.el (shr-parse-image-data): New function to grab both the
4436 data itself and the Content-Type.
4437 (shr-put-image): Use it.
4438
4439 * net/eww.el (eww-display-image): Ditto.
4440
8259030d
LMI
4441 * image.el (image-content-type-suffixes): New variable.
4442
ad756449
FEG
44432013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4444
4445 * progmodes/python.el (python-imenu--build-tree)
4446 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4447
f73f4ce6
XF
44482013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4449
4450 * simple.el (backward-word): Mention the optional argument.
4451
1f585e65
SM
44522013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4453
4454 * frameset.el (frameset--make): Rename constructor from make-frameset.
4455 (frameset-p, frameset-valid-p): Don't autoload.
4456 (frameset-valid-p): Use normal accessors.
4457
af1c6c84
GM
44582013-08-13 Glenn Morris <rgm@gnu.org>
4459
55e47f95
GM
4460 * progmodes/compile.el (compile-command): Tweak example in doc.
4461 * obsolete/scribe.el (scribe-mode):
4462 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4463
f0024d8c
GM
4464 * mail/feedmail.el (feedmail-confirm-outgoing)
4465 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4466
4467 * cus-start.el (truncate-partial-width-windows): Fix type.
4468
4469 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4470
af1c6c84
GM
4471 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4472
5514cc4c
SM
44732013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4474
4475 * emacs-lisp/timer.el (timer--time-setter): New function.
4476 (timer--time): Use it as gv-setter.
4477
4478 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4479 setter is not a symbol.
4480
7997a2f1
GJ
44812013-08-12 Grégoire Jadi <daimrod@gmail.com>
4482
4483 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4484 if sending fails. This makes debugging easier.
4485
01f1a9ab
JB
44862013-08-12 Juanma Barranquero <lekktu@gmail.com>
4487
4488 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4489 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4490 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4491
594a4307
EZ
44922013-08-12 Eli Zaretskii <eliz@gnu.org>
4493
4494 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4495
7a22490f 44962013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
4497
4498 * format.el (format-annotate-function):
4499 Handle read-only text properties in the source. (Bug#14887)
4500
3e41a054
LMI
45012013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4502
5514cc4c
SM
4503 * net/eww.el (eww-display-html): Ignore coding system errors.
4504 One web site uses "utf-8lias" as the coding system.
3e41a054 4505
7ec326db
JB
45062013-08-11 Juanma Barranquero <lekktu@gmail.com>
4507
4508 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4509
5660113b
JB
45102013-08-10 Juanma Barranquero <lekktu@gmail.com>
4511
9a4ebc74
JB
4512 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4513 (tutorial--detailed-help): Remove unused local variables.
4514 (tutorial--save-tutorial-to): Use ignore-errors.
4515 (help-with-tutorial): Use looking-at-p.
4516
4517 * view.el (view-buffer-other-window, view-buffer-other-frame):
4518 Mark unused arguments.
4519
4520 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4521 (woman-select-symbol-fonts, woman, woman-find-file)
4522 (woman-insert-file-contents, woman-non-underline-faces):
4523 Use string-match-p.
4524 (woman1-unquote): Move declaration.
4525
4526 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4527 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4528 argument. Remove unused local variable.
4529 (xml-parse-elem-type): Use string-match-p.
4530 (xml-substitute-numeric-entities): Use ignore-errors.
4531
45fdb482
JB
4532 * calculator.el (calculator): Mark unused argument.
4533 (calculator-paste, calculator-quit, calculator-integer-p):
4534 Use ignore-errors.
4535 (calculator-string-to-number, calculator-decimal, calculator-exp)
4536 (calculator-op-or-exp): Use string-match-p.
4537
4538 * dired.el (dired-buffer-more-recently-used-p): Declare.
4539 (dired-insert-set-properties, dired-insert-old-subdirs):
4540 Use ignore-errors.
4541
4542 * dired-aux.el (dired-compress): Use ignore-errors.
4543 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4544 (dired-do-async-shell-command, dired-do-shell-command)
4545 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4546 (dired-insert-subdir-validate): Use string-match-p.
4547 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4548 (dired-add-entry): Use string-match-p, looking-at-p.
4549 (dired-insert-subdir-newpos): Remove unused local variable.
4550
4551 * filenotify.el (file-notify-callback): Remove unused local variable.
4552
4553 * filesets.el (filesets-error): Mark unused argument.
4554 (filesets-which-command-p, filesets-filter-dir-names)
4555 (filesets-directory-files, filesets-get-external-viewer)
4556 (filesets-ingroup-get-data): Use string-match-p.
4557
4558 * find-file.el (ff-other-file-name, ff-other-file-name)
4559 (ff-find-the-other-file, ff-cc-hh-converter):
4560 Remove unused local variables.
4561 (ff-get-file-name): Use string-match-p.
4562 (ff-all-dirs-under): Use ignore-errors.
4563
4564 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4565 (follow-select-if-visible): Remove unused local variable.
4566
4567 * forms.el (read-file-filter): Move declaration.
4568 (forms--make-format, forms--make-parser, forms-insert-record):
4569 Quote function with #'.
4570 (forms--update): Use string-match-p. Quote function with #'.
4571
4572 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4573 (help-make-xrefs): Use looking-at-p.
4574 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4575
4576 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4577 (ibuffer-confirm-operation-on): Use string-match-p.
4578
4579 * msb.el (msb-item-handler, msb-dired-item-handler):
4580 Mark unused arguments.
4581
4582 * ses.el (ses-decode-cell-symbol)
4583 (ses-kill-override): Remove unused local variable.
4584 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4585 (ses-load): Use ignore-errors, looking-at-p.
4586 (ses-jump-safe): Use ignore-errors.
4587 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4588
4589 * tabify.el (untabify, tabify): Mark unused arguments.
4590
4591 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4592 Mark unused argument.
4593 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4594 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4595
c880af52
JB
4596 * emacs-lisp/timer.el (timer--time): Define setter with
4597 gv-define-setter to avoid deprecation warning.
4598
5660113b 4599 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 4600 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
4601 (cmpl-statistics-block): Remove (body was commented out).
4602 All callers changed.
4603 (add-completions-from-buffer, load-completions-from-file):
4604 Remove unused variables.
4605
156aab80
JB
46062013-08-09 Juanma Barranquero <lekktu@gmail.com>
4607
5c5dee78
JB
4608 * filecache.el (file-cache-delete-file-list):
4609 Print message only when told so.
4610 (file-cache-files-matching): Use #' in mapconcat argument.
4611
156aab80
JB
4612 * ffap.el (ffap-url-at-point): Fix reference to variable
4613 thing-at-point-default-mail-uri-scheme.
4614
ad9dcd70
SM
46152013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4616
54bd972f
SM
4617 * subr.el (define-error): New function.
4618 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4619 error-file-not-found and define with define-error.
4620 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4621 and define with define-error.
4622 * userlock.el (file-locked, file-supersession):
4623 * simple.el (mark-inactive):
4624 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4625 * progmodes/ada-mode.el (ada-mode-errors):
4626 * play/life.el (life-extinct):
4627 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4628 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4629 * nxml/rng-util.el (rng-error):
4630 * nxml/rng-uri.el (rng-uri-error):
4631 * nxml/rng-match.el (rng-compile-error):
4632 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4633 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4634 * nxml/nxml-rap.el (nxml-scan-error):
4635 * nxml/nxml-outln.el (nxml-outline-error):
4636 * net/soap-client.el (soap-error):
4637 * net/gnutls.el (gnutls-error):
4638 * net/ange-ftp.el (ftp-error):
4639 * mpc.el (mpc-proc-error):
4640 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4641 (json-number-format, json-string-escape, json-string-format)
4642 (json-key-format, json-object-format):
4643 * jka-compr.el (compression-error):
4644 * international/quail.el (quail-error):
4645 * international/kkc.el (kkc-error):
4646 * emacs-lisp/ert.el (ert-test-failed):
4647 * calc/calc.el (calc-error, inexact-result, math-overflow)
4648 (math-underflow):
4649 * bookmark.el (bookmark-error-no-filename):
4650 * epg.el (epg-error): Define with define-error.
4651
0ea9e53a
SM
4652 * time.el (display-time-event-handler)
4653 (display-time-next-load-average): Don't call sit-for since it seems
4654 unnecessary (bug#15045).
4655
b0429158
SM
4656 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4657 Use #' instead of ' to quote functions.
4658 (checkdoc-output-mode): Use setq-local.
4659 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4660 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4661 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4662 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4663 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4664 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4665 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4666 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4667
ad9dcd70
SM
4668 * ido.el (ido-completion-help): Fix up compiler warning.
4669
77187e6f
JB
46702013-08-09 Juanma Barranquero <lekktu@gmail.com>
4671
4672 * frameset.el (frameset-p): Add autoload cookie.
4673 (frameset--jump-to-register): New function, based on code moved from
4674 register.el.
4675 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4676
4677 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4678 (frameset-restore, frameset-save, frameset-session-filter-alist):
4679 Remove declarations.
4680 (register-alist): Doc fix.
4681 (frameset-to-register): Move to frameset.el.
4682 (jump-to-register, describe-register-1): Remove frameset-specific code.
4683
9d3aa82c
JB
46842013-08-08 Juanma Barranquero <lekktu@gmail.com>
4685
4686 * allout-widgets.el (allout-widgets-pre-command-business)
4687 (allout-widgets-post-command-business)
4688 (allout-widgets-after-change-handler)
4689 (allout-decorate-item-and-context, allout-set-boundary-marker)
4690 (allout-body-modification-handler)
4691 (allout-graphics-modification-handler): Mark ignored arguments.
4692 (allout-widgets-post-command-business)
4693 (allout-widgets-exposure-change-processor)
4694 (allout-widgets-exposure-undo-processor)
4695 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4696 (allout-parse-item-at-point, allout-decorate-item-guides)
4697 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4698 * allout.el (epa-passphrase-callback-function): Declare.
4699 (allout-overlay-insert-in-front-handler)
4700 (allout-overlay-interior-modification-handler)
4701 (allout-isearch-end-handler, allout-chart-siblings)
4702 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4703 (allout-yank-processing, allout-process-exposed)
4704 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 4705 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
4706 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4707 (lisp-indent-defform): Mark ignored arguments.
4708 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4709 (calculate-lisp-indent): Remove unused variables.
4710 * international/characters.el (indian-2-column, arabic-2-column)
4711 (tibetan): Mark ignored arguments.
4712 (use-cjk-char-width-table): Mark ignored arguments.
4713 Remove unused variables.
4714 * international/fontset.el (build-default-fontset-data)
4715 (x-compose-font-name, create-fontset-from-fontset-spec):
4716 Mark ignored arguments.
4717 (fontset-plain-name): Remove unused variables.
4718 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4719 (keyboard-coding-system): Mark ignored arguments.
4720 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4721 * help.el (resize-temp-buffer-window):
4722 * window.el (display-buffer-in-major-side-window)
4723 (display-buffer-in-side-window, display-buffer-in-previous-window):
4724 Remove unused variables.
4725 * isearch.el (isearch-forward-symbol):
4726 * version.el (emacs-bzr-version-bzr):
4727 * international/mule-cmds.el (current-language-environment):
4728 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4729 (x-handle-display):
4730 * term/pc-win.el (x-list-fonts, x-display-planes)
4731 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4732 (x-server-version, x-display-screens, x-display-mm-height)
4733 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4734 (x-selection-owner-p, x-own-selection-internal)
4735 (x-disown-selection-internal, x-get-selection-internal)
4736 (msdos-initialize-window-system):
4737 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4738 * term/x-win.el (x-handle-no-bitmap-icon):
4739 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4740 (vc-default-find-file-hook, vc-default-extra-menu):
4741 Mark ignored arguments.
4742
0ca3f70e
SM
47432013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4744
4745 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4746 break-condition in the context of the debugged code (bug#12685).
4747
74c5d24c
CS
47482013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4749
4750 * comint.el:
4751 Do not use an overlay to highlight the last prompt. (Bug#14744)
4752 (comint-mode): Make comint-last-prompt buffer local.
4753 (comint-last-prompt): New variable.
4754 (comint-last-prompt-overlay): Remove. Superseded by
4755 comint-last-prompt.
0ca3f70e
SM
4756 (comint-snapshot-last-prompt, comint-output-filter):
4757 Use comint-last-prompt.
74c5d24c 4758
c03c02ee
JB
47592013-08-08 Juanma Barranquero <lekktu@gmail.com>
4760
a3738d20 4761 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
4762 (frameset-save): Check validity of the resulting frameset.
4763
04263d23
XF
47642013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4765
4766 * ido.el (ido-record-command): Add doc string.
4767
76c5e5ab
JB
47682013-08-08 Juanma Barranquero <lekktu@gmail.com>
4769
4770 * frameset.el (frameset): Do not disable creation of the default
4771 frameset-p predicate. Doc fix.
4772 (frameset-valid-p): New function, copied from the old predicate-p.
4773 Add additional checks.
4774 (frameset-restore): Check with frameset-valid-p.
4775 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4776 (frameset-name, frameset-description, frameset-properties)
4777 (frameset-states): Add docstring.
f9dbf1cb
JB
4778 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4779 (frameset-filter-alist): Doc fixes.
76c5e5ab 4780
bd0c3c0b
JB
47812013-08-08 Juanma Barranquero <lekktu@gmail.com>
4782
4783 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4784
c735544c
SM
47852013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4786
4787 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4788 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4789 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4790 (byte-compile-normal-call): Remove obsolescence check.
4791
2805a651
JB
47922013-08-08 Juanma Barranquero <lekktu@gmail.com>
4793
3677ffeb
JB
4794 * frameset.el (frameset-restore): Doc fix.
4795
2805a651
JB
4796 * register.el (frameset-frame-id, frameset-frame-with-id)
4797 (frameset-p, frameset-restore, frameset-save): Declare.
4798 (register-alist): Document framesets.
4799 (frameset-session-filter-alist): Declare.
4800 (frameset-to-register): New function.
4801 (jump-to-register): Implement jumping to framesets. Doc fix.
4802 (describe-register-1): Describe framesets.
4803
4804 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4805
a912c016
JB
48062013-08-07 Juanma Barranquero <lekktu@gmail.com>
4807
4808 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4809 Use lexical-binding.
4810
4811 * frameset.el (frameset): Use type vector, not list (incompatible
4812 change). Do not declare a new constructor, use the default one.
4813 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4814 `name' and `description', respectively, and add read-only slot
4815 `timestamp'. Doc fixes.
4816 (frameset-copy, frameset-persistent-filter-alist)
4817 (frameset-filter-alist, frameset-switch-to-gui-p)
4818 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4819 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4820 (frameset-filter-iconified, frameset-keep-original-display-p):
4821 Doc fixes.
4822 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4823 Rename from frameset-filter-(save|restore)-param. All callers changed.
4824 Doc fix.
4825 (frameset-p): Adapt to change to vector and be more thorough.
4826 Change arg name to OBJECT. Doc fix.
4827 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4828 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4829 All callers changed.
4830 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4831 All callers changed.
4832 (frameset--record-minibuffer-relationships): Rename from
4833 frameset--process-minibuffer-frames. All callers changed.
4834 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4835 Use new default constructor (again). Doc fix.
4836 (frameset--find-frame-if): Rename from `frameset--find-frame.
4837 All callers changed.
4838 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4839 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4840 Doc fix.
4841 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4842 PARAMETERS and WINDOW-STATE, respectively.
4843 (frameset-restore): Add new keyword argument PREDICATE.
4844 Reset frameset--target-display to nil. Doc fix.
4845
bb41480a
SM
48462013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4847
f001e98e
SM
4848 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4849 (bat-mode): Use it.
4850 (bat-mode-syntax-table): Mark \n as end-of-comment.
4851 (bat-font-lock-keywords): Remove comment rule.
4852
7679edb1
SM
4853 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4854 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4855
bb41480a
SM
4856 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4857 (byte-compile-callargs-warn): Use `push'.
4858 (byte-compile-arglist-warn): Ignore higher-order "calls".
4859 (byte-compile-file-form-autoload): Use `pcase'.
4860 (byte-compile-function-form): If quoting a symbol, check that it exists.
4861
cdc1ebb9
EZ
48622013-08-07 Eli Zaretskii <eliz@gnu.org>
4863
4864 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4865 and add a few popular commands found in batch files.
4866 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4867 (dos-mode): Doc fixes.
4868
312b1740
SM
48692013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4870
4871 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4872 (dos-mode): Use setq-local. Add space after "rem".
4873 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4874 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4875
400a3178
AM
48762013-08-07 Arni Magnusson <arnima@hafro.is>
4877
4878 * progmodes/dos.el: New file.
4879 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4880 dos-mode.
4881
3b5c03d3
GM
48822013-08-06 Glenn Morris <rgm@gnu.org>
4883
4884 * calendar/calendar.el: Add new faces, and day-header-array.
4885 (calendar-weekday-header, calendar-weekend-header)
4886 (calendar-month-header): New faces.
4887 (calendar-day-header-construct): New function.
4888 (calendar-day-header-width): Also :set calendar-day-header-array.
4889 (calendar-american-month-header, calendar-european-month-header)
4890 (calendar-iso-month-header): Use calendar- faces.
4891 (calendar-generate-month):
4892 Use calendar-day-header-array for day headers; apply faces to them.
4893 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4894 (calendar-abbrev-construct): Add optional maxlen argument.
4895 (calendar-day-name-array): Doc fix.
4896 (calendar-day-name-array, calendar-abbrev-length)
4897 (calendar-day-abbrev-array):
4898 Also :set calendar-day-header-array, and maybe redraw.
4899 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 4900 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
4901 (calendar-day-name): Add option to use header array.
4902
ec6a2d7a
LMI
49032013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4904
4905 * net/shr.el (shr-render-td): Remove debugging.
4906 (shr-render-td): Make width computation consistent by defaulting
4907 all zero-width columns to 10 characters. This may not be optimal,
4908 but it's at least consistent.
2122cb6d
LMI
4909 (shr-make-table-1): Redo last change to fix the real problem in
4910 colspan handling.
ec6a2d7a 4911
ed4fd9c5
DA
49122013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4913
0ca3f70e
SM
4914 * files.el (cache-long-line-scans):
4915 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 4916
64e22afe
JB
49172013-08-06 Juanma Barranquero <lekktu@gmail.com>
4918
024b38fc
JB
4919 * frameset.el (frameset, frameset-filter-alist)
4920 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4921 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4922 (frameset-compute-pos): Rename from frameset--compute-pos,
4923 and add docstring.
4924 (frameset-move-onscreen): Use frameset-compute-pos.
4925 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4926
64e22afe
JB
4927 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4928 Fix typos in docstrings.
4929
c8c2aca8
DA
49302013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4931
4932 * frame.el (get-other-frame): Tiny cleanup.
4933
1d237bba
JB
49342013-08-06 Juanma Barranquero <lekktu@gmail.com>
4935
8951efef
JB
4936 * vc/vc.el (vc-default-ignore-completion-table):
4937 Silence byte-compiler warning.
4938
307764cc
JB
4939 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4940 slot , which can indeed be nil.
4941 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4942 Move entry for `left' from persistent to live filter alist.
4943 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4944 Doc fixes.
4945 (frameset-filter-params): When restoring a frame, copy items added to
4946 `filtered', to avoid unwittingly modifying the original parameters.
4947 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4948 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4949
1d237bba
JB
4950 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4951 to use looking-at-p instead of looking-at. (Bug#15028)
4952
dc6c0eda
SM
49532013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4954
4955 Revert introduction of isearch-filter-predicates (bug#14714).
4956 Rely on add-function instead.
4957 * isearch.el (isearch-filter-predicates): Rename it back to
4958 isearch-filter-predicate.
4959 (isearch-message-prefix): Use advice-function-mapc and advice
4960 properties to get the isearch-message-prefix.
4961 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4962 instead of run-hook-with-args-until-failure.
4963 (isearch-filter-visible): Not obsolete any more.
4964 * loadup.el: Preload nadvice.
4965 * replace.el (perform-replace): Revert to funcall
4966 instead of run-hook-with-args-until-failure.
4967 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4968 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4969 dired-isearch-filenames-toggle; make it into a proper minor mode.
4970 Use add/remove-function.
4971 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4972 Call the minor-mode rather than add/remove-hook.
4973 (dired-isearch-filter-filenames):
4974 Remove isearch-message-prefix property.
4975 * info.el (Info--search-loop): New function, extracted from Info-search.
4976 Funcall isearch-filter-predicate instead of
4977 run-hook-with-args-until-failure isearch-filter-predicates.
4978 (Info-search): Use it.
4979 (Info-mode): Use isearch-filter-predicate instead of
4980 isearch-filter-predicates.
4981
290d5b58
DA
49822013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4983
4984 Do not call to `selected-window' where it is assumed by default.
4985 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4986 `window-hscroll', `window-width', `window-height', `window-buffer',
4987 `window-frame', `window-start', `window-point', `next-window'
4988 and `window-display-table'.
4989 * abbrev.el (abbrev--default-expand):
4990 * bs.el (bs--show-with-configuration):
4991 * buff-menu.el (Buffer-menu-mouse-select):
4992 * calc/calc.el (calc):
4993 * calendar/calendar.el (calendar-generate-window):
4994 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4995 (diary-make-entry):
4996 * comint.el (send-invisible, comint-dynamic-complete-filename)
4997 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4998 * completion.el (complete):
4999 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5000 * disp-table.el (describe-current-display-table):
5001 * doc-view.el (doc-view-insert-image):
5002 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5003 * ehelp.el (with-electric-help):
5004 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5005 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5006 * emacs-lisp/helper.el (Helper-help-scroller):
5007 * emulation/cua-base.el (cua--post-command-handler-1):
5008 * eshell/esh-mode.el (eshell-output-filter):
5009 * ffap.el (ffap-gnus-wrapper):
5010 * help-macro.el (make-help-screen):
5011 * hilit-chg.el (highlight-compare-buffers):
5012 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5013 * hl-line.el (global-hl-line-highlight):
5014 * icomplete.el (icomplete-simple-completing-p):
5015 * isearch.el (isearch-done):
5016 * jit-lock.el (jit-lock-stealth-fontify):
5017 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5018 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5019 * mpc.el (mpc-tagbrowser, mpc):
5020 * net/rcirc.el (rcirc-any-buffer):
5021 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5022 * play/landmark.el (landmark-max-width, landmark-max-height):
5023 * play/zone.el (zone):
5024 * progmodes/compile.el (compilation-goto-locus):
5025 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5026 * progmodes/etags.el (find-tag-other-window):
5027 * progmodes/fortran.el (fortran-column-ruler):
5028 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5029 * progmodes/verilog-mode.el (verilog-point-text):
5030 * reposition.el (reposition-window):
5031 * rot13.el (toggle-rot13-mode):
5032 * server.el (server-switch-buffer):
5033 * shell.el (shell-dynamic-complete-command)
5034 (shell-dynamic-complete-environment-variable):
5035 * simple.el (insert-buffer, set-selective-display)
5036 (delete-completion-window):
5037 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5038 (speedbar-recenter):
5039 * startup.el (fancy-splash-head):
5040 * textmodes/ispell.el (ispell-command-loop):
5041 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5042 * tutorial.el (help-with-tutorial):
5043 * vc/add-log.el (add-change-log-entry):
5044 * vc/compare-w.el (compare-windows):
5045 * vc/ediff-help.el (ediff-indent-help-message):
5046 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5047 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5048 (ediff-setup-control-frame):
5049 * vc/emerge.el (emerge-position-region):
5050 * vc/pcvs-util.el (cvs-bury-buffer):
5051 * window.el (walk-windows, mouse-autoselect-window-select):
5052 * winner.el (winner-set-conf, winner-undo): Related users changed.
5053
38276e01
JB
50542013-08-05 Juanma Barranquero <lekktu@gmail.com>
5055
5056 * frameset.el (frameset--set-id): Doc fix.
5057 (frameset-frame-id, frameset-frame-id-equal-p)
5058 (frameset-locate-frame-id): New functions.
5059 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5060 (frameset-restore): Use them.
5061
12b4c0ea
DA
50622013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5063
5064 Do not call to `selected-frame' where it is assumed by default.
5065 Affected functions are `raise-frame', `redraw-frame',
5066 `frame-first-window', `frame-terminal' and `delete-frame'.
5067 * calendar/appt.el (appt-disp-window):
5068 * epg.el (epg-wait-for-completion):
5069 * follow.el (follow-delete-other-windows-and-split)
5070 (follow-avoid-tail-recenter):
5071 * international/mule.el (set-terminal-coding-system):
5072 * mail/rmail.el (rmail-mail-return):
5073 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5074 * progmodes/f90.el (f90-add-imenu-menu):
5075 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5076 * server.el (server-switch-buffer):
5077 * simple.el (delete-completion-window):
5078 * talk.el (talk):
5079 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5080 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5081 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5082 * vc/ediff.el (ediff-documentation): Related users changed.
5083 * frame.el (selected-terminal): Remove the leftover.
5084
17f25e76
GM
50852013-08-05 Glenn Morris <rgm@gnu.org>
5086
5087 * calendar/calendar.el (calendar-generate-month):
5088 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
5089 (calendar-generate-month, calendar-font-lock-keywords):
5090 Fix for calendar-day-header-width > length of any day name.
17f25e76 5091
063233c3
JB
50922013-08-05 Juanma Barranquero <lekktu@gmail.com>
5093
5094 * desktop.el (desktop-clear): Use new name of sort predicate.
5095
5096 * frameset.el (frameset): Add docstring. Move :version property to its
5097 own `version' slot.
5098 (frameset-copy): Rename from copy-frameset.
5099 (frameset-p): Check more thoroughly.
5100 (frameset-prop): Do not check for :version, which is no longer a prop.
5101 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5102 Use new :never value instead of t.
5103 (frameset-filter-alist): Expand and clarify docstring.
5104 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5105 (frameset-filter-minibuffer, frameset-filter-save-param)
5106 (frameset-filter-restore-param, frameset-filter-iconified):
5107 Add pointer to docstring of frameset-filter-alist.
5108 (frameset-filter-params): Rename filter values to be more meaningful:
5109 :never instead of t, and reverse the meanings of :save and :restore.
5110 (frameset--process-minibuffer-frames): Clarify error message.
5111 (frameset-save): Avoid unnecessary and confusing call to framep.
5112 Use new BOA constructor for framesets.
5113 (frameset--reuse-list): Doc fix.
5114 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5115 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5116 (frameset-minibufferless-first-p): Doc fix.
5117 Rename from frameset-sort-frames-for-deletion.
5118 (frameset-restore): Doc fixes. Use new function names.
5119 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5120
d5671a82
JB
51212013-08-04 Juanma Barranquero <lekktu@gmail.com>
5122
5123 * desktop.el (desktop-restore-forces-onscreen)
5124 (desktop-restore-reuses-frames): Document :keyword constant values.
5125 (desktop-filter-parameters-alist): Remove, now identical to
5126 frameset-filter-alist.
5127 (desktop--filter-tty*): Remove, moved to frameset.el.
5128 (desktop-save-frameset, desktop-restore-frameset):
5129 Do not pass :filters argument.
5130
5131 * frameset.el (frameset-live-filter-alist)
5132 (frameset-persistent-filter-alist): New variables.
5133 (frameset-filter-alist): Use them. Add autoload cookie.
5134 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5135 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5136 `frameset--id' (it's supposed to be internal to frameset.el).
5137 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5138 (frameset--initial-params): New function.
5139 (frameset--get-frame): Use it. Doc fix.
5140 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5141 Accept :all, not 'all.
5142 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5143 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5144 with fbound symbols. Fix frame id matching, and remove matching ids if
5145 the frame being restored is deleted. Obey :delete.
5146
671d5c16
SM
51472013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5148
5149 * subr.el (macrop): New function.
5150 (text-clone--maintaining): New var.
5151 (text-clone--maintain): Rename from text-clone-maintain. Use it
5152 instead of inhibit-modification-hooks.
5153
5154 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5155 a proxy, so as handle autoloads and redefinitions of the target.
5156 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5157
5158 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5159 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5160 (pcase--mutually-exclusive-p): New function.
5161 (pcase--split-consp): Use it.
5162 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5163 mutually exclusive with the current predicate.
5164
5165 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5166 (edebug-macrop): Remove. Use `macrop' instead.
5167 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5168 (ad-macro-p):
5169 * eshell/esh-cmd.el (eshell-macrop):
5170 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5171
1d44e9dc
SM
51722013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5173
5174 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5175 (advice-mapc): New function, using it.
5176 (advice-function-member-p): New function.
5177 (advice--normalize): Store the cdr in advice--saved-rewrite since
5178 that's the part that will be changed.
5179 (advice--symbol-function): New function.
5180 (advice-remove): Handle removal before the function is defined.
5181 Adjust to new advice--saved-rewrite.
5182 (advice-member-p): Use advice-function-member-p and
5183 advice--symbol-function.
5184
5414a283
JB
51852013-08-04 Juanma Barranquero <lekktu@gmail.com>
5186
51d30f2c
JB
5187 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5188 (frameset-filter-minibuffer): Doc fix.
5189 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
5190 (frameset--set-id, frameset--process-minibuffer-frames)
5191 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5192 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 5193
5414a283
JB
5194 * desktop.el (desktop-clear): Only delete frames when called
5195 interactively and desktop-restore-frames is non-nil. Doc fix.
5196 (desktop-read): Set desktop-saved-frameset to nil.
5197
ab419665
XF
51982013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5199
5200 * vc/vc.el (vc-ignore): Rewrite.
5201 (vc-default-ignore-completion-table):
5202 (vc--read-lines):
5203 (vc--add-line, vc--remove-regexp): New functions.
5204
5205 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5206 (vc-svn-ignore-completion-table): New function.
5207
5208 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5209 (vc-hg-ignore-completion-table):
5210 (vc-hg-find-ignore-file): New functions.
5211
5212 * vc/vc-git.el (vc-git-ignore): Rewrite.
5213 (vc-git-ignore-completion-table):
5214 (vc-git-find-ignore-file): New functions.
5215
5216 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5217
5218 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5219 (vc-bzr-ignore-completion-table):
5220 (vc-bzr-find-ignore-file): New functions.
5221
2613dea2
JB
52222013-08-03 Juanma Barranquero <lekktu@gmail.com>
5223
5224 * frameset.el (frameset-prop): New function and setter.
5225 (frameset-save): Do not modify frame list passed by the caller.
5226
9c959872
SM
52272013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5228
5229 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5230
a104f656
SM
52312013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5232
70122acf
SM
5233 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5234 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5235
a104f656
SM
5236 * custom.el (custom-initialize-default, custom-initialize-set)
5237 (custom-initialize-reset, custom-initialize-changed): Affect the
5238 toplevel-default-value (bug#6275, bug#14586).
5239 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5240 for bug#6275.
5241
f078d570
JB
52422013-08-02 Juanma Barranquero <lekktu@gmail.com>
5243
185e3b5a
JB
5244 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5245 Add cl-def* expressions.
5246
f078d570
JB
5247 * frameset.el (frameset-filter-params): Fix order of arguments.
5248
9421876d
JB
52492013-08-02 Juanma Barranquero <lekktu@gmail.com>
5250
5251 Move code related to saving frames to frameset.el.
5252 * desktop.el: Require frameset.
5253 (desktop-restore-frames): Doc fix.
5254 (desktop-restore-reuses-frames): Rename from
5255 desktop-restoring-reuses-frames.
5256 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5257 (desktop-clear): Clear frames too.
5258 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5259 (desktop--filter-tty*, desktop-save, desktop-read):
5260 Use frameset functions.
5261 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5262 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5263 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5264 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5265 (desktop--process-minibuffer-frames, desktop-save-frames)
5266 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5267 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5268 (desktop--sort-states, desktop-restoring-frames-p)
5269 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5270 (desktop-restoring-frameset-p, desktop-restore-frameset)
5271 (desktop--check-dont-save, desktop-save-frameset): New functions.
5272 (desktop--app-id): New constant.
5273 (desktop-first-buffer, desktop-buffer-ok-count)
5274 (desktop-buffer-fail-count): Move before first use.
5275 * frameset.el: New file.
5276
76dc5996
SM
52772013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5278
5279 * files.el: Use lexical-binding.
5280 (dir-locals-read-from-file): Remove unused `err' variable.
5281 (hack-dir-local-variables--warned-coding): New var.
5282 (hack-dir-local-variables): Use it to avoid repeated warnings.
5283 (make-backup-file-name--default-function): New function.
5284 (make-backup-file-name-function): Use it as default.
5285 (buffer-stale--default-function): New function.
5286 (buffer-stale-function): Use it as default.
5287 (revert-buffer-insert-file-contents--default-function): New function.
5288 (revert-buffer-insert-file-contents-function): Use it as default.
5289 (insert-directory): Avoid add-to-list.
5290
5291 * autorevert.el (auto-revert-handler): Simplify.
5292 Use buffer-stale--default-function.
5293
06d36e2b
TH
52942013-08-01 Tassilo Horn <tsdh@gnu.org>
5295
5f648ab4
TH
5296 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5297
06d36e2b
TH
5298 * whitespace.el (whitespace-ensure-local-variables): New function.
5299 (whitespace-cleanup-region): Call it.
5300 (whitespace-turn-on): Call it.
5301
a43dc424
MA
53022013-08-01 Michael Albinus <michael.albinus@gmx.de>
5303
5304 Complete file name handlers.
5305
5306 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5307 (tramp-handle-verify-visited-file-modtime)
5308 (tramp-handle-file-notify-rm-watch): New functions.
5309 (tramp-call-process): Do not bind `default-directory'.
5310
44e18199
JB
5311 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5312 Order alphabetically.
a43dc424
MA
5313 [access-file, add-name-to-file, dired-call-process]:
5314 [dired-compress-file, file-acl, file-notify-rm-watch]:
5315 [file-ownership-preserved-p, file-selinux-context]:
5316 [make-directory-internal, make-symbolic-link, set-file-acl]:
5317 [set-file-selinux-context, set-visited-file-modtime]:
5318 [verify-visited-file-modtime]: Add handler.
5319 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5320
5321 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5322 [file-notify-add-watch, file-notify-rm-watch]:
5323 [set-file-times, set-visited-file-modtime]:
5324 [verify-visited-file-modtime]: Add handler.
5325 (with-tramp-gvfs-error-message)
5326 (tramp-gvfs-handle-set-visited-file-modtime)
5327 (tramp-gvfs-fuse-file-name): Remove.
5328 (tramp-gvfs-handle-file-notify-add-watch)
5329 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5330 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5331
44e18199
JB
5332 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5333 Order alphabetically.
a43dc424
MA
5334 [file-notify-rm-watch ]: Use default Tramp handler.
5335 [executable-find]: Remove private handler.
5336 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5337 `default-directory'.
5338 (tramp-sh-handle-executable-find)
5339 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5340 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5341 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5342 Do not use `format' in `tramp-message'.
5343
5344 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5345 [file-notify-rm-watch, set-visited-file-modtime]:
5346 [verify-visited-file-modtime]: Add handler.
5347 (tramp-smb-call-winexe): Do not bind `default-directory'.
5348
7188b515
XF
53492013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5350
5351 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5352
2412ee1a
DG
53532013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5354
5355 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5356 use it.
5357 (log-view-diff-changeset): Same.
5358 (log-view-diff-common): Call backend command `previous-revision'
5359 to find out the previous revision, in both cases. Swap the
5360 variables `to' and `fr', so that `fr' usually refers to the
5361 earlier revision (Bug#14989).
5362
5002a754
KRC
53632013-07-31 Kan-Ru Chen <kanru@kanru.info>
5364
5365 * ibuf-ext.el (ibuffer-filter-by-filename):
5366 Make it work with dired buffers too.
5367
44e18199 53682013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
5369
5370 * emacs-lisp/re-builder.el (reb-color-display-p):
5371 * files.el (save-buffers-kill-terminal):
5372 * net/browse-url.el (browse-url):
5373 * server.el (server-save-buffers-kill-terminal):
5374 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5375 Prefer nil to selected-frame for the first arg of frame-parameter.
5376
aeca3fbb
XF
53772013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5378
5379 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5380
158bc55c
SB
53812013-07-30 Stephen Berman <stephen.berman@gmx.net>
5382
5383 * minibuffer.el (completion--twq-all): Try and preserve each
5384 completion's case choice (bug#14907).
5385
d50fceab
LMI
53862013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5387
ac38e731
LMI
5388 * net/network-stream.el (open-network-stream): Mention the new
5389 :nogreeting parameter.
5390 (network-stream-open-starttls): Use the :nogreeting parameter
5391 (bug#14938).
5392
1211de50
LMI
5393 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5394
997798bf
LMI
5395 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5396 more natural than popping.
5397
d50fceab 5398 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 5399 (shr-urlify): Highlight under mouse.
d50fceab 5400
5c09de04
XF
54012013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5402
207d1d04
XF
5403 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5404
5405 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5406
5c09de04
XF
5407 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5408 buffer for output.
5409
3cd51eaa
XF
5410 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5411 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 5412
44e18199 5413 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 5414 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
5415
5416 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5417
5418 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5419 buffer for output.
5420
35a89bdd
EZ
54212013-07-29 Eli Zaretskii <eliz@gnu.org>
5422
5423 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5424 initial frame is minibuffer-less. (Bug#14841)
5425
78822e94
MA
54262013-07-29 Michael Albinus <michael.albinus@gmx.de>
5427
5428 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5429 option.
5430
5431 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5432 (tramp-maybe-open-connection): Use it.
5433
9503c190
JB
54342013-07-28 Juanma Barranquero <lekktu@gmail.com>
5435
5436 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5437 minimal set of parameters passed when creating a frame, because
5438 the minibuffer status of a frame cannot be changed later.
5439
d5a845b4
SB
54402013-07-28 Stephen Berman <stephen.berman@gmx.net>
5441
5442 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5443 replace-regexp-in-string and inadvertent omissions in previous change.
5444 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 5445 name of filtered items buffer.
d5a845b4 5446
ddeffb17
JB
54472013-07-28 Juanma Barranquero <lekktu@gmail.com>
5448
5449 * desktop.el: Optionally force offscreen frames back onscreen.
5450 (desktop-restoring-reuses-frames): New option.
5451 (desktop--compute-pos, desktop--move-onscreen): New functions.
5452 (desktop--make-frame): Use desktop--move-onscreen.
5453
f5950f7a
AM
54542013-07-27 Alan Mackenzie <acm@muc.de>
5455
5456 Fontify a Java generic method as a function.
5457 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5458 value to t.
5459
ae43b66a
SB
54602013-07-27 Stephen Berman <stephen.berman@gmx.net>
5461
5462 * calendar/todo-mode.el: Add command to rename todo files.
5463 (todo-rename-file): New command.
5464 (todo-key-bindings-t): Add key binding for it. Change the
5465 bindings of todo-filter-regexp-items(-multifile) to use `x'
5466 instead of `r', since the latter is better suited to the new
5467 renaming command.
5468
5ab78d3d
AM
54692013-07-27 Alan Mackenzie <acm@muc.de>
5470
5471 Make Java try-with-resources statement parse properly.
5472 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5473 (c-block-stmt-1-2-key): New language constants/variables.
5474 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5475 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5476 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 5477 with c-block-stmt-1-2-key.
5ab78d3d 5478
d85c4d50
JB
54792013-07-27 Juanma Barranquero <lekktu@gmail.com>
5480
5481 * desktop.el (desktop--make-frame): Apply most frame parameters after
5482 creating the frame to force (partially or totally) offscreen frames to
5483 be restored as such.
5484
e4c467f9
XF
54852013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5486
5487 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 5488 (Bug#14948)
e4c467f9 5489
7ced0d04
SM
54902013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5491
5492 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5493 `base' arg of backtrace-frame.
5494
fec92060
EZ
54952013-07-26 Eli Zaretskii <eliz@gnu.org>
5496
5497 * simple.el (list-processes): Doc fix.
5498
d58d31fb
JB
54992013-07-26 Juanma Barranquero <lekktu@gmail.com>
5500
5501 * desktop.el (desktop--select-frame):
d85c4d50 5502 Try harder to reuse existing frames.
d58d31fb 5503
53ff3e77
SM
55042013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5505
5506 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5507 (edebug-eval): Use backtrace-eval.
5508 (edebug--display, edebug--recursive-edit): Don't let-bind the
5509 edebug-outer-* vars that keep track of variables we locally let-bind.
5510 (edebug-outside-excursion): Don't restore outside values of locally
5511 let-bound vars.
5512 (edebug--display): Use user-error.
5513 (cl-lexical-debug, cl-debug-env): Remove.
5514
045f7a53
JB
55152013-07-26 Juanma Barranquero <lekktu@gmail.com>
5516
5517 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5518 are restored to be sure that they are visible before deleting any
5519 remaining ones.
5520
59070b32
MM
55212013-07-26 Matthias Meulien <orontee@gmail.com>
5522
742a3501
XF
5523 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5524 vc-print-root-log. (Bug#14948)
59070b32 5525
b1fb3596
RS
55262013-07-26 Richard Stallman <rms@gnu.org>
5527
5528 Add aliases for encrypting mail.
5529 * epa.el (epa-mail-aliases): New option.
5530 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5531 Bind inhibit-read-only so read-only text doesn't ruin everything.
5532 (epa-mail-default-recipients): New subroutine broken out.
5533 Handle epa-mail-aliases.
5534
56ea7291
SM
55352013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5536
5537 Add support for lexical variables to the debugger's `e' command.
5538 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5539 vars, except for debugger-outer-match-data.
5540 (debugger-frame-number): Move check for "on a function call" from
5541 callers into it. Add `skip-base' argument.
5542 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5543 (debugger-env-macro): Only reset the state stored in non-variables,
5544 i.e. current-buffer and match-data.
5545 (debugger-eval-expression): Rewrite using backtrace-eval.
5546 * subr.el (internal--called-interactively-p--get-frame): Remove.
5547 (called-interactively-p):
5548 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5549 `base' arg of backtrace-frame instead.
5550
15ac32d5
GM
55512013-07-26 Glenn Morris <rgm@gnu.org>
5552
8358a09d
GM
5553 * align.el (align-regexp): Doc fix. (Bug#14857)
5554 (align-region): Explicit error if subexpression missing/does not match.
5555
15ac32d5
GM
5556 * simple.el (global-visual-line-mode):
5557 Do not duplicate the mode lighter. (Bug#14858)
5558
f47ad11b
MR
55592013-07-25 Martin Rudalics <rudalics@gmx.at>
5560
5561 * window.el (display-buffer): In display-buffer bind
5562 split-window-keep-point to t, bug#14829.
5563
02530987
JB
55642013-07-25 Juanma Barranquero <lekktu@gmail.com>
5565
5566 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5567 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5568 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5569 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5570 Change accordingly.
f63ebeb5
JB
5571 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5572 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 5573
6ccb9cab 55742013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 5575
6ccb9cab 5576 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 5577
cb3a56d2
JB
55782013-07-25 Juanma Barranquero <lekktu@gmail.com>
5579
5580 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5581 parameter to modify-frame-parameters if the value has not changed;
5582 this is a workaround for bug#14949.
5583 (desktop--make-frame): On cl-delete-if call, check parameter name,
5584 not full parameter.
5585
7aa7fff0
XF
55862013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5587
5588 * vc/vc.el (vc-ignore): New function.
5589
5590 * vc/vc-svn.el (vc-svn-ignore): New function.
5591
5592 * vc/vc-hg.el (vc-hg-ignore): New function.
5593
5594 * vc/vc-git.el (vc-git-ignore): New function.
5595
5596 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5597 (vc-dir-ignore): New function.
5598
5599 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 5600 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
5601
5602 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5603
5604 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5605
889acc5c
JB
56062013-07-24 Juanma Barranquero <lekktu@gmail.com>
5607
5608 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5609 (desktop-restore-frames): Warn when deleting an existing frame failed.
5610
86c40970
GM
56112013-07-24 Glenn Morris <rgm@gnu.org>
5612
5613 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5614
d5d3c58a
MA
56152013-07-24 Michael Albinus <michael.albinus@gmx.de>
5616
5617 * filenotify.el (file-notify-supported-p):
5618 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5619 Remove functions.
5620
5621 * autorevert.el (auto-revert-use-notify):
5622 (auto-revert-notify-add-watch):
5623 * net/tramp.el (tramp-file-name-for-operation):
5624 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5625 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5626 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5627 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5628 Remove `file-notify-supported-p' entry.
5629
d100084b
GM
56302013-07-24 Glenn Morris <rgm@gnu.org>
5631
5632 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 5633 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 5634
ac93e56b
SM
56352013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5636
249eea30
SM
5637 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5638 checked with memq (bug#14935).
5639
ac93e56b
SM
5640 * files.el (revert-buffer-function): Use a non-nil default.
5641 (revert-buffer-preserve-modes): Declare var to
5642 provide access to the `preserve-modes' argument.
5643 (revert-buffer): Let-bind it.
5644 (revert-buffer--default): New function, extracted from revert-buffer.
5645
2cdeb903
SM
56462013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5647
5648 * lpr.el: Signal print errors more prominently.
5649 (print-region-function): Don't default to nil.
5650 (lpr-print-region): New function, extracted from print-region-1.
5651 Check lpr's return value and signal an error in case of problem.
5652 (print-region-1): Use it.
5653 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5654 versions instead.
5655 (ps-printer-name): Default to nil.
5656 (ps-printer-name-option): Default to lpr-printer-switch.
5657 (ps-print-region-function): Don't default to nil.
5658 (ps-postscript-code-directory): Simplify default.
5659 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5660 (ps-string-list, ps-eval-switch, ps-flatten-list)
5661 (ps-flatten-list-1): Remove.
5662 (ps-multibyte-buffer): Avoid setq.
5663 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5664 (print-region-function, ps-print-region-function): Don't set them here.
5665
73600831
XF
56662013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5667
0e55c076
XF
5668 * ido.el (ido-fractionp):
5669 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5670 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5671 (ido-max-directory-size, ido-max-dir-file-cache)
5672 (ido-decorations): Doc fix.
5673
73600831
XF
5674 * ansi-color.el: Fix old URL.
5675
3d012865
MM
56762013-07-23 Michael R. Mauger <michael@mauger.com>
5677
e903c210 5678 * progmodes/sql.el: Version 3.3
3d012865
MM
5679 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5680 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5681 (sql-interactive-remove-continuation-prompt): Rewrite, use
5682 functions above. Fix continuation prompt and complete output line
5683 handling.
5684 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5685 redirected output buffer.
5686 (sql-mode): Restore deleted code (Bug#13591).
5687
da77a2e2
JB
56882013-07-23 Juanma Barranquero <lekktu@gmail.com>
5689
5690 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5691
80ff0c71
MA
56922013-07-23 Michael Albinus <michael.albinus@gmx.de>
5693
5694 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5695
5696 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5697 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5698 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5699
b61d71e4
JB
57002013-07-23 Juanma Barranquero <lekktu@gmail.com>
5701
5702 * desktop.el (desktop-clear): Simplify; remove useless checks
5703 against invalid buffer names.
5704 (desktop-list*): Use cl-list*.
5705 (desktop-buffer-info, desktop-create-buffer): Simplify.
5706
c3512092
LL
57072013-07-23 Leo Liu <sdl.web@gmail.com>
5708
5709 * bookmark.el (bookmark-make-record): Restore NAME as a default
5710 value. (Bug#14933)
5711
0ac26976
SM
57122013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5713
7d22ce18
SM
5714 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5715 extracted from autoload--insert-text.
5716 (autoload--insert-text): Remove.
5717 (autoload--print-cookie-text): New function, extracted from
5718 autoload--insert-cookie-text.
5719 (autoload--insert-cookie-text): Remove.
5720 (autoload-generate-file-autoloads): Adjust calls accordingly.
5721
9b2607e8
SM
5722 * winner.el (winner-hook-installed-p): Remove.
5723 (winner-mode): Simplify accordingly.
5724
c43a8618
SM
5725 * subr.el (add-to-list): Fix compiler-macro when `append' is
5726 not constant. Don't use `cl-member' for the base case.
5727
0ac26976
SM
5728 * progmodes/subword.el: Fix boundary case (bug#13758).
5729 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5730 own group.
5731 (subword-backward-regexp): Make it a constant.
5732 (subword-forward-internal): Don't treat a trailing capital as the
5733 beginning of a word.
5734
6874724a
AR
57352013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5736
5737 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5738 global value of tabulated-list-revert-hook (bug#14930).
5739
70f1b5e8
JB
57402013-07-22 Juanma Barranquero <lekktu@gmail.com>
5741
a1c80d9d
JB
5742 * desktop.el: Require 'cl-lib.
5743 (desktop-before-saving-frames-functions): New hook.
5744 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5745 for frames being saved. Rename from desktop--save-minibuffer-frames.
5746 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
5747 Do not save frames with non-nil `desktop-dont-save' parameter.
5748 Filter out deleted frames.
a1c80d9d
JB
5749 (desktop--find-frame): Use cl-find-if.
5750 (desktop--select-frame): Use cl-(first|second|third) to access values
5751 of desktop-mini.
5752 (desktop--make-frame): Use cl-delete-if.
5753 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5754 (desktop-restore-frames): Use cl-(first|second|third) to access values
5755 of desktop-mini. Look for visible frame at the end, not while
5756 restoring frames.
5757
70f1b5e8
JB
5758 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5759 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5760 Use string-match-p, looking-at-p (bug#14927).
5761
728dc3cc
JB
57622013-07-21 Juanma Barranquero <lekktu@gmail.com>
5763
56bc453c
JB
5764 * desktop.el (desktop-saved-frame-states):
5765 Rename from desktop--saved-states; all users changed.
5766 (desktop-save-frames): Rename from desktop--save-frames.
5767 Do not save state to desktop file.
5768 (desktop-save): Save desktop-saved-frame-states to desktop file
5769 and reset to nil.
5770 (desktop-restoring-frames-p): New function.
5771 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5772 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5773 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5774
728dc3cc
JB
5775 * desktop.el: Correctly restore iconified frames.
5776 (desktop--filter-iconified-position): New function.
5777 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5778
862f1c9c
GM
57792013-07-20 Glenn Morris <rgm@gnu.org>
5780
c4074c9f
GM
5781 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5782 Let `message' do the formatting.
5783 (def-gdb-preempt-display-buffer): Add explicit format.
5784
d828e5f9
GM
5785 * image-dired.el (image-dired-track-original-file):
5786 Use with-current-buffer.
5787 (image-dired-track-thumbnail): Use with-current-buffer.
5788 Avoid changing point of wrong window.
5789
862f1c9c
GM
5790 * image-dired.el (image-dired-track-original-file):
5791 Avoid changing point of wrong window. (Bug#14909)
5792
f0398ec1 57932013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
5794
5795 * progmodes/gdb-mi.el (gdb-done-or-error):
5796 Guard against "%" in gdb output. (Bug#14127)
5797
1451928f
AS
57982013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5799
763a086d
JB
5800 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5801 (Bug#14826)
f7a03897 5802
1451928f
AS
5803 * international/mule.el (coding-system-iso-2022-flags): Fix last
5804 change.
5805
99107004
KH
58062013-07-20 Kenichi Handa <handa@gnu.org>
5807
763a086d
JB
5808 * international/mule.el (coding-system-iso-2022-flags):
5809 Add `8-bit-level-4'. (Bug#8522)
99107004 5810
48494e06
LMI
58112013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5812
8ba8eec5
LMI
5813 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5814 (bug#14815).
5815
dfbc66e3
LMI
5816 * net/eww.el (eww-process-text-input): Allow inputting when the
5817 point is at the start of the line, as the properties aren't
5818 front-sticky.
5819
48494e06
LMI
5820 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5821 degenerate widths.
5822
77c92cb9
RS
58232013-07-19 Richard Stallman <rms@gnu.org>
5824
aec7da77
RS
5825 * epa.el (epa-popup-info-window): Doc fix.
5826
77c92cb9
RS
5827 * subr.el (split-string): New arg TRIM.
5828
945c5bb1
JB
58292013-07-18 Juanma Barranquero <lekktu@gmail.com>
5830
5831 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5832 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5833
e06ec67f
MA
58342013-07-18 Michael Albinus <michael.albinus@gmx.de>
5835
c7064f05 5836 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
5837 `file-notify-support'. Do not autoload. Adapt all uses.
5838 (file-notify-supported-p): New defun.
5839
c7064f05
JB
5840 * autorevert.el (auto-revert-use-notify):
5841 Use `file-notify-supported-p' instead of `file-notify-support'.
5842 Adapt docstring.
e06ec67f
MA
5843 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5844
5845 * net/tramp.el (tramp-file-name-for-operation):
5846 Add `file-notify-supported-p'.
5847
5848 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5849 New defun.
5850 (tramp-sh-file-name-handler-alist): Add it as handler for
5851 `file-notify-supported-p '.
5852
5853 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5854 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5855 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5856 Add `ignore' as handler for `file-notify-*' functions.
5857
5dc8a629
EZ
58582013-07-17 Eli Zaretskii <eliz@gnu.org>
5859
5860 * simple.el (line-move-partial, line-move): Don't start vscroll or
5861 scroll-up if the current line is not taller than the window.
5862 (Bug#14881)
5863
77aea2fb
DG
58642013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5865
5866 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5867 highlight question marks in the method names as strings.
ac72c08d
DG
5868 (ruby-block-beg-keywords): Inline.
5869 (ruby-font-lock-keyword-beg-re): Extract from
5870 `ruby-font-lock-keywords'.
77aea2fb 5871
18c26d81
JD
58722013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5873
5874 * frame.el (blink-cursor-blinks): New defcustom.
5875 (blink-cursor-blinks-done): New defvar.
5876 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5877 (blink-cursor-timer-function): Check if number of blinks has been
5878 done on X and NS.
5879 (blink-cursor-suspend, blink-cursor-check): New defuns.
5880
da48522e
GM
58812013-07-15 Glenn Morris <rgm@gnu.org>
5882
5883 * edmacro.el (edmacro-format-keys): Fix previous change.
5884
0463c1ef
PE
58852013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5886
5887 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5888 The hack didn't work outside English locales anyway.
5889
b43f6451
JB
58902013-07-15 Juanma Barranquero <lekktu@gmail.com>
5891
5892 * simple.el (define-alternatives): Rename from alternatives-define,
5893 per RMS' suggestion.
5894
b958c0ad
JB
58952013-07-14 Juanma Barranquero <lekktu@gmail.com>
5896
5897 * desktop.el (desktop-restore-frames): Change default to t.
5898 (desktop-restore-in-current-display): Now offer more options.
5899 (desktop-restoring-reuses-frames): New customization option.
5900 (desktop--saved-states): Doc fix.
5901 (desktop-filter-parameters-alist): New variable, renamed and expanded
5902 from desktop--excluded-frame-parameters.
5903 (desktop--target-display): New variable.
5904 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5905 (desktop--filter-tty*, desktop--filter-*-color)
5906 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5907 (desktop--filter-save-desktop-parm)
5908 (desktop-restore-in-original-display-p): New functions.
5909 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5910 (desktop--save-minibuffer-frames): New function, inspired by a similar
5911 function from Martin Rudalics.
5912 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5913 (desktop--restore-in-this-display-p): Remove.
5914 (desktop--find-frame): Rename from desktop--find-frame-in-display
5915 and add predicate argument.
5916 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5917 (desktop--reuse-list): New variable.
5918 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5919 New functions.
5920 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5921
f6dd8b36
MA
59222013-07-14 Michael Albinus <michael.albinus@gmx.de>
5923
5924 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5925
2ce3c565
DG
59262013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5927
763a086d
JB
5928 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5929 Highlight conversion methods on Kernel.
2ce3c565 5930
2cdb7698
AM
59312013-07-13 Alan Mackenzie <acm@muc.de>
5932
5933 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5934 and comment it out. This out-commenting enables certain C++
5935 declarations to be parsed correctly.
5936
1a67b811
EZ
59372013-07-13 Eli Zaretskii <eliz@gnu.org>
5938
1b796d6b
EZ
5939 * international/mule.el (define-coding-system): Doc fix.
5940
1a67b811
EZ
5941 * simple.el (default-font-height): Don't call font-info if the
5942 frame's default font didn't change since the frame was created.
5943 (Bug#14838)
5944
58fbe886
LL
59452013-07-13 Leo Liu <sdl.web@gmail.com>
5946
5947 * ido.el (ido-read-file-name): Guard against non-symbol value.
5948
1f0480d4
FEG
59492013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5950
5951 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5952 in nested defuns.
5953
97ead0e5
LL
59542013-07-13 Leo Liu <sdl.web@gmail.com>
5955
5956 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5957 ido-set-matches call. (Bug#6852)
5958
0880a952
DG
59592013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5960
5961 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5962 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5963 Ruby 2.0.
5964 (ruby-font-lock-keywords): Distinguish calls to functions with
5965 module-like names from module references. Highlight character
5966 literals.
5967
a7d8babb
SDJ
59682013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5969
5970 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 5971 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 5972
acfcc8c5
JB
59732013-07-12 Juanma Barranquero <lekktu@gmail.com>
5974
5975 * desktop.el (desktop--v2s): Remove unused local variable.
5976 (desktop-save-buffer): Make defvar-local; adjust docstring.
5977 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5978 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5979
051f2775
AS
59802013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5981
5982 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5983
f24e7572
GM
59842013-07-12 Eli Zaretskii <eliz@gnu.org>
5985
5986 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5987 (Bug#14842)
5988
539a920c
GM
59892013-07-12 Glenn Morris <rgm@gnu.org>
5990
5991 * doc-view.el: Require cl-lib at runtime too.
5992 (doc-view-remove-if): Remove.
5993 (doc-view-search-next-match, doc-view-search-previous-match):
5994 Use cl-remove-if.
5995
5996 * edmacro.el: Require cl-lib at runtime too.
5997 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5998 (edmacro-mismatch, edmacro-subseq): Remove.
5999
6000 * shadowfile.el: Require cl-lib.
6001 (shadow-remove-if): Remove.
6002 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6003 Use cl-remove-if.
6004
6005 * wid-edit.el: Require cl-lib.
6006 (widget-choose): Use cl-remove-if.
6007 (widget-remove-if): Remove.
6008
6009 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6010 (ebrowse-delete-if-not): Remove.
6011 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6012 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6013 Use cl-delete-if-not.
6014
1048af7c
JB
60152013-07-12 Juanma Barranquero <lekktu@gmail.com>
6016
6017 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6018 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6019
6c0674ee
LL
60202013-07-12 Leo Liu <sdl.web@gmail.com>
6021
6022 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6023
a19b3c2d
GM
60242013-07-11 Glenn Morris <rgm@gnu.org>
6025
4582a01c
GM
6026 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6027 (edebug-gensym-index, edebug-gensym):
6028 Remove reimplementation of cl-gensym.
6029 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6030
6031 * thumbs.el: Require cl-lib at run-time too.
6032 (thumbs-gensym-counter, thumbs-gensym):
6033 Remove reimplementation of cl-gensym.
6034 (thumbs-temp-file): Use cl-gensym.
6035
a19b3c2d
GM
6036 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6037 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6038 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6039 (ert--union, ert--gensym-counter, ert--gensym-counter)
6040 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6041 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6042 (ert-make-test-unbound, ert--expand-should-1)
6043 (ert--expand-should, ert--should-error-handle-error)
6044 (should-error, ert--explain-equal-rec)
6045 (ert--plist-difference-explanation, ert-select-tests)
6046 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6047 Use cl-lib functions rather than reimplementations.
6048
88f6a933
MA
60492013-07-11 Michael Albinus <michael.albinus@gmx.de>
6050
6051 * net/tramp.el (tramp-methods): Extend docstring.
6052 (tramp-connection-timeout): New defcustom.
6053 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6054 (with-tramp-progress-reporter): Simplify.
6055 (tramp-process-actions): Improve messages.
6056
6057 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6058 * net/tramp-sh.el (tramp-maybe-open-connection):
6059 Use `tramp-connection-timeout'.
6060 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6061 (Bug#14808)
6062
a43d577e
LL
60632013-07-11 Leo Liu <sdl.web@gmail.com>
6064
6065 * ido.el (ido-read-file-name): Conform to the requirements of
6066 read-file-name. (Bug#11861)
6067 (ido-read-directory-name): Conform to the requirements of
6068 read-directory-name.
6069
d77974bf
JB
60702013-07-11 Juanma Barranquero <lekktu@gmail.com>
6071
6072 * subr.el (delay-warning): New function.
6073
35cb8a3e
EZ
60742013-07-10 Eli Zaretskii <eliz@gnu.org>
6075
6076 * simple.el (default-line-height): New function.
6077 (line-move-partial, line-move): Use it instead of computing the
6078 line height inline.
6079 (line-move-partial): Always compute ROWH. If the last line is
6080 partially-visible, but its text is completely visible, allow
6081 cursor to enter such a partially-visible line.
6082
525c5c77
MA
60832013-07-10 Michael Albinus <michael.albinus@gmx.de>
6084
6085 Improve error messages. (Bug#14808)
6086
6087 * net/tramp.el (tramp-current-connection): New defvar, moved from
6088 tramp-sh.el.
0ac26976 6089 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 6090 needed anymore.
0ac26976
SM
6091 (tramp-error-with-buffer): Show message in minibuffer.
6092 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
6093 (with-tramp-progress-reporter): Improve messages.
6094 (tramp-process-actions): Use progress reporter. Delete process in
6095 case of error. Improve messages.
6096
763a086d
JB
6097 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6098 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 6099 (tramp-current-connection): Remove.
525c5c77
MA
6100 (tramp-maybe-open-connection): The car of
6101 `tramp-current-connection' are the first 3 slots of the vector.
6102
c7a4d368
TZ
61032013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6104
6105 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6106 inside continued strings.
6107
954b166e
PE
61082013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6109
6110 Timestamp fixes for undo (Bug#14824).
6111 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6112
56973319
LL
61132013-07-10 Leo Liu <sdl.web@gmail.com>
6114
6115 * files.el (require-final-newline): Allow safe local value.
6116 (Bug#14834)
6117
5550a72c
LL
61182013-07-09 Leo Liu <sdl.web@gmail.com>
6119
6120 * ido.el (ido-read-directory-name): Handle fallback.
6121 (ido-read-file-name): Update DIR to ido-current-directory.
6122 (Bug#1516)
c28b9050 6123 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 6124
70c46b28
DG
61252013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6126
6127 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6128 "autoload". Remove "warn lower camel case" section, previously
6129 commented out. Highlight negation char. Do not highlight the
6130 target in singleton method definitions.
6131
0b64b838
SM
61322013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6133
7fd72e2c
SM
6134 * faces.el (tty-setup-hook): Declare the hook.
6135
0b64b838
SM
6136 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6137 and detect when a guard/pred depends on local vars (bug#14773).
6138 (pcase--u1): Adjust caller.
6139
ab49d60b
EZ
61402013-07-08 Eli Zaretskii <eliz@gnu.org>
6141
6142 * simple.el (line-move-partial, line-move): Account for
6143 line-spacing.
701d79aa
EZ
6144 (line-move-partial): Avoid setting vscroll when the last
6145 partially-visible line in window is of default height.
ab49d60b 6146
2d756ae0
LMI
61472013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6148
6149 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6150 been used a while.
6151
ed095bd7
JB
61522013-07-07 Juanma Barranquero <lekktu@gmail.com>
6153
6154 * subr.el (read-quoted-char): Remove unused local variable `char'.
6155
f1e6674b
MK
61562013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6157
584ee3fc
GM
6158 * ediff.el (ediff-version): Version update.
6159 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6160 (ediff-merge-with-ancestor-command, ediff-directories-command)
6161 (ediff-directories3-command, ediff-merge-directories-command)
6162 (ediff-merge-directories-with-ancestor-command): New functions.
6163 All are command-line interfaces to ediff: to facilitate calling
6164 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
6165
6166 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6167 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 6168
584ee3fc
GM
6169 * viper.el (viper-version): Version update.
6170 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 6171
584ee3fc
GM
61722013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6173
6174 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6175 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6176 (viper-intercept-ESC-key): Simplify.
6177 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6178 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6179 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6180 (viper-setup-ESC-to-escape): New functions.
6181 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6182 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 6183
9aff9b38
EZ
61842013-07-07 Eli Zaretskii <eliz@gnu.org>
6185
5165d44a
JB
6186 * simple.el (default-font-height, window-screen-lines):
6187 New functions.
9aff9b38
EZ
6188 (line-move, line-move-partial): Use them instead of
6189 frame-char-height and window-text-height. This makes scrolling
6190 text smoother when the buffer's default face uses a font that is
6191 different from the frame's default font.
6192
1afb1d07
JD
61932013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6194
6195 * files.el (write-file): Do not display confirm dialog for NS,
6196 it does its own dialog, which can't be cancelled (Bug#14578).
6197
23de972a
EZ
61982013-07-06 Eli Zaretskii <eliz@gnu.org>
6199
6200 * simple.el (line-move-partial): Adjust the row returned by
6201 posn-at-point for the current window-vscroll. (Bug#14567)
6202
54a42486
MA
62032013-07-06 Michael Albinus <michael.albinus@gmx.de>
6204
6205 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6206 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6207 spaces.
6208
34ada5f4
MR
62092013-07-06 Martin Rudalics <rudalics@gmx.at>
6210
6211 * window.el (window-state-put-stale-windows): New variable.
6212 (window--state-put-2): Save list of windows without matching buffer.
6213 (window-state-put): Remove "bufferless" windows if possible.
6214
11e03d89
JB
62152013-07-06 Juanma Barranquero <lekktu@gmail.com>
6216
6217 * simple.el (alternatives-define): Remove leftover :group keyword.
6218 Tweak docstring.
6219
3504a4be
LL
62202013-07-06 Leo Liu <sdl.web@gmail.com>
6221
6222 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6223 (ido-enable-virtual-buffers): New variable.
6224 (ido-buffer-internal, ido-toggle-virtual-buffers)
6225 (ido-make-buffer-list): Use it.
6226 (ido-exhibit): Support turning on and off virtual buffers
6227 automatically.
6228
61e56e2c
JB
62292013-07-06 Juanma Barranquero <lekktu@gmail.com>
6230
6231 * simple.el (alternatives-define): New macro.
6232
321e1a9c
SM
62332013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6234
6235 * subr.el (read-quoted-char): Use read-key.
6236 (sit-for): Let read-event decode tty input (bug#14782).
6237
d610f6dd
SB
62382013-07-05 Stephen Berman <stephen.berman@gmx.net>
6239
6240 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
6241 mode command and externally. Fix various related bugs.
6242 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
6243 (todo-delete-file): New command.
6244 (todo-check-file): New function.
6245 (todo-show): Handle external deletion of the file we're trying to
6246 show (bug#14688). Replace called-interactively-p by an optional
6247 prefix argument to avoid problematic interaction with catch form
6248 when byte compiled (bug#14702).
6249 (todo-quit): Handle external deletion of the archive's todo file.
6250 Make sure the buffer that was visiting the archive file is still
6251 live before trying to bury it.
6252 (todo-category-completions): Handle external deletion of any
6253 category completion files.
6254 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6255 of todo files, in case of external deletion.
6256 (todo-add-file): Replace unnecessary setq by let-binding.
6257 (todo-find-archive): Check whether there are any archives.
6258 Replace unnecessary setq by let-binding.
6259 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
6260 archive buffer whether or not the archive already exists.
6261 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
6262 check if the archive is new; if it is, update list of archives.
6263 (todo-default-todo-file): Allow nil to be a valid value for when
6264 there are no todo files.
6265 (todo-reevaluate-default-file-defcustom): Use corrected definition
6266 of todo-default-todo-file.
6267 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6268 (todo-delete-category, todo-show-categories-table)
6269 (todo-category-number): Clarify comment.
6270 (todo-filter-items): Clarify documentation string.
6271 (todo-show-current-file, todo-display-as-todo-file)
6272 (todo-reset-and-enable-done-separator): Tweak documentation string.
6273 (todo-done-separator): Make separator length window-width, since
6274 bug#2749 is now fixed.
6275
ddbdfd6f
MA
62762013-07-05 Michael Albinus <michael.albinus@gmx.de>
6277
321e1a9c
SM
6278 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6279 Support both "gvfs-monitor-dir" and "inotifywait".
6280 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
6281 `tramp-sh-file-notify-process-filter'.
6282 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6283 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6284
96eb829a
LL
62852013-07-05 Leo Liu <sdl.web@gmail.com>
6286
6287 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6288
cf13177e
YM
62892013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6290
6291 * frame.el (display-pixel-height, display-pixel-width)
6292 (display-mm-height, display-mm-width): Mention behavior on
6293 multi-monitor setups in docstrings.
6294 (w32-display-monitor-attributes-list): Declare function.
6295 (display-monitor-attributes-list): Use it.
6296
864c58ca
MA
62972013-07-04 Michael Albinus <michael.albinus@gmx.de>
6298
6299 * filenotify.el: New package.
6300
6301 * autorevert.el (top): Require filenotify.el.
6302 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6303 instead.
6304 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6305 (auto-revert-notify-handler): Use `file-notify-*' functions.
6306
6307 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6308
321e1a9c
SM
6309 * net/tramp.el (tramp-file-name-for-operation):
6310 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
6311
6312 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6313 for `file-notify-add-watch' and `file-notify-rm-watch'.
6314 (tramp-process-sentinel): Improve trace.
6315 (tramp-sh-handle-file-notify-add-watch)
6316 (tramp-sh-file-notify-process-filter)
6317 (tramp-sh-handle-file-notify-rm-watch)
6318 (tramp-get-remote-inotifywait): New defuns.
6319
96673afe
JL
63202013-07-03 Juri Linkov <juri@jurta.org>
6321
6322 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6323 call of `occur-read-primary-args' to interactive spec.
6324
6325 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6326 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6327
924494f4
MM
63282013-07-03 Matthias Meulien <orontee@gmail.com>
6329
6330 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6331 `Buffer-menu-multi-occur'. Add it to the menu.
6332 (Buffer-menu-mode): Document it in docstring.
6333 (Buffer-menu-multi-occur): New command. (Bug#14673)
6334
56f75efc
DG
63352013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6336
6337 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6338 keywords and built-ins.
6339
9b057d61
GM
63402013-07-03 Glenn Morris <rgm@gnu.org>
6341
208dee4d
GM
6342 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6343
9b057d61
GM
6344 Make info-xref checks case-sensitive by default
6345 * info.el (Info-find-node, Info-find-in-tag-table)
6346 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6347 Add option for exact case matching of nodes.
6348 * info-xref.el (info-xref): New custom group.
6349 (info-xref-case-fold): New option.
6350 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6351
e01aa29c
LL
63522013-07-03 Leo Liu <sdl.web@gmail.com>
6353
6354 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6355
3086ca2e
DG
63562013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6357
6358 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6359 middle of block statement initially, lower the depth. Remove
6360 FIXME comment, not longer valid. Remove middle of block statement
6361 detection, no need to do that anymore since we've been using
6362 `ruby-parse-region' here.
6363
a3b49114
JD
63642013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6365
6366 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6367
08e5c823 63682013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
6369
6370 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6371
2addf922
JB
63722013-07-01 Juanma Barranquero <lekktu@gmail.com>
6373
6374 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6375 (desktop-restore-in-current-display): New customization option.
6376 (desktop--excluded-frame-parameters): Add `font'.
6377 (desktop--save-frames): Rename from desktop--save-windows.
6378 (desktop--restore-in-this-display-p): New function.
6379 (desktop--make-full-frame): Remove unwanted width/height from
6380 full(width|height) frames.
6381 (desktop--restore-frames): Rename from desktop--restore-windows.
6382 Obey desktop-restore-current-display. Do not delete old frames or
6383 select a new frame unless we were able to restore at least one frame.
6384
ef099a94
MN
63852013-06-30 Michal Nazarewicz <mina86@mina86.com>
6386
6387 * files.el (find-file-noselect): Simplify conditional expression.
6388
6389 * remember.el (remember-append-to-file):
6390 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6391
6392 Add `remember-notes' function to store random notes across Emacs
6393 restarts.
6394 * remember.el (remember-data-file): Add :set callback to affect
6395 notes buffer (if any).
6396 (remember-notes): New command.
6397 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6398 New defcustoms for the `remember-notes' function.
6399 (remember-notes-save-and-bury-buffer): New command.
6400 (remember-notes-mode-map): New variable.
6401 (remember-mode): New minor mode.
6402 (remember-notes--kill-buffer-query): New function.
6403 * startup.el (initial-buffer-choice): Add notes to custom type.
6404
0865d506
EZ
64052013-06-30 Eli Zaretskii <eliz@gnu.org>
6406
0ba54312
EZ
6407 * bindings.el (right-char, left-char): Don't call sit-for, this is
6408 no longer needed. Use arithmetic comparison only for numerical
6409 arguments.
6410
ef099a94
MN
6411 * international/mule-cmds.el (select-safe-coding-system):
6412 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 6413
2fae38e5
LMI
64142013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6415
6416 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6417 progression on degenerate tables.
ef099a94 6418 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 6419
a47cbd64
JB
64202013-06-30 Juanma Barranquero <lekktu@gmail.com>
6421
6422 Some fixes and improvements for desktop frame restoration.
6423 It is still experimental and disabled by default.
6424 * desktop.el (desktop--save-windows): Put the selected frame at
6425 the head of the list.
6426 (desktop--make-full-frame): New function.
6427 (desktop--restore-windows): Try to re-select the frame that was
6428 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
6429 just show an error message and continue. Set up maximized frames
6430 so they have default non-maximized dimensions.
a47cbd64 6431
6dbafa30
DG
64322013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6433
ef099a94
MN
6434 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6435 Don't start heredoc inside a string or comment.
6dbafa30 6436
4c672a0f
EZ
64372013-06-29 Eli Zaretskii <eliz@gnu.org>
6438
6439 * bindings.el (visual-order-cursor-movement): New defcustom.
6440 (right-char, left-char): Provide visual-order cursor motion by
6441 calling move-point-visually. Update the doc strings.
6442
50960f36
KH
64432013-06-28 Kenichi Handa <handa@gnu.org>
6444
6445 * international/mule.el (define-coding-system): New coding system
6446 properties :inhibit-null-byte-detection,
6447 :inhibit-iso-escape-detection, and :prefer-utf-8.
6448 (set-buffer-file-coding-system): If :charset-list property of
6449 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6450 appropriate for setting.
6451
c1ea3abf
JB
6452 * international/mule-cmds.el (select-safe-coding-system):
6453 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6454 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
6455
6456 * international/mule-conf.el (prefer-utf-8): New coding system.
6457 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6458 files.
6459
75dbaf9d
IK
64602013-06-28 Ivan Kanis <ivan@kanis.fr>
6461
eadb6068
IK
6462 * net/shr.el (shr-render-region): New function.
6463
75dbaf9d
IK
6464 * net/eww.el: Autoload `eww-browse-url'.
6465
9ea5cf9f
DG
64662013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6467
c1ea3abf
JB
6468 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6469 Adapt to `package-desc-version' being a list.
6470 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
6471 archive element.
6472
39c0e36f
JB
64732013-06-27 Juanma Barranquero <lekktu@gmail.com>
6474
6475 New experimental feature to save&restore window and frame setup.
6476 * desktop.el (desktop-save-windows): New defcustom.
6477 (desktop--saved-states): New var.
6478 (desktop--excluded-frame-parameters): New defconst.
6479 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6480 (desktop--restore-windows, desktop--save-windows): New functions.
6481 (desktop-save): Call `desktop--save-windows'.
6482 (desktop-read): Call `desktop--restore-windows'.
6483
7f13406b
LMI
64842013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6485
ef099a94 6486 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 6487
1e072639
SB
64882013-06-27 Stephen Berman <stephen.berman@gmx.net>
6489
6490 * info.el (Info-try-follow-nearest-node): Move search for footnote
6491 above search for node name to prevent missing a footnote (bug#14717).
6492
f3e2cbde
SB
64932013-06-27 Stephen Berman <stephen.berman@gmx.net>
6494
6495 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6496
99906aa0
LL
64972013-06-27 Leo Liu <sdl.web@gmail.com>
6498
6499 * net/eww.el (eww-read-bookmarks): Check file size.
6500
539f75f4
SM
65012013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6502
6503 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6504 advice--pending if newdef is nil or an autoload (bug#13820).
6505 (advice-mapc): New function.
6506
843571cb
LMI
65072013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6508
6509 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6510 probably.
23a75d7f 6511 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
6512 (eww-add-bookmark): New command.
6513 (eww-bookmark-mode): New mode and commands.
a285ce99 6514 (eww-add-bookmark): Remove newlines from the title.
47fd571b 6515 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 6516
f2136e1e
GM
65172013-06-26 Glenn Morris <rgm@gnu.org>
6518
eab35f39
GM
6519 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6520 (hfy-size): Handle ttys. (Bug#14668)
6521
f2136e1e
GM
6522 * info-xref.el: Update for Texinfo 5 change in *note format.
6523 (info-xref-node-re, info-xref-note-re): New constants.
6524 (info-xref-check-buffer): Use info-xref-note-re.
6525
a49ff80c
SM
65262013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6527
a343d218
SM
6528 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6529
a49ff80c
SM
6530 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6531 nil terminate the loop (bug#14718).
6532
8308f184
LMI
65332013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6534
6535 * net/eww.el: Rework history traversal. When going forward/back,
6536 put these actions into the history, too, so that they can be
6537 replayed.
26bf2b82 6538 (eww-render): Move the history reset to the correct buffer.
8308f184 6539
ec64c273
JL
65402013-06-25 Juri Linkov <juri@jurta.org>
6541
6542 * files-x.el (modify-dir-local-variable): Change the header comment
6543 in the file with directory local variables. (Bug#14692)
6544
e080a9d7
JL
6545 * files-x.el (read-file-local-variable-value): Add `default'.
6546 (Bug#14710)
6547
bfbc93a1
IK
65482013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6549
6550 * net/eww.el (eww-make-unique-file-name): Create a unique file
6551 name before saving to entering `y' accidentally asynchronously.
6552
65532013-06-25 Ivan Kanis <ivan@kanis.fr>
6554
6555 * net/eww.el (eww-download): New command and keystroke.
6556
16f74f10
LMI
65572013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6558
a49ff80c 6559 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
6560
6561 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6562 be more consistent with Info and dired.
6563
6564 * net/eww.el (eww-mode-map): Ditto.
6565
12059709
SM
65662013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6567
6568 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6569 packages from archives.
6570 (package-archive-contents): Change format; include obsolete packages.
6571 (package-desc): Use `dir' to mark builtin packages.
6572 (package--from-builtin): Set the `dir' field to `builtin'.
6573 (generated-autoload-file, version-control): Declare.
6574 (package-compute-transaction): Change first arg and return value to be
6575 lists of package-descs. Adjust to new package-archive-contents format.
6576 (package--add-to-archive-contents): Adjust to new
6577 package-archive-contents format.
6578 (package-download-transaction): Arg is now a list of package-descs.
6579 (package-install): If `pkg' is a package name, pass it as
6580 a requirement, so it is subject to the usual (e.g. disabled) checks.
6581 (describe-package): Accept package-desc as well.
6582 (describe-package-1): Describe a specific package-desc. Add links to
6583 other package-descs for the same package name.
6584 (package-menu-describe-package): Pass the actual package-desc.
6585 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6586 works correctly.
6587 (package-desc-status): New function.
6588 (package-menu--refresh): New function, extracted
6589 from package-menu--generate.
6590 (package-menu--generate): Use it.
6591 (package-delete): Update package-alist.
6592 (package-menu-execute): Don't call package-initialize.
6593
6594 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6595 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6596 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6597 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6598 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6599 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6600
8bbdea0f
MR
66012013-06-25 Martin Rudalics <rudalics@gmx.at>
6602
6603 * window.el (window--state-get-1): Workaround for bug#14527.
6604 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6605
e82b0991
LMI
66062013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6607
6608 * net/eww.el (eww-back-url): Implement the history by stashing all
6609 the data into a list.
d3f0f918 6610 (eww-forward-url): Allow going forward in the history, too.
e82b0991 6611
c763842b
SM
66122013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6613
6614 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6615 for values and use read--expression for expressions (bug#14710).
6616 (read-file-local-variable): Avoid setq.
6617 (read-file-local-variable-mode): Use minor-mode-list.
6618
bceff189
RW
66192013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6620
864c58ca 6621 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
6622 for DOI URLs.
6623
45f431c6
RW
66242013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6625
864c58ca 6626 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
6627 Update imenu-support when dialect changes.
6628
f42d8237
LL
66292013-06-25 Leo Liu <sdl.web@gmail.com>
6630
6631 * ido.el (ido-read-internal): Allow forward slash on windows.
6632
be549ce6
LMI
66332013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6634
6635 * net/eww.el (eww): Start of strings is \\`, not ^.
6636
71d4c19d
IK
66372013-06-24 Ivan Kanis <ivan@kanis.fr>
6638
5196f88a
IK
6639 * net/shr.el (shr-browse-url): Fix interactive spec.
6640
71d4c19d
IK
6641 * net/eww.el (eww): Add a trailing slash to domain names.
6642
ae36ca55
JB
66432013-06-24 Juanma Barranquero <lekktu@gmail.com>
6644
6645 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6646
0ebd92a3
LMI
66472013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6648
bdaa086b
LMI
6649 * net/shr.el (shr-browse-url): Use an external browser if given a
6650 prefix.
6651
c763842b 6652 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 6653
b89fc156
IK
66542013-06-24 Ivan Kanis <ivan@kanis.fr>
6655
6656 * net/eww.el (eww): Work more correctly for file: URLs.
6657 (eww-detect-charset): Allow quoted charsets.
6658 (eww-yank-page-url): New command and keystroke.
6659
18eb4bca
DU
66602013-06-24 Daiki Ueno <ueno@gnu.org>
6661
6662 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6663 file name of gpg executable.
6664 (epg-context-program): New function.
6665 (epg-context-home-directory): New function.
6666 (epg-context-set-program): New function.
6667 (epg-context-set-home-directory): New function.
6668 (epg--start): Use `epg-context-program' instead of
6669 'epg-gpg-program'.
6670 (epg--list-keys-1): Likewise.
6671
6c6268c8
LL
66722013-06-24 Leo Liu <sdl.web@gmail.com>
6673
6674 * ido.el (ido-read-internal): Fix bug#14620.
6675
5e400cb3
JB
66762013-06-23 Juanma Barranquero <lekktu@gmail.com>
6677
6678 * faces.el (face-documentation): Simplify.
6679 (read-face-attribute, tty-find-type, x-resolve-font-name):
6680 Use `string-match-p'.
6681 (list-faces-display): Use `string-match-p'. Simplify.
6682 (face-spec-recalc): Check face to avoid face alias loops.
6683 (read-color): Use `string-match-p' and non-capturing parenthesis.
6684
f3f9606c
LMI
66852013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6686
6687 * net/shr.el (shr-rescale-image): Use the new
6688 :max-width/:max-height functionality.
6689
a3ca09b9
IK
66902013-06-23 Ivan Kanis <ivan@kanis.fr>
6691
6692 * net/eww.el (eww-search-prefix): New variable.
6693 (eww): Use it.
f865b474
IK
6694 (eww-external-browser): New variable.
6695 (eww-mode-map): New keystroke.
6696 (eww-browse-with-external-browser): New command.
a3ca09b9 6697
e854cfc7
IK
6698 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6699
18bb9e21
JB
67002013-06-23 Juanma Barranquero <lekktu@gmail.com>
6701
6702 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6703 Don't skip aligning the next header field when padding is 0;
6704 otherwise, field width is not respected unless the title is as
6705 wide as the field.
6706
5b165ade
SM
67072013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6708
6709 * emacs-lisp/package.el (package-el-version): Remove.
6710 (package-process-define-package): Fix inf-loop.
6711 (package-install): Allow symbols as arguments again.
6712
12adebe9
DG
67132013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6714
6715 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6716 add some more keyword-like methods.
6717 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6718
388573ee
JB
67192013-06-22 Juanma Barranquero <lekktu@gmail.com>
6720
6721 * bs.el (bs-buffer-show-mark): Make defvar-local.
6722 (bs-mode): Use setq-local.
6723
6724 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6725 (emacs-lock--try-unlocking): Make defvar-local.
6726
4582a01c 67272013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 6728
2663dd23
GM
6729 * play/cookie1.el (cookie-apropos): Minor simplification.
6730
3d94f3ad
GM
6731 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6732
f72e2fdb
DG
67332013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6734
6735 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6736 `regexp-opt', it breaks the build during dumping.
6737
73eab938
DG
67382013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6739
c763842b
SM
6740 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6741 Highlight keyword-like methods on Kernel and Module with
73eab938 6742 font-lock-builtin-face.
5cf8176d
DG
6743 (auto-mode-alist): Consolidate different entries into one regexp
6744 and add more *file-s.
73eab938 6745
d26255f6
SB
67462013-06-21 Stephen Berman <stephen.berman@gmx.net>
6747
6748 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6749
6750 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6751 (diary-entry): Use it in the action of this button type instead of
6752 diary-goto-entry.
6753
6754 * calendar/todo-mode.el: New version.
6755 (todo-add-category): Append new category to end of file and give
6756 it the highest number, instead of putting it at the beginning and
6757 giving it 0. Incorporate noninteractive functionality.
6758 (todo-forward-category): Adapt to 1-based category numbering.
6759 Allow skipping over archived categories.
6760 (todo-backward-category): Derive from todo-forward-category.
6761 (todo-backward-item, todo-forward-item): Make noninteractive and
6762 delegate interactive part to new commands. Make sensitive to done items.
6763 (todo-categories): Make value an alist of category names and
6764 vectors of item counts.
6765 (todo-category-beg): Make a defconst.
6766 (todo-category-number): Use 1 instead of 0 as initial value.
6767 (todo-category-select): Make sensitive to overlays, optional item
6768 highlighting and done items.
6769 (todo-delete-item): Make sensitive to overlays and marked and done items.
6770 (todo-edit-item): Make sensitive to overlays and editing of
6771 date/time header optional. Add format checks.
6772 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6773 no-op if point is not on an item. Advertise using todo-edit-quit.
6774 (todo-edit-mode): Make sensitive to new format, font-locking, and
6775 multiple todo files.
6776 (todo-insert-item, todo-insert-item-here): Derive from
6777 todo-basic-insert-item and extend functionality.
6778 (todo-item-end, todo-item-start): Make sensitive to done items.
6779 (todo-item-string): Don't return text properties. Restore point.
6780 (todo-jump-to-category): Make sensitive to multiple todo files and
6781 todo archives. Use extended category completion.
6782 (todo-lower-item, todo-raise-item): Rename to *-priority and
6783 derive from todo-set-item-priority.
6784 (todo-mode): Derive from special-mode. Make sensitive to new
6785 format, font-locking and multiple todo files. Make read-only.
6786 (todo-mode-map): Don't suppress digit keys, so they can supply
6787 prefix arguments. Add many new key bindings.
6788 (todo-prefix): Insert as an overlay instead of file text.
6789 Change semantics from diary date expression to purely visual mark.
6790 (todo-print): Rename to todo-print-buffer. Make buffer display
6791 features printable. Remove option to restrict number of items
6792 printed. Add option to print to file.
6793 (todo-print-function): Rename to todo-print-buffer-function.
6794 (todo-quit): Extend to handle exiting new todo modes.
6795 (todo-remove-item): Make sensitive to overlays.
6796 (todo-save): Extend to buffers of filtered items.
6797 (todo-show): Make sensitive to done items, multiple todo files and
6798 new todo modes. Offer to convert legacy todo file before creating
6799 first new todo file.
6800 (todo-show-priorities): Rename to todo-top-priorities.
6801 Change semantics of value 0.
6802 (todo-top-priorities): Rename to todo-filter-top-priorities,
6803 derive from todo-filter-items and extend functionality.
6804 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6805 and extend functionality to other types of filtered items.
6806 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6807 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6808 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6809 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6810 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6811 (todo-edit-mode-hook, todo-entry-prefix-function)
6812 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6813 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6814 (todo-initials, todo-insert-threshold, todo-item-string-start)
6815 (todo-line-string, todo-menu, todo-mode-hook)
6816 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6817 (todo-print-priorities, todo-remove-separator)
6818 (todo-save-top-priorities-too, todo-string-count-lines)
6819 (todo-string-multiline-p, todo-time-string-format)
6820 (todo-tmp-buffer-name): Remove.
6821 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6822 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6823 (todo-edit-category-diary-inclusion)
6824 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6825 (todo-edit-file, todo-edit-item-date-day)
6826 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6827 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6828 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6829 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6830 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6831 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6832 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6833 (todo-filter-top-priorities-multifile, todo-find-archive)
6834 (todo-find-filtered-items-file, todo-go-to-source-item)
6835 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6836 (todo-jump-to-archive-category, todo-lower-category)
6837 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6838 (todo-move-category, todo-move-item, todo-next-button)
6839 (todo-next-item, todo-padded-string, todo-powerset)
6840 (todo-previous-button, todo-previous-item)
6841 (todo-print-buffer-to-file, todo-raise-category)
6842 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6843 (todo-set-category-number, todo-set-item-priority)
6844 (todo-set-top-priorities-in-category)
6845 (todo-set-top-priorities-in-file, todo-show-categories-table)
6846 (todo-sort-categories-alphabetically-or-numerically)
6847 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6848 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6849 (todo-toggle-item-header, todo-toggle-item-highlighting)
6850 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6851 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6852 (todo-unarchive-items, todo-unmark-category): New commands.
6853 (todo-absolute-file-name, todo-add-to-buffer-list)
6854 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6855 (todo-basic-insert-item, todo-category-completions)
6856 (todo-category-number, todo-category-string-matcher-1)
6857 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6858 (todo-check-format, todo-clear-matches)
6859 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6860 (todo-current-category, todo-date-string-matcher)
6861 (todo-define-insertion-command, todo-diary-expired-matcher)
6862 (todo-diary-goto-entry, todo-diary-item-p)
6863 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6864 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6865 (todo-done-item-section-p, todo-done-separator)
6866 (todo-done-string-matcher, todo-files, todo-filter-items)
6867 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6868 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6869 (todo-insert-category-line, todo-insert-item-from-calendar)
6870 (todo-insert-sort-button, todo-insert-with-overlays)
6871 (todo-insertion-command-name, todo-insertion-key-bindings)
6872 (todo-label-to-key, todo-longest-category-name-length)
6873 (todo-make-categories-list, todo-mode-external-set)
6874 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6875 (todo-modes-set-3, todo-multiple-filter-files)
6876 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6877 (todo-read-category, todo-read-date, todo-read-dayname)
6878 (todo-read-file-name, todo-read-time)
6879 (todo-reevaluate-category-completions-files-defcustom)
6880 (todo-reevaluate-default-file-defcustom)
6881 (todo-reevaluate-filelist-defcustoms)
6882 (todo-reevaluate-filter-files-defcustom)
6883 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6884 (todo-reset-done-separator, todo-reset-done-separator-string)
6885 (todo-reset-done-string, todo-reset-global-current-todo-file)
6886 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6887 (todo-reset-prefix, todo-set-categories)
6888 (todo-set-date-from-calendar, todo-set-show-current-file)
6889 (todo-set-top-priorities, todo-short-file-name)
6890 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6891 (todo-total-item-counts, todo-update-buffer-list)
6892 (todo-update-categories-display, todo-update-categories-sexp)
6893 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6894 New functions.
6895 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6896 New major modes.
6897 (todo-categories, todo-display, todo-edit, todo-faces)
6898 (todo-filtered): New defgroups.
6899 (todo-archived-only, todo-button, todo-category-string, todo-date)
6900 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6901 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6902 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6903 (todo-add-item-if-new-category, todo-always-add-time-string)
6904 (todo-categories-align, todo-categories-archived-label)
6905 (todo-categories-category-label, todo-categories-diary-label)
6906 (todo-categories-done-label, todo-categories-number-separator)
6907 (todo-categories-todo-label, todo-categories-totals-label)
6908 (todo-category-completions-files, todo-completion-ignore-case)
6909 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6910 (todo-done-separator-string, todo-done-string)
6911 (todo-files-function, todo-filter-done-items, todo-filter-files)
6912 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6913 (todo-initial-category, todo-initial-file, todo-item-mark)
6914 (todo-legacy-date-time-regexp, todo-mode-line-function)
6915 (todo-nondiary-marker, todo-number-prefix)
6916 (todo-print-buffer-function, todo-show-current-file)
6917 (todo-show-done-only, todo-show-first, todo-show-with-done)
6918 (todo-skip-archived-categories, todo-top-priorities-overrides)
6919 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6920 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6921 New defcustoms.
6922 (todo-category-done, todo-date-pattern, todo-date-string-start)
6923 (todo-diary-items-buffer, todo-done-string-start)
6924 (todo-filtered-items-buffer, todo-item-start)
6925 (todo-month-abbrev-array, todo-month-name-array)
6926 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6927 (todo-top-priorities-buffer): New defconsts.
6928 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6929 (todo-categories-with-marks, todo-category-string-face)
6930 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6931 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6932 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6933 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6934 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6935 (todo-font-lock-keywords, todo-global-current-todo-file)
6936 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6937 (todo-insertion-commands-args)
6938 (todo-insertion-commands-args-genlist)
6939 (todo-insertion-commands-names, todo-insertion-map)
6940 (todo-key-bindings-t, todo-key-bindings-t+a)
6941 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6942 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6943 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6944 (todo-visited): New variables.
6945
cad5d1cb
GM
69462013-06-21 Glenn Morris <rgm@gnu.org>
6947
6948 * play/cookie1.el (cookie-apropos): Add optional display argument.
6949 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6950 (psychoanalyze-pinhead): Use cookie-doctor.
6951
9e277302
JB
69522013-06-21 Juanma Barranquero <lekktu@gmail.com>
6953
6954 * emacs-lisp/package.el (tar-get-file-descriptor)
6955 (tar--extract): Declare.
6956
c5b0993e
EW
69572013-06-21 Eduard Wiebe <usenet@pusto.de>
6958
6959 Extend flymake's warning predicate to be a function (bug#14217).
6960 * progmodes/flymake.el (flymake-warning-predicate): New.
6961 (flymake-parse-line): Use it.
6962 (flymake-warning-re): Make obsolete alias to
6963 `flymake-warning-predicate'.
6964
a7d2d465
SM
69652013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6966
6967 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6968 (package-obsolete-list): Remove.
6969 (package-activate): Remove min-version argument. Add `force' argument.
6970 Adjust to new package-alist format.
6971 (package-mark-obsolete): Remove.
6972 (package-unpack): Force reload of the package's autoloads.
6973 (package-installed-p): Check builtins if the installed package is not
6974 recent enough.
6975 (package-initialize): Don't reset package-obsolete-list.
6976 Don't specify which package version to activate.
6977 (package-process-define-package, describe-package-1)
6978 (package-menu--generate): Adjust to new package-alist format.
6979
cedf5c9d
JB
69802013-06-21 Juanma Barranquero <lekktu@gmail.com>
6981
6982 * allout-widgets.el (allout-widgets-mode-off)
6983 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6984 (allout-widgets-post-command-business)
6985 (allout-widgets-after-copy-or-kill-function)
6986 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6987 (allout-decorate-item-and-context)
6988 (allout-graphics-modification-handler): Fix typos in docstrings.
6989 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6990
6991 * cmuscheme.el (scheme-start-file): Doc fix.
6992 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6993 (scheme-input-filter): Use `string-match-p'.
6994
6995 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6996
6997 * dired-x.el: Use Dired consistently in docstrings.
6998
6999 * dired.el: Use Dired consistently in docstrings.
7000 (dired-readin, dired-mode): Use `setq-local'.
7001 (dired-switches-alist): Make defvar-local.
7002 (dired-buffers-for-dir): Use `zerop'.
7003 (dired-safe-switches-p, dired-switches-escape-p)
7004 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7005 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7006 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7007 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7008 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7009 (dired-toggle-marks, dired-mark-files-containing-regexp)
7010 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7011 (dired-flag-auto-save-files, dired-flag-backup-files):
7012 Use `looking-at-p'.
7013 (dired-mark-files-regexp, dired-build-subdir-alist):
7014 Use `string-match-p', `looking-at-p'.
7015
7016 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7017 (direct-print-region-helper): Use `string-match-p'.
7018
aed838b5
LL
70192013-06-21 Leo Liu <sdl.web@gmail.com>
7020
cedf5c9d
JB
7021 * comint.el (comint-redirect-results-list-from-process):
7022 Fix infinite loop.
aed838b5 7023
d80a808f
LMI
70242013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7025
7026 * net/eww.el (eww-update-header-line-format): Quote % characters.
7027
e7a526e3
GM
70282013-06-21 Glenn Morris <rgm@gnu.org>
7029
7030 * play/cookie1.el (cookie): New custom group.
7031 (cookie-file): New option.
7032 (cookie-check-file): New function.
7033 (cookie): Make it interactive. Make start and end messages optional.
7034 Interactively, display the result. Default to cookie-file.
7035 (cookie-insert): Default to cookie-file.
7036 (cookie-snarf): Make start and end messages optional.
7037 Default to cookie-file. Use with-temp-buffer.
7038 (cookie-read): Rename from read-cookie.
7039 Make start and end messages optional. Default to cookie-file.
7040 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 7041 Do not autoload it.
e7a526e3
GM
7042 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7043 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7044
62efb35e
LL
70452013-06-21 Leo Liu <sdl.web@gmail.com>
7046
7047 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7048
21e3f963
GM
70492013-06-21 Glenn Morris <rgm@gnu.org>
7050
7051 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7052
fd846ab4
SM
70532013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7054 Daniel Hackney <dan@haxney.org>
7055
7056 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7057 Consolidate the single-file vs tarball code.
7058 (package-desc-suffix): New function.
7059 (package-desc-full-name): Don't bother inlining it.
7060 (package-load-descriptor): Return the new package-desc.
7061 (package-mark-obsolete): Remove unused arg `package'.
7062 (package-unpack): Make it work for single files as well.
7063 Make it update package-alist.
7064 (package--make-autoloads-and-stuff): Rename from
7065 package--make-autoloads-and-compile. Don't compile any more.
7066 (package--compile): New function.
7067 (package-generate-description-file): New function, extracted from
7068 package-unpack-single.
7069 (package-unpack-single): Remove.
7070 (package--with-work-buffer): Add indentation and debugging info.
7071 (package-download-single): Remove.
7072 (package-install-from-archive): Rename from package-download-tar, make
7073 it take a pkg-desc, and make it work for single files as well.
7074 (package-download-transaction): Simplify.
7075 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7076 external tar program.
7077 (package-install-from-buffer): Remove `pkg-desc' argument.
7078 Use package-tar-file-info for tar-mode buffers.
7079 (package-install-file): Simplify accordingly.
7080 (package-archive-base): Change to take a pkg-desc.
7081 * tar-mode.el (tar--check-descriptor): New function, extracted from
7082 tar-get-descriptor.
7083 (tar-get-descriptor): Use it.
7084 (tar-get-file-descriptor): New function.
7085 (tar--extract): New function, extracted from tar-extract.
7086 (tar--extract): Use it.
7087 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7088 case the summary uses non-ascii. Adjust to new calling convention of
7089 package-tar-file-info.
7090
b7deae5e
LL
70912013-06-21 Leo Liu <sdl.web@gmail.com>
7092
fd846ab4
SM
7093 * comint.el (comint-redirect-results-list-from-process):
7094 Fix random delay. (Bug#14681)
b7deae5e 7095
7a65a0b2
JB
70962013-06-21 Juanma Barranquero <lekktu@gmail.com>
7097
7098 * profiler.el (profiler-format-number): Use log, not log10.
7099
1493c2af
JB
71002013-06-20 Juanma Barranquero <lekktu@gmail.com>
7101
7102 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7103
aff6371e
SM
71042013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7105
7106 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7107 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7108 yet available.
7109 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7110 (AUTOGENEL): ... here.
7111 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7112 (cl--defsubst-expand): Use it.
7113
89561f72
PE
71142013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7115
7116 * subr.el (log10): Move here from C code, and declare as obsolete.
7117 All uses of (log10 X) replaced with (log X 10).
7118
47199123
JB
71192013-06-20 Juanma Barranquero <lekktu@gmail.com>
7120
7121 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7122 Declare with `defvar-local'.
7123 (tabulated-list-use-header-line, tabulated-list-entries)
7124 (tabulated-list-padding, tabulated-list-printer)
7125 (tabulated-list-sort-key): Declare with `defvar-local'.
7126 (tabulated-list-init-header, tabulated-list-print-fake-header):
7127 Use `setq-local'.
7128
4a172eab
MA
71292013-06-20 Michael Albinus <michael.albinus@gmx.de>
7130
47199123
JB
7131 * arc-mode.el (archive-mode): Add `archive-write-file' to
7132 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 7133
5fc0acc0
JB
71342013-06-20 Juanma Barranquero <lekktu@gmail.com>
7135
d5b27848
JB
7136 * cus-edit.el (custom-commands): Fix typos.
7137 (custom-display): Fix tooltip text.
7138 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7139 Fix typos in docstrings.
7140 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7141 (custom-unlispify-menu-entry, custom-magic-value-create)
7142 (custom-add-see-also, custom-group-value-create): Use ?\s.
7143 (custom-guess-type, customize-apropos, editable-field)
7144 (custom-face-value-create): Use `string-match-p'.
7145 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7146
7147 * custom.el (custom-load-symbol): Use `string-match-p'.
7148
a5c581d8
JB
7149 * ansi-color.el: Convert to lexical binding.
7150 (ansi-colors): Fix URL.
7151 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7152 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7153 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7154
970ad972
G
71552013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7156
7157 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7158
7159 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7160
71612013-06-19 Tom Tromey <tromey@redhat.com>
7162
7163 * net/eww.el (eww-top-url): Remove.
7164 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7165 (eww-render): Set new variables. Don't set eww-top-url.
7166 (eww-handle-link): Handle "prev", "home", and "contents".
7167 Downcase the rel text.
7168 (eww-top-url): Choose best top URL.
7169
71702013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7171
7172 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7173 relying in widget.el. Using widget.el leads to too many
7174 user interface inconsistencies.
7175 (eww-self-insert): Implement entering commands in text fields.
7176 (eww-process-text-input): New function to make text input field editing
7177 work.
7178 (eww-submit): Rewrite to use the new-style form methods.
7179 (eww-select-display): Display the correct selected item.
7180 (eww-change-select): Implement changing the select value.
7181 (eww-toggle-checkbox): Implement radio/checkboxes.
7182 (eww-update-field): Fix compilation error.
7183 (eww-tag-textarea): Implement <textarea>.
7184
7185 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7186 we don't shadow mode-specific bindings.
7187
7188 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7189 nothing to push.
7190
7191 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7192
4582a01c 71932013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
7194
7195 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7196
15b263dc
MA
71972013-06-19 Michael Albinus <michael.albinus@gmx.de>
7198
7199 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7200 not needed.
7201
7202 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7203
8f5297f7
LMI
72042013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7205
7206 * net/browse-url.el (browse-url-browser-function):
7207 `eww-browse-url' has the right calling signature, `eww' does not.
7208
011c4552
GM
72092013-06-19 Glenn Morris <rgm@gnu.org>
7210
2285bd27
GM
7211 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7212 Only eval autoloaded macros.
7213 (byte-compile-autoload): Only give the macro warning for macros.
7214
1d653303
GM
7215 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7216 (ps-underlined-faces): Declare.
7217
bdd779ec
GM
7218 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7219 (speedbar-add-supported-extension): Declare.
7220
011c4552
GM
7221 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7222 Don't include a date stamp in the header of the generated file;
7223 it leads to needless differences between output files.
7224
e59dfb0e
MA
72252013-06-19 Michael Albinus <michael.albinus@gmx.de>
7226
c763842b
SM
7227 * net/secrets.el (secrets-struct-secret-content-type):
7228 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 7229 Some servers do not offer introspection.
e59dfb0e 7230
102626e2
SM
72312013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7232
7233 * electric.el (electric-pair-mode): Improve interaction with
7234 electric-layout-mode.
7235 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7236 (electric-pair-syntax): Use text-mode-syntax-table in comments
7237 and strings.
7238 (electric-pair--insert): New function.
7239 (electric-pair-post-self-insert-function): Use it and
7240 electric--after-char-pos.
7241
ad528125
LL
72422013-06-19 Leo Liu <sdl.web@gmail.com>
7243
7244 * progmodes/octave.el (octave-help): Fix regexp.
7245
924d6997
G
72462013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7247
7248 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7249 (shr-table-horizontal-line): Allow nil as a value, and change the
7250 default.
7251 (shr-insert-table-ruler): Respect the nil value.
7252
72532013-06-18 Tom Tromey <tromey@barimba>
7254
7255 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7256 New defvars.
7257 (eww-open-file): New defun.
7258 (eww-render): Initialize new variables.
7259 (eww-display-html): Handle "link" and "a".
7260 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7261 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7262 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
7263 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7264 New defuns.
924d6997 7265
d1bbba4f
DG
72662013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7267
7268 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7269 Distinguish ternary operator tokens from slash symbol and slash
7270 char literal.
7271
14dd22d2
JB
72722013-06-18 Juanma Barranquero <lekktu@gmail.com>
7273
7274 Convert symbol prettification into minor mode and global minor mode.
7275
7276 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7277 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7278 (prettify-symbols--keywords): Rename from
7279 `prog-prettify-symbols-alist' and make a local defvar.
7280 (prettify-symbols--compose-symbol): Rename from
7281 `prog--prettify-font-lock-compose-symbol'.
7282 (prettify-symbols--make-keywords): Rename from
7283 `prog-prettify-font-lock-symbols-keywords' and simplify.
7284 (prog-prettify-install): Remove.
7285 (prettify-symbols-mode): New minor mode, based on
7286 `prog-prettify-install'.
7287 (turn-on-prettify-symbols-mode): New function.
7288 (global-prettify-symbols-mode): New globalized minor mode.
7289
7290 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7291 * progmodes/cfengine.el (cfengine3-mode):
7292 * progmodes/perl-mode.el (perl-mode): Don't call
7293 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7294
292c880c
JL
72952013-06-18 Juri Linkov <juri@jurta.org>
7296
7297 * files-x.el (modify-file-local-variable-message): New function.
7298 (modify-file-local-variable)
7299 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7300 and call `modify-file-local-variable-message' when it's non-nil.
7301 (add-file-local-variable, delete-file-local-variable)
7302 (add-file-local-variable-prop-line)
7303 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7304 and use it. (Bug#9820)
7305
0950aa27
JL
73062013-06-18 Juri Linkov <juri@jurta.org>
7307
7308 * emulation/vi.el (vi-shell-op):
7309 * emulation/vip.el (vip-execute-com, ex-command):
7310 * emulation/viper-cmd.el (viper-exec-bang):
7311 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7312 the call of `shell-command-on-region'. (Bug#14637)
7313
7314 * simple.el (shell-command-on-region): Doc fix.
7315
8fbcca16
SM
73162013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7317
7318 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7319 (bug#14633).
7320
dd7426ea
GM
73212013-06-18 Glenn Morris <rgm@gnu.org>
7322
4ba54f7d
GM
7323 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7324
dd7426ea
GM
7325 * newcomment.el (comment-search-forward, comment-search-backward):
7326 Doc fix. (Bug#14376)
7327
58aa805b
JB
73282013-06-18 Juanma Barranquero <lekktu@gmail.com>
7329
7330 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7331 (buffer-face-mode-invoke): Doc fix.
7332
9a08a617
MM
73332013-06-18 Matthias Meulien <orontee@gmail.com>
7334
7335 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 7336 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 7337
f2f426ca
GM
73382013-06-18 Glenn Morris <rgm@gnu.org>
7339
9445f99b
GM
7340 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7341 Replace obsolete function generic-make-keywords with its expansion.
7342
e0df2d14
GM
7343 * progmodes/python.el (ffap-alist): Declare.
7344
f2f426ca
GM
7345 * textmodes/reftex.el (bibtex-mode-map): Declare.
7346
f7f9a720
SM
73472013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7348
7349 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7350 (package-unpack, package-unpack-single): Return the pkg-dir.
7351 (package-download-transaction): Use it to update package-alist.
7352
57ff04e0
LMI
73532013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7354
7355 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7356 possible choice.
7357
c048c022
JL
73582013-06-17 Juri Linkov <juri@jurta.org>
7359
7360 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7361
b5bcaee5
DG
73622013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7363
a020afb9
JB
7364 * emacs-lisp/package.el (package-load-descriptor):
7365 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
7366 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7367
551e07e5
JB
73682013-06-17 Juanma Barranquero <lekktu@gmail.com>
7369
7370 * startup.el (command-line): Expand package name returned by
7371 `package--description-file' (bug#14639).
7372
d363bffb
DG
73732013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7374
7375 * emacs-lisp/package.el (package-load-descriptor): Do not call
7376 `emacs-lisp-mode', just use its syntax table.
7377
f612933b
JB
73782013-06-17 Juanma Barranquero <lekktu@gmail.com>
7379
7380 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7381 `font-lock-extra-managed-props' if any prettifying keyword is added.
7382 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7383 (prog-mode): Use `setq-local'.
7384
db3b7db5
SM
73852013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7386
7387 * international/characters.el (standard-case-table): Set syntax of ?»
7388 and ?« to punctuation.
7389
f3d674df
JB
73902013-06-16 Juanma Barranquero <lekktu@gmail.com>
7391
7392 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7393 Save relevant match data before calling `syntax-ppss' (bug#14595).
7394
31489a32
JL
73952013-06-15 Juri Linkov <juri@jurta.org>
7396
7397 * files-x.el (modify-file-local-variable-prop-line): Add local
7398 variables to the end of the existing comment on the first line.
7399 Use `file-auto-mode-skip' to skip interpreter magic line,
7400 and also skip XML declaration.
7401
66bd25ab
SM
74022013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7403
7404 * startup.el (package--builtin-versions): New var.
7405 (package-subdirectory-regexp): Remove.
7406 (package--description-file): Hard code its value instead.
7407
7408 * emacs-lisp/package.el: Don't activate packages older than builtin.
7409 (package-obsolete-list): Rename from package-obsolete-alist, and make
7410 it into a simple list of package-desc.
7411 (package-strip-version): Remove.
7412 (package-built-in-p): Use package--builtin-versions.
7413 (package-mark-obsolete): Simplify.
7414 (package-process-define-package): Mark it obsolete if older than the
7415 builtin version.
7416 (package-handle-response): Use line-end-position.
7417 (package-read-archive-contents, package--download-one-archive):
7418 Simplify.
7419 (package--add-to-archive-contents): Skip if older than the builtin or
7420 installed version.
7421 (package-menu-describe-package): Fix last change.
7422 (package-list-unversioned): New var.
7423 (package-menu--generate): Use it.
7424
7425 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7426 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7427 (autoload-builtin-package-versions): New variable.
7428 (autoload-generate-file-autoloads): Use them.
7429 Remove the list of autoloaded functions/macros from the
7430 (autoload...) comments.
7431
7432 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7433
9583ec36
EZ
74342013-06-15 Eli Zaretskii <eliz@gnu.org>
7435
7436 * simple.el (line-move-partial): Don't jump to the next screen
7437 line as soon as it becomes visible. Instead, continue enlarging
7438 the vscroll until the portion of a tall screen line that's left on
7439 display is about the height of the frame's default font.
7440 (Bug#14567)
7441
f0100d8a
GM
74422013-06-15 Glenn Morris <rgm@gnu.org>
7443
b86a85ca
GM
7444 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7445 compilation-error-regexp-alist void, or local while let-bound.
7446
f0100d8a
GM
7447 * progmodes/make-mode.el (makefile-mode-syntax-table):
7448 Treat "=" as punctuation. (Bug#14614)
7449
05e7ce90
JB
74502013-06-15 Juanma Barranquero <lekktu@gmail.com>
7451
7452 * help-fns.el (describe-variable):
7453 Add extra line for permanent-local variables.
7454
12e5e86e
SH
74552013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7456
7457 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7458 Add export, import, library. (Bug#9164)
7459 (library): Set indent function.
7460
230dcbaf
GM
74612013-06-14 Glenn Morris <rgm@gnu.org>
7462
7463 * term/xterm.el (xterm--query):
7464 Stop after first matching handler. (Bug#14615)
7465
e36b2d20 74662013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
7467
7468 Add support for dired in saveplace.
7469 * dired.el (dired-initial-position-hook): New variable.
7470 (dired-initial-position): Call hook to place cursor position.
7471 * saveplace.el (save-place-to-alist): Add dired position.
7472 (save-place-dired-hook): New function.
7473
0b31660d
SM
74742013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7475
bf1e6ae8
SM
7476 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7477 through a symbol rather than letrec.
7478
1b8dff23
SM
7479 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7480 (package-desc): Add `dir' field.
7481 (package-desc-full-name): New function.
7482 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7483 (package-maybe-load-descriptor): Remove.
7484 (package-load-all-descriptors): Just call package-load-descriptor.
7485 (package--disabled-p): New function.
7486 (package-desc-vers, package-desc-doc): Remove aliases.
7487 (package--dir): Remove function.
7488 (package-activate): Check if a package is disabled.
7489 (package-process-define-package): New function, extracted from
7490 define-package.
7491 (define-package): Turn into a place holder.
7492 (package-unpack-single, package-tar-file-info):
7493 Use package--description-file.
7494 (package-compute-transaction): Use package--disabled-p.
7495 (package-download-transaction): Don't call
7496 package-maybe-load-descriptor since they're all loaded anyway.
7497 (package-install): Change argument to be a pkg-desc.
7498 (package-delete): Use a single pkg-desc argument.
7499 (describe-package-1): Use package-desc-dir instead of package--dir.
7500 Use package-desc property instead of package-symbol.
7501 (package-install-button-action): Adjust accordingly.
7502 (package--push): Rewrite.
7503 (package-menu--print-info): Adjust accordingly. Change the ID format
7504 to be a pkg-desc.
7505 (package-menu-describe-package, package-menu-get-status)
7506 (package-menu--find-upgrades, package-menu-mark-upgrades)
7507 (package-menu-execute, package-menu--name-predicate):
7508 Adjust accordingly.
7509 * startup.el (package--description-file): New function.
7510 (command-line): Use it.
7511 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7512 Use package-desc-version.
7513
0b31660d
SM
7514 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7515 (byte-compile-preprocess): Use it.
7516 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7517 can't quite recognize.
7518 (byte-compile-add-to-list): Remove.
7519 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7520 (cconv-closure-convert): Add assertion.
7521
7522 * emacs-lisp/map-ynp.el: Use lexical-binding.
7523 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7524 Factor out some repeated code.
7525
de0503df
SM
75262013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7527
7528 * subr.el (with-eval-after-load): New macro.
7529 (eval-after-load): Allow form to be a function.
7530 take advantage of lexical-binding.
7531 (do-after-load-evaluation): Use dolist and adjust to new format.
7532 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7533
bc5c8c5a
JL
75342013-06-13 Juri Linkov <juri@jurta.org>
7535
7536 * replace.el (perform-replace): Display "symbol " and other search
7537 modes from `isearch-message-prefix' in the *Help* buffer.
7538
7539 * isearch.el (isearch-query-replace): Add " symbol" and other
7540 possible search modes from `isearch-message-prefix' to the prompt.
7541 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7542 when reading a regexp to collect.
7543
a22289f7
JL
75442013-06-13 Juri Linkov <juri@jurta.org>
7545
7546 * isearch.el (word-search-regexp): Match whitespace if the search
7547 string begins or ends in whitespace. The LAX arg is applied to
7548 both ends of the search string. Use `regexp-quote' and explicit
7549 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7550 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7551 boundaries are replaced with symbol boundaries, and characters
7552 between symbols match non-word non-symbol syntax. (Bug#14602)
7553
cb89acab
JL
75542013-06-13 Juri Linkov <juri@jurta.org>
7555
7556 * isearch.el (isearch-del-char): Don't exceed the length of
7557 `isearch-string' by the prefix arg. (Bug#14563)
7558
6e8cfc81
JL
75592013-06-13 Juri Linkov <juri@jurta.org>
7560
7561 * isearch.el (isearch-yank-word, isearch-yank-line)
7562 (isearch-char-by-name, isearch-quote-char)
7563 (isearch-printing-char, isearch-process-search-char):
7564 Add optional count prefix arg. (Bug#14563)
7565
7566 * international/isearch-x.el
7567 (isearch-process-search-multibyte-characters):
7568 Add optional count prefix arg.
7569
c23d55f4
VS
75702013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7571
7572 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7573 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7574 lexical-binding.
7575
75762013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7577
7578 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7579
ba947bc4
GM
75802013-06-13 Glenn Morris <rgm@gnu.org>
7581
8baeb37a
GM
7582 * startup.el (tty-handle-args):
7583 Don't just discard "--" and anything after. (Bug#14608)
7584
ba947bc4
GM
7585 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7586
9abefce4
MA
75872013-06-13 Michael Albinus <michael.albinus@gmx.de>
7588
7589 Implement changes in Secret Service API. Make it backward compatible.
7590 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7591 (secrets-create-item): Use it. Prefix properties with interface.
7592
5755011f
MH
75932013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7594
7595 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7596 (term-emulate-terminal): Respect term-suppress-hard-newline.
7597
1261d2da
S
75982013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7599
7600 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7601 Only remove a `thumb-file' overlay. (Bug#14548)
7602
868490bb
GJ
76032013-06-12 Grégoire Jadi <daimrod@gmail.com>
7604
7605 * mail/reporter.el (reporter-submit-bug-report):
7606 Handle missing package-name. (Bug#14600)
7607
79d7167f
TH
76082013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7609
7610 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7611 (reftex-citation-prompt, reftex-default-bibliography)
7612 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7613 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7614 (reftex-bib-sort-author, reftex-bib-sort-year)
7615 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7616 (reftex-extract-bib-entries-from-thebibliography)
7617 (reftex-get-bibkey-default, reftex-get-bib-names)
7618 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7619 (reftex-format-bib-entry, reftex-parse-bibitem)
7620 (reftex-format-bibitem, reftex-do-citation)
7621 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7622 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7623 (reftex-insert-bib-matches, reftex-format-citation)
7624 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7625 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7626 existing comments into docstrings.
7627
5f9dbd7a
XF
76282013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7629
7630 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7631
94df41ab
AS
76322013-06-12 Andreas Schwab <schwab@suse.de>
7633
7634 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7635 for auto-save files.
7636
a7f3fecc
GM
76372013-06-12 Glenn Morris <rgm@gnu.org>
7638
001809f6
GM
7639 * ido.el (ido-delete-ignored-files): Remove.
7640 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7641 Go back to calling ido-ignore-item-p directly.
a7f3fecc 7642
834b5ded
EL
76432013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7644
08c73ed2
EL
7645 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7646
834b5ded
EL
7647 * ido.el (ido-delete-ignored-files): New function,
7648 split from ido-make-file-list-1.
7649 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7650 (ido-make-file-list-1): Use ido-delete-ignored-files.
7651
daabf15a
LL
76522013-06-12 Leo Liu <sdl.web@gmail.com>
7653
7654 * progmodes/octave.el (inferior-octave-startup)
7655 (inferior-octave-completion-table)
7656 (inferior-octave-track-window-width-change)
7657 (octave-eldoc-function-signatures, octave-help)
7658 (octave-find-definition): Use single quoted strings.
7659 (inferior-octave-startup-args): Change default value.
7660 (inferior-octave-startup): Do not hard code "-i" and
7661 "--no-line-editing".
7662 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7663 (inferior-octave-directory-tracker): Use it.
7664 (octave-goto-function-definition): Robustify.
7665 (octave-help): Support highlighting operators in 'See also'.
7666 (octave-find-definition): Find subfunctions only in Octave mode.
7667
cf4e5178
SM
76682013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7669
7670 * help-fns.el (help-fns--compiler-macro): If the handler function is
7671 named, then put a link to it.
7672 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7673 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7674 (cl-typep): Use it.
7675 (cl-eval-when): Simplify debug spec.
7676 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7677 compiler-macro function instead of setting `compiler-macro-file'.
7678
99c81280 76792013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
7680
7681 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7682 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7683
f56be016
SM
76842013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7685 Daniel Hackney <dan@haxney.org>
7686
7687 First part of Daniel Hackney's patch to package.el.
7688 * emacs-lisp/package.el: Use defstruct.
7689 (package-desc): New, main struct.
7690 (package--bi-desc, package--ac-desc): New structs, used to describe the
7691 format in external files.
7692 (package-desc-vers): Replace with package-desc-version accessor.
7693 (package-desc-doc): Replace with package-desc-summary accessor.
7694 (package-activate-1): Remove `package' arg since the pkg-vec now
7695 includes the name.
7696 (define-package): Use package-desc-from-define.
7697 (package-unpack-single): Change file-name arg to be a symbol.
7698 (package--add-to-archive-contents): Use package-desc-create and new
7699 accessor functions to package--ac-desc.
7700 (package-buffer-info, package-tar-file-info): Return a package-desc.
7701 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7702 arg to be a package-desc.
7703 (package-install-file): Adjust accordingly. Use \' to match EOS.
7704 (package--from-builtin): New function.
7705 (describe-package-1, package-menu--generate): Use it.
7706 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7707 (package-generate-autoloads): Idem and return the name of the file.
7708 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7709 Change pkg-info arg to be a package-desc.
7710 Use package-make-ac-desc.
7711 (package-upload-file): Use \' to match EOS.
7712 * finder.el (finder-compile-keywords): Use package-make-builtin.
7713
31119d63
SM
77142013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7715
931a2762
SM
7716 * vc/vc.el (vc-deduce-fileset): Change error message.
7717 (vc-read-backend): New function.
7718 (vc-next-action): Use it.
7719
5a3eb0c6
SM
7720 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7721
e3eb1bb7
SM
7722 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7723 (prolog-font-lock-keywords): Use regexp-opt instead.
7724 Don't manually highlight strings.
7725 (prolog-mode-variables): Simplify comment-start-skip.
7726 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7727
31119d63
SM
7728 * emacs-lisp/generic.el (generic--normalise-comments)
7729 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7730 (generic-mode-set-comments): Use them.
7731 (generic-bracket-support): Use setq-local.
7732 (generic-make-keywords-list): Declare obsolete.
7733
7de135d0
GM
77342013-06-11 Glenn Morris <rgm@gnu.org>
7735
7736 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7737 Prettify after setting font-lock-defaults. (Bug#14574)
7738
fa6bc6fd
JB
77392013-06-11 Juanma Barranquero <lekktu@gmail.com>
7740
7741 * replace.el (query-replace, occur-read-regexp-defaults-function)
7742 (replace-search):
7743 * subr.el (declare-function, number-sequence, local-set-key)
7744 (substitute-key-definition, locate-user-emacs-file)
7745 (with-silent-modifications, split-string, eval-after-load):
7746 Fix typos, remove unneeded backslashes and reflow some docstrings.
7747
cf1f9b9a
SM
77482013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7749
7750 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7751 default for Elisp files.
7752
56602a4b
GM
77532013-06-11 Glenn Morris <rgm@gnu.org>
7754
7755 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7756 although define-derived-mode was doing this anyway. (Bug#14583)
7757
30ae0b2c
JB
77582013-06-10 Juanma Barranquero <lekktu@gmail.com>
7759
7760 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7761 Fix make-variable-buffer-local call to refer to the correct variable.
7762
fa472906
AG
77632013-06-10 Aidan Gauland <aidalgol@amuri.net>
7764
7765 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
7766 (eshell-visual-subcommands, eshell-visual-options):
7767 Add summary line to docstrings. Add cross-references.
fa472906 7768
ff4871b9
GM
77692013-06-10 Glenn Morris <rgm@gnu.org>
7770
7771 * epa.el (epa-read-file-name): New function. (Bug#14510)
7772 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7773
04fcf1b0
AG
77742013-06-09 Aidan Gauland <aidalgol@amuri.net>
7775
7776 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7777 output redirection to be ignored with visual commands.
7778
88b00caa
AG
77792013-06-09 Aidan Gauland <aidalgol@amuri.net>
7780
7781 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
7782 (eshell-term-initialize): Move long lambda to separate function
7783 eshell-visual-command-p.
e7b41c4c
JB
7784 * eshell/em-dirs.el (eshell-dirs-initialise):
7785 * eshell/em-script.el (eshell-script-initialize):
7786 Add missing #' to lambda.
88b00caa 7787
fda74125
LL
77882013-06-08 Leo Liu <sdl.web@gmail.com>
7789
7790 * progmodes/octave.el (octave-add-log-current-defun): New function.
7791 (octave-mode): Set add-log-current-defun-function.
7792 (octave-goto-function-definition): Do not move point if not found.
7793 (octave-find-definition): Enhance to try subfunctions first.
7794
467f3b33
GM
77952013-06-08 Glenn Morris <rgm@gnu.org>
7796
7797 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7798 (byte-compile-backward-char, byte-compile-backward-word):
7799 Improve previous change, to handle non-explicit nil.
7800
544badc3
SM
78012013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7802
7803 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7804 (smie--opener/closer-at-point): New function.
7805 (smie--matching-block-data): Use it. Don't match from right after an
7806 opener or right before a closer. Obey smie-blink-matching-inners.
7807 Don't signal a mismatch for repeated inners like "switch..case..case".
7808
a175bf33
LL
78092013-06-07 Leo Liu <sdl.web@gmail.com>
7810
7811 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7812 to t. (Bug#14303)
ce8209d4
LL
7813 (octave-function-header-regexp): Fix. (Bug#14570)
7814 (octave-help-mode-finish-hook, octave-help-mode-finish):
7815 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
7816
7817 * newcomment.el (comment-search-backward): Revert last change.
7818 (Bug#14434)
7819
7820 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7821
a822acff
EZ
78222013-06-07 Eli Zaretskii <eliz@gnu.org>
7823
7824 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7825 through xargs, to avoid failure due to MS-Windows limitations on
7826 command-line length.
7827
961166f5
GM
78282013-06-06 Glenn Morris <rgm@gnu.org>
7829
d0341459
GM
7830 * font-lock.el (lisp-font-lock-keywords-2):
7831 Treat user-error like error.
7832
961166f5
GM
7833 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7834 (byte-compile-backward-char, byte-compile-backward-word):
7835 Handle explicit nil arguments. (Bug#14565)
7836
80fa505f
AM
78372013-06-05 Alan Mackenzie <acm@muc.de>
7838
7839 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 7840 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 7841 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 7842 (Bug#9706)
80fa505f 7843
fccdc796
SM
78442013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7845
7846 * autorevert.el (auto-revert-notify-handler): Use memq.
7847 Hide assertion failure.
7848
7849 * skeleton.el: Use cl-lib.
7850 (skeleton-further-elements): Use defvar-local.
7851 (skeleton-insert): Use cl-progv.
7852
9bfff84b
TZ
78532013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7854
7855 * progmodes/prog-mode.el (prog-prettify-symbols)
7856 (prog-prettify-install): Update docstrings.
7857
55577e7c
SM
78582013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7859
7860 * simple.el: Move all the prog-mode code to prog-mode.el.
7861 * progmodes/prog-mode.el: New file.
7862 * loadup.el: Add prog-mode.el.
7863
8fc57765
TZ
78642013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7865
7866 * simple.el (prog-prettify-symbols): Add version.
7867 (prog-prettify-install): Add convenience function to prettify symbols.
7868
7869 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7870 (perl--augmented-font-lock-keywords-1)
7871 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7872 variables and use it.
7873
7874 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7875 (cfengine3-mode): Remove unneeded variable and use it.
7876
7877 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7878 (lisp--augmented-font-lock-keywords-1)
7879 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7880 Remove unneeded variables and use it.
7881
650645d5 78822013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
7883
7884 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 7885 to point when opening the connection. (Bug#14380)
28f5da6d 7886
781b4af6
SM
78872013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7888
7889 * subr.el (load-history-regexp, load-history-filename-element)
7890 (eval-after-load, after-load-functions, do-after-load-evaluation)
7891 (eval-next-after-load, display-delayed-warnings)
7892 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7893 definition of save-match-data.
7894 (overriding-local-map): Remove accidental obsolescence declaration.
7895
7896 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7897
3ca0d0b4
TZ
78982013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7899
7900 Generalize symbol prettify support to prog-mode and implement it
7901 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7902 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7903 (prog--prettify-font-lock-compose-symbol)
7904 (prog-prettify-font-lock-symbols-keywords): New variables and
7905 functions to support symbol prettification.
7906 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7907 (lisp--augmented-font-lock-keywords-1)
7908 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7909 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7910 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
7911 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7912 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
7913 * progmodes/perl-mode.el (perl-prettify-symbols)
7914 (perl--font-lock-compose-symbol)
7915 (perl--font-lock-symbols-keywords): Move to prog-mode.
7916 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7917 (perl-font-lock-keywords-1)
7918 (perl-font-lock-keywords-2): Remove explicit prettify support.
7919 (perl--augmented-font-lock-keywords)
7920 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
7921 (perl--augmented-font-lock-keywords-2, perl-mode):
7922 Implement prettify support.
3ca0d0b4 7923
976cb066
LL
79242013-06-05 Leo Liu <sdl.web@gmail.com>
7925
7926 Re-implement smie matching block highlight using
7927 show-paren-data-function. (Bug#14395)
7928 * emacs-lisp/smie.el (smie-matching-block-highlight)
7929 (smie--highlight-matching-block-overlay)
7930 (smie--highlight-matching-block-lastpos)
7931 (smie-highlight-matching-block)
7932 (smie-highlight-matching-block-mode): Remove.
7933 (smie--matching-block-data-cache): New variable.
7934 (smie--matching-block-data): New function.
7935 (smie-setup): Use smie--matching-block-data for
7936 show-paren-data-function.
7937
7938 * progmodes/octave.el (octave-mode-menu): Fix.
7939 (octave-find-definition): Skip garbage lines.
7940
208d0342
SM
79412013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7942
7943 Fix compilation error with simultaneous dynamic+lexical scoping.
7944 Add warning when a defvar appears after the first let-binding.
7945 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7946 (byte-compile-close-variables): Initialize it.
7947 (byte-compile--declare-var): New function.
7948 (byte-compile-file-form-defvar)
7949 (byte-compile-file-form-define-abbrev-table)
7950 (byte-compile-file-form-custom-declare-variable): Use it.
7951 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7952 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7953 (byte-compile-bind): Handle dynamic bindings that shadow
7954 lexical bindings.
7955 (byte-compile-unbind): Make arg non-optional.
7956 (byte-compile-let): Simplify.
7957 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7958 (cconv--analyse-function, cconv-analyse-form): Populate it.
7959 Protect byte-compile-bound-variables to limit the scope of defvars.
7960 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7961 Remove unneeded rule for `declare'.
7962
7963 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7964 so as to avoid depending on cl-adjoin at run-time.
7965 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7966
7967 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7968 (macroexp--warn-and-return): Use it.
7969
1ac2891e
GM
79702013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7971
7972 * lisp/subr.el: Convert to lexical binding.
7973 (overriding-local-map): Make obsolete.
7974 (add-to-list): Doc fix. Add compiler macro.
7975 (read-key): Swap values of local maps.
7976
2587b005
LL
79772013-06-05 Leo Liu <sdl.web@gmail.com>
7978
7979 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7980
f1da3c88
LL
79812013-06-04 Leo Liu <sdl.web@gmail.com>
7982
7983 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7984 (compilation-auto-jump): Suppress the "Mark set" message to give
7985 way to exit message.
7986
3caa391f
AM
79872013-06-04 Alan Mackenzie <acm@muc.de>
7988
7989 Remove faulty optimisation from indentation calculation.
7990 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7991 search limit based on 2000 characters back from indent-point.
7992
068922a2
TH
79932013-06-03 Tassilo Horn <tsdh@gnu.org>
7994
7995 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7996
1f8fdd53
SM
79972013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7998
bbcc4d97
SM
7999 * emacs-lisp/lisp.el: Use lexical-binding.
8000 (lisp--local-variables-1, lisp--local-variables): New functions.
8001 (lisp--local-variables-completion-table): New var.
208d0342 8002 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8003
1f8fdd53
SM
8004 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8005 eagerly (bug#14422).
8006
c9628c79
MA
80072013-06-03 Michael Albinus <michael.albinus@gmx.de>
8008
8009 * autorevert.el (auto-revert-notify-enabled)
8010 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8011 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8012 (auto-revert-notify-handler): Handle also gfilenotify.
8013
e7b41c4c 8014 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 8015 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 8016 Remove.
c9628c79 8017
e5e4a942
JL
80182013-06-03 Juri Linkov <juri@jurta.org>
8019
8020 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8021 `M-s h .'. (Bug#14427)
8022
8023 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8024 command `hi-lock-face-symbol-at-point'.
8025 (hi-lock-face-symbol-at-point): New command.
8026 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8027 (hi-lock-menu): Add `highlight-symbol-at-point'.
8028 (hi-lock-mode): Doc fix.
8029
8030 * isearch.el (isearch-forward-symbol-at-point): New command.
8031 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8032 (isearch-highlight-regexp): Add a regexp which matches
8033 words/symbols for word/symbol mode.
8034
8035 * subr.el (find-tag-default-bounds): New function with the body
8036 mostly moved from `find-tag-default'.
8037 (find-tag-default): Move most code to `find-tag-default-bounds',
8038 call it and apply `buffer-substring-no-properties' afterwards.
8039
26b3353a
TH
80402013-06-03 Tassilo Horn <tsdh@gnu.org>
8041
781b4af6
SM
8042 * eshell/em-term.el (eshell-term-initialize):
8043 Use `cl-intersection' rather than `intersection'.
26b3353a 8044
51b60f53
XF
80452013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8046
fe054b63 8047 * vc/log-view.el: Doc fix.
d3ffe17c 8048 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 8049
a0eb10b3 80502013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
8051
8052 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8053 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8054 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8055 (eieio-unbound, eieio-default-superclass)
8056 (eieio--define-field-accessors, method-static, method-before)
8057 (method-primary, method-after, method-num-lists)
8058 (method-generic-before, method-generic-primary)
8059 (method-generic-after, method-num-slots)
8060 (eieio-specialized-key-to-generic-key)
8061 (eieio--check-type, class-v, class-p)
8062 (eieio-class-name, define-obsolete-function-alias)
8063 (eieio-class-parents-fast, eieio-class-children-fast)
8064 (same-class-fast-p, class-constructor, generic-p)
8065 (generic-primary-only-p, generic-primary-only-one-p)
8066 (class-option-assoc, class-option, eieio-object-p)
8067 (class-abstract-p, class-method-invocation-order)
8068 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8069 (eieio-class-un-autoload, eieio-defclass)
8070 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8071 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8072 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8073 (eieio-defgeneric-reset-generic-form)
8074 (eieio-defgeneric-form-primary-only)
8075 (eieio-defgeneric-reset-generic-form-primary-only)
8076 (eieio-defgeneric-form-primary-only-one)
8077 (eieio-defgeneric-reset-generic-form-primary-only-one)
8078 (eieio-unbind-method-implementations)
8079 (eieio--defmethod, eieio--typep)
8080 (eieio-perform-slot-validation, eieio-validate-slot-value)
8081 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8082 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8083 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8084 (eieio-slot-name-index, eieio-class-slot-name-index)
8085 (eieio-set-defaults, eieio-initarg-to-attribute)
8086 (eieio-attribute-to-initarg, eieio-c3-candidate)
8087 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8088 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8089 (eieio-class-precedence-list, eieio-generic-call-methodname)
8090 (eieio-generic-call-arglst, eieio-generic-call-key)
8091 (eieio-generic-call-next-method-list)
8092 (eieio-pre-method-execution-functions, eieio-generic-call)
8093 (eieio-generic-call-primary-only, eieiomt-method-list)
8094 (eieiomt-optimizing-obarray, eieiomt-install)
8095 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8096 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 8097 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
8098 (defclass): Remove `eval-and-compile' from macro.
8099 (call-next-method, shared-initialize): Instead of using
8100 `scoped-class' variable, use new eieio--scoped-class, and
8101 eieio--with-scoped-class.
8102 (initialize-instance): Rename local variable 'scoped-class' to
8103 'this-class' to remove ambiguitity from old global.
8104
8105 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8106 eieio.el.
4f405069
JB
8107 (eieio--scoped-class-stack): New variable.
8108 (eieio--scoped-class): New fcn.
890f7890
DE
8109 (eieio--with-scoped-class): New scoping macro.
8110 (eieio-defclass): Use pushnew instead of add-to-list.
8111 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8112 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8113 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8114 `scoped-class' variable, use new eieio--scoped-class, and
8115 eieio--with-scoped-class.
8116
8117 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8118
d105b0e2
TH
81192013-06-02 Tassilo Horn <tsdh@gnu.org>
8120
8121 * eshell/esh-ext.el (eshell-external-command): Pass args to
8122 `eshell-find-interpreter'.
8123 (eshell-find-interpreter): Add new second parameter ARGS.
8124
8125 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 8126 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8127
8128 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 8129 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8130
8131 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8132 (eshell-visual-options): New defcustom.
8133 (eshell-escape-control-x): Adapt docstring.
8134 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8135 `eshell-visual-options' in addition to `eshell-visual-commands'.
8136 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8137
f46305c8 81382013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
8139
8140 * progmodes/python.el (python-indent-block-enders): Add break,
8141 continue and raise keywords.
8142
d870df21
GM
81432013-06-01 Glenn Morris <rgm@gnu.org>
8144
9133b82e
GM
8145 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8146
02c992ec 8147 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
8148 * progmodes/cc-cmds.el (delete-forward-p):
8149 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8150 * progmodes/cc-engine.el (buffer-syntactic-context):
8151 * progmodes/cc-fonts.el (face-property-instance):
8152 * progmodes/cc-mode.el (set-keymap-parents):
8153 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8154 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8155 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
8156 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8157 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 8158
31e7b090
GM
8159 * progmodes/cc-vars.el (other): Emacs has this widget since
8160 at least 21.1, so don't (re)define it.
8161
d870df21
GM
8162 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8163 Replace the obsolete alias pcomplete-arg-quote-list.
8164
c75c93c7
LL
81652013-06-01 Leo Liu <sdl.web@gmail.com>
8166
8167 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8168 punctuation syntax.
8169 (inferior-octave-minimal-columns)
8170 (inferior-octave-last-column-width): New variables.
8171 (inferior-octave-track-window-width-change): New function.
8172 (inferior-octave-mode): Adjust column width so that Octave output,
8173 for example from 'ls', can fit into the window nicely.
8174
973d1e12
DG
81752013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8176
8177 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8178 Highlight expansions inside regexp literals.
8179
0888c286
GM
81802013-05-31 Glenn Morris <rgm@gnu.org>
8181
e26aac1f
GM
8182 * obsolete/sym-comp.el (symbol-complete):
8183 Replace obsolete completion-annotate-function.
8184
0888c286
GM
8185 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8186
19bb8e62
DG
81872013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8188
781b4af6
SM
8189 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8190 New function, checks if point is inside a literal that allows
19bb8e62
DG
8191 expression expansion.
8192 (ruby-syntax-propertize-expansion): Use it.
8193 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8194 around the body.
8195
01dea85f
JL
81962013-05-30 Juri Linkov <juri@jurta.org>
8197
8198 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8199 to "\M-si".
8200 (isearch-invisible): New variable.
8201 (isearch-forward): Doc fix.
8202 (isearch-mode): Set `isearch-invisible'
8203 to the value of `search-invisible'.
8204 (isearch-toggle-case-fold): Doc fix.
8205 (isearch-toggle-invisible): New command.
8206 (isearch-query-replace): Let-bind `search-invisible'
8207 to the value of `isearch-invisible'.
8208 (isearch-search): Use `isearch-invisible' instead of
8209 `search-invisible'. Let-bind `search-invisible'
8210 to the value of `isearch-invisible'. (Bug#11378)
8211
ab1bdce5
JL
82122013-05-30 Juri Linkov <juri@jurta.org>
8213
8214 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8215 call when `query-flag' is nil and `search-invisible' is non-nil.
8216 (Bug#11746)
8217
d6d236e2
GM
82182013-05-30 Glenn Morris <rgm@gnu.org>
8219
8accd027
GM
8220 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8221
2a8bed1c
GM
8222 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8223 (cc-require): Suppress spurious "noruntime" warnings.
8224 (cc-require-when-compile): Use fboundp, for sake of compiler.
8225
d6d236e2
GM
8226 * progmodes/cc-mode.el: Move load of cc-vars before that of
8227 cc-langs (which in turn loads cc-vars), to quieten compiler.
8228
9190b35b
SM
82292013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8230
8231 * paren.el: Simplify the code.
8232 (show-paren-mode): Always start the timer.
8233 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8234 (show-paren--overlay, show-paren--overlay-1): Rename from
8235 show-paren-overlay and show-paren-overlay-1, and initialize to an
8236 overlay rather than to nil.
8237 (show-paren-function): Misc cleanup and simplifications.
8238
4f8d1cf6
SM
82392013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8240
8241 * paren.el (show-paren-data-function): New hook.
8242 (show-paren--default): New function, extracted from show-paren-function.
8243 (show-paren-function): Use show-paren-data-function.
8244
02d844b5
GM
82452013-05-30 Glenn Morris <rgm@gnu.org>
8246
d209d4a9
GM
8247 * ielm.el (ielm-map, ielm-complete-symbol):
8248 Use completion-at-point rather than obsolete functions.
8249 (inferior-emacs-lisp-mode): Doc fix.
8250 Set completion-at-point-functions, rather than
8251 comint-dynamic-complete-functions.
8252
2082faa6
GM
8253 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8254 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8255 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8256
dd8620de
GM
8257 * image.el (image-animated-p): Tweak definition.
8258
ceca95b1
GM
8259 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8260 (rlogin-process-connection-type): Tweak default. Add set-after.
8261 (rlogin-host): Doc fix.
8262 (rlogin): Tweak prompt.
8263 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8264
ee9f1acc
GM
8265 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8266 * progmodes/tcl.el (inferior-tcl-mode-map):
8267 Use completion-at-point rather than obsolete alias.
8268
45ce222e
GM
8269 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8270
02d844b5
GM
8271 * minibuffer.el (read-file-name-completion-ignore-case):
8272 Move before completion--in-region, for eager macro expansion.
8273
ac44d6c1
JL
82742013-05-29 Juri Linkov <juri@jurta.org>
8275
8276 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8277 for total count of matching lines. Add `global-matches' for total
8278 count of matches. Rename `matches' to `lines' for count of
8279 matching lines. Add `matches' for count of matches.
8280 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8281 to `prev-line' for line number of prev match endpt.
8282 Increment `matches' for every match. Print the number of
8283 matching lines in the header.
8284 (occur-context-lines): Rename `lines' to `curr-line'.
8285 Rename `prev-lines' to `prev-line'. (Bug#14017)
8286
3c9c9d38
JL
82872013-05-29 Juri Linkov <juri@jurta.org>
8288
8289 * replace.el (perform-replace): Add `skip-read-only-count',
8290 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8291 Increment them for corresponding conditions and report the number
8292 of skipped occurrences in the final message. (Bug#11746)
8293 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8294 (replace-string, replace-regexp): Doc fix.
8295
33e249a2
SM
82962013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8297
8e399682
SM
8298 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8299
33e249a2 8300 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 8301 prog-mode-map (bug#14504).
33e249a2 8302
f236dd84
LL
83032013-05-29 Leo Liu <sdl.web@gmail.com>
8304
8305 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8306 (octave-help): Small simplification.
8307
8308 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8309 off the highlight first.
8310
3694d13f
GM
83112013-05-29 Glenn Morris <rgm@gnu.org>
8312
03983bdc
GM
8313 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8314 Handle idlwave-last-system-routine-info-cons-cell being nil.
8315
bc74a74a
GM
8316 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8317 (idlwave-write-paths): Simplify via with-temp-buffer.
8318
8b394200
GM
8319 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8320 * emulation/cua-rect.el: Also load cua-base at run time.
8321
3694d13f
GM
8322 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8323 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8324 (cperl-imenu-on-info): Require imenu.
8325
336d7284
AM
83262013-05-28 Alan Mackenzie <acm@muc.de>
8327
8328 Handle "capitalised keywords" correctly.
33e249a2 8329 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 8330
cb29c582
AG
83312013-05-28 Aidan Gauland <aidalgol@amuri.net>
8332
781b4af6 8333 * eshell/em-unix.el: Add -r option to cp.
cb29c582 8334
690e44b2
GM
83352013-05-28 Glenn Morris <rgm@gnu.org>
8336
e658d75c
GM
8337 * vc/vc-arch.el (vc-exec-after): Declare.
8338 (vc-switches): Autoload.
8339 * vc/vc-bzr.el: No need to require vc when compiling.
8340 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8341 (vc-resynch-buffer, vc-dir-refresh): Declare.
8342 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
8343 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8344 (vc-resynch-buffer): Declare.
8345 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 8346 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
8347 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8348 (grep-read-regexp, grep-read-files, grep-expand-template)
8349 (vc-dir-refresh): Declare.
8350 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8351 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8352 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
8353 * vc/vc-mtn.el (vc-exec-after): Declare.
8354 (vc-switches): Autoload.
8355 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8356 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8357 (vc-file-tree-walk): Declare.
712b9732
GM
8358 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8359 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8360 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
8361 * vc/vc-svn.el (vc-exec-after): Declare.
8362 (vc-switches, vc-setup-buffer): Autoload.
8363 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8364 Autoload.
8365 (vc-resynch-buffer): Declare.
8366
98e87fb3
GM
8367 * obsolete/fast-lock.el (byte-compile-warnings):
8368 Don't warn about obsolete features in this obsolete file.
8369
f5379553
GM
8370 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8371 Move definition before use.
8372
7a20ef83
GM
8373 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8374 (dun-unix-verbs): Remove dun-zippy.
8375 (dun-zippy): Remove function.
8376
690e44b2
GM
8377 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8378
3a52ccf7
JL
83792013-05-27 Juri Linkov <juri@jurta.org>
8380
8381 * replace.el (replace-search): New function with code moved out
8382 from `perform-replace'.
8383 (replace-highlight, replace-dehighlight): Move function definitions
8384 up closer to `replace-search'. (Bug#11746)
8385
d289938a
JL
83862013-05-27 Juri Linkov <juri@jurta.org>
8387
8388 * replace.el (perform-replace): Ignore invisible matches.
8389 In addition to checking `query-replace-skip-read-only', also
8390 filter out matches by calling `run-hook-with-args-until-failure'
8391 on `isearch-filter-predicates', and also check `search-invisible'
8392 for t or call `isearch-range-invisible'.
8393 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8394
66fc57e3
JL
83952013-05-27 Juri Linkov <juri@jurta.org>
8396
8397 * isearch.el (isearch-filter-predicates): Rename from
8398 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8399 (isearch-message-prefix): Display text from the property
8400 `isearch-message-prefix' of the currently active filters.
8401 (isearch-search): Don't compare `isearch-filter-predicate' with
8402 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8403 on `isearch-filter-predicates'. Also check `search-invisible' for t
8404 or call `isearch-range-invisible'.
8405 (isearch-filter-visible): Make obsolete.
8406 (isearch-lazy-highlight-search):
8407 Call `run-hook-with-args-until-failure' on
8408 `isearch-filter-predicates' and use `isearch-range-invisible'.
8409
8410 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8411 `isearch-filter-predicates' instead of `funcall'ing
8412 `isearch-filter-predicate'.
8413 (Info-mode): Set `Info-isearch-filter' to
8414 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8415
8416 * dired-aux.el (dired-isearch-filter-predicate-orig):
8417 Remove variable.
8418 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8419 (dired-isearch-filenames-end): Add and remove
8420 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8421 instead of changing the value of `isearch-filter-predicate'.
8422 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8423 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8424 Put property `isearch-message-prefix' to "filename " on
8425 `dired-isearch-filter-filenames'.
8426
8427 * wdired.el (wdired-change-to-wdired-mode):
8428 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8429 locally instead of changing `isearch-filter-predicate'.
8430 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8431
f1a60a0f
DG
84322013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8433
8434 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8435 return the commit hash (Bug#14459). Also set the
8436 `vc-git-detached' property.
8437 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8438 (vc-git-mode-line-string): Use the same help-echo format whether
8439 in detached mode or not, because we know the actual revision now.
8440 When in detached mode, shorten the revision to 7 chars.
8441
7f17cc40
SM
84422013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8443
8444 * emacs-lisp/easy-mmode.el (define-minor-mode):
8445 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8446 mode hook and provide a docstring.
8447
25c8401c
AM
84482013-05-27 Alan Mackenzie <acm@muc.de>
8449
8450 Remove spurious syntax-table text properties inserted by C-y.
8451 * progmodes/cc-mode.el (c-after-change): Also clear hard
8452 syntax-table property with value nil.
8453
dde84790
MA
84542013-05-27 Michael Albinus <michael.albinus@gmx.de>
8455
8456 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8457 when reading the events; the buffer layout shall not be changed.
8458
837fd9af
LL
84592013-05-27 Leo Liu <sdl.web@gmail.com>
8460
8461 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8462 New variable.
8463 (inferior-octave-directory-tracker): Automatically re-sync
8464 default-directory.
8465 (octave-help): Improve handling of 'See also'.
8466
4fd996b3
SM
84672013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8468
416f1802
SM
8469 * doc-view.el: Minor naming convention tweaks.
8470 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8471
4fd996b3
SM
8472 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8473 even if there's no `display' property yet (bug#14435).
8474
a052ef3b
EZ
84752013-05-25 Eli Zaretskii <eliz@gnu.org>
8476
4fd996b3 8477 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
8478
8479 * Makefile.in (custom-deps, finder-data, autoloads)
8480 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8481 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8482 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8483
c9023370
SM
84842013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8485
8486 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8487 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 8488 Don't burp at EOB.
c9023370 8489
24d699fa
LL
84902013-05-25 Leo Liu <sdl.web@gmail.com>
8491
8492 * comint.el (comint-previous-matching-input): Do not flood the
8493 *Messages* buffer with trivial messages.
8494
17e5c0cc
SM
84952013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8496
8497 * progmodes/flymake.el (flymake-nop): Don't return a string.
8498 (flymake-set-at): Fix typo.
8499
8500 * simple.el (read--expression): New function, extracted from
8501 eval-expression. Set completion-at-point-functions (bug#14465).
8502 (eval-expression, eval-minibuffer): Use it.
8503
5d028165
XF
85042013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8505
8506 * progmodes/flymake.el (flymake-save-buffer-in-file)
8507 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8508 (flymake-selected-frame, flymake-log, flymake-ins-after)
8509 (flymake-set-at, flymake-get-buildfile-from-cache)
8510 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8511 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8512 Refine the doc string.
8513 (flymake-get-file-name-mode-and-masks): Reformat.
8514 (flymake-get-real-file-name-function): Fix a minor bug.
8515
7a1d7ba7
JL
85162013-05-24 Juri Linkov <juri@jurta.org>
8517
8518 * progmodes/grep.el (grep-mode-font-lock-keywords):
8519 Support =linenumber= format used by git-grep for lines with
8520 function names. (Bug#13549)
8521
650cff3d
SM
85222013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8523
8524 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8525 0 after a semi-colon; it works better for smie-auto-fill.
8526 (octave--indent-new-comment-line): New function.
8527 (octave-indent-new-comment-line): Use it (indirectly).
8528 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8529 modify comment-line-break-function.
8530
8531 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8532 (smie-setup): Use add-function to set it.
8533
9631677d
SS
85342013-05-24 Sam Steingold <sds@gnu.org>
8535
8536 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8537 argument (before the `interactive' argument).
8538
50105835
SM
85392013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8540
8541 * image-mode.el (image-mode-winprops): Add winprops to
8542 image-mode-winprops-alist before running
8543 image-mode-new-window-functions.
8544 * doc-view.el (doc-view-new-window-function): Don't delay
8545 doc-view-goto-page via timers (bug#14435).
8546
57b9823e
TH
85472013-05-24 Tassilo Horn <tsdh@gnu.org>
8548
8549 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8550 (doc-view-desktop-save-buffer): New function.
8551 (doc-view-restore-desktop-buffer): New function.
50105835
SM
8552 (desktop-buffer-mode-handlers):
8553 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
8554 handler.
8555 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8556 `desktop-save-buffer' function.
8557
91aafa16
MA
85582013-05-24 Michael Albinus <michael.albinus@gmx.de>
8559
8560 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8561 (tramp-gvfs-file-name-handler): Raise a user error when
8562 `tramp-gvfs-enabled' is nil.
8563 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8564 Do not raise a user error when loading package. (Bug#14447)
8565
ec076379
MA
8566 * net/xesam.el: Move to obsolete/.
8567
db785726
GM
85682013-05-24 Glenn Morris <rgm@gnu.org>
8569
af5c7606
GM
8570 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8571
e5d1916a
GM
8572 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8573
ded62b08
GM
8574 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8575 (Info-find-node, Man-getpage-in-background): Declare.
8576
9e614a3f
GM
8577 * mail/unrmail.el (unrmail):
8578 Replace obsolete detect-coding-with-priority.
8579
892f8ca3
GM
8580 * net/socks.el (socks-split-string): Use this rather than split-string.
8581 (socks-nslookup-host): Update for above change.
8582 (dynamic-choice, s5-dynamic-choice-match)
8583 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8584 Comment out unused code.
8585
3c291973
GM
8586 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8587 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8588 (gud-tooltip-echo-area): Make obsolete.
8589 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8590
43cc956b
GM
8591 * progmodes/js.el (js--optimize-arglist): Declare.
8592
dab49a3b
GM
8593 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8594
36b9d085
GM
8595 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8596 (ediff-window-C): Declare.
8597
e354ae76
GM
8598 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8599 Tweak requires to silence compiler.
8600
b8e57bf4
GM
8601 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8602 (he-search-string, he-tried-table, he-expand-list)
8603 (he-init-string, he-string-member, he-substitute-string)
8604 (he-reset-string): Declare.
8605
db785726
GM
8606 * obsolete/options.el (list-options): Use custom-variable-p,
8607 rather than obsolete alias.
8608
b3531901
SS
86092013-05-23 Sam Steingold <sds@gnu.org>
8610
8611 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 8612 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
8613 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8614
bdda4c66
SM
86152013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8616
8617 * emacs-lisp/smie.el (smie-indent-forward-token)
8618 (smie-indent-backward-token): Handle string tokens (bug#14381).
8619
c43d45f9
TH
86202013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8621
fe1eb856
RS
8622 * ielm.el (ielm-menu): New menu.
8623 (inferior-emacs-lisp-mode): Set comment-start.
96172128 8624
fe1eb856
RS
86252013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8626
8627 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8628 Fix deactivate action.
8629
8630 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8631 Add cleveref macros.
074dd971 8632
c43d45f9
TH
8633 * lisp/textmodes/reftex-parse.el
8634 (reftex-locate-bibliography-files): Accept options for
8635 bibliography commands.
8636 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8637 Add addbibresource. Basic Biblatex support.
8638
7764286e
MA
86392013-05-23 Michael Albinus <michael.albinus@gmx.de>
8640
8641 * net/tramp-gvfs.el (top):
8642 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8643 when loading package. (Bug#14447)
8644
d361bc10
GM
86452013-05-23 Glenn Morris <rgm@gnu.org>
8646
8fa23984
GM
8647 * progmodes/js.el: No need to load comint when compiling.
8648 (ring-insert, comint-send-string, comint-send-input)
8649 (comint-last-input-end, ido-chop): Declare.
8650
a5c7df1a
GM
8651 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8652 * vc/ediff-mult.el: Adjust requires.
8653 (ediff-directories-internal, ediff-directory-revisions-internal)
8654 (ediff-patch-file-internal): Declare.
8655 * vc/ediff-ptch.el: Adjust requires.
8656 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8657 (ediff-find-file): Autoload.
8658 * vc/ediff-util.el: No need to load ediff when compiling.
8659 (ediff-regions-internal): Declare.
8660 * vc/ediff-wind.el: Adjust requires.
8661 (ediff-compute-toolbar-width): Define when compiling.
8662 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8663 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8664 (dired-get-filename, dired-get-marked-files)
8665 (ediff-last-dir-patch, ediff-patch-default-directory)
8666 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8667 (ediff-patch-buffer-internal): Declare.
8668
e2aec513
GM
8669 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8670 (ispell-process, ispell-buffer-local-words, lm-summary)
8671 (lm-section-start, lm-section-end): Declare.
8672 (checkdoc-ispell-init): Simplify.
8673
e68bbd7c
GM
8674 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8675 (he-string-member, he-reset-string, he-substitute-string): Declare.
8676
7efe0991
GM
8677 * eshell/em-ls.el: Adjust requires.
8678 (eshell-glob-regexp): Declare.
f87b1284
GM
8679 * eshell/em-tramp.el: Adjust requires.
8680 (eshell-parse-command): Autoload.
8681 * eshell/em-xtra.el: Adjust requires.
8682 (eshell-parse-command): Autoload.
8683 * eshell/esh-ext.el: Adjust requires.
8684 (eshell-parse-command, eshell-close-handles): Autoload.
8685 * eshell/esh-io.el: Adjust requires.
8686 (eshell-output-filter): Autoload.
8687 * eshell/esh-util.el: No need to load tramp when compiling.
8688 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8689 Declare.
8690 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8691 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8692 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8693 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8694 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8695 * eshell/esh-opt.el, eshell/esh-proc.el:
8696 * eshell/esh-var.el: Adjust requires.
8697 * eshell/eshell.el: Do not require esh-util twice.
8698 (eshell-add-input-to-history): Declare.
8699 (eshell-command): Check history module is active before using it.
8700
d361bc10
GM
8701 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8702
85d090a9
LL
87032013-05-22 Leo Liu <sdl.web@gmail.com>
8704
8705 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8706
5d0acd9d
MA
87072013-05-22 Michael Albinus <michael.albinus@gmx.de>
8708
8709 * autorevert.el (auto-revert-notify-add-watch)
8710 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8711 it indicates changes in file modification time.
8712
0cdffd7d
GM
87132013-05-22 Glenn Morris <rgm@gnu.org>
8714
ca5995ec
GM
8715 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8716 Always delete the autoloaded function from the noruntime and
8717 unresolved functions lists.
8718
6450907e
GM
8719 * allout.el: No need to load epa, epg, overlay when compiling.
8720 (epg-context-set-passphrase-callback, epg-list-keys)
8721 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8722 (epg-key-user-id-list): Declare.
8723
9c6906f6
GM
8724 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8725 (viper-set-parsing-style-toggling-macro)
8726 (viper-set-emacs-state-searchstyle-macros):
8727 Use called-interactively-p on Emacs.
8728 (viper-looking-back): Make it an obsolete alias. Update callers.
8729 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8730 Use looking-back rather than viper-looking-back.
8731 (viper-tmp-insert-at-eob, viper-enlarge-region)
8732 (viper-read-string-with-history, viper-register-to-point)
8733 (viper-append-to-register, viper-change-state-to-vi)
8734 (viper-backward-char-carefully, viper-forward-char-carefully)
8735 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8736 (viper-change-state-to-emacs): Declare.
8737 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8738 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8739 * emulation/viper-mous.el: Do not load viper-cmd.
8740 (viper-backward-char-carefully, viper-forward-char-carefully)
8741 (viper-forward-word, viper-adjust-window): Declare.
8742
5f70c169
GM
8743 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8744
b1b7f300
GM
8745 * progmodes/idlw-help.el (idlwave-help-fontify):
8746 Use called-interactively-p.
8747
f6ebbb46
GM
8748 * term/w32console.el (w32-get-console-codepage)
8749 (w32-get-console-output-codepage): Declare.
8750
0cdffd7d
GM
8751 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8752 Remove unnecessary declarations.
8753 (dframe-message): Doc fix.
8754
8755 * info.el (dframe-select-attached-frame, dframe-current-frame):
8756 Declare.
8757
8758 * speedbar.el (speedbar-message): Make it an obsolete alias.
8759 Update all callers.
8760 (speedbar-with-attached-buffer)
8761 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8762 (speedbar-with-writable): Use backquote.
8763 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8764 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8765 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8766 rather than speedbar- aliases.
8767 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8768 (speedbar-make-specialized-keymap, speedbar-insert-button)
8769 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8770 (speedbar-do-function-pointer): Declare.
8771 (rmail-speedbar-button, rmail-speedbar-find-file)
8772 (rmail-speedbar-move-message):
8773 Use dframe-with-attached-buffer rather than speedbar- alias.
8774 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8775 (dframe-message, speedbar-make-specialized-keymap)
8776 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8777 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8778 (speedbar-insert-button, dframe-select-attached-frame)
8779 (dframe-maybee-jump-to-attached-frame)
8780 (speedbar-change-initial-expansion-list)
8781 (speedbar-previously-used-expansion-list-name): Declare.
8782 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8783 Use dframe-message, dframe-with-attached-buffer rather than
8784 speedbar- aliases.
8785 (gud-sentinel): Silence compiler.
8786 * progmodes/vhdl-mode.el (speedbar-refresh)
8787 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8788 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8789 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8790 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8791 (speedbar-file-lists, speedbar-make-tag-line)
8792 (speedbar-line-directory, speedbar-goto-this-file)
8793 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8794 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8795 (speedbar-make-button, speedbar-reset-scanners)
8796 (speedbar-files-item-info, speedbar-line-text)
8797 (speedbar-find-file-in-frame, speedbar-set-timer)
8798 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8799 (speedbar-with-writable): Do not (re)define it.
8800 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8801 rather than speedbar- alias.
8802
ee44b62a
LL
88032013-05-21 Leo Liu <sdl.web@gmail.com>
8804
8805 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8806 menu items.
8807 (octave-mode): Tweak fill-nobreak-predicate.
8808 (inferior-octave-startup): Check process to avoid infinite loop.
8809 (inferior-octave): Pop to buffer first to show abornmal process
8810 exit information.
8811
640f050f
GM
88122013-05-21 Glenn Morris <rgm@gnu.org>
8813
79458038
GM
8814 * printing.el (pr-menu-bar): Define when compiling.
8815
9cc3e83f
LL
88162013-05-21 Leo Liu <sdl.web@gmail.com>
8817
8818 * progmodes/octave.el (octave-auto-fill): Remove.
8819 (octave-indent-new-comment-line): Improve.
8820 (octave-mode): Use auto fill mode through
4f405069 8821 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 8822 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 8823 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
8824 (octave-help): Show parent directory.
8825
f440830d
GM
88262013-05-21 Glenn Morris <rgm@gnu.org>
8827
8828 * files.el (dired-unmark):
8829 * progmodes/gud.el (gdb-input): Update declarations.
8830
8831 * calculator.el (electric, ehelp): No need to load when compiling.
8832 (Electric-command-loop, electric-describe-mode): Declare.
8833
8834 * doc-view.el (doc-view-current-converter-processes): Move before use.
8835
8836 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8837 Move MODE-set-explicitly definition before use.
8838
8839 * international/mule-diag.el (mule-diag):
8840 Don't use obsolete window-system-version.
8841
8842 * mail/feedmail.el (smtpmail): No need to load when compiling.
8843 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8844
8845 * mail/mail-utils.el (rfc822): No need to load when compiling.
8846 (rfc822-addresses): Autoload it.
8847 (mail-strip-quoted-names): Trivial simplification.
8848
8849 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8850 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8851
8852 * net/snmp-mode.el (tempo): Don't duplicate requires.
8853
8854 * progmodes/prolog.el (info): No need to load when compiling.
8855 (comint): Require before shell requires it.
8856 (Info-goto-node): Autoload it.
8857 (Info-follow-nearest-node): Declare.
8858 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8859
8860 * textmodes/artist.el (picture-mode-exit): Declare.
8861
8862 * textmodes/reftex-parse.el (reftex-parse-from-file):
8863 Trivial rewrite so the compiler can parse it better.
8864
b4da2cbb
LL
88652013-05-20 Leo Liu <sdl.web@gmail.com>
8866
8867 * progmodes/octave.el (octave-help-mode-map)
8868 (octave-help-mode-finish-hook): New variables.
8869 (octave-help-mode, octave-help-mode-finish): New functions.
8870 (octave-help): Use octave-help-mode.
8871
33c0f65b
GM
88722013-05-20 Glenn Morris <rgm@gnu.org>
8873
8874 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8875
1a0a0a8a
DG
88762013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8877
8878 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8879 start at point, so that expansion starting right after opening
8880 slash in a regexp is recognized.
8881 (ruby-syntax-before-regexp-re): New defvar, extracted from
8882 ruby-syntax-propertize-function. Since the value of this regexp
8883 is looked up at runtime now, we should be able to turn
8884 `ruby-syntax-methods-before-regexp' into a defcustom later.
8885 (ruby-syntax-propertize-function): Split regexp matching into two
8886 parts, for opening and closing slashes. That allows us to skip
8887 over string interpolations and support multiline regexps.
8888 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8889 for them, which calls `ruby-syntax-propertize-expansion'.
8890 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8891 call to `ruby-syntax-propertize-function'.
8892 (ruby-syntax-propertize-expansion): Extracted from
8893 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
8894 (ruby-syntax-propertize-percent-literal): Leave point right after
8895 the percent symbol, so that the expression expansion rule can
8896 propertize the contents.
462388b6
DG
8897 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8898 heredoc openers.
8899 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 8900
c1a6c0a4
JL
89012013-05-18 Juri Linkov <juri@jurta.org>
8902
8903 * man.el (Man-default-man-entry): Remove `-' from the end
8904 of the default value. (Bug#14400)
8905
8051fccd
GM
89062013-05-18 Glenn Morris <rgm@gnu.org>
8907
8908 * comint.el (comint-password-prompt-regexp):
8909 Allow "password for XXX" where XXX contains colons (eg https://...).
8910
5e80b74f
LL
89112013-05-18 Leo Liu <sdl.web@gmail.com>
8912
8913 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 8914 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
8915 (octave-source-directories): Don't check process.
8916 (octave-source-directories, octave-find-definition): Doc fix.
8917
521a54c5
GM
89182013-05-18 Glenn Morris <rgm@gnu.org>
8919
86a94b05
GM
8920 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8921 Remove backspace/delete bindings. (Bug#14392)
8922
521a54c5
GM
8923 * cus-dep.el (custom-make-dependencies): Sort the output.
8924 (custom-versions-load-alist): Convert comment to doc.
8925
42caeb89
LL
89262013-05-17 Leo Liu <sdl.web@gmail.com>
8927
8928 * newcomment.el (comment-search-backward): Stricter in finding
8929 comment start. (Bug#14303)
8930
8931 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8932 (octave-comment-start-skip): Properly anchored.
8933
e219dd97
LL
89342013-05-17 Leo Liu <sdl.web@gmail.com>
8935
fe1eb856
RS
8936 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8937 Clean up when turned off. (Bug#14395)
e219dd97
LL
8938 (smie--highlight-matching-block-overlay): No longer buffer-local.
8939 (smie-highlight-matching-block): Adjust.
8940
dc5dcb4b
PE
89412013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8942
8943 Doc string fix for "nanoseconds" (Bug#14406).
8944 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8945 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8946
1db165f0
JB
89472013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8948
8949 * calc/calc-units.el (math-extract-units): Preserve powers
8950 of units.
8951
c7a8fcac
LL
89522013-05-17 Leo Liu <sdl.web@gmail.com>
8953
8954 * subr.el (delete-consecutive-dups): New function.
8955 * ido.el (ido-set-matches-1): Use it.
8956 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8957 * ido.el (ido-remove-consecutive-dups): Remove.
8958
f678b18a
SM
89592013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8960
8961 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8962 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8963 regexp-opt's `words'.
8964
ebfe68e8
LL
89652013-05-16 Leo Liu <sdl.web@gmail.com>
8966
8967 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8968 (smie--highlight-matching-block-overlay)
8969 (smie--highlight-matching-block-lastpos)
8970 (smie--highlight-matching-block-timer): New variables.
8971 (smie-highlight-matching-block): New function.
8972 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8973 (smie-setup): Conditionally enable smie-blink-matching-open.
8974
bc8bc17d
WS
89752013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8976
8977 Sync with upstream verilog-mode r840.
8978 * progmodes/verilog-mode.el (verilog-mode-version)
8979 (verilog-mode-release-date): Update.
8980 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8981 (verilog-sig-tieoff): Fix string error on
8982 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8983 (verilog-read-decls): Fix parameters confusing
8984 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8985
df065a0b
EZ
89862013-05-16 Eli Zaretskii <eliz@gnu.org>
8987
8988 * subr.el (reveal-filename): New function.
8989
8990 * loadup.el: Compute Emacs executable versions on MS-Windows,
8991 where executables have the .exe extension. Add a hard link
8992 emacs-XX.YY.ZZ.exe on MS-Windows.
8993
8994 * Makefile.in (XARGS_LIMIT): New variable.
8995 (custom-deps, finder-data, autoloads)
8996 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8997 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8998 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8999 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9000
2d4bf34b
LL
90012013-05-16 Leo Liu <sdl.web@gmail.com>
9002
9003 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9004 (octave-mode-menu, octave-mode-map): Remove its uses.
9005
6b9c2d85
RZ
90062013-05-16 Reto Zimmermann <reto@gnu.org>
9007
9008 Sync with upstream vhdl mode v3.34.2.
9009 * progmodes/vhdl-mode.el: Use `push' throughout.
9010 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9011 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9012 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9013 (vhdl-actual-generic-name): New option to derive actual generic name.
9014 (vhdl-port-paste-signals): Replace formal by actual generics.
9015 (vhdl-beautify): New name for old group vhdl-align. Update users.
9016 (vhdl-beautify-options): New option.
9017 (vhdl-last-input-event): New compat alias. Use throughout.
9018 (vhdl-goto-line): Replace user level function `goto-line'.
9019 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9020 vhdl-fix-statement-buffer.
9021 (vhdl-create-mode-menu): Add some entries.
9022 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9023 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9024 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9025 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9026 to force statements on one line.
9027 (vhdl-remove-trailing-spaces-region):
9028 New, split from vhdl-remove-trailing-spaces.
9029 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9030 Respect vhdl-beautify-options.
9031 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9032 (vhdl-update-sensitivity-list): Not add with index if exists without.
9033 Not include array index with signal. Ignore keywords in comments.
9034 (vhdl-get-visible-signals): Regexp tweaks.
9035 (vhdl-template-component-inst): Handle empty library.
9036 (vhdl-template-type): Add template for 'enum' type.
9037 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9038 Use vhdl-replace-string.
9039 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9040 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9041 (vhdl-speedbar-initialize): Update for above name change.
9042 (vhdl-compose-wire-components): Fix in handling of constants.
9043 (vhdl-error-regexp-emacs-alist): New variable.
9044 (vhdl-error-regexp-add-emacs): New function;
9045 adds support for new compile.el (Emacs 22+)
9046 (vhdl-generate-makefile-1): Change target order for single lib. units.
9047 Allow use of absolute file names.
9048
9df4ec5e
LL
90492013-05-16 Leo Liu <sdl.web@gmail.com>
9050
9051 * simple.el (prog-indent-sexp): Indent enclosing defun.
9052
f5ba00a6
GM
90532013-05-15 Glenn Morris <rgm@gnu.org>
9054
ed8be7ff
GM
9055 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9056 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9057 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9058 (whitespace-highlight): Move to whitespace group.
9059
9060 * comint.el (comint-source):
9061 * pcmpl-linux.el (pcmpl-linux):
9062 * shell.el (shell-faces):
9063 * eshell/esh-opt.el (eshell-opt):
9064 * international/ccl.el (ccl): Remove empty custom groups.
9065
9066 * completion.el (dynamic-completion-mode):
9067 * jit-lock.el (jit-lock-debug-mode):
9068 * minibuffer.el (completion-in-region-mode):
9069 * type-break.el (type-break-mode-line-message-mode)
9070 (type-break-query-mode):
9071 * emulation/tpu-edt.el (tpu-edt-mode):
9072 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9073 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9074 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9075
9076 * term/xterm.el (xterm): Change parent group to terminals.
9077
9078 * master.el (master): Remove empty custom group.
9079 (master-mode): Remove unused :group argument.
9080 * textmodes/refill.el (refill): Remove empty custom group.
9081 (refill-mode): Remove unused :group argument.
9082
9083 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9084
82a7c41b
GM
9085 * cus-dep.el: Provide a feature.
9086 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
9087 Don't mistakenly ignore files whose basenames match a basename
9088 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 9089 Add a fallback method for getting :group.
f5ba00a6 9090
6d65486d
JL
90912013-05-15 Juri Linkov <juri@jurta.org>
9092
da547b32
JL
9093 * isearch.el (isearch-char-by-name): Rename from
9094 `isearch-insert-char-by-name'. Doc fix.
9095 (isearch-forward): Mention `isearch-char-by-name' in
9096 the docstring. (Bug#13348)
9097
6d65486d
JL
9098 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9099 `exit-minibuffer' instead of
9100 `isearch-nonincremental-exit-minibuffer'.
9101 (isearch-edit-string): Remove mention of
9102 `isearch-nonincremental-exit-minibuffer' from docstring.
9103 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9104 (isearch-forward-exit-minibuffer)
9105 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9106
c9990474
SM
91072013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9108
6e911150
SM
9109 * loadup.el: Just use unversioned DOC.
9110
c9990474
SM
9111 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9112 literals as extending to EOB.
9113 (nxml-last-fontify-end): Remove unused variable.
9114 (nxml-after-change1): Use with-silent-modifications.
9115 (nxml-extend-after-change-region): Simplify.
9116 (nxml-extend-after-change-region1): Remove function.
9117 (nxml-after-change1): Don't adjust for dependent regions.
9118 (nxml-fontify-matcher): Simplify.
9119 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9120 (xmltok-add-dependent): Remove function.
9121 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9122 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9123 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9124 unclosed <[[, <?, comment, and other literals as extending to EOB.
9125 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9126 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9127 Remove functions.
9128 (rng-do-some-validation-1): Don't mark dependent regions.
9129 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9130 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9131 (nxml-clear-dependent-regions): Remove functions.
9132 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9133 (nxml-ensure-scan-up-to-date):
9134 Don't clear&mark dependent regions.
9135
e3772e98
LL
91362013-05-15 Leo Liu <sdl.web@gmail.com>
9137
c9990474
SM
9138 * progmodes/octave.el (octave-goto-function-definition):
9139 Improve and fix callers.
e3772e98 9140
5ac2eb34
SM
91412013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9142
c46c57b0
SM
9143 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9144 the setter (bug#14387).
9145
5ac2eb34
SM
9146 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9147 surrounding group (bug#14402).
9148
180ed218
JL
91492013-05-14 Juri Linkov <juri@jurta.org>
9150
9151 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9152 (Bug#14390)
9153
0ac0fecb
GM
91542013-05-14 Glenn Morris <rgm@gnu.org>
9155
9156 * progmodes/f90.el (f90-imenu-generic-expression):
9157 Fix typo in 2013-05-08 change. (Bug#14402)
9158
2e78e6a7
JPG
91592013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9160
5ac2eb34
SM
9161 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9162 Remove signals for which replies are never received.
2e78e6a7 9163
53267cca
JPG
91642013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9165
9166 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9167 (gdb-handler-alist, gdb-handler-number): Remove variables.
9168 (gdb-handler-list): New variable.
9169 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9170 (gdb-pending-handler-p, gdb-handle-reply)
9171 (gdb-remove-all-pending-triggers): New functions.
9172 (gdb-discard-unordered-replies): New defcustom.
9173 (gdb-handler): New defstruct.
9174 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9175 instead of gdb-pending-triggers. Update docstring.
9176 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9177 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9178 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9179 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9180 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9181 (gdb-frame-handler): Pending triggers are now automatically managed.
9182 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9183 Remove argument.
9184 (gdb-input): Automatically handles pending triggers. Update docstring.
9185 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9186 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9187 Update comments.
9188 (gdb-done-or-error): Now use gdb-handle-reply.
9189
d04ce803
JPG
91902013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9191
9192 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9193 gdb-debug-log.
9194
0114073a
GM
91952013-05-14 Glenn Morris <rgm@gnu.org>
9196
9197 * subr.el (user-emacs-directory-warning): New option.
9198 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9199
4d25fd7e
LL
92002013-05-14 Leo Liu <sdl.web@gmail.com>
9201
9202 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9203 during redisplay.
9204 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
9205 (octave-font-lock-texinfo-comment): Fix invalid search bound
9206 error: wrong side of point.
4d25fd7e 9207
27c8b6eb
GM
92082013-05-14 Glenn Morris <rgm@gnu.org>
9209
61aaeb01
GM
9210 * progmodes/flymake.el (flymake-xml-program): New option.
9211 (flymake-xml-init): Use it.
9212
5bf90bc5
GM
9213 * term/xterm.el: Provide a feature.
9214
9215 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 9216
f4c7dfd2
GM
92172013-05-13 Glenn Morris <rgm@gnu.org>
9218
9219 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9220 Add compat aliases as a hack workaround. (Bug#14384)
9221
2aeb3a1d
LL
92222013-05-13 Leo Liu <sdl.web@gmail.com>
9223
b0e069c2
LL
9224 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9225 ###, and %!.
f5a9432f
LL
9226 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9227 C-M-q.
b0e069c2
LL
9228 (octave-comment-start-skip): Include %!.
9229 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 9230
30ea8374
LL
92312013-05-12 Leo Liu <sdl.web@gmail.com>
9232
9233 * progmodes/octave.el (inferior-octave-startup): Store the value
9234 of __octave_srcdir__ for octave-source-directories.
9235 (inferior-octave-check-process): New function refactored out of
9236 inferior-octave-send-list-and-digest.
9237 (octave-source-directories)
9238 (octave-find-definition-filename-function): New variables.
9239 (octave-source-directories)
9240 (octave-find-definition-default-filename): New functions.
9241 (octave-find-definition): Improve to find functions implemented in C++.
9242
472a3834
GM
92432013-05-12 Glenn Morris <rgm@gnu.org>
9244
9245 * calendar/diary-lib.el (diary-outlook-format-1):
9246 Don't include dayname in the output. (Bug#14349)
9247
3191b52f
GM
92482013-05-11 Glenn Morris <rgm@gnu.org>
9249
0060ac73
GM
9250 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9251
3191b52f
GM
9252 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9253 Treat cc-provide like provide.
9254
e065ba74
KR
92552013-05-11 Kevin Ryde <user42@zip.com.au>
9256
9257 * cus-dep.el (custom-make-dependencies):
9258 Use generated-autoload-load-name for the sake of files such
9259 such cedet/semantic/bovine/c.el, where the base file name
9260 is not in load-path. (Bug#5277)
9261
36f84c37
GM
92622013-05-11 Glenn Morris <rgm@gnu.org>
9263
9264 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9265 Provide features.
9266
c8730c3a
LL
92672013-05-11 Leo Liu <sdl.web@gmail.com>
9268
9269 * progmodes/octave.el (octave-indent-comment): Improve.
9270 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
9271 (octave-eldoc-function-signatures, octave-eldoc-function):
9272 New functions.
c8730c3a
LL
9273 (octave-mode, inferior-octave-mode): Add eldoc support.
9274
212e29f2
RS
92752013-05-11 Richard Stallman <rms@gnu.org>
9276
9277 * epa.el (epa-decrypt-file): Take output file name as argument
9278 and read it using `interactive'.
9279
083fe0d7
LL
92802013-05-11 Leo Liu <sdl.web@gmail.com>
9281
9282 * progmodes/octave.el (octave-beginning-of-line)
9283 (octave-end-of-line): Check before using up-list because it jumps
9284 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
9285 (octave-indent-comment): New function.
9286 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
9287 (octave-begin-keywords, octave-end-keywords)
9288 (octave-reserved-words, octave-smie-bnf-table)
9289 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 9290
8582e4c4
GM
92912013-05-11 Glenn Morris <rgm@gnu.org>
9292
f20def1f
GM
9293 * faces.el (internal-face-x-get-resource):
9294 * frame.el (ns-display-monitor-attributes-list):
d78abe37 9295 * calc/calc-aent.el (math-to-radians-2):
f20def1f 9296 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 9297 Fix declarations.
f20def1f 9298
445f95e2
GM
9299 * calc/calc-menu.el: Make it loadable in isolation.
9300
9301 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9302 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9303 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9304 (eudc-bbdb-query-internal): Require 'bbdb.
9305
99fb2756
GM
9306 * lpr.el (lpr-headers-switches):
9307 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9308
9309 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9310
0da7ad96
GM
9311 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9312
8582e4c4
GM
9313 * term.el (term-set-escape-char): Make it idempotent.
9314
f71c50d0
LL
93152013-05-10 Leo Liu <sdl.web@gmail.com>
9316
5ac2eb34
SM
9317 * progmodes/octave.el (inferior-octave-completion-table):
9318 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
9319 completion due to bug#11906.
9320 (octave-beginning-of-defun): Re-write to be more general.
9321
d5837773
GM
93222013-05-10 Glenn Morris <rgm@gnu.org>
9323
9324 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9325
027c0f75
SM
93262013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9327
9328 * comint.el (comint-redirect-send-command-to-process): Use :around
9329 rather than :override for comint-redirect-filter.
9330 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9331 Call it instead of comint-redirect-original-filter-function (which
9332 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9333
4465bfb4
JD
93342013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9335
9336 * frame.el (display-monitor-attributes-list): Add NS case.
9337 (ns-display-monitor-attributes-list): Declare.
9338
2d809ffa 93392013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
9340
9341 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9342
e54eeb9b
GM
93432013-05-09 Glenn Morris <rgm@gnu.org>
9344
56cd351d
GM
9345 * international/fontset.el (vertical-centering-font-regexp):
9346 Set standard-value.
9347
d84b6108
GM
9348 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9349
a931698a
GM
9350 * bookmark.el (bookmark-search-delay):
9351 * cus-start.el (vertical-centering-font-regexp):
9352 * ps-mule.el (ps-mule-font-info-database-default):
9353 * ps-print.el (ps-default-fg, ps-default-bg):
9354 * type-break.el (type-break-good-break-interval):
9355 * whitespace.el (whitespace-indentation-regexp)
9356 (whitespace-space-after-tab-regexp):
9357 * emacs-lisp/testcover.el (testcover-1value-functions)
9358 (testcover-noreturn-functions, testcover-progn-functions)
9359 (testcover-prog1-functions):
9360 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9361 * eshell/em-glob.el (eshell-glob-translate-alist):
9362 * play/tetris.el (tetris-tty-colors):
9363 * progmodes/cpp.el (cpp-face-default-list):
9364 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9365 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9366 (idlwave-help-browser-generic-args):
9367 * progmodes/make-mode.el (makefile-special-targets-list):
9368 * progmodes/python.el (python-shell-virtualenv-path):
9369 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9370 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9371 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9372 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9373 * textmodes/reftex-vars.el (reftex-format-label-function):
9374 * textmodes/remember.el (remember-diary-file): Fix custom types.
9375
e54eeb9b
GM
9376 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9377 Add :version.
9378
455851dd
LL
93792013-05-09 Leo Liu <sdl.web@gmail.com>
9380
9381 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 9382 Restore file completion. (Bug#14300)
455851dd
LL
9383 (inferior-octave-startup): Fix incorrect highlighting for the
9384 first prompt.
9385
a9e4425b
SM
93862013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9387
9388 * progmodes/ruby-mode.el: First cut at SMIE support.
9389 (ruby-use-smie): New var.
9390 (ruby-smie-grammar): New constant.
9391 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9392 (ruby-smie--forward-token, ruby-smie--backward-token)
9393 (ruby-smie-rules): New functions.
9394 (ruby-mode-variables): Setup SMIE if applicable.
9395
060ca408
EZ
93962013-05-08 Eli Zaretskii <eliz@gnu.org>
9397
9398 * simple.el (line-move-visual): Signal beginning/end of buffer
9399 only if vertical-motion moved less than it was requested. Avoids
9400 silly incorrect error messages when there are display strings with
9401 multiple newlines at EOL.
9402
1d5963cc
SM
94032013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9404
9405 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9406 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9407 (prolog-char-quote-workaround):
9408 * progmodes/cperl-mode.el (cperl-under-as-char):
9409 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
9410 Mark as obsolete.
9411 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
9412 their declaration.
9413 (vhdl-mode-syntax-table-init): Remove.
9414
c9990474
SM
9415 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9416 last change.
1d5963cc
SM
9417
9418 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9419 syntax for "_".
9420 (ld-script-font-lock-keywords):
9421 Change regexps to use things like \_< and \_>.
9422
9423 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9424 Change all regexps to use things like \_< and \_>.
9425
9426 * progmodes/autoconf.el (autoconf-definition-regexp)
9427 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9428 Handle a _ with symbol syntax.
9429 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9430
c9990474
SM
9431 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9432 Consolidate declaration.
1d5963cc
SM
9433 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9434 the declaration.
9435 (ada-create-syntax-table): Remove.
9436 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9437 already has the right syntax nowadays.
9438 (ada-goto-next-word): Don't change the syntax of "_".
9439
9440 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9441 with-wrapper-hook.
9442
72d3cfca
SS
94432013-05-08 Sam Steingold <sds@gnu.org>
9444
9445 * thingatpt.el (thing-at-point): Accept optional second argument
9446 NO-PROPERTIES to strip the text properties from the return value.
9447 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9448 to `thing-at-point' instead of stripping the properties ourselves.
9449 Also, when `thing-at-point' fails to find a url, prepend "http://"
9450 to the filename at point on the assumption that the user is
9451 pointing at something like gnu.org/gnu.
9452
5cb15713
JB
94532013-05-08 Juanma Barranquero <lekktu@gmail.com>
9454
9455 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9456 * faces.el (crm-separator):
9457 Silence byte-compiler.
9458
9459 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9460 (tool-bar-map): Remove unneeded defvars.
9461
ea78b95b
LL
94622013-05-08 Leo Liu <sdl.web@gmail.com>
9463
9464 Re-work a fix for bug#10994 based on Le Wang's patch.
9465 * ido.el (ido-remove-consecutive-dups): New helper.
9466 (ido-completing-read): Use it.
9467 (ido-chop): Revert fix for bug#10994.
9468
dc7466df
AS
94692013-05-08 Adam Spiers <emacs@adamspiers.org>
9470
9471 * cus-edit.el (custom-save-variables):
9472 Pretty-print long values. (Bug#14187)
9473
9ecf672a
GM
94742013-05-08 Glenn Morris <rgm@gnu.org>
9475
9476 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9477 (m4-mode-syntax-table): Init in the defvar.
9478 (m4-mode-abbrev-table): Let define-derived-mode define it.
9479
3f555be8
TT
94802013-05-08 Tom Tromey <tromey@redhat.com>
9481
9482 * progmodes/m4-mode.el (m4-mode-syntax-table):
9483 Do not treat "_" as word constituent. (Bug#14167)
9484
7cc8ae06
GM
94852013-05-07 Glenn Morris <rgm@gnu.org>
9486
4f58bc06
GM
9487 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9488 Remove explicit eshell-isearch-cancel-map.
9489
7cc8ae06
GM
9490 * progmodes/f90.el (f90-smart-end-names): New option.
9491 (f90-smart-end): Doc fix.
9492 (f90-end-block-optional-name): New constant.
9493 (f90-block-match): Respect f90-smart-end-names.
9494
ceb57e59
SM
94952013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9496
9497 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9498 about implicit semi-colons (bug#14218).
9499
4e3f9230
YM
95002013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9501
9502 * frame.el (display-monitor-attributes-list)
9503 (frame-monitor-attributes): New functions.
9504
203a5572
LL
95052013-05-06 Leo Liu <sdl.web@gmail.com>
9506
9507 * progmodes/octave.el (octave-syntax-propertize-function): Change
9508 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9509 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 9510 (octave-completion-at-point): Rename from
203a5572
LL
9511 octave-completion-at-point-function.
9512 (inferior-octave-directory-tracker): Robustify.
9513 (octave-text-functions): Remove and fix its uses. No such things
9514 any more.
9515
ee6cff99
SM
95162013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9517
9518 * emacs-lisp/trace.el (trace--display-buffer): New function.
9519 (trace-make-advice): Use it.
9520
32985194
JL
95212013-05-06 Juri Linkov <juri@jurta.org>
9522
9523 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9524 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9525 Doc fix.
9526 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9527 in the help string. (Bug#12985)
9528
a1c700de
KD
95292013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9530
9531 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9532
c67c0839
SM
95332013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9534
323885fd
SM
9535 * progmodes/perl-mode.el: Add support for here documents.
9536 (perl-syntax-propertize-function): Match here-doc markers.
9537 (perl-syntax-propertize-special-constructs): Find their end.
9538 (perl-imenu-generic-expression): Use [:alnum:].
9539
c67c0839
SM
9540 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9541 (advice--add-function): Refresh the advice if already present
9542 (bug#14317).
9543
d491e7a8
IA
95442013-05-06 Ivan Andrus <darthandrus@gmail.com>
9545
9546 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9547
ddf9925e
GM
95482013-05-06 Glenn Morris <rgm@gnu.org>
9549
7cc3af27
GM
9550 * w32-fns.el (w32-charset-info-alist): Declare.
9551
16e343d6
GM
9552 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9553 of its defcustom properties.
9554 (eshell-cmpl-initialize): No need to load pcomplete.
9555
7d889a47
GM
9556 * generic-x.el: No need to require comint when compiling.
9557
ddf9925e
GM
9558 * net/eudc-export.el: Make it loadable without bbdb.
9559 (top-level): Use require rather than load-library.
9560 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9561 (eudc-batch-export-records-to-bbdb)
9562 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9563 Require bbdb.
9564
1e2c18df
SM
95652013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9566
9567 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9568 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9569 some tweaks, instead.
9570
02502a5f
LL
95712013-05-05 Leo Liu <sdl.web@gmail.com>
9572
9573 * progmodes/octave.el (octave-font-lock-keywords)
9574 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9575 (inferior-octave-send-list-and-digest): Improve error message.
9576 (octave-mode, inferior-octave-mode): Use setq-local.
9577 (octave-help): Set info-lookup-mode.
9578
0dc04f42
RS
95792013-05-05 Richard Stallman <rms@gnu.org>
9580
6c54491c
RS
9581 * vc/compare-w.el (compare-windows-whitespace):
9582 Treat no-break space as whitespace.
9583
0dc04f42
RS
9584 * mail/rmailsum.el (rmail-summary-rmail-update):
9585 Detect empty summary and don't change selected message.
9586 (rmail-summary-goto-msg): Likewise.
9587
df8f35df
RS
9588 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9589 Doc fixes, rename args.
9590
5356e1a3
AM
95912013-05-05 Alan Mackenzie <acm@muc.de>
9592
9593 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9594
d44014cb
JL
95952013-05-05 Juri Linkov <juri@jurta.org>
9596
9597 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9598 to not add the length of the summary segment to the return value.
9599 (Bug#14125)
9600
c129b51f
LL
96012013-05-05 Leo Liu <sdl.web@gmail.com>
9602
9603 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9604 (inferior-octave-output-filter): Remove.
9605 (octave-send-region, inferior-octave-startup): Fix callers.
9606 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9607 (octave-binary-file-extensions): New user variable.
9608 (octave-find-definition): Confirm if opening binary files.
9609 (octave-help-file): Use octave-find-definition to get the binary
9610 confirmation.
9611 (octave-help): Adjust for octave-help-file change.
9612
aa7dab97
SM
96132013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9614
9615 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9616 Merge the two entries that handle function definitions.
9617 (pascal--syntax-propertize): New const.
9618 (pascal-mode): Use it. Use setq-local.
9619
fd3a9a6b
GM
96202013-05-04 Glenn Morris <rgm@gnu.org>
9621
9622 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9623 (diary-from-outlook): Respect diary-from-outlook-function.
9624
30c7e542
SM
96252013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9626
9627 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9628 Move the declaration from C.
9629 (read-minibuffer, eval-minibuffer): Move from C.
9630 (completion-setup-function): Avoid minibuffer-completion-contents.
9631
b54f978b
LL
96322013-05-03 Leo Liu <sdl.web@gmail.com>
9633
9634 * progmodes/octave.el (octave-font-lock-keywords): Do not
9635 dehighlight 'end' in comments or strings.
30c7e542
SM
9636 (octave-completing-read, octave-goto-function-definition):
9637 New helpers.
d4d0f9b3
LL
9638 (octave-help-buffer): New user variable.
9639 (octave-help-file, octave-help-function): New button types.
9640 (octave-help): New command and bind it to C-h ;.
9641 (octave-find-definition): New command and bind it to M-.
d74a1581 9642 (user-error): Alias to error if not defined.
b54f978b 9643
27135018
LL
96442013-05-02 Leo Liu <sdl.web@gmail.com>
9645
9646 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9647 for \. (bug#14332)
9648 (octave-font-lock-keywords): Include [ and {.
9649
0d634d3a
LL
96502013-05-02 Leo Liu <sdl.web@gmail.com>
9651
9652 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9653 (inferior-octave): Remove calling comint-mode and return the buffer.
9654 (inferior-octave-startup): Cosmetic changes.
9655
b4c8295e
LL
96562013-05-02 Leo Liu <sdl.web@gmail.com>
9657
30c7e542
SM
9658 * progmodes/octave.el (octave-syntax-propertize-function):
9659 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 9660
f12ad6ec
GM
96612013-05-02 Glenn Morris <rgm@gnu.org>
9662
9663 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9664 * desktop.el (vc-dir-mode): Just autoload it here.
9665
30cac1e0
AM
96662013-05-02 Alan Mackenzie <acm@muc.de>
9667
9668 Eliminate variable c-standard-font-lock-fontify-region-function.
9669 * progmodes/cc-mode.el
9670 (c-standard-font-lock-fontify-region-function): Remove.
9671 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9672
d8ef28b1
LL
96732013-05-01 Leo Liu <sdl.web@gmail.com>
9674
2640d52e 9675 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 9676 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 9677 variables were removed from Octave in 2007.
d8ef28b1
LL
9678 (inferior-octave-startup): Fix uses.
9679 (comint-line-beginning-position): Remove compatibility code for
9680 emacs 21.
9681
ac63ec89
JL
96822013-05-01 Juri Linkov <juri@jurta.org>
9683
9684 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9685
9e9be37c
JL
96862013-05-01 Juri Linkov <juri@jurta.org>
9687
9688 * comint.el (comint-previous-matching-input): Don't print message
9689 "History item: %d" when `isearch-mode' is active.
9690 (comint-history-isearch-message): Print message "History item: %d"
9691 when `comint-input-ring-index' is not empty and this function is
9692 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9693
9b92c13b
LL
96942013-05-01 Leo Liu <sdl.web@gmail.com>
9695
9696 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9697 definitions. Use completion-at-point to insert keywords.
9698 (octave-abbrev-start): Remove.
9699 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9700
b12d33d7
LL
97012013-04-30 Leo Liu <sdl.web@gmail.com>
9702
9703 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9704 change.
9705
3d1c39fa
AM
97062013-04-30 Alan Mackenzie <acm@muc.de>
9707
9708 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
9709 * progmodes/cc-engine.el (c-back-over-member-initializers):
9710 new function.
3d1c39fa
AM
9711 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9712 (most) member init lists.
9713
5147fc17
RS
97142013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9715
9716 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9717 variable.
9718
5b78d7fc
LL
97192013-04-30 Leo Liu <sdl.web@gmail.com>
9720
9721 * progmodes/octave.el (octave-variables): Remove. No builtin
9722 variables any more. All converted to functions.
9723 (octave-font-lock-keywords, octave-completion-at-point-function):
9724 Fix uses.
9725 (octave-font-lock-texinfo-comment): New user variable.
9726 (octave-texinfo-font-lock-keywords): New variable for texinfo
9727 comment block.
9728 (octave-function-comment-block): New face.
9729 (octave-font-lock-texinfo-comment): New function.
9730 (octave-mode): Font lock texinfo comment block.
9731
38d8527b
LL
97322013-04-29 Leo Liu <sdl.web@gmail.com>
9733
9734 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9735 indexing expression.
9736 (octave-continuation-string): Do not use \.
9737 (inferior-octave-complete-impossible): Remove.
9738 (inferior-octave-completion-table)
9739 (inferior-octave-completion-at-point): Remove its uses.
9740 (inferior-octave-startup): completion_matches was introduced to
9741 Octave in 1996 so safe to assume it.
9742 (octave-function-file-comment): Improve to follow how Octave does it.
9743 (octave-update-function-file-comment): Tweak.
9744
2ec12cb0
LL
97452013-04-29 Leo Liu <sdl.web@gmail.com>
9746
9747 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9748 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9749 (octave-function-file-comment): Fix typo.
9750 (octave-sync-function-file-names): Use read-char-choice.
9751
6eaed048
JB
97522013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9753
9754 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9755 to t for the less important warnings.
9756
3ffa2d4f
DH
97572013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9758
9759 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9760
685c9501
GM
97612013-04-27 Glenn Morris <rgm@gnu.org>
9762
9763 * vc/log-view.el (log-view-current-entry):
9764 Treat "---" separator lines as part of the following rev. (Bug#14169)
9765
0208ede7
JL
97662013-04-27 Juri Linkov <juri@jurta.org>
9767
9768 * subr.el (read-number): Doc fix about using it by interactive
9769 code letter `n'. (Bug#14254)
9770
5db9dace
JL
97712013-04-27 Juri Linkov <juri@jurta.org>
9772
9773 * desktop.el (desktop-auto-save-timeout): New option.
9774 (desktop-file-checksum): New variable.
9775 (desktop-save): Add optional arg `auto-save' and don't auto-save
9776 if nothing changed.
9777 (desktop-auto-save-timer): New variable.
9778 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9779 (after-init-hook): Call `desktop-auto-save-set-timer'.
9780 Suggested by Reuben Thomas <rrt@sc3d.org> in
9781 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9782
b7260dd4
LL
97832013-04-27 Leo Liu <sdl.web@gmail.com>
9784
9785 * progmodes/octave.el (octave-function-file-p)
9786 (octave-skip-comment-forward, octave-function-file-comment)
9787 (octave-update-function-file-comment): New functions.
9788 (octave-mode-map): Bind C-c ; to
9789 octave-update-function-file-comment.
9790 (octave-mode-menu): Add octave-update-function-file-comment.
9791 (octave-mode, inferior-octave-mode): Fix doc-string.
9792 (octave-insert-defun): Conform to Octave's coding convention.
9793 (Bug#14285)
9794
9795 * files.el (basic-save-buffer): Don't let errors in
9796 before-save-hook prevent saving buffer.
9797
c46da669
RW
97982013-04-20 Roland Winkler <winkler@gnu.org>
9799
9800 * faces.el (read-face-name): Use completing-read if arg multiple
9801 is nil.
9802
a81ee1eb
IL
98032013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9804
9805 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
9806 displayed, move point to after the totals line.
9807 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
9808 for the details.
9809
4fac34ce
SM
98102013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9811
9812 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9813 Add current dir to the load-path.
9814 (package-generate-autoloads): Don't rely on
9815 autoload-ensure-default-file.
9816
f6bfc063
RT
98172013-04-26 Reuben Thomas <rrt@sc3d.org>
9818
d40ab5cf
BG
9819 * textmodes/remember.el (remember-store-in-files): Document that
9820 the file name format is passed to `format-time-string'.
f6bfc063 9821
e55d3b04
LL
98222013-04-26 Leo Liu <sdl.web@gmail.com>
9823
9824 * progmodes/octave.el (octave-sync-function-file-names): New function.
9825 (octave-mode): Use it in before-save-hook.
9826
e53052d3
SM
98272013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9828
140ef50c
SM
9829 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9830 (bug#14274).
9831
e53052d3
SM
9832 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9833 \n and comment, even if it's not an implicit ; (bug#14218).
9834
af80458d 98352013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
9836
9837 * subr.el (read-number): Once more use `read' rather than
9838 `string-to-number', to trap non-numeric input. (Bug#14254)
9839
af80458d 98402013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
9841
9842 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9843 Use `syntax-multiline' text property consistently instead of
8a621d53 9844 `font-lock-multiline'. (Bug#14237)
70203c2e 9845
e6ea1f6c
GM
98462013-04-26 Glenn Morris <rgm@gnu.org>
9847
9848 * emacs-lisp/shadow.el (list-load-path-shadows):
9849 No longer necessary to check for duplicate simple.el, since
9850 2012-07-07 change to init_lread to not include installation lisp
9851 directories in load-path when running uninstalled. (Bug#14270)
9852
070ccca4
LL
98532013-04-26 Leo Liu <sdl.web@gmail.com>
9854
9855 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9856 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 9857 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
9858 octave-in-string-or-comment-p.
9859 (octave-in-comment-p, octave-in-string-p)
9860 (octave-in-string-or-comment-p): Replace defsubst with defun.
9861
9d1c5fb6
PE
98622013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9863
9864 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9865
c034abda
BG
98662013-04-25 Bastien Guerry <bzg@gnu.org>
9867
9868 * textmodes/remember.el (remember-data-directory)
9869 (remember-directory-file-name-format): Fix custom types.
9870
584ea277
LL
98712013-04-25 Leo Liu <sdl.web@gmail.com>
9872
e53052d3
SM
9873 * progmodes/octave.el (octave-completion-at-point-function):
9874 Make use of inferior octave process.
584ea277
LL
9875 (octave-initialize-completions): Remove.
9876 (inferior-octave-completion-table): New function.
9877 (inferior-octave-completion-at-point): Use it.
9878 (octave-completion-alist): Remove.
9879
1693b06a
SM
98802013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9881
9882 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9883 (opascal-mode-syntax-table): New var.
9884 (opascal-literal-kind, opascal-is-literal-end)
9885 (opascal-literal-token-at): Rewrite.
9886 (opascal--literal-start-re, opascal-font-lock-keywords)
9887 (opascal--syntax-propertize): New constants.
9888 (opascal-font-lock-defaults): Adjust.
9889 (opascal-mode): Use them. Set comment-<foo> variables as well.
9890 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9891 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9892 (delphi-other-face, opascal-other-face): Remove face variables.
9893 (opascal-save-state): Remove macro.
9894 (opascal-fontifying-progress-step): Remove constant.
9895 (opascal--ignore-changes): Remove var.
9896 (opascal-set-token-property, opascal-parse-next-literal)
9897 (opascal-is-stable-literal, opascal-complete-literal)
9898 (opascal-is-literal-start, opascal-face-of)
9899 (opascal-parse-region, opascal-parse-region-until-stable)
9900 (opascal-fontify-region, opascal-after-change)
9901 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9902 (opascal-debug-parse-region, opascal-debug-parse-window)
9903 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9904 (opascal-debug-fontify-buffer): Remove.
9905 (opascal-debug-mode-map): Adjust accordingly.
9906
be64c05d
LL
99072013-04-25 Leo Liu <sdl.web@gmail.com>
9908
9909 Merge octave-mod.el and octave-inf.el into octave.el with some
9910 cleanups.
9911 * progmodes/octave.el: New file renamed from octave-mod.el.
9912 * progmodes/octave-inf.el: Merged into octave.el.
9913 * progmodes/octave-mod.el: Renamed to octave.el.
9914
d79d37bd
TH
99152013-04-25 Tassilo Horn <tsdh@gnu.org>
9916
9917 * textmodes/reftex-vars.el
9918 (reftex-label-ignored-macros-and-environments): New defcustom.
9919
9920 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9921
ced3fc5d
SM
99222013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9923
9924 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9925 (smie-indent-keyword): Improve the check to ensure that the next
9926 comment is really on the same line.
9927 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9928
9929 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9930 semi-colons if the line is not otherwise empty (bug#14218).
9931
1c141dad
GM
99322013-04-25 Glenn Morris <rgm@gnu.org>
9933
9934 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9935
5058062a
SM
99362013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9937
9938 * progmodes/opascal.el (opascal-set-token-property): Rename from
9939 opascal-set-text-properties and only set `token' (bug#14134).
9940 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9941 (opascal-literal-text-properties): Remove.
9942 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9943 Adjust callers.
9944
5db9dace 99452013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
9946
9947 * textmodes/remember.el (remember-handler-functions): Add an
9948 option for a new handler `remember-store-in-files'.
9949 (remember-data-directory, remember-directory-file-name-format):
9950 New options.
9951 (remember-store-in-files): New function to store remember notes
9952 as separate files within a directory.
9953
4391916c
MH
99542013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9955
9956 * progmodes/compile.el (compilation-next-error-function):
9957 Pass "formats" to compilation-find-file (bug#11777).
9958
bb7cdf58
GM
99592013-04-24 Glenn Morris <rgm@gnu.org>
9960
3b8fe752 9961 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
9962 * vc/vc-hg.el (vc-hg-print-log):
9963 * vc/vc-svn.el (vc-svn-print-log):
9964 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9965
bb7cdf58
GM
9966 * vc/vc-bzr.el (vc-bzr-print-log):
9967 * vc/vc-cvs.el (vc-cvs-print-log):
9968 * vc/vc-git.el (vc-git-print-log):
9969 * vc/vc-hg.el (vc-hg-print-log):
9970 * vc/vc-mtn.el (vc-mtn-print-log):
9971 * vc/vc-rcs.el (vc-rcs-print-log):
9972 * vc/vc-sccs.el (vc-sccs-print-log):
9973 * vc/vc-svn.el (vc-svn-print-log):
9974 * vc/vc.el (vc-print-log-internal): Doc fixes.
9975
b46a056e
GM
99762013-04-23 Glenn Morris <rgm@gnu.org>
9977
9978 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9979 Remove venerable code attempting to avoid substitute-command-keys.
9980
0aecf718
TH
99812013-04-23 Tassilo Horn <tsdh@gnu.org>
9982
4391916c
MH
9983 * textmodes/reftex-vars.el (reftex-label-regexps):
9984 Call `reftex-compile-variables' after changes to this variable.
0aecf718 9985
117f94cf
SM
99862013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9987
4391916c 9988 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
9989 Use lexical-binding.
9990 (jit-lock-force-redisplay): Use markers, check buffer's continued
9991 existence and beware narrowed buffers.
9992 (jit-lock-fontify-now): Adjust call accordingly.
9993
1d829c64
SM
99942013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9995
9996 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9997 to avoid misleading the user.
9998
72d548a9
LL
99992013-04-22 Leo Liu <sdl.web@gmail.com>
10000
10001 * info-look.el: Prefer latex2e.info. (Bug#14240)
10002
d0853629
MA
100032013-04-22 Michael Albinus <michael.albinus@gmx.de>
10004
10005 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10006
10007 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10008 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10009 (tramp-set-completion-function, tramp-parse-putty):
10010 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10011 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10012 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10013 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10014 (tramp-call-local-coding-command): Use `tramp-call-process'
10015 instead of `tramp-compat-call-process'.
10016
10017 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10018 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10019 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 10020 (tramp-find-inline-compress): Improve traces.
d0853629
MA
10021 (tramp-maybe-send-script): Check for Perl binary.
10022 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10023
38cc0210
DU
100242013-04-22 Daiki Ueno <ueno@gnu.org>
10025
10026 * epg.el (epg-context-pinentry-mode): New function.
10027 (epg-context-set-pinentry-mode): New function.
10028 (epg--start): Pass --pinentry-mode option to gpg command.
10029
cc641ee1
XF
100302013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10031
02d844b5 10032 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 10033 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 10034 `completion-at-point'. (Bug#13774)
5d4e5c31 10035
cc641ee1
XF
10036 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10037 default key binding for `describe-distribution' has been moved to
10038 `C-h C-o'. (Bug#13970)
10039
1b42ee43
GM
100402013-04-21 Glenn Morris <rgm@gnu.org>
10041
10042 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10043 Add doc strings.
10044 (vc-print-log): Clarify interactive prompt.
10045
a6d63d97
GM
100462013-04-20 Glenn Morris <rgm@gnu.org>
10047
10048 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10049 No longer include timestamp etc information.
10050
d7f5c16f
RW
100512013-04-20 Roland Winkler <winkler@gnu.org>
10052
10053 * faces.el (read-face-name): Bug fix, return just one face if arg
10054 multiple is nil. (Bug#14209)
10055
bcd7a0a4
SM
100562013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10057
10058 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10059 (remove-function): Autoload.
10060
10061 * comint.el (comint-redirect-original-filter-function): Remove.
10062 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
10063 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10064 (vc-cvs-annotate-command):
bcd7a0a4
SM
10065 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10066 * progmodes/prolog.el (prolog-consult-compile):
10067 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10068 Use add/remove-function instead.
10069 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10070 (gud-tooltip-process-output, gud-tooltip-tips):
10071 Use add/remove-function instead.
10072 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10073 (scheme-interaction-mode, exit-scheme-interaction-mode):
10074 Use add/remove-function instead.
10075
10076 * vc/vc-dispatcher.el: Use lexical-binding.
10077 (vc--process-sentinel): Rename from vc-process-sentinel.
10078 Change last arg to be the code to run. Don't use vc-previous-sentinel
10079 and vc-sentinel-commands any more.
10080 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10081 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10082
e36b2d20 100832013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 10084
bcd7a0a4 10085 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 10086 Handle function names with a single character. (Bug#14111)
4d3268ba 10087
781b4af6 100882013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
10089
10090 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10091 for subroutines defined in an eval (bug#14182).
10092
7d688336
TV
100932013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10094
10095 * bookmark.el (bookmark-completing-read): Improve handling of empty
10096 string (bug#14176).
10097
31dcede0
SM
100982013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10099
10100 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10101
adc31213
FEG
101022013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10103
10104 New faster Imenu implementation (bug#14058).
10105 * progmodes/python.el:
10106 (python-imenu-prev-index-position):
10107 (python-imenu-format-item-label-function)
10108 (python-imenu-format-parent-item-label-function)
10109 (python-imenu-format-parent-item-jump-label-function):
10110 New vars.
10111 (python-imenu-format-item-label)
10112 (python-imenu-format-parent-item-label)
10113 (python-imenu-format-parent-item-jump-label)
10114 (python-imenu--put-parent, python-imenu--build-tree)
10115 (python-imenu-create-index, python-imenu-create-flat-index)
10116 (python-util-popn): New functions.
10117 (python-mode): Set imenu-create-index-function to
10118 python-imenu-create-index.
10119
cdca8255
SM
101202013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10121
10122 * winner.el (winner-active-region): Use region-active-p, activate-mark
10123 and deactivate-mark (bug#14225).
10124
10125 * simple.el (deactivate-mark): Don't inline it.
10126
beb42340
MA
101272013-04-18 Michael Albinus <michael.albinus@gmx.de>
10128
10129 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10130
fc7f4d7e
TH
101312013-04-18 Tassilo Horn <tsdh@gnu.org>
10132
10133 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10134 file extensions from the archive-mode entry in order to prefer
10135 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10136
29f47822
LL
101372013-04-18 Leo Liu <sdl.web@gmail.com>
10138
10139 * bindings.el (help-event-list): Add ?\?.
10140
d36ed1c8
SM
101412013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10142
10143 * subr.el (with-wrapper-hook): Declare obsolete.
10144 * simple.el (filter-buffer-substring-function): New hook.
10145 (filter-buffer-substring): Use it.
10146 (filter-buffer-substring-functions): Mark obsolete.
10147 * minibuffer.el (completion-in-region-function): New hook.
10148 (completion-in-region): Use it.
10149 (completion-in-region-functions): Mark obsolete.
10150 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10151 * abbrev.el (abbrev-expand-function): New hook.
10152 (expand-abbrev): Use it.
10153 (abbrev-expand-functions): Mark obsolete.
10154 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10155 and :filter-return.
10156
04754d36
FEG
101572013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10158
10159 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10160 and do not care about match data.
10161
dd8791e9
SM
101622013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10163
10164 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10165 completion tables when completing error conditions and
10166 `declare' arguments.
10167 (lisp-complete-symbol, field-complete): Mark as obsolete.
10168 (check-parens): Unmatched parens are user errors.
10169 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10170
ffe54a13
AM
101712013-04-17 Michal Nazarewicz <mina86@mina86.com>
10172
dd8791e9
SM
10173 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10174 command changed buffer (ie. `flyspell-pre-buffer' is not current
10175 buffer), which prevents making decisions based on invalid value of
10176 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10177 cause an error when `flyspell-pre-point' was nil after switching
10178 buffers.
10179 (flyspell-post-command-hook): No longer needs to change buffers when
10180 checking pre-word. While at it remove unnecessary progn.
ffe54a13 10181
ec7e39f2
AM
101822013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10183
10184 * textmodes/ispell.el (ispell-add-per-file-word-list):
10185 Fix `flyspell-correct-word-before-point' error when accepting
10186 words and `coment-padding' is an integer by using
10187 `comment-normalize-vars' (Bug #14214).
10188
083850a6
FEG
101892013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10190
10191 New defun movement commands.
10192 * progmodes/python.el (python-nav--syntactically)
10193 (python-nav--forward-defun, python-nav-backward-defun)
10194 (python-nav-forward-defun): New functions.
10195
619ed6e1
FEG
101962013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10197
10198 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10199 (python-syntax-context): Use named compiler-macro for backwards
10200 compatibility with Emacs 24.x.
10201
7a1beb6c
LL
102022013-04-17 Leo Liu <sdl.web@gmail.com>
10203
10204 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10205 octave-hide-process-buffer.
10206
2d3fa3e5
SM
102072013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10208
10209 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10210 (bug#14216).
10211
7ce5be54
JPG
102122013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10213
10214 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10215 Fix adjustment of offset when receiving incomplete responses from GDB
10216 (bug#14129).
10217
351edece
SM
102182013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10219
10220 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10221 python-mode-abbrev-table.
10222 (python-skeleton-define): Adjust accordingly.
10223 (python-mode-abbrev-table): New table that inherits from it so that
10224 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10225
10226 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10227 (abbrev-symbol): Use it.
10228 (abbrev--before-point): Use it since we already handle inheritance.
10229
613f9481
LL
102302013-04-16 Leo Liu <sdl.web@gmail.com>
10231
10232 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10233 binding to info-lookup-symbol.
10234
51646b62
JB
102352013-04-16 Juanma Barranquero <lekktu@gmail.com>
10236
10237 * minibuffer.el (completion--twq-all):
10238 * term/ns-win.el (ns-initialize-window-system):
10239 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10240
efb3f01d
SM
102412013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10242
36c0a301
SM
10243 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10244 global bindings.
10245
efb3f01d
SM
10246 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10247
fb549d64
DG
102482013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10249
10250 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10251 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10252 to nil.
10253 (ruby-end-of-defun): Remove the unused arg, change the docstring
10254 to reflect that this function is only used as the value of
10255 `end-of-defun-function'.
10256 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10257 to reflect an earlier change that beginning/end-of-defun functions
10258 jump between methods in a class definition, as well as top-level
10259 functions.
10260
21e8fe2f
SM
102612013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10262
10263 * minibuffer.el (minibuffer-complete): Don't just scroll
10264 a *Completions* that's been iconified.
10265 (minibuffer-force-complete): Make sure repetitions do cycle when going
10266 through completion-in-region -> minibuffer-complete.
10267
20e527d0
AM
102682013-04-15 Alan Mackenzie <acm@muc.de>
10269
10270 Correct the placement of c-cpp-delimiters when there're #s not at
10271 col 0.
10272
10273 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10274 place a submatch around the #.
21e8fe2f
SM
10275 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10276 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
10277 on the #, not BOL.
10278
dabefae5
SM
102792013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10280
10281 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10282 (advice--member-p): New arg `name'.
10283 (advice--add-function, advice-member-p): Use it (bug#14202).
10284
85c9ab64
AM
102852013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10286
10287 Reformulate java imenu-generic-expression.
10288 The old expression contained ill formed regexps.
10289
10290 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10291 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10292 (cc-imenu-java-method-arg-regexp): New defconsts.
10293 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 10294 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
10295 handling of spaces in the regexp.
10296
0f821d99
AM
102972013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10298
10299 * textmodes/ispell.el (ispell-command-loop): Remove
10300 flyspell highlight of a word when ispell accepts it (bug #14178).
10301
eb922adf
MA
103022013-04-15 Michael Albinus <michael.albinus@gmx.de>
10303
10304 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10305 uses code from the previous `ange-ftp-run-real-handler'.
10306 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10307 only in case that function exist. This is needed for proper
10308 unloading of Tramp.
10309
4d9a0979
TH
103102013-04-15 Tassilo Horn <tsdh@gnu.org>
10311
10312 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10313
10314 * textmodes/reftex.el (reftex-compile-variables): Use it.
10315
a829b0dc
SM
103162013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10317
91e8293c
SM
10318 * files.el (normal-mode): Only use default major-mode if no other mode
10319 was specified.
10320
830aed4d
SM
10321 * emacs-lisp/trace.el (trace-values): New function.
10322
a829b0dc
SM
10323 * files.el: Allow : in local variables (bug#14089).
10324 (hack-local-variable-regexp): New var.
10325 (hack-local-variables-prop-line, hack-local-variables): Use it.
10326
7ae9f0fb
RW
103272013-04-13 Roland Winkler <winkler@gnu.org>
10328
10329 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10330 data before it gets modified by bibtex-beginning-of-entry.
10331
6646e848
RW
103322013-04-13 Roland Winkler <winkler@gnu.org>
10333
10334 * textmodes/bibtex.el (bibtex-url): Doc fix.
10335
103362013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
10337
10338 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10339 does not visit a BibTeX file, exclude it from the list of buffers
10340 returned by bibtex-initialize.
10341
0aa3616e
SB
103422013-04-13 Stephen Berman <stephen.berman@gmx.net>
10343
10344 * window.el (split-window): Remove interactive form, since as a
10345 command this function is a special case of split-window-below.
10346 Correct doc string.
10347
011cddd6
RW
103482013-04-12 Roland Winkler <winkler@gnu.org>
10349
10350 * faces.el (read-face-name): Do not override value of arg default.
10351 Allow single faces and strings as default values. Remove those
10352 elements from return value that are not faces.
10353 (describe-face): Simplify.
10354 (face-at-point): New optional args thing and multiple so that this
10355 function can provide the same functionality previously provided by
10356 read-face-name.
10357 (make-face-bold, make-face-unbold, make-face-italic)
10358 (make-face-unitalic, make-face-bold-italic, invert-face)
10359 (modify-face, read-face-and-attribute): Use face-at-point.
10360
10361 * cus-edit.el (customize-face, customize-face-other-window)
10362 * cus-theme.el (custom-theme-add-face)
10363 * face-remap.el (buffer-face-set)
10364 * facemenu.el (facemenu-set-face): Use face-at-point.
10365
f24e0036
MA
103662013-04-12 Michael Albinus <michael.albinus@gmx.de>
10367
10368 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10369
da3cda2d
TH
103702013-04-10 Tassilo Horn <tsdh@gnu.org>
10371
10372 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10373 off leading { and trailing } from field values.
10374
15e54145
SM
103752013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10376
78ce603d
SM
10377 * emacs-lisp/timer.el (timer--check): New function.
10378 (timer--time, timer-set-function, timer-event-handler): Use it.
10379 (timer-set-idle-time): Simplify.
10380 (timer--activate): CSE.
10381 (timer-event-handler): Give more info in error message.
10382 (internal-timer-start-idle): New function, moved from C.
10383
15e54145
SM
10384 * mpc.el (mpc-proc): Add `restart' argument.
10385 (mpc-proc-cmd): Use it.
10386 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10387 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10388 less often.
10389
7144c627
MY
103902013-04-10 Masatake YAMATO <yamato@redhat.com>
10391
10392 * progmodes/sh-script.el: Implement `sh-mode' own
10393 `add-log-current-defun-function' (bug#14112).
10394 (sh-current-defun-name): New function.
10395 (sh-mode): Use the function.
10396
b39792eb
BG
103972013-04-09 Bastien Guerry <bzg@gnu.org>
10398
10399 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10400
8acdeb71
SM
104012013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10402
6fcdab68
SM
10403 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10404
8acdeb71
SM
10405 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10406 timer (bug#14156).
10407
e3e7b504
NF
104082013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10409
10410 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10411 declaration.
10412
201bb296
LL
104132013-04-07 Leo Liu <sdl.web@gmail.com>
10414
10415 * pcmpl-x.el: New file.
10416
ebb19708
DA
104172013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10418
10419 Do not set x-display-name until X connection is established.
10420 This is needed to prevent from weird situation described at
10421 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10422 * frame.el (make-frame): Set x-display-name after call to
10423 window system initialization function, not before.
10424 * term/x-win.el (x-initialize-window-system): Add optional
10425 display argument and use it.
10426 * term/w32-win.el (w32-initialize-window-system):
10427 * term/ns-win.el (ns-initialize-window-system):
10428 * term/pc-win.el (msdos-initialize-window-system):
10429 Add compatible optional display argument.
10430
33bb237a
EZ
104312013-04-06 Eli Zaretskii <eliz@gnu.org>
10432
10433 * files.el (normal-backup-enable-predicate): On MS-Windows and
10434 MS-DOS compare truenames of temporary-file-directory and of the
10435 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10436 don't fail comparison by compare-strings. Also, compare file
10437 names case-insensitively on MS-Windows and MS-DOS.
10438
134abf1f
SM
104392013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10440
10441 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10442 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10443
d695cb94
DG
104442013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10445
e3e7b504
NF
10446 * whitespace.el (whitespace-color-on, whitespace-color-off):
10447 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 10448
f4ad7ea1 104492013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
10450
10451 * ispell.el (ispell-set-spellchecker-params):
10452 Really set `ispell-args' for all equivs.
10453
632556e4
SM
104542013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10455
10456 * ido.el (ido-completions): Use extra elements of ido-decorations
10457 (bug#14143).
10458 (ido-decorations): Update docstring.
10459
2a417372
MA
104602013-04-05 Michael Albinus <michael.albinus@gmx.de>
10461
10462 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10463 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10464 nil during initialization, in order not to miss changes since the
10465 file was opened. (Bug#14140)
10466
fc164b0c
LL
104672013-04-05 Leo Liu <sdl.web@gmail.com>
10468
10469 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10470
0ccecc08
JB
104712013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10472
10473 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10474
51af1aa2
GM
104752013-04-04 Glenn Morris <rgm@gnu.org>
10476
10477 * electric.el (electric-pair-inhibit-predicate): Add :version.
10478
b208ebc6
SM
104792013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10480
10481 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10482 when a package is required several times (bug#14082).
10483
f3d3eaf0
RW
104842013-04-04 Roland Winkler <winkler@gnu.org>
10485
10486 * faces.el (read-face-name): Behave as promised by the docstring.
10487 Assume that arg default is a list of faces.
10488 (describe-face): Call read-face-name with list of default faces.
10489
2575da50
TV
104902013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10491
10492 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10493 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10494 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10495 the header.
10496 (bookmark-exit-hook-internal): Save even if list is empty.
10497
397703b4
YH
104982013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10499
10500 * emacs-lisp/package.el (package-pinned-packages): New var.
10501 (package--add-to-archive-contents): Obey it (bug#14118).
10502
691e26ae
AM
105032013-04-03 Alan Mackenzie <acm@muc.de>
10504
8a621d53
JB
10505 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10506 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
10507
10508 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10509 parameter `not-in-delimiter'. Handle being inside comment opener.
10510 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10511 character in case we're typing a '*' after a '/'.
10512 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10513 instead by passing the parameter to c-state-pp-to-literal.
10514
10515 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10516 for elt. 7 of a parse state.
10517
4b725a70
PE
105182013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10519
10520 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10521 * international/latin1-disp.el, international/mule-util.el:
10522 * language/cyril-util.el, language/european.el, language/ind-util.el:
10523 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10524 * language/tibetan.el, language/viet-util.el:
10525 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10526
15c579f0
SM
105272013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10528
10529 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10530 (electric-pair-post-self-insert-function): Use it.
10531 (electric-pair-default-inhibit): New function, extracted from
10532 electric-pair-post-self-insert-function.
10533
a77e2924
RW
105342013-03-31 Roland Winkler <winkler@gnu.org>
10535
10536 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10537
2bd8a4a8
SM
105382013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10539
10540 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10541
8d3655be 105422013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
10543
10544 Un-indent after "pass" and "return" statements (Bug#13888)
10545 * progmodes/python.el (python-indent-block-enders): New var.
10546 (python-indent-calculate-indentation): Use it.
10547
8d3655be 105482013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
10549
10550 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10551 defun. Defining it as defalias could introduce too eager
10552 byte-compiler optimization. (Bug#14030)
10553
8d3655be 105542013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
10555
10556 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10557
0b1619da
LL
105582013-03-30 Leo Liu <sdl.web@gmail.com>
10559
10560 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10561 (kmacro-execute-from-register): Pass the keyboard macro to
10562 kmacro-call-macro or repeating won't work correctly.
10563
0b938190
TZ
105642013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10565
10566 * progmodes/subword.el: Back to using `forward-symbol'.
10567
10568 * subr.el (forward-whitespace, forward-symbol)
10569 (forward-same-syntax): Move from thingatpt.el.
10570
35710234
LL
105712013-03-29 Leo Liu <sdl.web@gmail.com>
10572
10573 * kmacro.el (kmacro-to-register): New command.
10574 (kmacro-execute-from-register): New function.
10575 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10576
efc0bb73
SM
105772013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10578
10579 * mpc.el: Use defvar-local and setq-local.
10580 (mpc--proc-connect): Connection failures are not bugs.
10581 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10582 (mpc-volume-map): Bind to the up-events.
10583
75a2f981
TZ
105842013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10585
10586 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10587 instead of `forward-symbol'.
10588
17c781d1
SM
105892013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10590
10591 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10592 (edebug--recursive-edit): Use it.
10593 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10594 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10595
f67bfbcf
LL
105962013-03-28 Leo Liu <sdl.web@gmail.com>
10597
10598 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10599
b59f639d
EZ
106002013-03-27 Eli Zaretskii <eliz@gnu.org>
10601
10602 * facemenu.el (list-colors-callback): New defvar.
10603 (list-colors-redisplay): New function.
10604 (list-colors-display): Install list-colors-redisplay as the
10605 revert-buffer-function. (Bug#14063)
10606
f557c1b1
SM
106072013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10608
b1da2957
SM
10609 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10610 and suffixes don't overlap (bug#14061).
10611
f557c1b1
SM
10612 * case-table.el: Use lexical-binding.
10613 (case-table-get-table): New function.
10614 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10615
002668e1
TZ
106162013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10617
10618 * progmodes/subword.el: Add `superword-mode' to do word motion
10619 over symbol_words (parallels and leverages `subword-mode' which
10620 does word motion inside MixedCaseWords).
10621
73572c72
AG
106222013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10623
78b8f320 10624 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 10625 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 10626
69b2c07e
SM
106272013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10628
10629 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10630 Change return value to be a sexp. Delay `get-buffer' to after
10631 restoring the desktop (bug#13951).
10632
08bb5ee2
LL
106332013-03-26 Leo Liu <sdl.web@gmail.com>
10634
10635 * register.el: Move semantic tag handling back to
10636 cedet/semantic/senator.el. (Bug#14052)
10637
8d4c974e
SM
106382013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10639
10640 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10641 into the prompt either (bug#13963).
10642
b234d92c
SM
106432013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10644
10645 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10646 part of "(error-foo)".
10647
ddfa3cb4
JL
106482013-03-24 Juri Linkov <juri@jurta.org>
10649
10650 * replace.el (list-matching-lines-prefix-face): New defcustom.
10651 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10652 `occur-engine' if `face-differs-from-default-p' returns t.
10653 (occur-engine): Add `,' inside backquote construct to evaluate
10654 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10655 Pass `prefix-face' to the functions `occur-context-lines' and
10656 `occur-engine-add-prefix'.
10657 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10658 `prefix-face' and propertize the prefix with `prefix-face'.
10659 (Bug#14017)
10660
7b0e2f85
LL
106612013-03-24 Leo Liu <sdl.web@gmail.com>
10662
10663 * nxml/rng-valid.el (rng-validate-while-idle)
10664 (rng-validate-quick-while-idle): Guard against deleted buffer.
10665 (Bug#13999)
10666
10667 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10668 is the last entry in kill-buffer-hook.
10669
10670 * files.el (kill-buffer-hook): Doc fix.
10671
b3082f49
DG
106722013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10673
b234d92c
SM
10674 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10675 Make it safe-local.
bde73d27 10676
b3082f49
DG
10677 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10678
a320a2db
LL
106792013-03-23 Leo Liu <sdl.web@gmail.com>
10680
7e74b0fb
LL
10681 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10682 Remove.
10683
10684 * nxml/rng-valid.el (rng-validate-mode)
10685 (rng-after-change-function, rng-do-some-validation):
10686 * nxml/rng-maint.el (rng-validate-buffer):
10687 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10688 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10689 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10690 (nxml-extend-after-change-region): Use with-silent-modifications.
10691
a320a2db
LL
10692 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10693 timer-idle-list.
10694
10695 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10696 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10697 timer-idle-list. (Bug#13999)
10698
e38e6780
JL
106992013-03-23 Juri Linkov <juri@jurta.org>
10700
10701 * info.el (info-index-match): New face.
10702 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10703 main pattern and add text properties with the new face to matches
10704 in index entries relative to the beginning of the index entry.
10705 (Bug#14015)
10706
e8cc7880
DE
107072013-03-21 Eric Ludlam <zappo@gnu.org>
10708
10709 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10710 Inhibit read only while inserting objects.
10711
9bb0d822
TZ
107122013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10713
10714 * progmodes/cfengine.el: Update docs to mention
10715 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10716 symbol motion. Remove "_" from the word syntax.
10717
aa703640
TZ
107182013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10719
10720 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10721 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10722
afff09d0
JL
107232013-03-20 Juri Linkov <juri@jurta.org>
10724
10725 * info.el (Info-next-reference-or-link)
10726 (Info-prev-reference-or-link): New functions.
10727 (Info-next-reference, Info-prev-reference): Use them.
10728 (Info-try-follow-nearest-node): Handle footnote navigation.
10729 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10730
9a1ff164
SM
107312013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10732
10733 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10734 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10735
2667d15d
PE
107362013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10737
10738 Suppress unnecessary non-ASCII chatter during build process.
10739 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10740 (batch-skkdic-convert): Suppress most of the chatter.
10741 It's not needed so much now that machines are faster,
10742 and its non-ASCII component was confusing; see Dmitry Gutov in
10743 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10744
438b0579
LL
107452013-03-20 Leo Liu <sdl.web@gmail.com>
10746
10747 * ido.el (ido-chop): Fix bug#10994.
10748
c128ab07
DG
107492013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10750
10751 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10752 Remove vars.
9a1ff164
SM
10753 (whitespace-color-on, whitespace-color-off):
10754 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 10755
0e6008c5
SM
107562013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10757
10758 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10759 remapping in mode-line.
10760 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10761
627b52b0
DG
107622013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10763
10764 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10765 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
10766 (whitespace-font-lock-keywords): Change description.
10767 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10768 the constructed keywords instead.
10769 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 10770
50c3a20b
LL
107712013-03-19 Leo Liu <sdl.web@gmail.com>
10772
10773 * progmodes/compile.el (compilation-display-error): New command.
10774 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10775 C-o. (Bug#13992)
10776
2aa2157b
PE
107772013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10778
10779 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10780
e477dbfa
JD
107812013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10782
10783 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10784
64ab82d1
MA
107852013-03-18 Michael Albinus <michael.albinus@gmx.de>
10786
10787 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10788
10789 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10790 * net/tramp-gvfs.el (top):
10791 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10792 (tramp-handle-shell-command): Use it.
10793 (tramp-dissect-file-name): Raise an error when hostname is a
10794 method name, and neither method nor user is specified.
10795
10796 * net/trampver.el: Update release number.
10797
33cef733
LL
107982013-03-18 Leo Liu <sdl.web@gmail.com>
10799
10800 Make sure eldoc can be turned off properly.
10801 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10802 eldoc-mode.
10803 (eldoc-display-message-p): Revert last change.
10804 (eldoc-display-message-no-interference-p)
10805 (eldoc-print-current-symbol-info): Tweak.
10806
2167b7b2
TH
108072013-03-18 Tassilo Horn <tsdh@gnu.org>
10808
10809 * doc-view.el (doc-view-new-window-function): Check the new window
10810 overlay's display property instead the char property of the
10811 buffer's first char. Use `with-selected-window' instead of
10812 `save-window-excursion' with `select-window'.
10813 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 10814 display property instead the char property of the buffer's first char.
2167b7b2 10815
982efbcd
PE
108162013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10817
10818 Automate the build of ja-dic.el (Bug#13984).
10819 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10820 from the input, rather than assume that it's been done for us by the
10821 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10822 the current date into a ja-dic.el comment, as that complicates
10823 regression testing.
10824
2fcc7665
SM
108252013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10826
10827 * whitespace.el: Fix double evaluation.
10828 (whitespace-space, whitespace-hspace, whitespace-tab)
10829 (whitespace-newline, whitespace-trailing, whitespace-line)
10830 (whitespace-space-before-tab, whitespace-indentation)
10831 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10832 obsolete defvars.
10833 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10834 (whitespace-color-on): Use a single font-lock-add-keywords call.
10835 Fix double-evaluation of face variables.
10836
67c0a6e6
MA
108372013-03-17 Michael Albinus <michael.albinus@gmx.de>
10838
2fcc7665
SM
10839 * net/tramp-adb.el (tramp-adb-parse-device-names):
10840 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 10841 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 10842
69489f1d
LL
108432013-03-17 Leo Liu <sdl.web@gmail.com>
10844
10845 Extend eldoc to display info in the mode-line. (Bug#13978)
10846 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10847 (eldoc-mode-line-string): New variable.
10848 (eldoc-minibuffer-message): New function.
10849 (eldoc-message-function): New variable.
10850 (eldoc-message): Use it.
10851 (eldoc-display-message-p)
2fcc7665
SM
10852 (eldoc-display-message-no-interference-p):
10853 Support eldoc-post-insert-mode.
69489f1d
LL
10854
10855 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10856 (eval-expression): Run it.
10857
9c44569e
RW
108582013-03-17 Roland Winkler <winkler@gnu.org>
10859
10860 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10861 strings in the list of return values.
10862
327f1f6f
JB
108632013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10864
10865 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10866 radix before checking for HMS forms.
10867
67ed8fcd
LL
108682013-03-16 Leo Liu <sdl.web@gmail.com>
10869
10870 * progmodes/scheme.el: Add indentation and font-locking for λ.
10871 (Bug#13975)
10872
78be8b64 108732013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
10874
10875 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10876 token before point (bug#13942).
10877
78be8b64 108782013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 10879
95b43468 10880 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 10881
98e775e6
EZ
108822013-03-16 Eli Zaretskii <eliz@gnu.org>
10883
10884 * startup.el (command-line-normalize-file-name): Fix handling of
10885 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10886 <xfq.free@gmail.com> in
10887 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10888
2edd6029
MA
108892013-03-15 Michael Albinus <michael.albinus@gmx.de>
10890
10891 Sync with Tramp 2.2.7.
10892
10893 * net/trampver.el: Update release number.
10894
d35f5864
TH
108952013-03-14 Tassilo Horn <tsdh@gnu.org>
10896
e903c210 10897 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
10898 (doc-view-insert-image): Don't modify overlay associated to
10899 non-live windows, and implement horizontal centering of image in
10900 case it's smaller than the window.
10901 (doc-view-new-window-function): Force redisplay of new windows on
10902 doc-view buffers.
d35f5864 10903
1c4a85ed
KF
109042013-03-13 Karl Fogel <kfogel@red-bean.com>
10905
10906 * saveplace.el (save-place-alist-to-file): Don't sort
10907 `save-place-alist', just pretty-print it (bug#13882).
10908
85b66a21
MA
109092013-03-13 Michael Albinus <michael.albinus@gmx.de>
10910
a020afb9
JB
10911 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10912 Check whether `default-file-name-coding-system' is bound.
10913 It isn't in XEmacs.
85b66a21 10914
175600da
SM
109152013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10916
e7f7cb1a
SM
10917 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10918 backquotes for `obsolete' (bug#13929).
10919
175600da
SM
10920 * international/mule.el (find-auto-coding): Include file name in
10921 obsolescence warning (bug#13922).
10922
ca68a22e
TZ
109232013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10924
10925 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10926 for CFEngine 3-specific indentation.
10927 (cfengine3-indent-line): Use it. Fix up category regex.
10928 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10929
940e5099
SM
109302013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10931
10932 * type-break.el (type-break-file-name):
10933 * textmodes/remember.el (remember-data-file):
10934 * strokes.el (strokes-file):
10935 * shadowfile.el (shadow-initialize):
10936 * saveplace.el (save-place-file):
10937 * ps-bdf.el (bdf-cache-file):
10938 * progmodes/idlwave.el (idlwave-config-directory):
10939 * net/quickurl.el (quickurl-url-file):
10940 * international/kkc.el (kkc-init-file-name):
10941 * ido.el (ido-save-directory-list-file):
10942 * emulation/viper.el (viper-custom-file-name):
10943 * emulation/vip.el (vip-startup-file):
10944 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10945 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10946
cc725808
PE
109472013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10948
10949 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10950 * language/thai-word.el: Switch to UTF-8.
10951
a020afb9 10952See ChangeLog.16 for earlier changes.
e3d51b27
MR
10953
10954;; Local Variables:
10955;; coding: utf-8
e3d51b27
MR
10956;; End:
10957
ab422c4d 10958 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
10959
10960 This file is part of GNU Emacs.
10961
10962 GNU Emacs is free software: you can redistribute it and/or modify
10963 it under the terms of the GNU General Public License as published by
10964 the Free Software Foundation, either version 3 of the License, or
10965 (at your option) any later version.
10966
10967 GNU Emacs is distributed in the hope that it will be useful,
10968 but WITHOUT ANY WARRANTY; without even the implied warranty of
10969 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10970 GNU General Public License for more details.
10971
10972 You should have received a copy of the GNU General Public License
10973 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.